]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Remove the support for a4.sty, a4wide.sty and a4widemargins from lyx
[lyx.git] / src / ChangeLog
1 2005-07-18  José Matos  <jamatos@fc.up.pt>
2
3         * buffer.C:
4         * bufferparams.[Ch]:
5         * tex-strings.[Ch]: new file format, remove support for a4.sty,
6         a4wide.sty and a4widemargins.
7
8 2005-07-17  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9
10         * text2.C (cursorLeft): fix one of error
11
12 2005-07-17  Juergen Vigna  <jug@lyx.org>
13
14         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
15                    cursorEnd):
16         more fixes for boundary handling
17
18         * text3.C (dispatch): don't reset cursor if boundary has changed
19         on cursor movement.
20
21 2005-07-16  Juergen Vigna  <jug@lyx.org>
22
23         * text2.C (getColumnNearX): hopefully got it right now,
24         check if we are on column 0 for special case.
25
26 2005-07-16  Juergen Vigna  <jug@lyx.org>
27
28         * text2.C (getColumnNearX): handle special case Newline Inset
29
30         * text.C (singleWidth): Just remove bogus check
31
32 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
33
34         * funcrequest.C (split): avoid reading uninitialized char c
35
36 2005-07-16  José Matos  <jamatos@fc.up.pt>
37
38         * buffer.C:
39         * converter.C:
40         * lyxrc.C:
41         * paper.h:
42         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
43         single papersize variable.
44
45 2005-07-16  Juergen Vigna  <jug@lyx.org>
46
47         * text3.C (dispatch): honor boundary when checking if a cursor
48         movement has been done
49
50         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
51         (setCursor, setCursorIntern): fix cursor movement with boundary
52
53 2005-07-16  Juergen Vigna  <jug@lyx.org>
54
55         * text.C (currentState): output the actual Boundary
56
57 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * factory.C (createInset): fix bad logic for tabular creation
60
61 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
62
63         * lyx_main.C (init): change some reLyX reference to tex2lyx
64
65 2005-07-16  Juergen Vigna  <jug@lyx.org>
66
67         * dociterator.C (DocIterator): initialize boundary
68
69 2005-07-16  Juergen Vigna  <jug@lyx.org>
70
71         * text2.C (getColumnNearX): Consider rows without trailing blank.  
72
73 2005-07-16  André Pönitz  <poenitz@gmx.net>
74
75         * lyxfont.h: Change order of declarations to give the compiler
76         a better chance to inline things
77
78         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
79         questions on unsaved docs for better scritability
80
81 2005-07-16  André Pönitz  <poenitz@gmx.net>
82
83         * paragraph.h (getChar): remove asserts as the same kind of security
84         can be achieved by using a suitable standard library implementation
85         and the function was in the critical path (25.9% in profiler)
86
87 2005-07-16  Juergen Vigna  <jug@lyx.org>
88
89         * cursor.C (bruteFind2):
90         * bufferview_funcs.C (coordOffset): 
91         * text.C (cursorX,cursorY): Handle cursor position after last char
92         in row before a inset which uses a whole row.
93
94 2005-07-15  José Matos <jamatos@lyx.org>
95
96         * output_plaintext.[Ch] (writeFileAscii): control reference title
97         printing.
98         (asciiParagraph): noparbreak was already deal and was incorrectly
99         used.
100
101 2005-07-15  Juergen Vigna <jug@lyx.org>
102
103         * lyxfunc.C (dispatch): save and restore the cursor after a
104         textclass switch.
105
106 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
107
108         * text.C (backspace): bug 806 for empty keepempty paragraphs we
109         change the layout to default before letting DEPM do its thing.
110
111         * paragraph_funcs.C (breakParagraph): dont reset the layout on
112         keepEmpty paragraphs
113
114         * text.C (setCursorFromCoordinates): add a debug statement
115
116         * text2.C (getColumnNearX): bug 1825 make sure that we don't
117         return a pos that is not on the row
118
119         * output_latex.C (TeXDeeper): get rid of potential dereferencing
120         of past the end iterator
121
122 2005-07-14  André Pönitz  <poenitz@gmx.net>
123
124         * undo.C (recordUndoFullBuffer): implement undo for
125         textclass switches
126
127 2005-07-14  André Pönitz  <poenitz@gmx.net>
128
129         * cursor.C (setSelection): open insets when selection is set there
130         to avoid crashs with cold coord cache
131
132 2005-07-14  André Pönitz  <poenitz@gmx.net>
133
134         * trans_mgr.C (insert): move cursor to the right after inserting
135         a char.
136
137 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
138
139         * BufferView_pimpl.C (update): dampen some of the debug blabbering
140         * factory.C (readInset): ditto
141         * text.C, text2.C: ditto
142
143 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * buffer.C: format incremented to 242. There is no file format per
146         se, but the "frenchb" language has been removed from lib/language
147         and has to be translated to "french" by lyx2lyx.
148
149 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
150
151         * cursor_slice.h, dociterator.h: add some documentation
152         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
153
154 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
155
156         * text.C (leftMargin): do not add identation to display() style
157         insets, because they are always centered (bug 1293).
158
159 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
160
161         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
162         formatted_time methods in support/lyxtime.
163
164 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
165
166         * toc.[Ch]: new method getGuiName, which is used by the frontends 
167         to set the toc combo (fixes bug 1870). Make TOC string translatable.
168
169 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
170
171         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
172         StableDocIterator const &)
173         * undo.C (recordUndo): use the above instead of cell.size() comparison
174         (fixes bug 1808; instructed by André).
175
176 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
177
178         * cursor_slice.h: 
179         * dociterator.h: Fix the assert when copying rows/cols in math
180
181 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
182
183         * BufferView_pimpl.C:
184         * LyXAction.C:
185         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
186
187         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
188         (findInset): new functions, refactored from goto Inset that return 
189         the position of a certain inset without setting the buffer's cursor
190         (by Jean-Marc); 
191         (gotoInset): rewrite to call findInset and then set the cursor
192         (by Jean-Marc).
193
194 2005-06-16  Angus Leeming  <leeming@lyx.org>
195
196         * lyxrc.C (output, read): wrap all input and output of paths with
197         calls to os::internal_path and os::external_path, respectively.
198         (output): wrap bind_file inside quotes.
199
200         * format.C (view): enable the viewer to use the '$$s' placeholder.
201
202 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
203
204         * LColor.[Ch] (getFromLaTeXName): new
205
206 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
207
208         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
209
210 2005-06-14  Angus Leeming  <leeming@lyx.org>
211
212         * lyx_main.C (init): ensure that the LyX binary dir is the first
213         element in the PATH on non-POSIX builds.
214
215 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
216
217         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
218
219 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * rowpainter.C (paintInset, paintHebrewComposeChar)
222         (paintArabicComposeChar, paintChars): add a LyXFont argument.
223         (paintChars): use getFontSpan to reduce calls to getFont to a
224         minimum; use Paragraph::lookupChange instead of isXXXText.
225         (paintForeignMark): rename LyXFont argument.
226         (paintFromPos): pass a LyXFont object to the various paintXXX
227         methods.
228
229         * FontIterator.C (FontIterator, operator++): use
230         Paragraph::getFontSpan
231
232         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
233         version that returns the font span as a pair.
234
235 2005-06-09  Angus Leeming  <leeming@lyx.org>
236
237         * converter.C (convert): Don't forget "outfile = real_outfile" as
238         the final step in a conversion where the input and output file names
239         are the same. Otherwise, future conversion steps won't work...
240
241 2005-06-09  Angus Leeming  <leeming@lyx.org>
242
243         * lyxsocket.C: remove stub code as it isn't needed by
244         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
245
246 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
247
248         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
249         effectively disabled -x
250
251 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
252
253         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
254         when it actually makes sense.
255
256 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
257
258         * BufferView_pimpl.C: revert to showCursor in connection with
259         Lars's front-end stack
260
261 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
262
263         * text.C (redoParagraph): move cursor right after a bibitem
264         has been inserted.
265
266         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
267
268 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * buffer_funcs.C (bufferErrors): fix computation of the end of an
271         error range.
272
273 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * BufferView.[Ch] (update):
276         * BufferView_pimpl.[Ch] (update, metrics):
277         * dimension.h (operator==):
278         * lyxfunc.C (dispatch):
279         * metricsinfo.h (ViewMetricsInfo):
280         * rowpainter.C (paintText):
281         * lyxtext.h:
282         * text.C (redoParagraph):
283         * text3.C (dispatch): Make LyX only repaint current paragraph in
284         case of character insert --> speedup. Also fix cursor draw
285         artifacts
286
287 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
290         avoid a crash (bug 1891)
291
292 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         Fix bug 1892:
295
296         * text2.C (getStringToIndex): constify cur argument.
297
298         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
299         argument has been given
300         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
301         try to invoke LFUN_INSET_APPLY).
302
303         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
304         if no inset was created by doInsertInset
305         (doInsertInset): return true if an inset has been inserted.
306
307 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * vspace.C (asGUIName): new method. A version of the space
310         suitable for showing on screen.
311
312 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
313
314         * MenuBackend.C:
315         * lyxrc.C: rename "ASCII" to "Plain Text"
316
317 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * buffer_funcs.C (expandLabel): take a Buffer as argument;
320         translate the labelstring.
321         (setCounter): translate labelstring as needed.
322
323         * output_docbook.C (makeCommand): fix expandLabel invokation
324
325 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
326
327         * BufferView.C: fix dialog title
328
329 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
330
331         * lyx_main.C (priv_exec): fix logic error with help from Angus
332         * lyx_main.C (parse_execute): set is_gui = false and remove now
333         obsolete comment about a segfault
334
335 2005-05-18  Angus Leeming  <leeming@lyx.org>
336
337         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
338
339 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
340
341         * tabular.[hC]: added setCellInset to fix tabular paste.
342
343 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
344
345         * buffer.C (save): check if destination is writable before trying
346         to copy a file
347
348 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
349
350         * BufferView_pimpl.C (update): fix processEvents -caused update
351         recursion bug
352
353 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
354
355         * buffer_funcs.C (setCounter): fix test for numbering of
356         environments.
357
358         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
359         depth correctly; use optional argument when it exists
360
361         * lyxtextclass.C: remove unused MaxCounterTags enum
362         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
363         (max_toclevel, min_toclevel): new methods.
364
365         * MenuBackend.C (expandToc2): fix case where depth is smaller than
366         the smallest depth in toc.
367
368         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
369         layouts that should not appear in a table of contents.
370
371 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * cursor.h (undispatched, noUpdate): add comments from André
374
375 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
376
377         * lfuns.h:
378         * LyXAction.C:
379         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
380
381 2005-05-07  André Pönitz  <poenitz@gmx.net>
382
383         * cursor.[Ch] (leaveInset): new function
384
385 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
386
387         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
388
389 2005-05-04  Angus Leeming  <leeming@lyx.org>
390
391         * lyxfunc.C (getStatus): disable the spell checker dialog if
392         none of USE_[AIP]SPELL are defined.
393
394 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
395
396         * tabular.C (setWidthOfCell): remove obsolete comment
397
398 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
399
400         * paragraph.C (bibitem):
401         * buffer_funcs.C (setCounter):
402         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
403
404 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * text3.C (getStatus): immediately return after setOnOff
407
408         * rowpainter.C: fix drawing of appendix start
409
410 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
411
412         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
413         SwitchBetweenClasses and remove the unused return value.
414         Handle character styles, too
415
416 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
417
418         * factory.C (createInset): handle undefined character styles
419
420 2005-05-02  Angus Leeming  <leeming@lyx.org>
421
422         * buffer.C: protect the #include of utime.h with a preprocessor
423         guard.
424
425 2005-05-02  Angus Leeming  <leeming@lyx.org>
426
427         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
428         function so that auto-saving works, albeit in a blocking manner.
429
430         * Makefile.am: make compilation of the client sub directory, of
431         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
432         on conditionals set at configure time.
433
434         * SpellBase.[Ch]: no longer an abstract base class. Instead,
435         it can be compiled in its own right but has no-op functionality.
436
437         * aspell.C, pspell.C: remove preprocessor guards. The files should
438         be compiled only if the necessary functionality exists.
439
440         * lyxserver.C, lyxsocket.C: disable on Windows.
441
442 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
443
444         * text.C (leftMargin): Fix the parindent use bug (1764)
445         by dirty trick
446
447 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
448
449         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
450         argument.
451
452 2005-04-25  Angus Leeming  <leeming@lyx.org>
453
454         * Bidi.[Ch]:
455         * coordcache.[Ch]:
456         * ispell.C:
457         * lyxserver.C:
458         * mover.C:
459         * pch.h:
460         include <config.h> in .C files, not .h ones.
461         add licence blurb.
462         protect headers inside preprocessor guards.
463
464 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * FuncStatus.h (StatusCodes): document
467
468 2005-04-21  André Pönitz  <poenitz@gmx.net>
469
470         * FuncStatus.h (enabled, onoff): document
471
472 2005-04-19  Angus Leeming  <leeming@lyx.org>
473
474         * BufferView_pimpl.C (cursorToggle): no longer test whether
475         any child processes have been reaped before calling
476         handleCompletedProcesses().
477
478 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
479
480         * text3.C (dispatch): fix, finally fix, the language problem in
481         new lyxtexts, without disabling on-the-fly font changes (Helge's
482         bug report)
483
484 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * text3.C (dispatch): set cursor on double/triple click events
487         (bug 1811)
488
489 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
492         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
493
494         * rowpainter.C (paintFirst): simplify the code a little bit. In
495         particular, remove the test for secnumdepth.
496         * text.C (setHeightOfRow): only allocate space for chapter number
497         when updateCounters provided an actual label, instead of looking
498         at secnumdepth directly.
499
500         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
501
502         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
503         paragraphs when secnumdepth is large enough or, for environments,
504         when they are not the first in a sequence.
505
506 2005-04-17  Angus Leeming  <leeming@lyx.org>
507
508         * buffer.C (makeLaTeXFile): replace code to manipulate a path
509         containing space and '~' characters with a call to latex_path().
510
511 2005-04-17  Angus Leeming  <leeming@lyx.org>
512
513         * converter.C (convert): protect all args of convertDefault.sh
514         script with quotes.
515
516 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * text3.C (dispatch): change the layout to "Caption" after inserting
519         a float.
520
521 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
522
523         * text3.C (dispatch): fix language problem in newly created
524         textinsets (and main text) in non-english docs
525
526 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
527
528         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
529         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
530         * text3.C (getStatus): disable LFUN_INSET_MODIFY
531
532 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
533
534         * lyxtext.h:
535         * text.C (metrics):
536         * text2.C (getFont):
537         * rowpainter.C (getFont): Fix metrics bug introduced by inset
538         fonts fix
539
540 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
541
542         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
543         output of \item arguments without trailing text.
544
545 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * FontIterator.C (operator*): avoid a copy of the font.
548
549 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
550
551         * rowpainter.C (getFont): fix language bug from previous fix
552
553 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
554
555         * rowpainter.C (RowPainter, getFont): fix font inside inset
556         (bugs 1766, 1809)
557
558 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
561         preventing inserted font, deco, delim insets jumping to start of
562         surrounding inset.
563
564 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * lyxfunc.C (dispatch): translate message before sending it to the
567         minibuffer.
568
569 2005-03-29  Angus Leeming  <leeming@lyx.org>
570
571         * lyx_main.C (priv_exec): call os::internal_path on each file passed
572         to LyX on the command line.
573
574 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
575
576         * vc-backend.C: use QuoteName to protect file names wherever
577         necessary.
578
579 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
580
581         * buffer.[Ch]:
582         * BranchList.h: fix bugs 1844,1845: document settings don't
583         stick
584
585 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
586
587         * lyxrc.C (setDefaults, read, output, getDescription): add support
588         for tex_allows_spaces.
589
590         * exporter.C (Export): allows files in directory containing spaces
591         if tex_allows_spaces is true.
592
593         * buffer.C (makeLaTeXFile): if the document path contains spaces,
594         output it in double quotes.
595
596 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
597
598         * rowpainter.C: use default text height for drawing change tracker
599         strikeout lines.
600
601 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
602
603         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
604
605 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
608         directory is missing.
609
610 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
611
612         * text2.C: fixed the fix, extended to other case.
613
614 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
615
616         * text2.C: fix for cursor up/down stuck in math [bug 1792]
617
618 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * text2.C (cursorUp): get rid of a crash
621         * text.C (x2pos): add an assert
622
623 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * lyxfunc.C (getStatus): fix warning when assertions are disabled
626
627         * text3.C:
628         * lyxfunc.C:
629         * dociterator.C: include <boost/current_function.hpp>, which is
630         needed when assertions are disabled.
631
632 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
633
634         * text2.C: fix for stuck cursor when traversing two
635         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
636
637 2005-02-25  Andreas Vox  <avox@arcor.de>
638
639         * output_docbook.C (makeParagraph): suppress trailing newline
640         after a run of paragraphs
641
642 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
643
644         * paragraph.C: fix for confused change tracker when pasting
645         text that begins with a lineseparator. [bug 1827]
646         (setChange(0, Change::INSERTED);)
647
648         * paragraph_funcs.C: fix for lost changes on triple-paste
649         in change tracking mode [bug 1827] (par.setChange()).
650
651 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * text2.C (updateCounters, setCounter, expandLabel): move to
654         buffer_funcs.
655
656         * buffer_funcs.C (updateCounters): turn into a free standing
657         function and add a buffer parameter. Remove dead code for tracking
658         labelstring change.
659         (setCounter): change into a free-standing function which gets a
660         dociterator as argument. Use this iterator to fix captions in a
661         simple way. When no float is found above the caption, use the
662         labelstring of the caption layout as default.
663
664         * text.C (breakParagraph, backspace):
665         * text2.C (init, setLayout, changeDepth):
666         * text3.C (dispatch):
667         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
668         updateCounters.
669
670         * dociterator.C (forwardPar): make it much faster by calling
671         forwardPos() only when really necessary.
672
673         * output_docbook.C (makeCommand): adapt to expandLabel move.
674
675         * cursor.C: remove unused variable
676
677 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
678
679         * paragraph_funcs.C: fix crash when pasting insets in change
680         tracking mode [bug 1277] (honour change type in moveItem).
681
682 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
683
684         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
685
686 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * BufferView.C (setCursor): change to use a DocIterator.
689         (gotoLabel): use BufferView::setCursor (other part of bug 781).
690         (putSelectionAt): adapt to BufferView::setCursor change.
691
692         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
693         moved here from LyXText and rewritten to use proper cursor
694         methods. Fixes bug 1787, 616 and 835.
695
696         * BufferView_pimpl.C (restorePosition): set the cursor correctly
697         when inside an inset (part of bug 781).
698         (dispatch): adapt to change of BufferView::setCursor.
699         (getStatus, dispatch): handle LFUN_GOTOERROR,
700         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
701
702         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
703         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
704         * text3.C (gotoNextInset, gotoInset): removed.
705
706 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
709
710 2005-02-15  Angus Leeming  <leeming@lyx.org>
711
712         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
713         can be used meaningfully in a comparison.
714
715 2005-02-13  André Pönitz  <poenitz@gmx.net>
716
717         * bufferview_funcs.C (coordOffset): improve cursor drawing
718
719 2005-02-13  André Pönitz  <poenitz@gmx.net>
720
721         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
722         * Cursor.C (dispatch): use fixIfBroken
723         * lyxfunc.C (getStatus): use fixIfBroken
724
725 2005-02-15  Angus Leeming  <leeming@lyx.org>
726
727         * lyx_main.C (error_handler):
728         * lyxfunc.C:
729         * lyxrc.C (setDefaults):
730         s/GetEnv/getEnv/.
731         #include "environment.h".
732
733         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
734
735 2005-02-15  Angus Leeming  <leeming@lyx.org>
736
737         * lyxserver.C (startPipe): squash MSVC warning "local variable
738         'fd' used without having been initialized".
739
740 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
741
742         * BufferView_pimpl.C: revert accidental commit.
743
744 2005-02-14  André Pönitz  <poenitz@gmx.net>
745
746         * dociterator.[Ch]: new member forwardPosNoDescent(),
747         which doesn't enter nested insets.
748         * text2.C (setFont): use forwardPosNoDescent() instead
749         of ForwardPos() (fixes crash on font change).
750
751 2005-02-13  Angus Leeming  <leeming@lyx.org>
752
753         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
754         only if lyxrc.path_prefix is not empty.
755
756 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
757
758         * bufferparams.C (readGraphicsDriver): prevent crash
759
760 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
761
762         * text2.C (setCounter): check for inInset() == 0
763
764 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
765
766         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
767         but use update() to get correct screen display; use convert
768         instead of istringstream.
769         (getStatus): handle LFUN_GOTO_PARAGRAPH
770
771         * lyxfunc.C (dispatch, getStatus): do not handle
772         LFUN_GOTO_PARAGRAPH here.
773
774 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
775
776         * text3.C (dispatch): size() -> depth()
777
778         * text2.C: remove some debug output
779
780         * paragraph.C: ws changes only
781
782         * lyxfunc.C (getStatus): size() -> depth()
783
784         * dociterator.h (clear, push_back, pop_back, internalData,
785         operator[], resize, empty): new functions
786         Make StableDocIterator and operator== be friends. Don't inherit
787         from std::vector use a privat class variable slices_ instead.
788         Modify to fit.
789
790         * dociterator.C: update because of not inheriting from std::vector
791         anymore. Call explictly to slices_ instead. Use depth() instead of
792         size() and top() instead of back()
793
794         * cursor.C: chagne size() -> depth and back() -> top(). Also
795         remove some direct operator[](i) calls in favour of foo[i]
796         (getFont): remove some dead code
797
798         * bufferview_funcs.C (coordOffset): size() -> depth()
799
800         * buffer.C: ws changes only
801
802         * CutAndPaste.C (eraseSelection): back() -> top()
803
804         * BufferView_pimpl.C (selectionRequested): back() -> top()
805
806         * BufferView.C (setCursor): size() -> depth()
807
808 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
809
810         * text3.C (cursorPrevious): return true if depm changed something
811         (cursorNext): ditto
812         (dispatch): rename sl to oldTopSlice, remove moving use the new
813         NoUpdate func attrib instead. Make sure that needsUpdate is set
814         for function that have NoUpdate, but where depm might have changed
815         the buffer anyway.
816
817         * text2.C (cursorLeft): make us return true if depm changed
818         something
819         (cursorRight): ditto
820         (cursorUpParagraph): ditto
821         (curosrDownParagraph): ditto
822         (cursorUp, cursorDown): ditto, make sure to read comments in code
823         (deleteEmptyParagraphMechanism): remove an assert, also return
824         true if just a single char was deleted.
825
826         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
827         cursor that we modify, to avoid modifying an active cursor before
828         we call setCursor. This allows depm to run. Also return true if
829         depm deleted something.
830
831         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
832         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
833         cursorDownParagraph, cursorPrevious and cursorNext, return true if
834         something was changed in the buffer because of them (ie. depm run)
835
836         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
837         debug messages. Make update by default be false. Make sure that
838         the result of update is retained throught several calls down to
839         dispatch.
840
841         * LyXAction.h: add a new func_attrib: NoUpdate
842
843         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
844         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
845         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
846         and LFUN_WORDLEFT
847         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
848
849 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
850
851         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
852         bv_->owner(), bv_->buffer() by direct references to the private
853         members.
854         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
855         (getStatus): isSavedPosition() is in BufferView::Pimpl.
856         (fitCursor): center() is in BufferView::Pimpl.
857         (getStatus, trackChanges, dispatch): no need for a temporary buf
858         variable
859         (fitCursor, workAreaDispatch): use workarea().workheight()
860
861 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
862
863         * CutAndPaste.C (pasteSelectionHelper): fix a crash
864
865 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
866
867         * buffer.C: format up to 241.
868         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
869         break if pasting into ERT
870         * lyxfunc.C (getStatus): suppress mathpanel and
871         LFUN_DIALOG_SHOW_NEW_INSET in ERT
872
873 2005-02-01  Angus Leeming  <leeming@lyx.org>
874
875         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
876
877 2005-02-01  Angus Leeming  <leeming@lyx.org>
878
879         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
880         calling fs::is_directory().
881
882 2005-01-31  Angus Leeming  <leeming@lyx.org>
883
884         * lyx_main.C (priv_exec): specify explicitly the relative location
885         of the top level build directory when run in-place.
886
887 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
890         LyXText containing the cursor, not the top-level one.
891
892         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
893         true.
894         (insertStringAsLines): rename par to pit; use temporary variable
895         par to hold a Paragraph; do not store par.layout() in a variable,
896         since the pointer may die when breaking paragraphs; pass pars to
897         breakParagraph() instead of Buffer::paragraphs().
898
899 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
900
901         * lyxlex_pimpl.h: #include <fstream>.
902
903         * BufferView.[Ch] (getLyXText): add a const version.
904
905         * BufferView_pimpl.C: add debug aids.
906
907         * RowList_fwd.h:
908         * buffer.h:
909         * lyxrow.h:
910         * paragraph_funcs.h: add commentary explaining what the class does.
911
912
913         * coordcache.[Ch]: add lots of commentary.
914         (startUpdating, doneUpdating): debug aids.
915         (arrays, insets, parPos, getParPos): accessors to private data.
916
917         * cursor_slice.[Ch] (text): add a const version.
918         * dociterator.[Ch] (text, innerText): add const versions.
919
920         * lyxtext.h (breakParagraph): change the keep_layout arg to a
921         bool.
922
923         * paragraph.C (getRow, pos2ros): add asserts.
924
925         * paragraph.h: add commentary. Lots of.
926
927         * paragraph.[Ch] (metrucs, draw): removed.
928
929         * cursor.C:
930         * rowpainter.[Ch]: const-correct changes.
931
932         * text.C: various obvious clean-ups. Removal of ancient cruft.
933         Bug fixes, even.
934
935 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
936
937         * vc-backend.C (find_file): rewrite to use boost.filesystem
938         (scanMaster): ditto
939
940         * main.C (main): set default name check for boost.filesystem to
941         no check
942
943         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
944         (open): ditto
945         (doImport): ditto
946         (actOnUpdatedPrefs): ditto
947
948         * lyx_main.C (init): rewrite to use boost.filesystem
949         (queryUserLyXDir): ditto
950
951         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
952         (getContentsOfAsciiFile): ditto
953
954         * lastfiles.C (readFile): rewrite to use boost.filesystem
955
956         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
957
958         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
959         (loadLyXFile): ditto
960
961         * buffer.C (Buffer): adjust for destroydir
962         (getLogName): rewrite to use boost.filesystem
963         (setFileName): ditto
964         (save): use fs::copy_file (from fs_extras)
965
966         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
967
968         * LaTeX.C (run): rewrite to use boost.filesystem
969         (scanAuxFiles): ditto
970         (handleFoundFile): ditto
971
972 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
973
974         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
975
976         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
977
978 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
979
980         * lyxlayout.[Ch]: change some vars from float to double
981
982         * buffer.C (readFile): make a local var const
983
984         * Several files: use convert<> instead of atoi,strToXXX and friends
985
986 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
987
988         * LaTeXFeatures.[Ch]: Add a static list packages_ that
989         holds the contents of packages.lst. New functions getAvailable
990         and isAvailable to parse and check that list, resp.
991
992         * LyXAction.C:
993         * lfuns.h:
994         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
995
996         * bufferparams.[Ch]: new param output_changes.
997
998         * Buffer.C: increase file format to 240.
999         Use output_changes and isVailable.
1000
1001         * changes.[Ch]:
1002         * paragraph.C:
1003         * paragraph_pimpl.C: Use output_changes and isVailable.
1004
1005 2005-01-23  Angus Leeming  <leeming@lyx.org>
1006
1007         * output_latex.C: #include "insetbibitem.h", rather than
1008         forward declare function bibitemWidest.
1009
1010 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1011
1012         * lyx_main.C (init): make it compile on the Mac.
1013
1014 2005-01-20  Angus Leeming  <leeming@lyx.org>
1015
1016         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1017         (setLyXMisc): (char string literal) != (char string literal) is
1018         performing a comparison on the addresses. Convert one operand
1019         explicitly to string to guarantee expected behaviour.
1020         From MSVC warning.
1021
1022 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1023
1024         * buffer.C:
1025         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1026
1027         * output_plaintext.C: remove unneeded #include gzstream.h.
1028
1029 2005-01-20  Angus Leeming  <leeming@lyx.org>
1030
1031         * SpellBase.h: rename some of the elements of the Result enum.
1032
1033         * aspell_local.h:
1034         * ispell.h:
1035         * pspell.h:
1036         * aspell.C (check):
1037         * ispell.C (check):
1038         * pspell.C (check): ditto
1039
1040 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1041
1042         * buffer.C: add #include <fstream>.
1043
1044         * lyx_main.C (init): Compile fix.
1045
1046         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1047
1048 2005-01-20  Angus Leeming  <leeming@lyx.org>
1049
1050         * mover.h: change commentary to reflect the changed meaning of
1051         the $$s placeholder.
1052
1053 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1056
1057         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1058
1059 2005-01-20  Angus Leeming  <leeming@lyx.org>
1060
1061         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1062         printing diagnostic data by not dereferecing an iterator past the
1063         end.
1064
1065 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1066
1067         * buffer.C (readHeader): use "&&" rather than "and".
1068
1069         * lyxserver.h (inPipeName, outPipeName): make these const.
1070
1071 2005-01-19  Angus Leeming  <leeming@lyx.org>
1072
1073         * lyx_main.C (error_handler, init): protect SIGHUP with
1074         #ifdef SIGHUP guards.
1075
1076 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1077
1078         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1079
1080 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         * text.C (setHeightOfRow): add a margin at the top and bottom of
1083         the document (bug 1761)
1084
1085 2005-01-17  Angus Leeming  <leeming@lyx.org>
1086
1087         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1088         with "python ". Workaround for a brain-dead Windows.
1089
1090 2005-01-16  Angus Leeming  <leeming@lyx.org>
1091
1092         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1093         for MacOSX and Windows to use prependEnvPath.
1094         Strip out the hard-coded block to add elements to the PATH for
1095         MacOSX and replace it with a call to prependEnvPath using the
1096         contents of LyXRC::path_prefix.
1097         (queryUserLyXDir): strip out the code to run reconfigure, instead
1098         returning a boolean indicating the necessity to do so.
1099         (reconfigureUserLyXDir): contains the code to reconfigure the
1100         user support directory. Is now called after the various LyXRC data
1101         files have been read.
1102
1103         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1104
1105 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1106
1107         * converter.[Ch] (convert): take a new parameter try_default. Use
1108         a default converter (imagemagick) if try_default is true.
1109
1110 2005-01-13  Angus Leeming  <leeming@lyx.org>
1111
1112         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1113         os::cygwin_path_fix.
1114         (write): output LyXRC::cygwin_path_fix as necessary.
1115
1116 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1117
1118         * lyxrc.h:
1119         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1120
1121 2005-01-12  Angus Leeming  <leeming@lyx.org>
1122
1123         * lyx_main.C (init): set the PATH variable to include the
1124         directory containing the LyX binary when running on Mac or Windows.
1125
1126 2005-01-12  Angus Leeming  <leeming@lyx.org>
1127
1128         * lyx_main.C (init): remove cruft that purports to set the locale
1129         dir. It doesn't and is not needed anyway.
1130
1131 2005-01-10  Angus Leeming  <leeming@lyx.org>
1132
1133         * Makefile.am: remove the lyx_main.C special casing.
1134
1135         * BufferView_pimpl.C:
1136         * bufferlist.C:
1137         * exporter.C:
1138         * lyx_cb.C:
1139         * lyx_main.C:
1140         * lyxfunc.C:
1141         * messages.C: use support/package.h to provide the paths to the
1142         various directories used by LyX.
1143
1144 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1145
1146         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1147         layout if pasting into an empty paragraph)
1148
1149 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1150
1151         * tex-accent.C: add <string>
1152
1153 2005-01-06  José Matos  <jamatos@lyx.org>
1154
1155         * ParagraphParameters.C (write): put every parameter in its own line.
1156         * paragraph.C (write): reduce number of consecutive empty lines exported.
1157         * buffer.C (LYX_FORMAT): increase file format to 239.
1158
1159 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1160
1161         * everywhere: change support/tostr.h -> support/convert.h
1162
1163         * tabular.C: make all write_attributes templates, tostr -> convert
1164
1165         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1166         (emptyTag): and -> &&, and fix type for ret from getChar
1167         (getFirstWord): fix type for ret from getChar
1168         (onlyText): and -> &&
1169         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1170         getChar
1171
1172         * toc.C (goTo, action):
1173         * text3.C (dispatch):
1174         * text.C (currentState):
1175         * tex-accent.C (DoAccent):
1176         * sgml.C:
1177         * lyxrc.C:
1178         * lyxfunc.C (menuNew):
1179         * lyxfinc.C (replace):
1180         * counters.C (laberItem):
1181         * bufferview_funcs.C (font2string):
1182         * bufferparams.C (writeFile):
1183         * buffer.C (readFile):
1184         * Spacing.C (set):
1185         * MenuBackend.C: tostr -> convert
1186
1187         * LaTeX.C (runMessage): fix format
1188         (scanAuxFiles): tostr -> convert
1189
1190         * BufferView_pimpl.C (savePosition): fix format
1191         (restorePosition): ditto
1192         (dispatch): ditto
1193
1194 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1195
1196         * Spacing.[Ch]: New method getValueAsString().
1197
1198         * Spacing.[Ch]:
1199         * bufferparams.C:
1200         * ParagraphParameters.C:
1201         * lyxlayout.C:
1202         * text.C:
1203         * text3.C: store/read spacing value as string.
1204
1205         * rowpainter.C: change float value (spacing_val) to double.
1206
1207         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1208         broken custom document spacing).
1209
1210 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1211
1212         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1213         namespace, also more use of temp references and const
1214
1215         * cursor.[Ch] (getStatus): move to lyxfunc.C
1216
1217         * bufferparams.C: reformat slightly
1218
1219         * bufferview_funcs.C (font2string): constify arg
1220
1221         * changes.C:
1222         * converter.C:
1223         * counters.C:
1224         * bufferlist.C:
1225         * buffer_funcs.C: (many funcs): constify arg on function
1226         definitions, also make more local vars const, also add ASSERTS on
1227         pointer args.
1228
1229         * buffer.C (LYX_FORMAT): put const in correct place
1230         (many funcs): constify arg on function definitions, also make
1231         more local vars const
1232
1233         * aspell_local.h: remove "struct" from typdef setup
1234
1235         * aspell.C (check): make word_ok const
1236         (nextMiss): simplify slightly
1237         (error): ditto
1238
1239 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1240
1241         * lyxrc.[Ch]: store all float values as strings.
1242         use int (not float) for lyxrc.dpi.
1243
1244 2005-01-04  Angus Leeming  <leeming@lyx.org>
1245
1246         * lyx_cb.C (Reconfigure):
1247         * lyx_main.C (queryUserLyXDir):
1248         to run the <system_lyxdir>/configure correctly on Windows, prefix
1249         the path to the script with "sh " when generating the string that
1250         is passed to system().
1251
1252 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1253
1254         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1255
1256 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1257
1258         * lyxlength.C (asLatexString): get rid of setprecision
1259
1260 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261
1262         * text2.C (setLayout): remove unused variable endpit.
1263         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1264
1265         * paragraph.C (onlyText): remove unused variable style.
1266
1267         * cursor.C (bruteFind): remove unused variables beg and end.
1268
1269         * Makefile.am (dist_noinset_DATA): not needed anymore
1270
1271         * cheaders/*: remove.
1272
1273 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1274
1275         * text3.C: fix LFUN_MATH_MODE.
1276
1277 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1278
1279         * buffer_funcs.C (countWords): new function. Counts words between
1280         two iterators.
1281
1282         * BufferView_pimpl.C (getStatus, dispatch): handle
1283         LFUN_WORDS_COUNT.
1284
1285         * LyXAction.C (init):
1286         * lfuns.h: add LFUN_WORDS_COUNT.
1287
1288 2004-12-19  Angus Leeming  <leeming@lyx.org>
1289
1290         * buffer.C (save): s/slashify_path/internal_path/.
1291
1292 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1293
1294         * lyxfind.C (findChange): do not search for end of pars, because
1295         the change tracker cannot handle this (fixes bug 1719).
1296
1297 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1298
1299         * paragraph.[Ch] (autoBreakRows): remove
1300
1301         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1302
1303         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1304         avoid using the paragraph one
1305
1306         * text2.C (LyXText, insertStringAsLines): adjust
1307
1308 2004-12-16  Angus Leeming  <leeming@lyx.org>
1309
1310         * bufferlist.C:
1311         * lyx_main.C:
1312         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1313
1314 2004-12-14  Angus Leeming  <leeming@lyx.org>
1315
1316         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1317
1318         * bufferlist.C (emergencyWrite):
1319         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1320         GetEnvPath("HOME").
1321
1322 2004-12-14  Angus Leeming  <leeming@lyx.org>
1323
1324         * main.C: (main): no longer pass pointers to os::init.
1325
1326 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1329         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1330
1331 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1332
1333         * lyxfunc.C:
1334         * text3.C: remove selection_possible global flag
1335
1336 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1337
1338         * text2.C (getSelectionSpan): remove
1339         (changeDepth, changeDepthAllowed): adjust
1340
1341 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1342
1343         * Makefile.am (BOOST_LIBS): use boost variables
1344
1345 2004-12-03  José Matos  <jamatos@lyx.org>
1346
1347         * buffer.C: format up to 238.
1348
1349 2004-12-03  José Matos  <jamatos@lyx.org>
1350
1351         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1352
1353 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1354
1355         * cursor.C (goUpDown): remove call to idxUpDown2
1356
1357 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1358
1359         * tabular.[Ch]: use size_t-like types for cell, row and column
1360         indices
1361
1362 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1363
1364         * lyxfunc.C (getStatus): do not lose previous information when
1365         calling BufferView::getStatus; do not set a default "Command
1366         disabled" message at the beginning, but just before returning.
1367
1368 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1369
1370         * cursor.h (getStatus): add better comment from src/cursor.C
1371
1372 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1373
1374         * text3.C (getStatus): return false when the lfun is not handled
1375
1376 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1377
1378         * broken_headers.h: remove
1379
1380         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1381
1382 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1383
1384         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1385         offset_ref accessors
1386
1387         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1388         top_y_, merge fitcursor with update
1389         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1390         coord scheme
1391         (metrics): introduce
1392         (workAreaDispatch): adapt to new coord scheme
1393         (redoCurrentBuffer): remove
1394
1395         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1396
1397         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1398         CurStatus enum.
1399
1400         * coordcache.[Ch]: add paragraph cache and helpers
1401
1402         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1403         adjust everywhere
1404
1405         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1406         (targetX, setTargetX): introduce
1407
1408         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1409         baseline -> ascent, as the rest of lyx
1410
1411         * lyxtext.h: remove redoParagraphs, updateParPositions,
1412         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1413         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1414         have ascent/descent (ascent is ascent of first par)
1415
1416         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1417         step of BufferView
1418
1419         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1420
1421         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1422
1423         * pariterator.C: fix infinite loop introduced in par->pit renaming
1424
1425         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1426         in insets and LyXText, draw two off-screen paragraphs using
1427         NullPainter, and adapt to new coord scheme
1428
1429         * text.C:
1430         * text2.C:
1431         * text3.C: adapt lfun handlers to the new coord scheme, which
1432         means: there's only guaranteed coord information for onscreen pars
1433         plus one above and one below. This implies that one can do search
1434         from y coordinates in the range [-1,workHeight]
1435
1436 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1437
1438         * rename a lot of InsetOld to InsetBase
1439
1440 2004-11-25  Angus Leeming  <leeming@lyx.org>
1441
1442         * BufferView_pimpl.C:
1443         * lyx_cb.C:
1444         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1445
1446 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1447
1448         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1449         call BufferView::getStatus if LCursor::getStatus did nothing
1450         (setStatusMessage, getStatusMessage): removed.
1451
1452         * FuncStatus.C (message): new methods. Used to provide an error
1453         message indicating why a command is disabled.
1454         (clear, |=, FuncStatus): update for message.
1455
1456 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1457
1458         * lyxfunc.C (dispatch): always call sendDispatchMessage
1459
1460 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1461
1462         * BufferView.C:
1463         * BufferView_pimpl.C:
1464         * CutAndPaste.C:
1465         * FontIterator.C:
1466         * buffer.C:
1467         * cursor.C:
1468         * cursor_slice.[Ch]:
1469         * dociterator.[Ch]:
1470         * lyxfind.C:
1471         * paragraph_funcs.C:
1472         * pariterator.C:
1473         * rowpainter.C:
1474         * text.C:
1475         * text2.C:
1476         * text3.C:
1477         * undo.C: par->pit renaming
1478
1479 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1480
1481         * tabular.C (cellstruct): use initialization, store a shared_ptr
1482         to insettext instead of the insettext directly, adjust to fit.
1483         (operator=):  new function
1484         (swap): new function
1485         (rowstruct): use initialization
1486         (columnstruct): use initialization
1487         (ltType): use initialization
1488
1489
1490         * lyxlength.h (swap): new function
1491
1492         * LColor.[Ch] (operator=): use the common semantics
1493
1494 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * lyxfind.C (findNextChange): update the bufferview after setting
1497         the selection.
1498
1499 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1500
1501         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1502         number of InsetOptArgs has already been inserted.
1503
1504         * output_latex.C (latexOptArgInsets): new method. This outputs all
1505         the optarg insets, up to the limit defined in the layout file.
1506         (optArgInset): removed
1507         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1508
1509 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * paragraph.C (isLetter): remove special spellchecker-related
1512         code; return true also for digits
1513         (isWord, isKomma): remove
1514
1515         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1516         * lyxfind.C (MatchString()): use isLetter instead of isWord
1517
1518 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1519
1520         * pariterator.h (operatir=): comment out un-implemented member
1521         function.
1522
1523         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1524         static cast.
1525
1526 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1527
1528         * lyxfont.h: include LColor.h to satisfy concept checks.
1529
1530 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1531
1532         * pariterator.h: add typdefs for value_type, difference_type,
1533         pointer and reference to satisfy concept checks. Also add default
1534         constructor for same reason.
1535
1536         * pariterator.C (operator++): add post-increment operator to
1537         satisfy concept checks.
1538
1539         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1540         checks.
1541
1542         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1543
1544         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1545         checks. Also rename base_type to BaseType to follow naming
1546         standard better.
1547
1548         * FloatList.h: include Floating.h to satisfy concept checks.
1549
1550 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1551
1552         * lyxfunc.C (getStatus): when the origin of the request is menu or
1553         toolbar, and the LyXView does not have focus, do as if there was
1554         no buffer (bug 1720)
1555
1556         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1557         FuncRequest to individual entries of LFUN_SEQUENCE
1558
1559 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1560
1561         * output_latex.C (TeXOnePar): override runparams.moving_arg
1562         according to the needprotect value of the current paragraph (bug
1563         1739)
1564
1565         * paragraph.C (simpleTeXOnePar): no need to override
1566         runparams.moving_args here
1567
1568 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1569
1570         * vspace.C: fix off-by-one-error, related to fix #1682
1571
1572 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1573
1574         * lengthcommon.C: a more general fix for bug 1682
1575
1576 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * text.C (backspace): fix crash
1579
1580 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1581
1582         * format.[Ch] (getFormatFromFile): new method
1583         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1584
1585 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1588
1589 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1590
1591         * lyxfunc.C (dispatch): remove the verbose argument
1592         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1593         instead
1594
1595         * kbmap.C (defkey): set the origin of func to KEYBOARD
1596
1597         * MenuBackend.C (MenuItem):
1598         * ToolbarBackend.C (add): set the origin of func to UI
1599
1600         * funcrequest.[Ch]: add origin member, which indicates which part
1601         of LyX requests an action
1602
1603 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1604
1605         * converter.C (move): don't lie in the error message
1606         * converter.h (isReachable, move): document
1607
1608 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1609
1610         * buffer.C: remove unused using lyx::support::atoi
1611         * paragraph_funcs.C: ditto
1612
1613 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1614
1615         * bufferlist.C (exists): use bind and equal_to instead of
1616         compare_memfun
1617         (getBuffer): ditto
1618         * lyxtextclasslist.C (NumberOfClass): ditto
1619
1620         * cursor.C (insert): use for_each instead of explicit for loop
1621
1622         * bufferlist.C (getFileNames): use std::transform and
1623         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1624
1625         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1626         for loop
1627
1628         * buffer.C (changeLanguage): use for_each instead of explicit for
1629         loop
1630         (hasParWithID): implement using getParFromID
1631
1632         * LaTeXFeatures.C: ws change only
1633
1634         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1635         to cleanup a bit.
1636
1637         * BufferView_pimpl.C (trackChanges): use for_each instead of
1638         expilicit for loop
1639
1640 2004-11-04  André Pönitz  <poenitz@gmx.net>
1641
1642         * undo.h:
1643         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1644
1645         * dociterator.C (asDocIterator): use hard assert again.
1646
1647 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1648
1649         * lyxlength.C (asLatexString): rewrite so that it does not use
1650         snprintf anymore
1651
1652 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1653
1654         * text3.C (specialChar, dispatch): make sure cursor moves to the
1655         right after inserting an inset
1656
1657 2004-11-02  José Matos  <jamatos@lyx.org>
1658
1659         * output_docbook.C (docbook):
1660         * paragraph.C (getID):
1661         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1662         garantee that the output is always legal.
1663
1664         * tabular.C (docbook):
1665         * outputprams.[Ch]: remove mixed contents.
1666
1667 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1668
1669         * text2.C (setCounter): prevent endless loop
1670
1671 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1672
1673         * exporter.C (copyFile): use the mover instead of support::copy()
1674         * exporter.C (Export): pass format and latex name to copyFile()
1675         * exporter.h (addExternalFile): document
1676         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1677
1678 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1679
1680         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1681
1682 2004-10-30  José Matos  <jamatos@lyx.org>
1683
1684         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1685         text and no inset or font change. This allows to use CDATA
1686         sections just for the whole paragraph.
1687
1688 2004-10-30  José Matos  <jamatos@lyx.org>
1689
1690         * paragraph.C (getFirstWord): remove unused variable.
1691
1692 2004-10-30  José Matos  <jamatos@lyx.org>
1693
1694         * paragraph.C (getFirstWord): the content should always be escaped
1695         there.
1696         (simpleDocBookOnePar):
1697         * output_docbook.C (makeEnvironment): replace reference to CDATA
1698         to style pass_thru.
1699
1700 2004-10-30  José Matos  <jamatos@lyx.org>
1701
1702         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1703
1704 2004-10-30  José Matos  <jamatos@lyx.org>
1705
1706         * output_docbook.C (makeParagraphs):
1707         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1708         standard paragraph has only a given type of content drop the wrapper.
1709
1710 2004-10-29  José Matos  <jamatos@lyx.org>
1711
1712         * output_docbook.C (makeEnvironment):
1713         * sgml.C (openTag):
1714         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1715
1716 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1717
1718         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1719         (cleanID): sanitize any id.
1720
1721 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1722
1723         * buffer.C, lyxlex_pimpl.C:
1724         * lyxlex_pimpl.C (setFile):
1725         s/getExtFromContents/getFormatFromContents/
1726
1727 2004-10-28  José Matos  <jamatos@lyx.org>
1728
1729         * output_docbook.C (makeEnvironment): move id to broadest possible
1730         scope.
1731
1732         * sgml.C (openTag): apply substitution of <> for all attributes.
1733
1734 2004-10-28  José Matos  <jamatos@lyx.org>
1735
1736         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1737         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1738         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1739
1740         * sgml.[Ch]: new version for open and closeTag for paragraph and
1741         for strings. Now they handle the ids of paragraphs.
1742
1743 2004-10-26  Angus Leeming  <leeming@lyx.org>
1744
1745         * Makefile.am: add mover.[Ch].
1746
1747         * converter.C (convert, move): use the new Movers to move external
1748         files to the temp directory.
1749
1750         * lyx_main.C (init): ensure that the global system_movers data
1751         is initialised.
1752
1753         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1754         preferences file.
1755
1756         * mover.[Ch]: new files, defining a Mover as a utility to move an
1757         external file between directories and, if necessary, manipulate this
1758         file using a helper script.
1759
1760 2004-10-25  José Matos  <jamatos@lyx.org>
1761
1762         * output_docbook.C (makeCommand): merge two if's that tested the
1763         same condition.
1764
1765 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * sgml.C (escapeString): fix warning in a better way
1768
1769 2004-10-25  José Matos  <jamatos@lyx.org>
1770
1771         * sgml.C (escapeString): import the require boosts header file for
1772         tie, and avoid a signed unsigned comparison.
1773
1774 2004-10-25  José Matos  <jamatos@lyx.org>
1775
1776         * sgml.h: add #include <string>
1777
1778 2004-10-25  José Matos  <jamatos@lyx.org>
1779
1780         * sgml.[Ch] (escapeString): new function to escape all the string.
1781
1782 2004-10-24  José Matos  <jamatos@lyx.org>
1783
1784         * paragraph.[Ch] (getFirstWord): new function to get the first
1785         word. Useful for description.
1786         (simpleDocBookOnePar): remove depth argument, add another that
1787         says where to start the paragraph.
1788
1789         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1790         use the new functions to fix cleanly the support for descriptions.
1791
1792 2004-10-24  José Matos  <jamatos@lyx.org>
1793
1794         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1795         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1796         * output_linuxdoc.C (linuxdocParagraphs):
1797         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1798         add buffer as argument.
1799
1800 2004-10-24  José Matos  <jamatos@lyx.org>
1801
1802         * output_docbook.C (makeEnvironment, searchEnvironment): place
1803         CDATA inside paragraphs and fix scope for listitems.
1804
1805 2004-10-24  José Matos  <jamatos@lyx.org>
1806
1807         * output_docbook.C: remove using statement for stack.
1808
1809 2004-10-23  José Matos  <jamatos@lyx.org>
1810
1811         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1812         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1813         docbook. The new scheme is recursive and makes use of iterators, the
1814         same as latex export works.
1815         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1816         directly with the paragraph contents. This code was moved up to
1817         output_docbook.C (docbookParagraphs).
1818         * sgml.C (openTag, closeTag): removed unneeded newlines.
1819         (closeEnvTags) removed.
1820
1821 2004-10-23  André Pönitz  <poenitz@gmx.net>
1822
1823         * undo.C (textUndoOrRedo):
1824         * dociterator.C (asDocIterator): work around crash
1825
1826         * cursor.C (getStatus): replace ASSERT by more verbose error message
1827           and manual correction of the problem. Should increase stability
1828           while providing more sensible information.
1829
1830 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1833
1834         * bufferlist.C (previous, next): new methods
1835
1836         * lfuns.h:
1837         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1838
1839 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1840
1841         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1842         entities to preamble.
1843
1844 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1845
1846         * messages.C (Pimpl): strip off translation context information
1847
1848 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1849
1850         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1851         the cursor is correct (bug 1694)
1852
1853 2004-10-13  José Matos  <jamatos@lyx.org>
1854
1855         * output_docbook.C (docbookParagraphs): fix closing tags in the
1856         end of the document.
1857
1858 2004-10-09  José Matos  <jamatos@lyx.org>
1859
1860         * buffer.C: format up to 237.
1861         * bufferparams.C (write): use tostr to convert booleans to strings.
1862
1863 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1864
1865         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1866
1867 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1868
1869         * LaTeX.C: implement use of babel language in xindy.
1870
1871 2004-10-05  José Matos  <jamatos@lyx.org>
1872
1873         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1874         Add new translators to help reading and writing the lyx file.
1875
1876 2004-10-05  José Matos  <jamatos@lyx.org>
1877
1878         * ParagraphParameters.C (read):
1879         * text.C (readParToken): replace nexToken by more appropriate lex
1880         methods.
1881
1882 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1883
1884         * LaTeX.C (runMakeIndex):
1885         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1886         (usually 'makeindex') configurable.
1887
1888         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1889         with a variable rather than with a number.
1890
1891 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * output_latex.C (TeXOnePar): make sure font setting is the first
1894         thing that gets output (and the last at the end). Should fix bug
1895         1404.
1896
1897 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1898
1899         * pch.h: use proper signal include
1900
1901         * LaTeX.h: Use preferred calling of Boost.Signal
1902         * buffer.h: ditto
1903
1904 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1905
1906         * pch.h: dont include <boost/function/function0.hpp>
1907
1908         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1909
1910         * paragraph_pimpl.h: remove usage of ShareContainer
1911
1912         * paragraph_pimpl.C: remove initialization of ShareContainer.
1913
1914 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1915
1916         Fix bug #1666
1917
1918         * BufferView.C (putSelectionAt): change the semantics when
1919         backwards == true: now, this just swaps cursor and anchor wrt the
1920         forward case
1921
1922         * BufferView.h (putSelectionAt): add some documentation
1923
1924         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1925         make sure backwardChar is done at least once (to avoid getting
1926         stuck)
1927         (findNextChange): use putSelectionAt in the forward direction
1928         (operator()): use Paragraph::isWord
1929
1930 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1931
1932         * Spacing.C (set): c_str fix
1933
1934 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1935
1936         * lyx_cb.C (Reconfigure): quote the name of configure script in
1937         case it contains spaces
1938
1939 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1940
1941         * client: new dir
1942
1943         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1944         (BOOST_LIBS): use top_buildir when looking for the file
1945
1946 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1947
1948         * pch.h: do not use include boost/format.hpp, multiple symbols
1949                 will result (gcc bug)
1950
1951
1952 2004-08-23  José Matos  <jamatos@lyx.org>
1953
1954         * bufferparams.C (readToken): fix reading of the author field.
1955
1956 2004-08-20  José Matos  <jamatos@lyx.org>
1957
1958         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1959
1960 2004-08-20  José Matos  <jamatos@lyx.org>
1961
1962         * lyxlex.[Ch] (findToken): remove function.
1963
1964         * ParagraphParameters.C (findToken):
1965         * bufferparams.C (findToken): replace call for previous function
1966         with local copy. This local function has one more argument, the
1967         read string argument.
1968
1969 2004-08-16  José Matos  <jamatos@lyx.org>
1970
1971         * ParagraphParameters.C (write):
1972         * Spacing.C (writeFile):
1973         * bufferparams.C (writeLaTeX):
1974         * lyx_cb.C (Reconfigure):
1975         * paragraph.C (write):
1976         * tabular.C (write): remove unnecessary space at end of line.
1977
1978
1979 2004-08-16  José Matos  <jamatos@lyx.org>
1980
1981         * text.C (readParagraph): remove debug message.
1982
1983 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1984
1985         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1986         crash
1987
1988         * output_plaintext.C (asciiParagraph): set depth correctly
1989
1990         * outputparams.h: add member depth
1991
1992         * paragraph_funcs.C (ownerPar): remove.
1993
1994         * text2.C (setCounter): remove first_pit; comment out some
1995         non-working code that uses ownerPar
1996
1997         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1998         uses ownerPar
1999
2000 2004-08-16  José Matos  <jamatos@lyx.org>
2001
2002         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2003         For the same level of importance use the same chanel to report problems.
2004         (read): add code to deal with \begin_body and \end_body.
2005
2006
2007 2004-08-15  José Matos  <jamatos@lyx.org>
2008
2009         * lyxlex.C (getString): fix comment, buffer::readBody is now
2010         buffer:readDocument.
2011
2012         * tex-strings.C (string_papersize): Default -> default,
2013         Custom -> custom, for consistency with other options.
2014
2015 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2016
2017         * pch.h: new file
2018
2019         * Makefile.am: support pch
2020
2021 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         * text.C (readParToken): remove the static LyXFont variable and
2024         pass it as a parameter instead. This fixes a nasty bug where an
2025         inset will be inserted with a bad font in some situations
2026         (readParagraph): adapt
2027
2028         * text2.C (setCounter): reduce number of calls to pars_[pit]
2029
2030         * text.C (singleWidth): add an assert, fix a test
2031
2032         * rowpainter.C (paintText): reduce number of calls to singleWidth
2033
2034         * paragraph.C (isHfill):
2035         (isNewline): ws only
2036
2037 2004-08-14  André Pönitz  <poenitz@gmx.net>
2038
2039         * text.C:
2040         * text2.C:
2041         * rowpainter.C:
2042         * lyxtext.h (several functions): use a Paragraph & argument
2043         instead of par_type
2044
2045 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2046
2047         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2048
2049         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2050
2051         * text.C (singleWidth): remove useless test
2052
2053 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2054
2055         * tabular.h: remove bogus comments
2056
2057         * tabular.C (getDescentOfRow):
2058         (isPartOfMultiColumn): add assertions
2059
2060         * lyxlength.C (inPixels): remove #warning
2061
2062 2004-08-14  André Pönitz  <poenitz@gmx.net>
2063
2064         * paragraph.h: inline getChar()
2065
2066         * BufferView.h: remove unused declarations
2067
2068 2004-08-14  José Matos  <jamatos@lyx.org>
2069
2070         * Buffer.[Ch] (readDocument): new name for old readBody.
2071         * Buffer.C: new file format, new keywords: \begin_document,
2072         \begin_header, \begin_body, \end_body.
2073
2074         * bufferparams.C (readToken): replace all calls to lex.nextToken
2075         by lex.next(). Do the same to eatLine except where really needed.
2076
2077         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2078         line when writing to the lyx file.
2079
2080         * output_plaintext.C (asciiParagraph): fix Bibliography style
2081         handling.
2082
2083         * text.C (read): fix end of file handling.
2084
2085 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * MenuBackend.C (Menu::operator[]): new method to access
2088         individual menu items
2089         (Menu::hasFunc): new method. search for an item that corresponds
2090         to a given func
2091         (MenuBackend::specialMenu): new method
2092         (MenuBackend::expand): if a special menu has been set, skip
2093         entries whose func() appears in this menu
2094
2095 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2096
2097         * text3.C: use Debug::DEBUG a bit more
2098
2099         * text.C (leftMargin): try to simplify a tiny bit change var x to
2100         l_margin. Dont output the wide margins always.
2101         (rightMargin): no margin in inner texts
2102
2103         * rowpainter.h (nestMargin): new func
2104         (changebarMargin): new func
2105         (rightMargin): new func
2106
2107         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2108         now functions.
2109         (paintLast): ditto
2110
2111         * factory.C (createInset): modify setDrawFrame
2112
2113         * cursor.C: use Debug::DEBUG a bit more
2114
2115 2004-08-14  André Pönitz  <poenitz@gmx.net>
2116
2117         * coordcache.[Ch]:
2118         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2119         cache for all insets in (at least partially) visible (top-level)
2120         paragraphs.
2121
2122         * BufferView_pimpl.C: reset external coord cache before every update.
2123         This means the coord cache only contains valid entries.
2124
2125 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2126
2127         bug 1096
2128         * BufferView_pimpl.C (getInsetByCode): move function out of class
2129         and change in to a template in anon namespace. Also fix to do what
2130         suits us better.
2131
2132 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2133
2134         bug 1305
2135         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2136         of char
2137         (breakParagraph): rename par to par_offset and use a local
2138         reference. Add code to keep the language over a rebreak.
2139         (breakParagraphConservative): rename par to par_offset, use a
2140         local reference
2141         (mergeParagraph): ditto
2142         (outerHook): ditto
2143         (isFirstInSequence): ditto
2144         (outerFont): rename pit to par_offset
2145
2146         * paragraph.C: ws change
2147         * paragraph.h: ditto
2148         * text3.C: ditto
2149         * text.C: ditto
2150
2151 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2154         treatment for ']'
2155
2156         * paragraph.C (simpleTeXOnePar): when we have a \item with
2157         optional argument, enclose the argument with curly brackets (in
2158         case it contains a closing square bracket)
2159
2160         * text2.C (editXY):
2161         * text2.C (editXY):
2162         * text3.C (checkInsetHit): constify
2163
2164 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2165
2166         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2167         documents (bug 1629)
2168
2169 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2170
2171         Fix toggling of collapsable insets with the mouse (bug 1558)
2172
2173         * lyxfunc.C (dispatch): adapt to LCursor changes
2174
2175         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2176         make sure that dispatch is not invoked twice
2177
2178         * cursor.C (needsUpdate): new method
2179         (dispatch): return void
2180         (result): new method, to access the DispatchResult of the cursor.
2181
2182 2004-08-13  José Matos  <jamatos@lyx.org>
2183
2184         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2185
2186 2004-08-13  André Pönitz  <poenitz@gmx.net>
2187
2188         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2189
2190         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2191           multiple cells
2192
2193 2004-08-12  André Pönitz  <poenitz@gmx.net>
2194
2195         * text3.C: take out the 'cursor right' form insertInset and only
2196         do it in those places when it is really needed. Fixes crash on
2197         C-m...
2198
2199 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2200
2201         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2202
2203         * BufferView_pimpl.C (setBuffer): initialize the current font of
2204         the underlying LyXText
2205
2206 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2207
2208         * kbsequence.C (print): use UI native formatting for menu
2209         shortcuts
2210
2211         * text.C (insertChar): call Paragraph::insertChar with a font
2212         argument (cosmetic)
2213
2214         * paragraph.C (insertInset, insertChar): the version that takes a
2215         LyXFont argument is now a wrapper around the other one (the
2216         opposite used to be true).
2217
2218         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2219         argument. Font setting is done in Paragraph now.
2220
2221 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2222
2223         * outputparams.h: add new members intitle and lang.
2224
2225         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2226         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2227
2228 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2229
2230         * text3.C (dispatch): remove special handling of button 4 and 5,
2231         it is now taken care of in the frontend code.
2232
2233 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2234
2235         * Spacing.h: add <string> (STLPort compile fix)
2236
2237 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2238
2239         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2240
2241 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2242
2243         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2244         to bool.
2245
2246         * converter.C (showMessage): inherit from unary_function, make
2247         operator() const.
2248
2249         * buffer.C (writeFile): initialize retval
2250
2251         * InsetList.h: rename private variable list to list_
2252         * InsetList.[Ch]: adjust accordingly.
2253
2254 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2255
2256         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2257         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2258         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2259         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2260         * ParagraphParameters.C, LaTeXFeatures.C: replace
2261         "support/std_sstream.h" with <sstream>
2262
2263 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2264
2265         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2266         * lyxsocket.C (LyXServerSocket): ditto
2267         (serverCallback): ditto
2268
2269 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2270
2271         * LaTeXFeatures.C: check release date when loading jurabib.
2272
2273 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2274
2275         * lyxserver.C (startPipe): call register_socket_callback
2276         (endPipe): call unregister_socket_callback
2277
2278 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2279
2280         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2281         (LyXServerSocket): register the callback
2282         (LyXServerSocket): unregister the callback
2283         (fd): delete function
2284         (serverCallback): improve error checking and setup the callbacks.
2285         (dataCallback): change arg to fd.
2286         (writeln): new func (copied fro the client socket) used for server
2287         write to client.
2288         (LyXDataSocket): simplify
2289         (~LyXDataSocket): close ann unregiser callback
2290         (server): delete function
2291         (fd): delete function
2292         (readln): small changes, improve some std::string usage
2293         (writeln): constify a bit
2294
2295 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2298         Qt frontend
2299
2300 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2303         after it has been populated
2304
2305 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2306
2307         * text2.C (insertInset): move cursor when inserting inset.
2308
2309 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * kbmap.C (findbindings): a couple of new methods. returns a
2312         container of kb_sequence objects. The real work is done by the
2313         private recursive version
2314         (printbindings): uses findbindings to print out a bracketed list
2315         of bindings (renamed from findbinding).
2316
2317         * MenuBackend.C (binding): use kb_keymap::findbindings
2318
2319         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2320
2321 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2322
2323         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2324
2325 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2326
2327         * paragraph.C (isWord): return true on insets that report
2328         isLetter().
2329
2330         * text.C (getWord): use Paragraph::isWord to decide what is in a
2331         word and what is not; fix bug 1609.
2332
2333 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2334
2335         * tex-strings.C: add "none" to string_paperpackages[], fixes
2336         off-by-one-error in the paperpackage selection.
2337
2338         * lyxlex.[Ch]:
2339         * tex-strings.[Ch]: char const * string[n]
2340         -> char const * const string[]
2341
2342 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2343
2344         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2345         command, return early.
2346
2347 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2348
2349         * debug.h: add DEBUG to enum and fix size of ANY.
2350
2351         * debug.C: add support for Debug::DEBUG
2352         (showTags): cast errorTags.level to unsigned int
2353
2354         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2355         (redoCurrentBuffer): ditto
2356         (updateScrollbar): ditto
2357         * cursor.C (dispatch): ditto
2358         * text2.C (setLayout): ditto
2359         (setFont): ditto
2360         (updateCounters): ditto
2361         (editXY): ditto
2362         (deleteEmptyParagraphMechanism): ditto
2363
2364 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2365
2366         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2367         annotations to cleanup the Makefile slightly.
2368
2369 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2370
2371         * lyxrc.C: do not set user_email to a default value but use empty
2372         instead. The entry used to be translated, which does not work
2373         since at the point where lyxrc is constructed there is no
2374         translation service available
2375
2376         * messages.C (getLocaleDir): remove and use directly
2377         lyx_localedir() instead
2378
2379 2004-06-02  Angus Leeming  <leeming@lyx.org>
2380
2381         Fix crash caused by dereferencing null pointer 'exportdata' in
2382         OutputParams by creating a new ExportData variable on the heap,
2383         storing it in a boost::shared_ptr.
2384         The crash was triggered when generating an Instant Preview
2385         of an external inset.
2386
2387         * Makefile.am: add outputparams.C
2388
2389         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2390         (c-tor): allocate memory to it.
2391
2392         * exporter.C (c-tor): associated changes.
2393
2394 2004-06-01  Angus Leeming  <leeming@lyx.org>
2395
2396         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2397         contains data before calling isInset(0). (Bug 1513.)
2398
2399 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2400
2401         * exporter.C (checkOverwrite): new method
2402         * exporter.C (copyFile): new method
2403         * exporter.C (Export): copy referenced files to the document dir
2404         * exporter.[Ch]: new class ExportedFile
2405         * exporter.[Ch]: new class ExportData. Contains currently the
2406         names of referenced external files
2407         * outputparams.h: add exportdata member.
2408
2409 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2410
2411         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2412         version.C-tmp
2413
2414 2004-05-19  Angus Leeming  <leeming@lyx.org>
2415
2416         * LaTeXFeatures.C:
2417         * ToolbarBackend.C:
2418         * bufferparams.C:
2419         * lyxfunc.C: small changes due to the introduction of namespace
2420         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2421
2422 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * text3.C (dispatch): supress update when only moving the cursor
2425         * cursor.C (selHandle): remove commented code
2426
2427 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2428
2429         * paragraph.C (startTeXParParams): correct column count
2430         * CutAndPaste.C (pasteSelection): remove const_cast
2431         * output_docbook.C (docbookParagraphs): remove const_cast
2432         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2433         const_cast and return ParagraphList::const_iterator
2434         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2435         * output_plaintext.C (writeFileAscii): remove const_cast
2436         * paragraph.[Ch] (simpleTeXOnePar): make const
2437         * paragraph_funcs.C (outerPar): use const iterators
2438         * paragraph_pimpl.C (validate): use const iterators
2439         * text.C (setHeightOfRow): use const iterators
2440
2441 2004-05-17  Angus Leeming  <leeming@lyx.org>
2442
2443         * lfuns.h:
2444         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2445
2446         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2447         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2448         if the citation engine has changed.
2449
2450 2004-05-14  José Matos  <jamatos@lyx.org>
2451
2452         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2453         if the textclass does not provide it. Have it different for sgml and
2454         xml.
2455         support the language of document.
2456         * output_docbook.C (docbookParagraphs):
2457         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2458         first anchor as the id of the paragraph, remove special case code.
2459         * sgml.C (escapeChar): escape only < & >.
2460
2461 2004-05-14  Angus Leeming  <leeming@lyx.org>
2462
2463         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2464         dependencies on src/frontends/controllers/biblio.h. Define a
2465         CiteEngine_enum wrapper class to enable the enum to be forward
2466         declared.
2467
2468 2004-05-12  Angus Leeming  <leeming@lyx.org>
2469
2470         * buffer.C: up LYX_FORMAT to 234.
2471         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2472         use_numerical_citations with a single biblio::CiteEngine cite_engine
2473         variable.
2474         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2475
2476 2004-05-13  José Matos  <jamatos@lyx.org>
2477
2478         * converter.h:
2479         * converter.C (Converter, readFlags): add xml member.
2480         * outputparams.h: add XML flavor.
2481         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2482
2483 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2484
2485         * lyxfunc.C (dispatch):
2486         (getStatus): fix handling of LFUN_SEQUENCE
2487
2488 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2489
2490         * debug.C (showLevel): do not forget the end-of-line marker
2491
2492 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2493
2494         * kbmap.C (read): do not stop parsing a bind file when an error
2495         occurs (bug 1575)
2496
2497 2004-04-29  Angus Leeming  <leeming@lyx.org>
2498
2499         * cursor.C:
2500         * factory.C:
2501         * pariterator.C:
2502         * text2.C: wrap a bunch of #warning statements
2503         inside #ifdef WITH_WARNINGS blocks.
2504
2505 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2506
2507         * buffer.C: increment format to 233.
2508
2509 2004-04-28  Angus Leeming  <leeming@lyx.org>
2510
2511         * BufferView_pimpl.C:
2512         * lyxfunc.C:
2513         * text3.C:
2514         s/updateToolbar()/updateToolbars()/
2515         s/Toolbar.h/Toolbars.h/
2516
2517 2004-04-28  Angus Leeming  <leeming@lyx.org>
2518
2519         * BufferView.[Ch] (c-tor):
2520         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2521         No longer passes these data to the WorkArea generator.
2522
2523 2004-04-28  Angus Leeming  <leeming@lyx.org>
2524
2525         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2526
2527 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2528
2529         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2530
2531 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2532
2533         * output_latex.C (TeXEnvironment): make sure that there is a line
2534         break before \end{foo} for the last paragraph of a document
2535         (TeXOnePar): if the paragraph is at the end of the document (or
2536         inset) and the language has to be reset, then make sure that the
2537         line break is _before_ the language command, not after (fixes bug
2538         1225); also make sure that the language reset command is the first
2539         thing after the paragraph (to ensure proper nesting of
2540         environments and thus fix bug 1404)
2541
2542 2004-04-21  John Levon  <levon@movementarian.org>
2543
2544         * ToolbarBackend.h:
2545         * ToolbarBackend.C: make "name" be a programmatic name
2546         and a gui_name field.
2547
2548         * lyxfunc.C: display the minibuffer on M-x
2549
2550 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2551
2552         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2553         (bug 1526)
2554
2555 2004-04-19  Angus Leeming  <leeming@lyx.org>
2556
2557         * BufferView_pimpl.C (setBuffer): changed preview interface.
2558
2559         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2560         possible values.
2561
2562 2004-04-19  John Levon  <levon@movementarian.org>
2563
2564         * BufferView_pimpl.C:
2565         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2566
2567 2004-04-05  Angus Leeming  <leeming@lyx.org>
2568
2569         * text.C (redoParagraphs): add call to updateCounters(), thereby
2570         fixing the missing "Figure #:" label from the caption of a
2571         figure float.
2572
2573 2004-04-13  Angus Leeming  <leeming@lyx.org>
2574
2575         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2576         cursor is clicked out of an inset.
2577
2578 2004-04-13  Angus Leeming  <leeming@lyx.org>
2579
2580         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2581         than an InsetOld one.
2582
2583 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2584
2585         * format.[Ch]: add editor to Format
2586         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2587         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2588
2589 2004-04-08  André Pönitz  <poenitz@gmx.net>
2590
2591         * metricsinfo.h: remove PainterInfo::width member
2592
2593 2004-04-08  Angus Leeming  <leeming@lyx.org>
2594
2595         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2596         "\providecommand" rather than "\newcommand", thereby preventing
2597         clashes with packages that define "\boldsymbol" themselves.
2598         Eg, beamer.
2599
2600 2004-04-08  Angus Leeming  <leeming@lyx.org>
2601
2602         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2603         thereby squashing an unnecessary warning.
2604
2605 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2606
2607         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2608         setBuffer()
2609
2610 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2611
2612         * BufferView.C (setCursor): call redoParagraph (some insets could
2613         have been opened)
2614         (putSelectionAt): remove the 'double update' trick
2615
2616         * BufferView_pimpl.C (fitCursor): call refreshPar
2617         (workAreaDispatch): remove an uneeded update call
2618         (dispatch): remove some manual update calls
2619
2620         * cursor.[Ch]: remove cached_y_, updatePos
2621         (selHandle): set noUpdate when appropriate
2622
2623         * lyxfunc.C (dispatch): track if we need an update
2624
2625         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2626
2627         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2628         (paintSelection): cheap optimization, do not call cursorX when not
2629         needed
2630         (paintPars): change signature
2631         (refreshPar): add
2632         (paintText): adjust
2633         (paintTextInset): adjust
2634
2635         * text.C: adjust
2636
2637 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2638
2639         * lengthcommon.C: compilation fix: remove explicit array size from
2640         unit_name[] and friends
2641
2642 2004-04-05  Angus Leeming  <leeming@lyx.org>
2643
2644         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2645
2646         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2647         present only for the preferences dialog.
2648         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2649
2650 2004-04-05  Angus Leeming  <leeming@lyx.org>
2651
2652         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2653         to enable the frontends to export changes to lyxrc correctly.
2654
2655         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2656
2657 2004-04-07  André Pönitz  <poenitz@gmx.net>
2658
2659         * cursor.[Ch] (selClear, adjust): remove math
2660
2661         * cursor_slice.C: more agressive assert
2662
2663         * lyxfunc.C:
2664         * BufferView_pimpl.C: rework mouse event dispatch
2665
2666         * dociterator.C:
2667         * paragraph.C:
2668         * text2.C:
2669         * text3.C: adjust
2670
2671 2004-04-05  André Pönitz  <poenitz@gmx.net>
2672
2673         * cursor.[Ch] (valign, halign...): remove unneeded functions
2674
2675 2004-04-05  Angus Leeming  <leeming@lyx.org>
2676
2677         * lyxlength.[Ch] (unit_name et al.): const-correct.
2678
2679 2004-04-05  Angus Leeming  <leeming@lyx.org>
2680
2681         * BufferView_pimpl.C:
2682         * buffer.C:
2683         * counters.C:
2684         * cursor.C:
2685         * lyxfunc.C
2686         * paragraph.C:
2687         * pariterator.C:
2688         * text.C:
2689         * text2.C:
2690         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2691
2692 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2693
2694         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2695
2696 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2697
2698         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2699         * BufferView_pimpl.[Ch] (getStatus)
2700         * BufferView.[Ch] (getStatus): add
2701         * lyxfunc.C (getStatus): move lfuns handled in
2702         BufferView::dispatch to te function above
2703         * Cursor.C (setSelection): set selection() = true
2704
2705 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2706
2707         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2708
2709 2004-03-31  Angus Leeming  <leeming@lyx.org>
2710
2711         * lyxfunc.C (dispatch): Fall through to the generic
2712         Dialogs::show("preamble").
2713
2714 2004-03-31  Angus Leeming  <leeming@lyx.org>
2715
2716         * lyxfunc.C (dispatch): Fall through to the generic
2717         Dialogs::show("spellchecker").
2718
2719 2004-03-31  Angus Leeming  <leeming@lyx.org>
2720
2721         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2722         preferences dialog.
2723
2724 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2725
2726         * BufferView.C
2727         * cursor.[Ch]
2728         * dociterator.[Ch]:
2729         * insetiterator.[Ch]:
2730         * lyxfind.C:
2731         * lyxfunc.C:
2732         * pariterator.[Ch]:
2733         * text2.C:
2734         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2735
2736 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2737
2738         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2739         insets where we are putting the cursor.
2740
2741 2004-03-31  Angus Leeming  <leeming@lyx.org>
2742
2743         * lfuns.h:
2744         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2745
2746         * lyxrc.[Ch] (read, write): overloaded member functions taking
2747         a std::[io]stream arguments.
2748
2749         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2750
2751 2004-03-31  Angus Leeming  <leeming@lyx.org>
2752
2753         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2754         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2755
2756         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2757         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2758
2759 2004-03-31  Angus Leeming  <leeming@lyx.org>
2760
2761         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2762         the LFUN_ALL_INSETS_TOGGLE code.
2763
2764 2004-03-30  Angus Leeming  <leeming@lyx.org>
2765
2766         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2767         has died. Fall through to the generic Dialogs::show("document").
2768
2769 2004-03-30  Angus Leeming  <leeming@lyx.org>
2770
2771         * lfuns.h:
2772         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2773         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2774
2775         * lyxfunc.C (getStatus, dispatch): define the actions for these
2776         lfuns. Little more than a cut and pste job from ControlDocument.C
2777
2778         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2779
2780 2004-03-30  Angus Leeming  <leeming@lyx.org>
2781
2782         * lfuns.h:
2783         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2784         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2785
2786         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2787         open/closed state of ollapsable insets. Usage:
2788
2789         all-inset-toggle <state> <name>, where
2790         <state> == "open" || "closed" || "toggle" and
2791         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2792
2793         * lyxtext.h, text2.C (toggleInset): removed.
2794
2795         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2796         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2797         now passes LFUN_INSET_TOGGLE to the found inset.
2798
2799         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2800         is now invoked as "all-insets-toggle toggle branch".
2801
2802 2004-03-30  Angus Leeming  <leeming@lyx.org>
2803
2804         * dociterator.C:
2805         * insetiterator.C:
2806         * pariterator.[Ch]: added/corrected header blurb.
2807
2808 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2809
2810         * dociterator.[Ch]: add an inset_ member
2811         (backwardPos): implemented
2812         (backwardPos, forwardPos): use inset_ when the stack is empty.
2813         (doc_iterator_begin, doc_iterator_end): implemented
2814         * pariterator.[Ch]: adjust, add begin, end
2815         * insetiterator.[Ch]: adjust, add begin, end
2816         * cursor.C:
2817         * document.C:
2818         * BufferView.C:
2819         * BufferView_pimpl.C:
2820         * CutAndPaste.C: adjust
2821
2822 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2823
2824         * buffer.C: increment file format to 232.
2825         * LaTeXFeatures.C: add bibtopic package.
2826         * bufferparams.[Ch]: param \use_bibtopic.
2827
2828         * lyxrc.[Ch]: add lyxrc bibtex_command
2829         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2830
2831         * buffer.C: increment file format to 231.
2832
2833 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2834
2835         * dociterator.C: implement forwardPar
2836         * iterators.[Ch]: remove, replaced by
2837         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2838         * BufferView.C:
2839         * BufferView_pimpl.C:
2840         * CutAndPaste.C:
2841         * buffer.C:
2842         * bufferview_funcs.C:
2843         * cursor.C:
2844         * lyxfind.C
2845         * lyxfunc.C
2846         * paragraph_funcs.C
2847         * toc.C:
2848         * Makefile.am: adjust
2849
2850 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2851
2852         * CutAndPaste.C (pasteSelection): fix 2 crashes
2853         (eraseSelection): fix a crash
2854         * paragraph_funcs.C: remove a warning
2855
2856 2004-03-28  Angus Leeming  <leeming@lyx.org>
2857
2858         * lfuns.h:
2859         * LyXAction.C (init): new LFUN_PRINT.
2860
2861         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2862
2863 2004-03-27  Angus Leeming  <leeming@lyx.org>
2864
2865         * lfuns.h:
2866         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2867
2868         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2869
2870 2004-03-27  Angus Leeming  <leeming@lyx.org>
2871
2872         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2873         insetlist always contains non-null pointers to insets.
2874
2875 2004-03-26  Angus Leeming  <leeming@lyx.org>
2876
2877         * src/BufferView_pimpl.C:
2878         * src/CutAndPaste.C:
2879         * src/buffer.C:
2880         * src/iterators.C:
2881         * src/output_plaintext.C:
2882         * src/outputparams.h:
2883         * src/paragraph_funcs.C:
2884         * src/rowpainter.C:
2885         * src/text.C:
2886         * src/text2.C:
2887         * src/frontends/controllers/ControlErrorList.C:
2888         * src/frontends/gtk/FileDialogPrivate.C:
2889         * src/frontends/gtk/GPainter.C:
2890         * src/frontends/gtk/GToolbar.C:
2891         * src/frontends/qt2/QRef.C:
2892         * src/mathed/math_scriptinset.C: squash compiler warnings.
2893
2894 2004-03-26  Angus Leeming  <leeming@lyx.org>
2895
2896         * ispell.C (LaunchIspell::start):
2897         * lyx_cb.C (AutoSaveBuffer::start):
2898         invoke run(DontWait) rather than runNonBlocking().
2899
2900 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2901
2902         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2903
2904 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2905
2906         * kbsequence.C (print): adjust
2907
2908         * kbmap.C (printKeySym): rename and change signature
2909         (printKey): use LyXKeySym::print()
2910
2911 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2912
2913         * undo.C: add using std::advance to compile for stlport
2914
2915 2004-03-24  Angus Leeming  <leeming@lyx.org>
2916
2917         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2918         it leads to a crash when no buffer is present.
2919
2920 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2921             Martin Vermeer  <martin.vermeer@hut.fi>
2922
2923         * lyxfunc.C (dispatch):
2924         * bufferparams.C (readToken): use the new LColor::setColor
2925
2926         * LColor.[Ch] (setColor): new version that takes two strings as
2927         argument and creates a new color entry if necessary
2928
2929 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2930
2931         * buffer.C (makeLaTeXFile): if the main latex file that is
2932         processed is usually a subdocument of some master, then pretend
2933         for a while that it is actually the master
2934
2935 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2936
2937         * buffer.C (getLabelList):
2938         (getBibkeyList): use getMasterBuffer()
2939         (getMasterBuffer): new method. Returns the main document in the
2940         case where one is using included documents.
2941
2942 2004-03-25  André Pönitz  <poenitz@gmx.net>
2943
2944         * Makefile.am:
2945         * iterators.[Ch]:
2946         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2947
2948         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2949
2950         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2951         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2952
2953         * ParameterStruct.h: merge with ParagraphParameters
2954
2955         * lyxtext.h: remove LyXText::parOffset() and getPar()
2956
2957         * text3.C: Remove all 'manual' update calls. We do now one per user
2958         interaction which is completely sufficient.
2959
2960         * Bidi.C:
2961         * BufferView.[Ch]:
2962         * BufferView_pimpl.C:
2963         * FontIterator.[Ch]:
2964         * MenuBackend.C:
2965         * ParagraphParameters.[Ch]:
2966         * buffer.C:
2967         * buffer.h:
2968         * bufferlist.C:
2969         * cursor.[Ch]:
2970         * cursor_slice.[Ch]:
2971         * dociterator.[Ch]:
2972         * errorlist.[Ch]:
2973         * factory.C:
2974         * lfuns.h:
2975         * lyxfind.C:
2976         * lyxfunc.C:
2977         * output_docbook.[Ch]:
2978         * output_latex.[Ch]:
2979         * output_linuxdoc.[Ch]:
2980         * output_plaintext.[Ch]:
2981         * paragraph.[Ch]:
2982         * paragraph_funcs.[Ch]:
2983         * paragraph_pimpl.[Ch]:
2984         * rowpainter.C:
2985         * tabular.[Ch]:
2986         * text.C:
2987         * text2.C:
2988         * toc.C:
2989         * undo.[Ch]: adjust
2990
2991         * frontends/controllers/ControlDocument.C:
2992         * frontends/controllers/ControlErrorList.C:
2993         * frontends/controllers/ControlSpellchecker.C:
2994         * insets/inset.C:
2995         * insets/inset.h:
2996         * insets/insetbase.h:
2997         * insets/insetbibitem.C:
2998         * insets/insetbox.C:
2999         * insets/insetbranch.C:
3000         * insets/insetcaption.C:
3001         * insets/insetcharstyle.C:
3002         * insets/insetcharstyle.h:
3003         * insets/insetcollapsable.C:
3004         * insets/insetcollapsable.h:
3005         * insets/insetert.C:
3006         * insets/insetfloat.C:
3007         * insets/insetfoot.C:
3008         * insets/insetmarginal.C:
3009         * insets/insetnote.C:
3010         * insets/insetoptarg.C:
3011         * insets/insettabular.C:
3012         * insets/insettext.C:
3013         * insets/insettext.h:
3014         * insets/insetwrap.C:
3015         * mathed/math_mboxinset.C:
3016         * mathed/math_nestinset.C:
3017         * mathed/math_scriptinset.C:
3018         * mathed/math_scriptinset.h:
3019         * support/types.h:
3020
3021 2004-03-24  Angus Leeming  <leeming@lyx.org>
3022
3023         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3024         deal with any child processes that have finished but are waiting to
3025         communicate this fact to the rest of LyX.
3026
3027 2004-03-24  Angus Leeming  <leeming@lyx.org>
3028
3029         64-bit compile fixes.
3030
3031         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3032         (c-tor): pass lyx::pos_types rather than ints.
3033
3034         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3035         lyx::pos_type.
3036
3037         * text.C (Delete): compile fix.
3038         (getPar): ensure that function declaration is the same as that in
3039         the header file.
3040
3041 2004-03-23  Angus Leeming  <leeming@lyx.org>
3042
3043         * ispell.C (LaunchIspell):
3044         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3045         a boost::shred_ptr rather than a std::auto_ptr.
3046
3047 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3048
3049         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3050         handle LFUN_FILE_INSERT_*
3051
3052         * lyxrc.C (setDefaults, getDescription, output, read):
3053         * lyxrc.h: remove ps_command
3054
3055 2004-03-22  Angus Leeming  <leeming@lyx.org>
3056
3057         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3058         Ensure that error_handler is processed once only and that all data
3059         is saved before attempting to output any warning messages.
3060
3061         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3062
3063 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3064
3065         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3066
3067 2004-03-19  André Pönitz  <poenitz@gmx.net>
3068
3069         * cursor.[Ch] (reset): take main text inset as argument
3070
3071         * BufferView: adjust
3072         * BufferView_pimpl.C: adjust
3073
3074         * paragraph.[Ch]: fix completely broken operator=()
3075
3076 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3077
3078         * LColor.C (getFromLyXName): make sure that the color name is used
3079         as lowercase.
3080
3081 2004-03-17  Angus Leeming  <leeming@lyx.org>
3082
3083         * lfuns.h:
3084         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3085
3086         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3087         dialog and to kill a forked process.
3088
3089 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3090
3091         * text2.C (setCursorFromCoordinates): fix font problem
3092
3093 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3094
3095         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3096         bogus "rebuild cursor" code
3097
3098 2004-03-11  André Pönitz  <poenitz@gmx.net>
3099
3100         * buffer.[Ch]: use InsetText instead of LyXText as container for
3101         the main lyx text.
3102
3103         * dociterator.[Ch]: drop the BufferView * member which is not needed
3104         anymore after the change to buffer.C
3105
3106         * paragraph_funcs.C:
3107         * text.C:
3108         * text2.C:
3109         * BufferView.[Ch]:
3110         * BufferView_pimpl.[Ch]:
3111         * cursor.[Ch]:
3112         * cursor_slice.[Ch]: adjust
3113
3114         * text3.C: fix bug in mathDispatch
3115
3116 2004-03-08  André Pönitz  <poenitz@gmx.net>
3117
3118         * undo.[Ch]: use 'StableDocumentIterator' as base for
3119         the Undo struct.
3120
3121 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3122
3123         * LaTeXFeatures.C:
3124         * bufferparams.[Ch]: add jurabib support and param.
3125
3126         * LaTeX.C: add FIXME/comment.
3127
3128 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3129
3130         * buffer.C: increment file format to 230.
3131
3132 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3133
3134         * cursor.C (dispatch): avoid infinite loops
3135
3136 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3137
3138         * rowpainter.C (paintSelection): fix x coordinates
3139
3140 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3141
3142         * text.C (rowBreakPoint): fix breaking before displayed insets
3143
3144 2004-03-01  André Pönitz  <poenitz@gmx.net>
3145
3146         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3147
3148         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3149
3150         * Makefile.am:
3151         * BufferView.C:
3152         * BufferView_pimpl.C:
3153         * buffer.C:
3154         * lyxfind.C:
3155         * lyxfunc.C:
3156         * text.C:
3157         * text2.C:
3158         * text3.C: adjust
3159
3160 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3161
3162         * lyxtext.h:
3163         * text.C:
3164         * text2.C:
3165         * rowpainter.C:
3166         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3167         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3168
3169 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3170
3171         * Bidi.[Ch] (computeTables): const correctness
3172         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3173         fill_hfill, fill_label_hfill and x from Row
3174         * lyxtext.h: prepareToPrint returns a RowMetrics
3175         * rowPainter.C: adjust
3176         * text.C (prepareToPrint): use width, not textWidth. adjust
3177         (redoParagraphInternal, cursorX): adjust
3178         * text2.C (getColumnNearX): adjust
3179         (init): put a default value to the top LyXText::width
3180
3181 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3182
3183         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3184
3185 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * lyxtext.h: add FontIterator class
3188
3189         * text.C (FontIterator, operator*, operator->, operator++): add
3190         (rowBreakPoint, setRowWidth): adjust (fixing a
3191         rebreaking bug)
3192
3193 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3194
3195         * BufferView_pimpl.C (workAreaDispatch): allow also
3196         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3197
3198 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3199
3200         * text.C (rowBreakPoint): fix a bug showing with very large insets
3201
3202 2004-02-25  André Pönitz  <poenitz@gmx.net>
3203
3204         * text3.C:
3205         * cursor.[Ch]: move some mathed specific code to mathed
3206
3207 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3208
3209         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3210         use_tempdir in preferences
3211         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3212         tempfile creation
3213         * lyx_main.C: ensure that tempdir is valid
3214         * lyxlex.h: correct typo
3215         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3216         * paragraph.[Ch] (isMultiLingual): make const
3217         * cursor.[Ch] (openable): make const
3218
3219 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3220
3221         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3222
3223 2004-02-20  André Pönitz  <poenitz@gmx.net>
3224
3225         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3226
3227         * cursor.[Ch]: prepare for localized getStatus()
3228
3229         * lyxtext.h:
3230         * tabular.C:
3231         * text.C:
3232         * text2.C:
3233         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3234
3235 2004-02-20  André Pönitz  <poenitz@gmx.net>
3236
3237         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3238
3239 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3240
3241         * text2.C (setCursorFromCoordinates): switch to absolute coords
3242         (cursorUp): adjust
3243         (cursorDown): adjust
3244         * text3.C (dispatch): adjust
3245
3246 2004-02-16  André Pönitz  <poenitz@gmx.net>
3247
3248         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3249           insets/ChangeLog)
3250
3251         * cursor_slice.[Ch]: remove unneeded acessor function
3252
3253         * lyxtext.h: rename rtl() to isRTL()
3254
3255         * rowpainter.C:
3256         * tabular.C:
3257         * text.C:
3258         * text2.C:
3259         * text3.C: adjust
3260
3261 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3262
3263         * rowpainter.C (paintSelection): coord fix
3264
3265 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3266
3267         * Spacing.C: compile fix
3268
3269 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3270
3271         * cursor.C (dispatch): restore current_ before returning
3272
3273 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3274
3275         * text2.C (cursorUp, cursorDown): fix coords
3276         (moveUp): fix crash
3277
3278 2004-02-12  André Pönitz  <poenitz@gmx.net>
3279
3280         * lyxtext.h:
3281         * text.C:
3282         * text2.C:
3283         * text3.C: add LCursor & parameter to most cursor movement functions
3284           remove usage of LyXText::cursorRow() and cursorPar()
3285
3286         * cursor.[Ch]: add textRow() needed members
3287
3288         * BufferView.C:
3289         * BufferView_pimpl.C:
3290         * paragraph.[Ch]:
3291         * BufferView.C:
3292         * BufferView_pimpl.C: adjust
3293
3294 2004-02-11  André Pönitz  <poenitz@gmx.net>
3295
3296         * lyxfunc.C:
3297         * BufferView.[Ch]:
3298         * BufferView_pimpl.C: shift undo/redo handling
3299
3300         * cursor.[Ch]: fix mathed crash
3301
3302         * lyxfind.C:
3303         * lyxtext.h: move selectionAsText to LCursor
3304
3305         * output_latex.C:
3306         * paragraph.C:
3307         * text.C:
3308         * text2.C:
3309         * text3.C: adjust
3310
3311         * rowpainter.C: fix excessive drawing
3312
3313 2004-02-06  André Pönitz  <poenitz@gmx.net>
3314
3315         * BufferView.[Ch]:
3316         * BufferView_pimpl.[Ch]:
3317         * text3.C: move some text specific LFUN handling
3318
3319 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3320
3321         * text3.C (checkInsetHit): adjust coords
3322         * text2.C (getColumnNearX): adjust coords
3323         (edit): adjust coords
3324         * text.C (getRowNearY): add two asserts
3325
3326 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3327
3328         * converter.C:
3329         * format.C: add using std::distance to compile on gcc 2.95/stlport
3330
3331 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3332
3333         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3334
3335 2004-02-04  André Pönitz  <poenitz@gmx.net>
3336
3337         * BufferView.[Ch] (insertInset):
3338         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3339
3340         * text2.C:
3341         * text3.C: adjust
3342
3343 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3344
3345         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3346         on the default clause of the switch
3347         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3348         wasn't catched by LCursor::dispatch
3349
3350 2004-02-03  André Pönitz  <poenitz@gmx.net>
3351
3352         * BufferView.C:
3353         * cursor.[Ch]: some additional asserts
3354
3355         * undo.[Ch]: remove LyXText dependency in interface
3356
3357         * lyxfunc.C: adjust
3358
3359         * lyxtext.h (firstPar, lastPar): remove dead functions
3360
3361         * text.C:
3362         * text2.C:
3363         * text3.C:
3364         * paragraph.[Ch]: adjust
3365
3366 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3367
3368         * lyxfind.C (find): fix argument order in call to ::find
3369
3370 2004-02-02  André Pönitz  <poenitz@gmx.net>
3371
3372         * cursor.[Ch]: remove direct access to anchor
3373
3374         * text.C: remove findText() hack
3375
3376 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3377
3378         * iterators.[Ch] (lockPath): remove in favour of...
3379         * BufferView.[Ch] (setCursor): this addition
3380         * BufferView.C (putSelectionAt): adjust
3381         * undo.C (performUndoOrRedo): adjust
3382         * lyxfunc.C (dispatch): adjust
3383
3384 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3385
3386         * iterators.C (lockPath): add a missing slice
3387         * undo.C (performUndoOrRedo): remove redundant positioning code
3388
3389 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3390
3391         * vc-backend.C (scanMaster): ";" -> ';'
3392
3393 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3394
3395         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3396         std::binary_function
3397
3398         * lyxtextclass.C (compare_name): rename to...
3399         (LayoutNamesEqual): ...this
3400
3401         * lyxlex_pimpl.C (compare_tags): inherit from
3402         std::binary_function, put back into anon namespace
3403
3404         * lyxfind.C (MatchString): inherig from std::binary_function
3405         (findChange): use empty() istead of !size()
3406
3407         * format.C (FormatNamesEqual): new functor
3408         (getFormat): use it
3409         (getNumber): use it
3410         (add): use it
3411         (erase): use it
3412         (setViewer): use it
3413
3414         * converter.C (compare_Converter): rename to...
3415         (ConverterEqual): ...this, and fixup a bit.
3416         (getConverter): use it, and make function const
3417         (getNumber): use it, and make function const
3418         (add): use it
3419         (erase): use it:
3420
3421         * bufferlist.C: add using boost::bind
3422
3423         * MenuBackend.C (MenuNamesEqual): new functor
3424         (hasMenu): use it, and make function const
3425         (hasSubmenu): use nested bind to get rid of compare_memfun.
3426
3427 2004-01-30  André Pönitz  <poenitz@gmx.net>
3428
3429         * BufferView_pimpl.C:
3430         * cursor.C:
3431         * cursor.h:
3432         * cursor_slice.[Ch]:
3433         * lyxfunc.C:
3434         * lyxtext.h:
3435         * paragraph_funcs.C:
3436         * paragraph_funcs.h:
3437         * rowpainter.C:
3438         * text.C:
3439         * text2.C:
3440         * text3.C: move some of the edit(x,y) handling to the insets
3441         some coordinate changes.
3442
3443 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3444
3445         * text.C: add using statements for std::advance and std::distance
3446
3447         * paragraph.C: add using statement for std::distance
3448
3449         * lyxfind.C: add using statement for std::advance
3450
3451         * cursor.C (region): remove std:: from swap
3452         (openable): use nucleus in stead of operator->
3453
3454         * BufferView.C: add using statements for std::distance and std::swap
3455
3456 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3457
3458         * iterators.C: Remove the pimple, move the needed structures to
3459         the header file. Create accessor for the positions stack.
3460         (asPosIterator): remove function
3461
3462         * PosIterator.C (PosIterator): move constructors to top of file
3463         (PosIterator): reimplement the constructor taking a ParIterator in
3464         terms of setFrom.
3465         (setFrom): new function
3466         (operator!=): inline it
3467
3468 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3469
3470         * lyxfind.C (replaceAll): use std::advance
3471
3472         * iterators.h: inherit from std::iterator.
3473
3474         * PosIterator.C (advance, distance): remove
3475         * PosIterator.h: interit from std::iterator.
3476
3477 2004-01-26  André Pönitz  <poenitz@gmx.net>
3478
3479         * BufferView.[Ch]:
3480         * BufferView_pimpl.[Ch]:
3481         * InsetList.[Ch]:
3482         * PosIterator.[Ch]:
3483         * buffer.h:
3484         * bufferview_funcs.C:
3485         * cursor.[Ch]:
3486         * cursor_slice.h:
3487         * factory.[Ch]:
3488         * iterators.[Ch]:
3489         * lyxfind.C:
3490         * lyxfunc.C:
3491         * lyxtext.h:
3492         * output_docbook.C:
3493         * output_latex.C:
3494         * output_linuxdoc.C:
3495         * output_plaintext.C:
3496         * paragraph.[Ch]:
3497         * paragraph_funcs.[Ch]:
3498         * paragraph_pimpl.[Ch]:
3499         * rowpainter.C:
3500         * tabular.C:
3501         * tabular.h:
3502         * text.C:
3503         * text2.C:
3504         * text3.C: more IU:  dumps most of the rest of the mathcursor
3505     implementation into cursor.[Ch]; "globalize" a bit of it.
3506
3507 2004-01-25  Angus Leeming  <leeming@lyx.org>
3508
3509         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3510
3511 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3512
3513         * LaTeXFeatures.h: add nice_ and nice() const
3514         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3515
3516 2004-01-20  André Pönitz  <poenitz@gmx.net>
3517
3518         * BufferView.[Ch]:
3519         * BufferView_pimpl.C:
3520         * PosIterator.C:
3521         * bufferview_funcs.C:
3522         * cursor.[Ch]:
3523         * cursor_slice.[Ch]:
3524         * factory.C:
3525         * iterators.C:
3526         * lyx_cb.C:
3527         * lyxfind.C:
3528         * lyxfunc.C:
3529         * lyxtext.h:
3530         * rowpainter.C:
3531         * text.C:
3532         * text2.C:
3533         * text3.C:
3534         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3535           LCursor and mathcursor parts to LCursor and InsetBase.
3536
3537 2004-01-15  André Pönitz  <poenitz@gmx.net>
3538
3539         * cursor_slice.[Ch]: add a few covienience functions
3540
3541         * funcrequest.[Ch]: remove BufferView * member
3542
3543         * BufferView_pimpl.C:
3544         * cursor.C:
3545         * factory.[Ch]:
3546         * lyxfind.[Ch]:
3547         * lyxfunc.C:
3548         * lyxtext.h:
3549         * text3.C:
3550         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3551
3552 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3555         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3556
3557 2004-01-13  André Pönitz  <poenitz@gmx.net>
3558
3559         * textcursor.[Ch]:
3560         * lyxtext.h: hide cursor and selection anchor behind accessor function
3561
3562         * BufferView.C:
3563         * BufferView_pimpl.[Ch]:
3564         * PosIterator.C:
3565         * bufferview_funcs.C:
3566         * cursor.h:
3567         * lyxfind.C:
3568         * lyxfunc.C:
3569         * text.C:
3570         * text2.C:
3571         * text3.C:
3572         * undo.C: adjust
3573
3574         * cursor.h:
3575         * cursor_slice.[Ch]: some integer type changes for inset unification
3576
3577         * lyxcursor.[hC]: remove, it's CursorSlice now.
3578
3579         * Makefile.am:
3580         * BufferView_pimpl.[Ch]:
3581         * bufferview_funcs.C:
3582         * cursor_slice.C:
3583         * lyxtext.h:
3584         * text.C:
3585         * text2.C:
3586         * text3.C:
3587         * textcursor.[Ch]: adjust
3588
3589 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3590
3591         * text2.C (undoSpan): add and use
3592         * text.C (breakParagraph): use undoSpan (fix bug 578)
3593         * lyxtext.h: adjust
3594
3595 2004-01-08  Angus Leeming  <leeming@lyx.org>
3596
3597         * BufferView_pimpl.C (MenuInsertLyXFile):
3598         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3599         * lyxfunc.C (menuNew, open, doImport):
3600         FileFilterList change to the FileDialog open and save functions.
3601
3602 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3603
3604         * ShareContainer.h: make isEqual and isUnique adaptable
3605
3606         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3607
3608 2004-01-07  Angus Leeming  <leeming@lyx.org>
3609
3610         * LyXAction.C:
3611         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3612
3613         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3614
3615         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3616         functions replacing find, replace and replaceAll.
3617
3618         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3619         LFUN_WORDFIND(FORWARD|BACKWARD).
3620
3621 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3622
3623         * text.C (breakParagraph): remove an outdated #warning
3624
3625 2004-01-07  André Pönitz  <poenitz@gmx.net>
3626
3627         * lyxfind.C: somewhat clearer logic
3628
3629         * text.C: prevent crash in cursorX on unitialized row cache
3630
3631 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3632
3633         * lyxcursor.[Ch] (operator>): add
3634         * textcursor.C (selStart, selEnd): use std::min and std::max
3635
3636 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3637
3638         * Chktex.C: include boost/format.hpp
3639
3640 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3641
3642         * InsetList.C: replace functor MathcIt with adaptable functor
3643         InsetTablePosLess
3644         (insetIterator): modify accordingly
3645
3646         * BranchList.h: move the BranchNamesEqual functor here from...
3647         * BranchList.C: ... to here
3648
3649         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3650         SameName and match.
3651         (add): replace a finding loop with std::find_if.
3652
3653 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3654
3655         * output_docbook.C: moving LatexParam functionality into
3656         .layout files
3657
3658 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3659
3660         * buffer.C: increment format to 229.
3661
3662 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3663
3664         * LaTeXFeatures.C:
3665         * lyx_sty.[Ch]: remove minipageindent_def
3666
3667         * LyXAction.C:
3668         * factory.C:
3669         * lfuns.h:
3670         * lyxfunc.C:
3671         * text3.C: remove LFUN_INSET_MINIPAGE
3672
3673 2003-12-28  Angus Leeming  <leeming@lyx.org>
3674
3675         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3676
3677 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3678
3679         * text2.C (setParagraph): fix off-by-one crash
3680
3681 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3682
3683         * output_docbook.C: header stuff for AGU
3684
3685 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3686
3687         * text2.C (redoCursor): remove
3688         * text.C:
3689         * text3.C:
3690         * BufferView_pimpl.C: remove calls to redoCursor and
3691         setCursor(cursor.par(), cursor.pos()) all around
3692
3693 2003-12-15  Angus Leeming  <leeming@lyx.org>
3694
3695         * buffer.C: up the format to 228.
3696
3697 2003-12-15  André Pönitz  <poenitz@gmx.net>
3698
3699         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3700         slices
3701
3702         * Makefile.am:
3703
3704         * BufferView_pimpl.C:
3705         * cursor.[Ch]:
3706         * lyxcursor.[Ch]:
3707         * rowpainter.[Ch]:
3708         * lyxtext.h:
3709         * text.C:
3710         * text2.C:
3711         * text3.C: adjust
3712
3713 2003-12-15  Angus Leeming  <leeming@lyx.org>
3714
3715         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3716         than getFromGUIName to manipulate the color.
3717
3718 2003-12-14  Angus Leeming  <leeming@lyx.org>
3719
3720         * BranchList.[Ch]: minimize the API.
3721         (Branch::getBranch, getColor): now return a 'const &'.
3722         (Branch::setSelected) now returns a bool set to true if the
3723         selection status changes.
3724         (BranchList::clear, size, getColor, setColor, setSelected,
3725         allBranches, allSelected, separator): removed.
3726         (BranchList::find): new functions, returning the Branch with
3727         the given name.
3728         (BranchList::add, remove): return a bool indicating that
3729         the operation was successful.
3730
3731         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3732         new InsetBranch::isBranchSlected member function.
3733
3734         * LColor.[Ch]: mimimize the API.
3735         (fill): renamed as addColor and made private.
3736         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3737         versions of these functions taking a string arg have been removed.
3738
3739         * bufferparams.C (readToken):
3740         * lyxfunc.C (dispatch):
3741         * lyxrc.C (read): changes due to the altered BranchList and
3742         LColor APIs.
3743
3744         * factory.C (createInset, readInset): changes due to altered
3745         InsetBranch c-tor.
3746
3747 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3748
3749         * factory.C:
3750         * lyxfunc.C: remove insetminipage. "minipage-insert"
3751         now produces a frameless minipage box inset.
3752
3753 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3754
3755         * textcursor.[Ch] (selStart,selEnd): add new methods
3756         remove selection::start, end, use LyXCursor::operator<
3757         * lyxcursor.[Ch] (operator<): add
3758         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3759         * BufferView.[Ch] (unsetXSel): add
3760         * text2.C (clearSelection): use unsetXSel,adjust
3761         * text.C: adjust
3762         * text3.C: adjust
3763         * rowpainter.C: adjust
3764         * bufferview_funcs.C (put_selection_at): adjust
3765
3766 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3767
3768         * BufferView_pimpl.C: small coord. correction
3769
3770 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3771
3772         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3773         dragging over the splash screen.
3774
3775 2003-12-11  Angus Leeming  <leeming@lyx.org>
3776
3777         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3778         as it is now handled in LyXText::dispatch.
3779
3780         * text3.C (doInsertInset): remove a level of nesting.
3781
3782 2003-12-11  Angus Leeming  <leeming@lyx.org>
3783
3784         * factory.C (createInset): changes due to the changed interface to
3785         InsetCommandMailer::string2params.
3786
3787 2003-12-10  Angus Leeming  <leeming@lyx.org>
3788
3789         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3790         'dialog-show-new-inset <inset name>'
3791
3792 2003-12-10  Angus Leeming  <leeming@lyx.org>
3793
3794         * buffer.C: up the format to 227.
3795
3796         * factory.C: the box inset is now identified simply by 'Box'.
3797
3798 2003-12-10  Angus Leeming  <leeming@lyx.org>
3799
3800         * buffer.C: up the format to 226.
3801
3802         * factory.C: the note inset is now identified simply by 'Note'.
3803
3804 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3807         when a pit is enough. Standarize a couple of loops.
3808
3809 2003-12-05  Angus Leeming  <leeming@lyx.org>
3810
3811         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3812         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3813         data to the re-worked "log" dialog.
3814
3815 2003-12-03  André Pönitz  <poenitz@gmx.net>
3816
3817         * PosIterator.C:
3818         * iterators.C:
3819         * lyxtext.h:
3820         * output_latex.C:
3821         * paragraph_funcs.C:
3822         * text.C:
3823         * text2.C: use Inset::getText instead of Inset::getParagraph
3824
3825 2003-12-03  André Pönitz  <poenitz@gmx.net>
3826
3827         * buffer.[Ch]:
3828         * lyxtext.h:
3829         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3830         InsetText::read() as LyXText::read()
3831
3832 2003-12-02  Angus Leeming  <leeming@lyx.org>
3833
3834         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3835         type. Add a comment in the implementation that the function uses
3836         the stream's bad() function rather than fail() as the std::streams
3837         would do.
3838
3839 2003-12-02  André Pönitz  <poenitz@gmx.net>
3840
3841         * lyxlex.[Ch]: make interface more similar to std::stream
3842
3843         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3844
3845 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3846
3847         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3848
3849 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3850
3851         * vspace.[Ch]: remove VSpace::NONE
3852
3853 2003-12-01  André Pönitz  <poenitz@gmx.net>
3854
3855         * buffer.[Ch]:
3856         * lyxtext.h: move ParagraphList member to LyXText
3857         rename LyXText::ownerParagraphs to LyXText::paragraph
3858
3859         * CutAndPaste.C:
3860         * bufferview_funcs.C:
3861         * iterators.[Ch]:
3862         * lyx_cb.C:
3863         * paragraph.C:
3864         * rowpainter.C:
3865         * tabular.C:
3866         * text.C:
3867         * text2.C:
3868         * text3.C: adjust
3869
3870         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3871
3872         * undo.C: fix cursor positioning
3873
3874 2003-12-01  John Levon  <levon@movementarian.org>
3875
3876         * BufferView_pimpl.C: fix a crash on exit with
3877         a buffer open
3878
3879 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3880
3881         * BranchList.C: fix setSelected() method.
3882
3883 2003-11-28  André Pönitz  <poenitz@gmx.net>
3884
3885         * ParagraphParameters.[Ch]:
3886         * ParameterStruct.h: remove space above/below from Paragraph to
3887          InsetVSpace
3888
3889         * BufferView_pimpl.C:
3890         * factory.C:
3891         * lyxfunc.C:
3892         * lyxtext.h:
3893         * output_latex.C:
3894         * paragraph.C:
3895         * paragraph_funcs.C:
3896         * rowpainter.[Ch]:
3897         * text.C:
3898         * text2.C:
3899         * text3.C: adjust
3900
3901 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3902
3903         * factory.C: Syntax change for CharStyles
3904
3905 2003-11-28  André Pönitz  <poenitz@gmx.net>
3906
3907         * BufferView.[Ch]:
3908         * BufferView.[Ch]:
3909         * buffer.[Ch]:
3910         * buffer.[Ch]: move LyXText member
3911
3912 2003-11-28  André Pönitz  <poenitz@gmx.net>
3913
3914         * BufferView.[Ch]: make LyXText * text a private member
3915
3916         * BufferView_pimpl.C:
3917         * cursor.C:
3918         * iterators.C:
3919         * lyx_cb.C:
3920         * lyxfind.C:
3921         * lyxtext.h:
3922         * rowpainter.[Ch]:
3923         * text.C:
3924         * text2.C:
3925         * undo.C: adjust
3926
3927         * output_plaintext.C: cleanup
3928
3929 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3930
3931         * buffer.C:
3932         * lyxtextclass.[Ch]: parametrize SGML document header
3933
3934 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3935
3936         * converter.[Ch]:
3937         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3938         getFlavor().
3939
3940 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3941
3942         * text2.C (setFont): rework using PosIterator (no more recursive)
3943         (setCharFont): no more needed
3944         (setLayout): no more selection cursors fiddling (done by redoCursor)
3945         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3946         destroy remaining ones)
3947
3948 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3949
3950         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3951         * lyxtext.h: ditto
3952         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3953         selection cursors
3954         * lyxfunc.C: adjust
3955         * text3.C: adjust + re-allow multi par depth changes
3956         * textcursor.C: simplify a bit
3957
3958 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3959
3960         * src/buffer.C:
3961         * src/lyxlayout.C:
3962         * src/lyxlayout.h:
3963         * src/lyxtext.h:
3964         * src/output_docbook.C:
3965         * src/output_latex.C:
3966         * src/paragraph.C:
3967         * src/paragraph.h:
3968         * src/sgml.C:
3969         * src/sgml.h:
3970         * src/text2.C: Introducing a number of tags parametrizing various
3971         XML formats that we may want to support
3972
3973 2003-11-25  André Pönitz  <poenitz@gmx.net>
3974
3975         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3976
3977         * lyxtext.h (leftMargin/rightMargin): simplify interface
3978
3979         * rowpainter.C:
3980         * text.C:
3981         * text2.C:
3982         * text3.C: adjust
3983
3984 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3985
3986         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3987         master file to any child files. Fixes bug 546.
3988
3989 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3990
3991         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3992
3993 2003-11-24  André Pönitz  <poenitz@gmx.net>
3994
3995         * rowpainter.C: simplification
3996
3997         * text2.C (updateCounters): remove call to redoParagraph on
3998         changed labels as this is far too expensive.
3999
4000 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4001
4002         * converter.C (convert): fix a crash: this function gets
4003         called with buffer == 0 from importer code.
4004
4005 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
4006
4007         * text3.C (cursorPrevious): make sure that we do not compare
4008         iterators form different containers.
4009         (cursorNext): ditto
4010
4011         * rowpainter.C (paintSelection): make sure that we do not compare
4012         iterators from different containers.
4013
4014         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4015         iterators from different ParagraphList containers.
4016         [NEXT] ditto
4017
4018         * text2.C (LyXText): change order of initialization slightly
4019         (operator=): new function. copy all variables except cache_par_
4020         (moveUp): make sure that we do not compare iterators from
4021         different ParagraphList constainers.
4022         (moveDown): ditto
4023
4024         * text.C (firstPar): new function
4025         (lastPar): new function
4026         (endPar): new function
4027
4028         * lyxtext.h: move things around and group public functions, public
4029         variables, private functions, private variables
4030
4031 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4032
4033         * factory.C: change call to InsetERT constructor to avoid
4034         additional invocation of method status
4035         * text2.C (toggleInset): remove redundant update() call
4036         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4037         instead of a Bufferview pointer
4038
4039 2003-11-21  André Pönitz  <poenitz@gmx.net>
4040
4041         * rowpainter.C: simplification
4042
4043 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4044
4045         * text3.C (dispatch): make possible to extend a word/row selection
4046         with the mouse
4047
4048 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4049
4050         * lyxtext.h: x0_,y0_ -> xo_,yo_
4051         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4052         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4053         * rowpainter.C (paintRows): paint full paragraphs
4054
4055 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4056
4057         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4058         screen coordinates)
4059
4060 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4061
4062         * lyxtext.h: add x0_, y0_
4063         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4064         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4065
4066 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4067
4068         * text2.C (setCursorIntern): move the x_target update here *
4069         * text3.C: change some bv() to true/false in calls to
4070         cursorUp/Down/Right/Left
4071         * cursor.C: use helper function.
4072
4073 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4074
4075         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4076         * paragraph_funcs.[Ch]: correct comment
4077         * rowpainter.C: do not paint selections away from bv->cursor()
4078         Fix a long standing selection painting bug.
4079         * text3.C: generalize mouse-selection code to LyXTexts other that
4080         top one
4081         * textcursor.C: do not use y coords if we can use par offsets
4082
4083 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4084
4085         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4086         cursor position after e.g. inset insert)
4087
4088 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4089
4090         * lyxfind.C (replace): adjust to locking removal + some
4091         code simplification
4092
4093 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4094
4095         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4096         of the path
4097
4098 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4099
4100         * lyxlayout.[Ch]:
4101         * output_docbook.C: XML sanitation: new layout
4102         parameters InnerTag and CommandDepth
4103
4104 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4105
4106         * BufferView_pimpl.C:
4107         * factory.C:
4108         * text3.C: Fix the insertion and modification of button-style
4109         insets
4110
4111 2003-11-13  André Pönitz  <poenitz@gmx.net>
4112
4113         * InsetList.[Ch]: remove deleteLyXText
4114
4115         * paragraph.[Ch]: cache beginOfBody position
4116
4117         * Bidi.C:
4118         * text.C:
4119         * text2.C:
4120         * text3.C: remove superfluous update() calls
4121
4122         * vspace.C: cleanup
4123
4124 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4125
4126         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4127         * BufferView.C (fitLockedInsetCursor): remove
4128         * cursor.[Ch] (getDim): add
4129         * text.C (getRowNearY): add faster version
4130         * text3.C: remove some update calls
4131
4132 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4133
4134         * LaTeXFeatures.C:
4135         * LyXAction.C:
4136         * MenuBackend.C:
4137         * MenuBackend.h:
4138         * dispatchresult.h:
4139         * factory.C:
4140         * lfuns.h:
4141         * lyxfunc.C:
4142         * lyxtextclass.C:
4143         * lyxtextclass.h:
4144         * text3.C: The Character Style /XML short element patch.
4145
4146 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4147
4148         * text3.C:
4149         * factory.C: Small step to solving 'unable to insert some insets'
4150         problem
4151
4152 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4153
4154         * cursor.[Ch] (updatePos): new function for updating the y
4155         position of the tip inset
4156         * bufferview_funcs.C (put_selection_at):
4157         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4158
4159 2003-11-11  André Pönitz  <poenitz@gmx.net>
4160
4161         * text.C: remove big comment on invalid Paragraph pointers as it is
4162         not valid anymore
4163
4164 2003-11-11  André Pönitz  <poenitz@gmx.net>
4165
4166         * text_funcs.[Ch]: merge with ...
4167
4168         * text.C: ... this
4169
4170         * lyxtext.h:
4171         * text2.C:
4172         * text3.C: adjust
4173
4174         * Makefile.am: remove text_funcs.[Ch]
4175
4176 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * cursor.C (getPos): return absolute cached y coord
4179
4180         * BufferView_pimpl.C (fitCursor): new simplistic code
4181         (workAreaDispatch): add a fitCursor call
4182
4183 2003-11-10  André Pönitz  <poenitz@gmx.net>
4184
4185         * BufferView.[Ch]:
4186         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4187
4188 2003-11-10  André Pönitz  <poenitz@gmx.net>
4189
4190         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4191         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4192         indicate that the cursor needs to leave an inset
4193
4194         * lyxtext.h: remove inset locking
4195
4196         * cursor.[Ch]: re-implement functionality provided by inset locking
4197
4198         * BufferView.[Ch]:
4199         * BufferView_pimpl.[Ch]:
4200         * LyXAction.C:
4201         * bufferview_funcs.[Ch]:
4202         * factory.C:
4203         * funcrequest.[Ch]:
4204         * iterators.C:
4205         * lyx_cb.C:
4206         * lyxfind.C:
4207         * lyxfunc.C:
4208         * text.C:
4209         * text2.C:
4210         * text3.C:
4211         * undo.C: adjust
4212
4213 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * PosIterator.[Ch]: replace the stack with a vector, add inset
4216         accesor
4217         * iterators.[C]: adjust
4218
4219 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4220
4221         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4222         replaced
4223         * paragraph_funcs.C (readParToken): put the correct id in the
4224         error item, not the id of the top paragraph
4225
4226 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4227
4228         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4229         * bufferview_funcs.C (put_selection_at): use the above
4230
4231 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4232
4233         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4234
4235 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4236
4237         * output_linuxdoc.h:
4238         * output_plaintext.h:
4239         * output.h:
4240         * output_docbook.h: add #include statements
4241
4242 2003-11-05  José Matos  <jamatos@lyx.org>
4243
4244         * output_docbook.[Ch]:
4245         * output_latex.[Ch]:
4246         * output_linuxdoc.[Ch]:
4247         * output_plaintext.[Ch]: New files for output formats.
4248         * output.[Ch]: New file for helper functions.
4249
4250         * buffer.[Ch]:
4251         * paragraph_funcs.[Ch]: output functions moved to new files.
4252
4253         * outputparams.h: rename of latexrunparams.h
4254
4255         * LaTeX.[Ch]:
4256         * buffer.[Ch]:
4257         * bufferlist.[Ch]:
4258         * converter.[Ch]:
4259         * exporter.C:
4260         * paragraph.[Ch]:
4261         * paragraph_funcs.[Ch]:
4262         * paragraph_pimpl.[Ch]:
4263         * tabular.[Ch]: rename ascii to plaintext
4264         and LatexRunParams to OutputParams.
4265
4266 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * iterators.[Ch] (text): require bv argument
4269         * undo.C (recordUndo):
4270         * lyxfunc.C (dispatch):
4271         * bufferview_funcs.C (put_selection_at): adjust
4272
4273 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4274
4275         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4276
4277 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4278
4279         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4280         nestings
4281
4282 2003-11-04  André Pönitz  <poenitz@gmx.net>
4283
4284         * cursor.[Ch]: restructure
4285
4286         * BufferView.[Ch]:
4287         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4288
4289         * iterators.[Ch] (asCursor): remove
4290
4291         * lfuns.h: remove LFUN_INSET_EDIT
4292
4293         * lyxfunc.C:
4294         * tabular.C:
4295         * text.C:
4296         * text2.C:
4297         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4298
4299 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4300
4301         * lyxfind.[Ch]: complete overhaul
4302         * BufferView_pimpl.C:
4303         * lyxfunc.C: adjust
4304         * paragraph.[Ch] (insert): add
4305
4306 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4307
4308         * BufferView.[Ch]:
4309         * lyxtext.h:
4310         * text.C: remove dead spellcheck code
4311
4312 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * dispatchresult.h: add a val setter
4315
4316         * cursor.C (dispatch): use a tempvar for data_[i]
4317
4318 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4319
4320         * PosIterator.[Ch]: compile fix
4321
4322 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4323
4324         * text.C (cursorPar): deactivate the cursor cache
4325
4326 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4329
4330 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * text3.C (dispatch): adjust for new DisptchResult semantics.
4333
4334         * lyxfunc.C (dispatch): handle update when return from
4335         Cursor::dispatch, adjust for new DispatchResult semantics.
4336
4337         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4338         DispatchResult(true) mean to not update. Add class functions for
4339         setting dispatched and update, as well as reading.
4340
4341         * cursor.C (dispatch): don't handle update here
4342
4343 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4344
4345         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4346         * trans_mgr.C: adjust
4347
4348         * paragraph_funcs.C (readParToken): exception safety
4349
4350         * lyxvc.h: store the vcs pointer in a scoped_ptr
4351         * lyxvc.C: adjust
4352
4353         * lyxsocket.C (serverCallback): exception safety
4354
4355         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4356
4357         * ispell.C (clone): make it return a auto_ptr
4358
4359         * factory.C (createInset): exception safety
4360         (readInset): exception safety
4361
4362         * bufferlist.C (newBuffer): exception safety
4363
4364         * Thesaurus.C (Thesaurus): use initialization for aik_
4365
4366         * MenuBackend.C (expandToc): exception safety.
4367
4368 2003-11-03  André Pönitz  <poenitz@gmx.net>
4369
4370         * buffer.C:
4371         * buffer.h:
4372         * bufferview_funcs.C: remove getInsetFromId()
4373
4374         * lyxcursor.[Ch]:
4375         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4376
4377         * lyxfunc.C:
4378         * text2.C:
4379         * text3.C: adjust
4380
4381 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * PosIterator.C (distance, advance): new
4384         * bufferview_funcs.[Ch] (put_selection_at): new
4385         * iterators.[Ch] (lockPath): new
4386
4387 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4388
4389         * iterators.[Ch] (asPosIterator): added
4390         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4391         * PosIterator.[Ch]: added
4392
4393 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * text3.C:
4396         * lyxfunc.C:
4397         * cursor.C (dispatch):
4398         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4399
4400         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4401         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4402         contructor, add a class function dispatched. Remove operator>=
4403
4404 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * debug.C: only use the default constructor for debugstream
4407         (lyxerr) here.
4408
4409         * main.C (main): include debug.h and setup the lyxerr streambuf
4410         here.
4411
4412 2003-10-31  José Matos  <jamatos@lyx.org>
4413
4414         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4415
4416         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4417         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4418         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4419         * paragraph_pimpl.C (simpleTeXSpecialC):
4420         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4421         add LatexRunParams argument.
4422
4423         * exporter.C (Export): change call accordingly.
4424
4425         * latexrunparams.h: add new member to take care of the other backends.
4426 2003-10-30  José Matos  <jamatos@lyx.org>
4427
4428         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4429         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4430         factorise code for paragraph output.
4431         * buffer.[Ch]:
4432         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4433         move functions.
4434
4435 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * text3.C (dispatch):
4438         * lyxfunc.C (dispatch):
4439         * cursor.C (dispatch):
4440         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4441
4442         * dispatchresult.h: make the dispatch_result_t ctor explicit
4443
4444 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4445
4446         * sgml.[Ch]:
4447         * buffer.C: small refactoring of docbook stuff
4448
4449 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4450
4451         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4452         meaning.
4453
4454 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4457         operator dispatch_result_t, and operators for == != and >=
4458
4459         * cursor.C (dispatch): adjust for operator dispatch_result_t
4460         removal. comment out call to update
4461
4462         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4463
4464 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * text3.C:
4467         * text2.C:
4468         * text.C:
4469         * lyxtext.h:
4470         * lyxfunc.C:
4471         * cursor.C:
4472         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4473         (dispatch):
4474
4475         * dispatchresult.h: new file, DispatchResult broken out of
4476         insets/insetbase.h
4477
4478         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4479
4480 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4481
4482         * text.C (rowBreakPoint): put a hack inside #if 0
4483
4484 2003-10-28  André Pönitz  <poenitz@gmx.net>
4485
4486         * lyxtext.h:
4487         * metricsinfo.C:
4488         * paragraph_funcs.C:
4489         * rowpainter.C:
4490         * text.C:
4491         * text2.C: general cleanup (lots of small stuff)
4492
4493 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * text2.C (cursorEnd): simple fix to the "end key goes to one
4496         before the end on last row" bug
4497
4498 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4499
4500         * text.C (backspace): fix the "zombie characters"
4501
4502 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4503
4504         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4505
4506 2003-10-27  André Pönitz  <poenitz@gmx.net>
4507
4508         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4509
4510         * factory.C: handle new InsetPagebreak, InsetLine
4511
4512         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4513         and move handling into new InsetPagebreak, InsetLine
4514
4515         * BufferView_pimpl.C:
4516         * LyXAction.C:
4517         * ParagraphParameters.C:
4518         * ParameterStruct.h:
4519         * lyxfunc.C:
4520         * lyxtext.h:
4521         * paragraph.C:
4522         * paragraph.h:
4523         * paragraph_funcs.C:
4524         * paragraph_pimpl.C:
4525         * rowpainter.C:
4526         * text.C:
4527         * text2.C:
4528         * text3.C: adjust
4529
4530 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4531
4532         * text.C:
4533         * lyxrow_funcs.[Ch]:
4534         * Bidi.C:
4535         * paragraph.C:
4536         * lyxtext.h:
4537         * rowpainter.C:
4538         * text2.C:
4539         * text3.C: remove lastPos uses in favour of Row::endpos
4540
4541 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * undo.C (performUndoOrRedo): fix two crashes by setting a
4544         cursor by hand and reordering some calls. Use bv->lockInset instead
4545         of inset->edit because the latter loses cursor information
4546
4547 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4548
4549         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4550         by Martin
4551         (rowBreakPoint): fix width. change point to point + 1.
4552         Add a missing check.
4553
4554 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4555
4556         * MenuBackend.C:
4557         * lyxfunc.C: fix (at least partly) the problems
4558         with the Nav menu and headers inside branch insets
4559         reported by Kayvan
4560
4561 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4562
4563         * paragraph.C (getChar): add strong asserts
4564
4565         * lyxrow_funcs.C (lastPos): remove hideous hack
4566
4567         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4568         (fill): adjust to that (avoid an infinite loop)
4569
4570 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4571
4572         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4573
4574 2003-10-23  André Pönitz  <poenitz@gmx.net>
4575
4576         * RowList_fwd.h: change list<> to vector<> to gain speed
4577         after suggestion from Alfredo
4578
4579 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * lyxtext.h: move the bidi stuff from here...
4582         * text.C: and here
4583         * text2.C: and here
4584         * Bidi.[Ch]: ... to here
4585
4586 2003-10-23  André Pönitz  <poenitz@gmx.net>
4587
4588         * lyxtext.h:
4589         * text.C (isLastRow, isFirstRow): new functions
4590
4591         * paragraph.h: new width cache member
4592
4593         * rowpainter.C: replace RowList::iterator with Row & where possible
4594
4595         * lyxfunc.C: replace several view()->text with a single call
4596
4597         * toc.C: fix 'unused' warning
4598
4599 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4600
4601         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4602         when woring with stream::pos_type
4603         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4604
4605 2003-10-22  André Pönitz  <poenitz@gmx.net>
4606
4607         * lyxtext.h:
4608         * text.C: use Row & instead of RowList::iterator
4609
4610         * lyxrow.h: rename end() to endpos()
4611
4612         * rowpainter.C:
4613         * text.C:
4614         * text2.C: adjust
4615
4616 2003-10-22  Angus Leeming  <leeming@lyx.org>
4617
4618         * buffer.[Ch] (fully_loaded): new member function, returning true
4619         only when the file has been loaded fully.
4620         Used to prevent the premature generation of previews and by the
4621         citation inset to prevent computation of the natbib-style label.
4622
4623         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4624         templates are all set up.
4625
4626         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4627
4628 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4629
4630         * text.C: fixed an "oops" in the "is a bit silly"
4631         bug fix
4632
4633 2003-10-21  André Pönitz  <poenitz@gmx.net>
4634
4635         * FuncStatus.[Ch]: small stuff, whitespace
4636
4637         * lyxfont.[Ch]: operator<<() for debug reasons
4638
4639         * lyxfunc.C:
4640         * lyxrow_funcs.C:
4641         * lyxtext.h: whitespace, spelling
4642
4643         * paragraph.C: naming of variables
4644
4645         * text.C:
4646         * text2.C: small stuff
4647
4648
4649 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4650
4651         * text.C: (1) finish off the inset display() work;
4652         (2) fix the "is a bit silly" bug (accessing char
4653         past end of par).
4654
4655 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4656
4657         * text.C: re-introduce display() for insets, fixing the
4658         various bugs (stretch of line above, math inset
4659         positioning, ...)
4660
4661 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4662
4663         * text.C (rightMargin): remove spurious semicolon
4664
4665         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4666         1415)
4667
4668 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4669
4670         * text3.C: fix one crash due to wrong cursor def
4671
4672 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * vc-backend.C (scanMaster): make the regex static
4675
4676         * LaTeX.C (scanAuxFile): make the regexs static
4677
4678         * text3.C (doInsertInset, dispatch, dispatch):
4679         * text2.C (cursorUp, cursorDown):
4680         * text.C (selectNextWordToSpellcheck):
4681         * BufferView_pimpl.C (dispatch):
4682         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4683
4684 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4685
4686         * lyxsocket.C: include <cerrno>
4687
4688 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * lyxfunc.C (dispatch): remove textcache stuff
4691
4692         * bufferlist.C (release): remove textcache stuff
4693         (closeAll): ditto
4694
4695         * TextCache.C: delete file
4696         * TextCache.h: delete file
4697
4698         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4699
4700         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4701         delete of the bv_->text.
4702         (resizeCurrentBuffer): remove texcache stuff
4703         (workAreaResize): ditto
4704
4705 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4708         action.
4709
4710 2003-10-16  André Pönitz  <poenitz@gmx.net>
4711
4712         * lyxrow.[Ch]:
4713         * paragraph.h:
4714         * rowpainter.C:
4715         * text.C:
4716         * text2.C:
4717         * text3.C: speed up by storing y positions per paragraph plus per-row
4718         offset instead of having a 'full' y position in the row.
4719
4720 2003-10-15  André Pönitz  <poenitz@gmx.net>
4721
4722         * iterators.[Ch]:
4723         * iterators.[Ch]:
4724         * undo.[Ch]: make undo aware of inner insets
4725
4726 2003-10-14  Angus Leeming  <leeming@lyx.org>
4727
4728         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4729         static member functions LyX::ref() and LyX::cref.
4730         (lastfiles): new accessor functions for the new lastfiles_ member var.
4731         (addLyXView, views_): add a new LyXView to the list of views_.
4732         (updateInset): loop over all LyXViews to call their own updateInset
4733         member function, returning a pointer to the Buffer owning the inset.
4734
4735         * BufferView_pimpl.C (loadLyXFile):
4736         * MenuBackend.C (expandLastfiles):
4737         * bufferlist.C (MenuWrite, QuitLyX):
4738         lastfiles is no longer a global variable.
4739         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4740
4741         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4742         static function. Access through LyX::cref().emergencyCleanup().
4743
4744 2003-10-14  André Pönitz  <poenitz@gmx.net>
4745
4746         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4747
4748         * undo.[Ch]: restoring part of 'undo in insets'
4749
4750         * Makefile.am:
4751         * undo_funcs.[Ch]: merge with undo.[Ch]
4752
4753         * tabular.C: small cleansing stuff
4754
4755 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4756
4757         * paragraph_funcs.C (readParToken): report unknown insets as error
4758         boxes. Use the outer paragraph as location (also for unknown
4759         tokens).
4760
4761         * factory.C (readInset): do not abort on reading an unknown inset.
4762         Eat it and return 0.
4763
4764 2003-10-13  Angus Leeming  <leeming@lyx.org>
4765
4766         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4767
4768         * lyxrc.C: displayTranslator is now a function,
4769         declared in GraphicsTypes.h.
4770
4771 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4772
4773         * format.C: new placeholder $$a to pass the socket address.
4774
4775         * bufferlist.[Ch]: new function getBufferFromTmp.
4776
4777         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4778           files in the temporary dir.
4779
4780 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4781
4782         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4783
4784         * Makefile.am: add lyxsocket.[Ch].
4785
4786         * lyx_main.C (error_handler): handle SIGPIPE.
4787
4788 2003-10-13  André Pönitz  <poenitz@gmx.net>
4789
4790         * BufferView_pimpl.C:
4791         * lyxtext.h:
4792         * text.C:
4793         * text2.C:
4794         * text3.C:
4795         * undo_funcs.[Ch]: use paroffset_type instead of
4796           ParagraphList::iterators to prevent multiple conversion
4797           (and get a more robust interface)
4798
4799 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4802         * lyxtext.h: ditto
4803         * text3.C (dispatch): ditto
4804
4805 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4806
4807         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4808         move the onlyfile, use onlyfile instead of foundfile in a couple
4809         of places.
4810
4811         * DepTable.C (update): flush the error stream a bit more
4812
4813 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * lyxserver.C (callback): adjust
4816
4817         * lyxfunc.C (getStatus): add a missing brace in commented code
4818         (ensureBufferClean): reindent
4819         (dispatch): delete version taking a string
4820
4821 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * LaTeX.C (deplog): move found file handlig from here...
4824         (handleFoundFile): .. to new function here.
4825         (deplog): make sure to discover several files mentioned on the
4826         same log line.
4827
4828 2003-10-10  André Pönitz  <poenitz@gmx.net>
4829
4830         * lyxfunc.C:
4831         * lyxtext.h:
4832         * tabular.C:
4833         * text.C:
4834         * text2.C:
4835         * text3.C: fix some of the tabular crashes
4836
4837 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4838
4839         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4840
4841         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4842
4843 2003-10-09  André Pönitz  <poenitz@gmx.net>
4844
4845         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4846
4847         * BufferView.C:
4848         * BufferView_pimpl.C:
4849         * bufferview_funcs.C:
4850         * lyx_cb.C:
4851         * lyxcursor.C:
4852         * lyxfind.C:
4853         * lyxfunc.C:
4854         * lyxtext.h:
4855         * text.C:
4856         * text2.C:
4857         * text3.C:
4858         * text_funcs.[Ch]:
4859         * textcursor.[Ch]:
4860         * undo_funcs.C: adjust
4861
4862 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * text2.C (incrementItemDepth): new function, use a backtracking
4865         algorithm to discover the correct item depth.
4866         (resetEnumCounterIfNeeded): new function, use a backtracking
4867         algorithm to discover if counter reset is needed.
4868         (setCounter): use them. Simplify a bit. Add different labels for
4869         different item depths for itemize.
4870
4871         * paragraph.C (Paragraph): remove initialization of enumdepth
4872         (operator=): ditto
4873
4874         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4875         enumerate and itemize. Change the type of itemdepth to signed char.
4876
4877 2003-10-08  André Pönitz  <poenitz@gmx.net>
4878
4879         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4880           thing assignable.
4881         * text.C:
4882         * text2.C: adjust
4883
4884         * tabular.[Ch]: fix crash after 'row-insert'
4885
4886 2003-10-08  Angus Leeming  <leeming@lyx.org>
4887
4888         Fix doxygen warnings.
4889
4890         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4891         Remove CutAndPaste:: prefix from header file declaration.
4892
4893         * LColor.h (fill): remove LColor:: prefix from declaration.
4894
4895         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4896         use lyx::depth_type rather than Paragraph::depth_type so that
4897         header file and .C file match.
4898
4899         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4900
4901         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4902         * aspell.C: \file aspell_local.C -> \file aspell.C
4903         * gettext.C: \file gettext.C -> \file src/gettext.C
4904         * gettext.h: \file gettext.h -> \file src/gettext.h
4905         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4906         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4907         * text.C: \file text.C -> \file src/text.C
4908
4909         * toc.C: move comment so that doxygen is not confused.
4910
4911 2003-10-07  Angus Leeming  <leeming@lyx.org>
4912
4913         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4914
4915 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4916
4917         * aspell.C:
4918         * aspell_local.h: add forgotten std::string's.
4919
4920 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4921
4922         * LaTeXFeatures.C:
4923         * LyXAction.C:
4924         * factory.C:
4925         * lfuns.h:
4926         * lyxfunc.C:
4927         * text3.C: The Box patch. Fancybox support, minipage, parbox
4928
4929 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4930
4931         * CutAndPaste.h:
4932         * DepTable.h:
4933         * FloatList.h:
4934         * LaTeXFeatures.h:
4935         * ParagraphParameters.h:
4936         * TextCache.h:
4937         * Thesaurus.h:
4938         * bufferlist.h:
4939         * exporter.h:
4940         * importer.h:
4941         * lastfiles.h:
4942         * lyxfind.h:
4943         * lyxfont.h:
4944         * lyxlex.h:
4945         * lyxtextclasslist.h:
4946         * messages.h:
4947         * paragraph.h:
4948         * paragraph_pimpl.C:
4949         * textcursor.h: add <string> and other small fixes to make Lars'
4950         std::string patch compile with STLport.
4951
4952 2003-10-06  Angus Leeming  <leeming@lyx.org>
4953
4954         * LColor.h: Add missing #include <string>.
4955
4956 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * All most all file in all subdirs: Make <string> be the prefered
4959         way of getting to std::string, add using declarations.
4960
4961 2003-10-06  André Pönitz  <poenitz@gmx.net>
4962
4963         * metricsinfo.C: initialize LyXFont before changing attribute.
4964         (fixes the 'math in \emph is upright' bug)
4965
4966 2003-10-06  André Pönitz  <poenitz@gmx.net>
4967
4968         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4969
4970 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4971
4972         * graph.C:
4973         * paragraph_pimpl.C: Small fixes to build using STLport
4974
4975 2003-10-02  André Pönitz  <poenitz@gmx.net>
4976
4977         * lyxfunc.C:
4978         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4979
4980 2003-10-01  André Pönitz  <poenitz@gmx.net>
4981
4982         * factory.C: assert early
4983
4984 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * lyx_main.C: remove the global debug object
4987
4988         * debug.h: adjust for new debugstream
4989
4990         * debug.C: adjust for new debugstream and keep the global debug
4991         object here.
4992
4993 2003-09-22  Angus Leeming  <leeming@lyx.org>
4994
4995         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4996         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4997         an incomplete class LyXFont.
4998
4999 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5000
5001         * factory.C: bug fix in branches
5002
5003 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5004
5005         * lyxfunc.C (processKeySym): adjust
5006         (dispatch): adjust
5007         (dispatch): change arg name from ev to func, adjust
5008         (sendDispatchMessage): ditto
5009
5010         * lyx_main.C (defaultKeyBindings): adjust keybindings
5011         (deadKeyBindings): ditto
5012
5013         * kbsequence.C (addkey): return a FuncRequest
5014
5015         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5016
5017         * kbmap.C (bind): take a FuncRequest as arg, adjust
5018         (read): adjust
5019         (lookup): adjust
5020         (defkey): change to take a FuncRequest as arg, adjust
5021         (findbinding): take a FuncRequest as arg, adjust.
5022
5023         * funcrequest.h (operator=): added
5024
5025         * funcrequest.C (FuncRequest): default kb_action changed from
5026         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5027
5028         * buffer.C (dispatch): simplify
5029         (dispatch): adjust to take a FuncRequest as arg, adjust
5030
5031         * boost.C (assertion_failed): change assertion message slightly
5032
5033         * ToolbarBackend.C (read): simplify
5034
5035         * MenuBackend.C (binding): adjust call to findbinding, add a
5036         message if no binding is found.
5037         (read): simplify
5038         (expandToc): correct by adding a empty FuncRequest
5039
5040         * LyXAction.C: include <boost/assert.hpp>
5041         (isPseudoAction): delete function
5042         (LookupFunc): change name to...
5043         (lookupFunc): this. change return type to FuncRequest.
5044         (getActionName): take kb_action as arg, simplify
5045         (funcHasFlag): add an assert, simplify.
5046
5047 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5048
5049         * toc.C (action): return a FuncRequest, simplify
5050
5051         * lyxfunc.C (processKeySym): adjust
5052         (getStatus): delete version that takes an int.
5053         (getStatus): adjust
5054         (dispatch): delete version that takes action as int
5055         (dispatch): adjust
5056         (sendDispatchMessage): simplify and adjust
5057
5058         * funcrequest.C (getArg): take unsigned int as arg
5059
5060         * ToolbarBackend.C (read): adjust
5061         (add): delete version that takes func as a string.
5062         (getIton): take a FuncRequest as arg
5063
5064         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5065         action.
5066
5067         * MenuBackend.C (MenuItem): add a new construct that only takes a
5068         Kind, simplify the constructor use for submenus.
5069         (add): adjust
5070         (expandLastfiles): adjust
5071         (expandDocuments): adjust
5072         (expandFormats): adjust
5073         (expandFloatListInsert): adjust
5074         (expandFloatInsert): adjust
5075         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5076
5077         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5078         Remove class variables lyx_pseudo_map and lyx_arg_map
5079
5080         * LyXAction.C (searchActionArg): delete function
5081         (getPseudoAction): delete function
5082         (retrieveActionArg): delete function
5083         (LookupFunc): make it return kb_action, simplify.
5084         (getActionName): simplify
5085
5086         * factory.C (createInset): fix new bug
5087
5088 2003-09-19  Angus Leeming  <leeming@lyx.org>
5089
5090         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5091         masterFilename_ parameter in the include inset.
5092
5093         * factory.C (createInset): changes due to the changes to InsetInclude.
5094
5095 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5096
5097         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5098
5099 2003-09-18  Angus Leeming  <leeming@lyx.org>
5100
5101         * buffer.C:
5102         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5103         Inset::fillWithBibKeys.
5104         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5105
5106 2003-09-18  Angus Leeming  <leeming@lyx.org>
5107
5108         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5109         variables.
5110         (ctor): pass and store a 'Buffer const &'
5111         (buffer): new member function.
5112
5113         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5114         '*this' to the LaTeXFeatures ctor.
5115
5116 2003-09-18  Angus Leeming  <leeming@lyx.org>
5117
5118         * LColor.h:
5119         * lyxfont.C:
5120         * lyxfont.h:
5121         * lyxtext.h:
5122         * text.C: rename EnumLColor as LColor_color.
5123
5124 2003-09-18  Angus Leeming  <leeming@lyx.org>
5125
5126         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5127         remove #include "insets/insetbase.h" from cursor.h.
5128
5129 2003-09-18  Angus Leeming  <leeming@lyx.org>
5130
5131         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5132         InsetOld_code to remove #include "inset.h".
5133
5134         * iterators.C: add #include "insets/inset.h"
5135
5136 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5137
5138         * BufferView.C: remove more locking stuff that apparently doesn't
5139         do anything sensible.
5140
5141 2003-09-16  André Pönitz  <poenitz@gmx.net>
5142
5143         * paragraph.[Ch]:
5144         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5145           performance boost.
5146
5147 2003-09-16  Angus Leeming  <leeming@lyx.org>
5148
5149         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5150
5151         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5152         arg/return type.
5153
5154         * paragraph.h: remove #include "lyxfont.h". Forward declare
5155         LyXFont_size.
5156
5157 2003-09-16  Angus Leeming  <leeming@lyx.org>
5158
5159         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5160         of support/textutils.h.
5161         (isWord): move the contents of support/textutils.h's IsWordChar here.
5162
5163         * buffer.C:
5164         * lyxfind.C:
5165         * rowpainter.C:
5166         * text.C:
5167         * text2.C: add #include "paragraph.h".
5168
5169         * rowpainter.C:
5170         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5171
5172 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * main.C:
5175         * lyx_main.C:
5176         * lyx_cb.C:
5177         * buffer.C:
5178         * LaTeX.C: use namespace alias for lyx::support::os
5179
5180 2003-09-16  Angus Leeming  <leeming@lyx.org>
5181
5182         * bufferparams.C:
5183         * bufferview_funcs.C:
5184         * factory.C:
5185         * lyxfunc.C:
5186         * paragraph_pimpl.C:
5187         * rowpainter.C:
5188         * text.C: add #include "LColor.h".
5189
5190 2003-09-16  Angus Leeming  <leeming@lyx.org>
5191
5192         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5193         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5194         return LyXFont &.
5195         Store the FontBits::color variable as an int rather than as an
5196         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5197         file.
5198
5199         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5200         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5201         string calls together.
5202
5203         * lyxrc.C: add #include "LColor.h".
5204
5205 2003-09-15  Angus Leeming  <leeming@lyx.org>
5206
5207         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5208         a cow_ptr.
5209
5210 2003-09-15  Angus Leeming  <leeming@lyx.org>
5211
5212         * LColor.h: add an EnumLColor wrapper for LColor::color.
5213
5214         * lyxfont.[Ch] (color, setColor, realColor):
5215         * lyxtext.h, text.C (backgroundColor):
5216         pass EnumLColor args to/from the functions, rather than LColor::color
5217         ones.
5218
5219         * lyxfont.h:
5220         * lyxtext.h: forward declare EnumLColor.
5221
5222         * lyx_main.C: add #include "LColor.h".
5223
5224 2003-09-15  Angus Leeming  <leeming@lyx.org>
5225
5226         * .cvsignore: add lyx-gtk.
5227
5228 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * Chktex.C
5231         * LaTeX.C
5232         * LaTeXFeatures.C
5233         * ParagraphParameters.C
5234         * Spacing.C
5235         * buffer.C
5236         * bufferparams.C
5237         * bufferview_funcs.C
5238         * chset.C
5239         * counters.C
5240         * funcrequest.C
5241         * lyxfont.C
5242         * lyxgluelength.C
5243         * lyxlength.C
5244         * paragraph.C
5245         * paragraph_funcs.C
5246         * text3.C
5247         * vc-backend.C: remove usage of STRCONV
5248
5249 2003-09-15  Angus Leeming  <leeming@lyx.org>
5250
5251         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5252         explicitly define the color passed to the painter.
5253
5254 2003-09-15  Angus Leeming  <leeming@lyx.org>
5255
5256         * bufferparams.C (BufferParams): reorder member initializers to avoid
5257         compiler warning.
5258
5259 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5260
5261         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5262         * text.C (updateRowPositions): remove an unusual nop
5263
5264 2003-09-12  André Pönitz  <poenitz@gmx.net>
5265
5266         * BufferView_pimpl.C:
5267         * Bullet.C:
5268         * layout.h:
5269         * lyxfunc.C:
5270         * lyxlayout.[Ch]:
5271         * lyxtextclass.C:
5272         * rowpainter.C:
5273         * text.C:
5274         * text2.C:
5275         * Counters.[Ch]: finish the 'automatic counters' job
5276
5277 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5278
5279         * aspell.C: include <boost/assert.cpp> (compile fix)
5280
5281 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5282
5283         * boost.C (assertion_failed): use lyx::support::abort instead of
5284         assert.
5285
5286 2003-09-10  Angus Leeming  <leeming@lyx.org>
5287
5288         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5289         with their _fwd progeny.
5290
5291 2003-09-09  Angus Leeming  <leeming@lyx.org>
5292
5293         134 files throughtout the source tree: replace 'using namespace abc;'
5294         directives with the appropriate 'using abc::xyz;' declarations.
5295
5296 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5297
5298         * boost.C (emergencyCleanup): moved here from LAssert.c
5299         (assertion_failed): new function, called by BOOST_ASSERT
5300
5301         * several files: change Assert to BOOST_ASSERT
5302
5303 2003-09-09  Angus Leeming  <leeming@lyx.org>
5304
5305         * buffer.[Ch]: Add an Impl class and move Buffer's member
5306         variables into it. As a result move several header files out of
5307         buffer.h.
5308
5309         Add header files to lots of .C files all over the tree as a result.
5310
5311 2003-09-09  Angus Leeming  <leeming@lyx.org>
5312
5313         * buffer.[Ch]: make Buffer's member variables private. Add
5314         accessor functions.
5315
5316         Lots of changes all over the tree as a result.
5317
5318 2003-09-08  Angus Leeming  <leeming@lyx.org>
5319
5320         * graph.C: #include <config.h>.
5321
5322 2003-09-08  Angus Leeming  <leeming@lyx.org>
5323
5324         * BranchList.C:
5325         * BufferView.C:
5326         * BufferView_pimpl.C:
5327         * CutAndPaste.C:
5328         * DepTable.C:
5329         * LaTeX.C:
5330         * LaTeXFeatures.C:
5331         * LyXAction.C:
5332         * MenuBackend.C:
5333         * TextCache.C:
5334         * aspell.C:
5335         * buffer.C:
5336         * bufferlist.C:
5337         * changes.C:
5338         * chset.C:
5339         * converter.C:
5340         * counters.C:
5341         * debug.C:
5342         * graph.C:
5343         * ispell.C:
5344         * lyx_cb.C:
5345         * lyxfind.C:
5346         * lyxfunc.C:
5347         * lyxlex_pimpl.C:
5348         * lyxrc.C:
5349         * lyxrow.C:
5350         * paragraph.C:
5351         * rowpainter.C:
5352         * texrow.C:
5353         * text.C:
5354         * text2.C:
5355         * toc.C: remove redundant using directives.
5356
5357 2003-09-07  Angus Leeming  <leeming@lyx.org>
5358
5359         * LaTeXFeatures.h: remove #include "support/types.h".
5360         * ToolbarBackend.h: remove #include <algorithm>.
5361         * changes.h: remove #include <ctime>.
5362         * debug.h: remove #include <iosfwd>.
5363         * graph.h: remove #include "support/std_string.h".
5364         * lyx_main.h: remove #include <csignal>.
5365         * lyxlex_pimpl.h: remove #include <fstream>.
5366         * sgml.h: remove #include <algorithm>, <utility>.
5367         * toc.h: remove #include "support/std_ostream.h".
5368         Add #include <iosfwd>.
5369
5370 2003-09-07  Angus Leeming  <leeming@lyx.org>
5371
5372         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5373
5374         * converter.h: forward declare LatexRunParams.
5375         * encoding.h: remove #include "lyxrc.h".
5376         * lyxtext.h: remove #include "LColor.h".
5377         * lyxtextclass.h: remove #include "support/types.h".
5378         * trans.h: remove #include "tex-accent.h".
5379         * trans_mgr.h: remove #include "tex-accent.h".
5380         * insets/inset.h: remove #include "support/types.h", <vector>.
5381         * insets/insetcollapsable.h: remove #include "LColor.h".
5382         * insets/insetinclude.h: remove #include "dimension.h".
5383         * insets/insetlatexaccent.h: remove #include "dimension.h".
5384         * insets/insetoptarg.h:: remove #include "insettext.h".
5385         * insets/insettext.h: remove #include "dimension.h",
5386         <boost/shared_ptr.hpp>
5387
5388         * insets/renderers.h: add #include "dimension.h".
5389         * insets/updatableinset.h: add #include "support/types.h".
5390
5391         * many .C files: Associated changes.
5392
5393 2003-09-06  Angus Leeming  <leeming@lyx.org>
5394
5395         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5396         one, inside testInvariant.
5397
5398         * PrinterParams.C: new file.
5399         * PrinterParams.[Ch]: move the function bodies out of line.
5400
5401 2003-09-06  Angus Leeming  <leeming@lyx.org>
5402
5403         * ParagraphParameters.h: forward declare ParameterStruct rather than
5404         including its header file.
5405         (depth): moved out-of-line.
5406
5407 2003-09-06  Angus Leeming  <leeming@lyx.org>
5408
5409         * BufferView_pimpl.h:
5410         * kbmap.h:
5411         * kbsequence.h:
5412         * lyxfunc.h: forward declare LyXKeySym rather than
5413         #include "frontends/LyXKeySym.h".
5414
5415         * BufferView_pimpl.C:
5416         * kbmap.C:
5417         * kbsequence.C:
5418         * lyxfunc.C: associated changes.
5419
5420 2003-09-06  Angus Leeming  <leeming@lyx.org>
5421
5422         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5423         As a result, can remove the #include "insets/inset.h" from BufferView.h
5424
5425 2003-09-06  Angus Leeming  <leeming@lyx.org>
5426
5427         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5428         As a result, can remove the #include "insets/inset.h" from BufferView.h
5429
5430 2003-09-06  Angus Leeming  <leeming@lyx.org>
5431
5432         * buffer_funcs.C:
5433         * buffer.h:
5434         * bufferlist.C:
5435         * BufferView.C:
5436         * bufferview_funcs.C:
5437         * BufferView_pimpl.C:
5438         * CutAndPaste.C:
5439         * lyx_cb.C:
5440         * lyxfunc.C:
5441         * paragraph.h:
5442         * ParagraphParameters.C:
5443         * tabular.C:
5444         * text3.C:
5445         * toc.C:
5446         * undo_funcs.C:
5447         * frontends/controllers/ControlDocument.C:
5448         * insets/insetcaption.C: rearrange the #includes into some sort of
5449         coherent order.
5450
5451         * buffer.h: remove #includes ErrorList.h, undo.h
5452
5453 2003-09-06  Angus Leeming  <leeming@lyx.org>
5454
5455         * support/types.h: add a 'depth_type' typedef, used to store the
5456         nesting depth of a paragraph.
5457
5458         * paragraph.h:
5459         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5460         defining explicitly.
5461
5462         * buffer.h:
5463         * paragraph_funcs.h:
5464         * ParagraphParameters.h:
5465         * sgml.h: use lyx::depth_type rather than Paragraph or
5466         ParameterStruct's depth_type.
5467
5468         * buffer.h
5469         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5470
5471         * BufferView.C:
5472         * BufferView_pimpl.C:
5473         * CutAndPaste.C:
5474         * ParagraphParameters.C:
5475         * buffer_funcs.C:
5476         * bufferlist.C:
5477         * bufferview_funcs.C:
5478         * lyx_cb.C:
5479         * lyxfunc.C:
5480         * tabular.C:
5481         * text3.C:
5482         * toc.C:
5483         * undo_funcs.C:
5484         * frontends/LyXView.C:
5485         * frontends/controllers/ControlDocument.C:
5486         * frontends/controllers/ControlErrorList.C:
5487         * insets/insetbibitem.C:
5488         * insets/insetbranch.C:
5489         * insets/insetcaption.C:
5490         * insets/insetcollapsable.C:
5491         * insets/insetenv.C:
5492         * insets/insetert.C:
5493         * insets/insetfloat.C:
5494         * insets/insetfoot.C:
5495         * insets/insetfootlike.C:
5496         * insets/insetnewline.C:
5497         * insets/insetquotes.C:
5498         * insets/insettabular.C:
5499         * insets/insettext.C:
5500         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5501
5502         * frontends/controllers/ControlChanges.C: #include "changes.h".
5503
5504 2003-09-06  Angus Leeming  <leeming@lyx.org>
5505
5506         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5507         than #including paragraph.h.
5508
5509         * ParagraphList.h:
5510         * RowList.h: deleted. Superfluous.
5511
5512         * CutAndPaste.h:
5513         * iterators.h:
5514         * lyxcursor.h:
5515         * lyxtext.h:
5516         * text_funcs.h:
5517         * undo.h:
5518         * undo_funcs.h:
5519         * insets/inset.h:
5520         * insets/insettext.h: use ParagraphList_fwd.h rather than
5521         ParagraphList.h.
5522
5523         * paragraph.h: don't forward declare ParagraphList.
5524
5525         * buffer.h:
5526         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5527         rather than ParagraphList.h. paragraph.h is still needed for the
5528         Paragraph::depth_type parameters.
5529
5530         * textcursor.h: enable it to compile stand-alone in light of the
5531         above changes.
5532
5533         * bufferview_funcs.C:
5534         * iterators.C:
5535         * lyxfunc.C:
5536         * lyxrow_funcs.C:
5537         * paragraph.C:
5538         * rowpainter.C:
5539         * text.C:
5540         * text2.C:
5541         * text3.C:
5542         * text_funcs.C:
5543         * textcursor.C:
5544         * undo.C:
5545         * frontends/controllers/ControlParagraph.C:
5546         * frontends/controllers/ControlTabular.C:
5547         * insets/insetmarginal.C:
5548         * insets/insetminipage.C:
5549         * insets/insetnote.C:
5550         * insets/insetoptarg.C: add header files needed to compile again.
5551
5552 2003-09-06  Angus Leeming  <leeming@lyx.org>
5553
5554         * RowList_fwd.h: new file, forward-declaring Row rather than
5555         #including lyxrow.h.
5556
5557         * lyxrow_funcs.h:
5558         * lyxtext.h:
5559         * paragraph.h:
5560         * insets/insettext.h: use it instead of RowList.h
5561
5562         * bufferview_funcs.C:
5563         * lyxfunc.C:
5564         * lyxrow_funcs.C:
5565         * paragraph.C:
5566         * rowpainter.C:
5567         * text.C:
5568         * text2.C:
5569         * text3.C: #include "RowList.h".
5570
5571 2003-09-05  Angus Leeming  <leeming@lyx.org>
5572
5573         * factory.C (createInset):
5574         * vspace.C (c-tor): replace sscanf call with an istringstream.
5575         * ispell.C: re-add missing HP/UX headers.
5576         * lyxserver.C: re-add missing  os2 headers.
5577
5578 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5579
5580         * BranchList.C:
5581         * graph.C:
5582         * ispell.C:
5583         * lastfiles.C:
5584         * lyx_cb.C:
5585         * lyxserver.C:
5586         * texrow.C:
5587         * text3.C: re-add missing system headers, needed for 2.95.2.
5588
5589 2003-09-05  Angus Leeming  <leeming@lyx.org>
5590
5591         Changes most place everywhere due to the removal of using directives
5592         from support/std_sstream.h.
5593
5594 2003-09-05  Angus Leeming  <leeming@lyx.org>
5595
5596         Replace LString.h with support/std_string.h,
5597         Lsstream.h with support/std_sstream.h,
5598         support/LIstream.h with support/std_istream.h,
5599         support/LOstream.h with support/std_ostream.h.
5600
5601         Changes resulting throughout the tree.
5602
5603 2003-09-05  Angus Leeming  <leeming@lyx.org>
5604
5605         * sgml.h: ensure that the header file can be compiled stand-alone.
5606         * *.C: strip out redundant #includes. (320 in total.)
5607
5608 2003-09-04  Angus Leeming  <leeming@lyx.org>
5609
5610         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5611         here (from getPackages).
5612
5613         * debug.[Ch]: add a new EXTERNAL tag.
5614
5615 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5616
5617         * text2.C (cursorEnd): simplify
5618         (setCursor): adjust
5619         (getColumnNearX): adjust
5620
5621         * text.C (computeBidiTables): adjust
5622         (fill): adjust
5623
5624         * rowpainter.C (paintChars): adjust
5625         (paintSelection): adjust
5626         (paintChangeBar): adjust
5627         (paintText): adjust
5628
5629         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5630         lastPos instead.
5631         (numberOfSeparators): adjust
5632
5633 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5634
5635         * LyXAction.C:
5636         * box.[Ch]:
5637         * lfuns.h:
5638         * lyxfunc.C:
5639         * text3.C: Restricts the mouse click functionality
5640         of insets like bibtex, include, toc and floatlist to the visible
5641         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5642         up the dialogs. Cursor has to be in front of the inset (i.e.
5643         start of row) for this to function.
5644
5645 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5646
5647         * bufferview_funcs.C (currentState): output row information
5648
5649 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5650
5651         * bufferview_funcs.C (currentState): output paragraph position
5652
5653 2003-09-04  Angus Leeming  <leeming@lyx.org>
5654
5655         * FloatList.h: move out #include "Floating.h".
5656         * LaTeX.h: move out #include "DepTable.h".
5657         * LyXAction.h: move out #include "funcrequest.h".
5658         * buffer.h: move out #include "author.h", "iterators.h".
5659         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5660         * lyx_main.h: move out #include "errorlist.h".
5661         * lyxfunc.h: move out #include "FuncStatus.h".
5662         * lyxtext: move out #include "lyxcursor.h".
5663         * paragraph_pimpl.h: move out #include "counters.h".
5664
5665 2003-09-03  Angus Leeming  <leeming@lyx.org>
5666
5667         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5668         preamble_snippets list, enabling us to add snippets to the preamble
5669         only if the snippet was not there already.
5670
5671 2003-09-04  Angus Leeming  <leeming@lyx.org>
5672
5673         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5674
5675 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5678         update
5679
5680 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5681
5682         * BranchList.C: point fix, earlier forgotten
5683
5684 2003-09-02  Angus Leeming  <leeming@lyx.org>
5685
5686         * box.C (contains): renamed from 'contained' after a fantastic
5687         amount of hot air.
5688
5689 2003-09-02  John Levon  <levon@movementarian.org>
5690
5691         * BufferView.C:
5692         * lyxcursor.h:
5693         * lyxcursor.C:
5694         * lyxfunc.C:
5695         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5696
5697 2003-09-02  John Levon  <levon@movementarian.org>
5698
5699         * text2.C: simplification of cursorEnd(), including partial
5700         fix for bug 1376
5701
5702 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5703
5704         * buffer.C (readFile): add a space
5705
5706 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5707
5708         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5709
5710 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5711
5712         * buffer.C (readFile): new function, take a filename and a
5713         ParagraphList::iterator
5714         (readFile): adjust
5715         (readFile): adjust, make it private. don't use setStream, make
5716         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5717         always contain the filename.
5718
5719         * BufferView.C (insertLyXFile): simplify and make it work for
5720         gzipped files.
5721
5722 2003-08-30  John Levon  <levon@movementarian.org>
5723
5724         * Makefile.am: fix dist (from Kayvan)
5725
5726 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * most files: change to use const Buffer refs
5729
5730 2003-08-27  André Pönitz  <poenitz@gmx.net>
5731
5732         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5733         on top of ownerPar().
5734
5735 2003-08-27  John Levon  <levon@movementarian.org>
5736
5737         * funcrequest.C: properly initialise POD members
5738
5739 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5740
5741         * lyxtext.h (top_y): move top_y from here
5742         * text.C:
5743         * text2.C:
5744         * text3.C:
5745         * BufferView.[Ch]:
5746         * BufferView_pimpl.[Ch]: to here
5747         * frontends/screen.C:
5748         * insets/insettabular.C:
5749         * insets/insettext.C: adjust
5750         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5751
5752 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5753
5754         * BufferView.[Ch]:
5755         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5756
5757 2003-08-26  André Pönitz  <poenitz@gmx.net>
5758
5759         * paragraph_func.[Ch] (outerPar): new function
5760
5761         * paragraph.C:
5762         * paragraph_funcs.C:
5763         * paragraph_funcs.h:
5764         * paragraph_pimpl.C:
5765         * text2.C: remove Inset::par_owner
5766
5767 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5768
5769         * lyxrow_funcs.C:
5770         * lyxtext.h:
5771         * text.C:
5772         * text2.C: eliminates the needFullRow/display() stuff
5773         altogether, putting the logic in metrics/draw in the insets.
5774
5775 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5776
5777         * text2.C (redoParagraphInternal, redoParagraphs):
5778         * text.C (redoParagraph): add a call to updateRowPositions at the
5779         end of each 'metrics-like' call. Remove all others.
5780         (getRow): remove the 'y-computing' version.
5781         (getRowNearY): do not compute nor return the real y. Solve the
5782         'y < 0' problem and simplify.
5783
5784 2003-08-22  Angus Leeming  <leeming@lyx.org>
5785
5786         * *.[Ch]: clean-up of licence and author blurbs.
5787         Also move config.h out of a few .h files and into a few .C files.
5788
5789 2003-08-22  André Pönitz  <poenitz@gmx.net>
5790
5791         * lyxrow.[Ch]: add x_ and *fill_ members
5792
5793         * lyxtext.h:
5794         * text.C:
5795         * rowpainter.C:
5796         * text2.C: adjust/remove prepareToPrint() calls
5797
5798 2003-08-22  André Pönitz  <poenitz@gmx.net>
5799
5800         * lyxrow.[Ch]: add  end_ member
5801
5802         * lyxrow_funcs.C: use LyXRow::end_
5803
5804         * lyxtext.h (singleWidth): add LyXFont parameter
5805
5806         * rowpainter.C:
5807         * text2.C: adjust LyXText::singleWidth() calls
5808
5809         * text.C (redoParagraph): simplify row breaking logic
5810
5811
5812 2003-08-19  André Pönitz  <poenitz@gmx.net>
5813
5814         * funcrequest.C: initialize button_ member
5815
5816         * text3.C:
5817         * rowpainter.[Ch]: interface consolidation
5818
5819 2003-08-18  André Pönitz  <poenitz@gmx.net>
5820
5821         * BufferView.C:
5822         * BufferView_pimpl.C:
5823         * lyxfind.C:
5824         * paragraph_funcs.C:
5825         * rowpainter.C:
5826         * text3.C: remove LyXScreen::draw() and fitCursor calls
5827
5828         * BranchList.h: remove spurious semicolons
5829
5830         * MenuBackend.C: fix branchlist related crash
5831
5832 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5833
5834         * BranchList.[Ch]:
5835         * InsetList.[Ch]:
5836         * LColor.[Ch]:
5837         * LyXAction.C:
5838         * Makefile.am:
5839         * MenuBackend.[Ch]:
5840         * bufferparams.[Ch]:
5841         * factory.C:
5842         * lfuns.h:
5843         * lyxfunc.C:
5844         * text3.C: implements the 'branch inset'
5845         idea. This allows the output of various versions of a document
5846         from a single source version, selectively outputing or suppressing
5847         output of parts of the text.
5848         This implementation contains a 'branch list editor' in a separate
5849         tab of the document settings dialog. Branches are user definable
5850         and have a "display colour" to distinguish them on-screen.
5851
5852         ColorHandler was somewhat cleaned up.
5853         (1) make possible a dynamically growing LColor list by allowing
5854         the graphic context cache to grow along (vector);
5855         (2) eliminate an IMHO unnecessary step in colour allocation.
5856
5857 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5858
5859         * BufferView_pimpl.C: compile fix
5860
5861 2003-08-15  André Pönitz  <poenitz@gmx.net>
5862
5863         * rowpainter.C: remove extra metrics calls
5864
5865         * lyxtext.h: merge the two constructors into a single one,
5866           pass reference to owner's par list
5867
5868         * BufferView_pimpl.C:
5869         * text.C:
5870         * text2.C: adjust
5871
5872 2003-08-15  André Pönitz  <poenitz@gmx.net>
5873
5874         * lyxrow_funcs.[Ch]:
5875         * lyxtext.h:
5876         * paragraph.h:
5877         * paragraph_funcs.C:
5878         * rowpainter.C:
5879         * text.C:
5880         * text2.C:
5881         * text3.C:
5882         * text_funcs.C: split LyXText::rowlist_ into individual
5883         Paragraph::rows_ chunks
5884
5885         * BufferView.[Ch]:
5886         * BufferView_pimpl.[Ch]:
5887         * lyxfind.C:
5888         * lyxtext.h:
5889         * text3.C: remove toggleSelection()
5890
5891 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5892
5893         * bufferlist.C: beautify two alerts (shorter text of buttons)
5894         * buffer.C: Remove redundant ' ' from message
5895         * tabular.h:
5896         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5897         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5898         rename VALIGN_CENTER to VALIGN_MIDDLE
5899
5900 2003-08-11  André Pönitz  <poenitz@gmx.net>
5901
5902         * lyxtext.h (getPar):
5903         * text.C: new function
5904
5905 2003-08-11  André Pönitz  <poenitz@gmx.net>
5906
5907         * Makefile.am:
5908         * tracer.[Ch]: remove unneeded files
5909
5910         * InsetList.[Ch]: remove resizeInsetsLyXText()
5911
5912         * lyxtext.h:
5913         * text.C:
5914         * text2.C:
5915         * text3.C: merge insertParagraphs() and appendParagraph()
5916         remove breakAgain(), update()
5917
5918         * BufferView_pimpl.[Ch]:
5919         * bufferview_funcs.[Ch]:
5920         * lyxfunc.C:
5921         * paragraph.[Ch]:
5922         * rowpainter.C:
5923         * tabular.C: adjust after text & InsetList changes.
5924
5925 2003-08-08  André Pönitz  <poenitz@gmx.net>
5926
5927         * text.C (insertChar, backspace): replace rowlist fiddling
5928         with rebreak of full par
5929
5930         * lyxtext.h:
5931         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5932         checkParagraph, updateInset): removed
5933
5934 2003-08-07  André Pönitz  <poenitz@gmx.net>
5935
5936         * paragraph.C:
5937         * text3.C: merge some LFUN handlers, remove dead code
5938
5939 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5940
5941         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5942
5943 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5944
5945         * text2.C (DEPM): fix part of bug 1255 and 1256
5946
5947 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5948
5949         * BufferView_pimpl.C (workAreaDispatch): change to use
5950         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5951         that are no mouse related.
5952
5953 2003-08-05  André Pönitz  <poenitz@gmx.net>
5954
5955         * BufferView.[Ch]:
5956         * BufferView_pimpl.[Ch]:
5957         * bufferview_funcs.C:
5958         * text2.C:
5959         * text3.C: rip out "deep update"
5960
5961         * textcursor.[Ch] (last_sel_cursor): remove unused member
5962
5963 2003-08-04  André Pönitz  <poenitz@gmx.net>
5964
5965         * BufferView.[Ch]:
5966         * BufferView_pimpl.[Ch]:
5967         * ParagraphParameters.C:
5968         * bufferview_funcs.C:
5969         * lyx_cb.C:
5970         * lyxfind.C:
5971         * lyxfunc.C:
5972         * text.C:
5973         * text2.C:
5974         * text3.C: replace "complicated" BufferView::update(...) calls with
5975         simpler ones.
5976
5977         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5978
5979 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5980
5981         * Makefile.am (lyx_SOURCES): add paper.h
5982
5983 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5984
5985         * Makefile.am: move things around so that both lyx-qt and
5986         lyx-xforms can be built (according to --with-frontend). Then lyx
5987         is a symbolic link to lyx-[firstfrontend]
5988
5989 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5990
5991         * Always use std::endl with lyxerr
5992
5993 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5994
5995         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5996
5997 2003-08-01  André Pönitz  <poenitz@gmx.net>
5998
5999         * BufferView.[Ch]:
6000         * BufferView_pimpl.[Ch]:
6001         * lyxfunc.C:
6002         * text3.C: merge BufferView::repaint() and BufferView::update()
6003
6004 2003-08-01  José Matos  <jamatos@lyx.org>
6005
6006         * buffer.[Ch]: file_format is no longer a buffer data element.
6007
6008 2003-08-01  André Pönitz  <poenitz@gmx.net>
6009
6010         * BufferView.C:
6011         * lyxtext.h:
6012         * text.C:
6013         * text2.C: make redoParagraph more independent of current cursor
6014
6015         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6016         * text.C:
6017         * text2.C: remove unneeded members
6018
6019 2003-07-30  André Pönitz  <poenitz@gmx.net>
6020
6021         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6022
6023         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6024           create a single function...
6025
6026         * paragraph_funcs.C (moveItem): ... here.
6027
6028         * text.C:
6029           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6030
6031 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6032
6033         * LColor.[Ch]: Add comment and greyedout logical colors.
6034
6035 2003-07-30  André Pönitz  <poenitz@gmx.net>
6036
6037         * tabular.C: don't use Assert too heavily. This crashes where it
6038           shouldn't
6039
6040 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6041
6042         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6043         is disabled (bug 1232)
6044
6045 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6046
6047         * factory.C: limited 'arg' scope
6048
6049 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6050
6051         * factory.C: fixed Note submenu issues
6052
6053 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6054
6055         * factory.C: submenu for Note/Comment/Greyedout
6056
6057 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6058
6059         * lyx_main.C (LyX):
6060         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6061
6062 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6063
6064         * LaTeXFeatures.C:
6065         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6066         greyedout. Patch provided by Jürgen Spitzmüller.
6067
6068 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6069
6070         * kbmap.C (read): fix error message when reading bind files
6071
6072 2003-07-29  Angus Leeming  <leeming@lyx.org>
6073
6074         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6075         certainly does not do what it purports to do. I am doing it, and
6076         us, a favour by killing it.
6077
6078 2003-07-28  José Matos  <jamatos@lyx.org>
6079
6080         * buffer.C (readBody, do_writeFile):
6081         * paragraph.C(readParagraph): \end_document replaces \the_end.
6082
6083 2003-07-29  André Pönitz  <poenitz@gmx.net>
6084
6085         * BufferView.[Ch]:
6086         * BufferView_pimpl.[Ch]:
6087         * lyxfunc.C:
6088         * text2.C:
6089         * text3.C:
6090         * textcursor.[Ch]: remove toggleToggle & Co
6091
6092 2003-07-28  José Matos  <jamatos@fep.up.pt>
6093
6094         * buffer.C (readParagraph):
6095         * params_func (readParToken, readParagraph):
6096         * paragraph.C (write): \layout -> \begin_layout.
6097
6098 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * lyxlex_pimpl.C (setFile): clean up slightly.
6101
6102         * bufferparams.h: add compressed var
6103
6104         * buffer_funcs.C (readFile): adjust for LyXLex change
6105         (newFile): ditto + simplify
6106
6107         * buffer.C (writeFile): handle writing of compressed files
6108
6109         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6110         Check if the file is compressed and set a bufferparm if so.
6111
6112         * Makefile.am (lyx_LDADD): remove explicit -lz
6113
6114 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6115
6116         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6117         makeDocBookFile): put the real LyX version in the first line of
6118         the file
6119
6120         * version.h:
6121         * version.C.in: remove lyx_docversion
6122
6123         * tabular.C (write_attribute): add a template-based version to
6124         write enums properly
6125
6126 2003-07-28  André Pönitz  <poenitz@gmx.net>
6127
6128         * lyxtext.h:
6129         * text.C:
6130         * text2.C:
6131         * text3.C: use doubles again for x-coordinates. They are needed.
6132
6133 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * messages.C (getLocaleDir): use lyx_localedir()
6136
6137         * lyxlex_pimpl.C (setFile): compress stuff
6138
6139         * buffer.C (writeFile): add some compression stuff
6140         (do_writeFile): new func, dont call expliti close... will this
6141         breake anything?
6142
6143         * Makefile.am (lyx_LDADD): add -lz
6144
6145 2003-07-28  José Matos  <jamatos@fep.up.pt>
6146
6147         * buffer.C: increment file format.
6148         * paragraph_funcs (readParagraph, readParToken):
6149         * paragraph.C (readParagraph): add \end_layout.
6150
6151 2003-07-27  Angus Leeming  <leeming@lyx.org>
6152
6153         * Makefile.am: remove special casing for configure-time setting of
6154         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6155
6156         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6157         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6158
6159 2003-07-26  André Pönitz  <poenitz@gmx.net>
6160
6161         * paragraph_func.[Ch]:
6162         * paragraph.C (realizeFont): inline it whereever it is used
6163
6164         * rowpainter.C:
6165         * text.C:
6166         * text2.C:
6167         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6168
6169
6170 2003-07-26  André Pönitz  <poenitz@gmx.net>
6171
6172         *       lyxtext.h:
6173         * text.C:
6174         * text2.C: get rid of LyXText::need_break_row
6175
6176 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * toc.[Ch]: put namespace toc inside namespace lyx
6179
6180         * MenuBackend.C (expandToc2): adjust for lyx::toc
6181         (expandToc): ditto
6182
6183         * lyxfunc.C (dispatch): adjust for lyx::find
6184
6185         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6186         lyx::find instead. Reorganize a bit.
6187         (LyXReplace): rename to replace
6188         (LyXFind): rename to find
6189
6190         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6191         (dispatch): ditto
6192
6193 2003-07-26  André Pönitz  <poenitz@gmx.net>
6194
6195         * text.C (setHeightOfRow): restrict scope of temporary variable
6196
6197         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6198           code (never has been used?)
6199
6200 2003-07-27  Asger Alstrup  <alstrup@local>
6201
6202         * text.C (fill): Optimise algorithm to exploit that we can reuse
6203         the LyXFont for many characters.
6204         (setHeightOfRow): Same thing.
6205         (rowBreakPoint): Same thing.
6206
6207 2003-07-26  Asger Alstrup  <alstrup@local>
6208
6209         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6210
6211         * text.C (singleWidth): Spurious font copying in hot-spot
6212         singleWidth avoided. Reorder tests for arabic for efficiency.
6213
6214         * text.C (fill): handle empty paragraphs better.
6215
6216 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6217
6218         * ispell.C:
6219         * encoding.h: add includes
6220
6221         * lyxrc.C: remove reading of bind files
6222
6223         * lyx_main.C (init): setup bindings and menus only if we have a
6224         gui.
6225
6226         * kbmap.C (read): new method. Do the actual reading of bind
6227         files.
6228
6229         * converter.C (dvipdfm_options):
6230         * bufferparams.C:
6231         * lyxrc.C (read):
6232         (output): adapt PAPER_* enums.
6233
6234         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6235
6236         * bufferparams.h: remove paper-related enums from there
6237
6238         * paper.h: New file. A trivial header file to hold paper-related
6239         enums. It should later expand to contain many paper-related
6240         horrors access.
6241
6242         * lyxrc.C: declare extern displayTranslator
6243
6244 2003-07-27  José Matos  <jamatos@fep.up.pt>
6245
6246         * tabular.[Ch] (linuxdoc): add support for tables and figures
6247         (linuxdoc).
6248
6249 2003-07-27  José Matos  <jamatos@fep.up.pt>
6250
6251         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6252         consistency in both functions.
6253         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6254
6255 2003-07-26  Asger Alstrup  <alstrup@local>
6256
6257         * rowpainter.C (paintRows): Change algorithm to work directly on
6258         the insets rather than asking every character in the document
6259         whether its an inset.
6260
6261 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6262
6263         * buffer.C (openFileWrite): factorize some code
6264
6265 2003-07-26  Angus Leeming  <leeming@lyx.org>
6266
6267         * lyx_cb.C:
6268         * lyx_main.[Ch]: replace occurances of system_tempdir with
6269         os::getTmpDir().
6270
6271 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * rename Inset to InsetOld
6274
6275 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6276
6277         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6278         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6279         which I think is a bit clearer. EDIT is gone, since it was
6280         premature optimisation, and broken for mathed anyway.
6281         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6282         with cursor positioning in insets as well (math insets still do not
6283         work, but that's a different story anyway.) It mysteriously
6284         crashes sometimes with undo in the first paragraph, but I'm fairly
6285         confident that this is a compiler bug.
6286
6287 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * paragraph.C (Paragraph): adjust for new clone return type
6290         (operator==): ditto
6291         (copyIntoMinibuffer): ditto
6292
6293 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6294
6295         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6296         by not having a special case, and always doing a full rebreak of
6297         the document after undo.
6298
6299 2003-07-23  Angus Leeming  <leeming@lyx.org>
6300
6301         * factory.C (createInset): InsetExternal::setParams now takes a
6302         Buffer const * arg.
6303
6304 2003-07-23  Angus Leeming  <leeming@lyx.org>
6305
6306         * factory.C (createInset): changed interface to the external and
6307         graphics mailers' string2params functions.
6308
6309 2003-07-23  Angus Leeming  <leeming@lyx.org>
6310
6311         * factory.C (createInset): pass a
6312         Buffer const * parameter to InsetExternalMailer's string2params.
6313
6314 2003-07-22  John Levon  <levon@movementarian.org>
6315
6316         * Thesaurus.h: include the right aiksaurus header
6317
6318 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6319
6320         * MenuBackend.C (expand): check menu shortcuts unconditionally
6321
6322 2003-07-21  Angus Leeming  <leeming@lyx.org>
6323
6324         * factory.C (createInset): pass a
6325         buffer_path parameter to InsetGraphicsMailer's string2params.
6326
6327 2003-07-21  Angus Leeming  <leeming@lyx.org>
6328
6329         * BufferView_pimpl.C (buffer):
6330         * buffer.C (d-tor):
6331         * lyx_main.C (LyX):
6332         * lyxfunc.C (dispatch):
6333         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6334         rather than the grfx shortcut.
6335
6336 2003-07-21  André Pönitz  <poenitz@gmx.net>
6337
6338         * rowpainter.C: remove unused variables
6339
6340         * tabular_funcs.C:
6341         * tabular_funcs.h: move to tabular.C
6342         * Makefile.am: adjust
6343
6344         * tabular.[Ch]: basic optical cleaning
6345
6346         * author.h: pass references, not values
6347
6348 2003-07-18  André Pönitz  <poenitz@gmx.net>
6349
6350         * lyxtext.h:
6351         * metricsinfo.C:
6352         * metricsinfo.h:
6353         * rowpainter.C:
6354         * text.C:
6355         * text2.C:
6356         * text3.C: two-phase drawing for InsetText and InsetTabular
6357         some float -> int changes.
6358
6359 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6360
6361         * lyx_main.C: fix the fix
6362
6363 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6364
6365         * lyx_main.C: fix a crash in batch mode if no files specified
6366         * converter.C: ws
6367
6368 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6369
6370         * format.[Ch] (papersize): moved to BufferParams
6371         * converter.[Ch] (dvips_options): moved to BufferParams
6372         (dvipdfm_options): moved to anon namespace
6373         * bufferparams.[Ch]: added above functions.
6374
6375 2003-07-17  André Pönitz  <poenitz@gmx.net>
6376
6377         * lyxtext.h:
6378         * rowpainter.C:
6379         * text2.C: don't call inset->update() anymore
6380
6381         * metricsinfo.[Ch]: add convenience constructor
6382
6383 2003-07-16  André Pönitz  <poenitz@gmx.net>
6384
6385         * lyxcursor.[Ch]:
6386         * lyxfunc.[Ch]:
6387         * text.C:
6388         * text2.C: replace the LyXCursor::irow_ member with
6389          on-demand computation of the value
6390
6391 2003-07-16  John Levon  <levon@movementarian.org>
6392
6393         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6394
6395 2003-07-15  André Pönitz  <poenitz@gmx.net>
6396
6397         * text.C:
6398         * text2.C: remove no more needed refresh_row
6399
6400 2003-07-15  André Pönitz  <poenitz@gmx.net>
6401
6402         * lyxtext.h:
6403         * rowpainter.C:
6404         * text2.C:
6405         * text3.C: refresh_status tristate -> need_update bool
6406
6407 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6408
6409         * lyxtext.h (init): remove reinit argument (act as if always true)
6410         * text2.C: adjust to that
6411
6412 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6413
6414         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6415         * text3.C: use it to delete selections in some cases
6416         (bugs 441, 673, 702, 954).
6417
6418 2003-07-14  André Pönitz  <poenitz@gmx.net>
6419
6420         * rowpainter.[Ch]: reduce interface
6421
6422 2003-07-14  André Pönitz  <poenitz@gmx.net>
6423
6424         * BufferView_pimpl.C:
6425         * text2.C: adjust after removing unused BufferView * argument
6426
6427 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6428
6429         * text2.C (init): fix a crash fired on resize
6430
6431 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6432
6433         * buffer.[Ch]: added new closing signal
6434         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6435         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6436         BufferView::Pimpl via the closing the signal
6437
6438 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6439
6440         * buffer.[Ch]: take out all bv-related from buffer
6441         * BufferView.C:
6442         * BufferView_pimpl.[Ch]: connect to new signals
6443         * CutAndPaste.C: removed useless asserts
6444         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6445         * lyxvc.[Ch]:
6446         * vc-backend.[Ch]:
6447         * lyxfunc.C: moved view-related funciontality from vc here
6448         * paragraph.C: removed outdated comments
6449         * text.C: ws
6450
6451 2003-07-10  André Pönitz  <poenitz@gmx.net>
6452
6453         * BufferView_pimpl.C:
6454         * tabular.h:
6455         * tabular_funcs.C:
6456         * text.C:
6457         * text2.C: remove InsetText::InnerCache, clean up consequences
6458
6459 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6460
6461         * ispell.C: fix two typos in error messages
6462
6463 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6464
6465         * Extend Note inset to other forms of annotation like Comment
6466         and Greyedout. Right button click gives dialog.
6467
6468         Files modified or added (+):
6469
6470         * insetnote.[Ch]
6471         * FormNote.[Ch]      +
6472         * ControlNote.[Ch]   +
6473         * form_note.fd       +
6474         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6475         frontends/controllers
6476         * xforms/Dialogs.C
6477         * factory.C
6478
6479 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6480
6481         * aspell.C: add missing namespace lyx::support
6482
6483 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6484
6485         * BufferView.[Ch] (newFile): Add
6486         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6487         * LaTeX.[Ch] (message): added this signal and use it
6488         * buffer.[Ch] (busy, message): added these signals and use them
6489         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6490         * converter.C:
6491         * exporter.C:
6492         * format.C:
6493         * importer.C: use buffer signals instead of direct bv calling
6494         * lyx_cb.[Ch] (ShowMessage): removed
6495         * lyx_main.C:
6496         * lyxfunc.C:
6497         * paragraph_funcs.C:
6498         * text2.C: use buffer signals
6499
6500 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6501
6502         * introduce namespace lyx::graphics
6503
6504 2003-07-02  André Pönitz  <poenitz@gmx.net>
6505
6506         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6507
6508 2003-07-01  André Pönitz  <poenitz@gmx.net>
6509
6510         * text.C:
6511         * text2.C:
6512         * text3.C:
6513         * text_funcs.[Ch]:
6514         * textcursor.h:
6515         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6516           text*.C to text_func.C
6517
6518 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * introduce namespace lyx::support
6521
6522 2003-06-30  André Pönitz  <poenitz@gmx.net>
6523
6524         * Chktex.C:
6525         * funcrequest.C:
6526         * lyxtext.h:
6527         * text.C: re-enable --with-included-string
6528
6529 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * textcursor.C: add <config.h>
6532
6533         * text.C (getWord): remove const from word_location arg
6534
6535         * lyxvc.C (getLogFile): fix const type order
6536
6537         * lyxtext.h: remove const from word_location arg, add arg name
6538
6539         * lyxlayout.h: currect type on labeltype.
6540
6541         * importer.C: correct \file
6542
6543         * converter.C (intToFormat): use std:: on ret val, ws changes
6544
6545         * bufferlist.h: correct \file
6546
6547         * buffer.C (makeLinuxDocFile): fix const type order
6548         (makeDocBookFile): ditto
6549         (fillWithBibKeys): use std:: on stdlib args.
6550
6551         * CutAndPaste.C: fix authors.
6552         (availableSelections): use std:: on return vector
6553
6554 2003-06-27  André Pönitz  <poenitz@gmx.net>
6555
6556         * BufferView_pimpl.C:
6557         * bufferview_funcs.C:
6558         * lyxcursor.C:
6559         * lyxcursor.h:
6560         * lyxfunc.C:
6561         * lyxtext.h:
6562         * rowpainter.C:
6563         * text.C:
6564         * text2.C:
6565         * text3.C: remove LyXCursor::row_ member
6566
6567         * lyxtext.h:
6568         * text.C: rename fullRebreak() to partialRebreak() and implement
6569           a fullRebreak() that really bereks fully
6570
6571         * textcursor.h: new struct for cursor-related data
6572
6573 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6574
6575         * lyx_main.C (LyX): get full path of document loaded on the
6576         command line
6577
6578 2003-06-26  André Pönitz  <poenitz@gmx.net>
6579
6580         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6581           remove unused/broken operator>,<,>=.
6582
6583         *       text.C: remove only use of broken operator<= in an Assert().
6584
6585 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6586
6587         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6588         moved errorlist_.clear to showErrorList
6589
6590 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6591
6592         * converter.C (scanLog, runLaTeX):
6593         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6594         move the bv->showErrorList call to the callers
6595         * lyxfunc.C: i.e. here...
6596         * text2.C: and here
6597         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6598         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6599         namespace, the second to...
6600         * buffer_funcs (BufferFormat, parseErrors): added
6601         * errorlist.C (ErrorList(TeXErrors const &)): removed
6602
6603 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6604
6605         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6606
6607 2003-06-24  "Garst R. Reese" <reese@isn.net>
6608
6609         * debug.C: fix typo
6610
6611 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6612
6613         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6614
6615         * version.C.in: change docversion to 1.4
6616
6617 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6618
6619         * buffer.C: fix a bug just introduced
6620
6621 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6622
6623         * buffer.[Ch]: added the parseError signal and use it, removed
6624         sgmlError
6625         * BufferView.[Ch] (addError): moved to ...
6626         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6627         to the Buffer::parseError signal to catch (guess what) parse errors
6628         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6629
6630 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6631
6632         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6633         ability to create a buffer and to return an existing one from
6634         the list. Moved these functions to...
6635         * buffer_funcs.[Ch]: added
6636         * BufferView.[Ch] (loadLyXFile): added
6637         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6638         job removed from bufferlist::loadLyXFile.
6639         * buffer.C (setReadOnly): make it work without view
6640         (i.e added an if (users))
6641
6642 2003-06-19  Angus Leeming  <leeming@lyx.org>
6643
6644         * lfuns.h:
6645         * LyXAction.C (init):
6646         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6647         with LFUN_DIALOG_SHOW <name> <data>.
6648
6649 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6650
6651         * CutAndPaste.C (availableSelections): small compilation fix for
6652         ancient (gcc 2.9x) compilers
6653
6654 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6655
6656         * text3.C (cursorNext): add tmp var
6657
6658         * text2.C (updateCounters): for function calling out of for clause
6659         (replaceSelectionWithString): ditto
6660         (insertStringAsParagraphs): ditto
6661         (getColumnNearX): add tmp var
6662         (setCursorFromCoordinates): add tmp var
6663         (cursorDownParagraph): add tmp var
6664         (deleteEmptyParagraphMechanism): add tmp var
6665
6666         * text.C (insertChar): add tmp var
6667
6668         * rowpainter.C (paintDepthBar): add tmp var
6669
6670         * CutAndPaste.C (availableSelections): potentially check all
6671         paragraphs in a cut to fill the shown strings.
6672
6673 2003-06-18  André Pönitz  <poenitz@gmx.net>
6674
6675         * kbmap.[Ch]: use vector<> instead of list<>
6676
6677 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6678
6679         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6680         pasteSelection with index
6681
6682         * text2.C (pasteSelection): modify, call pasteSelection with index
6683
6684         * paragraph.C (asString): reimplement version with no interval to
6685         call the one with interval.
6686
6687         * lyxtext.h: add index arg to pasteSelection
6688
6689         * MenuBackend.C (MenuItem): handle PasteRecent
6690         (Menu::read::Menutags): add md_pasterecent
6691         (read): handle it
6692         (expandPasteRecent): new function
6693         (expand): use it
6694
6695         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6696
6697         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6698         the limited stack
6699         (availableSelections): new function
6700
6701 2003-06-17  Angus Leeming  <leeming@lyx.org>
6702
6703         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6704
6705 2003-06-17  Angus Leeming  <leeming@lyx.org>
6706
6707         * lfuns.h:
6708         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6709
6710         * lyxfunc.C (dispatch): invoke it.
6711
6712 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6713
6714         * iterators.C (operator++, ParPosition): reintroduce some
6715         const_cast for the benefit of older compilers.
6716
6717 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6718
6719         * text3.C (dispatch): do not modify clipboard when doing
6720         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6721         LFUN_DELETE_SKIP on a selection selection
6722
6723 2003-06-16  André Pönitz  <poenitz@gmx.net>
6724
6725         * BufferView.C:
6726         * buffer.C:
6727         * buffer.h:
6728         * paragraph.C:
6729         * tabular.[Ch]: IU of clone() and getLabelList();
6730
6731 2003-06-13  André Pönitz  <poenitz@gmx.net>
6732
6733         * tabular.h: compactification
6734
6735 2003-06-12  André Pönitz  <poenitz@gmx.net>
6736
6737         * tabular.C:
6738         * tabular.h:
6739         * tabular_funcs.h: some renaming plus whitespace
6740
6741 2003-06-12  André Pönitz  <poenitz@gmx.net>
6742
6743         * BufferView.C:
6744         * BufferView_pimpl.C:
6745         * CutAndPaste.C:
6746         * buffer.C:
6747         * iterators.[Ch]:
6748         * lyxfunc.C:
6749         * text.C:
6750         * toc.C: Return a Paragraph & for ParIterator::operator*()
6751
6752 2003-06-11  John Levon  <levon@movementarian.org>
6753
6754         * lyx_main.C:
6755         * ToolbarBackend.h:
6756         * ToolbarBackend.C: add "Toolbars" section and
6757         put the flags there
6758
6759 2003-06-10  Angus Leeming  <leeming@lyx.org>
6760
6761         * lfuns.h:
6762         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6763
6764         * lyxfunc.C (dispatch): invoke it.
6765
6766 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6767
6768         * main.C: protect <ios> with HAVE_IOS
6769         (main): protect sync_with_stdio with HAVE_IOS
6770
6771 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6772
6773         * text2.C (cutSelection): adjust
6774         (pasteSelection): adjust
6775
6776         * messages.C: handle get of empty string
6777
6778         * main.C (main): use sync_with_stdio(false)
6779
6780         * lyxfunc.C (dispatch): adjust
6781
6782         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6783         (WriteAs): remove unneeded BufferView arg.
6784
6785         * bufferparams.h: use correct types on papersize, papersize2 and
6786         paperpackage.
6787
6788         * bufferparams.C (readToken): adjust for type
6789         (writeLaTeX): add missing cases to switch.
6790
6791         * bufferlist.C (quitWriteBuffer): adjust
6792         (close): adjust
6793
6794         * buffer.C (asciiParagraph): remove some commented code.
6795
6796         * CutAndPaste.C: remove current_view extern variable.
6797         (cutSelection): add BufferParams arg.
6798         (eraseSelection): add BufferParams arg.
6799         (pasteSelection): add Buffer const & arg
6800
6801 2003-06-07  John Levon  <levon@movementarian.org>
6802
6803         * buffer.C:
6804         * paragraph_funcs.C:
6805         * paragraph_pimpl.C:
6806         * text.C:
6807         * text2.C:
6808         * paragraph.h:
6809         * paragraph.C: allow InsetERT to freely space lines,
6810         and some consolidation of code
6811
6812 2003-06-06  José Matos  <jamatos@fep.up.pt>
6813
6814         * buffer.C (makeDocBookFile): fix bug #821
6815
6816 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6817
6818         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6819
6820 2003-06-04  Angus Leeming  <leeming@lyx.org>
6821
6822         * buffer.C: bump format to 224.
6823
6824 2003-06-05  André Pönitz  <poenitz@gmx.net>
6825
6826         * text2.C (redoParagraphs): remove two const_cast<>
6827
6828 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6829
6830         * ParagraphList.h: remove last remnants of NO_STD_LIST
6831
6832 2003-06-03  Angus Leeming  <leeming@lyx.org>
6833
6834         * factory.C (createInset): small change to the way InsetExternal's params
6835         are set.
6836
6837 2003-06-04  André Pönitz  <poenitz@gmx.net>
6838
6839         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6840
6841         * paragraph_pimpl.h:
6842         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6843
6844         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6845
6846         * undo_funcs.C: make some simple cases of undo work again
6847
6848 2003-06-03  John Levon  <levon@movementarian.org>
6849
6850         * ispell.C: HPUX doesn't have sys/select.h
6851         (from Albert Chin)
6852
6853 2003-06-03  John Levon  <levon@movementarian.org>
6854
6855         * CutAndPaste.C: update tabular and include inset
6856         buffer references
6857
6858         * buffer.h:
6859         * paragraph.h:
6860         * paragraph.C: remove owningBuffer(), don't pass Buffer
6861         to clone()
6862
6863         * factory.C: insetGraphicsParams changed
6864
6865 2003-06-02  John Levon  <levon@movementarian.org>
6866
6867         * LyXAction.C:
6868         * factory.C:
6869         * lfuns.h:
6870         * lyxfunc.C:
6871         * text3.C: remove insetparent
6872
6873 2003-06-02  John Levon  <levon@movementarian.org>
6874
6875         * buffer.h:
6876         * buffer.C: fix inset_iterator.end(), move out of line
6877         (bug 1149)
6878
6879 2003-06-01  John Levon  <levon@movementarian.org>
6880
6881         * text3.C: use a proper cut/paste when doing inset
6882         insert (from Jürgen Spitzmüller)
6883
6884 2003-06-01  John Levon  <levon@movementarian.org>
6885
6886         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6887
6888 2003-05-30  André Pönitz  <poenitz@gmx.net>
6889
6890         * rowpainter.C: unify second drawing phase
6891
6892 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * trans_mgr.C: remove one case of current_view
6895
6896         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6897
6898         * paragraph_funcs.h: remove paragraph.h include
6899
6900         * paragraph.h: delete NO_STD_LIST stuff
6901
6902         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6903
6904         * buffer.h: remove paragraph.h include
6905
6906         * ParagraphList.C: delete file
6907
6908         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6909
6910         * toc.C (getTocList): adjust
6911
6912         * paragraph_pimpl.C (validate): adjust
6913
6914         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6915
6916         * paragraph.C (Paragraph): adjust
6917         (getPositionOfInset): use const_iterator, adjust
6918         (bibitem): use const_iterator, adjust
6919         (setInsetOwner): adjust
6920
6921         * iterators.C (operator++): adjust
6922
6923         * InsetList.[Ch]: Replace selfmade iterator with standard
6924         vector::iterator also introduce const_iterator. Remove getPos,
6925         getInset and setInset from InsetTable. Adjust accordingly.
6926
6927         * BufferView.C (lockInset): adjust
6928         (ChangeInsets): adjust
6929
6930         * tabular.[Ch]: delete commented same_id functions
6931
6932 2003-05-28  John Levon  <levon@movementarian.org>
6933
6934         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6935
6936 2003-05-28  André Pönitz  <poenitz@gmx.net>
6937
6938         * metricsinfo.[Ch]: remove 'fullredraw' member
6939
6940 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6941
6942         * lyxtextclass.C (operator): remove caching.
6943
6944 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * text3.C: adjust
6947
6948         * text2.C (cursorBottom): adjust
6949         (setCounter): use ParagraphList::find, adjust
6950
6951         * text.C (workWidth): use ParagraphList::find, adjust
6952
6953         * lyxcursor.C (LyXCursor): adjust
6954
6955         * buffer.C (inset_iterator): adjust
6956
6957         * ParagraphList.h: make iterator(value_type) private, make
6958         ParagraphList a friend of iterator.
6959
6960         * ParagraphList.C (find): new function
6961
6962         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6963
6964 2003-05-27  André Pönitz  <poenitz@gmx.net>
6965
6966         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6967
6968 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6969
6970         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6971
6972 2003-05-26  John Levon  <levon@movementarian.org>
6973
6974         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6975
6976 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * remove same_id from function signatures, adjust.
6979
6980 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6983
6984         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6985
6986         * paragraph.C (Paragraph): get rid of same_ids parameter
6987
6988         * ParagraphList.C (insert): adjust
6989         (push_back): adjust
6990
6991 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6992
6993         * paragraph_funcs.C (breakParagraph): adjust
6994         (breakParagraphConservative): adjust
6995
6996         * buffer.C (readParagraph): adjust
6997
6998         * ParagraphList.C (insert): take a reference instead of a pointer
6999         (insert): adjust
7000
7001         * paragraph.[Ch] (id): new function
7002
7003         * bufferlist.C (newFile): adjust
7004
7005         * ParagraphList.C (ParagraphList): adjust
7006         (assign): adjust
7007         (push_back): take a reference instead of a pointer.
7008
7009         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7010
7011         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7012         instead.
7013
7014         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7015         set else use old code.
7016
7017         * ParagraphList.C: remove all NO_NEXT code and only compile this
7018         code of NO_STD_LIST is set.
7019
7020 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7021
7022         * BufferView_pimpl.C:
7023         * TextCache.C:
7024         * TextCache.h:
7025         * bufferlist.C:
7026         * errorlist.h:
7027         * format.C:
7028         * format.h:
7029         * graph.C:
7030         * lyxfunc.C:
7031         * lyxrc.C:
7032         * graphics/GraphicsConverter.C:
7033         * graphics/PreviewLoader.C: header adjustment
7034
7035 2003-05-23  Angus Leeming  <leeming@lyx.org>
7036
7037         * LaTeXFeatures.[Ch] (useBabel): new method.
7038         * bufferparams.C (writeLaTeX): use it.
7039
7040 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * ParagraphList.h (set): remove unused function.
7043
7044 2003-05-23  André Pönitz  <poenitz@gmx.net>
7045
7046         * BufferView.C:
7047         * BufferView_pimpl.C:
7048         * buffer.C:
7049         * buffer.h:
7050         * lyxfunc.C:
7051         * undo_funcs.C: setUndo reworked
7052
7053         * iterators.[Ch]: add access to topmost ParagraphList
7054
7055         * lyxtext.[Ch] (workWidth): add a const
7056
7057 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7058
7059         * texrow.[Ch] (increasePos): remove function
7060         * exporter.C (export): removed unused var and outdated comment
7061
7062 2003-05-23  Angus Leeming  <leeming@lyx.org>
7063
7064         * latexrunparams.h: rename fragile as moving_arg.
7065         * paragraph.C (simpleTeXOnePar): ditto.
7066         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7067
7068 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7069
7070         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7071         (createUndo): ditto
7072         (textUndoOrRedo): comment out a currently unused var.
7073
7074         * paragraph.h (NO_NEXT): enable NO_NEXT
7075
7076         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7077
7078         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7079
7080         * exporter.C (Export): adjust for removeAutoInsets removal.
7081
7082         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7083
7084         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7085
7086         * BufferView.[Ch] (removeAutoInsets): delete function
7087
7088 2003-05-22  Angus Leeming  <leeming@lyx.org>
7089
7090         * latexrunparams.h: add a free_spacing variable.
7091
7092         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7093         to pass moving_arg, as the data is stored in runparams.fragile.
7094
7095         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7096         to Inset::latexOptional or to simpleTeXOnePar.
7097
7098         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7099         free_spacing arg to Inset::latexOptional.
7100
7101         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7102         free_spacing arg.
7103
7104 2003-05-22  Angus Leeming  <leeming@lyx.org>
7105
7106         * latexrunparams.h: add fragile and use_babel variables.
7107
7108         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7109         * buffer.C (makeLaTeXFile): store this returned value in
7110         runparams.use_babel, thus passing it to the inset::latex methods.
7111
7112         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7113         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7114
7115         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7116         longer has a fragile arg, as it is stored in runparams.fragile.
7117
7118         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7119         moving_arg parameter as the data is stored in runparams.fragile.
7120
7121         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7122         a fragile parameter as the data is stored in runparams.fragile.
7123
7124 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7125
7126         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7127
7128 2003-05-22  Angus Leeming  <leeming@lyx.org>
7129
7130         * latexrunparams.h: add a 'bool nice' which defaults to false.
7131
7132         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7133         now encapsulated within runparams.
7134
7135         * bufferlist.C (updateIncludedTeXfiles):
7136         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7137
7138 2003-05-22  Angus Leeming  <leeming@lyx.org>
7139
7140         * latexrunparams.h: new file containing struct LatexRunParams.
7141         * Makefile.am: add new file.
7142
7143         * LaTeX.[Ch] (c-tor, run):
7144         * buffer.[Ch] (makeLaTeXFile):
7145         * bufferlist.[Ch] (updateIncludedTeXfiles):
7146         * converter.C (convert, scanLog):
7147         * converter.[Ch] (runLaTeX):
7148         * exporter.C (Export):
7149         * paragraph.[Ch] (simpleTeXOnePar):
7150         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7151         * paragraph_funcs.[Ch] (latexParagraphs):
7152         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7153         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7154         pass around a LatexRunParams parameter.
7155
7156 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7157
7158         * paragraph.[Ch]: remove unused constructor
7159
7160         * ParagraphList.C (erase): new function, taking two iterators
7161
7162 2003-05-22  André Pönitz  <poenitz@gmx.net>
7163
7164         * undo_funcs.C: remove duplicated code
7165
7166         * iterator.[Ch]: operator=
7167
7168 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * tabular.C (SetMultiColumn): ws changes
7171
7172         * rowpainter.C (paintFirst): get rid of a ->previous
7173
7174         * lyx_cb.C (getPossibleLabel): parlist simplification
7175
7176         * BufferView.C (ChangeInsets): simplify slightly.
7177
7178 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7179
7180         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7181         * lfuns.h: new LFUN_SPACE
7182         * lyxfunc.C: protected space has a new lfun
7183         * paragraph_funcs.C: read new space insets
7184         * text3.C:
7185         * factory.C: handle new space insets
7186
7187 2003-05-22  André Pönitz  <poenitz@gmx.net>
7188
7189         * BufferView.C:
7190         * BufferView_pimpl.C:
7191         * buffer.[Ch]:
7192         * lyxfunc.C:
7193         * undo_funcs.C: return a ParIterator from getParFromID.
7194
7195         * iterators.[Ch]: add two const's
7196
7197 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * toc.C (getTocList): adjust
7200
7201         * iterators.[Ch]: rework for parlist
7202
7203         * buffer.C (par_iterator_begin): adjust
7204         (par_iterator_end): adjust
7205
7206         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7207
7208         * BufferView.C (removeAutoInsets): adjust
7209         (ChangeInsets): adjust
7210
7211 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7212
7213         * text.C (top_y): fix bug 1110
7214
7215 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7216
7217         * errorlist.[Ch]: added
7218         * buffer.C:
7219         * BufferView.[Ch]:
7220         * BufferView_pimpl.C:
7221         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7222         instead
7223
7224 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * Makefile.am: ensure that lyx is relinked upon changes to the
7227         various "convenience" libs.
7228
7229 2003-05-20  Angus Leeming  <leeming@lyx.org>
7230
7231         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7232         files are compiled in alphabetical order again.
7233
7234         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7235
7236 2003-05-19  Angus Leeming  <leeming@lyx.org>
7237
7238         * gettext.[Ch]: remove "char const * _(char const *)".
7239
7240 2003-05-19  André Pönitz  <poenitz@gmx.net>
7241
7242         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7243
7244         * Makefile.am:
7245         * BufferView.C:
7246         * DepTable.h:
7247         * LaTeXFeatures.C:
7248         * buffer.C:
7249         * lyxfont.C:
7250         * lyxlex.h:
7251         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7252
7253 2003-05-19  André Pönitz  <poenitz@gmx.net>
7254
7255         * buffer.C:
7256         * lyxlayout.[Ch]:
7257         * lyxtextclass.[Ch]:
7258         * paragraph.C:
7259         * paragraph_funcs.[Ch]:
7260         * text2.C:
7261         * text3.C: more insetenv work
7262
7263 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7264
7265         * ParagraphParameters.C (params2string): small bug fixed
7266
7267 2003-05-16  André Pönitz  <poenitz@gmx.net>
7268
7269         * debug.C:
7270         * bufferview_funcs.C: patch from Kornel Benko to prevent
7271           crash when _(...) is called twice in a statement
7272
7273 2003-05-16  André Pönitz  <poenitz@gmx.net>
7274
7275         * BufferView.C:
7276         * lyxfunc.C:
7277         * text.C:
7278         * text2.C:
7279         * text3.C:
7280         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7281
7282 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7283
7284         * lyx_main.C (init): remove spurious static_cast
7285
7286 2003-05-14  André Pönitz  <poenitz@gmx.net>
7287
7288         * BufferView.C: fix format string
7289
7290 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7291
7292         * BufferView.[Ch] (insertErrors): removed
7293         * BufferView.[Ch] (showErrorList): added
7294         * buffer.C (runChkTeX):
7295         * converter.C (scanLog): call showErrorList instead of inserterrors
7296
7297 2003-05-13  André Pönitz  <poenitz@gmx.net>
7298
7299         * BufferView_pimpl.C:
7300         * buffer.C:
7301         * bufferview_func.C:
7302         * MenuBackend.C:
7303         * lyxfunc.C:
7304         * lyxrc.C:
7305         * tex-accent.C:
7306         * text3.C:
7307         * toc.C:
7308         * tabular_funcs.h: tostr() from its own header
7309
7310         * ParagraphParameters.C:
7311         * ToolbarBackend.C:
7312         * bufferparams.C:
7313         * format.C:
7314         * lyxlex_pimpl.C:
7315         * text3.C: STRCONV()
7316
7317 2003-05-12  André Pönitz  <poenitz@gmx.net>
7318
7319         * BufferView.C:
7320         * BufferView_pimpl.C:
7321         * CutAndPaste.C:
7322         * LaTeX.C:
7323         * LaTeXFeatures.C:
7324         * ParagraphParameters.C:
7325         * buffer.C:
7326         * bufferlist.C:
7327         * bufferparams.C:
7328         * bufferview_funcs.C:
7329         * converter.C:
7330         * counters.C:
7331         * debug.C:
7332         * exporter.C:
7333         * format.C:
7334         * importer.C:
7335         * lyx_cb.C:
7336         * lyx_main.C:
7337         * lyxfont.C:
7338         * lyxfunc.C:
7339         * lyxvc.C:
7340         * paragraph.C:
7341         * paragraph_funcs.C:
7342         * tabular.C:
7343         * tabular_funcs.C:
7344         * text2.C:
7345         * text3.C:  boost::format -> bformat  all over the place
7346
7347
7348 2003-05-09  André Pönitz  <poenitz@gmx.net>
7349
7350         * LColor.[Ch]: Pimpl the #include <map> away
7351
7352 2003-05-09  John Levon  <levon@movementarian.org>
7353
7354         * bufferlist.C: never remove emergency saves
7355
7356 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7357
7358         * Makefile.am: better lib building
7359
7360 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7363         instead.
7364         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7365         (simpleTeXSpecialChars): adjust
7366         (simpleTeXSpecialChars): adjust
7367         * paragraph.C (simpleTeXOnePar): adjust
7368         * buffer.C (makeLaTeXFile): adjust
7369
7370         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7371
7372         * text2.C (changeDepth): parlist cleanup
7373         (getColumnNearX): ditto
7374
7375         * rowpainter.C (getLabelFont): parlist cleanup
7376
7377         * bufferlist.C (newFile): parlist cleanup
7378
7379         * CutAndPaste.C (eraseSelection): parlist cleanup
7380
7381         * BufferView_pimpl.C (trackChanges): parlist cleanup
7382         (dispatch): ditto
7383
7384         * BufferView.C (lockInset): parlist cleanup.
7385         (ChangeInsets): ditto
7386
7387 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * CutAndPaste.h: Update file header.
7390
7391         * CutAndPaste.C: Update file header.
7392         Store the parts cut out of the Document in a limited_stack.
7393         (copySelection): adjust
7394         (pasteSelection): new function, takes the index in the limited stack.
7395         (nrOfParagraphs): adjust
7396         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7397         simplify error inset insertion.
7398         (checkPastePossible): adjust
7399
7400 2003-05-06  John Levon  <levon@movementarian.org>
7401
7402         * text2.C: don't cast wrap inset to float
7403
7404 2003-05-05  André Pönitz  <poenitz@gmx.net>
7405
7406         * iterator.C:
7407         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7408
7409         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7410           few naked Paragraph *.
7411
7412 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7413
7414         * bufferparams.C: Output warning if a document with missing
7415         TeX document class is loaded
7416         * exporter.C: Disable TeX exports if the document class is missing
7417         * lyxtextclass.C:
7418         * lyxtextclass.h:
7419         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7420         isTeXClassAvailable()
7421
7422 2003-05-03  John Levon  <levon@movementarian.org>
7423
7424         * BufferView.h:
7425         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7426         explicit cursor show/hide
7427
7428         * BufferView_pimpl.h:
7429         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7430         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7431
7432         * lyxfunc.C: hide cursor before dispatching.
7433
7434         * lyx_cb.C:
7435         * lyxfind.C:
7436         * text.C:
7437         * text3.C: remove explicit cursor hides
7438
7439 2003-05-02  André Pönitz  <poenitz@gmx.net>
7440
7441         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7442
7443         * undo_funcs.C:
7444         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7445           linked lists
7446
7447         * text2.C: tiny whitespace
7448
7449 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7450
7451         * undo_funcs.C: almost only ws changes.
7452
7453         * ParagraphList.C (splice): just return if pl is empty.
7454
7455 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * ParagraphList.C (splice): new function.
7458
7459         * CutAndPaste.C (pasteSelection): use it
7460
7461 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7462
7463         * CutAndPaste.C (pasteSelection): remove the last next and
7464         previous from this file.
7465
7466 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7467
7468         * CutAndPaste.C (pasteSelection): more clean up, user proper
7469         ParagraphList functions for pasteing.
7470
7471         * ParagraphList.C (insert): new function, three arg insert
7472
7473 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * ParagraphList.C (insert): new function, three arg insert
7476
7477         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7478         not on paragraphs.
7479
7480 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7483
7484 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7487
7488 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7489
7490         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7491         (copySelection): clean up a bit.
7492         (pasteSelection): use make_pair
7493
7494         * ParagraphList.C (ParagraphList): implement copy constructor
7495         (operator=): implement, base on copy constructor.
7496         (assign): new func
7497
7498         * paragraph.C (erase): return a bool
7499
7500         * paragraph_pimpl.C (erasePos): remove function, move contents...
7501         (erase): ... here. Return a bool.
7502         (erase): call erase instead of erasePos.
7503
7504 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7505
7506         * ParagraphList.h: define PitPosPair
7507         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7508         ParagraphList, fix a bug on pasting multiple pars
7509         * text2.C: change interface to C&P
7510
7511 2003-04-30  André Pönitz  <poenitz@gmx.net>
7512
7513         * undo_func.C: revert part of yesterday's patch 2
7514
7515 2003-04-30  John Levon  <levon@movementarian.org>
7516
7517         * LColor.C: s/tabular/table/
7518
7519 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7520
7521         * text3.C (dispatch): do not convert iterator -> pointer
7522         * undo_funcs.C (setCursorParUndo): ditto
7523         * text_funcs.C (transposeChars): ditto
7524
7525         * text2.C (setLayout): ws changes only
7526
7527         * text.C (breakParagraph): do not convert iterator -> pointer
7528         (insertChar): ditto
7529         (acceptChange): ditto
7530         (rejectChange): ditto
7531         (changeCase): ditto
7532         (Delete): ditto
7533         (backspace): ditto
7534
7535         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7536         pointer
7537
7538 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7539
7540         * text3.C (gotoInset): YABG (yet another bad getChar)
7541
7542 2003-04-29  André Pönitz  <poenitz@gmx.net>
7543
7544         * paragraph.h: make operator= private unimplemented as long as
7545           it is unusable
7546
7547         * ParagraphList.C: whitespace
7548
7549         * paragraph.[Ch]:
7550         * paragraph_pimpl.[Ch]:
7551         * paragraph_funcs.C:
7552         * CutAndPaste.C:
7553         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7554
7555         * text2.C:
7556           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7557
7558 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7559
7560         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7561         * paragraph.[Ch] (erase):
7562         * paragraph_pimpl.[Ch] (erase): change return type and value
7563         * text2.C (cutSelection): some rework
7564
7565 2003-04-28  John Levon  <levon@movementarian.org>
7566
7567         * bufferlist.C: changes for unsaved changes dialog
7568
7569 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * bufferlist.C (newFile): set language (messages_) for new
7572         documents also.
7573
7574         * buffer.C (readFile): ws changes only.
7575
7576 2003-04-28  André Pönitz  <poenitz@gmx.net>
7577
7578         * undo_funcs.C:
7579         * lyxfunc.C:
7580         * buffer.[Ch]:
7581         * BufferView_pimpl.C:
7582         * BufferView.C: getParFromID related ParagraphList::iterator changes
7583
7584 2003-04-28  André Pönitz  <poenitz@gmx.net>
7585
7586         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7587           Changes
7588
7589 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * messages.C: remove one more localedir class variable.
7592
7593 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * messages.C (getLocaleDir): singleton generation function
7596         (Pimpl): use it.
7597         (Messages): add a default constructor.
7598
7599         * main.C (main): do not setup localedir here, do not call
7600         gettext_init.
7601
7602         * gettext.C (_): use it.
7603         (gettext_init): delete funciton
7604
7605 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * gettext.C (getLyXMessages): new singleton generating function.
7608
7609         * buffer.C (updateDocLang): adjust
7610
7611         * Makefile.am (messages.o): add target
7612         (main.o): remove target
7613
7614 2003-04-27  John Levon  <levon@movementarian.org>
7615
7616         * bufferlist.C:
7617         * lyx_cb.C:
7618         * lyxfunc.C:
7619         * lyxvc.C: specify cancel button in Alert::prompt
7620
7621 2003-04-26  John Levon  <levon@movementarian.org>
7622
7623         * text3.C:
7624         * lyxfunc.C:
7625         * lfuns.h:
7626         * LyXAction.C: add LFUN_INSET_SETTINGS
7627
7628         * lyxfunc.C: don't enable tabular-feature when there's
7629         just any locking inset
7630
7631 2003-04-26  John Levon  <levon@movementarian.org>
7632
7633         * bufferlist.C: re-add Cancel to buffer close question
7634
7635         * lyxfunc.C: fix import UI a bit
7636
7637 2003-04-25  John Levon  <levon@movementarian.org>
7638
7639         * gettext.C: remove the broken asserts for now
7640
7641 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7642
7643         * messages.C: make case where setlocale cannot comply work better.
7644
7645         * buffer.C (updateDocLang): new function
7646         (changeLanguage): use it
7647         (readFile): use it
7648
7649         * text2.C (setCounter): use B_ a bit.
7650
7651         * lyxlayout.C (Read): be sure to trim the label strings.
7652
7653         * messages.C (Messages): fix typo in comment
7654
7655         * buffer.C (readFile): set message_ after file is loaded.
7656         (makeDocBookFile): remove double return
7657         (changeLanguage): reset message_ upon language change.
7658         (B_): new func, use this to get translated buffer strings.
7659
7660         * main.C: add myself and Jean Marc as authors.
7661
7662 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * messages.[hC]: pimplify Messages, and three different pimpls to be
7665         used in different circumstances.
7666
7667         * gettext.[Ch]: change for use with new message code.
7668
7669 2003-04-24 André Pönitz <poenitz@gmx.net>
7670
7671         * factory.C: support for eqref
7672
7673 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * messages.[Ch]: add missing char
7676
7677         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7678
7679         * messages.[Ch]: New files
7680
7681 2003-04-18  John Levon  <levon@movementarian.org>
7682
7683         * BufferView.h:
7684         * BufferView.C:
7685         * BufferView_pimpl.C:
7686         * lfuns.h:
7687         * LyXAction.C:
7688         * lyxtext.h:
7689         * text2.C: remove layout-copy/paste (bug 778)
7690
7691 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7692
7693         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7694
7695 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7696
7697         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7698         if they succeed. Act accordingly.
7699
7700 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * text2.C (setCharFont): adjust
7703         (setCounter): adjust
7704         (insertStringAsLines): adjust
7705
7706         * text.C (leftMargin): adjust
7707         (setHeightOfRow): adjust
7708
7709         * rowpainter.C (paintFirst): adjust
7710         (paintLast): adjust
7711
7712         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7713         (outerHook): ditto
7714         (isFirstInSequence): ditto
7715         (getEndLabel): ditto
7716         (outerFont): adjust
7717
7718         * paragraph.C (getParLanguage): comment out some hard stuff.
7719
7720         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7721         (sgmlError): ditto
7722         (simpleDocBookOnePar): ditto
7723         (makeDocBookFile): use ParagraphList::iterator
7724
7725         * CutAndPaste.C (pasteSelection): adjust
7726
7727 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7728
7729         * text2.C (getFont): adjust
7730         (getLayoutFont): adjust
7731         (getLabelFont): adjust
7732
7733         * paragraph_funcs.C (TeXOnePar): adjust
7734
7735         * buffer.C (simpleLinuxDocOnePar): adjust
7736         (simpleDocBookOnePar): adjust
7737
7738         * CutAndPaste.C (pasteSelection): adjust
7739
7740         * BufferView.C (getEncoding): adjust
7741
7742         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7743
7744 2003-04-16  John Levon  <levon@movementarian.org>
7745
7746         * lyxfind.C: use parlist stuff for search/changes
7747
7748 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7751
7752         * text2.C (deleteEmptyParagraphMechanism): adjust
7753
7754         * text2.[Ch] (ownerParagraph): delete func (both of them
7755
7756 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7759
7760 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * ParagraphList.C: prepare for NO_NEXT
7763
7764 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * text2.C (getFont): adjust
7767         (getLayoutFont): adjust
7768         (getLabelFont): adjust
7769
7770         * paragraph.C (getFont): adjust
7771         (getLabelFont): adjust
7772         (getLayoutFont): adjust
7773
7774         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7775
7776 2003-04-15  John Levon  <levon@movementarian.org>
7777
7778         From Angus Leeming
7779
7780         * lyx_main.C: handle Include in .ui files
7781
7782 2003-04-15  John Levon  <levon@movementarian.org>
7783
7784         * MenuBackend.C: make the doc files length shorter
7785
7786         * ToolbarBackend.h:
7787         * ToolbarBackend.C: handle toolbar placement flags,
7788         Minibuffer
7789
7790 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7791
7792         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7793         adjust
7794
7795         * paragraph_funcs.C (TeXOnePar): adjust
7796
7797         * paragraph.C (getLabelFont): add outerfont arg, adjust
7798         (getLayoutFont): ditto
7799         (simpleTeXOnePar): adjust
7800
7801         * paragraph_pimpl.C (realizeFont): delete func
7802
7803 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7804
7805         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7806         row argument, constify cur argument.
7807
7808 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7809
7810         * text2.C (getFont): adjust
7811         (getLayoutFont): adjust
7812         (getLabelFont): adjust
7813
7814         * paragraph_funcs.C (TeXOnePar): adjust
7815         (outerFont): new func...
7816         (realizeFont): ...moved out from here, changed this to facilitate
7817         transition
7818
7819         * paragraph.C (getFont): take outerfont as arg, adjust
7820         (simpleTeXOnePar): add outerfont arg, adjust
7821
7822         * buffer.C (simpleLinuxDocOnePar): adjust
7823         (simpleDocBookOnePar): adjust
7824
7825         * CutAndPaste.C (pasteSelection): adjust
7826
7827         * BufferView.C (getEncoding): adjust
7828
7829 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7830
7831         * text2.C (setCharFont): adjust
7832         (setCounter): adjust
7833
7834         * text.C (leftMargin): adjust
7835         (setHeightOfRow): adjust
7836
7837         * rowpainter.C (paintFirst): adjust
7838         (paintLast): adjust
7839
7840         * paragraph_pimpl.C (realizeFont): adjust
7841
7842         * paragraph.C (isFirstInSequence): move from here...
7843         * paragraph_funcs.C (isFirstInSequence): ...to here
7844
7845         * paragraph.C (outerHook): move from here...
7846         * paragraph_funcs.C (outerHook): ...to here
7847
7848         * paragraph.C (depthHook): move from here...
7849         * paragraph_funcs.C (depthHook): ...to here
7850
7851         * paragraph.C (getEndLabel): move from here...
7852         * paragraph_funcs.C (getEndLabel): ...to here
7853
7854         * text2.C (realizeFont): move from here...
7855         * paragraph_funcs.C (realizeFont): ...to here
7856
7857 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7858
7859         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7860
7861 2003-04-14  Angus Leeming  <leeming@lyx.org>
7862
7863         * LColor.[Ch]: scrap LColor mathcursor.
7864
7865 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * lyxlex.[Ch] (text): delete function
7868         * trans.C (Load): adjust
7869         * paragraph_funcs.C (readParToken): adjust
7870
7871 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7872
7873         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7874         vector<char> instead of a char[].
7875
7876         * lyxlex_pimpl.C (getString): adjust
7877         (next): adjust
7878         (lex): use getString
7879         (eatLine): adjust
7880         (nextToken): adjust
7881
7882         * lyxlex.C (text): use pimpl_->getString()
7883         (getBool): ditto
7884         (findToken): ditto
7885
7886 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7889         (makeFontEntriesLayoutSpecific): temp var for par.size()
7890         (setLayout): temp var for ownerParagraphs().end()
7891         (fullRebreak): temp var for rows().end()
7892         (selectionAsString): temp var for boost::next(startpit), realize
7893         that the while really is a regular for loop.
7894         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7895         setCursor in one place.
7896         (setParagraph): temp vr for ownerParagraphs().end()
7897         (updateCounters): make the while loop a for loop
7898         (cutSelection): temp var for ownerParagraphs().end()
7899         (updateInset): make the do {} while() a regular for loop
7900         (getCursorX): use temp vars
7901         (setCurrentFont): use temp vars
7902         (getColumnNearX): use temp vars
7903
7904 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * text.C (transformChar): use temp var for getChar
7907         (computeBidiTables): use temp var for row->par()
7908         (fill): move temp vars for row->par() and pit->layout() earlier in
7909         the function.
7910         (labelFill): use temp var for row->par()
7911         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7912         asc and desc, realize that pit never changes and that firstpit is
7913         just a duplicate and not needed. Exchange rit->par() with pit in a
7914         lot of places.
7915         (breakAgain): use a temp var for boost::next(rit)
7916         (breakAgainOneRow): ditto
7917         (breakParagraph): use a temp var for rows().begin()
7918         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7919         (cursorRightOneWord): use temp var for cursor.par() and
7920         cursor.pos(), remove usage of tmpcursor.
7921         (cursorLeftOneWord): use temp var for cursor.par() and
7922         cursor.pos() only set cur at end of function.
7923
7924 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7925
7926         * text.C, text2.C: exchange all usage of Paragraph::next with
7927         boost::next(ParagraphList::iterator)
7928
7929         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7930
7931         * text2.C (cursorTop): simplify implementation
7932         (cursorBottom): ditto
7933         (setParagraph): use ParagraphList::iterator
7934         (setCurrentFont): adjust
7935         (getColumnNearX): adjust
7936         (cursorRight): adjust
7937         (cursorLeft): remove usage of Paragraph::previous
7938         (cursorUpParagraph): ditto
7939         (deleteEmptyParagraphMechanism): slight cleanup
7940
7941         * text.C (isBoundary): take a Paragraph const & instead of a
7942         pointer as arg.
7943         (addressBreakPoint): ditto
7944         (leftMargin): remove usage of Paragraph::previous.
7945         (setHeightOfRow): ditto
7946         (cursorLeftOneWord): ditto
7947         (selectNextWordToSpellcheck): ditto
7948         (Delete): ditto
7949         (backspace): ditto
7950         (breakParagraph): remove one usage of Paragraph::next
7951         (redoParagraph): ditto
7952         (acceptChange): ditto
7953         (insertChar): adjust
7954         (rowBreakPoint): adjust
7955
7956         * bufferview_funcs.C (toggleAndShow): adjust
7957
7958 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7959
7960         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7961         methods to access it.
7962         * lyxtext.h:
7963         * text.C: Added updateRowPositions to compute all row positions.
7964         Make top_y and getRowNearY() to use the cached y position
7965
7966 2003-04-11  John Levon  <levon@movementarian.org>
7967
7968         * text.C (rowBreakPoint): reintroduce the labelEnd
7969         checks, code copied from the row fill stuff. Deep voodoo.
7970
7971         * text.C (fill): add a comment and debugging for the
7972         next poor soul.
7973
7974 2003-04-11  John Levon  <levon@movementarian.org>
7975
7976         * text.C: make sure fullrow insets get wrapped to the next line,
7977         even when they're in a manual label
7978
7979 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * text2.C (insertParagraph): make it take ParagraphList::iterator
7982         as arg.
7983         (setLayout): make it return ParagraphList::iterator
7984         (redoParagraphs): ditto
7985         (setCounter): ditto
7986         (checkParagraph): ditto
7987
7988         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7989
7990         * text2.C: adjust several funcs.
7991         (realizeFont): take a ParagraphList::iterator as arg.
7992         (getLayoutFont): ditto
7993         (getLabelFont): ditto
7994         (setCharFont): ditto
7995
7996         * text.C: adjust several funcs.
7997
7998 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7999
8000         * text.C (selectNextWordToSpellcheck): don't accidentally
8001         skip insets
8002
8003 2003-04-10  John Levon  <levon@movementarian.org>
8004
8005         * ToolbarBackend.C (getIcon): special handling for
8006         LFUN_MATH_DELIM
8007
8008 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8009
8010         * text2.C (cursorRight): a getChar assert fixed
8011
8012 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * text2.C (getFont): change to take a ParagraphList::iterator
8015         instead of Paragraph*
8016         Adjust several functions.
8017
8018         * text.C (transformChar): change to take a ParagraphList::iterator
8019         instead of Paragraph*
8020         (singleWidth): ditto
8021         Adjust several functions.
8022
8023         * rowpainter.C: adjust several functions
8024         * rowpainter.h:store a ParagraphList::iterator and not a
8025         Paragraph&.
8026
8027
8028 2003-04-09  John Levon  <levon@movementarian.org>
8029
8030         * lyxfunc.C:
8031         * lfuns.h:
8032         * LyXAction.h:
8033         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8034         and the "help" bits as well
8035
8036 2003-04-09  John Levon  <levon@movementarian.org>
8037
8038         * ToolbarBackend.h:
8039         * ToolbarBackend.C: allow multiple toolbars
8040
8041 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8042
8043         * undo_funcs.C (setCursorParUndo): adjust
8044
8045         * text_funcs.C (transposeChars): adjust
8046
8047         * text3.C (gotoNextInset): adjust
8048         (dispatch): adjust
8049
8050         * text2.C (setLayout): adjust
8051         (changeDepth): adjust
8052         (setFont): adjust
8053         (redoParagraphs): adjust
8054         (selectionAsString): adjust
8055         (setParagraph): adjust
8056         (insertInset): adjust
8057         (cutSelection): adjust
8058         (copySelection): adjust
8059         (pasteSelection): adjust
8060         (insertStringAsLines): adjust
8061         (updateInset): adjust
8062         (setCursor): change to take a ParagraphList::iterator parameter
8063         (setCursorIntern): change to take a ParagraphList::iterator parameter
8064         (setCurrentFont): adjust
8065         (cursorLeft): adjust
8066         (cursorRight): adjust
8067         (deleteEmptyParagraphMechanism): adjust
8068
8069         * text.C (breakParagraph): adjust
8070         (insertChar): adjust
8071         (acceptChange): adjust
8072         (rejectChange): adjust
8073         (selectNextWordToSpellcheck): adjust
8074         (changeCase): adjust
8075         (Delete): adjust
8076         (backspace): adjust
8077
8078         * lyxfind.C (SearchForward): adjust
8079         (SearchBackward): adjust
8080         (nextChange): adjust
8081
8082         * lyxcursor.C (par): adjust
8083
8084         * lyxcursor.h: store a ParagraphList::iterator instead of a
8085         Paragraph*
8086
8087         * lyx_cb.C (getPossibleLabel): adjust
8088
8089         * bufferview_funcs.C (toggleAndShow): adjust
8090
8091         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8092         (dispatch): adjust
8093
8094         * BufferView.C (removeAutoInsets): adjust
8095         (lockedInsetStoreUndo): adjust
8096
8097 2003-04-09  John Levon  <levon@movementarian.org>
8098
8099         * ToolbarBackend.C: try icon without argument
8100         if with argument fails
8101
8102 2003-04-08  John Levon  <levon@movementarian.org>
8103
8104         * ToolbarBackend.h:
8105         * ToolbarBackend.C: add getIcon(), handle tooltip,
8106         and change from "Icon" to "Item".
8107
8108 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8109
8110         * BufferView.C (lockInset): another bad getchar crunched
8111
8112 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8113
8114         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8115         again)
8116
8117 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8118
8119         * lyxfind.C (searchForward, searchBackwards): bug 782
8120
8121 2003-04-07  John Levon  <levon@movementarian.org>
8122
8123         * paragraph.C: remove dead comment
8124
8125         * text.C: remove troublesome depth-fiddling code
8126         in leftMargin() and rightMargin() (bug 1017)
8127
8128         * text.C: fix breaking of rows in nested lists
8129         (bug 1004)
8130
8131         * text2.C (updateCounters): fix up depth values
8132         (bug 1013)
8133
8134 2003-04-07  John Levon  <levon@movementarian.org>
8135
8136         * BufferView_pimpl.C: clear message when doc finishes resizing,
8137         and after a mouse event
8138
8139         * lyxfunc.C: clear message after exiting inset
8140
8141 2003-04-07  John Levon  <levon@movementarian.org>
8142
8143         * bufferview_funcs.C: show math status not outside
8144         status in the statusbar
8145
8146 2003-04-07  John Levon  <levon@movementarian.org>
8147
8148         * lyxfunc.C: note status changed after a depth change
8149
8150 2003-04-04  Angus Leeming  <leeming@lyx.org>
8151
8152         * LaTeX.h: move AuxInfo operator==, != out of line.
8153         Remove LaTeX virtual destructor; nothing derives from it.
8154         Move operator()() out of public area and rename it startscript().
8155         Change protected for private.
8156
8157 2003-04-04  Angus Leeming  <leeming@lyx.org>
8158
8159         * lyxfunc.C:
8160         * text2.C: remove unneeded #includes.
8161
8162 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8163
8164         * text2.C (dEPM): fix the heigth of the next row
8165
8166 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8167
8168         * text.C: squashed an invalid getChar requester + some ws changes
8169
8170 2003-04-03  John Levon  <levon@movementarian.org>
8171
8172         * bufferview_funcs.h:
8173         * bufferview_funcs.C:
8174         * lyxfunc.C:
8175         * lyxtext.h:
8176         * text2.C: make getStatus work for the env depth lfuns
8177
8178 2003-04-03  John Levon  <levon@movementarian.org>
8179
8180         * bufferview_funcs.h:
8181         * bufferview_funcs.C:
8182         * lyxfunc.C:
8183         * lyxtext.h:
8184         * text2.C: parlistize decDepth(), by merging it with incDepth()
8185
8186 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * lyxrow.h: store a ParagraphList::iterator instead of a
8189         Paragraph* and adjust other class functions to suit.
8190
8191         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8192         above.
8193
8194 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8195
8196         * text2.C (setCursor): do not anchor to cursor row for the time being
8197
8198 2003-04-02  John Levon  <levon@movementarian.org>
8199
8200         * LyXAction.C:
8201         * lfuns.h:
8202         * lyx_main.C:
8203         * lyxtext.h:
8204         * text.C:
8205         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8206
8207 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * paragraph.h: make ParagraphList and ParagraphList::iterator
8210         friends of Paragraph.
8211
8212         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8213
8214         * ParagraphList.C: Use the private next_ and previous_ from
8215         Paragraph.
8216
8217 2003-04-01  John Levon  <levon@movementarian.org>
8218
8219         * ToolbarBackend.h:
8220         * ToolbarBackend.C:
8221         * Makefile.am: rename, remove defaults gunk
8222
8223         * MenuBackend.h:
8224         * MenuBackend.C: remove defaults gunk
8225
8226         * Languages.h:
8227         * Languages.C: remove defaults gunk
8228
8229         * lyx_main.h:
8230         * lyx_main.C: error out if files couldn't be found.
8231
8232 2003-04-02  John Levon  <levon@movementarian.org>
8233
8234         * text2.C: make incDepth() use parlist
8235
8236 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * undo_funcs.C (firstUndoParagraph): adjust
8239
8240         * text3.C (gotoInset): adjust
8241         (dispatch): adjust, and rewrite loop.
8242
8243         * text2.C (init): adjust, and rewrite loop.
8244         (redoParagraphs): adjust
8245         (updateInset): adjust, and rewrite loop.
8246         (deleteEmptyParagraphMechanism): adjust
8247
8248         * tabular.C (LyXTabular): adjust
8249         (SetMultiColumn): adjust
8250         (TeXRow): adjust
8251
8252         * lyxtext.[Ch] (ownerParagraph): delete function
8253         (ownerParagraphs): new function returns a ParagraphList.
8254
8255         * BufferView.C (removeAutoInsets): adjust
8256         (insertErrors): adjust
8257         (setCursorFromRow): adjust
8258
8259 2003-04-01  Angus Leeming  <leeming@lyx.org>
8260
8261         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8262         in the frontends.
8263
8264 2003-04-02  John Levon  <levon@movementarian.org>
8265
8266         * lyxtext.h:
8267         * text.C:
8268         * Makefile.am:
8269         * text_funcs.h:
8270         * text_funcs.C: make transposeChars a free function
8271
8272         * lyxrow_funcs.C: remove wrong comment
8273
8274 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8275
8276         * lyxtext.h: adjust
8277         * rowpainter.C: adjust
8278         * text.C: adjust
8279         * text2.C: adjust
8280         * text3.C: adjust
8281
8282         * lyxrow_funcs. [Ch]: new files
8283
8284         * lyxrow.[Ch]: remove next and previous pointers
8285         (next,previous): remove accessor functions
8286         (isParEnd): move to lyxrow_funcs
8287         (lastPos): move to lyxrow_funcs
8288         (nextRowIsAllInset): move to lyxrow_funcs
8289         (lastPrintablePos): move to lyxrow_funcs
8290         (numberOfSeparators): move to lyxrow_funcs
8291         (numberOfHfills): move to lyxrow_funcs
8292         (numberOfLabelHfills): move to lyxrow_funcs
8293         (hfillExpansion): move to lyxrow_funcs
8294
8295         * lyxfunc.C: adjust
8296
8297         * bufferview_funcs.C (toggleAndShow): adjust
8298
8299         * RowList.h: Remove class RowList from file leave just a
8300         std::list<Row>.
8301
8302         * RowList.C: delete file
8303
8304         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8305         and lyxrow_funcs.h
8306
8307 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8308
8309         * text3.C (cursorPrevious): adjust
8310         (cursorNext): adjust
8311         (dispatch): adjust
8312
8313         * text2.C (redoHeightOfParagraph): adjust
8314         (redoDrawingOfParagraph): adjust
8315         (setCursor): adjust
8316
8317         * text.C (breakParagraph): adjust
8318         (insertChar): adjust
8319         (backspace): adjust
8320
8321         * rowpainter.C (RowPainter): adjust
8322         (leftMargin): simplify and adjust
8323         (most rowpainter functions): adjust.
8324
8325         * rowpainter.h: store the row as RowList::iterator not as Row*
8326
8327         * lyxcursor.C (row): taka RowList::iterator as arg
8328         (irow): ditto
8329
8330         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8331         of Row*.
8332
8333 2003-04-01  Angus Leeming  <leeming@lyx.org>
8334
8335         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8336         stuff like bool Bool.
8337
8338 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8339
8340         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8341         rewrite a loop
8342
8343 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8346         RowList::iterator.
8347
8348         * lyxtext.h (rows): drop one version and leve a const variant that
8349         returns a RowList::iterator.
8350
8351 2003-03-31  Angus Leeming  <leeming@lyx.org>
8352
8353         * text.C (fill): ensure that the signature is the same as that in the
8354         header file.
8355
8356 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * text2.C (redoParagraphs): adjust
8359         (updateCounters): adjust
8360         (checkParagraph): adjust
8361         (getColumnNearX): adjust and reformat a bit.
8362
8363         * text.C (top_y): adjust
8364         (workWidth): adjust
8365         (leftMargin): adjust
8366         (prepareToPrint): adjust
8367         (getRow): adjust
8368         (getRowNearY): adjust
8369
8370         * lyxtext.h: make rowlist_ mutable.
8371
8372         * RowList.h: add const_iterator
8373         * RowList.C: adjust for RowList::const_iterator.
8374
8375         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8376         adjust.
8377
8378 2003-03-31  John Levon  <levon@movementarian.org>
8379
8380         * lyxrc.h:
8381         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8382
8383         * lyx_main.C: set default fonts from using lyx_gui funcs
8384
8385         * exporter.C: pdf_mode moved from lyxrc
8386
8387         * lyx_cb.C:
8388         * lyxfunc.C: changes from above
8389
8390 2003-03-31  John Levon  <levon@movementarian.org>
8391
8392         * lyx_main.C: fix to the last fix
8393
8394 2003-03-31  John Levon  <levon@movementarian.org>
8395
8396         * bufferlist.C: "Load original" -> "Load Original"
8397
8398         * converter.C:
8399         * exporter.C:
8400         * importer.C:
8401         * lyx_main.C:
8402         * format.C: more Alert cleanups
8403
8404 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * text2.C (removeParagraph): make it take a RowList::iterator as
8407         arg, adjust.
8408         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8409         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8410
8411         * text.C (anchor_row): make it take a RowList::iterator as arg,
8412         adjust.
8413         (computeBidiTables): make it take a const reference to Row instead
8414         of Row pointer, adjust.
8415         (leftMargin): make it take a RowList::iterator as arg, adjust.
8416         (rowBreakPoint): adjust
8417         (breakAgainOneRow): make it take a RowList::iterator as arg,
8418         adjust.
8419         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8420
8421         * bufferview_funcs.C (toggleAndShow): adjust
8422
8423 2003-03-30  John Levon  <levon@movementarian.org>
8424
8425         * Makefile.am:
8426         * BoostFormat.h:
8427         * boost-inst.C: moved to support
8428
8429         * several files: changes as a result
8430
8431 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * text2.C (LyXText): adjust.
8434         (init): adjust
8435         (removeRow): make it take a RowList::iterator as arg, adjust.
8436         (fullRebreak): adjust
8437         (deleteEmptyParagraphMechanism): adjust
8438         (clearPaint): adjust
8439         (postPaint): adjust
8440
8441         * text.C (top_y): adjust
8442         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8443         (breakAgain): make it take a RowList::iterator as arg, adjust.
8444         (breakParagraph): adjust
8445         (insertChar): adjust
8446         (backspace): adjust
8447
8448         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8449         need_break_row, and refresh_row.
8450
8451         * text3.C (dispatch): adjust
8452
8453         * text2.C (checkParagraph): adjust
8454         (setCursor): adjust
8455         (setCursorFromCoordinates): adjust
8456
8457         * text.C (top_y): adjust
8458         (workWidth): adjust
8459         (getRow): make it return a RowList::iterator, adjust
8460         (getRowNearY): make it return a RowList::iterator, adjust
8461
8462         * text2.C (init): adjust
8463         (insertRow): remove function
8464         (insertParagraph): adjust
8465         (redoParagraphs): adjust
8466         (fullRebreak): adjust
8467         (updateCounters): adjust
8468
8469         * text.C (top_y): rewrite to use RowList iterators.
8470         (top_y): adjust
8471         (setHeightOfRow): rewrite to sue RowList iterators.
8472         (appendParagraph): adjust
8473         (breakAgain): adjust
8474         (breakAgainOneRow): adjust
8475         (breakParagraph): adjust
8476         (getRow): adjust
8477         (getRowNearY): adjust, and remove commented code.
8478
8479         * lyxtext.h (firstRow): delete function
8480         (lastRow): delete function
8481         (rows): new function (const and non-const versions.)
8482         (insertRow): delete function
8483
8484         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8485
8486 2003-03-29  John Levon  <levon@movementarian.org>
8487
8488         * BufferView_pimpl.C: always update scrollbar top
8489         because pasting text when we're anchored could mean we
8490         miss an update altogether
8491
8492 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * text2.C (init): use rowlist_.end() and not 0.
8495         (insertRow): change to take a RowList::iterator as arg, adjust
8496         for this.
8497         (insertParagraph): change to take a RowList::iterator as arg,
8498         adjust for this.
8499         (redoParagraphs): remove some debug msgs.
8500
8501         * text.C (appendParagraph): change to take a RowList::iterator
8502         arg, adjust for this.
8503         (breakAgain): add an assert
8504         (breakAgainOneRow): ditto
8505
8506 2003-03-29  John Levon  <levon@movementarian.org>
8507
8508         * text2.C: do not clear selection after inc/decDepth
8509         (bug 550)
8510
8511 2003-03-29  John Levon  <levon@movementarian.org>
8512
8513         * BufferView.C:
8514         * buffer.C: fix broken strerrors according to Lars
8515
8516 2003-03-29  John Levon  <levon@movementarian.org>
8517
8518         * converters.C: more Alert cleanups
8519
8520 2003-03-29  John Levon  <levon@movementarian.org>
8521
8522         * bufferview_funcs.C: remove pointless Alert
8523
8524         * buffer.C: fix confusing error message when
8525         a template is chmoded 000
8526
8527 2003-03-29  John Levon  <levon@movementarian.org>
8528
8529         * BufferView.C:
8530         * BufferView.h:
8531         * BufferView_pimpl.C: Alert fixes
8532
8533         * Makefile.am:
8534         * tabular.C:
8535         * tabular-old.C: remove unused table compat reading
8536
8537 2003-03-29  John Levon  <levon@movementarian.org>
8538
8539         * BufferView.C:
8540         * buffer.C:
8541         * lyx_cb.h:
8542         * lyx_cb.C: more Alert cleanups
8543
8544         * lyxfunc.C: don't allow chktex if not latex document
8545
8546 2003-03-29  John Levon  <levon@movementarian.org>
8547
8548         * lyx_cb.C:
8549         * BufferView.C:
8550         * buffer.C: warnings pushed down from support/,
8551         kill err_alert
8552
8553 2003-03-29  John Levon  <levon@movementarian.org>
8554
8555         * lyxfunc.C: safety check for C-r (revert)
8556
8557 2003-03-29  John Levon  <levon@movementarian.org>
8558
8559         * bufferlist.h:
8560         * bufferlist.C: several UI fixes using Alert::prompt.
8561         Fix the pointless looping quit code. Fix stupid revert
8562         behaviour (bug 938)
8563
8564         * lyxvc.h:
8565         * lyxvc.C:
8566         * lyx_cb.C: use Alert::prompt
8567
8568         * lyx_main.C: remove a silly question
8569
8570         * lyxfunc.C: remove a couple of silly questions,
8571         use Alert::prompt
8572
8573 2003-03-28  John Levon  <levon@movementarian.org>
8574
8575         * text2.C: fix bug 974 (End on empty par)
8576
8577 2003-03-28  John Levon  <levon@movementarian.org>
8578
8579         * BufferView_pimpl.C:
8580         * LyXAction.C:
8581         * lfuns.h: remove do-nothing math greek lfuns
8582
8583 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * lyxgluelength.h (isValidGlueLength): add default arg on
8586         parameter 2. Remove default arg from friend in class.
8587
8588         * lyxlength.h (isValidLength): add default arg on parameter 2.
8589         Remove default arg from friend in class.
8590
8591         * text2.C (LyXText): adjust, initialize refresh_row.
8592         (init): adjust
8593         (removeRow): adjust
8594         (insertRow): adjust
8595         (insertParagraph): adjst
8596         (redoParagraphs): adjust
8597         (fullRebreak): adjust
8598         (updateCounters): adjust
8599         (deleteEmptyParagraphMechanism): first attempt at fixing a
8600         crashing bug.
8601
8602         * text.C (top_y): adjust
8603         (setHeightOfRow): adjust
8604         (getRow): adjust
8605         (getRowNearY): adjust
8606
8607         * lyxtext.h: include RowList.h
8608         (~LyXText): not needed anymore, deleted.
8609         (firstRow): modify for RowList
8610         (lastRow): new function
8611         Delete firstrow and lastrow class variables, add a Rowlist
8612         rowlist_ class variable.
8613
8614         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8615         paragraph is empty.
8616
8617         * RowList.C (insert): fix case where it == begin().
8618
8619 2003-03-26  Angus Leeming  <leeming@lyx.org>
8620
8621         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8622         the thesaurus dialog.
8623
8624 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8625
8626         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8627
8628         * RowList.[Ch]: new files
8629
8630         * ParagraphList.C (erase): handle the case where it == begin
8631         correctly.
8632
8633 2003-03-25  John Levon  <levon@movementarian.org>
8634
8635         * Makefile.am:
8636         * aspell_local.h:
8637         * aspell.C: add new aspell support
8638
8639         * lyxrc.h:
8640         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8641         have it accessible.
8642
8643 2003-03-25  Angus Leeming  <leeming@lyx.org>
8644
8645         * lfuns.h:
8646         * LyXAction.C (init): new LFUN_INSET_INSERT.
8647
8648         * BufferView_pimpl.C (dispatch): split out part of the
8649         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8650
8651         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8652         LFUN_INSET_APPLY.
8653
8654 2003-03-25  Angus Leeming  <leeming@lyx.org>
8655
8656         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8657
8658 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8659
8660         * text2.C:
8661         * text3.C: remove useless row->height(0)
8662
8663 2003-03-25  John Levon  <levon@movementarian.org>
8664
8665         * lyxtext.h:
8666         * text2.C:
8667         * text3.C: rename the refreshing stuff to better names
8668
8669 2003-03-24  John Levon  <levon@movementarian.org>
8670
8671         * BufferView_pimpl.h:
8672         * BufferView_pimpl.C: update layout choice on a mouse
8673         press/release
8674
8675 2003-03-23  John Levon  <levon@movementarian.org>
8676
8677         * Makefile.am: fix commandtags.h reference
8678
8679 2003-03-22  John Levon  <levon@movementarian.org>
8680
8681         * BufferView_pimpl.C:
8682         * lyxtext.h:
8683         * rowpainter.C:
8684         * rowpainter.h:
8685         * text.C:
8686         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8687
8688 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8689
8690         * lyxtext.h:
8691         * text.C: take the rtl methods out of line
8692
8693 2003-03-21 André Pönitz <poenitz@gmx.net>
8694
8695         * metricsinfo.[Ch]: new files containing structures to be passed around
8696         during the two-phase-drawing...
8697
8698 2003-03-21 André Pönitz <poenitz@gmx.net>
8699
8700         * lyxtextclass.C: read 'environment' tag.
8701
8702 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8703
8704         * text2.C (removeRow): fix bug 964
8705
8706 2003-03-20  John Levon  <levon@movementarian.org>
8707
8708         * rowpainter.C:
8709         * text.C:
8710         * text2.C: paint cleanups. Inset::update() dropped font
8711         parameter
8712
8713 2003-03-19  John Levon  <levon@movementarian.org>
8714
8715         * lyxfunc.C: only fitcursor/markDirty if available()
8716
8717 2003-03-19  John Levon  <levon@movementarian.org>
8718
8719         * commandtags.h: rename to ...
8720
8721         * lfuns.h: ... this, and renumber / cleanup
8722
8723 2003-03-19  John Levon  <levon@movementarian.org>
8724
8725         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8726         fit the cursor after an lfun
8727
8728         * BufferView.h:
8729         * BufferView.C:
8730         * BufferView_pimpl.h:
8731         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8732
8733         * LyXAction.C: layout-character should have ReadOnly
8734
8735         * ParagraphParameters.C:
8736         * buffer.C:
8737         * bufferview_funcs.C:
8738         * lyx_cb.C:
8739         * lyxfind.C:
8740         * lyxtext.h:
8741         * text.C:
8742         * text2.C:
8743         * text3.C:
8744         * undo_funcs.C: changes from above
8745
8746 2003-03-18  John Levon  <levon@movementarian.org>
8747
8748         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8749         remove it from update()
8750
8751         * lyxfunc.C: update layout choice after an lfun
8752
8753         * text3.C: remove extra updateLayoutChoice()s
8754
8755 2003-03-18  John Levon  <levon@movementarian.org>
8756
8757         * text.C: top_y change means full repaint, fix
8758         a drawing bug with cursor movement
8759
8760 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8761
8762         * lyxtext.h:
8763         * text.C:
8764         * text2.C: anchor row on setCursor
8765
8766 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8767
8768         * lyxtext.h: remove almost all mutable keywords
8769         * text.C:
8770         * text2.C:
8771         * text3.C: remove const keywords accordingly
8772
8773 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8776         anon namespace
8777         (TeXEnvironment): ditto
8778         (TeXOnePar): ditto
8779
8780 2003-03-17  John Levon  <levon@movementarian.org>
8781
8782         * text.C (rowBreakPoint): remove attempt to fix displayed
8783         math insets inside a manual label
8784
8785 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8786
8787         * lyxtext.h: remove BufferView* as first arg from almost all class
8788         functions.
8789         * other files: adjust.
8790
8791 2003-03-17  John Levon  <levon@movementarian.org>
8792
8793         * lyxtext.h:
8794         * undo_funcs.C:
8795         * text2.C: more paint cleanups
8796
8797         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8798
8799         * rowpainter.h:
8800         * rowpainter.C: remove "smart" background painting code
8801
8802 2003-03-16  John Levon  <levon@movementarian.org>
8803
8804         * lyxtext.h:
8805         * text.C:
8806         * text2.C:
8807         * text3.C: add helper functions for setting refresh_row/y
8808
8809 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8810
8811         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8812         newline inset which *can* get inserted in the pass_thru layouts.
8813         This is primarily for literate documents.
8814
8815 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8816
8817         * buffer.C: increment LYX_FORMAT to 223
8818
8819 2003-03-14 André Pönitz <poenitz@gmx.net>
8820
8821         * textclass.h: prepare for environment handling, ws changes
8822         * lyxlayout.C: read latexheader and latexfooter tags
8823
8824 2003-03-14  John Levon  <levon@movementarian.org>
8825
8826         * text2.C: rewrite ::status() a bit
8827
8828 2003-03-13  John Levon  <levon@movementarian.org>
8829
8830         * lyxtext.h: add some docs
8831
8832 2003-03-13  John Levon  <levon@movementarian.org>
8833
8834         * lyxtext.h:
8835         * text.C:
8836         * text2.C:
8837         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8838
8839 2003-03-13  John Levon  <levon@movementarian.org>
8840
8841         * text3.C: fix appendix redrawing
8842
8843 2003-03-13  John Levon  <levon@movementarian.org>
8844
8845         * text.C (setHeightOfRow):
8846         * rowpainter.h:
8847         * rowpainter.C: make appendix mark have the text
8848           "Appendix" so the user knows what it is
8849
8850         * LColor.h:
8851         * LColor.C: s/appendixline/appendix/ from above
8852
8853 2003-03-13  John Levon  <levon@movementarian.org>
8854
8855         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8856
8857         * text.C: fix a getChar(pos) bug properly
8858
8859 2003-03-13  Angus Leeming  <leeming@lyx.org>
8860
8861         * commandtags.h:
8862         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8863         Probably only temporary. Let's see how things pan out.
8864
8865         * BufferView.C (unlockInset):
8866         * BufferView_pimpl.C (fitCursor):
8867         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8868
8869         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8870         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8871
8872         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8873         new functions that convert ParagraphParameters to and from a string.
8874
8875         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8876         BufferView::Pimpl's dispatch.
8877         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8878
8879 2003-03-13 André Pönitz <poenitz@gmx.net>
8880
8881         * lyxfunc.C:
8882         * text3.C:
8883         * factory.C: make it aware of InsetEnv
8884
8885 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * text2.C (setCursor): never ask for one past last
8888         (setCursor): add some debugging messages.
8889
8890         * text.C (singleWidth): never ask for one past last
8891         (singleWidth): ditto
8892         (leftMargin): ditto
8893         (rightMargin): ditto
8894         (rowBreakPoint): ditto
8895         (setHeightOfRow): ditto
8896         (prepareToPrint): ditto
8897
8898         * rowpainter.C (paintBackground): never ask for one past last
8899         (paintText): never ask for one past last
8900
8901         * paragraph_pimpl.C (getChar): make the assert stricter, never
8902         allow the one past last pos to be taken
8903
8904         * paragraph.C (getChar): ws changes only
8905
8906         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8907         (numberOfSeparators): ditto
8908         (numberOfHfills): ditto
8909
8910 2003-03-12  John Levon  <levon@movementarian.org>
8911
8912         * author.h:
8913         * author.C:
8914         * bufferparams.h:
8915         * bufferparams.C:
8916         * paragraph_funcs.C: fix per-buffer authorlists
8917
8918 2003-03-12  John Levon  <levon@movementarian.org>
8919
8920         * text.C: fix newline in right address
8921
8922 2003-03-12  Angus Leeming  <leeming@lyx.org>
8923
8924         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8925         duplicate those in LyXFunc::dispatch.
8926
8927         * commandtags.h:
8928         * LyXAction.C:
8929         * ToolbarDefaults.C:
8930         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8931         Add LFUN_FONTFREE_UPDATE.
8932
8933         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8934         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8935
8936         * bufferview_func.[Ch]: several new functions to facilliate
8937         transfer of data to and from the character dialog.
8938
8939 2003-03-12  John Levon  <levon@movementarian.org>
8940
8941         * buffer.C:
8942         * paragraph.h:
8943         * paragraph.C:
8944         * paragraph_funcs.C:
8945         * paragraph_pimpl.C:
8946         * sgml.C:
8947         * tabular.C:
8948         * text.C:
8949         * text3.C: remove META_NEWLINE in favour of an inset
8950
8951         * rowpainter.h:
8952         * rowpainter.C: remove paintNewline (done by inset)
8953
8954 2003-03-12  John Levon  <levon@movementarian.org>
8955
8956         * paragraph_pimpl.C: complain about bad getChar()s
8957         for a while at least
8958
8959 2003-03-12  John Levon  <levon@movementarian.org>
8960
8961         * buffer.h:
8962         * buffer.C: move paragraph read into a separate function,
8963         a little renaming to reflect that.
8964
8965         * bufferparams.h:
8966         * bufferparams.C: remove the author_ids map, not necessary now
8967
8968         * factory.h:
8969         * factory.C: moved Buffer::readInset to here
8970
8971         * paragraph_funcs.h:
8972         * paragraph_funcs.C: readParagraph free function moved from
8973         buffer.C
8974
8975         * tabular.C: name change
8976
8977 2003-03-12  John Levon  <levon@movementarian.org>
8978
8979         * buffer.C:
8980         * ParagraphParameters.C: move par params input to
8981         a read() method
8982
8983         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8984         behave like a normal read from the stream wrt reading
8985         a line vs. a \\token
8986
8987 2003-03-12  John Levon  <levon@movementarian.org>
8988
8989         * paragraph.C:
8990         * ParagraphParameters.h:
8991         * ParagraphParameters.C: move output code to a
8992         ::write() method
8993
8994 2003-03-12  John Levon  <levon@movementarian.org>
8995
8996         * BufferView.C (insertLyXFile):
8997         * buffer.h:
8998         * buffer.C:
8999         * tabular.C: use a parlist iterator for creating the
9000           document.
9001
9002 2003-03-12  John Levon  <levon@movementarian.org>
9003
9004         * buffer.C: make current_change static local not
9005           static file-scope
9006
9007 2003-03-12  John Levon  <levon@movementarian.org>
9008
9009         * buffer.C: fix insertStringAsLines for change tracking
9010
9011 2003-03-12  John Levon  <levon@movementarian.org>
9012
9013         * BufferView.C:
9014         * tabular.C:
9015         * buffer.h:
9016         * buffer.C:
9017         * bufferparams.h:
9018         * bufferparams.C: move author list into params. Rename some
9019           functions. Move the header reading into a separate token
9020           loop. Move the header token reading into BufferParams.
9021
9022 2003-03-12  John Levon  <levon@movementarian.org>
9023
9024         * changes.C: put debug inside lyxerr.debugging() checks
9025
9026 2003-03-11 André Pönitz <poenitz@gmx.net>
9027
9028         * factory.C: make it aware of InsetHFill
9029
9030 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9031
9032         * buffer.C (latexParagraphs): move function from here...
9033         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9034         args.
9035
9036 2003-03-10  Angus Leeming  <leeming@lyx.org>
9037
9038         * LyXAction.C (init): fix bug in poplating array with multiple entries
9039         with the same LFUN (spotted by JMarc).
9040
9041 2003-03-10  John Levon  <levon@movementarian.org>
9042
9043         * text.C:
9044         * text2.C: move getColumnNearX() near its
9045         only call site
9046
9047 2003-03-10  John Levon  <levon@movementarian.org>
9048
9049         * text.C: fix break before a minipage
9050
9051 2003-03-10  John Levon  <levon@movementarian.org>
9052
9053         * text.C: fix the last commit
9054
9055 2003-03-09  John Levon  <levon@movementarian.org>
9056
9057         * lyxtext.h:
9058         * text.C:
9059         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9060         bug 365 (don't break before insets unless needed). Don't
9061         return a value > last under any circumstances.
9062
9063 2003-03-09  Angus Leeming  <leeming@lyx.org>
9064
9065         * BufferView_pimpl.C (trackChanges, dispatch): call
9066         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9067
9068 2003-03-09  Angus Leeming  <leeming@lyx.org>
9069
9070         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9071         than Dialogs::showAboutlyx().
9072
9073 2003-03-09  Angus Leeming  <leeming@lyx.org>
9074
9075         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9076         than Dialogs::showTabularCreate().
9077
9078 2003-03-09  John Levon  <levon@movementarian.org>
9079
9080         * lyxtext.h:
9081         * text.C:
9082         * text2.C: 3rd arg to nextBreakPoint was always the same.
9083           Use references.
9084
9085 2003-03-08  John Levon  <levon@movementarian.org>
9086
9087         * lyxrow.C:
9088         * paragraph.C:
9089         * paragraph.h:
9090         * rowpainter.C:
9091         * text.C:
9092         * text2.C: Remove the "main" bit from the "main body"
9093           notion.
9094
9095 2003-03-08  John Levon  <levon@movementarian.org>
9096
9097         * text.C (leftMargin): The left margin of an empty
9098         manual label paragraph should not include the label width
9099         string length.
9100
9101         * text.C (prepareToPrint): don't attempt to measure hfills
9102         for empty manual label paragraphs - the answer should be 0
9103
9104 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9105
9106         * CutAndPaste.C: remove commented code and reindent.
9107
9108 2003-03-08  John Levon  <levon@movementarian.org>
9109
9110         * lyxfunc.h:
9111         * lyxfunc.C: move reloadBuffer()
9112
9113         * BufferView.h:
9114         * BufferView.C: to here
9115
9116         * lyxvc.C: add comment
9117
9118         * vc-backend.h:
9119         * vc-backend.C: call bv->reload() to avoid
9120           getStatus() check on MENURELOAD
9121
9122 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9123
9124         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9125         to an old format .dep file.
9126
9127 2003-03-07  Angus Leeming  <leeming@lyx.org>
9128
9129         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9130         when the LFUN_MOUSE_RELEASE should have been handled by
9131         inset->localDispatch.
9132
9133 2003-03-07  Angus Leeming  <leeming@lyx.org>
9134
9135         * BufferView_pimpl.C (dispatch):
9136         * LyXAction.C (init):
9137         * ToolbarDefaults.C (init):
9138         * commandtags.h:
9139         * lyxfunc.C (getStatus):
9140         remove LFUN_INSET_GRAPHICS.
9141
9142         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9143
9144 2003-03-07  Angus Leeming  <leeming@lyx.org>
9145
9146         * commandtags.h:
9147         * LyXAction.C (init):
9148         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9149
9150         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9151
9152         * commandtags.h:
9153         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9154
9155         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9156         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9157
9158 2003-03-07  Angus Leeming  <leeming@lyx.org>
9159
9160         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9161         remove "ert".
9162
9163 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * ParagraphList.C (front): new function
9166         (back): implement
9167
9168 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9169
9170         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9171         and top_row_offset_. removed var first_y.
9172         * text.C (top_y):
9173         * text2.C (LyXText, removeRow):
9174         * text3.C:
9175         * BufferView_pimpl.C:
9176         use these methods instead of using first_y
9177
9178 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9179
9180         * text2.C (pasteSelection): adjust for checkPastePossible
9181
9182         * CutAndPaste.C: remove Paragraph * buf and replace with
9183         ParagraphList paragraphs.
9184         (DeleteBuffer): delete
9185         (cutSelection): change the tc type to textclass_type
9186         (copySelection): change the tc type to textclass_type
9187         (copySelection): adjust for ParagraphList
9188         (pasteSelection): change the tc type to textclass_type
9189         (pasteSelection): adjust for Paragraphlist
9190         (nrOfParagraphs): simplify for ParagraphList
9191         (checkPastePossible): simplify for ParagraphList
9192         (checkPastePossible): remove unused arg
9193
9194         * ParagraphList.C (insert): handle the case where there are no
9195         paragraphs yet.
9196
9197         * CutAndPaste.h: make CutAndPaste a namespace.
9198
9199         * text3.C (dispatch): adjust
9200
9201         * text.C (breakParagraph): add a ParagraphList as arg
9202
9203         * paragraph_funcs.C (breakParagraph): change to take a
9204         BufferParams and a ParagraphList as args.
9205         (breakParagraphConservative): ditto
9206         (mergeParagraph): ditto
9207         (TeXDeeper): add a ParagraphList arg
9208         (TeXEnvironment): ditto
9209         (TeXOnePar): ditto
9210
9211         * buffer.C (readLyXformat2): adjust
9212         (insertStringAsLines): adjust
9213         (latexParagraphs): adjust
9214
9215         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9216         (cutSelection): adjust
9217         (pasteSelection): adjust
9218
9219         * BufferView_pimpl.C (insertInset): adjust
9220
9221 2003-03-05  Angus Leeming  <leeming@lyx.org>
9222
9223         * commandtags.h:
9224         * LyXAction.C (init):
9225         * BufferView_pimpl.C (dispatch):
9226         * lyxfunc.C (getStatus):
9227         remove LFUN_CHILD_INSERT.
9228
9229         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9230
9231 2003-03-05  Angus Leeming  <leeming@lyx.org>
9232
9233         * commandtags.h:
9234         * LyXAction.C (init):
9235         * src/factory.C (createInset):
9236         * lyxfunc.C (getStatus):
9237         * text3.C (dispatch):
9238         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9239
9240         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9241
9242 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9243
9244         * ParagraphList.C (insert): handle insert right before end()
9245         (erase): fix cases where it can be first or last paragraph.
9246
9247 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9248
9249         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9250         Paragraph::next and Paragraph::previous
9251         (TeXOnePar): ditto
9252
9253         * text.C (breakParagraph): adjust
9254
9255         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9256         BufferParams& as arg.
9257         (breakParagraph): use ParagraphList::insert
9258         (breakParagraphConservative): take a Buffer* instead of a
9259         BufferParams& as arg.
9260         (breakParagraphConservative): use ParagraphList::insert.
9261
9262         * buffer.C (insertStringAsLines): un-const it
9263         (insertStringAsLines): adjust
9264
9265         * ParagraphList.C (insert): new function
9266
9267         * CutAndPaste.C (pasteSelection): adjust
9268
9269         * text.C (backspace): adjust
9270
9271         * tabular.C (SetMultiColumn): adjust
9272
9273         * CutAndPaste.C (cutSelection): adjust
9274         (pasteSelection): adjust
9275
9276         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9277         Buffer const * as arg
9278
9279         * ParagraphList.C (erase): new function
9280         * paragraph_funcs.C (mergeParagraph): use it
9281         (mergeParagraph): make it take a Buffer* instead of a
9282         BufferParams* as arg
9283
9284         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9285         as arg
9286         (breakParagraphConservative): ditto
9287
9288         * paragraph.h: remove the breakParagraph friend
9289
9290         * paragraph.C (eraseIntern): new function
9291         (setChange): new function
9292
9293         * paragraph_funcs.C (mergeParagraph): make it take a
9294         ParagraphList::iterator instead of a Paragraph *, adjust
9295         accordingly.
9296
9297         * paragraph.h: move an #endif so that the change tracking stuff
9298         also works in the NO_NEXT case.
9299
9300 2003-03-04  Angus Leeming  <leeming@lyx.org>
9301
9302         * commandtags.h:
9303         * LyXAction.C: new LFUN_INSET_MODIFY.
9304
9305         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9306         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9307
9308 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9309
9310         * several files: ws changes only
9311
9312         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9313         (TeXEnvironment): ditto
9314         (TeXDeeper): ditto
9315
9316         * buffer.C (makeLaTeXFile): adjust
9317         (latexParagraphs): make it take ParagraphList::iterator as args
9318
9319 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9320
9321         * buffer.C (latexParagraphs): adjust
9322
9323         * paragraph.C (TeXOnePar): move function...
9324         (optArgInset): move function...
9325         (TeXEnvironment): move function...
9326         * paragraph_pimpl.C (TeXDeeper): move function...
9327         * paragraph_funcs.C: ...here
9328
9329         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9330
9331 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9332
9333         * buffer.C (readInset): remove compability code for old Figure and
9334         InsetInfo insets
9335
9336 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9337
9338         * buffer.C: ws changes
9339         (readInset):
9340
9341         * BufferView_pimpl.C: ditto
9342         * author.C: ditto
9343         * buffer.h: ditto
9344         * bufferlist.h: ditto
9345         * changes.h: ditto
9346         * lyxfunc.C: ditto
9347
9348 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9349
9350         * converter.[Ch]: split into itself +
9351         * graph.[Ch]
9352         * format.[Ch]
9353         * Makefile.am: += graph.[Ch] + format.[Ch]
9354         * MenuBackend.C
9355         * buffer.C
9356         * exporter.C
9357         * importer.C
9358         * lyx_main.C
9359         * lyxfunc.C
9360         * lyxrc.C: added #include "format.h"
9361
9362 2003-02-27  Angus Leeming  <leeming@lyx.org>
9363
9364         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9365           a label.
9366
9367         * factory.C (createInset): add "label" to the factory.
9368
9369         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9370           string and do no more.
9371
9372 2003-02-27  Angus Leeming  <leeming@lyx.org>
9373
9374         * commandtags.h:
9375         * LyXAction.C (init):
9376         * factory.C (createInset):
9377         * BufferView_pimpl.C (dispatch):
9378           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9379
9380         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9381
9382         * lyxfunc.C (dispatch):
9383         * text3.C (dispatch): pass name to params2string.
9384
9385 2003-02-26  Angus Leeming  <leeming@lyx.org>
9386
9387         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9388           blocks together.
9389           Rearrange the ~includes. Strip out the unnecessary ones.
9390
9391         * factory.C (createInset): reformat.
9392           create new insets for the various LFUN_XYZ_APPLY lfuns.
9393
9394 2003-02-26  John Levon  <levon@movementarian.org>
9395
9396         * lyxrow.h:
9397         * lyxrow.C: add isParStart,isParEnd helpers
9398
9399         * paragraph.h: make isInserted/DeletedText take refs
9400
9401         * paragraph_funcs.h:
9402         * paragraph_funcs.C: remove #if 0'd code
9403
9404         * lyxtext.h:
9405         * text3.C:
9406         * text2.C:
9407         * text.C: use lyxrow helpers above.
9408           Move draw and paint routines to RowPainter.
9409           Make several methods use refs not pointers.
9410           Make backgroundColor() const.
9411           Add markChangeInDraw(), isInInset().
9412           Merge changeRegionCase into changeCase.
9413           Make workWidth() shouldn't-happen code into an Assert.
9414
9415         * rowpainter.h:
9416         * rowpainter.C: new class for painting a row.
9417
9418         * vspace.h:
9419         * vspace.C: make inPixels take a ref
9420
9421 2003-02-26  Angus Leeming  <leeming@lyx.org>
9422
9423         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9424         LFUN_REF_APPLY.
9425
9426 2003-02-25  John Levon  <levon@movementarian.org>
9427
9428         * ispell.C: give the forked command a more accurate name
9429
9430 2003-02-22  John Levon  <levon@movementarian.org>
9431
9432         * toc.h:
9433         * toc.C: make TocItem store an id not a Paragraph *
9434           (bug #913)
9435
9436 2003-02-21  Angus Leeming  <leeming@lyx.org>
9437
9438         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9439           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9440           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9441           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9442           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9443           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9444
9445         * BufferView_pimpl.C (dispatch):
9446         * LyXAction.C (init):
9447         * factory.C (createInset):
9448         * lyxfunc.C (getStatus, dispatch):
9449         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9450
9451 2003-02-21  Angus Leeming  <leeming@lyx.org>
9452
9453         * BufferView_pimpl.C (MenuInsertLyXFile):
9454         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9455         * lyxfunc.C (menuNew, open, doImport):
9456           no longer pass a LyXView & to fileDlg.
9457
9458 2003-02-21  Angus Leeming  <leeming@lyx.org>
9459
9460         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9461         * LyXAction.C: change, BIBKEY to BIBITEM.
9462         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9463         Change InsetBibKey to InsetBibitem.
9464         Change BIBKEY_CODE to BIBITEM_CODE.
9465         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9466         * factory.C: replace insetbib.h with insetbibitem.h.
9467         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9468         * paragraph.C: replace insetbib.h with insetbibitem.h.
9469         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9470         Change bibkey() to bibitem().
9471         * text.C: remove insetbib.h.
9472         * text2.C: replace insetbib.h with insetbibitem.h.
9473         change bibkey() to bibitem().
9474         * text3.C: remove insetbib.h.
9475         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9476
9477 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9478
9479         * lyxrc.C (output): enclose user email in quotes (in case there are
9480         several words)
9481
9482 2003-02-18  John Levon  <levon@movementarian.org>
9483
9484         * buffer.h: add std::
9485
9486 2003-02-17  John Levon  <levon@movementarian.org>
9487
9488         * SpellBase.h:
9489         * ispell.h:
9490         * ispell.C:
9491         * pspell.h:
9492         * pspell.C: reworking. Especially in ispell, a large
9493           number of clean ups and bug fixes.
9494
9495         * lyxfunc.C: fix revert to behave sensibly
9496
9497 2003-02-17 André Pönitz <poenitz@gmx.net>
9498
9499         * LyXAction.C:
9500         * commandtags.h: new LFUN_INSERT_BIBKEY
9501
9502         * layout.h:
9503         * lyxlayout.C:
9504         * buffer.C:
9505         * factory.C:
9506         * text.C:
9507         * text2.C:
9508         * text3.C:
9509         * paragraph.[Ch]:
9510         * paragraph_func.C: remove special bibkey handling
9511
9512 2003-02-17  John Levon  <levon@movementarian.org>
9513
9514         * text.C (Delete): fix case where delete at the end of
9515           the very first paragraph would not merge the pars
9516
9517 2003-02-17  John Levon  <levon@movementarian.org>
9518
9519         * lyxrow.C: fix lastPrintablePos()
9520
9521 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9522
9523         * bufferparams.C (writeLaTeX): add a std:here
9524
9525         * buffer.C: and remove a using directive there
9526
9527 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9528
9529         * buffer.C (makeLaTeXFile): move the code that generates the
9530           preamble...
9531
9532         * bufferparams.C (writeLaTeX): ... in this new method
9533
9534         * LaTeXFeatures.C (getEncodingSet): make const
9535           (getLanguages): make const
9536
9537         * MenuBackend.C (binding): returns the binding associated to this
9538           action
9539           (add): sets the status of each item by calling getStatus. Adds
9540           some intelligence.
9541           (read): add support for OptSubMenu
9542           (expand): remove extra separator at the end of expanded menu
9543
9544 2003-02-15  John Levon  <levon@movementarian.org>
9545
9546         * BufferView.C:
9547         * BufferView_pimpl.C:
9548         * bufferlist.h:
9549         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9550           inset code that had no actual effect. Remove unneeded status
9551           code.
9552
9553 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9554
9555         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9556           in preamble
9557
9558 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9559
9560         * text.C (drawLengthMarker): also draw an arrow marker for
9561           symbolic lengths (medskip...)
9562
9563 2003-02-14  John Levon  <levon@movementarian.org>
9564
9565         * tabular.h:
9566         * tabular.C: better method names
9567
9568 2003-02-14  John Levon  <levon@movementarian.org>
9569
9570         * BufferView_pimpl.C:
9571         * bufferlist.C:
9572         * buffer.C:
9573         * converter.C:
9574         * lyx_cb.C:
9575         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9576           it's a more accurate name. Remove some pointless uses.
9577
9578 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9579
9580         * text2.C (LyXText): change order of initilizers to shut off
9581           warnings
9582
9583 2003-02-14  John Levon  <levon@movementarian.org>
9584
9585         * buffer.C: use ParIterator for getParFromID()
9586
9587         * paragraph.h:
9588         * paragraph.C:
9589         * paragraph_pimpl.h:
9590         * paragraph_pimpl.C: remove unused getParFromID()
9591
9592 2003-02-14  John Levon  <levon@movementarian.org>
9593
9594         * buffer.C: remove some very old #if 0'd parse code
9595
9596 2003-02-13  John Levon  <levon@movementarian.org>
9597
9598         * text.h:
9599         * text.C:
9600         * text2.C: move hfillExpansion(), numberOfSeparators(),
9601           rowLast(), rowLastPrintable(), numberofHfills(),
9602           numberOfLabelHfills() ...
9603
9604         * lyxrow.h:
9605         * lyxrow.C: ... to member functions here.
9606
9607         * paragraph.h:
9608         * paragraph.C:
9609         * lyxtext.h:
9610         * text.C: remove LyXText::beginningOfMainBody(), and call
9611           p->beginningOfMainBody() directly. Move the check for
9612           LABEL_MANUAL into the latter.
9613
9614         * text.h:
9615         * text.C:
9616         * text2.C:
9617         * vspace.C:
9618         * BufferView.h:
9619         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9620
9621         * text.h:
9622         * text.C:
9623         * text2.C:
9624         * text3.C:
9625         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9626           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9627
9628 2003-02-13  John Levon  <levon@movementarian.org>
9629
9630         * CutAndPaste.C: remove debug
9631
9632 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * paragraph.C (asString): remove two unused variables
9635
9636         * lyxtextclass.C (readTitleType):
9637           (Read):
9638           (LyXTextClass): handle new members titletype_ and titlename_
9639
9640         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9641
9642 2003-02-09  John Levon  <levon@movementarian.org>
9643
9644         * buffer.h:
9645         * buffer.C: replace hand-coded list with a map for the dep clean
9646
9647 2003-02-08  John Levon  <levon@movementarian.org>
9648
9649         * LaTeX.C: consolidate code into showRunMessage() helper
9650
9651 2003-02-08  John Levon  <levon@movementarian.org>
9652
9653         * lyxfind.C:
9654         * lyxtext.h:
9655         * text2.C:
9656         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9657           and pass the size in explicitly
9658
9659         * BufferView_pimpl.h:
9660         * BufferView_pimpl.C:
9661         * BufferView.h:
9662         * BufferView.C: add getCurrentChange()
9663
9664         * BufferView_pimpl.h:
9665         * BufferView_pimpl.C: handle change lfuns
9666
9667         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9668           for changes. Mark pasted paragraphs as new.
9669
9670         * support/lyxtime.h:
9671         * support/lyxtime.C:
9672         * DepTable.C: abstract time_t as lyx::time_type
9673
9674         * LColor.h:
9675         * LColor.C: add colours for new text, deleted text, changebars
9676
9677         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9678           package use "usenames" option.
9679
9680         * commandtags.h:
9681         * lyxfunc.C:
9682         * LyXAction.C: add change lfuns
9683
9684         * Makefile.am:
9685         * author.h:
9686         * author.C: author handling
9687
9688         * buffer.h:
9689         * buffer.C: add a per-buffer author list, with first entry as
9690           current author. Handle new .lyx tokens for change tracking. Output
9691           author list to .lyx file. Output dvipost stuff to .tex preamble.
9692           Bump lyx format to 222.
9693
9694         * bufferlist.h:
9695         * bufferlist.C: add setCurrentAuthor() to reset current author details
9696           in all buffers.
9697
9698         * bufferparams.h:
9699         * bufferparams.C: add param for tracking
9700
9701         * bufferview_funcs.C: output change info in minibuffer
9702
9703         * Makefile.am:
9704         * changes.h:
9705         * changes.C: add change-tracking structure
9706
9707         * debug.h:
9708         * debug.C: add CHANGES debug flag
9709
9710         * lyxfind.h:
9711         * lyxfind.C: add code for finding the next change piece
9712
9713         * lyxrc.h:
9714         * lyxrc.C: add user_name and user_email
9715
9716         * lyxrow.h:
9717         * lyxrow.C: add a metric for the top of the text line
9718
9719         * lyxtext.h:
9720         * text.C: implement accept/rejectChange()
9721
9722         * lyxtext.h:
9723         * text.C: paint changebars. Paint new/deleted text in the chosen
9724         colours. Strike through deleted text.
9725
9726         * paragraph.h:
9727         * paragraph.C:
9728         * paragraph_pimpl.h:
9729         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9730           in the current change to the insert functions. Rework erase to
9731           mark text as deleted, adding an eraseIntern() and a range-based
9732           erase(). Implement per-paragraph change lookup and
9733           accept/reject.
9734
9735         * paragraph_funcs.C: Fixup paste for change tracking.
9736
9737         * tabular.C: mark added row/columns as new.
9738
9739         * text.C: fix rowLast() to never return -1. Don't allow
9740           spellchecking of deleted text. Track transpose changes. Don't
9741           allow paragraph break or merge where appropriate.
9742
9743         * text2.C: leave cursor at end of selection after a cut.
9744
9745 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9746
9747         * text.C (getLengthMarkerHeight):
9748         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9749         visible on screen too.
9750
9751 2003-02-07  John Levon  <levon@movementarian.org>
9752
9753         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9754
9755 2003-02-05  Angus Leeming  <leeming@lyx.org>
9756
9757         * lyxserver.C (read_ready): revert my patch of 11 September last year
9758         as it sends PC cpu through the roof. Presumably this means that
9759         the lyxserver will no longer run on an Alpha...
9760
9761 2003-01-30  Angus Leeming  <leeming@lyx.org>
9762
9763         * factory.C (createInset): create an InsetCommandParam of type "index"
9764         and use it to 'do the right thing'.
9765
9766         * text2.C (getStringToIndex): ensure that cursor position is always
9767         reset to the reset_cursor position.
9768
9769 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9770
9771         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9772         disabled.
9773
9774 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9775
9776         * bufferview.C:
9777         * lyxcb.C:
9778         * lyxfunc.C: Output messages with identical spelling, punctuation,
9779         and spaces
9780
9781 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9782
9783         * MenuBackend.C (expandFormats): List only viewable export formats
9784         in "View" menu
9785
9786         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9787         message
9788
9789         * lyxfunc.C (getStatus): Make sure that formats other than
9790         "fax" can also be disabled
9791
9792 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9793
9794         * text3.C (dispatch): put the lfuns that insert insets in 3
9795         groups, and call doInsertInset with appropriate arguments.
9796         (doInsertInset): new function, that creates an inset and inserts
9797         it according to some boolean parameters.
9798
9799 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9800
9801         * buffer.C (readFile): remember to pass on 'par' when calling
9802         readFile recursively.
9803
9804 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9805
9806         * MenuBackend.C (expandFormats): add "..." to import formats.
9807
9808 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9809
9810         * paragraph.C (asString): Remove XForms RTL hacks.
9811
9812 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9813         * buffer.C: fix typo
9814
9815 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9816
9817         * Makefile.am (LIBS): delete var
9818         (lyx_LDADD): add @LIBS@ here instead.
9819
9820 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9821
9822         * Clarify the meaning of "wheel mouse jump"
9823
9824 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9825
9826         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9827         tabular in a float
9828
9829 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9830
9831         * importer.C (Loaders): do not preallocate 3 elements in the
9832         vector, since one ends up with 6 elements otherwise
9833
9834 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9835
9836         * DepTable.C (write): write the file name as last element of the
9837         .dep file (because it may contain spaces)
9838         (read): read info in the right order
9839
9840 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9841
9842         * paragraph_pimpl.C (simpleTeXBlanks):
9843         (simpleTeXSpecialChars):
9844         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9845
9846         * tabular.C (latex): add some missing case statements. Reindent.
9847
9848         * MenuBackend.C (expandToc): remove unused variable.
9849
9850 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9851
9852         * LColor.C:
9853         * LaTeX.C:
9854         * LyXAction.C:
9855         * MenuBackend.C:
9856         * buffer.C:
9857         * exporter.C:
9858         * lyxfunc.C:
9859         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9860         and the like.
9861
9862 2003-01-05  John Levon  <levon@movementarian.org>
9863
9864         * BufferView.h:
9865         * BufferView.C: add getEncoding()
9866
9867         * kbsequence.h:
9868         * kbsequence.C: do not store last keypress
9869
9870         * lyxfunc.h:
9871         * lyxfunc.C: store last keypress here instead. Pass encoding
9872           to getISOEncoded()
9873
9874 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9875
9876         * lyx_main.C (init): remove annoying error message when following
9877         symbolic links (bug #780)
9878
9879 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9880
9881         * text.C (insertChar):
9882         * lyxrc.C (getDescription): remove extra spaces
9883
9884 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9885
9886         * lyxrc.C (getDescription): remove extra spaces
9887
9888 2002-12-20  John Levon  <levon@movementarian.org>
9889
9890         * text3.C: hack fix for page up/down across tall rows
9891
9892 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9893
9894         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9895         not been invoked
9896
9897 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9898
9899         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9900         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9901         thesaurus is not compiled in
9902
9903 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9904
9905         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9906
9907 2002-12-16  Angus Leeming  <leeming@lyx.org>
9908
9909         * lyxrc.[Ch]:
9910         * lyx_main.C (init): remove override_x_deadkeys stuff.
9911
9912 2002-12-12  John Levon  <levon@movementarian.org>
9913
9914         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9915           insert. Only remove shift modifier under strict
9916           circumstances.
9917
9918 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9919
9920         * MenuBackend.C (expandToc): fix crash.
9921
9922 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9923
9924         * MenuBackend.C (expandToc): gettext on float names.
9925
9926 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9927
9928         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9929         implement bool empty() [bug 490]
9930
9931 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9932
9933         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9934
9935 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9936
9937         * several files: ws changes
9938
9939 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9940
9941         * text2.C (setCounter): clean up a bit, use boost.format.
9942         (updateCounters): initialize par upon declaration.
9943
9944         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9945         if the layout exists. We do not just store the layout any more.
9946         (SwitchLayoutsBetweenClasses): use boost.format
9947
9948 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9949
9950         * converter.C (convert): if from and to files are the same, use a
9951         temporary files as intermediary
9952
9953 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9954
9955         * commandtags.h:
9956         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9957
9958 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9959
9960         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9961
9962 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9963
9964         * tabular.C (asciiPrintCell): use string(size, char) instead of
9965         explicit loop.
9966
9967         * sgml.C (openTag): fix order of arguments to string constructor
9968         (closeTag): ditto
9969
9970         * lyxfunc.C (dispatch): use boost.format
9971
9972         * lots of files: change "c" -> 'c'
9973
9974 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9975
9976         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9977
9978 2002-11-25  Angus Leeming  <leeming@lyx.org>
9979
9980         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9981
9982         * lyx_main.C (init): compile fix.
9983
9984 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9985
9986         * lyx_cb.C (start): boost.formatify
9987         do not include <iostream>
9988
9989         * lengthcommon.C: ws only
9990
9991         * boost-inst.C,BoostFormat.h: add more explict instantations
9992
9993 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9994
9995         * lots of files: handle USE_BOOST_FORMAT
9996
9997 2002-11-21  John Levon  <levon@movementarian.org>
9998
9999         * pspell.C: fix compile
10000
10001 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10002
10003         * lyxfunc.C (dispatch): use boost::format
10004         (open): ditto
10005         (doImport): ditto
10006
10007         * lyxfont.C (stateText): use boost::format
10008
10009         * lyx_main.C (LyX): use boost::format
10010         (init): ditto
10011         (queryUserLyXDir): ditto
10012         (readRcFile): ditto
10013         (parse_dbg): ditto
10014         (typedef boost::function): use the recommened syntax.
10015
10016         * importer.C (Import): use boost::format
10017
10018         * debug.C (showLevel): use boost::format
10019
10020         * converter.C (view): use boost::format
10021         (convert): ditto
10022         (move): ditto
10023         (scanLog): ditto
10024
10025         * bufferview_funcs.C (currentState): use boost::format
10026
10027         * bufferlist.C (emergencyWrite): use boost::format
10028
10029         * buffer.C (readLyXformat2): use boost::format
10030         (parseSingleLyXformat2Token): ditto
10031
10032         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10033
10034         * LaTeX.C (run): use boost::format
10035
10036         * Chktex.C (scanLogFile): use boost::format
10037
10038         * BufferView_pimpl.C (savePosition): use boost::format
10039         (restorePosition): ditto
10040         (MenuInsertLyXFile): ditto
10041
10042         * BoostFormat.h: help file for explicit instation.
10043
10044 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10045
10046         * tabular.C (latex): Support for block alignment in fixed width
10047         columns.
10048
10049 2002-11-17  John Levon  <levon@movementarian.org>
10050
10051         * BufferView_pimpl.C:
10052         * lyx_cb.C:
10053         * lyxfunc.C: split filedialog into open/save
10054
10055 2002-11-08  Juergen Vigna  <jug@sad.it>
10056
10057         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10058         by my last patch (hopefully).
10059
10060 2002-11-08  John Levon  <levon@movementarian.org>
10061
10062         * iterators.h:
10063         * iterators.C:
10064         * buffer.h:
10065         * buffer.C:
10066         * paragraph.h:
10067         * paragraph.C:
10068         * toc.h:
10069         * toc.C: ParConstIterator, and use it (from Lars)
10070
10071 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10072
10073         * lyxtextclass.[Ch]: revise and add doxygen comments
10074
10075 2002-11-07  John Levon  <levon@movementarian.org>
10076
10077         * text.C: fix progress value for spellchecker
10078
10079         * toc.C: fix navigate menu for insetwrap inside minipage
10080
10081         * paragraph_funcs.C: added FIXME for suspect code
10082
10083 2002-11-07  John Levon  <levon@movementarian.org>
10084
10085         * BufferView_pimpl.C: fix redrawing of insets
10086           on buffer switch
10087
10088 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10089
10090         * text2.C (updateCounters): fix bug 668
10091
10092 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10093
10094         * text3.C (dispatch): Do not make the buffer dirty when moving the
10095         cursor.
10096
10097 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10098
10099         * vc-backend.C: STRCONV
10100         (scanMaster): ditto
10101
10102         * text2.C (setCounter): STRCONV
10103
10104         * paragraph.C (asString): STRCONV
10105
10106         * lyxlength.C (asString): STRCONV
10107         (asLatexString): ditto
10108
10109         * lyxgluelength.C (asString): STRCONV
10110         (asLatexString): ditto
10111
10112         * lyxfunc.C (dispatch): STRCONV
10113         (open): ditto
10114
10115         * lyxfont.C (stateText): STRCONV
10116
10117         * importer.C (Import): STRCONV
10118
10119         * counters.C (labelItem): STRCONV
10120         (numberLabel): ditto
10121         (numberLabel): remove unused ostringstream o
10122
10123         * chset.C: STRCONV
10124         (loadFile): ditto
10125
10126         * bufferview_funcs.C (currentState): STRCONV
10127
10128         * buffer.C (readFile): STRCONV
10129         (asciiParagraph): ditto
10130         (makeLaTeXFile): ditto
10131
10132         * Spacing.C (writeEnvirBegin): STRCONV
10133
10134         * LaTeXFeatures.C (getLanguages): STRCONV
10135         (getPackages): ditto
10136         (getMacros): ditto
10137         (getBabelOptions): ditto
10138         (getTClassPreamble): ditto
10139         (getLyXSGMLEntities): ditto
10140         (getIncludedFiles): ditto
10141
10142         * LaTeX.C: STRCONV
10143         (run): ditto
10144         (scanAuxFile): ditto
10145         (deplog): ditto
10146
10147         * LString.h: add the STRCONV macros
10148
10149         * BufferView_pimpl.C (savePosition): STRCONV
10150         (restorePosition): ditto
10151         (MenuInsertLyXFile): ditto
10152
10153         * vc-backend.C (scanMaster): change from submatch[...] to
10154         submatch.str(...)
10155
10156         * funcrequest.C: include config.h
10157
10158         * factory.C: include config.h
10159
10160         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10161
10162         * box.C: include config.h
10163
10164         * LaTeX.C (scanAuxFile): change from submatch[...] to
10165         submatch.str(...)
10166         (deplog): ditto
10167
10168 2002-10-25  Angus Leeming  <leeming@lyx.org>
10169
10170         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10171
10172         * ispell.[Ch] (setError): new method.
10173         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10174         Use setError() insetead of goto END.
10175
10176         * lyx_cb.C (AutoSave): move out child process into new class
10177         AutoSaveBuffer.
10178
10179 2002-10-30  John Levon  <levon@movementarian.org>
10180
10181         * text3.C: make start appendix undoable
10182
10183 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10184
10185         * lyxlength.C (inPixels): Fix returned value.
10186
10187         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10188         environment.
10189
10190 2002-10-24  Angus Leeming  <leeming@lyx.org>
10191
10192         * lyxgluelength.h: no need to forward declare BufferParams
10193         or BufferView, so don't.
10194
10195 2002-10-21  John Levon  <levon@movementarian.org>
10196
10197         * BufferView.C: menuUndo ->undo, redo
10198
10199         * BufferView.h: document, remove dead, make some methods private
10200
10201         * paragraph_funcs.h:
10202         * paragraph_funcs.C:
10203         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10204
10205         * buffer.h:
10206         * buffer.C:
10207         * sgml.h:
10208         * sgml.C: move sgml open/close tag into sgml.C
10209
10210         * bufferview_funcs.h: unused prototype
10211
10212         * lyxfunc.h:
10213         * lyxfunc.C: remove unused
10214
10215         * lyxtext.h:
10216         * text.C: remove unused
10217
10218 2002-10-21  John Levon  <levon@movementarian.org>
10219
10220         * BufferView.h:
10221         * BufferView.C:
10222         * BufferView_pimpl.h:
10223         * BufferView_pimpl.C: fix mouse wheel handling based on
10224           patch from Darren Freeman
10225
10226 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10227
10228         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10229
10230 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10231
10232         * lyxlength.C (inPixels): Fix hanfling of negative length.
10233         Fix LyXLength::MU case.
10234
10235 2002-10-16  John Levon  <levon@movementarian.org>
10236
10237         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10238
10239 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10240
10241         * converter.C (view): add support for $$i (file name) and $$p
10242         (file path) for the viewer command. If $$i is not specified, then
10243         it is appended to the command (for compatibility with old syntax)
10244
10245 2002-10-14  Juergen Vigna  <jug@sad.it>
10246
10247         * undo_funcs.C (textHandleUndo): alter the order in which the
10248         new undopar is added to the LyXText, as we have to set first
10249         the right prev/next and then add it as otherwise the rebuild of
10250         LyXText is not correct. Also reset the cursor to the right paragraph,
10251         with this IMO we could remove the hack in "redoParagraphs()".
10252
10253 2002-10-09  Angus Leeming  <leeming@lyx.org>
10254
10255         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10256         to turn off an optimisation if a new inset is to be inserted.
10257
10258 2002-10-11 André Pönitz <poenitz@gmx.net>
10259
10260         * lyxtext.h: make some functions public to allow access
10261         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10262
10263 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10264
10265         * text3.C (dispatch): when changing layout, avoid an infinite loop
10266         [bug #652]
10267
10268 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10269
10270         * lyxrc.C (read): treat a viewer or converter command of "none" as
10271         if it were empty.
10272
10273         * MenuBackend.C (expandFormats): for an update, also allow the
10274         formats that are not viewable
10275
10276         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10277         script if it is newer than the lyxrc.defaults in user directory
10278
10279 2002-10-07 André Pönitz <poenitz@gmx.net>
10280
10281         * text.C: Vitaly Lipatov's small i18n fix
10282
10283 2002-09-25  Angus Leeming  <leeming@lyx.org>
10284
10285         * ispell.h: doxygen fix.
10286
10287 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10288
10289         * buffer.h (readFile): Add a new argument to the method, to allow
10290         reading of old-format templates.
10291
10292 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10293
10294         * toc.C (getTocList): Get TOC from InsetWrap.
10295
10296 2002-09-16  John Levon  <levon@movementarian.org>
10297
10298         * lyxfunc.C: check tabular for cut/copy too
10299
10300 2002-09-12  John Levon  <levon@movementarian.org>
10301
10302         * LyXAction.C: tidy
10303
10304         * factory.h:
10305         * factory.C: add header
10306
10307         * paragraph_funcs.h:
10308         * paragraph_funcs.C: cleanup
10309
10310 2002-09-11  John Levon  <levon@movementarian.org>
10311
10312         * PrinterParams.h: odd/even default to true
10313
10314 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10315
10316         * PrinterParams.h: update printer parameters for new xforms dialog
10317
10318 2002-09-11  Angus Leeming  <leeming@lyx.org>
10319
10320         * lyxserver.C (read_ready): re-write to make it more transparent
10321         and to make it work in coherent fashion under Tru64 Unix.
10322
10323 2002-09-11  André Pönitz <poenitz@gmx.net>
10324
10325         * commandtags.h:
10326         * LyXAction.C:
10327         * text3.C: implement LFUN_WORDSEL
10328
10329 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10330
10331         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10332         make floatlist_ a boost::shared_ptr<FloatList>
10333
10334         * lyxtextclass.C: include FloatList.h
10335         (LyXTextClass): initialize floatlist_
10336         (TextClassTags): add TC_NOFLOAT
10337         (Read): match "nofloat" to TC_NOFLOAT and use it.
10338         (readFloat): modify call to floatlist_
10339         (floats): ditto
10340         (floats): ditto
10341
10342         * FloatList.[Ch] (FloatList): remove commented out float
10343         initialization.
10344         (erase): new function
10345
10346 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10347
10348         * MenuBackend.C (expandToc): fix crash when there is no document
10349         open
10350
10351 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10352
10353         * many files: Add insetwrap.
10354
10355 2002-09-09  John Levon  <levon@movementarian.org>
10356
10357         * text2.C: remove confusing and awkward depth wraparound
10358
10359 2002-09-09  John Levon  <levon@movementarian.org>
10360
10361         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10362
10363         * buffer.h:
10364         * buffer.C: remove getIncludeonlyList()
10365
10366         * paragraph.C:
10367         * lyxfunc.C: remove headers
10368
10369 2002-09-09  Juergen Vigna  <jug@sad.it>
10370
10371         * text.C (getColumnNearX): fix form Michael this is most
10372         probably a cut&paste bug.
10373
10374 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10375
10376         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10377
10378         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10379         references, ws changes.
10380
10381         * text2.C (init): update counters after init
10382         (insertParagraph): no need to set counter on idividual paragraphs.
10383         (setCounter): access the counters object in the textclass object
10384         on in the buffer object.
10385         (updateCounters): ditto
10386
10387         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10388         shared_ptr<Counters> to avoid loading counters.h in all
10389         compilation units.
10390         (LyXTextClass): initialize ctrs_
10391         (TextClassTags): add TC_COUNTER, and ...
10392         (Read): use it here.
10393         (CounterTags): new tags
10394         (readCounter): new function
10395         (counters): new funtion
10396         (defaultLayoutName): return a const reference
10397
10398         * counters.C (Counters): remove contructor
10399         (newCounter): remove a couple of unneeded statements.
10400         (newCounter): simplify a bit.
10401         (numberLabel): some small formatting changes.
10402
10403         * buffer.[Ch]: remove all traces of counters, move the Counters
10404         object to the LyXTextClass.
10405
10406 2002-09-06  Alain Castera  <castera@in2p3.fr>
10407
10408         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10409         package to set the horizontal alignment on fixed width columns.
10410
10411         * lyx_sty.C:
10412         * lyx_sty.h: added tabularnewline macro def.
10413
10414         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10415
10416 2002-09-06  John Levon  <levon@movementarian.org>
10417
10418         * LyXAction.C: tooltips for sub/superscript
10419
10420         * MenuBackend.C: a bit more verbose
10421
10422         * lyxfunc.C: tiny clean
10423
10424         * undo_funcs.C: document undo_frozen
10425
10426 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10427
10428         * counters.C (Counters): add missing algorithm counter.
10429
10430         * text2.C (setCounter): lookup the counter with layouts latexname
10431         instead of by section number.
10432         (setCounter): use a hackish way to lookup the correct enum
10433         counter.
10434         a float name->type change
10435         reset enum couners with counter name directly instead of depth value.
10436
10437         * counters.C (Counters): remove the push_backs, change to use the
10438         float type not the float name.
10439         (labelItem): remove unused string, float name->type change
10440
10441         * counters.h: don't include vector, loose the enums and sects vectors
10442
10443 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10444
10445         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10446         (Read): add float->TC_FLOAT to textclassTags
10447         (Read): and handle it in the switch
10448         (readFloat): new function
10449
10450         * FloatList.C (FloatList): comment out the hardcoded float
10451         definitions.
10452
10453         * lyxlayout.h: ws change.
10454
10455 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10456
10457         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10458
10459 2002-09-03  Angus Leeming  <leeming@lyx.org>
10460
10461         * BufferView_pimpl.h: qualified name is not allowed in member
10462         declaration: WorkArea & Pimpl::workarea() const;
10463
10464         * factory.C: added using std::endl directive.
10465
10466         * text3.C: added using std::find and std::vector directives.
10467
10468 2002-08-29  André Pönitz <poenitz@gmx.net>
10469
10470         * lyxtext.h:
10471         * text2.C: remove unused member number_of_rows
10472
10473         * Makefile.am:
10474         * BufferView2.C: remove file, move contents to...
10475         * BufferView.C: ... here
10476
10477         * BufferView_pimpl.C:
10478         * factory.C: move more inset creation to factory
10479
10480         * vspace.C: avoid direct usage of LyXText, ws changes
10481
10482         * BufferView.[Ch]:
10483                 don't provide direct access to WorkArea, use two simple
10484                 acessors haveSelction() and workHeight() instead
10485
10486
10487 2002-08-29  John Levon  <levon@movementarian.org>
10488
10489         * BufferView_pimpl.C (dispatch): do not continue when
10490           no buffer
10491
10492 2002-08-28  André Pönitz <poenitz@gmx.net>
10493
10494         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10495
10496         * BufferView.h:
10497         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10498
10499 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10500
10501         * buffer.C: increment LYX_FORMAT to 221
10502
10503         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10504         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10505
10506         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10507
10508         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10509
10510 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10511
10512         * factory.C (createInset): use LyXTextClass::floats
10513
10514         * MenuBackend.C (expandFloatListInsert):
10515         (expandFloatInsert):
10516         (expandToc):
10517
10518         * text2.C (setCounter):
10519
10520         * LaTeXFeatures.C (useFloat):
10521         (getFloatDefinitions):
10522
10523         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10524
10525         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10526         floatlist_, with accessor floats().
10527
10528         * FloatList.h: remove global FloatList
10529
10530 2002-08-26  André Pönitz <poenitz@gmx.net>
10531
10532         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10533
10534         * BufferView.h:
10535         * BufferView2.C:
10536         * BufferView_pimpl.C:
10537         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10538
10539 2002-08-25  John Levon  <levon@movementarian.org>
10540
10541         * LyXAction.C: fix margin note description
10542
10543 2002-08-24  John Levon  <levon@movementarian.org>
10544
10545         * buffer.C:
10546         * bufferlist.C:
10547         * bufferview_funcs.C:
10548         * lyxfont.C:
10549         * undo_funcs.C: cleanups
10550
10551         * lyxfunc.C: disable CUT/COPY when no selection
10552
10553 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10554
10555         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10556         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10557
10558         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10559         Add backward compatibility to "mono", "gray" and "no".
10560
10561 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10562
10563         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10564         (and file_format >= 200).
10565
10566 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10569
10570 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10573
10574 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10575
10576         * BufferView_pimpl.C:
10577         * LyXAction.C:
10578         * buffer.C:
10579         * commandtags.h:
10580         * lyxfunc.C:
10581         * paragraph.[Ch]:
10582         * text2.C:
10583         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10584         inset and code to make it  work with the paragraph code. The inset
10585         can be anywhere in the paragraph, but will only do the expected
10586         thing in LaTeX if the layout file contains the parameter line
10587                         OptionalArgs    1
10588         (or more generally, a nonzero value) for that layout.
10589
10590 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10591
10592         * paragraph.h: remove the declaration of undefined counters class
10593         function.
10594
10595 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10596
10597         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10598         Dr. Richard Hawkins.
10599
10600 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10601
10602         * paragraph_funcs.h: remove some unneeded includes
10603
10604         * text.C (backspace): pasteParagraph now in global scipe
10605
10606         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10607         (pasteSelection): ditto
10608
10609         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10610         * paragraph_funcs.C (pasteParagraph): ... here
10611
10612 2002-08-20  André Pönitz <poenitz@gmx.net>
10613
10614         * commandtags.h: new LFUNs for swapping/copying table row/colums
10615
10616         * LyXAction.C:
10617         * lyxfunc.C: support for new lfuns
10618
10619 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10620
10621         * tabular.C:
10622         * buffer.[Ch]: remove NO_COMPABILITY stuff
10623
10624 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10625
10626         * boost.C (throw_exception): new file, with helper function for
10627         boost compiled without exceptions.
10628
10629         * paragraph.h:
10630         * lyxlength.C:
10631         * buffer.C:
10632         * ParameterStruct.h:
10633         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10634
10635         * bufferlist.C (emergencyWriteAll): use boost bind
10636
10637         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10638
10639         * text.C: include paragraph_funcs.h
10640         (breakParagraph): breakParagraph is now in global scope
10641
10642         * paragraph_funcs.[Ch]: new files
10643
10644         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10645         global scope
10646
10647         * buffer.C: include paragraph_funcs.h
10648         (insertStringAsLines): breakParagraph is now in global scope
10649
10650         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10651         paragraph_funcs.C
10652
10653         * CutAndPaste.C: include paragraph_funcs.h
10654         (cutSelection): breakParagraphConservative is now in global scope
10655         (pasteSelection): ditto
10656
10657         * buffer.h: declare oprator== and operator!= for
10658         Buffer::inset_iterator
10659
10660         * bufferlist.C (emergencyWrite): don't use fmt(...)
10661
10662         * text3.C: add using std::endl
10663
10664         * BufferView.C (moveCursorUpdate): remove default arg
10665
10666 2002-08-20  André Pönitz <poenitz@gmx.net>
10667
10668         * buffer.[Ch]: move inline functions to .C
10669
10670         * BufferView2.C:
10671         * BufferView_pimpl.C:
10672         * text.C:
10673         * buffer.[Ch]: use improved inset_iterator
10674
10675         * buffer.C:
10676         * paragraph.[Ch]: write one paragraph at a time
10677
10678 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10681         style if style is not specified.
10682
10683 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10684
10685         * text2.C (setCounter): when searching for right label for a
10686         caption, make sure to recurse to parent insets (so that a caption
10687         in a minipage in a figure float works) (bug #568)
10688
10689 2002-08-20  André Pönitz <poenitz@gmx.net>
10690
10691         * text3.C: new file for LyXText::dispatch() and helpers
10692
10693         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10694
10695         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10696
10697 2002-08-19  André Pönitz <poenitz@gmx.net>
10698
10699         * lyxtext.h:
10700         * text.C: new LyXText::dispatch()
10701
10702         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10703
10704 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10705
10706         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10707
10708         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10709         Hebrew text.
10710
10711 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10712
10713         * Makefile.am: use $(variables) instead of @substitutions@
10714
10715 2002-08-15  André Pönitz <poenitz@gmx.net>
10716
10717         * lyxfunc.C:
10718         * BufferView_pimpl.C: streamlining mathed <-> outer world
10719         interaction
10720
10721         * commandtags.h:
10722         * LyXAction.C: remove unused LFUN_MATH
10723
10724 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10725
10726         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10727
10728 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10729
10730         * paragraph.C (Paragraph): reformat a bit
10731         (cutIntoMinibuffer): use builtin InsetList function instad of
10732         doing it manually.
10733         (getInset): ditto
10734
10735         * buffer.C: include boost/bind.hpp, add using std::for_each
10736         (writeFileAscii): use ParagraphList iterators
10737         (validate): use for_each for validate traversal of paragraphs
10738         (getBibkeyList): use ParagraphList iterators
10739         (resizeInsets): use for_each to resizeInsetsLyXText for all
10740         paragraphs.
10741         (getParFromID): use ParagraphList iterators
10742
10743         * BufferView2.C (lockInset): use paragraph list and iterators
10744
10745 2002-08-14  John Levon  <levon@movementarian.org>
10746
10747         * lyxserver.C: remove spurious xforms include
10748
10749 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10750
10751         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10752
10753 2002-08-13  André Pönitz <poenitz@gmx.net>
10754
10755         * LyXAction.[Ch]:
10756         * lyxfunc.C: further cleaning
10757
10758 2002-08-13  André Pönitz <poenitz@gmx.net>
10759
10760         * funcrequest.h: new constructor
10761
10762         * funcrequest.C: move stuff here from .h
10763
10764         * Makefile.am:
10765         * BufferView_pimpl.C:
10766         * LyXAction.C:
10767         * toc.C:
10768         * lyxfunc.C: subsequent changes
10769
10770         * lyxfunc.h: new view() member function
10771
10772         * lyxfunc.C: subsequent changes
10773
10774 2002-08-13  Angus Leeming  <leeming@lyx.org>
10775
10776         * BufferView2.C:
10777         * BufferView_pimpl.C:
10778         * buffer.C:
10779         * converter.C:
10780         * importer.C:
10781         * lyxfunc.C:
10782         * lyxvc.C:
10783         * toc.C:
10784         * vc-backend.C:
10785         changes due to the changed LyXView interface that now returns references
10786         to member variables not pointers.
10787
10788 2002-08-13  Angus Leeming  <leeming@lyx.org>
10789
10790         * WordLangTuple (word, lang_code): return references to strings,
10791         not strings.
10792
10793         * BufferView.h:
10794         * SpellBase.h:
10795         * lyxtext.h: forward-declare WordLangTuple.
10796
10797         * BufferView2.C:
10798         * ispell.C:
10799         * pspell.C:
10800         * text.C: #include "WordLangTuple.h".
10801
10802         * lyxtext.h:
10803         * text.C: (selectNextWordToSpellcheck): constify return type.
10804
10805 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10806
10807         * buffer.C:
10808         * buffer.h:
10809         * lyxtext.h:
10810         * paragraph.C:
10811         * paragraph_pimpl.h:
10812         * text.C:
10813         * text2.C:
10814         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10815         suggested by Angus.
10816         Made updateCounter always count from start of buffer, and removed
10817         second argument (par).
10818         Reverted floats number display to '#'. Perhaps I'll try again when the
10819         code base is sanitized a bit.
10820
10821 2002-08-12  Angus Leeming  <leeming@lyx.org>
10822
10823         * buffer.[Ch] (getLabelList): constify.
10824
10825 2002-08-07  André Pönitz <poenitz@gmx.net>
10826
10827         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10828
10829         * funcrequest.h: extension to keep mouse (x,y) position
10830
10831 2002-08-12  Juergen Vigna  <jug@sad.it>
10832
10833         * BufferView2.C (insertErrors): forbid undo when inserting error
10834         insets.
10835
10836         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10837
10838 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10839
10840         * ParagraphList.[Ch]: new files
10841
10842         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10843
10844         * BufferView2.C (lockInset): ParagraphList changes
10845         * toc.C: ditto
10846         * text2.C: ditto
10847         * bufferlist.C: ditto
10848         * buffer.h: ditto
10849         * buffer.C: ditto
10850
10851 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10852
10853         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10854         unused class variable counter_,
10855
10856         * paragraph.[Ch] (getFirstCounter): delete unused function
10857
10858         * counters.C: include LAssert.h
10859         (reset): add a new function with no arg, change other version to
10860         not have def. arg and to not allow empty arg.
10861
10862         * text2.C (setCounter): remove empty arg from call to Counters::reset
10863
10864 2002-08-11  John Levon  <levon@movementarian.org>
10865
10866         * Makefile.am: add WordLangTuple.h
10867
10868 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10869
10870         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10871         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10872
10873         * insets/insettext.C: InsetList changes
10874
10875         * graphics/GraphicsSupport.C (operator()): InsetList changes
10876
10877         * toc.C (getTocList): InsetList changes
10878
10879         * paragraph_pimpl.[Ch]: InsetList changes
10880
10881         * paragraph.[Ch]: InsetList changes
10882
10883         * buffer.C (inset_iterator): InsetList changes
10884         (setParagraph): ditto
10885         * buffer.h (inset_iterator): ditto
10886         * iterators.C (operator++): ditto
10887         * iterators.h: ditto
10888
10889         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10890
10891         * InsetList.[Ch]: new files, most InsetList handling moved out of
10892         paragraph.C.
10893
10894         * BufferView2.C (removeAutoInsets): InsetList changes
10895         (lockInset): ditto
10896         (ChangeInsets): ditto
10897
10898 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10899
10900         * paragraph_pimpl.h (empty): new function
10901
10902         * paragraph.[Ch] (empty): new function
10903
10904         * other files: use the new Paragraph::empty function
10905
10906 2002-08-09  John Levon  <levon@movementarian.org>
10907
10908         * lyxtext.h: remove unused refresh_height
10909
10910 2002-08-09  John Levon  <levon@movementarian.org>
10911
10912         * Makefile.am:
10913         * sgml.h:
10914         * sgml.C:
10915         * buffer.C:
10916         * paragraph.h:
10917         * paragraph.C: move sgml char escaping out of paragraph
10918
10919         * paragraph.h:
10920         * paragraph.C: remove id setter
10921
10922         * buffer.C:
10923         * paragraph.C:
10924         * paragraph_pimpl.C: remove dead tex_code_break_column
10925
10926         * bufferview_funcs.C: small cleanup
10927
10928         * lyxfunc.C: remove dead proto
10929
10930         * lyxtext.h: make some stuff private. Remove some dead stuff.
10931
10932         * lyxgluelength.C: make as[LyX]String() readable
10933
10934 2002-08-08  John Levon  <levon@movementarian.org>
10935
10936         * LyXAction.h:
10937         * LyXAction.C:
10938         * MenuBackend.C:
10939         * ToolbarDefaults.C:
10940         * lyxfunc.C:
10941         * lyxrc.C:
10942         * toc.C: lyxaction cleanup
10943
10944 2002-08-08  John Levon  <levon@movementarian.org>
10945
10946         * BufferView2.C: small cleanup
10947
10948         * lyxfind.h:
10949         * lyxfind.C: move unnecessary header into the .C
10950
10951 2002-08-08  John Levon  <levon@movementarian.org>
10952
10953         * funcrequest.h: just tedious nonsense
10954
10955         * lyx_main.h:
10956         * lyx_main.C: cleanups
10957
10958         * buffer.C:
10959         * vspace.C: remove dead header lyx_main.h
10960
10961 2002-08-07  Angus Leeming  <leeming@lyx.org>
10962
10963         * Paragraph.[Ch]:
10964         * paragraph_pimpl.h:
10965         Forward declare class Counters in paragraph.h by moving the ctrs member
10966         variable into Paragraph::Pimpl.
10967         (counters): new method, returning a reference to pimpl_->ctrs.
10968
10969         * text2.C: ensuing changes.
10970
10971 2002-08-07  John Levon  <levon@movementarian.org>
10972
10973         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10974
10975         * BufferView_pimpl.C: announce X selection on double/triple
10976           click
10977
10978         * lyx_main.C: use correct bool in batch dispatch
10979
10980         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10981
10982 2002-08-07  André Pönitz <poenitz@gmx.net>
10983
10984         * funcrequest.h: new class to wrap a kb_action and its argument
10985
10986         * BufferView.[Ch]:
10987         * BufferView_pimpl[Ch]:
10988         * LaTeX.C:
10989         * LyXAction.[Ch]:
10990         * lyxfunc.[Ch]:
10991         * lyxrc.C: subsequent changes
10992
10993
10994 2002-08-07  John Levon  <levon@movementarian.org>
10995
10996         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10997           document options change.
10998
10999 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11000
11001         * counters.[Ch]
11002         * text2.C
11003         * paragraph.[Ch]
11004         * makefile.am: move counters functionality over from
11005         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11006
11007 2002-08-06  John Levon  <levon@movementarian.org>
11008
11009         * WordLangTuple.h: new file for word + language code tuple
11010
11011         * SpellBase.h:
11012         * pspell.h:
11013         * pspell.C:
11014         * ispell.h:
11015         * ispell.C:
11016         * lyxtext.h:
11017         * text.C:
11018         * text2.C:
11019         * BufferView.h:
11020         * BufferView2.C: use WordLangTuple
11021
11022         * layout.h:
11023         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11024
11025 2002-08-06  John Levon  <levon@movementarian.org>
11026
11027         * lyx_main.C: fix cmdline batch handling
11028
11029 2002-08-06  André Pönitz <poenitz@gmx.net>
11030
11031         * lyxrc.C: set default for show_banner to true
11032
11033 2002-08-06  John Levon  <levon@movementarian.org>
11034
11035         * pspell.C: fix a crash, and allow new aspell to work
11036
11037 2002-08-06  John Levon  <levon@movementarian.org>
11038
11039         * lyxfunc.C:
11040         * kbmap.C: small cleanup
11041
11042         * vspace.h:
11043         * vspace.C: add const
11044
11045 2002-08-05  John Levon  <levon@movementarian.org>
11046
11047         * LyXAction.C: back to tabular-insert
11048
11049 2002-08-04  John Levon  <levon@movementarian.org>
11050
11051         * BufferView.h:
11052         * BufferView.C: cosmetic change
11053
11054         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11055
11056         * bufferlist.C:
11057         * buffer.h:
11058         * buffer.C:
11059         * lyxcb.h:
11060         * lyxcb.C:
11061         * lyxserver.C:
11062         * lyxvc.C:
11063         * vc-backend.C:
11064         * BufferView2.C: purge all "Lyx" not "LyX" strings
11065
11066         * lyxcursor.h:
11067         * lyxcursor.C: attempt to add some documentation
11068
11069         * lyxfunc.C:
11070         * commandtags.h:
11071         * LyXAction.C:
11072         * ToolbarDefaults.C:
11073         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11074           merge with LFUN_TABULAR_INSERT
11075
11076         * Makefile.am:
11077         * SpellBase.h:
11078         * ispell.h:
11079         * ispell.C:
11080         * pspell.h:
11081         * pspell.C: split up i/pspell implementations into separate
11082           files, many cleanups
11083
11084         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11085
11086         * text2.C: some cleanup
11087
11088         * lyxfunc.C: don't check for isp_command == "none" any more, it
11089           didn't make any sense
11090
11091 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11092
11093         * counters.[Ch]
11094         * text2.C
11095         * paragraph.[Ch]
11096         * makefile.am: move counters functionality over
11097         from text2.C/paragraph.[Ch] to counters.[Ch], and
11098         make proper C++.
11099 2002-08-02  John Levon  <levon@movementarian.org>
11100
11101         * buffer.C: s/lyxconvert/lyx2lyx/
11102
11103 2002-08-02  Angus Leeming  <leeming@lyx.org>
11104
11105         * lyxlex.C: revert John's change as it breaks reading of the user
11106         preamble.
11107
11108 2002-08-02  Angus Leeming  <leeming@lyx.org>
11109
11110         * importer.C (Import):
11111         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11112         changes due to LyXView::view() now returning a boost::shared_ptr.
11113
11114 2002-08-02  John Levon  <levon@movementarian.org>
11115
11116         * lyxlex.C: small cleanup
11117
11118 2002-08-02  John Levon  <levon@movementarian.org>
11119
11120         * text2.C (status): small cleanup, no logic change
11121
11122 2002-08-01  John Levon  <levon@movementarian.org>
11123
11124         * buffer.h:
11125         * buffer.C (writeFile): don't output alerts, caller
11126           handles this
11127
11128         * bufferlist.C:
11129         * lyx_cb.C: from above
11130
11131         * lyxfunc.C: allow to open non-existent files
11132
11133 2002-07-31  John Levon  <levon@movementarian.org>
11134
11135         * lyxserver.C: don't let incidental errors get
11136           in the way (errno)
11137
11138 2002-07-30  John Levon  <levon@movementarian.org>
11139
11140         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11141
11142 2002-07-30  John Levon  <levon@movementarian.org>
11143
11144         * lyxserver.h:
11145         * lyxserver.C: remove I/O callback too
11146
11147 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11150         log.
11151
11152 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11153
11154         * many files: strip,frontStrip -> trim,ltrim,rtrim
11155
11156 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11157
11158         * PrinterParams.h: remove extern containsOnly, and include
11159         support/lstrings.h instead.
11160
11161         * LaTeX.C (scanAuxFile): modify because of strip changes
11162         (deplog): ditto
11163         * buffer.C (makeLaTeXFile): ditto
11164         * bufferparams.C (writeFile): ditt
11165         * lyxfont.C (stateText): ditto
11166         * lyxserver.C (read_ready): ditto
11167         * vc-backend.C (scanMaster): ditto
11168
11169         * BufferView_pimpl.h: ws changes
11170
11171         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11172
11173 2002-07-26  André Pönitz <poenitz@gmx.net>
11174
11175         * kb_sequence.C: remove unnedred usings
11176
11177 2002-07-26  Juergen Vigna  <jug@sad.it>
11178
11179         * lyxfind.C (LyXReplace): we have to check better if the returned
11180         text is not of theLockingInset()->getLockingInset().
11181
11182 2002-07-25  Juergen Vigna  <jug@sad.it>
11183
11184         * lyxfind.C (LyXReplace): don't replace if we don't get the
11185         right LyXText.
11186
11187         * undo_funcs.C (createUndo): remove debugging code.
11188
11189 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11190
11191         * buffer.C (parseSingleLyXformat2Token): Use default placement
11192         when reading old floats.
11193
11194         * FloatList.C (FloatList): Change the default placement of figure
11195         and tables to "tbp".
11196
11197 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * MenuBackend.C: using std::max
11200
11201 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11202
11203         * MenuBackend.C (expandToc):
11204         (expandToc2): code moved from xforms menu frontend. It is now
11205         generic and TOCs are transparent to menu frontends.
11206
11207 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * toc.C (getTocList): protect against buf=0
11210
11211         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11212         Menu as first parameter. Now, this calls itself recursively to
11213         expand a whole tree (this will be useful for TOC handling)
11214         (expandFloatInsert): remove 'wide' version of floats
11215
11216         * MenuBackend.h (submenuname): returns the name of the submenu.
11217         (submenu): returns the submenu itself, provided it has been
11218         created by MenuBackend::expand
11219
11220 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11223         insets which have noFontChange == true. (bug #172)
11224
11225 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11226
11227         * BufferView_pimpl.C: add connection objects and use them...
11228         (Pimpl): here.
11229
11230 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11231
11232         * MenuBackend.C (expandLastfiles):
11233         (expandDocuments):
11234         (expandFormats):
11235         (expandFloatListInsert):
11236         (expandFloatInsert):
11237         (expand): split expand in parts
11238
11239 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11240
11241         * lyx_gui.C: use lyx_gui::exit()
11242
11243 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * LyXAction.C: show the failing pseudo action
11246
11247 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11248
11249         * buffer.C (readFile): Run the lyxconvert script in order to read
11250         old files.
11251
11252 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11253
11254         * LyXAction.C:
11255         * commandtags.h:
11256         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11257
11258 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * LyXAction.C:
11261         * commandtags.h:
11262         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11263
11264 2002-07-22  Herbert Voss  <voss@lyx.org>
11265
11266         * lengthcommon.C:
11267         * lyxlength.[Ch]: add support for the vertical lengths
11268
11269 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * toc.[Ch]: std:: fixes
11272
11273 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11274
11275         * lyxrc.C: do not include lyx_main.h
11276
11277         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11278         for layouts
11279
11280         * lyxrc.C:
11281         * encoding.C:
11282         * bufferlist.C:
11283         * BufferView2.C: include "lyxlex.h"
11284
11285         * tabular.h:
11286         * bufferparams.h: do not #include "lyxlex.h"
11287
11288         * lyxtextclasslist.C (Add): remove method
11289         (classlist): renamed to classlist_
11290
11291         * paragraph_pimpl.C:
11292         * paragraph.C:
11293         * text2.C:
11294         * CutAndPaste.C:
11295         * bufferview_funcs.C:
11296         * bufferlist.C:
11297         * text.C:
11298         * LaTeXFeatures.C:
11299         * buffer.C:
11300         * toc.C (getTocList): use BufferParams::getLyXTextClass
11301
11302         * toc.C (getTocList): use InsetFloat::addToToc
11303
11304         * toc.[Ch]: new files, containing helper functions to handle table
11305         of contents
11306
11307         * lyxfunc.C (dispatch): no need to remove spaces around command
11308         given as a string
11309         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11310         first command of the sequence; it is not very clever, but I do not
11311         have a better idea, actually
11312
11313         * LyXAction.C (LookupFunc): make sure to remove space at the
11314         beginning and end of the command
11315
11316 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11317
11318         * MenuBackend.C (getMenubar): new method: return the menubar of
11319         this menu set
11320         (read): treat differently reading of menu and menubar (in
11321         particular, the menubar has no name now)
11322         (Menu::menubar): remove
11323
11324         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11325         saving is finished
11326
11327 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11328
11329         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11330         a bibitem inset in a RTL paragraph.
11331
11332 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * paragraph_pimpl.C: constify
11335
11336         * BufferView_pimpl.C:
11337         * LaTeX.C:
11338         * lyxfunc.C: fix dispatch in a nicer way
11339
11340 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * lyxfunc.C (dispatch):
11343         * BufferView_pimpl.C:
11344         * BufferView_pimpl.h:
11345         * BufferView.C:
11346         * BufferView.h: rename Dispatch() to dispatch()
11347
11348         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11349
11350         * lyxlayout.C (Read): honor DependsOn tag
11351
11352         * lyxlayout.[Ch] (depends_on): new method
11353
11354         * version.C.in: update lyx_docversion
11355
11356         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11357
11358         * paragraph.C (validate): remove from here...
11359         * paragraph_pimpl.C (validate): ... and move here
11360         (isTextAt): make it const
11361
11362         * buffer.C (getLists): ws cleanup
11363
11364 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11365
11366         * language.C (read): Use iso8859-1 encoding in latex_lang
11367         (this prevents LyX from crashing when using iso10646-1 encoding).
11368
11369 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11370
11371         * text2.C (toggleInset): if cursor is inside an inset, close the
11372         inset and leave cursor _after_ it
11373
11374 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * lyxfunc.C: move minibuffer completion handling out of here
11377
11378 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11379
11380         * BufferView_pimpl.C:
11381         * LaTeX.C: fix dispatch calls
11382
11383 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11384
11385         * text.C (drawChars): Fix Arabic text rendering.
11386
11387 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * LyXAction.C:
11390         * commandtags.h:
11391         * lyxfunc.C: remove message-push/pop
11392
11393         * lyxserver.C:
11394         * lyxfunc.h:
11395         * lyxfunc.C: rationalise some code by removing verboseDispatch
11396           in favour of a bool argument to dispatch()
11397
11398 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * lyx_main.C (init): make sure to read symlinks as absolute paths
11401
11402 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * lyxfunc.h:
11405         * lyxfunc.C: no need for commandshortcut to be a member
11406
11407 2002-07-15  André Pönitz <poenitz@gmx.net>
11408
11409         * converter.C: add support for $$s (scripts from lib/scripts dir)
11410         * lyx_main.C: white space
11411
11412 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11413
11414         * bufferlist.C:
11415         * lyxrc.h:
11416         * lyxrc.C: remove second exit confirmation
11417
11418 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * BufferView.h:
11421         * BufferView.C:
11422         * BufferView2.C:
11423         * BufferView_pimpl.h:
11424         * BufferView_pimpl.C:
11425         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11426
11427 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11428
11429         * MenuBackend.C (expand): add numeric shortcuts to document menu
11430
11431         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11432
11433 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11434
11435         * lyxfont.C (setLyXFamily):
11436         (setLyXSeries):
11437         (setLyXShape):
11438         (setLyXSize):
11439         (setLyXMisc):
11440         (lyxRead):
11441         * debug.C (value):
11442         * buffer.C (asciiParagraph): use ascii_lowercase
11443
11444 2002-07-15  Mike Fabian  <mfabian@suse.de>
11445
11446         * lyxlex_pimpl.C (search_kw):
11447         * lyxlex.C (getLongString):
11448         * converter.h (operator<):
11449         * converter.C (operator<):
11450         * buffer.C (parseSingleLyXformat2Token):
11451         (asciiParagraph):
11452         * ToolbarDefaults.C (read):
11453         * MenuBackend.C (checkShortcuts):
11454         (read):
11455         * LColor.C (getFromGUIName):
11456         (getFromLyXName): use the compare_ascii_no_case instead of
11457         compare_no_case, because in turkish, 'i' is not the lowercase
11458         version of 'I', and thus turkish locale breaks parsing of tags.
11459
11460 2002-07-16  Angus Leeming  <leeming@lyx.org>
11461
11462         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11463         now takes a Buffer const & argument.
11464
11465 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * BufferView.C (resize): check there's a buffer to resize
11468
11469 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * lyxfunc.C: remove dead code
11472
11473         * lyxserver.h:
11474         * lyxserver.C: use lyx_guii::set_read_callback
11475
11476 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11477
11478         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11479         an inset in a RTL paragraph.
11480
11481 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * lyxfunc.C: repaint after a font size update
11484
11485 2002-07-15  André Pönitz <poenitz@gmx.net>
11486
11487         * lyxlength.C: inBP should be able to return negative values
11488
11489 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * lyxfunc.C: use lyx_gui::update_fonts()
11492
11493 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * lyxfunc.C: use lyx_gui::update_color()
11496
11497 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * bufferlist.C:
11500         * lyxfunc.h:
11501         * lyxfunc.C:
11502         * lyxrc.h:
11503         * lyxrc.C: remove file->new asks for name option, and let
11504           buffer-new take an argument
11505
11506 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * BufferView_pimpl.C: remove unneeded extra repaint()
11509
11510 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * LyXAction.C: allow command-sequence with NoBuffer
11513
11514         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11515
11516 2002-07-10  Angus Leeming  <leeming@lyx.org>
11517
11518         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11519
11520 2002-07-09  Angus Leeming  <leeming@lyx.org>
11521
11522         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11523
11524 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * lengthcommon.h: whitespace
11527
11528         * lyxfunc.C: update scrollbar after goto paragraph
11529
11530         * lyxtext.h: factor out page break drawing, and fix it so
11531           page break/added space paints as selected nicely
11532
11533 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11534
11535         * BufferView_pimpl.C: add FIXMEs, clean up a little
11536
11537 2002-07-09  André Pönitz <poenitz@gmx.net>
11538
11539         * lyxfont.[Ch]: support for wasy symbols
11540
11541 2002-07-08  André Pönitz <poenitz@gmx.net>
11542
11543         * BufferView_pimpl.C: apply John's patch for #93.
11544
11545 2002-07-05  Angus Leeming  <leeming@lyx.org>
11546
11547         * BufferView_pimpl.C (buffer): generate previews if desired.
11548
11549         * LColor.h: add "preview" to the color enum.
11550
11551         * LColor.C (LColor): add a corresponding entry to the items array.
11552
11553         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11554         with this buffer.
11555
11556 2002-07-05  Angus Leeming  <leeming@lyx.org>
11557
11558         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11559         The body of the code is now in the method that is passed an ostream &
11560         rather than a file name.
11561         Pass an additional only_preamble parameter, useful for the forthcoming
11562         preview stuff.
11563
11564 2002-07-03  André Pönitz <poenitz@gmx.net>
11565
11566         * lyxfunc.C: simplify getStatus() a bit for math stuff
11567
11568 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11569
11570         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11571
11572 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11573
11574         * text.C (changeRegionCase): do not change case of all the
11575         document when region ends at paragraph end (bug #461)
11576
11577 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11578
11579         * paragraph.C (startTeXParParams):
11580         (endTeXParParams): add \protect when necessary
11581
11582 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11583
11584         * BufferView_pimpl.C (workAreaExpose): remove warning
11585
11586 2002-06-27  Angus Leeming  <leeming@lyx.org>
11587
11588         * Makefile.am: add lyxlayout_ptr_fwd.h.
11589
11590 2002-06-26  André Pönitz <poenitz@gmx.net>
11591
11592         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11593
11594 2002-06-25  Angus Leeming  <leeming@lyx.org>
11595
11596         * lyxfunc.C (dispatch): Comment out the call to
11597         grfx::GCache::changeDisplay. The method no longer exists now that the
11598         pixmap generation part of the graphics loader has been moved into
11599         InsetGraphics.
11600
11601 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11602
11603         * text2.C: layout as layout
11604
11605         * text.C: layout as layout
11606
11607         * tabular.C (OldFormatRead): layout as layout
11608
11609         * paragraph_pimpl.C (TeXDeeper): layout as layout
11610         (realizeFont): layout as layout
11611
11612         * paragraph.C (writeFile): layout as layout
11613         (validate): layout as layout
11614         (getFont): layout as layout
11615         (getLabelFont): layout as layout
11616         (getLayoutFont): layout as layout
11617         (breakParagraph): layout as layout
11618         (stripLeadingSpaces): layout as layout
11619         (getEndLabel): layout as layout
11620         (getMaxDepthAfter): layout as layout
11621         (applyLayout): layout as layout
11622         (TeXOnePar): layout as layout
11623         (simpleTeXOnePar): layout as layout
11624         (TeXEnvironment): layout as layout
11625         (layout): layout as layout
11626         (layout): layout as layout
11627
11628         * lyxtextclass.C (compare_name): new functor to work with
11629         shared_ptr, layout as layout
11630         (Read): layout as layout
11631         (hasLayout): layout as layout
11632         (operator): layout as layout
11633         (delete_layout): layout as layout
11634         (defaultLayout): layout as layout
11635
11636         * lyxlayout_ptr_fwd.h: new file
11637
11638         * lyxlayout.C (Read): layout as layout
11639
11640         * lyx_cb.C (MenuInsertLabel): layout as layout
11641
11642         * bufferlist.C (newFile): layout as layout
11643
11644         * buffer.C (readLyXformat2): layout as layout
11645         (parseSingleLyXformat2Token): layout as layout
11646         (insertStringAsLines): layout as layout
11647         (asciiParagraph): layout as layout
11648         (latexParagraphs): layout as layout
11649         (makeLinuxDocFile): layout as layout
11650         (simpleLinuxDocOnePar): layout as layout
11651         (makeDocBookFile): layout as layout
11652         (simpleDocBookOnePar): layout as layout
11653         (getLists): layout as layout
11654
11655         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11656
11657         * CutAndPaste.C (cutSelection): layout as layout
11658         (pasteSelection): layout as layout
11659         (SwitchLayoutsBetweenClasses): layout as layout
11660
11661         * BufferView_pimpl.C (Dispatch): layout as layout
11662         (smartQuote): layout as layout
11663
11664         * BufferView2.C (unlockInset): layout as layout
11665
11666 2002-06-24  André Pönitz <poenitz@gmx.net>
11667
11668         * lyxfunc.C: fix #487
11669
11670 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11671
11672         * lyxrc.h:
11673         * lyxrc.C:
11674         * lyxfunc.C: remove display_shortcuts, show_banner
11675
11676 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * Buffer_pimpl.C: oops, update on resize
11679
11680 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * buffer.C:
11683         * converter.C:
11684         * exporter.C:
11685         * lyxfunc.C:
11686         * BufferView.h:
11687         * BufferView.C: use repaint()
11688
11689         * BufferView_pimpl.h:
11690         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11691           as it's a clearer description. Remove superfluous
11692           redraws.
11693
11694 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * text.C: fix bug 488. Not ideal, but getting
11697           getWord() to work properly for the insets that
11698           matter is more difficult ...
11699
11700 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * BufferView_pimpl.C:
11703         * LyXAction.C:
11704         * commandtags.h:
11705         * lyxfunc.C: remove the six million index lyxfuncs to just
11706           one, and DTRT (bug 458)
11707
11708 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * BufferView.h:
11711         * BufferView.C:
11712         * BufferView_pimpl.h:
11713         * BufferView_pimpl.C: clean up resize() stuff,
11714           and unnecessary updateScreen()s
11715
11716 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * BufferView.h:
11719         * BufferView.C:
11720         * BufferView_pimpl.h:
11721         * BufferView_pimpl.C:
11722         * lyxfind.h:
11723         * lyxfind.C:
11724         * minibuffer.C: remove focus management of workarea,
11725           not needed. Use screen's greyOut()
11726
11727 2002-06-17  Herbert Voss  <voss@lyx.org>
11728
11729         * converter.C: (convert) do not post a message, when converting
11730         fails, let the calling function decide what to do in this case
11731
11732 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * lyxfunc.C: tidy up a little
11735
11736 2002-06-16    <alstrup@diku.dk>
11737
11738         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11739         Got rid of FORMS_H_LOCATION include. Now we are
11740         GUII.
11741
11742 2002-06-15  LyX Development team  <lyx@rilke>
11743
11744         * buffer.[Ch] (sgmlOpenTag):
11745         (sgmlCloseTag): Added support for avoiding pernicious mixed
11746         content. Return number of lines written.
11747
11748         (makeLinuxDocFile):
11749         (makeDocBookFile): Fixed calls to sgml*Tag.
11750         Simple white space clean.
11751
11752         (simpleDocBookOnePar): Simple white space clean.
11753
11754         * tabular.[Ch] (docBook): Renamed to docbook and got another
11755         argument to related with the pernicious mixed content.
11756
11757         (docbookRow): Fixed calls for docbook inset method.
11758
11759 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11760
11761         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11762         so it's X11 independent.
11763
11764         * kb*.[Ch]: ditto.
11765
11766         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11767
11768 2002-06-15  Lyx Development team  <lyx@electronia>
11769
11770         * intl.h: Renamed getTrans to getTransManager.
11771
11772 2002-06-14  Angus Leeming  <leeming@lyx.org>
11773
11774         * Makefile.am: nuke forgotten stl_string_fwd.h.
11775
11776 2002-06-12  Angus Leeming  <leeming@lyx.org>
11777
11778         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11779
11780 2002-06-13  Angus Leeming  <leeming@lyx.org>
11781
11782         * LaTeX.C:
11783         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11784
11785 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11786
11787         * kbmap.C (getiso): add support for cyrillic and greek
11788
11789 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * BufferView.h:
11792         * BufferView.C:
11793         * BufferView_pimpl.h:
11794         * BufferView_pimpl.C: move bogus scrolling logic
11795           to xforms
11796
11797 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11798
11799         * lyxfunc.C:
11800         * BufferView_pimpl.C: view->resize() change
11801
11802 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11803
11804         * BufferView_pimpl.C: topCursorVisible
11805           prototype change
11806
11807 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * Makefile.am:
11810         * lyx_gui.h:
11811         * lyx_gui.C: move to frontends/
11812
11813         * main.C:
11814         * lyx_main.h:
11815         * lyx_main.C: changes from above
11816
11817 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11818
11819         * intl.C:
11820         * intl.h:
11821         * kbmap.C:
11822         * kbsequence.C:
11823         * lyx_cb.C:
11824         * lyx_main.C: minor tidy
11825
11826 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * BufferView_pimpl.h:
11829         * BufferView_pimpl.C:
11830         * BufferView.h:
11831         * BufferView.C: make painter() const,
11832           remove dead code
11833
11834         * BufferView2.C: use screen() accessor
11835
11836         * lyx_main.h:
11837         * lyx_main.C: some minor cleanup
11838
11839 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * BufferView_pimpl.h:
11842         * BufferView_pimpl.C: remove enter/leaveView,
11843           use workHeight()
11844
11845 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * BufferView.h:
11848         * BufferView.C:
11849         * BufferView2.C:
11850         * BufferView_pimpl.h:
11851         * BufferView_pimpl.C: only construct screen once,
11852           rename
11853
11854         * lyxrc.C: remove pointless comment
11855
11856 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * BufferView.h:
11859         * BufferView.C: remove active() and belowMouse()
11860
11861         * BufferView_pimpl.h:
11862         * BufferView_pimpl.C: use workarea() not workarea_,
11863           and make it use a scoped_ptr instead
11864
11865 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * lyx_gui.C: add debug message on BadWindow
11868
11869 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * sp_spell.C: fdopen is not part of the C++ standard.
11872
11873         * paragraph.C (InsetIterator): use >= instead of ==
11874
11875 2002-06-07  Angus Leeming  <leeming@lyx.org>
11876
11877         Fixes needed to compile with Compaq cxx 6.5.
11878         * BufferView_pimpl.C:
11879         * DepTable.C:
11880         * buffer.C:
11881         * converter.C:
11882         * encoding.C:
11883         * lyx_gui.C:
11884         * lyx_main.C:
11885         * lyxtextclasslist.C:
11886         * minibuffer.C:
11887         * sp_spell.C:
11888         * tabular_funcs.C:
11889         * vc-backend.C:
11890         all c-library variables have been moved into namespace std. Wrap
11891         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11892
11893         * lyxlength.C:
11894         * tabular-old.C:
11895         * tabular.C:
11896         Add a using std::abs declaration.
11897
11898         * kbmap.h (modifier_pair):
11899         * paragraph.h (InsetTable, InsetList):
11900         * lyxfont.h (FontBits):
11901         type definition made public.
11902
11903         * bufferlist.C (emergencyWriteAll): the compiler complains that
11904         there is more than one possible lyx::class_fun template to choose from.
11905         I re-named the void specialisation as lyx::void_class_fun.
11906
11907         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11908
11909         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11910         the compiler is is unable to find tostr in write_attribute.
11911
11912 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11913
11914         * buffer.C (sgmlError): hide #warning
11915
11916 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11917
11918         * xtl/*: get rid of xtl, which is not in use anyway
11919
11920         * LyXAction.C (init):
11921         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11922         were unimplemented xtl experimentation
11923
11924 2002-06-04  André Pönitz <poenitz@gmx.net>
11925
11926         * lyxfunc.C: disable array operation on simple formulae
11927
11928 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11929
11930         * converter.C: constify a bit
11931
11932 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * lyx_gui.C: check xforms version correctly
11935
11936 2002-04-30  Herbert Voss  <voss@lyx.org>
11937
11938         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11939         "keep" option
11940
11941 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11942
11943         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11944           attempt to register it with a VCS)
11945
11946 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11947
11948         * lyx_main.C (init): honor variables LYX_DIR_13x and
11949         LYX_USERDIR_13x
11950
11951 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * buffer.h:
11954         * buffer.C:
11955         * lyx_main.C: fix a crash on bad command line,
11956           and give a useful exit status on error
11957
11958         * lyxfunc.C (doImport): allow -i lyx to work
11959
11960 2002-03-30  André Pönitz <poenitz@gmx.net>
11961
11962         * lyxfunc.C: mathed font changes
11963
11964 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * LaTeX.C:
11967         * importer.h:
11968         * importer.C:
11969         * lyx_sty.h:
11970         * lyx_sty.C:
11971         * lyxlex.C:
11972         * lyxrow.h:
11973         * lyxtext.h:
11974         * paragraph.h:
11975         * paragraph.C:
11976         * texrow.h:
11977         * texrow.C:
11978         * text.C:
11979         * trans_mgr.h: srcdocs, and some minor cleanups
11980
11981 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11982
11983         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11984         call getFont all the time)
11985
11986 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11987
11988         * switch from SigC signals to boost::signals
11989
11990 2002-05-29  André Pönitz <poenitz@gmx.net>
11991
11992         * paragraph_pimpl.C (getChar): don't call size() too often...
11993
11994 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11995
11996         * paragraph_pimpl.C (insertChar): do not try to update tables when
11997         appending (pos == size())
11998
11999         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12000         in order to reduce drastically the number of comparisons needed to
12001         parse a large document
12002
12003 2002-05-29  André Pönitz <poenitz@gmx.net>
12004
12005         * text.C:
12006         * text2.C:
12007         * lyxtextclass.C:
12008         * sp_pspell.h:
12009         * textclasslist.[Ch]:
12010         * sp_ispell.h: whitespace change
12011
12012 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12013
12014         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12015         lyxaction directly now.
12016
12017 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * trans.C:
12020         * lyxfont.C:
12021         * lyxvc.C: remove unused headers
12022
12023 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12024
12025         * Makefile.am:
12026         * buffer.h:
12027         * undostack.h:
12028         * undostack.C:
12029         * undo_funcs.h:
12030         * undo_funcs.C: some cleanups. Use shared_ptr
12031           and a template for the undo stacks.
12032
12033 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * BufferView_pimpl.h:
12036         * BufferView_pimpl.C:
12037         * kbmap.h:
12038         * kbmap.C:
12039         * kbsequence.h:
12040         * kbsequence.C:
12041         * lyxfunc.h:
12042         * lyxfunc.C:
12043         * text2.C: use key_state/mouse_state
12044
12045 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12046
12047         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12048         and LSubstring
12049
12050         * chset.C: change include order
12051         (loadFile): use boost regex and get rid of LRegex and LSubstring
12052
12053         * Makefile.am (BOOST_LIBS): new variable
12054         (lyx_LDADD): use it
12055
12056         * LaTeX.C: change include order.
12057         (scanAuxFile): use boost regex and get rid of LRegex and
12058         LSubstring
12059         (deplog): ditto
12060
12061 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * ColorHandler.h:
12064         * ColorHandler.C:
12065         * FontInfo.h:
12066         * FontInfo.C: moved to frontends/xforms/
12067
12068         * FontLoader.h:
12069         * FontLoader.C: moved into frontends for GUIIzation
12070
12071         * Makefile.am:
12072         * lyx_gui.C:
12073         * lyxfont.C:
12074         * lyxfunc.C: changes from above
12075
12076 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12077
12078         * LColor.C: remove spurious X include
12079
12080         * BufferView_pimpl.C:
12081         * Makefile.am:
12082         * font.h:
12083         * font.C:
12084         * text.C:
12085         * text2.C: move font metrics to frontends/
12086
12087 2002-05-24  Juergen Vigna  <jug@sad.it>
12088
12089         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12090         setting the undo_cursor.
12091
12092         * ParagraphParameters.h: include local includes first.
12093
12094 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * BufferView_pimpl.C:
12097         * BufferView_pimpl.h:
12098         * Makefile.am:
12099         * WorkArea.h:
12100         * WorkArea.C:
12101         * screen.C: move WorkArea into frontends/
12102
12103         * lyxscreen.h:
12104         * screen.C:
12105         * text.C:
12106         * BufferView.C:
12107         * BufferView2.C: move LyXScreen into frontends/
12108
12109         * lyxlookup.h:
12110         * lyxlookup.C:
12111         * lyx_gui.C: move lyxlookup into frontends/xforms/
12112
12113 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * BufferView2.C:
12116         * BufferView_pimpl.C:
12117         * FontLoader.C:
12118         * LyXView.h:
12119         * LyXView.C:
12120         * Makefile.am:
12121         * WorkArea.C:
12122         * XFormsView.h:
12123         * XFormsView.C:
12124         * buffer.C:
12125         * bufferlist.C:
12126         * bufferview_funcs.C:
12127         * converter.C:
12128         * importer.C:
12129         * lyx_cb.C:
12130         * lyx_gui.C:
12131         * lyx_main.C:
12132         * lyx_find.C:
12133         * lyxfunc.C:
12134         * lyxvc.C:
12135         * minibuffer.C:
12136         * text.C:
12137         * text2.C:
12138         * trans.C:
12139         * vc-backend.C: move LyX/XFormsView into frontends/
12140
12141 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * Makefile.am:
12144         * PainterBase.C:
12145         * PainterBase.h:
12146         * Painter.C:
12147         * Painter.h:
12148         * WorkArea.C:
12149         * WorkArea.h:
12150         * screen.C:
12151         * tabular.C:
12152         * text.C:
12153         * text2.C: move Painter to frontends/
12154
12155 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * buffer.C: comment out some some code that depend upon lyx_format
12158         < 220
12159
12160         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12161         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12162
12163         * buffer.h (NO_COMPABILITY): turn off compability
12164
12165         * ColorHandler.C: include scoped_array.hpp
12166
12167         * font.C: Use more specific smart_ptr header.
12168         * Painter.C: ditto
12169         * gettext.C: ditto
12170         * ShareContainer.h: ditto
12171         * lyx_main.h: ditto
12172         * kbmap.h: ditto
12173         * FontInfo.h: ditto
12174         * BufferView_pimpl.h: ditto
12175         * ColorHandler.h: ditto
12176
12177         * kbmap.C (defkey): change call to shared_ptr::reset
12178
12179 2002-05-21  Juergen Vigna  <jug@sad.it>
12180
12181         * buffer.C (insertErtContents): fix to insert ert asis if it is
12182         non empty. Skip it completely if it contains only whitespaces.
12183
12184 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * BufferView_pimpl.C:
12187         * BufferView2.C: clear selection on paste (bug 393)
12188
12189 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12190
12191         * DepTable.C: include ctime
12192
12193 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12194
12195         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12196
12197 2002-05-14  Juergen Vigna  <jug@sad.it>
12198
12199         * text.C (breakParagraph): fixed function to honor the keepempty
12200         layout in the right maner and also to permit the right breaking
12201         algorithm on empty or non empyt keepempty paragraphs.
12202
12203         * paragraph.C (breakParagraph): we have to check also if the par
12204         is really empty (!size()) for isempty otherwise we do the wrong
12205         paragraph break.
12206
12207 2002-05-10  Juergen Vigna  <jug@sad.it>
12208
12209         * buffer.[Ch] : The following are only changes to the ert
12210         compatibility read reading old LaTeX layout and font stuff and
12211         convert it to ERTInsets.
12212
12213         * buffer.h: added isErtInset().
12214
12215         * buffer.C (struct ErtComp): add a fromlayout bool to check
12216         if we're inside a LaTeX layout.
12217         (isErtInset): new helper function.
12218         (insertErtContents): look for other ert insets before this one
12219         and insert the contents there, so that we don't have subsequent
12220         ERT insets with nothing between them. This way we create only one
12221         inset with multiple paragraphs. Also check if we don't insert only
12222         spaces ' ' as they are ignored anyway afterwards in the .tex file
12223         so if we have only spaces we will ignore this latex part in the
12224         new file.
12225         (parseSingleLyXformat2Token \\layout): better compatibility when
12226         reading layout-latex stuff.
12227         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12228         language tag.
12229         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12230         stuff after reading the inset only get the information back from
12231         the stack.
12232
12233 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12234
12235         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12236
12237         * LaTeXFeatures.C (getBabelOptions): New method.
12238
12239 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12240
12241         * BufferView_pimpl.C (Dispatch): work around missing argument for
12242         'layout'
12243
12244 2002-05-08  Juergen Vigna  <jug@sad.it>
12245
12246         * text.C (leftMargin): handle paragraph leftindent.
12247
12248         * paragraph.C (writeFile): write the new \\leftindent tag.
12249         (validate): handle leftindent code.
12250         (TeXEnvironment): handle paragraphleftindent code again.
12251
12252         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12253
12254         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12255         for paragrap_extra indent code and new token \\leftindent.
12256         (latexParagraphs): handle the leftindent as environment.
12257
12258         * ParameterStruct.h: added leftindent support.
12259
12260         * ParagraphParameters.C (leftIndent): added support functions for
12261         the paragraph left indent.
12262
12263         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12264         more appropriate.
12265
12266 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12267
12268         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12269         inside insetERT.
12270
12271         * text.C (computeBidiTables): No bidi in insetERT.
12272
12273         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12274         in RTL documents.
12275
12276 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * version.C.in: pre 5
12279
12280 2002-05-02  José Matos  <jamatos@fep.up.pt>
12281         * buffer.C (makeDocBookFile): white space changes, add newline to
12282         command styles.
12283         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12284
12285         * tabular.C (docBook): fix typo.
12286
12287 2002-05-03  Juergen Vigna  <jug@sad.it>
12288
12289         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12290         change in LyXText as we can not be sure it was not freed.
12291         (drawOneRow): remove unused code.
12292
12293         * text.C (drawInset): redo the calculation of the need_break_row as
12294         it could have a row which was already freed.
12295         (draw): look at the return value of drawInset and return false if
12296         it also returned false.
12297         (paintRowText): look at the return value of draw and return false if
12298         it also returned false.
12299
12300         * lyxtext.h: added bool return type to drawInset() and draw() so that
12301         if we have a change in the row so that the rowbreak has to be redone
12302         we abort drawing as it will be called again.
12303
12304 2002-05-02  Juergen Vigna  <jug@sad.it>
12305
12306         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12307         a change in the maintext also if we're inside an inset.
12308         (Dispatch): set the cursor again after a break line and after the
12309         screen has been updated as it could be we're in a different row.
12310
12311         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12312         to set the cursor behind the pargraph with > size().
12313         (setCursor): check also for the same paragraph when checking where
12314         to put the cursor if we have a NFR inset.
12315
12316         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12317         parts of layout read further up as it still was in the wrong
12318         position.
12319
12320 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * screen.C (drawFromTo): change sine fullRebreak always return
12323         true.
12324
12325         * buffer.C (parseSingleLyXformat2Token): reindent some
12326
12327         * BufferView_pimpl.C (update): change since fullRebreak always
12328         return true.
12329         (Dispatch): git rid of the last hardcoded "Standard"s.
12330
12331 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12332
12333         * text2.[Ch] (fullRebreak): make it return void now that we always
12334         returned true.
12335
12336 2002-04-30  Juergen Vigna  <jug@sad.it>
12337
12338         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12339         ert compatibility check for "latex" layout.
12340
12341 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12342
12343         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12344         minipages: use col% instead of p%, and also use the current font.
12345         (makeLaTeXFile): Fix use babel condition.
12346         (parseSingleLyXformat2Token): Correct font when reading old floats.
12347
12348 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12349
12350         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12351         inserting list of floats.
12352
12353 2002-04-25  Herbert Voss  <voss@lyx.org>
12354
12355         * MenuBackend.C (expand): don't add the graphics extensions to the
12356         export menu
12357
12358 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12359
12360         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12361         non-existing layout, do not complain if it was the default layout
12362         of the original class (bug #342)
12363
12364 2002-04-24  Juergen Vigna  <jug@sad.it>
12365
12366         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12367         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12368
12369 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12370
12371         * buffer.C (getBibkeyList): If using \bibliography, return the
12372         option field with the reference itself. Enables us to provide natbib
12373         support when using \bibliography.
12374
12375 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12376
12377         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12378
12379         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12380         natbib is provided by the LaTeX class.
12381
12382 2002-04-23  Juergen Vigna  <jug@sad.it>
12383
12384         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12385         Wakeup functions.
12386
12387         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12388
12389 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12390
12391         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12392
12393         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12394         ensuremath around textordmasculine, textordfeminine and
12395         textdegree.
12396
12397 2002-04-19  Juergen Vigna  <jug@sad.it>
12398
12399         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12400         reinitializing the buffer otherwise row-dimensions may be wrong.
12401         (update): reset also the selection cursors if they do exits otherwise
12402         their x/y positions may be wrong.
12403
12404         * text2.C (cursorDown): don't enter the inset if we came from a row
12405         above and are one row over the inset.
12406
12407         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12408         really leaving an inset.
12409
12410 2002-04-18  Juergen Vigna  <jug@sad.it>
12411
12412         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12413         of the selected paragraph does not have the selected layout also if
12414         the last one had!
12415
12416         * text2.C (setLayout): fixed bug which did not change last selected
12417         paragraph.
12418
12419         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12420         changed the read and substituted \\end_float with \\end_inset!
12421
12422         * BufferView_pimpl.C (cursorPrevious):
12423         (cursorNext): fixed to make it work with rows heigher than the work
12424         area without moving the cursor only the draw of the row.
12425         (workAreaMotionNotify): fix jumping over high rows.
12426
12427 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12428
12429         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12430         Ressler.
12431
12432 2002-04-16  Juergen Vigna  <jug@sad.it>
12433
12434         * text2.C (setCursor): set also the irow().
12435         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12436         (cursorUp):
12437         (cursorDown): support for locking an inset if the x_fix value goes
12438         inside it. That way I can transverse insets too with cursor up/down.
12439
12440         * lyxrow.h: added irow helper function same as other (i) functions.
12441
12442         * BufferView_pimpl.C (cursorPrevious):
12443         (cursorNext): fixed for insets!
12444
12445 2002-04-15  Juergen Vigna  <jug@sad.it>
12446
12447         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12448         position otherwise it is wrong in some cases.
12449
12450         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12451         inside the inset before the call.
12452
12453 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12454
12455         * buffer.[Ch] (getBibkeyList): make it const.
12456
12457 2002-04-12  Juergen Vigna  <jug@sad.it>
12458
12459         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12460
12461         * text2.C (getCursorX): new helper function
12462         (setCursor): compute also ix_
12463         (setCursorFromCoordinates): set also ix.
12464
12465         * lyxcursor.h: added ix_ and helper functions.
12466
12467         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12468
12469         * buffer.C (insertStringAsLines): dont break paragraph if the this
12470         paragraph is inside an inset which does not permit it!
12471
12472         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12473         also with no chars on this paragraph.
12474         (paintRowText): only paint stuff if it's inside the workarea!
12475
12476         * paragraph.C (breakParagraph): honor keepempty flag and break the
12477         paragraph always below not above.
12478
12479         * BufferView2.C (unlockInset): update the paragraph layout on inset
12480         unlock as we changed paragraph in such a case.
12481
12482         * lyxfind.C (LyXFind): clear the former selection if not found!
12483
12484         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12485         again called in insertChar().
12486
12487         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12488         an inset which uses the whole row!
12489         (rightMargin): ditto.
12490         (insertChar): force a rebreak if we inserted an inset!
12491
12492 2002-03-28  Herbert Voss  <voss@lyx.org>
12493
12494         * lyxlength.[Ch]: add inBP() to get the right PS-point
12495         units (BigPoint). With inPixels we have rounding errors
12496
12497 2002-04-11  Juergen Vigna  <jug@sad.it>
12498
12499         * text2.C (setCursorFromCoordinates): set iy to the right value.
12500         (setCursor): add check if row->previous exists!
12501
12502         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12503         an old float_type as this was the case in the old code!
12504
12505         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12506
12507         * BufferView2.C (showLockedInsetCursor): use iy
12508         (fitLockedInsetCursor): ditto
12509
12510         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12511         locked insets as there we have the right value now.
12512
12513         * lyxcursor.C: added iy_ variable and iy functions to set to the
12514         baseline of cursor-y of the locked inset.
12515
12516         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12517         (setCursor): fixed for insets which need a full row.
12518
12519         * text.C (rowLastPrintable): don't ignore the last space when before
12520         an inset which needs a full row.
12521         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12522         as last character of a row when before a inset which needs a full row.
12523
12524 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * version.C.in: update date
12527
12528         * text2.C (fullRebreak): try to always return true and see what
12529         happens...
12530
12531 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12532
12533         * MenuBackend.C (expand): use Floating::listName
12534
12535         * FloatList.C (FloatList): add listName argument to the built-in
12536         floats
12537
12538         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12539         text associated with the float.
12540
12541 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12542
12543         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12544
12545 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * ShareContainer.h: add a couple of missing typenames.
12548
12549 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12550
12551         * lyxrc.C (getDescription): use _() correctly rather than N_().
12552
12553 2002-03-28  Herbert Voss  <voss@lyx.org>
12554
12555         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12556         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12557
12558 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12559
12560         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12561         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12562
12563 2002-03-29  Juergen Vigna  <jug@sad.it>
12564
12565         * lyxfunc.C (dispatch): add a missing fitCursor call.
12566
12567         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12568         it was scrolled by a cursor move, so return the bool status.
12569
12570         * BufferView.C (fitCursor): return the bool flag also to the outside
12571         world as this is needed.
12572
12573         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12574
12575         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12576         call the edit() as it is not needed (and wrong) IMO.
12577         (workAreaButtonPress): set the screen_first variable before evt.
12578         unlock the inset as this may change screen_first and then we have
12579         a wrong y position for the click!
12580
12581 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12582
12583         * MenuBackend.C (expand): another translation that I missed
12584
12585 2002-03-28  Juergen Vigna  <jug@sad.it>
12586
12587         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12588
12589         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12590
12591 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12592
12593         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12594
12595         * MenuBackend.C (expand): fix export/view/update when there is no
12596         document open.
12597
12598 2002-03-27  Herbert Voss  <voss@lyx.org>
12599
12600         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12601         and text%
12602
12603 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12604
12605         * bufferview_funcs.C (currentState): only show paragraph number
12606         for is DEVEL_VERSION is set.
12607
12608         * lyxfunc.C (dispatch): put warning in INFO channel
12609
12610         * MenuBackend.C (expand): translate the name of floats
12611
12612         * FloatList.C (FloatList): mark the float names for translation
12613
12614         * converter.C (convert): use LibScriptSearch
12615
12616 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12617
12618         * MenuBackend.C (defaults): fix default menu (we might as well get
12619         rid of it...)
12620
12621 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12624         directory.
12625
12626 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * lyxvc.C: reorder includes.
12629
12630 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12633           properly
12634
12635 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * CutAndPaste.C: change layouts earlier on paste
12638           to avoid crashing when calling getFont()
12639
12640 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12641
12642         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12643         irritating #error.
12644
12645 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * WorkArea.C: remove 'Pending' debug message.
12648
12649         * most files: ws cleanup
12650
12651         * buffer.[Ch]: ws changes
12652
12653         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12654
12655 2002-03-21  Juergen Vigna  <jug@sad.it>
12656
12657         * tabular.C (SetMultiColumn): collapse also the contents of the
12658         cells and set the last border right. Added a Buffer const * param.
12659
12660 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12661
12662         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12663         linking or not.
12664
12665 2002-03-19  Juergen Vigna  <jug@sad.it>
12666
12667         * text2.C (clearSelection): reset also xsel_cache.
12668
12669         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12670         where it needs to be called (John tells us to do so too :)
12671         (selectionLost): reset sel_cache.
12672
12673         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12674
12675 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12676
12677         * text2.C (setCursorIntern): put debuging code in INSETS channel
12678
12679 2002-03-19  André Pönitz <poenitz@gmx.net>
12680
12681         * lyxfunc.C: tiny whitespace change
12682
12683 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12684
12685         * ToolbarDefaults.C (init):
12686         * LyXAction.C (init):
12687         * commandtags.h:
12688         * BufferView_pimpl.C (Dispatch):
12689         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12690
12691 2002-03-19  Allan Rae  <rae@lyx.org>
12692
12693         * exporter.C (Export): removeAutoInsets before doing anything else.
12694         While I've just introduced a dependency on BufferView this really is
12695         the best place to clean the buffer otherwise you need to cleanup in
12696         a dozen places before calling export or cleanup in a dozen functions
12697         that export calls.
12698
12699         * converter.C (runLaTeX):
12700         (scanLog): Better handling of removeAutoInsets and screen updates.
12701
12702         * lyxfunc.C (dispatch): small whitespace changes
12703
12704 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12705
12706         * WorkArea.C (C_WorkAreaEvent): return a value.
12707         (event_cb): return 1 if we handled the event, 0 otherwise.
12708
12709         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12710
12711 2002-03-18  Juergen Vigna  <jug@sad.it>
12712
12713         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12714         (GetAdditionalWidth): ditto.
12715         (RightLine): ditto.
12716         (LeftLine): ditto.
12717
12718         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12719         inset if we're there actually (probably not used right now but this
12720         is the direction to go for unifying code).
12721         (paste): disable code to clear the selection.
12722
12723         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12724         inside an InsetText and move the check further up as it is in the
12725         wrong place.
12726
12727         * text2.C (pasteSelection): set a selection over the pasted text.
12728
12729 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12730
12731         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12732         and libgraphics to build on Cygwin.
12733
12734 2002-03-15  Juergen Vigna  <jug@sad.it>
12735
12736         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12737         inserting an Inset into the paragraph. I know this is not the best
12738         fix but we already use current_view in CutAndPaste so we will remove
12739         all of it's using at the same time.
12740
12741         * buffer.C (sgmlError): deactivated function till it is rewritten in
12742         the right mode, now it can create problems.
12743
12744         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12745         before accessing it.
12746
12747 2002-03-14  Juergen Vigna  <jug@sad.it>
12748
12749         * undo_funcs.C (textHandleUndo): do the right thing when updating
12750         the inset after the undo/redo.
12751
12752         * text2.C (setCursor): just some testcode for #44 not ready yet.
12753
12754         * undo_funcs.C (textHandleUndo): set the next() and previous()
12755         pointers of the paragraph to 0 before deleting otherwise we have
12756         problems with the Paragraph::[destructor].
12757
12758         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12759         on a paragraph insertion.
12760
12761 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12762
12763         * buffer.C (asciiParagraph): use += operator for char append to
12764         string.
12765
12766         * paragraph.C (getFontSettings): compare >= not just >
12767         (highestFontInRange): ditto
12768         (setFont): ditto
12769
12770 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * paragraph.C: change several algorithm to be more appripriate for
12773         the problem domain. This is lookip in FontList and in the InsetList.
12774
12775 2002-03-13  André Pönitz <poenitz@gmx.net>
12776
12777         * commandtags.h:
12778         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12779
12780 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * commandtags.h:
12783         * LyXAction.C:
12784         * lyxfunc.C:
12785         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12786
12787 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12788
12789         * Painter.C (display): anon helper function, adjust code for this
12790         change.
12791         (pixmap): remove function.
12792
12793         * Painter.h: remove private display variable.
12794
12795         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12796
12797 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12798
12799         * WorkArea.[Ch]: remove figinset_canvas cruft.
12800
12801 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12802
12803         * lyxtextclass.C (operator): add one item cache optimization.
12804
12805         * bufferlist.h: doxy changes
12806
12807         * bufferlist.C: ws changes
12808
12809         * DepTable.[Ch] (ext_exist): place const in the right spot.
12810
12811         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12812         call resizeInsets.
12813         (workAreaExpose): call resizeInsets when the with BufferView changes.
12814         (Dispatch): adjust for protectedBlank removal
12815         (specialChar): call updateInset if the insert went ok.
12816
12817         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12818         specialChar instead.
12819
12820         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12821
12822         * BufferView.h: doxy change
12823
12824         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12825
12826         * lyxtextclass.C (operator[]): remove non-const version
12827         (defaultLayout): remove non-const version
12828
12829 2002-03-12  Juergen Vigna  <jug@sad.it>
12830
12831         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12832         did resize the LyXText too.
12833
12834         * buffer.C (readLyXformat2): set layout information on newly allocated
12835         paragraphs.
12836
12837         * tabular.C (OldFormatRead): set layout information on the paragraph.
12838
12839 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12840
12841         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12842
12843 2002-03-11  Juergen Vigna  <jug@sad.it>
12844
12845         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12846         plainly wrong.
12847         (resizeCurrentBuffer): force also the insets to resize themselfes.
12848         (moveCursorUpdate): fixed up for InsetText.
12849
12850 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12851
12852         * commandtags.h:
12853         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12854         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12855         value of Dialogs::tooltipsEnabled().
12856         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12857
12858 2002-03-08  Juergen Vigna  <jug@sad.it>
12859
12860         * BufferView_pimpl.C (updateInset): update inset inside inset also
12861         if it isn't inside theLockingInset().
12862
12863 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12864
12865         * buffer.C (asciiParagraph): redo some of the word and line length
12866         handling.
12867         (getLists): look for Caption instead of caption.
12868
12869 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12870
12871         * buffer.C (Buffer): initialize niceFile to true
12872         (makeLaTeXFile):
12873         (makeLinuxDocFile):
12874         (makeDocBookFile): make sure niceFile is true on exit
12875
12876 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12877
12878         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12879
12880 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12881
12882         * LyXSendto.C: remove.
12883         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12884         * lyx_gui.C: remove now-redundant comment.
12885         * ColorHandler.h: remove forward declaration of class WorkArea.
12886         * lyxfunc.C: remove #include "WorkArea.h".
12887
12888 2002-03-07  Juergen Vigna  <jug@sad.it>
12889
12890         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12891         got moved away with the DEPM and also set the inset_owner always
12892         right which before could have been omitted.
12893
12894 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12897         wanted layout is not found.
12898
12899 2002-03-07  Juergen Vigna  <jug@sad.it>
12900
12901         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12902
12903 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * paragraph.C (breakParagraph): use default layout not layout of
12906         prev paragraph.
12907         (Paragraph): clear ParagraphParameters.
12908
12909 2002-03-06  Juergen Vigna  <jug@sad.it>
12910
12911         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12912         otherwise it would not be a valid lenght. Fixed a special case in
12913         the minipage compatibility read where we end the document with a
12914         minipage.
12915
12916         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12917         was set as it could be 0 for InsetTexts first entry.
12918
12919 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * paragraph.C (writeFile): if layout is empty write out
12922         defaultLayoutName().
12923
12924         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12925         file without named layout we set layout to defaultLayoutName().
12926
12927 2002-03-06  Juergen Vigna  <jug@sad.it>
12928
12929         * CutAndPaste.C (copySelection): set layout for new paragraph.
12930
12931         * text.C (prepareToPrint): leave ERT inset left aligned
12932         (leftMargin): don't indent paragraphs inside ERT insets
12933
12934 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * paragraph.C (breakParagraph): dont call clear do the work manually
12937
12938         * paragraph.[Ch] (clear): remove function
12939
12940 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * paragraph.C (Paragraph): dont call clear, the work has already
12943         been done.
12944
12945         * lyxtextclass.C (operator): assert if n is empty
12946
12947         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12948         work manually instead.
12949
12950 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12951
12952         * BufferView_pimpl.C: protect selectionLost against text == 0
12953
12954 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * text.C (breakParagraph): fix a setting layout to '0' problem.
12957
12958 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12959
12960         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12961         final location of file, for the included files, and graphics.
12962
12963 2002-03-05  Juergen Vigna  <jug@sad.it>
12964
12965         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12966
12967 2002-03-04  Juergen Vigna  <jug@sad.it>
12968
12969         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12970
12971         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12972         last column of multicolumn cells.
12973         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12974
12975 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12976
12977         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12978         file if it doesn't go to a temporary file.
12979
12980         * buffer.C (sgmlOpenTag):
12981         (sgmlCloseTag):  remove extra newline insertion.
12982
12983 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * text.C (getRowNearY): comment out debug msg
12986
12987 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * text2.C: first -> first_y
12990
12991         * text.C (getRowNearY): add some attemts at a possible
12992         optimization, not working.
12993
12994         * tabular.[Ch]: add BufferParams to several function so that newly
12995         created paragraph can be initialized to he default layotu for the
12996         buffers textclass.
12997
12998         * tabular-old.C (ReadOld): add buf->params to call of Init
12999
13000         * screen.C: rename text->first to text->first_y
13001
13002         * paragraph.C (breakParagraph): always set layout in the broken
13003         paragraph
13004
13005         * lyxtextclass.C (Read): remove lowercase
13006         (hasLayout): ditto
13007         (operator): ditto
13008         (delete_layout): ditto
13009
13010         * lyxtext.h: rename first -> first_y
13011
13012         * lyxlayout.C (Read): remove lowercase
13013         (name): ditto
13014         (setName): ditto
13015         (obsoleted_by): ditto
13016
13017         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13018
13019         * buffer.C (insertErtContents): add params are to InsetERT
13020         (parseSingleLyXformat2Token): add code to check if a paragraphs
13021         layout really exist.
13022         (parseSingleLyXformat2Token): add params to several inset
13023         constructors
13024         (asciiParagraph): remove lowercase, do the layout comparisons with
13025         no_case
13026
13027         * BufferView_pimpl.C (cursorNext): first -> first_y
13028         (resizeCurrentBuffer): first -> first_y
13029         (updateScrollbar): first -> first_y
13030         (scrollCB): first -> first_y
13031         (workAreaMotionNotify): first -> first_y
13032         (workAreaButtonPress): first -> first_y
13033         (checkInsetHit): first -> first_y
13034         (cursorPrevious): first -> first_y
13035         (cursorNext): first -> first_y
13036         (Dispatch): add buffer_->params to severl inset contructors
13037
13038 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * lyxlayout.C (Read): remove some debug info that I forgot.
13041
13042         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13043         clean up the code slightly.
13044         (makeLinuxDocFile): ditto
13045         (makeDocBookFile): ditto
13046
13047         * text2.C: layout as string
13048
13049         * text.C: layout as string
13050
13051         * paragraph_pimpl.C: layout as string
13052
13053         * paragraph.[Ch]: layout as string
13054
13055         * lyxtextclasslist.[Ch]: layout as string
13056
13057         * lyxtextclass.[Ch]: layout as string
13058
13059         * lyxtext.h: layout as string
13060
13061         * lyxlayout.[Ch]: layout as string
13062
13063         * lyx_cb.C: layout as string
13064
13065         * bufferview_funcs.C: layout as string
13066
13067         * bufferparams.C: layout as string
13068
13069         * buffer.C: layout as string
13070
13071         * LyXView.[Ch]: layout as string
13072
13073         * LaTeXFeatures.[Ch]: layout as string
13074
13075         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13076
13077         * BufferView_pimpl.C: change current_layout to string, remove
13078         lyx::layout_type.
13079         (Dispatch):
13080         (smartQuote):
13081         (insertInset):
13082         (workAreaButtonRelease): layout as string
13083
13084         * BufferView2.C (unlockInset): adjust
13085
13086         * vspace.C (asLatexCommand): use an explict temp variable.
13087
13088 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * Makefile.am: use FRONTEND_*
13091
13092 2002-03-01  Juergen Vigna  <jug@sad.it>
13093
13094         * tabular.C (SetWidthOfMulticolCell): changed to something better
13095         I hope but still work in progress.
13096         (recalculateMulticolumnsOfColumn): renamed function from
13097         recalculateMulticolCells as it is more appropriate now.
13098         (SetWidthOfCell): calculate multicols better.
13099
13100 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13101
13102         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13103
13104         * lyxfunc.C (processKeySym): print sequence also if it is
13105         `deleted' (complete)
13106
13107         * kbsequence.C (print): print sequence even if it is deleted
13108         (complete would be a better word, actually).
13109
13110         * lyxfunc.C (dispatch): print complete options after a prefix key
13111
13112         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13113
13114 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13115
13116         * text2.C (setCharFont): eliminate setCharFont code duplication.
13117
13118 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13119
13120         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13121         LFUN_TABULAR_FEATURE (bug #177)
13122
13123 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13124
13125         * Makefile.am: remove figure.h
13126
13127 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13128
13129         * Bufferview_pimpl.C:
13130         * CutAndPasteC:
13131         * LaTeX.C:
13132         * LyXSendto.C:
13133         * buffer.C:
13134         * bufferlist.C:
13135         * converter.C:
13136         * language.C:
13137         * lyxfunc.C:
13138         * lyxvc.C:
13139         * paragraph.C:
13140         * text.C:
13141         * text2.C: remove #include "lyx_gui_misc.h".
13142
13143         * LaTeX.C: added #include <cstdio>
13144
13145 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13146
13147         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13148         that the paragraph following this one can have.
13149
13150         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13151
13152         * vspace.C (asLatexCommand): fix bogus gcc warning
13153
13154         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13155
13156 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13157
13158         * text2.C (setLayout): get rid of redundant code
13159
13160 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13161
13162         * text2.C (incDepth): make sure depth cannot be increased beyond
13163         reasonable values.
13164
13165 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13166
13167         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13168         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13169
13170         * PainterBase.h (image):
13171         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13172         a LyXImage const *.
13173
13174 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13175
13176         * BufferView.C:
13177         * BufferView.h:
13178         * BufferView_pimpl.C:
13179         * BufferView_pimpl.h:
13180         * LaTeXFeatures.C:
13181         * LyXAction.C:
13182         * LyXView.C:
13183         * Makefile.am:
13184         * UpdateList.h:
13185         * UpdateList.C:
13186         * buffer.C:
13187         * figure.h:
13188         * figureForm.C:
13189         * figureForm.h:
13190         * figure_form.C:
13191         * figure_form.h:
13192         * lyx_cb.C:
13193         * lyx_gui.C:
13194         * lyx_gui_misc.C:
13195         * lyxfunc.C:
13196         * sp_base.h:
13197         * sp_ispell.h:
13198         * sp_pspell.h:
13199         * sp_spell.C: remove fig inset, and the crap house of
13200           cards that follows it
13201
13202 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13203
13204         * Makefile.am:
13205         * lyxserver.C:
13206         * os2_defines.h:
13207         * os2_errortable.h:
13208         * nt_defines.h: move .h into support/
13209
13210         * vms_defines.h: remove
13211
13212         * WorkArea.C: add space in debug output
13213
13214         * text2.C:
13215         * paragraph.C:
13216         * buffer.C: add WITH_WARNINGS
13217
13218         * vc-backend.h:
13219         * vc-backend.C:
13220         * bufferlist.C: s/retrive/retrieve/, add docs
13221
13222         * vspace.h:
13223         * vspace.C:
13224         * kbmap.h:
13225         * lyxlength.h:
13226         * lyxgluelength.h:
13227         * length_common.h:
13228         * chset.h:
13229         * chset.C: add docs
13230
13231         * lyxgui.C: add ID to X error handler
13232
13233         * lyxtestclass.c: fix typo
13234
13235 2002-02-26  Juergen Vigna  <jug@sad.it>
13236
13237         * tabular_funcs.C (write_attribute): changed so that some default
13238         attributes are not written at all.
13239         (getTokenValue): set default values before trying to read the
13240         value so we have the return value always set as default if we don't
13241         find the token we search for.
13242
13243         * tabular.C (Write): write bools as bools not as strings!
13244
13245 2002-02-22  Juergen Vigna  <jug@sad.it>
13246
13247         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13248         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13249
13250         * text.C (leftMargin): don't add an indent for paragraphs inside
13251         tabular cells (fix #208).
13252
13253 2002-02-21  José Matos  <jamatos@fep.up.pt>
13254
13255         * tabular.C (docBook): fixed support for long tables.
13256
13257 2002-02-20  Juergen Vigna  <jug@sad.it>
13258
13259         * text2.C (getFont): get the drawing font of the Inset if this
13260         paragraph is inside an inset (only important for InsetERT for now).
13261
13262         * buffer.C (insertErtContents): use new lanugage params in ERT
13263         constructor.
13264
13265         * CutAndPaste.C: commenting out seemingly uneeded code.
13266
13267 2002-02-19  Allan Rae  <rae@lyx.org>
13268
13269         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13270         Iterators might be simple to use but they also get invalidated.
13271         (removeAutoInsets): renamed saved cursor tracking variables and added
13272         some comments to clarify what everything does.
13273
13274 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13275
13276         * Chktex.C:
13277         * LaTeX.C:
13278         * LyXSendto.C:
13279         * converter.C:
13280         * lyx_cb.C:
13281         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13282         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13283
13284         * lyxfunc.C:
13285         * vc-backend.h: remove #include "support/syscall.h"
13286
13287         * LaTeX.C:
13288         * LyXSendto.C:
13289         * converter.C: rearrange #includes in Lars' approved fashion.
13290
13291         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13292         forward declare class Timeout in the header file.
13293
13294         * XFormsView.C: changes due to the above.
13295
13296         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13297         similar to LyXView.
13298
13299         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13300         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13301
13302 2002-02-18  José Matos  <jamatos@fep.up.pt>
13303
13304         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13305         insets contents.
13306
13307 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13308
13309         * a lot of small ws changes
13310         * add a lot of using std::XXX
13311         * use std construcs some places where approp.
13312         * use some exisint stuff from lyxfunctional where approp.
13313         * Make file changes to use partial linking (lets test this now...)
13314
13315 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13316
13317         * Chktex.C:
13318         * buffer.C:
13319         remove #include "support/syscontr.h" as it's redundant. Always has been.
13320
13321         * Chktex.C:
13322         * LaTeX.C:
13323         * LyXSendto.C:
13324         * converter.C:
13325         * lyx_cb.C:
13326         * vc-backend.C:
13327         change Systemcalls::System to Systemcalls::Wait and
13328         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13329         No change of functionality, just reflects the stripped down Systemcalls
13330         class.
13331
13332 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13333
13334         * debug.[Ch]: add a GRAPHICS type to the enum.
13335
13336 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13337
13338         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13339
13340         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13341         there is an inset.
13342
13343 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13344
13345         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13346         match the changes below.
13347
13348         * text2.C (toggleInset): if there is not editable inset at cursor
13349         position, try to see if cursor is _inside_ a collapsable inset
13350         and close it.
13351
13352 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13353
13354         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13355         document menu has a nice checkbox
13356
13357 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13358
13359         * lyxlength.C (asLatexString): change PW to output as percent of
13360         \textwidth.
13361
13362         * lengthcommon.C: change '%' to 't%'
13363
13364         * lyxfunc.C (dispatch): a few comments from Martin
13365
13366 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13367
13368         * WorkArea.h:
13369         * WorkArea.C:
13370         * BufferView_pimpl.h:
13371         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13372           the X selection.
13373
13374 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13375
13376         * vspace.C (inPixels): fix compiler warning
13377
13378 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13379
13380         * lyxfunc.C (getStatus): fix status message for disabled commands.
13381
13382 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13383
13384         * BufferView_pimpl.C: fix crash on close buffer
13385         during selection (#227)
13386
13387 2002-01-27  Herbert Voss  <voss@lyx.org>
13388
13389         * buffer.C: link old Figure to new graphic inset
13390
13391 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13392
13393         * FontLoader.C (getFontinfo): Change the latex font names in order
13394         to match the names of type1inst.
13395
13396 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13397
13398         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13399
13400         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13401         (extchanged): ditto
13402         (ext_exist): ditto
13403         (remove_files_with_extension): ditto
13404         (remove_file): ditto
13405         (write): ditto
13406
13407         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13408         document is smaller than the work area height. Do not initialize
13409         static variables to 0.
13410
13411 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13412
13413         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13414
13415         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13416         LFUN_LAYOUT_PARAGRAPHS.
13417
13418         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13419         tabular. It is possible to provide a possible cell, which will
13420         typically be the actcell from the corresponding insettabular
13421
13422         * lyxfunc.C (getStatus): small cleanup; disable
13423         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13424         true
13425
13426 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13427
13428         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13429
13430         * paragraph.C (startTeXParParams):
13431         (endTeXParParams): new methods. The LaTeX code to
13432         start/end paragraph formatting
13433         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13434         empty (fixes bug #200)
13435
13436         * vspace.C (inPixels): adapt to the change below
13437         (inPixels): [later] more cleanups (remove unused variables)
13438
13439         * lyxlength.C (inPixels): change to use a width and a height as
13440         parameter.
13441
13442 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13443
13444         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13445         Replaced with \paperwidth
13446
13447         * DepTable.C (insert): add std:: qualifier
13448
13449 2002-01-18  Allan Rae  <rae@lyx.org>
13450
13451         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13452         updated also?
13453
13454         * text.C (drawInset): Turned out I didn't know enough about how
13455         rebreaking worked.  This fixes most of the redraw problems.  I see
13456         an occasional cursor trail when a line is broken now and the cursor
13457         placement can seem out by a few pixels also after a rebreak.
13458
13459 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13460
13461         * buffer.C (parseSingleLyXformat2Token): update because minipage
13462         width is now a LyXLength
13463
13464         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13465
13466         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13467         math insets
13468
13469 2002-01-17  Juergen Vigna  <jug@sad.it>
13470
13471         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13472
13473         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13474         is set correctly and the inset is updated correctly.
13475
13476 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13477
13478         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13479         the beginning of the loop.
13480
13481 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13482
13483         * lyxrc.C: improve help for use_scalable_fonts
13484
13485 2002-01-17  Allan Rae  <rae@lyx.org>
13486
13487         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13488
13489 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13490
13491         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13492         make sure to set their inset_owner to the right value (bug #171)
13493
13494 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13495
13496         * DepTable.h
13497         * DepTable.C: Implement mtime checking to reduce time spent doing
13498         CRCs.
13499
13500 2002-01-16  Juergen Vigna  <jug@sad.it>
13501
13502         * tabular.C (GetAdditionalHeight): one of error fixed.
13503
13504         * lyxrc.C (output): small fix in writing use_pspell.
13505
13506 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13507
13508         * sp_base.h: #include LString.h
13509
13510 2002-01-16  Allan Rae  <rae@lyx.org>
13511
13512         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13513         Can someone check this please?
13514
13515         * text.C (drawInset): It was possible that p.row would be removed by
13516         breakAgainOneRow upsetting a few other settings.  There may be another
13517         small tweak possible by setting need_break_row = 0 when p.row has been
13518         removed but I don't know enough about the logic here.
13519
13520 2002-01-15  Allan Rae  <rae@lyx.org>
13521
13522         * text.C (insertChar): removed conditional truism.
13523
13524         * BufferView2.C (removeAutoInsets): More tweaks.
13525         cur_par_prev could be a stray pointer.  Check for trailing empty line
13526         in case last line was cur_par and only had an error inset on it.
13527
13528 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13529
13530         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13531         absolute
13532
13533         * vc-backend.C (most methods):
13534         * exporter.C (Export):
13535         * converter.C (convert):
13536         (runLaTeX):
13537         * LyXSendto.C (SendtoApplyCB):
13538         * lyxfunc.C (dispatch):
13539         (menuNew):
13540         (open):
13541         (doImport):
13542         * lyx_cb.C (AutoSave):
13543         (InsertAsciiFile):
13544         * BufferView_pimpl.C (MenuInsertLyXFile):
13545         * buffer.C (runChktex): use Buffer::filePath().
13546
13547         * buffer.h: rename filename to filename_; rename filepath to
13548         filepath_ and make it private
13549         (filePath): new method
13550
13551         * buffer.C (writeFile): use fileName()
13552         (getLatexName):
13553
13554         * lyx_main.C (init): fix starting  of LyX when the binary is a
13555         link from so,ewhere else.
13556
13557         * minibuffer.C: include <cctype> for isprint
13558
13559 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13560
13561         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13562         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13563         name clash with InsetCollapsable's width function.
13564
13565 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13566
13567         * lastfiles.C: include <iterator>
13568
13569 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13570
13571         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13572         std::count.
13573
13574         * buffer.C (makeLaTeXFile): ditto.
13575         Also make loop operation more transparent.
13576
13577 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13578
13579         * ToolbarDefaults.C: remove trailing comma closing namespace.
13580
13581         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13582
13583         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13584         as in WorkArea.
13585
13586         * trans.C (Load): comment out unused variable, allowed.
13587
13588 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13589
13590         * minibuffer.[Ch] (append_char): new method to recieve input from the
13591         drop-down completion browser. If a key was pressed, then recieve this
13592         char and append it to the existing string.
13593         (peek_event): modify the positioning data passed to the completion
13594         browser so that it can be placed above the minibuffer rather than below.
13595 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * LyXAction.C (init): alloe error-next for readonly documents.
13598
13599         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13600         count.
13601
13602 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13603
13604         * bufferlist.C (readFile): create the buffer _after_ checking that
13605         the file exists.
13606
13607         * lyxfunc.C (verboseDispatch): fix handling of arguments
13608
13609         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13610
13611         * lyxrc.C: use string::erase() instead of initializing to "".
13612
13613
13614 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * BufferView_pimpl.h:
13617         * BufferView_pimpl.C:
13618         * WorkArea.h:
13619         * WorkArea.C:
13620         * text2.C: tell X when we have made a selection for copying
13621
13622 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13623
13624         * BufferView_pimpl.C (MenuInsertLyXFile):
13625         * lyxfunc.C (menuNew):
13626         (open):
13627         (doImport): add shortcuts to directory buttons
13628
13629         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13630         open a float)
13631
13632         * lyxfunc.C (setStatusMessage):
13633         (getStatusMessage): new methods
13634         (getStatus):use setStatusMessage instead of setErrorMessage
13635         (dispatch): when function is disabled, set error message here
13636         [instead of in getStatus previously]
13637
13638         * BufferView_pimpl.C (workAreaButtonRelease): update
13639         toolbar/menubar here too.
13640
13641 2002-01-13  Allan Rae  <rae@lyx.org>
13642
13643         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13644         Now seems indestructible.  Remaining task is to audit all other
13645         code affected by deleteEmptyParagraphMechanism.  One small quirk
13646         left is that an empty document with an error in the preamble can
13647         be made to report an error but no error box appears.  I don't know
13648         where it goes.
13649         (removeAutoInsets): Improved comments.
13650
13651 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * Thesaurus.h:
13654         * Thesaurus.C: update for Aiksaurus 0.14
13655
13656 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13657
13658         * text2.C (firstParagraph): removed member function, all uses
13659         replaces with ownerParagraph
13660         (redoParagraphs): here
13661         (updateInset): here
13662         (toggleAppendix): here
13663         * BufferView2.C (insertErrors): here
13664         (setCursorFromRow): here
13665
13666 2002-01-13  Allan Rae  <rae@lyx.org>
13667
13668         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13669         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13670         There is still a way to segfault this although you may have to do this
13671         multiple times: Have an InsetERT with an unknown command in it.
13672         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13673         <down-arrow>, <Enter> again, View->DVI, BANG!
13674
13675         * text2.C (setCursor):
13676         (deleteEmptyParagraphMechanism):
13677         * lyxtext.h (setCursor):
13678         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13679         Making use of the return value may help fix other bugs.
13680
13681 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13682
13683         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13684
13685         * LyXView.C (updateMenubar): call MenuBar::update here
13686         (updateToolbar): but not here
13687         (showState): do not update toolbar/menubar
13688
13689         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13690         should need to care about that.
13691
13692         * lyxfunc.C (verboseDispatch): simplify a bit
13693         (getStatus): have a version which takes a pseudoaction, and
13694         another which requires a (kb_action,string).
13695
13696         * LyXAction.C (retrieveActionArg): make it work also when action
13697         is not a pseudo-action.
13698         (getActionName): simplify a bit
13699         (helpText):
13700
13701 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13702
13703         * lyxfunc.C (verboseDispatch): new families of methods with
13704         several ways to specify a command and a bool to indicate whether
13705         the command name and shortcut should be displayed in minibuffer
13706         (eventually, we could extend that to a finer bitmask like
13707         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13708         (dispatch): the pristine dispatch command which just, well,
13709         dispatchs! Note it still sets its result to minibuffer; I'm not
13710         sure we want that.
13711
13712         * lyxfunc.h: remove setHintMessage
13713
13714         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13715
13716 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13717
13718         * BufferView_pimpl.C (specialChar): delete new inset if we have
13719         not been able to insert it.
13720
13721         * kbmap.C: revert to using int instead of kb_action, since all we
13722         are dealing with is pseudo-actions.
13723
13724         * LyXAction.C (searchActionArg): change to return int instead of
13725         kb_action, since the result is a pseudoaction.
13726
13727 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13728
13729         * buffer.C (insertErtContents): Fix (partially) the font bug.
13730
13731 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13732
13733         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13734         as the other one is broken on my machine!
13735
13736 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13737
13738         * commandtags.h:
13739         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13740
13741 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13744         reflect their actual use. Provide compatibility code for older lyxrc
13745         files.
13746
13747         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13748         FL_NORMAL_STYLE.
13749         change names of popup font variables in line with the changes to lyxrc.C
13750
13751 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13752
13753         * buffer.C (asciiParagraph): avoid outputing a word twice after
13754         an inset.
13755
13756         * lyxrc.C (getDescription): document that document_path and
13757         template_path can be empty.
13758
13759 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13760
13761         * LaTeXFeatures.C (getMacros):
13762         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13763
13764         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13765
13766         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13767         getPackages.
13768         (getPackages): rename feature "floats" to "float". Use an array to
13769         iterate over 'simple' features (i.e. just a \usepackage). Add
13770         handling of "amsmath" (renamed from "amsstyle").
13771
13772 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13773
13774         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13775         features list.
13776
13777 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13778
13779         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13780         FuncStaus::FuncStatus & FuncStaus::some_method().
13781
13782 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13783
13784         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13785         of the func_satus stuff. Edited and massaged in various ways by
13786         JMarc.
13787
13788         * lyxfunc.C (getStatus): use FuncStatus
13789
13790 2002-01-08  Juergen Vigna  <jug@sad.it>
13791
13792         * text.C (nextBreakPoint): use function Inset::isChar().
13793
13794         * paragraph.C (TeXOnePar): use function
13795         Inset::forceDefaultParagraphs.
13796
13797         * buffer.C (latexParagraphs): use function
13798         Inset::forceDefaultParagraphs.
13799
13800 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13801
13802         * lyx_gui.C (init): set the style of the menu popups to
13803         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13804
13805 2002-01-07  Juergen Vigna  <jug@sad.it>
13806
13807         * text.C (setHeightOfRow): small fix
13808         (prepareToPrint): don't look at alignment if we don't have the place
13809         for doing it.
13810
13811 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13812
13813         * box.C: New file. Move the Box methods and functions out of box.h,
13814         following Lars' suggestion.
13815
13816 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * box.h: #include "support/LOstream.h", needed for inlined function.
13819
13820         * lyxtextclass.C:
13821         * lyxtextclasslist.C: added some using std declarations.
13822
13823 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13824
13825         * box.h: make signed dimensions to allow insets wider than
13826           the screen (bug #162)
13827
13828         * BufferView_pimpl.C: add some insetHit debug
13829
13830 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13831
13832         * vc-backend.C: add FIXME
13833
13834 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13835
13836         * lyxfunc.C (getStatus): enable code for showing math font status
13837         in toolbar/menu.
13838
13839 2002-01-07  Juergen Vigna  <jug@sad.it>
13840
13841         * text.C (nextBreakPoint): removed debug output not needed anymore.
13842
13843 2002-01-06  Juergen Vigna  <jug@sad.it>
13844
13845         * text.C (nextBreakPoint): fixed up this function we had this bug
13846         since ever but now hopefully we break row better.
13847         (insertChar): we have to check if an inset is the next char as it
13848         could now happen that a large inset is causing a break.
13849
13850 2002-01-05  Juergen Vigna  <jug@sad.it>
13851
13852         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13853         if it doesn't like to be drawed.
13854
13855 2002-01-04  Juergen Vigna  <jug@sad.it>
13856
13857         * BufferView2.C (lockInset): forgot to set a cursor.
13858
13859         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13860
13861 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13862
13863         * FormMathsPanel.C:
13864         * FormMathsPanel.h
13865         * MathsSymbols.C:
13866         * form_maths_panel.C:
13867         * form_maths_panel.h:
13868         * form_maths_panel.fd: implemented sub- and super- buttons in math
13869         panel.
13870
13871         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13872         (or ^ space) to be used as in TeX (req'd by André).
13873
13874         * lyxfunc.C: Allow ^ and _ again to be used both as
13875         super/subscript (mathed) and as themselves (in text).
13876
13877 2002-01-03  Allan Rae  <rae@lyx.org>
13878
13879         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13880         "LyX" or the filename of the current buffer if it has one.  This is a
13881         modified form of John Levon's patch.
13882
13883         * XFormsView.C (setWindowTitle): also set icon title.
13884
13885         * LyXView.h (setWindowTitle): signature changed.
13886         * XFormsView.h (setWindowTitle): ditto.
13887
13888 2002-01-02  Juergen Vigna  <jug@sad.it>
13889
13890         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13891
13892 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13893
13894         * screen.C (topCursorVisible): introduce a temp var for
13895         text->cursor.row(), handle the case where this row is null. (kindo
13896         hachish)
13897
13898         * text2.C (setCursor): add a couple of asserts.
13899
13900         * paragraph.h (inset_iterator): add -> operator
13901
13902         * paragraph.[Ch] (autoDeleteInsets): remove member function
13903
13904         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13905         cursor pos correctly and handle inset deletion by itself.
13906         (insertErrors): move iterator declaration out of for expression
13907
13908         * lyxtextclass.C: add <algorithm>
13909
13910         * Makefile.am: added the new files to sources, removed layout.C
13911
13912         * layout.C: removed file
13913
13914         * layout.h: remove LYX_DUMMY_LAYOUT
13915
13916         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13917         layout.
13918
13919         * lyxlayout.[Ch]:
13920         * lyxtextclass.[Ch]:
13921         * lyxtextclasslist.[Ch]: new files
13922
13923         * include order changes to a lot of files, also changes because of
13924         the six new files.
13925
13926 2001-12-27  Juergen Vigna  <jug@sad.it>
13927
13928         * buffer.C (asciiParagraph): more fixes.
13929
13930         * tabular.C (ascii): make ascii export support export of only the
13931         data separated by a column-delimiter.
13932         (ascii): better support for ascii export.
13933
13934         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13935
13936 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13937
13938         * tabular_funcs.C: use a "using std::getline" instead of the
13939         previous fix from Angus (necessary for cxx + lyxstring)
13940
13941 2001-12-24  Juergen Vigna  <jug@sad.it>
13942
13943         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13944
13945         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13946         problems. First check a minipage also if we have some ert-contents
13947         (not only on par->size(), second set the right depth of the paragraph
13948         on the relink to the root-paragraph-list!
13949
13950         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13951         which then did not anymore update the main paragraphs on undo/redo!
13952
13953 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13954
13955         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13956         code. Support all font-changing funcs (even those which are not in
13957         menu currently). Support for reporting font settings in
13958         mathed (disabled until Andre provides a function on mathed's side).
13959
13960         * func_status.h (toggle): small helper function to set toggle
13961         state on a flag.
13962
13963 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * tabular_funcs.C: getline -> std::getline
13966
13967 2001-12-21  Juergen Vigna  <jug@sad.it>
13968
13969         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13970         accessed and could be 0 (I couldn't generate this but it seems
13971         Michael could!).
13972
13973 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13976         * tabular_funcs.h: here and include iosfwd
13977
13978 2001-12-20  Juergen Vigna  <jug@sad.it>
13979
13980         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13981         inside inset but undo_par was.
13982
13983 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13984
13985         * Thesaurus.C: always include <config.h> in sources.
13986
13987         * Painter.h:
13988         * lyxlookup.h:
13989         * box.h: do not include <config.h> in header files
13990
13991         * text.C (paintLastRow): remove unused variable
13992
13993         * text.C (transformChar):
13994         (insertChar):
13995         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13996
13997         * Painter.C (text):
13998         * font.C (width): rewrite to use uppercase() instead of
13999         islower/toupper.
14000
14001         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14002
14003 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14004
14005         * lyxfind.C: clean up of find failure position change
14006
14007 2001-12-20  Juergen Vigna  <jug@sad.it>
14008
14009         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14010
14011         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14012         (TeXRow): added to LaTeX a single tabular row.
14013         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14014         (Latex): simplified and finally good LT-h/f support.
14015         (various_functions): just small adaptions for LT-h/f support.
14016
14017         * tabular_funcs.[hC]: added and moved here all not classfunctions
14018         of LyXTabular.
14019
14020 2001-12-19  Juergen Vigna  <jug@sad.it>
14021
14022         * tabular.[Ch]: better support for longtabular options (not finished
14023         yet!)
14024
14025 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14026
14027         * text.C (paintLastRow): use the label font instead of the font of
14028         the last character to compute the size of *_BOX. This makes more
14029         sense and avoids a crash with empty paragraphs.
14030         Use Painter::rectangle to draw EMPTY_BOX.
14031
14032 2001-12-19  Juergen Vigna  <jug@sad.it>
14033
14034         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14035         the paragraphs if the replaced paragraph is not the first one!
14036         Tried to delete not used paragraphs but does not work yet so for
14037         now it's inside #ifdef's and by default off!
14038
14039 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14040
14041         * MenuBackend.C: include "lyx_main.h" instead of declaring
14042         lastfiles (actually was declared as LastFiles* instead of a
14043         scoped_ptr).
14044
14045 2001-12-17  Juergen Vigna  <jug@sad.it>
14046
14047         * tabular.C (AppendColumn): applied John's fix
14048
14049 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14050
14051         * BufferView.h:
14052         * BufferView.C:
14053         * BufferView_pimpl.h:
14054         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14055
14056         * Makefile.am:
14057         * box.h: new start of class for above
14058
14059         * lyxfunc.C: ignore space-only minibuffer dispatches.
14060           Show the command name when it doesn't exist
14061
14062         * minibuffer.C: don't add empty lines to the history
14063
14064         * minibuffer.C: add a space on dropdown completion
14065
14066 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * text.C: fix line above/below drawing in insets
14069
14070 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14071
14072         * lyxlength.C (LyXLength): Initialize private variables.
14073
14074 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14075
14076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14077         when inserting error insets.
14078
14079 2001-12-13  Juergen Vigna  <jug@sad.it>
14080
14081         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14082         actually sometimes the before-paragraph.
14083         (setUndo): don't clear the redostack if we're not actually undoing!
14084
14085 2001-12-06  Juergen Vigna  <jug@sad.it>
14086
14087         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14088         and fixed redoing of main paragraph, so we can use it now ;)
14089
14090         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14091
14092 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14093
14094         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14095         Juergen's request
14096
14097 2001-12-13  André Pönitz <poenitz@gmx.net>
14098
14099         * undostack.[Ch]:
14100         * undo_func.C: minor cleanup
14101
14102 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14105         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14106         font in urw-fonts package which is marked as -urw-fontspecific and
14107         does not work (incidentally, changing the encoding in the
14108         fonts.dir of this package to -adobe-fontspecific fixes the
14109         problem).
14110
14111         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14112         is a crash when undoing first paragraph (Juergen, please take a
14113         look). THis does not mean the undo fix is wrong, just that it
14114         uncovers problems.
14115
14116         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14117         the (Paragraph*) version when needed instead of duplicating the
14118         code.
14119
14120         * text.C (workWidth): use Inset::parOwner to find out where the
14121         inset has been inserted. This is a huge performance gain for large
14122         documents with lots of insets. If Inset::parOwner is not set, fall
14123         back on the brute force method
14124
14125         * paragraph_pimpl.C (insertInset):
14126         * paragraph.C (Paragraph):
14127         (cutIntoMinibuffer): set parOwner of insets when
14128         inserting/removing them
14129
14130         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14131
14132 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14133
14134         * commandtags.h:
14135         * LyXAction.C:
14136         * lyx_main.C:
14137         * lyxfunc.C:
14138         * mathed/formulabase.C:
14139         * mathed/math_cursor.[Ch]:
14140         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14141
14142
14143 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14144
14145         * lyxlength.[Ch] (operator!=): new function
14146
14147 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14148
14149         * text.C (workWidth): use Inset::parOwner to find out where the
14150         inset has been inserted. This is a huge performance gain for large
14151         documents with lots of insets. If Inset::parOwner is not set, fall
14152         back on the brute force method
14153
14154         * paragraph_pimpl.C (insertInset):
14155         * paragraph.C (Paragraph):
14156         (cutIntoMinibuffer): set parOwner of insets when
14157         inserting/removing them
14158
14159         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14160
14161 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14162
14163         * tabular-old.C (getTokenValue):
14164         * tabular.C (getTokenValue):
14165         (write_attribute): new versions for LyXLength
14166         (everywhere): adjust the use of widths
14167
14168         * tabular.h: change the type of widths from string to LyXLength
14169
14170 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14171
14172         * paragraph.C: fixed missing line number count when exporting
14173         Environments to LaTeX file
14174
14175         * buffer.C: added informational message for checking line numbers.
14176
14177 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14178
14179         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14180         paragraph, do the 'double space' part, but not the 'empty
14181         paragraph' one.
14182
14183         * text.C (workWidth): small optimization
14184         (getLengthMarkerHeight): use minimal size for negative lengths.
14185
14186 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14187
14188         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14189
14190         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14191
14192 2001-12-11  André Pönitz <poenitz@gmx.net>
14193
14194         * FontLoader.C:
14195         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14196
14197 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14198
14199         * text2.C: keep selection on a setFont()
14200
14201 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14202
14203         * lyx_cb.C: another bv->text misuse, from insert label
14204
14205 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14206
14207         * kbsequence.h:
14208         * kbsequence.C: re-instate nmodifier mask
14209
14210 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14211
14212         * lyx_main.h: make lyxGUI private.
14213
14214 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14215
14216         * lyxfind.C: place the cursor correctly on failed search
14217
14218 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14219
14220         * text.C (getLengthMarkerHeight): for small heights, the arrows
14221         are not always on top/bottom of the text
14222         (drawLengthMarker): smaller arrows; take the left margin in
14223         account; draw also vfills.
14224         (paintFirstRow):
14225         (paintLastRow): remove special code for vfill and standard spaces,
14226         since everything is handled in drawLengthMarker now.
14227
14228 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14229
14230         * buffer.C (insertErtContents): try to handle font and language
14231         interaction a bit better.g
14232
14233         * ColorHandler.C (updateColor): change the hash to cover the whole
14234         LColor enum, ws cleanup
14235         (getGCLinepars): ditto
14236         (getGCLinepars): only lookup in the linecache once.
14237
14238 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14239
14240         * iterators.C (operator++): Make the iterator more robust
14241
14242         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14243         (John's patch)
14244         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14245
14246 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14247
14248         * lyxtext.h:
14249         * text.C: better added space drawing
14250
14251 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14252
14253         * LyXView.C:
14254         * BufferView2.C: fix layout combo update on inset unlock
14255
14256 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * Makefile.am: don't compile unused files
14259
14260 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14261
14262         * lyxfunc.C:
14263         * commandtags.h:
14264         * LyXAction.C: remove old LFUN_LAYOUTNO
14265
14266 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14267
14268         * paragraph_pimpl.h:
14269         * paragraph_pimpl.C: isTextAt() doesn't need font param
14270
14271 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14272
14273         * lyxlex.h:
14274         * lyxlex.C: little cleanup
14275
14276 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14277
14278         * BufferView_pimpl.C: fix insertAscii for insets
14279
14280 2001-12-05  Juergen Vigna  <jug@sad.it>
14281
14282         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14283         set the right font on the "multi" paragraph paste!
14284
14285 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14286
14287         * trans_decl.h:
14288         * trans_mgr.[Ch]:
14289         * trans.[Ch]:
14290         * lyxgluelength.C:
14291         * lyxlength.C: remove out-commented code.
14292
14293         * BufferView_pimpl:
14294         * CutAndPaste.C:
14295         * DepTable.C:
14296         * buffer.C:
14297         * chset.C:
14298         * lastfiles.C:
14299         * lyxlex.C:
14300         * lyxlex_pimpl.C:
14301         * lyxserver.C:
14302         * screen.C:
14303         * tabular-old.C:
14304         * tabular.C:
14305         * text.C:
14306         * trans_mgr.C:
14307         * vc-backend.C: change "while(" to "while ("
14308
14309         * lyxlength.[Ch]: add zero function to check if length is zero or
14310         not
14311         * lyxgluelength.C: use it
14312
14313 2001-12-05  Allan Rae  <rae@lyx.org>
14314
14315         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14316         Works for 2.95.3, from what I understand of Garst's reports this should
14317         work for other g++ versions.  We're screwed if the abs(int) definition
14318         changed between bugfix releases of gcc.
14319
14320 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * text.C: fix chapter label offset !
14323
14324 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14325
14326         * lyxtext.h:
14327         * text.C: fix hfill at end of line, clean up
14328
14329 2001-12-04  Juergen Vigna  <jug@sad.it>
14330
14331         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14332         that we force an update of the inset and it's owners if neccessary.
14333
14334 2001-12-03  Juergen Vigna  <jug@sad.it>
14335
14336         * text.C (rowLast): simplified code
14337
14338 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * lyxfunc.C: fix show options on timeout
14341
14342 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14343
14344         * screen.C (topCursorVisible): scroll half a page when the cursor
14345         reached top of bottom of screen
14346
14347 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14348
14349         * minibuffer.C: deactivate on loss of focus
14350
14351 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14352
14353         * vspace.[Ch] (operator!=): add operator.
14354
14355 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * BufferView_pimpl.C: refuse to open an inset when
14358         there's a selection.
14359
14360 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14361
14362         * BufferView_pimpl.C: allow to click on RHS of full row insets
14363
14364 2001-11-30  Juergen Vigna  <jug@sad.it>
14365
14366         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14367         insets for undo reasons.
14368
14369 2001-11-28  André Pönitz <poenitz@gmx.net>
14370
14371         * vspace.[Ch]: cosmetical changes
14372
14373 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14374
14375         * LyXAction.h:
14376         * LyXAction.C:
14377         * lyxfunc.h:
14378         * lyxfunc.C:
14379         * kbmap.h:
14380         * kbmap.C:
14381         * lyxrc.C:
14382         * kbsequence.h:
14383         * kbsequence.C: part re-write of old kb code
14384
14385         * Painter.C:
14386         * WorkArea.C: remove Lgb_bug_find_hack
14387
14388 2001-11-30  José Matos <jamatos@fep.up.pt>
14389
14390         * buffer.C (makeDocBookFile): add a comment to point a hack.
14391         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14392         Fixed a double write of labels.
14393
14394 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14395
14396         * LaTeX.C:
14397         * LaTeX.h Fixed bug in LaTeX class where it would not
14398         re-run latex if no depfiles were changed, but the .dvi was removed.
14399
14400 2001-11-28  André Pönitz <poenitz@gmx.net>
14401
14402         * all the files from the change on 2001/11/26:
14403         use lyx::layout_type instead of LyXTextClass::size_type
14404         use lyx::textclass_type instead of LyXTextClassList::size_type
14405
14406 2001-11-29  Juergen Vigna  <jug@sad.it>
14407
14408         * text.C: added support for paragraph::isFreeSpacing()
14409
14410         * buffer.C: same as above
14411
14412         * paragraph.h: inserted isFreeSpacing() function to enable
14413         FreeSpacing inside InsetERT.
14414
14415         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14416         of the paragraph's in the cut/copy buffer to 0!
14417
14418         * text2.C (removeRow): remove the assert as it can!
14419
14420         * lyxtext.h: added helper function firstRow returning firstrow and
14421         made firstrow private again.
14422
14423         * BufferView2.C (lockInset): don't relock if we're already locked!
14424
14425         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14426         the only paragraph.
14427         (removeRow): added Assert::(firstrow)
14428
14429         * debug.C: forgot to add INSETTEXT here.
14430
14431 2001-11-28  Juergen Vigna  <jug@sad.it>
14432
14433         * sp_spell.C (initialize): changed error text to more general
14434         spellchecker command use (not only ispell!)
14435
14436         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14437
14438         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14439
14440 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14441
14442         * vspace.C: initialise lyxgluelength on failure
14443
14444 2001-11-28  Allan Rae  <rae@lyx.org>
14445
14446         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14447         declaration & definition that looks like a function declaration.
14448
14449 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * BufferView2.C (copy):
14452         (copyEnvironment): do not clear the selection when doing a copy.
14453
14454         * text.C (paintFirstRow): compilation fix
14455
14456 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14457
14458         * tabular.C (Latex): correct line count when writing latex.
14459
14460 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14461
14462         * paragraph_pimpl.h:
14463         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14464           bug a bit
14465
14466 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14467
14468         * text.C:
14469         * LColor.h:
14470         * LColor.C: change vfillline->added_space
14471
14472         * text.C: add markers and text for added space
14473
14474         * vspace.C: fix comment
14475
14476 2001-11-28  André Pönitz <poenitz@gmx.net>
14477
14478         * paragraph.C: whitespace changes
14479         * all the other files from the change on 2001/11/26:
14480         change *::pos_type into lyx::pos_type
14481
14482 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14483
14484         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14485         language of the document when inserting error insets.
14486
14487 2001-11-26  André Pönitz <poenitz@gmx.net>
14488
14489         * BufferView_pimpl.[Ch]:
14490         *       CutAndPaste.C:
14491         * buffer.[Ch]:
14492         * lyxcursor.[Ch]:
14493         * lyxfind.C:
14494         * lyxfunc.C:
14495         * lyxrow.[Ch]:
14496         * paragraph.[Ch]:
14497         * paragraph_pimpl.[Ch]:
14498         * sp_spell.C:
14499         * text.C:
14500         * text2.C: reduce header dependencies, introduce type for positions
14501
14502 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14503
14504         * <various>: change to use Alert.h
14505
14506 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14507
14508         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14509         when encountering an unknown token.
14510         (readLyXformat2): Show an error message if there were unknown tokens.
14511
14512 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * BufferView2.C:
14515         * BufferView_pimpl.C:
14516         * buffer.C:
14517         * paragraph.h:
14518         * text.C:
14519         * text2.C: use par->isInset()
14520
14521 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * paragraph_pimpl.h:
14524         * paragraph_pimpl.C: cleanup
14525
14526 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14527
14528         * text2.C (removeRow):
14529         * text.C (setHeightOfRow): remove useless (and costly) call to
14530         getRow.
14531
14532 2001-11-20  Allan Rae  <rae@lyx.org>
14533
14534         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14535         Now need Inset*::checkInsertChar() to return true for appropriate
14536         cases so that the characters in the minibuffer will actually be
14537         inserted.
14538
14539 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14540
14541         * text.C: change the order of the includes.
14542         (workWidth): initialize it at once.
14543         (workWidth): make maxw unsigned
14544         (setHeightOfRow): remove unused variable (inset)
14545         (selectSelectedWord): remove unused variable (inset)
14546         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14547
14548 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14551         server is not running.
14552         (openConnection):
14553         (closeConnection): add debug info when server is disabled.
14554
14555         * ColorHandler.C (getGCForeground): send debug message to GUI
14556         channel.
14557
14558         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14559
14560         * kbmap.C (bind): modify because return conventions of
14561         kb_sequence::parse have changed.
14562
14563         * kbsequence.C (parse): only ignore spaces and not any stupid
14564         control character. This avoids tests like s[i] <= ' ', which are
14565         guaranteed to fail with 8bit characters and signed chars.
14566         Change return code to string::npos when there have been no error
14567         (0 was a bad idea when error is at first character)
14568
14569 2001-11-14  José Matos  <jamatos@fep.up.pt>
14570
14571         * buffer.h:
14572         * buffer.C (simpleDocBookOnePar): removed unused argument.
14573
14574 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14575
14576         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14577         insets which are part of a word. Paragraph::isLetter takes care of
14578         that now. Use Paragraph::isInset to identify insets.
14579         (selectSelectedWord): do not test for hyphenation break.
14580
14581         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14582         that protected spaces are considered as spaces.
14583
14584         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14585         Inset::isLetter.
14586
14587 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14588
14589         * lyxserver.h:
14590         * lyxserver.C: fix it. and small cleanup.
14591
14592 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * BufferView_pimpl.C: use inline helpers
14595
14596         * LaTeXFeatures.h:
14597         * LaTeXFeatures.C: fix typos
14598
14599         * Spacing.h:
14600         * Spacing.C: move spacing_string into class
14601
14602         * ToolbarDefaults.C: move stuff into namespace anon
14603
14604         * layout.h: update enum
14605
14606         * lyxfunc.C: use better debug
14607
14608         * minibuffer.h: fix typo
14609
14610         * debug.h:
14611         * debug.C:
14612         * WorkArea.C: add and use Debug::WORKAREA
14613
14614         * lyxtext.h:
14615         * text.C:
14616         * text2.C: code re-organisation, inline helpers
14617
14618 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14619
14620         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14621         std::vector.empty().
14622
14623 2001-11-09  Allan Rae  <rae@lyx.org>
14624
14625         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14626         '\n's after tables.  Tabular and ERT inset work now makes this no
14627         longer necessary.
14628
14629 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14630
14631         * minibuffer.h:
14632         * minibuffer.C: fix crash, improve drop-down completion
14633
14634 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14635
14636         * lyxserver.h:
14637         * lyxserver.C: invalidate fd's when doing endPipe()
14638
14639 2001-11-08  José Matos  <jamatos@fep.up.pt>
14640
14641         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14642         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14643
14644         * paragraph.h:
14645         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14646
14647 2001-11-07  José Matos  <jamatos@fep.up.pt>
14648
14649         * buffer.h:
14650         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14651         const qualifier.
14652
14653         * buffer.C (sgmlOpenTag):
14654         * buffer.C (sgmlCloseTag): removed debug info.
14655
14656         * buffer.h (sgmlOpenTag):
14657         * buffer.h (sgmlCloseTag): made public.
14658
14659 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14660
14661         * buffer.C (saveParamsAsDefaults):
14662         * lyx_cb.C (MenuLayoutSave): remove
14663
14664         * LyXAction.C (init):
14665         * commandtags.h:
14666         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14667
14668 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14669
14670         * buffer.C (setPaperStuff): removed from here...
14671
14672         * bufferparams.C (setPaperStuff): ... and moved there.
14673
14674 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14675
14676         * minibuffer.h:
14677         * minibuffer.C:
14678         * XFormsView.C: add support for drop-down completion
14679
14680 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14681
14682         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14683         commands.
14684
14685 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14688         disabled.
14689
14690 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14691
14692         * lyx_main.C: change ref to known bugs
14693
14694 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14695
14696         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14697         to work around older babel problems.
14698
14699 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14700
14701         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14702
14703 2001-10-24  Juergen Vigna  <jug@sad.it>
14704
14705         * tabular-old.C (ReadOld): below variable changes reflected.
14706
14707         * tabular.[Ch]: added ltType struct for longtable header/footer
14708         defines and changed all instances where they are used. Added
14709         future support for double top/bottom rows.
14710
14711 2001-10-24  José Matos  <jamatos@fep.up.pt>
14712
14713         * buffer.h (docbookHandleCaption):
14714         * buffer.C (docbookHandleCaption): removed unused function.
14715         (makeDocBookFile): moved docbook supported version to v4.1.
14716
14717 2001-10-24  José Matos  <jamatos@fep.up.pt>
14718
14719         * tabular.h:
14720         * tabular.C (docbookRow): new function to export docbook code of a row.
14721         (DocBook): now honors the longtable flags.
14722
14723 2001-10-23  José Matos  <jamatos@fep.up.pt>
14724
14725         * LaTeXFeatures.h:
14726         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14727         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14728
14729         * buffer.C (makeLinuxDocFile):
14730         (makeDocBookFile): reworked the preamble, more clean, and with
14731         support for lyx defined entities. Changed the document declaration
14732         to be more XML friendly.
14733
14734         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14735         if we need to output XML that should be done with a filter.
14736
14737 2001-10-22  Juergen Vigna  <jug@sad.it>
14738
14739         * sp_pspell.h (class PSpell): add alive function needed in the
14740         controller to see if the spellchecker could be started.
14741
14742 2001-10-22  Juergen Vigna  <jug@sad.it>
14743
14744         * buffer.C (insertStringAsLines): modify the font for inserting
14745         chars in certain conditions by calling checkInsertChar(font).
14746
14747 2001-10-19  Juergen Vigna  <jug@sad.it>
14748
14749         * text.C (workWidth): use getRow instead of wrong algorithm.
14750         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14751
14752 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14753
14754         * lyxserver.h:
14755         * lyxserver.C:
14756         * lyx_main.h:
14757         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14758
14759 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14760
14761         * text.C (workWidth): do not search for the exact row when
14762         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14763         optimization for big documents.
14764
14765 2001-10-18  Juergen Vigna  <jug@sad.it>
14766
14767         * text.C (workWidth): new function with added Inset * parameter.
14768
14769 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14770
14771         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14772
14773         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14774         change return type of getColumnNearX.
14775
14776
14777         * text.C (changeRegionCase): use uppercase/lowercase instead of
14778         toupper/tolower.
14779         (leftMargin):
14780         (rightMargin): simplify code by factoring out the uses of
14781         textclasslist.
14782         (labelFill):
14783         (numberOfHfills):
14784         (setHeightOfRow):
14785         (appendParagraph): use Paragraph::size_type
14786
14787 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14788
14789         * vspace.C (asLatexString): add a missing break
14790
14791 2001-10-15  Herbert Voss  <voss@perce.de>
14792
14793         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14794
14795 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14798         is not available.
14799
14800 2001-10-10  André Pönitz <poenitz@gmx.net>
14801
14802         * lyxfunc.C: removed greek_kb_flag.
14803
14804 2001-10-10  Herbert Voss  <voss@perce.de>
14805
14806         * lyx_main.C: delete global string help_lyxdir.
14807
14808 2001-10-09  Herbert Voss  <voss@perce.de>
14809
14810         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14811
14812         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14813
14814         * lyx_main.C: added global string help_lyxdir.
14815
14816         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14817
14818 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14819
14820         * lyxrc.C (set_font_norm_type): support iso8859-4
14821
14822 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14823
14824         * LaTeX.C (deplog): add another regex for MikTeX
14825
14826 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14827
14828         * lyxrc.C (set_font_norm_type): support iso8859-3
14829
14830 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14831
14832         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14833
14834         * LaTeXFeatures.C: remove special case of french and index
14835
14836         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14837         before \begin{document}). This solves several incompatibilities.
14838
14839 2001-10-03  Garst Reese  <reese@isn.net>
14840
14841         * lyx_cb.C: change CheckTex error msg.
14842
14843 2001-10-03  José Matos  <jamatos@fep.up.pt>
14844
14845         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14846
14847 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * .cvsignore: update
14850
14851         * lyx_main.C (commandLineVersionInfo): use new style version info.
14852
14853         * buffer.C (writeFile):
14854         (makeLaTeXFile):
14855         (makeLinuxDocFile):
14856         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14857
14858         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14859
14860         * version.h: update to use stuff in version.C
14861
14862         * version.C.in: new file. Contains version information determined
14863         at compile time. This is a merging of version.h and
14864         version_info.h.in.
14865
14866 2001-10-03  Juergen Vigna  <jug@sad.it>
14867
14868         * BufferView_pimpl.C (update): don't change "dirty" status in
14869         updateInset call.
14870
14871 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14872
14873         * WorkArea.C (c-tor): re-position version string slightly.
14874
14875 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14876
14877         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14878         revert to previous code.
14879
14880         WorkArea.[Ch]: (show, destroySplash): methods removed.
14881
14882         WorkArea.C: rework code so that it's an amalgam of the codes before and
14883         after the splash screen was moved to WorkArea.
14884
14885 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * lyxrc.C (read):
14888         * vspace.C (inPixels):
14889         (lyx_advance):
14890         * kbmap.C (bind):
14891         * buffer.C (insertStringAsLines):
14892         (asciiParagraph): fix types to be large enough
14893
14894         * lyxlex_pimpl.h: change member status from short to int
14895
14896         * layout.h: fix type of endlabeltype
14897
14898         * kbmap.C (bind):
14899         * kbsequence.C (parse): change return type to string::size_type
14900
14901         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14902         variable
14903
14904         * Bullet.C (bulletSize):
14905         (bulletEntry): do not use short ints as parameters
14906
14907         * BufferView2.C (insertLyXFile): change a char to an int.
14908
14909         * WorkArea.C (WorkArea): remove unneeded floats in computation
14910
14911 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14912
14913         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14914
14915         * paragraph.C (asString): Do not ignore newline/hfill chars when
14916         copying to the clipboard.
14917
14918 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14919
14920         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14921         after a multi-line inset.
14922
14923 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14924
14925         * paragraph.C (validate): Set NeedLyXFootnoteCode
14926
14927 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14928
14929         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14930         and decrease-error to decrease.
14931
14932 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14933
14934         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14935         it more readable (should be equivalent)
14936
14937 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14938
14939         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14940
14941 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14942
14943         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14944         of a cursor (row, etc.) after a character has been deleted
14945         (deleteEmptyParagraphMechanism): call the method above on _all_
14946         cursors held by the LyXText when a double space has been
14947         detected/deleted.
14948
14949 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14950
14951         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14952         pixmap.
14953         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14954
14955         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14956         background. Use greyOut() and the new show() methods to toggle between
14957         the foreground and background. Add code to remove the splash after
14958         its initial showing.
14959
14960         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14961         (create_forms): no longer call Dialogs::showSplash.
14962
14963 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14964
14965         * .cvsignore: add version_info.h
14966
14967 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14968
14969         * version_info.h.in: new file
14970
14971         * Makefile.am: add version_info.h.in
14972
14973         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14974         version_info.h instead of VERSION_INFO
14975
14976 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14977
14978         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14979         The ERT inset now returns string().
14980
14981 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14982
14983         * lyxtext.h, text.C (selectNextWord): renamed as
14984         selectNextWordToSpellcheck.
14985
14986         * text.C (selectNextWordToSpellcheck): Modified to not select
14987         words inside an ERT inset.
14988
14989 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * lyx_cb.C (MenuLayoutSave): change a bit the question
14992
14993         * sp_base.h: include <sys/types.h>
14994
14995 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14996
14997         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14998
14999 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15000
15001         * several files: fix typos in user-visible strings
15002
15003 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15004
15005         * text2.C (pasteSelection): do not set the selection, since it
15006         will be cleared later. Actually, the intent was to fix the way the
15007         selection was set, but I figured rmoving the code was just as good.
15008
15009 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15010
15011         * FontLoader.C (available): Check if font is available without
15012         loading the font.
15013
15014 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15015
15016         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15017
15018 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15019
15020         * lyxrc.[Ch]: added display_graphics variable and associated code.
15021
15022 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15023
15024         * bufferparams.C (hasClassDefaults): new method. Returns true if
15025         the buffer parameters correspond to known class defaults
15026
15027 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15028
15029         * XFormsView.C (show): set minimum size to the main window.
15030
15031 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15032
15033         * text2.C (copySelection):
15034         (cutSelection):
15035         * lyxfind.C (LyXReplace):
15036         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15037         LyXText::selectionAsString.
15038
15039         * paragraph.C (asString): add "label" argument to the second form
15040
15041         * text2.C (selectionAsString): add "label" argument and pass it to
15042         Paragraph::asString.
15043
15044 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15045
15046         * lyx_main.C (commandLineHelp): remove version information
15047
15048 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15049
15050         * lyx_main.C: add -version commandline option
15051
15052 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * paragraph.h: make the optional constructor arg required instead.
15055         some modifications to other files because of this.
15056
15057         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15058
15059         * lyxserver.C (C_LyXComm_callback): make it static
15060
15061         * lyx_main.C (error_handler): make it static
15062
15063         * lyx_gui.C (LyX_XErrHandler): make it static
15064
15065         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15066
15067         * WorkArea.C: make the extern "C" methods static.
15068
15069         * Makefile.am (lyx_LDADD): simplify
15070
15071 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15072
15073         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15074         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15075
15076         * LyXAction.C (init):
15077         * lyxfunc.C (dispatch): associated code removal.
15078
15079 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * lyxfont.h (isSymbolFont): shut off warning
15082
15083         * text.C (setHeightOfRow):
15084         (getVisibleRow): fix crash with empty paragraphs which have a
15085         bottom line
15086
15087 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15088
15089         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15090         code.
15091
15092 2001-09-04  José Matos  <jamatos@fep.up.pt>
15093         * buffer.C
15094         * buffer.h
15095         * tabular.C (docbook): rename docBook method to docbook.
15096
15097 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15098
15099         * Makefile.am: add dependencies to main.o.
15100
15101 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15102
15103         * FontLoader.C (available): Return false if !lyxrc.use_gui
15104
15105 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15106
15107         * FontInfo.C (query):
15108         * converter.C (view):
15109         * importer.C (Import):
15110         * exporter.C (Export): Can not -> cannot.
15111
15112 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15113
15114         * BufferView_pimpl.C: allow to create index inset even if
15115           string is empty
15116
15117 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15118
15119         * buffer.C (getLists): replace boost::tie code with an explicit pair
15120         as boost::tie can break some compilers.
15121
15122         * iterators.h: Added a std:: declaration to the return type of
15123         ParIterator::size.
15124
15125 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15128           case.
15129
15130 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * iterators.[Ch]: New files. Provide paragraph iterators.
15133
15134         * buffer.C (changeLanguage): Use paragraph iterators.
15135         (isMultiLingual): ditto
15136
15137         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15138
15139 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15140
15141         * FontLoader.C: Support for cmr font.
15142
15143 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15144
15145         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15146         (available): New method.
15147
15148         * FontInfo.C (getFontname): Use scalable fonts even when
15149         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15150         found.
15151
15152 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15153
15154         * converter.C (Formats::view): reverted! Incorrect fix.
15155
15156 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15157
15158         * converter.C (Formats::view): only output the -paper option
15159         if the dvi viewer is xdvi, thereby fixing bug #233429.
15160
15161 2001-08-23  Herbert Voss  <voss@perce>
15162
15163         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15164
15165 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15166
15167         * Spacing.h (Spacing): Set space to Default on in the default
15168         constructor.
15169
15170 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15171
15172         * vc-backend.h (RCS::versionString): add RCS to version
15173         (CVS::versionString): add CVS to version
15174
15175         * vc-backend.C (scanMaster): do not add CVS to version.
15176         (scanMaster): do not add RCS to version
15177
15178         * lyxvc.C (versionString): new method
15179
15180         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15181
15182 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15183
15184         * Spacing.C (set): initialize fval
15185
15186 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15187
15188         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15189         " or \.
15190
15191 2001-08-16  Juergen Vigna  <jug@sad.it>
15192
15193         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15194
15195 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15196
15197         * BufferView_pimpl.C:
15198         * figureForm.C:
15199         * lyxtext.h:
15200         * text2.C: setParagraph takes linespacing now
15201
15202 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15203
15204         * LyxAction.C: add internal LFUN_CITATION_INSERT
15205
15206         * LyXView.C: actually apply fix
15207
15208         * bufferlist.C: fix open non-existent file
15209
15210         * lyxfind.C: fix indentation
15211
15212         * lyxfunc.C: remove unneeded assert, fix typo
15213
15214 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * MenuBackend.C: use "Floatname List"
15217
15218 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15219
15220         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15221         when converting LaTeX layout to insetERT.
15222         Generate a non-collapsed float when reading old float
15223
15224 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15225
15226         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15227         ERT insets.
15228
15229 2001-08-13  Juergen Vigna  <jug@sad.it>
15230
15231         * text.C (fill): return 0 instead of 20 as this seems to be the more
15232         correct value.
15233
15234 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15235
15236         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15237         lyxrc.font_norm.
15238
15239 2001-08-13  Juergen Vigna  <jug@sad.it>
15240
15241         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15242         casesensitive off.
15243         (SearchBackward): comment out the unlocking of the inset_owner this
15244         should not be needed!
15245
15246 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15247
15248         * Many files: Remove inherit_language, and add latex_language
15249
15250         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15251         collapsible insets.
15252
15253 2001-08-10  Juergen Vigna  <jug@sad.it>
15254
15255         * text.C (prepareToPrint): fixed hfill-width in draw!
15256
15257         * BufferView2.C (selectLastWord): save the selection cursor as this
15258         now is cleared in the function LyXText::clearSelection!
15259
15260 2001-08-08  Juergen Vigna  <jug@sad.it>
15261
15262         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15263         BACKSPACE type functions.
15264
15265         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15266         is only cutted from the document but not put in the cut-buffer, where
15267         still the old stuff should be.
15268
15269         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15270
15271         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15272
15273         * tabular.C (SetWidthOfCell): fixed special case where the width
15274         was not updated!
15275         (LeftLine): handle '|' in align_special.
15276         (RightLine): ditto
15277         (LeftAlreadyDrawed): ditto
15278         (SetWidthOfCell): ditto
15279
15280 2001-08-07  Juergen Vigna  <jug@sad.it>
15281
15282         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15283
15284 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15287         * lyxlex.[hC]: ditto
15288
15289 2001-08-06  Juergen Vigna  <jug@sad.it>
15290
15291         * text.C (getVisibleRow): fix up row clearing a bit.
15292
15293 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15294
15295         * minibuffer.C: make sure the X server sees the changes in the input.
15296
15297 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15298
15299         * paragraph.C (getFont): split into...
15300         (getLabelFont): this
15301         (getLayoutFont): and this
15302         * paragraph_pimpl.C (realizeFont): calling this
15303
15304         * text2.C (getFont): split into...
15305         (getLayoutFont): this
15306         (getLabelFont): and this
15307         (realizeFont): all three calling this
15308
15309         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15310         files where used.
15311
15312 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15315
15316 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15317
15318         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15319         layouts from the Quote inset insertion.
15320
15321 2001-08-03  Juergen Vigna  <jug@sad.it>
15322
15323         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15324
15325         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15326         only if status not is already CHANGED_IN_DRAW (second level).
15327
15328         * text.C (draw): don't set the need_break_row when inside an
15329         InsetText LyXText.
15330
15331 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15332
15333         * buffer.C (parseSingleLyXformat2Token): handle more latex
15334         conversion cases.
15335
15336         * bufferview_funcs.[hC]: change function names to
15337         begin with small char, adjust other files.
15338
15339 2001-08-02  André Pönitz <poenitz@gmx.net>
15340
15341         * lyxfunc.C:
15342         BufferView_pimpl.C: remove broken special code for math-greek
15343
15344 2001-08-02  Juergen Vigna  <jug@sad.it>
15345
15346         * BufferView_pimpl.C (update): redone this function so that we
15347         update the text again if there was a CHANGE_IN_DRAW.
15348
15349         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15350         (drawFromTo): added a new internal bool which is used by draw() and
15351         redraw() function.
15352         (general): some cursor drawing problems fixed.
15353
15354 2001-08-01  Juergen Vigna  <jug@sad.it>
15355
15356         * lyxfind.C (LyXFind): fixed
15357         (SearchForward): ditto
15358         (SearchBackward): ditto
15359
15360         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15361         spurius drawing of the cursor in the main area.
15362
15363         * text2.C (status): small fix which could lead to a segfault!
15364         (clearSelection): remove unneeded BufferView param.
15365
15366 2001-08-01  André Pönitz <poenitz@gmx.net>
15367
15368         * lyxfunc.C: small change due to changed mathed interface
15369
15370 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15371
15372         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15373
15374 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15375
15376         * lyxfunc.c: fail gracefully if file doesn't exist
15377
15378         * LyXSendto.C:
15379         * buffer.C:
15380         * lyxfunc.C:
15381         * BufferView_pimpl.C: IsDirWriteable() proto changed
15382
15383         * LyXView.C: fix updateWindowTitle() to store the last title
15384
15385 2001-07-31  Juergen Vigna  <jug@sad.it>
15386
15387         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15388         the font (wrong since using of Paragraph::highestFontInRange).
15389
15390         * paragraph.C (highestFontInRange): added a default_size parameter.
15391
15392         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15393         (setHeightOfRow): reformat
15394
15395 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15396
15397         * converter.[hC] + affected files: move to (inital-char)lowercase
15398         function names.
15399
15400         * ParagraphParameters.C (ParagraphParameters): remove commented code
15401
15402         * PainterBase.[Ch]: remove commented code
15403
15404         * LaTeXFeatures.h: add "bool floats" for float.sty
15405
15406         * LaTeXFeatures.C (LaTeXFeatures): init floats
15407         (require): handle float
15408         (getPackages): do it with floats
15409
15410 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15411
15412         * BufferView_pimpl.C (Dispatch): improve handling of
15413         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15414
15415         * commandtags.h: #include lyxfont.h here temporarily to avoid
15416         keybinding bug.
15417
15418         * bufferlist.h: include LString.h here.
15419
15420 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15421
15422         * text2.C (getStringToIndex): new method.
15423
15424 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15425
15426         * *: Reduced header file dependencies all over.
15427
15428 2001-07-30  Baruch Even  <baruch@lyx.org>
15429
15430         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15431
15432 2001-07-29  Baruch Even  <baruch@lyx.org>
15433
15434         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15435
15436 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15437
15438         * ParameterStruct.h (endif): add a default constructor to make
15439         sure that all variables is initialized.
15440
15441         * ParagraphParameters.C (ParagraphParameters): adjust
15442
15443 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15444
15445         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15446         index; also, check that there is something to index, and that it
15447         does not span over several paragraphs.
15448         (doubleClick): use WHOLE_WORD_STRICT for double click.
15449
15450         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15451
15452         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15453         scheme.
15454
15455 2001-07-26  Baruch Even  <baruch@lyx.org>
15456
15457         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15458         an InsetFig figure, backwards compatible reading of old figure code.
15459
15460 2001-07-27  Juergen Vigna  <jug@sad.it>
15461
15462         * text2.C: font.realize function adaption.
15463
15464         * text.C (draw): add a warnings lyxerr text if needed.
15465
15466         * layout.C: font.realize function adaption.
15467
15468         * language.C: add inherit_language and implement it's handlings
15469
15470         * bufferview_funcs.C (StyleReset): remove language parameter from
15471         font creation (should be language_inherit now).
15472
15473         * bufferparams.C (writeFile): handle ignore_language.
15474
15475         * paragraph.C (getFontSettings): the language has to be resolved
15476         otherwise we have problems in LyXFont!
15477
15478         * lyxfont.C (lyxWriteChanges): added document_language parameter
15479         (update): removed unneeded language parameter
15480
15481         * paragraph.C (validate): fixed wrong output of color-package when
15482         using interface colors for certain fonts in certain environments,
15483         which should not seen as that on the final output.
15484
15485 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15486
15487         * BufferView_pimpl.C:
15488         * Thesaurus.h:
15489         * Thesaurus.C:
15490         * Makefile.am:
15491         * commandtags.h:
15492         * LyXAction.C: add thesaurus support
15493
15494         * lyxfind.h:
15495         * lyxfind.C: add "once" parameter, for thesaurus, to not
15496           move to the next match
15497
15498 2001-07-26  Juergen Vigna  <jug@sad.it>
15499
15500         * lyxfont.C (realize): honor ignore_language too!
15501         (resolved): ditto.
15502
15503         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15504
15505         * text.C (draw): one place more for ignore_language to not draw
15506         itself!
15507
15508 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15509
15510         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15511
15512 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15513
15514         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15515         the minipage conversion problem.
15516
15517 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15518
15519         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15520         insert an inset.
15521
15522 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15523
15524         * BufferView.h: don't forward declare WorkArea
15525
15526         * BufferView.C: don't include WorkArea.h
15527
15528 2001-07-25  André Pönitz <poenitz@gmx.net>
15529
15530         * commandtags.h:
15531         * LyXAction.C:
15532         * lyxfunc.C:  new LFUN 'math-space'
15533
15534         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15535
15536 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15537
15538         * text2.C (toggleInset): call open/close
15539
15540 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15541
15542         * lyxfunc.C (dispatch): add debug for the disabled case
15543
15544         * font.C (buttonText): make similar to rectText
15545
15546         * buffer.C (readInset): comment out parsing of insetlist and
15547         insttheorem
15548
15549         * PainterBase.C (rectText): small correction
15550
15551         * BufferView_pimpl.C: comment out insettheorem and insetlist
15552         * LyXAction.C: ditto
15553         * commandtags.h: ditto
15554
15555 2001-07-24  Juergen Vigna  <jug@sad.it>
15556
15557         * text.C (draw): honor the ignore_language.
15558
15559         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15560
15561 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15562
15563         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15564         char inset.
15565
15566 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15567
15568         * lyxtext.h: remove unused (and unimplemented) methods
15569
15570 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15571
15572         * text.C (getVisibleRow): honor background color
15573
15574         * PainterBase.h:
15575         * Painter.h: remove default color argument for fillRectangle
15576
15577         * text.C (backgroundColor): new method
15578
15579 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15580
15581         * text.C (getVisibleRow): adjust
15582
15583         * font.[Ch] (rectText): new method, metrics
15584         (buttonText): new method, metrics
15585
15586         * PainterBase.[hC]: make rectText and buttonText always draw and take
15587         fewer paramteres.
15588
15589 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15590
15591         * ToolbarDefaults.C (read):
15592         * MenuBackend.C (read): allow escaping in all strings
15593
15594         * BufferView_pimpl.C (insertAndEditInset): new method.
15595         (Dispatch): use insertAndEditInset whenever appropriate.
15596
15597         * BufferView_pimpl.C (insertNote): removed
15598
15599         * BufferView_pimpl.C (smartQuote): new method, moved from
15600         BufferView; if an insetquote cannot be inserted, insert a '"'
15601         character instead.
15602
15603         * BufferView2.C: remove insertCorrectQuote();
15604
15605         * lyxfunc.C (getStatus): Add support for all remaingin
15606         inset-insert lfuns.
15607
15608         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15609
15610         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15611         command (necessary to pass " as parameter of self-insert.
15612
15613         * text.C (selectWordWhenUnderCursor):
15614         (selectWord): add word_location parameter
15615         (selectWordWhenUnderCursor): same + remove special code for word
15616         boundary.
15617         (selectNextWord): use kind() to guess type of insetspecialchar,
15618         not latex().
15619
15620         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15621         (insertErtContents): create ert insets as collapsed.
15622         (readInset): better compatibility code for Info inset.
15623
15624 2001-07-20  Juergen Vigna  <jug@sad.it>
15625
15626         * lyxfunc.C (dispatch): use always LyXFind now!
15627
15628         * text2.C (init): add a reinit flag so that the LyXText can be
15629         reinited instead of deleted and reallocated (used in InsetText).
15630
15631         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15632
15633         * text.C: ditto
15634
15635         * text2.C: ditto
15636
15637 2001-07-18  Juergen Vigna  <jug@sad.it>
15638
15639         * text.C (selectNextWord): handle insets inside inset by calling
15640         always the bv->text functions so that we can go up the_locking_inset!
15641
15642         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15643         in strange locations when inside an inset!
15644
15645         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15646         handling to include insets.
15647
15648         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15649
15650 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * LyXAction.C (init):
15653         * commandtags.h:
15654         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15655         LIGATURE_BREAK, since the name is so stupid.
15656
15657 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15658
15659         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15660         InsetInfos.
15661
15662         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15663
15664         * sp_form.[Ch]: remove.
15665
15666         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15667
15668         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15669         InsetInfo.
15670
15671         * src/buffer.C (readInset): ditto.
15672
15673 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15674
15675         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15676         menuSeparator(), endOfSentenceDot(), ldots() and
15677         hyphenationPoint(), which are therefore removed.
15678         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15679
15680         * LyXAction.C (init):
15681         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15682
15683         * paragraph.C (getWord): removed.
15684
15685         * BufferView_pimpl.C (Dispatch): use last word or selection for
15686         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15687
15688         * lyx_main.C (queryUserLyXDir): do not ask before creating
15689         user_dir, except if it has been named explicitely.
15690
15691 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15692
15693         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15694         a document of zero size.
15695
15696 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15697
15698         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15699         approriately in the c-tor and in require().
15700         (getPackages): output the appropriate LaTeX for natbib support.
15701
15702         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15703         variables "use_natbib" and "use_numerical_citations" when reading the
15704         LyX file.
15705         (readInset): read the various natbib cite commands.
15706         (validate): white-space change.
15707
15708         * bufferparams.[Ch]: new variables "bool use_natbib" and
15709         "bool use_numerical_citations".
15710         (writeFile): output them in the LyX file.
15711
15712 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15713
15714         * lyxfunc.C (getStatus): add support for all the inset insertion
15715         commands.
15716
15717         * text2.C (insertInset):
15718         * paragraph.C (insetAllowed):
15719         * BufferView_pimpl.C (insertInset): update to take in account the
15720         renaming of insertInsetAllowed
15721
15722         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15723
15724         * text2.C (getInset): new method. returns inset at cursor position.
15725
15726         * BufferView_pimpl.C (Dispatch): changes because of this.
15727
15728         * LyXAction.C (init): rename open-stuff to inset-toggle.
15729
15730         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15731
15732         * text2.C (toggleInset): renamed from openStuff; use
15733         Inset::open().
15734
15735 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15736
15737         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15738
15739         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15740
15741 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15742
15743         * buffer.C (readLyXformat2): Add filename to the error dialog
15744
15745 2001-07-18  Juergen Vigna  <jug@sad.it>
15746
15747         * tabular.C (GetCellNumber): put an assert here instead of the check!
15748
15749 2001-07-17  Juergen Vigna  <jug@sad.it>
15750
15751         * BufferView_pimpl.C (toggleSelection): adapted too.
15752
15753         * text.C (selectNextWord): adapted for use with insets.
15754         (selectSelectedWord): ditto
15755
15756 2001-07-17  Juergen Vigna  <jug@sad.it>
15757
15758         * sp_spell.C (PSpell): fix initialitation order.
15759
15760 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15761
15762         * paragraph.C: spacing
15763
15764 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15765
15766         * sp_spell.C: repair language selection for pspell
15767
15768 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15769
15770         * lyxfunc.h: change more methods to begin with lower char.
15771
15772 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15773
15774         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15775         for unknown layouts.
15776
15777 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15778
15779         * buffer.C (readLyXformat2): Generate an error dialog if there are
15780         unknown layouts.
15781
15782 2001-07-16  Juergen Vigna  <jug@sad.it>
15783
15784         * sp_spell.C: always compile ISpell part.
15785
15786         * lyxrc.C: added use_pspell entry and it's handling.
15787
15788 2001-07-13  Juergen Vigna  <jug@sad.it>
15789
15790         * sp_spell.C: removed double includes.
15791
15792 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15793
15794         Consistent use of Lsstream.h:
15795         * Lsstream.h: added using std::stringstream for consistencies sake.
15796
15797         * buffer.C: removed using std::stringstream
15798
15799         * lyxfont.C (stateText):
15800         * paragraph.C (asString):
15801         * text.C (selectNextWord, selectSelectedWord):
15802         * text2.C (setCounter):
15803         * vspace.C (asString, asLatexString):
15804         std::ostringstream -> ostringstream.
15805
15806 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15807
15808         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15809         * commandtags.h: add LFUN_HELP_ABOUTLYX
15810         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15811
15812 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15813
15814         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15815         cursorToggle()
15816         * lyx_gui_misc.C: remove spellchecker
15817         * lyxfunc.C: showSpellchecker
15818         * sp_base.h: added
15819         * sp_ispell.h: added
15820         * sp_pspell.h: added
15821         * sp_spell.C: added
15822         * sp_form.[Ch]: removed
15823         * spellchecker.[Ch]: removed
15824
15825 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15826
15827         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15828         is set.
15829         (simpleTeXSpecialChars): Simply print the input character without
15830         any special translation if pass_thru is set.
15831
15832         * layout.h: Added bool pass_thru to layout class for being able to
15833         implement pass through of a paragraph for Literate Programming.
15834
15835         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15836         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15837         * layout.C (Read): add "passthru" to list of layout tags and add
15838         code to set the pass_thru boolean when it is read.
15839
15840 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15841
15842         * trans_decl.h: remove allowed from KmodInfo
15843
15844         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15845         remove allowed code
15846         (Load): adjust
15847
15848         * paragraph_pimpl.C (erase): use boost::prior
15849
15850         * Painter.C (text): use data() instead of c_str() when length is
15851         also provided.
15852         * WorkArea.C (putClipboard): ditto
15853         * font.h (width): ditto
15854
15855         * BufferView2.C: use it-> instead of (*it). for iterators
15856         * texrow.C: ditto
15857         * paragraph_pimpl.C: ditto
15858         * paragraph.C: ditto
15859         * minibuffer.C: ditto
15860         * language.C: ditto
15861         * kbmap.C: ditto
15862         * encoding.C: ditto
15863         * counters.C: ditto
15864         * converter.C: ditto
15865         * chset.C: ditto
15866         * Variables.C: ditto
15867         * TextCache.C: ditto
15868         * MenuBackend.C: ditto
15869         * LyXAction.C: ditto
15870         * LColor.C: ditto
15871         * FloatList.C: ditto
15872         * DepTable.C: ditto
15873         * ColorHandler.C (LyXColorHandler): ditto
15874
15875 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15876
15877         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15878
15879         * text2.C (openStuff): reintroduce this method (which had been
15880         nuked in NEW_INSETS frenzy).
15881
15882         * lyxfunc.C (Dispatch): when an action has not been handled, use
15883         its name in the error message, not its number.
15884
15885         * paragraph.C (inInset): change method name to begin with lowercase.
15886
15887         * undo_funcs.C:
15888         * text2.C: updates because of this.
15889
15890 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15891
15892         * ToolbarDefaults.C (add): add spaces in error message
15893
15894 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15895
15896         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15897         (readLyXformat2): rename return_par to first_par, use lyxlex's
15898         pushToken and remove the manual push handling.
15899         (parseSingleLyXformat2Token): add another ert comp. variable:
15900         in_tabular, rename return_par to first_par. handle newlines better
15901
15902 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15903
15904         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15905
15906 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15907
15908         * text2.C (getParFromID): removed
15909
15910         * buffer.C (getParFromID): new method moved form lyxtext.
15911         * BufferView2.C (insertErrors): adjust
15912         (setCursorFromRow): adjust
15913         * BufferView_pimpl.C (restorePosition): adjust
15914         * lyxfunc.C (Dispatch): adjust
15915         * undo_funcs.C (textUndo): adjust
15916         (textRedo): adjust
15917         (textHandleUndo): adjust
15918         (textHandleUndo): adjust
15919
15920 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15921
15922         * buffer.C: up' the LYX_FORMAT
15923
15924         * lyxfont.h: turn NO_LATEX on as default
15925
15926         * buffer.C (insertErtContents): new methods of tex style compability.
15927         (parseSingleLyXformat2Token): use it several places.
15928         * tabular.C (OldFormatRead): and here
15929
15930 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15931
15932         * text2.C: remove some commented code.
15933         reindent file.
15934
15935         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15936         * trans.C: changes because of the above.
15937
15938 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15939
15940         * text2.C (setCounter): Fix counters bug with bibliography layout.
15941
15942 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15943
15944         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15945         own member functions
15946         (simpleTeXSpecialChars): ditto
15947
15948 2001-07-06  Juergen Vigna  <jug@sad.it>
15949
15950         * a lot of files: changed the access to LyXText::status and the
15951         call of undo-functions.
15952
15953         * undo.[Ch]: added a inset_id to the undo informations.
15954
15955         * undo_funcs.[Ch]: added and moved here all undo functions.
15956
15957         * lyxtext.h: give the status enum a weight, made status_ a private
15958         variable and made accessor functions for it, removed the whole bunch
15959         of undo-functions as they are now in their own file, make some
15960         functions publically available. Added function ownerParagraph with
15961         int parameter.
15962
15963         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15964         made InInset() a const function, added getParFromID() function.
15965
15966         * buffer.[Ch]: added const version for inset_iterator functions,
15967         added getInsetFromID() function.
15968
15969         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15970         changed undo functions for new version.
15971
15972 2001-07-05  Juergen Vigna  <jug@sad.it>
15973
15974         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15975         unknow mechanism does not call the proper constructor but only this
15976         one also if I request the other!?
15977
15978 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15979
15980         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15981
15982         * text2.C (LyXText): use initialization lists.
15983
15984         * lyxtext.h (Selection): initialize set_ and mark_
15985         (init): remove method
15986
15987 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15988
15989         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15990
15991 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15992
15993         * screen.[Ch]: change method names to begin with lowercase
15994
15995         * BufferView_pimpl.C (updateScrollbar): simplify further and
15996         hopefully make it a bit faster.
15997
15998 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15999
16000         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16001         calling directly xforms functions.
16002
16003         * Painter.C (Painter):
16004         * lyx_cb.C (MenuWrite):
16005         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16006         fl_display.
16007
16008         * lyx_gui.C: remove bogus guiruntime extern declaration.
16009
16010 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16011
16012         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16013         in NEW_INSETS
16014         (redoDrawingOfParagraph): ditto
16015         (redoParagraphs): ditto
16016         (cutSelection): don't create a object for CutAndPaste use the
16017         static method directly
16018         (pasteSelection): ditto
16019
16020         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16021         LyXview (+ rename)
16022
16023 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16024
16025         * modifications to some other files because of this.
16026
16027         * Makefile.am (lyx_SOURCES): add XFormsView
16028
16029         * XFormsView.[Ch]: new files
16030
16031         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16032         the main window. Move the gui dependent stuff to XFormsView
16033
16034 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16035
16036         * tabular.C (GetCellInset): update cur_cell also in the row/col
16037         version of this function.
16038
16039         * lyxfunc.C: no need to include figure_form.h here.
16040
16041         * FontLoader.h:
16042         * lyxfunc.h:
16043         * lyxscreen.h:
16044         * text2.C:
16045         * lyxvc.C: no need to include forms.h here.
16046
16047 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16048
16049         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16050
16051         * lyxfunc.C (Dispatch):
16052         * Spacing.C (set):
16053         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16054         constructor argument.
16055
16056 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16057
16058         * paragraph.C (Paragraph): dont't clear, and just set layout.
16059         (makeSameLayout): use params's copy contructor.
16060
16061         * ParagraphParameters.[Ch] (makeSame): delete method
16062
16063 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16064
16065         * Variables.[Ch]: fix indentation, rename set to isSet
16066
16067 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16068
16069         * lyxfunc.C (Dispatch): fix typo
16070
16071 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16072
16073         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16074         upper_bound.
16075
16076         * bufferlist.C: include assert.h for emergencyWrite().
16077
16078 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16079
16080         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16081           give up at last (bug #425202) !
16082
16083 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16084
16085         * lyx_gui_misc.C:
16086         * sp_form.h:
16087         * sp_form.C:
16088         * spellchecker.h:
16089         * spellchecker.C: strip spellchecker options and bring up
16090           preferences tab instead
16091
16092 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16093
16094         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16095         the istringstream constructor
16096
16097 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16098
16099         * paragraph.C (getLayout): fix return value
16100
16101         * paragraph.h: do not declare getLayout as inline.
16102
16103         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16104
16105 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16106
16107         * lyxcursor.h (operator<): new func
16108         (operator>): new func
16109         (operator>=): new func
16110         (operator<=): new func
16111
16112         * text.C (changeCase): use selection.start and selection.end
16113         (changeRegionCase): require from to be <= to. Require par to be a
16114         valid paragraph.
16115
16116         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16117
16118 2001-06-27  Juergen Vigna  <jug@sad.it>
16119
16120         * text.C (cursorLeftOneWord): changed to return the cursor and added
16121         overlay with BufferView * parameter which calls this one.
16122         (getWord): added
16123         (selectWord): use new getWord function.
16124         (changeCase): renamed from changeWordCase as and extended to work
16125         also on selections.
16126
16127         * lyxtext.h: added enum word_location
16128
16129         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16130         changeCase as this operates now also on selections.
16131
16132 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16133
16134         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16135
16136         * many files: send debug output to Debug::INFO instead of
16137         Debug::ANY.
16138
16139         * converter.C (View):
16140         (Convert):
16141         (Move): send debug output to Debug::FILES instead of console.
16142
16143 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16144
16145         * lyxfunc.C (getStatus): use func_status
16146
16147         * func_status.h: new header, describing the results of
16148         LyXFunc::getStatus;
16149
16150         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16151         LFUN_MATH_HALIGN.
16152
16153 2001-06-25  The LyX Project  <jug@sad.it>
16154
16155         * buffer.C (sgmlOpenTag):
16156         (sgmlCloseTag):
16157         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16158
16159 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16160
16161         * text2.C: remove some dead code
16162
16163         * tabular.C (GetCellInset): store the last cell checked (gotten)
16164
16165         * tabular.h: add the helper for the speedup
16166
16167         * lyxtext.h: remove some dead code
16168
16169 2001-06-26  The LyX Project  <Asger>
16170
16171         * paragraph.C: Change export to LaTeX of alignment to
16172         \begin{center} and family for better roundtrip work with reLyX.
16173
16174         * Tune the math drawing a bit.
16175
16176 2001-06-25  The LyX Project  <Asger>
16177
16178         * LColor.C (LColor): New color for math background. New color
16179         for buttons.
16180
16181 2001-06-25  The LyX Project  <jug@sad.it>
16182
16183         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16184
16185         * lyxfunc.C (Open):
16186         * bufferlist.C (newFile): do not restrict to files ending with
16187         .lyx
16188
16189         * BufferView_pimpl.C (MenuInsertLyXFile):
16190
16191 2001-06-24  The LyX Project  <jug@sad.it>
16192
16193         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16194         of compare_no_case
16195
16196 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16197
16198         * lyxtext.h: rename most methods to begin with a small char.
16199         Lots of changes because of this.
16200
16201         * paragraph.C (Paragraph): do not call fitToSize
16202         (erase): call Pimpl::erase
16203         (insertChar): call Pimpl::insertChar
16204         (insertInset): call Pipl::insertInset
16205         (breakParagraph): do not call fitToSize
16206         (breakParagraphConservative): do not call fitToSize
16207         (fitToSize): remove method
16208
16209         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16210
16211 2001-06-24  The LyX Project  <Asger>
16212
16213         * Fix Qt compilation^2
16214
16215 2001-06-24  The LyX Project  <jug@sad.it>
16216
16217         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16218         depthHook(getDepth()-1).
16219
16220         * paragraph.h:
16221         * ParagraphParameters.h:
16222         * ParameterStruct.h: change type of depth to unsigned int ==
16223         depth_type. Many adaptations to other files before of that.
16224
16225 2001-06-24  The LyX Project  <Asger>
16226
16227         * Fix Qt compilation.
16228
16229 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16230
16231         * paragraph.h: renamed several methods to begin with small letter.
16232         several changes to many parts of the code because of this.
16233
16234 2001-06-23  The LyX Project  <jug@sad.it>
16235
16236         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16237         rewritten to discard all double spaces when KeepEmpty is off
16238         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16239         to only handle newlines but not fiddle with spaces and friends.
16240
16241         * lyxfunc.C (MenuNew): when doing 'new from template', use
16242         template_path as default directory
16243
16244 2001-06-23  The LyX Project  <Asger>
16245
16246         * Clean-up of header file includes all over
16247         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16248
16249 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16250
16251         * paragraph.h: renamed from lyxparagraph.h
16252
16253 2001-06-23  Asger  <lyx@violet.home.sad.it>
16254
16255         * Buffer.h: Removed Buffer::resize
16256         * BufferList.h: Removed BufferList::resize
16257         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16258         the document lazily when we change the width, or the font settings.
16259
16260 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16261
16262         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16263
16264 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16265
16266         * buffer.h: remove out of date comment
16267
16268 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16269
16270         * lyxscreen.h:
16271         * screen.C: fix "theoretical" GC leak
16272
16273 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16274
16275         * LaTeX.C (scanAuxFile):
16276         (deplog): remove trailing \r when reading stream (useful under
16277         win32)
16278
16279 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16280
16281         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16282         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16283         and BufferView::theLockingInset(Inset*), so should use them and not
16284         access bv_->text->the_locking_inset directly.
16285
16286         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16287
16288 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16289
16290         * Makefile.am:
16291         * tex-defs.h: remove old unused file
16292
16293 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16294
16295         * BufferView_pimpl.C: fix typo, remove minibuffer message
16296           when buffer has loaded
16297
16298 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16299
16300         * lyxfunc.C (Dispatch): use stringstream
16301         (MenuNew): use stringstream
16302         (Open): use stringstream
16303
16304         * importer.C (Import): use stringstream
16305
16306         * bufferview_funcs.C (CurrentState): use stringstream
16307
16308         * LaTeX.C (run): use stringstream
16309
16310         * BufferView_pimpl.C (savePosition): use stringstream
16311         (restorePosition): use stringstream
16312         (MenuInsertLyXFile): use stringstream
16313
16314 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16315
16316         * BufferView.C:
16317         * Bullet.C:
16318         * ColorHandler.C:
16319         * FontInfo.C:
16320         * FontLoader.C:
16321         * LColor.C:
16322         * LaTeXFeatures.C:
16323         * Painter.C:
16324         * gettext.C:
16325         * lyx_gui_misc.C:
16326         * lyxserver.C:
16327         * vspace.C: removed // -*- C++ -*- as first line.
16328
16329         * lyxfind.h:
16330         * version.h: added // -*- C++ -*- as first line.
16331
16332 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16333
16334         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16335
16336         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16337         of string
16338
16339 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16340
16341         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16342         of floats.
16343
16344 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * gettext.C: include LString.h even when --disable-nls is on.
16347
16348 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16349
16350         * converter.h (Get): changed argument type from int to
16351         FormatList::size_type to avoid unnecessary conversion.
16352
16353         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16354         before using it.
16355
16356 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16357
16358         * gettext.h: include LString.h even when --disable-nls is on.
16359
16360 2001-06-07  Juergen Vigna  <jug@sad.it>
16361
16362         * text.C (BreakAgain): subst spaces with tabs.
16363
16364         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16365         (resizeInsetsLyXText): set force on resizeLyXText.
16366
16367 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16368
16369         * gettext.h (gettext_init):
16370         (locale_init): use a real definition instead of a macro
16371
16372 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16373
16374         * Bufferview_pimpl.C:
16375         * LColor.h:
16376         * LColor.C: further lcolor tidies
16377
16378 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16379
16380         * BufferView_pimpl.C (updateScrollbar): simplify.
16381
16382         * BufferView2.C: don't include insets/insetinfo.h, change
16383         prototype for insertInset and call the Pimpl version. let
16384         updateInset call Pimpl version.
16385
16386         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16387         gotoInset to BufferView::Pimpl
16388
16389 2001-06-01  Juergen Vigna  <jug@sad.it>
16390
16391         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16392         inside a LockingInset (is the update needed at all?).
16393
16394 2001-05-31  Juergen Vigna  <jug@sad.it>
16395
16396         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16397         here not the old one otherwise how should we compare it afterwards
16398         if it's the same!
16399
16400 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16401
16402         * lyxfont.C:
16403         * tabular.C:
16404         * tabular-old.C:
16405         * FontInfo.C: bring C functions into global namespace when
16406         necessary
16407
16408 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16409
16410         * LString.h: make sure config.h has been loaded before LString.h.
16411
16412         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16413         (one for each char read by EatLine!).
16414
16415         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16416         variables.
16417
16418 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16419
16420         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16421         to the same as the par we break from
16422
16423 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16424
16425         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16426
16427         * MenuBackend.C (expand): also create menu entries for wide
16428         versions of the floats.
16429
16430         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16431
16432         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16433
16434         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16435         frontends/Makefile.am
16436
16437         * text2.C: adjust
16438         * text.C: adjust
16439
16440
16441         * tabular.C (getTokenValue): add std::
16442
16443         * tabular-old.C (getTokenValue): add std::
16444         (getTokenValue): ditto
16445         (getTokenValue): ditto
16446
16447         * screen.C (ToggleSelection): adjust
16448
16449         * lyxtext.h: put selection cursors inside a Selection struct.
16450
16451         * lyxfunc.C (moveCursorUpdate): adjust
16452
16453         * lyxfont.C (latexWriteStartChanges): add std::
16454
16455         * lyxfind.C: adjust
16456
16457         * font.h: delete with(char const *, LyXFont const &)
16458
16459         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16460
16461         * FontInfo.C (getFontname): add std::
16462
16463         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16464         (workAreaButtonPress): adjust
16465         (tripleClick): adjust
16466         (update): adjust
16467         (moveCursorUpdate): adjust
16468         (Dispatch): adjust
16469
16470         * BufferView2.C (gotoInset): adjust
16471
16472 2001-05-30  Juergen Vigna  <jug@sad.it>
16473
16474         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16475         to check pspell I add this as default as I now have new pspell
16476         libraries and they seem to use this.
16477
16478 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * text2.C (CutSelection): make the cursor valid before the call to
16481         ClearSelection.
16482
16483 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16484
16485         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16486         relied on 0 terminated strings and other horrors. Bug found due to
16487         the new assert in lyxstring!
16488
16489         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16490         KP_ keys.
16491
16492 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16493
16494         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16495         to latinkeys.bind.
16496
16497         * lyxfunc.C (processKeySym): change method of getting to the
16498         self-insert char.
16499
16500         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16501         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16502         * BufferView_pimpl.[Ch]: here as private methods.
16503
16504 2001-05-28  Juergen Vigna  <jug@sad.it>
16505
16506         * text.C (SetHeightOfRow): added the update() call again as it is
16507         needed to initialize inset dimensions!
16508
16509 2001-05-16  Juergen Vigna  <jug@sad.it>
16510
16511         * text2.C (SetCharFont): Add new function with BufferView * and
16512         bool toggleall parameters for setting insets internal fonts.
16513         (SetFont): Freeze the undo as we may change fonts in Insets and
16514         all this change should be inside only one Undo!
16515
16516         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16517         setting font's in insets as for them we have the SetFont function!
16518
16519 2001-05-15  Juergen Vigna  <jug@sad.it>
16520
16521         * text2.C (ClearSelection): to be sure we REALLY don't have any
16522         selection anymore!
16523
16524         * tabular.C (TeXCellPreamble): fixed the left border problem for
16525         multicolumn cells.
16526
16527 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16528
16529         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16530         dependancy file
16531
16532 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16533
16534         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16535         LFUN_BREAKPARAGRAPH.
16536
16537         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16538         help test to "internal only", similar for LFUN_INSERT_URL
16539
16540         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16541         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16542         auto_region_delete and deadkeys.
16543
16544 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16545
16546         * LColor.h:
16547         * LColor.C: remove some dead entries, tidy a little
16548
16549 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16550
16551         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16552         commented code.
16553         (Dispatch): implement LFUN_ESCAPE
16554
16555         * commandtags.h: add LFUN_ESCAPE
16556
16557         * LyXAction.C (init): add entry for LFUN_ESCAPE
16558
16559         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16560         Remove commented code.
16561         (insertNote): moved here
16562         (open_new_inset): moved here
16563
16564         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16565         BufferView_pimpl
16566
16567 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16568
16569         * kbmap.C (findbinding): clean it up and make it work correctly.
16570
16571         * lyx_main.C (init): do not pass argc and argv as parameters
16572
16573 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16574
16575         * buffer.C: fix path for OS/2 & Win32
16576
16577         * lyx_gui.C:
16578         * lyx_main:
16579         * lyx_main.C: Added os:: class.
16580
16581         * os2_defines.h: update
16582
16583 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16584
16585         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16586         better by trying again with reduced state.
16587
16588 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16589
16590         * lyxrc.C (read): print error about invalid key sequence only when
16591         debugging (because not all latinX keysyms are known to some X
16592         servers)
16593
16594         * kbsequence.C (getiso): add a few std:: qualifiers
16595         (getiso): comment out extra return statement.
16596
16597 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16598
16599         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16600         handling.
16601         (Dispatch): enhance the accent inset a bit. (not perfect)
16602
16603 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16604
16605         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16606
16607 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * bufferlist.C (emergencyWrite): fix assert() call
16610
16611 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16612
16613         * text.C (InsertChar): Added trivial patch to only send the "you
16614         can not do multiple spaces this way" message once during a
16615         session.
16616
16617 2001-05-08  Baruch Even  <baruch@lyx.org>
16618
16619         * Makefile.am: Changed order of libraries to get LyX to link properly
16620         with the gnome frontend.
16621
16622 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16623
16624         * LaTeXFeatures.h: add a std:: qualifier
16625
16626 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * paragraph.C (String): use stringstream
16629
16630 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * paragraph.C (writeFile): remove footflag arg
16633
16634         * buffer.C (makeLaTeXFile): use stringstream
16635         (latexParagraphs): remove footnot gurba
16636
16637         * LaTeXFeatures.C (getPackages): use stringstream
16638         (getMacros): likewise
16639         (getTClassPreamble): likewise
16640         (getFloatDefinitions): new method
16641
16642         * paragraph.C (writeFile): reindent
16643         (Erase): reindent
16644
16645         * WorkArea.h: revert the xpos + etc changes.
16646
16647         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16648
16649         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16650
16651         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16652         (pasteSelection): likewise
16653         * text2.C (CreateUndo): likewise
16654
16655 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16656
16657         * minibuffer.C (peek_event): temporarily reduce the functionality
16658         of the minibuffer (to allow args on lfuns)
16659
16660         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16661         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16662
16663         * buffer.C (readInset): add compability reading of old float
16664         lists, add reading of new style float list.
16665         (readInset): avoid reevaluation of inscmd.getCmdName()
16666         (getLists): reindent
16667
16668         * MenuBackend.C (MenuItem): implement parsing of
16669         md_floatlistinsert and md_floatinsert.
16670         (expand::LastFiles): move initalizaton of iterators out of loop,
16671         avoid reevaluation.
16672         (expand::Documents): introduce typdedef vector<string> Strings,
16673         and use it.
16674         (expand::ExportFormats): introduce typedef vector<Format const *>
16675         Formats, and use it.
16676         (expand): implement FloatListInsert and FloatInsert.
16677
16678         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16679         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16680         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16681
16682         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16683         handling.
16684         (Dispatch::LFUN_FLOAT_LIST): implement
16685
16686 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16687
16688         * LaTeX.C (run): Fix problem with --export code.
16689
16690 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16691
16692         * BufferView.[Ch] (workarea): removed.
16693         (getClipboard) new method; wrapper for workarea()->getClipboard()
16694
16695         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16696         bug.
16697
16698         * WorkArea.h (width, height, xpos, ypos): These methods all
16699         returned the dimensions of the work_area sub-area of WorkArea,
16700         resulting in a position error if the WorkArea were resized. Now
16701         return the dimensions of the entire WorkArea.
16702
16703         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16704
16705 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16706
16707         * LaTeX.C (deplog): correct the syntax of regex reg1
16708
16709 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16710
16711         * undo.C: remove !NEW_INSETS cruft
16712
16713 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16714
16715         * text2.C: remove !NEW_INSETS cruft
16716
16717         * text.C: remove !NEW_INSETS cruft
16718
16719         * tabular.C: remove !NEW_INSETS cruft
16720
16721         * spellchecker.C: remove !NEW_INSETS cruft
16722
16723         * lyxtext.h: remove !NEW_INSETS cruft
16724
16725         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16726
16727         * lyxfunc.C: remove !NEW_INSETS cruft
16728
16729         * lyxfind.C: remove !NEW_INSETS cruft
16730
16731         * lyx_cb.C: remove !NEW_INSETS cruft
16732
16733         * figureForm.C: remove  !NEW_INSETS cruft
16734
16735         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16736
16737         * buffer.[Ch]: remove !NEW_INSETS cruft
16738
16739         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16740
16741         * CutAndPaste.C: remove !NEW_INSETS cruft
16742
16743         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16744
16745         * BufferView2.C: remove !NEW_INSETS cruft
16746
16747         * BufferView.h: remove !NEW_INSETS cruft
16748
16749 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16750
16751         * Lsstream.h: include LString.h before the sstream headers to
16752         fix problem with gcc 2.95.3 and lyxstring
16753
16754 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16755
16756         * lyx_main.C: add using directives when needed for C functions
16757         declared in std:: namespace.
16758
16759 2001-04-27  Juergen Vigna  <jug@sad.it>
16760
16761         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16762         (SetHeightOfRow): comment out the update call should not be needed!
16763
16764 2001-04-13  Juergen Vigna  <jug@sad.it>
16765
16766         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16767         (LyXTabular): tried to minimize operator= operations (and realized
16768         hopfully Lars wish).
16769
16770 2001-04-27  Juergen Vigna  <jug@sad.it>
16771
16772         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16773
16774 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16775
16776         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16777
16778         * buffer.C (readInset): hack to make listof algorithm work
16779
16780         * BufferView_pimpl.C: hack to make listof algorithm work
16781
16782 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16783
16784         * LyXAction.C: removed all !NEW_INSETS cruft
16785         (init): moved lfun_item in method
16786
16787         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16788
16789 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16790
16791         * BufferView2.C (theLockingInset): white space.
16792
16793 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16794
16795         * minibuffer.C: include <iostream>
16796
16797         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16798
16799         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16800
16801         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16802
16803         * text.[Ch] (TransposeChars): new method
16804
16805 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16806
16807         * call message directly through LyXView instead of through LyXFunc
16808         * BufferView2.C: adjust
16809         * BufferView_pimpl.C: adjust
16810         * FontLoader.C: adjust
16811         * buffer.C: adjust
16812         * bufferview_funcs.C: adjust
16813         * converter.C: adjust
16814         * figureForm.C: adjust
16815         * importer.C: adjust
16816         * lyx_cb.C: adjust
16817         * lyx_gui_misc.C: adjust
16818         * lyxfunc.C: adjust
16819         * lyxvc.C: adjust
16820         * text2.C: adjust
16821         + more files in subdirs
16822
16823         * lyxparagraph.h (size): move up int file
16824         (GetLayout): ditto
16825
16826         * adjust all uses of Assert to lyx::Assert.
16827
16828         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16829         lyxfunctional in namespace lyx
16830         * layout.C (hasLayout): ditto
16831         (GetLayout): ditto
16832         (GetLayout): ditto
16833         (delete_layout): ditto
16834         (NumberOfClass): ditto
16835         * converter.C (GetFormat): ditto
16836         (GetNumber): ditto
16837         (Add): ditto
16838         (Delete): ditto
16839         (SetViewer): ditto
16840         * bufferlist.C (getFileNames): ditto
16841         (emergencyWriteAll): ditto
16842         (exists): ditto
16843         (getBuffer): ditto
16844         * MenuBackend.C (hasSubmenu): ditto
16845         (hasMenu): ditto
16846         (getMenu): ditto
16847         * BufferView_pimpl.C (getInsetByCode): ditto
16848
16849 2001-04-18  Juergen Vigna  <jug@sad.it>
16850
16851         * vspace.C (asLatexString): fixed the 100% problem.
16852
16853 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16854
16855         * lyxfunc.C (Dispatch):
16856         * minibuffer.C:
16857         * minibuffer.h: add a few std:: qualifiers
16858
16859 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16860
16861         * minibuffer.[Ch]: reimplement so that commands is initiated and
16862         run from lyxfunc, simplified som handling, and made the completion
16863         and history code for complete. wip.
16864
16865         * lyxfunc.C (processKeySym): call message
16866         (miniDispatch): new temporary method
16867         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16868         (LFUN_MESSAGE): implement
16869         (LFUN_MESSAGE_PUSH): implement
16870         (LFUN_MESSAGE_POP): implement
16871         (initMiniBuffer): the initial/defualt minibuffer message.
16872
16873         * lyxfont.[Ch]: inline some more getters
16874
16875         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16876
16877         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16878
16879         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16880         (AutoSave): use LFUN_MESSAGE
16881         (Reconfigure): ditto
16882
16883         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16884
16885         * figureForm.C: use LFUN_MESSAGE
16886
16887         * converter.C (runLaTeX): use LFUN_MESSAGE
16888
16889         * bufferview_funcs.C: use LFUN_MESSAGE
16890         (Melt): ditto
16891         (changeDepth): ditto
16892
16893         * bufferparams.h: use boost::
16894
16895         * bufferlist.h: inherit privately from noncopyable
16896
16897         * bufferlist.C (loadLyXFile): remove some commented code.
16898
16899         * buffer.C (runChktex): use LFUN_MESSAGE
16900
16901         * ShareContainer.h: inherit privately from noncopyable
16902
16903         * ParagraphParameters.[hC] (depth): inline it.
16904
16905         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16906         methods.
16907         (message): new method
16908         (messagePush): ditto
16909         (messagePop): ditto
16910         (show): init minibuffer
16911         (showState): direct call
16912
16913         * LaTeX.[Ch]: inherit privately from noncopyable
16914         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16915         instead of WriteStatus.
16916
16917         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16918
16919         * BufferView_pimpl.C (buffer): don't init minibuffer
16920         (workAreaButtonPress): use LFUN_MESSAGE
16921         (workAreaButtonRelease): ditto
16922         (savePosition): ditto
16923         (restorePosition): ditto
16924         (MenuInsertLyXFile): ditto
16925         (workAreaExpose): don't init minibuffer
16926         (update): remove commented code, simplify
16927
16928         * BufferView2.C (openStuff): use LFUN_MESSAGE
16929         (toggleFloat): ditto
16930         (menuUndo): ditto
16931         (menuRedo): ditto
16932         (copyEnvironment): ditto
16933         (pasteEnvironment): ditto
16934         (copy): ditto
16935         (cut): ditto
16936         (paste): ditto
16937         (gotoInset): ditto
16938         (updateInset): remove some commented code
16939
16940         * lastfiles.h: inherit privately from noncopyable
16941         * layout.h: ditto
16942         * lyx_gui.h: ditto
16943         * lyx_main.h: ditto
16944         * lyxlex.h: ditto
16945         * lyxlex_pimpl.h: ditto
16946
16947         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16948         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16949         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16950
16951         * LyXAction.h: inherit privately from noncopyable, add methods
16952         func_begin, func_end, returning iterators to the func map.
16953
16954         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16955         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16956         (func_begin): new method
16957         (func_end): new method
16958
16959         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16960         and not)
16961         (copySelection): ditto
16962         (pasteSelection): ditto
16963
16964         * BufferView.C: whitespace change
16965         * BufferView.h: inherit privately from noncopyable
16966
16967 2001-04-16  Allan Rae  <rae@lyx.org>
16968
16969         * tabular-old.C (l_getline):
16970         * spellchecker.C (sc_check_word):
16971         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16972         an unrecognised preprocessor directive.  So ensure they're wrapped.
16973
16974 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16975
16976         * src/exporter.C (Export): Give an error message when path to file
16977         contains spaces.
16978
16979 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16980
16981         * LaTeX.C (deplog): Always check that foundfile exists.
16982
16983 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16984
16985         * lyx_main.h:
16986         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16987
16988 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16989
16990         * tabular.[Ch] (getLabelList): implement new method
16991
16992         * minibuffer.h: comment ouf setTiimer
16993
16994         * minibuffer.C (ExecutingCB): constify res
16995         (peek_event): constify s
16996         (Set): constify ntext
16997         (Init): constify nicename
16998
16999         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17000
17001         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17002         (savePosition): use two params to Minibuffer::Set
17003         (restorePosition): ditto
17004
17005 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17006
17007         * lyx_main.C: include language.h
17008
17009         * Makefile.am (lyx_main.o): add language.h
17010
17011 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17012
17013         * exporter.C:
17014         * paragraph.C:
17015         * screen.C:
17016         * tabular.C:
17017         * CutAndPaste.C: include gettext.h
17018
17019         * lyxfont.h: remove old hack with ON and OFF.
17020
17021         * lyxparagraph.h:
17022         * lyxfont.h: do not include language.h...
17023
17024         * BufferView2.C:
17025         * LaTeXFeatures.C:
17026         * Painter.C:
17027         * bufferview_funcs.C:
17028         * font.C:
17029         * lyxfont.C:
17030         * text.C:
17031         * text2.C:
17032         * trans_mgr.C:
17033         * paragraph.C: ... but do it here instead
17034
17035 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17036
17037         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17038
17039         * tabular.C: small reformat
17040
17041         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17042         NEW_INSETS version
17043         (GetChar): ditto
17044         (BreakParagraph): ditto
17045         (SetOnlyLayout): ditto
17046         (SetLayout): ditto
17047
17048         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17049         with one arg less.
17050
17051         * lastfiles.C: removed most using decl, add std:: where needed
17052
17053         * buffer.C: ws changes
17054
17055         * MenuBackend.C (class compare_format): put into anon namespace
17056         (expand): constify label, names, action, action2
17057         (expand):
17058
17059         * text.C (SingleWidth): constify font
17060         (IsBoundary): constify rtl2
17061         (GetVisibleRow): constify ww
17062
17063         * LaTeX.C (deplog): constify logfile
17064
17065         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17066         start_x, end_x
17067         (workAreaExpose): constify widthChange, heightChange
17068
17069         * lyxrow.C (par): moved
17070         (height): moved
17071         (next): moved
17072         * lyxrow.h: as inlines here
17073
17074         * lyxfont.h (shape): moved from lyxfont.C
17075         (emph): moved from lyxfont.C
17076
17077         * lyxfont.C (LyXFont): use initialization list for all
17078         constructors
17079         (shape): move to lyxfont.h as inline
17080         (emph): move to lyxfont.h as inline
17081
17082
17083 2001-04-04  Juergen Vigna  <jug@sad.it>
17084
17085         * vspace.C: had to include stdio.h for use of sscanf
17086
17087 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17088
17089         * BufferView.h:
17090         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17091         independent of xforms.
17092
17093 2001-04-02  Juergen Vigna  <jug@sad.it>
17094
17095         * spellchecker.C: fixed namespace placing!
17096
17097 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17098
17099         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17100         the LyXParagraph * is 0.
17101
17102 2001-03-29  Juergen Vigna  <jug@sad.it>
17103
17104         * vspace.C: added support for %, c%, p%, l%.
17105         (stringFromUnit): added helper function.
17106         (asLatexString): changed to give right results for the %-values.
17107
17108         * buffer.C: convert the widthp in a width%.
17109
17110 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17111
17112         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17113         figureForm.[Ch].
17114
17115         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17116         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17117
17118         * lyx_cb.[Ch]: see above.
17119
17120         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17121         form1.[Ch].
17122
17123         * form1.[Ch]:
17124         * lyx.[Ch]: replaced by figure_form.[Ch].
17125
17126         * lyx_gui.C:
17127         * lyx_gui_misc.C:
17128         * lyxfunc.C: changed headers associated with above changes.
17129
17130 2001-03-27  Juergen Vigna  <jug@sad.it>
17131
17132         * BufferView_pimpl.C: set the temporary cursor right!
17133
17134 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17135
17136         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17137
17138 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17139
17140         * LString.h: removed "using std::getline"!
17141
17142         * BufferView_pimpl.C (Dispatch): changes due to changes in
17143         InsetInclude::Params.
17144
17145         * buffer.C (tag_name): removed redundant break statements as they were
17146         producing lots of warnings with my compiler.
17147
17148 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * LString.h: add "using std::getline" when using the real <string>.
17151
17152 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17153
17154         * buffer.C: removed bitset usage.
17155         PAR_TAG moved to an anonymous name space.
17156         (tag_name): new funtion, also in the anonymous namespace.
17157         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17158         (makeDocBookFile): clean code. Completed transition from string arrays
17159         to string vectors.
17160         (SimpleDocBookOnePar): code clean.
17161
17162 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17163
17164         * tabular.C: add some comments.
17165
17166 2001-03-22  Juergen Vigna  <jug@sad.it>
17167
17168         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17169         compatibility read a bit and fixed bug with minipage in different
17170         depth.
17171
17172 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17173
17174         * buffer.C (pop_tag): removed.
17175         (push_tag): removed.
17176         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17177         array replaced with vector. Added support for CDATA sections.
17178         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17179         at any nest level.
17180         (makeDocBookFile): XML conformant declaration of CDATA section,
17181         fixed bug related to <emphasis> in the first paragraph char.
17182         (sgmlOpenTag): exclude empty tags.
17183         (sgmlCloseTag): ditto.
17184
17185         * buffer.h (pop_tag): removed.
17186         (push_tag): removed.
17187
17188 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17189
17190         * language.h (Languages): added size_type and size().
17191
17192 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17193
17194         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17195         response on compability reading of minipages. One probliem is that
17196         the old usage of minipages was «flertydig»
17197
17198         * several files here and in subdirs: don't use static at file
17199         scope use anon namespaces instead.
17200
17201 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17202
17203         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17204         LaTeX output. This is necessary for Literate document
17205         processing.
17206
17207 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17208
17209         * buffer.C: insert hfill when needed.
17210
17211         * tabular.C (l_getline): use string::erase, small whitespace change.
17212
17213         * BufferView_pimpl.C: try the anon namespace.
17214         * WorkArea.C: ditto
17215
17216 2001-03-16  Juergen Vigna  <jug@sad.it>
17217
17218         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17219         otherwise it won't open options-dialogs.
17220
17221         * buffer.C: honor pextraWidth(p) on converting minipages.
17222
17223         * tabular.C (l_getline): changed the functions to strip trailing \r.
17224
17225 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17226
17227         * BufferView_pimpl.C:
17228         * minibuffer..C: added "using SigC::slot" declaration.
17229
17230 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17231
17232         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17233
17234         * text2.C: ditto
17235
17236         * text.C: ditto
17237
17238         * paragraph.C: ditto
17239
17240         * lyxtext.h: NO_PEXTRA
17241
17242         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17243
17244         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17245         * ParameterStruct.h: ditto
17246         * ParagraphParameters.h: ditto
17247         * lyxparagraph.h: ditto
17248
17249 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17250
17251         * buffer.C: add compability for minipage alignment.
17252         (latexParagraphs): remove unwanted pextra check.
17253
17254         * several files: remove CXX_WORKING_NAMESPACES
17255
17256         * buffer.C (pop_tag): tie is in namespace boost
17257
17258         * BufferView.h: noncopyable is in namespace boost
17259         * lyxlex.h: ditto
17260         * lyx_main.h: ditto
17261         * lyx_gui.h: ditto
17262         * layout.h: ditto
17263         * lastfiles.h: ditto
17264         * bufferlist.h: ditto
17265         * ShareContainer.h: ditto
17266         * LyXView.h: ditto
17267         * LyXAction.h: ditto
17268         * LaTeX.h: ditto
17269
17270 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17271
17272         * Merging changes from BRANCH_MVC back into HEAD.
17273
17274         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17275
17276 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17277
17278         * BufferView_pimpl.C: change from intl.C
17279
17280         * combox.h:
17281         * combox.C:
17282         * Makefile.am: move combox.*
17283
17284         * form1.h:
17285         * form1.C:
17286         * lyx_gui.C:
17287         * intl.h:
17288         * intl.C: remove dialog (covered by prefs)
17289
17290 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17291
17292         * lyxfunc.C (Dispatch): removed redundant break statement.
17293
17294 2001-03-14  Juergen Vigna  <jug@sad.it>
17295
17296         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17297
17298 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17299
17300         * buffer.C: add hack to fix compability reading of minipages.
17301
17302 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17303
17304         * buffer.C (getLists): Cleanup.
17305
17306 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17307
17308         * lyxfont.C (update): don't honor toggleall on font size.
17309
17310 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17311
17312         * bmtable.c:
17313         * bmtable.h:
17314         * Makefile.am: moved to frontends/xforms/
17315
17316         * lyx_gui_misc.C:
17317         * lyxfunc.C:
17318         * BufferView_pimpl.C: changes for moved mathpanel
17319
17320 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17321
17322         * gettext.h: fix gettext_init() in --disable-nls
17323
17324 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17325
17326         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17327
17328 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17329
17330         * lyx.C:
17331         * lyx.h: strip external form
17332
17333 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17334
17335         * BufferView_pimpl.C: add comment, destroySplash()
17336
17337 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17338
17339         * BufferView_pimpl.C:
17340         * LyXAction.C:
17341         * buffer.C:
17342         * commandtags.h:
17343         * lyxfunc.C: use re-worked insetinclude
17344
17345 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17346
17347         * buffer.C: add using std::stringstream.
17348
17349         * lyx_cb.C: readd using std::ios.
17350
17351         * buffer.C: add using std::map.
17352
17353         * BufferView_pimpl.C: add using std::vector.
17354
17355         * ShareContainer.h: add std:: to swap.
17356
17357         * buffer.h: add some typedefs
17358         * buffer.C (getLists): use them
17359         (getLists): renamed from getTocList.
17360         add a counter for the different float types and use it in the
17361         generated string.
17362         (getLists): use the same counter for the NEW_INSETS and the "non"
17363         NEW_INSETS
17364
17365         * lyx_cb.h: remove unused items, includes, using etc.
17366
17367         * ShareContainer.h: remove some commented code, add more comments
17368         and "documentation".
17369
17370 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17371
17372         * buffer.C (getTocList): make the list also when NEW_INSETS is
17373         defined.
17374
17375         * buffer.h: remove TocType
17376
17377         * buffer.C (getTocList): change to return a map<string,
17378         vector<TocItem> >, implement for dynamic number of list.
17379
17380         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17381         * text2.C (PasteSelection): adjust
17382         * CutAndPaste.C (pasteSelection): adjust
17383
17384         * FloatList.C (FloatList): update from the new_insets branch.
17385         * Floating.[Ch]: ditto
17386         * LaTeXFeatures.C: ditto
17387         * buffer.C: ditto
17388         * lyxlex_pimpl.C: ditto
17389
17390         * paragraph.C (Last): remove when NEW_INSETS is defined.
17391
17392         * other file: changes because of the above.
17393
17394 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17395
17396         * lyxparagraph.h: rename next to next_, previous to previous_,
17397         make them private for NEW_INSETS. Rename Next() to next(),
17398         Previous() to previous().
17399
17400         * other files: changes because of the above.
17401
17402 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17403
17404         * BufferView.h:
17405         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17406         problem.
17407
17408 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17409
17410         * main.C (main): pass lyx_localedir to gettext_init().
17411
17412         * gettext.h: remove locale_init and gettext_init macros
17413
17414         * gettext.C (locale_init): new function
17415         (gettext_init): new function
17416
17417         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17418         setlocale().
17419
17420 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17421
17422         * Moved credits to frontends:
17423         * credits.[Ch]: removed
17424         * credits_form.[Ch]: removed
17425         * lyx_gui_misc.C: remove credits stuff
17426         * Makefile.am:
17427
17428 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17429
17430         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17431
17432         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17433         unneeded destructor.
17434
17435         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17436         a standalone pointer again.
17437
17438         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17439
17440 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17441
17442         * Makefile.am:
17443         * filedlg.h:
17444         * filedlg.C:
17445         * LyXAction.C:
17446         * ToolbarDefaults.C:
17447         * bufferlist.C:
17448         * commandtags.h:
17449         * form1.C:
17450         * form1.h:
17451         * lyx_cb.C:
17452         * lyx_cb.h:
17453         * lyxfunc.h:
17454         * lyxfunc.C:
17455         * BufferView_pimpl.C: use new file dialog in GUII
17456
17457         * lyx_cb.h:
17458         * lyx_cb.C: remove LayoutsCB to Toolbar
17459
17460 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17461
17462         * ShareContainer.h (get): add std:: qualifier
17463
17464 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17465
17466         * ShareContainer.h: define a proper ShareContainer::value_type
17467         type (and use typename to please compaq cxx)
17468
17469 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17470
17471         * lyxparagraph.h: move serveral local vars to
17472         ParameterStruct/ParagraphParameters., use ShareContainer in
17473         FontTable., make vars in FontTable private and add getter and
17474         setter.
17475
17476         * paragraph.C: changes because of the above.
17477
17478         * lyxfont.h: remove copy constructor and copy assignment. (the
17479         default ones is ok), move number inside FontBits. move inlines to
17480         lyxfont.C
17481
17482         * lyxfont.C: add number to initializaton of statics, move several
17483         inlines here. constify several local vars. some whitespace
17484         cleanup. Dont hide outerscope variables.
17485
17486         * Spacing.h: add two new constructors to match the set methods.
17487
17488         * ShareContainer.h: new file, will perhaps be moved to support
17489
17490         * ParameterStruct.h: new file
17491
17492         * ParagraphParameters.h: new file
17493
17494         * ParagraphParameters.C: new file
17495
17496         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17497         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17498
17499         * BufferView_pimpl.C: ParagraphParameter changes.
17500         * buffer.C: Likewise.
17501         * bufferview_funcs.C: Likewise.
17502         * text.C: Likewise.
17503         * text2.C: Likewise.
17504
17505 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17506
17507         * lyxfind.C (LyXReplace): do not redefine default argument in
17508         implementation.
17509         (IsStringInText): ditto
17510         (SearchForward): ditto
17511         (SearchBackward): ditto
17512
17513 2001-03-06  Juergen Vigna  <jug@sad.it>
17514
17515         * lyxfind.C (IsStringInText): put parentes around expressions.
17516
17517 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17518
17519         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17520
17521 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17522
17523         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17524
17525         * stl_string_fwd.h: add comment
17526
17527         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17528
17529         * tabular.h:
17530         * tabular.C: remove unused DocBook methods
17531
17532         * intl.C:
17533         * language.C:
17534         * paragraph.C:
17535         * buffer.C:
17536         killed DO_USE_DEFAULT_LANGUAGE
17537
17538 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17539
17540         * lyx_gui.C: do not include language.h.
17541
17542         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17543         arguments in function implementation.
17544
17545 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17546
17547         * BufferView_pimpl.C: add <ctime>
17548
17549 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17550
17551         * BufferView_pimpl.C: add using std::find_if
17552
17553 2001-02-27  José Matos  <jamatos@fep.up.pt>
17554
17555         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17556         by OnlyPath.
17557
17558 2001-02-11  José Matos  <jamatos@fep.up.pt>
17559
17560         * buffer.C (makeDocBookFile): command styles now have a parameter as
17561         "title" by default.
17562
17563 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17564
17565         * layout_forms.[Ch]: removed
17566         * lyx_cb.[Ch]: out character
17567         * lyx_gui.C: out character
17568         * lyx_gui_misc.C: out character
17569         * bufferview_funcs.C: : out character,
17570         added toggleall as parameter in ToggleAndShow
17571
17572 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17573
17574         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17575
17576         * text2.C (SetCurrentFont): Disable number property at boundary.
17577
17578 2001-02-26  Juergen Vigna  <jug@sad.it>
17579
17580         * lyxfunc.C (getStatus): added a string argument override function so
17581         that this is correctly called from LyXFunc::Dispatch if it contains a
17582         do_not_use_argument which is used!
17583         (Dispatch): added check for "custom" export and call appropriate func.
17584
17585 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17586
17587         * lyxrc.C: Add language_command_local, language_use_babel and
17588         language_global_options.
17589
17590         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17591
17592         * buffer.C (makeLaTeXFile): Use language_use_babel and
17593         language_global_options.
17594
17595 2001-02-23  Juergen Vigna  <jug@sad.it>
17596
17597         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17598         which works with LyXText and putted it inside BufferView. Here now we
17599         only call for that part the BufferView::Dispatch() function.
17600
17601         * BufferView.C (Dispatch): added.
17602
17603         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17604         functions which needs to use a LyXText over from LyXFunc.
17605         (MenuInsertLyXFile): added
17606         (getInsetByCode): added
17607         (moveCursorUpdate): added
17608         (static TEXT): added
17609
17610 2001-02-22  Juergen Vigna  <jug@sad.it>
17611
17612         * BufferView_pimpl.C (update): call a status update to see if LyXText
17613         needs it.
17614
17615 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17616
17617         * vc-backend.C (revert): implement for CVS
17618         (getLog): implement for CVS
17619
17620 2001-02-20  Juergen Vigna  <jug@sad.it>
17621
17622         * text2.C (ClearSelection): added BufferView param for inset_owner call
17623
17624         * lyxfunc.C (TEXT): added this function and use it instead of
17625         directly owner->view()-text of getLyXText().
17626
17627 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17628
17629         * src/layout_forms.C: out preamble
17630         * src/layout_forms.h: out preamble
17631         * src/lyx_cb.C: out preamble
17632         * src/lyx_cb.h: out preamble
17633         * src/lyx_gui.C: out preamble
17634         * src/lyx_gui_misc.C: out preamble
17635         * src/lyxfunc.C: connect with guii preamble
17636
17637 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17638
17639         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17640
17641 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17642
17643         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17644         whether to run bibtex.
17645
17646 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17647
17648         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17649
17650 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17651
17652         * Makefile.am (lyx_SOURCES): removed bibforms.h
17653
17654         * vspace.h: doxygen
17655
17656         * text.C (GetVisibleRow): make several local vars const
17657
17658         * tabular.C: small cleanup.
17659
17660         * lyxserver.C (callback): use compare instead of strncmp
17661
17662         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17663         inlines to after class or to paragraph.C
17664
17665         * lyxfont.h: remove friend operator!=
17666
17667         * converter.h: move friend bool operator< to non friend and after
17668         class def.
17669
17670         * combox.h: small cleanup
17671
17672         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17673         to inlines after class def.
17674
17675         * buffer.C (pop_tag): use string operations instead of strcmp
17676
17677         * bmtable.c: doxygen, small cleanup
17678
17679         * LaTeX.h: remove friend operator==
17680
17681 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17682
17683         * screen.C:
17684         * lyxrc.[Ch]:
17685         * lyxfunc.C:
17686         * lyxfont.[Ch]:
17687         * lyx_cb.C:
17688         * intl.[Ch]:
17689         * commandtags.h:
17690         * buffer.C:
17691         * WorkArea.[Ch]:
17692         * LyXAction.C:
17693         * BufferView_pimpl.C:
17694         * BufferView.[Ch]: remove cruft
17695
17696 2001-02-14  Juergen Vigna  <jug@sad.it>
17697
17698         * lyxfunc.C: removed #if 0 unused code
17699
17700         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17701
17702         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17703
17704         * text2.C (SetSelection): added a BufferView * parameter
17705
17706 2001-02-13  Juergen Vigna  <jug@sad.it>
17707
17708         * lyxfunc.C (Dispatch): fixed protected blank problem.
17709         * BufferView2.C (protectedBlank): added LyxText * parameter.
17710
17711         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17712         (AppendColumn): same as above for column_info.
17713
17714         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17715         (moveCursorUpdate): use a LyXText param for support of InsetText.
17716
17717         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17718         (tripleClick): ditto
17719
17720         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17721
17722         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17723
17724         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17725
17726         * text2.C (SetSelection): set correct update status if inset_owner
17727         (ToggleFree): ditto
17728
17729 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17730
17731         * tabular.C: remove some commented code.
17732
17733 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17734
17735         * BufferView_pimpl.C: call hideSplash()
17736
17737         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17738
17739         * include_form.h:
17740         * bibforms.h: remove
17741
17742         * lyxfunc.C:
17743         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17744           add LFUN_CHILD_CREATE
17745
17746         * counters.h: fix tiny typo
17747
17748         * lyx_cb.C:
17749         * lyx.h:
17750         * lyx_gui.C:
17751         * lyx.C: move splash to frontends/xforms/
17752
17753         * lyx_gui_misc.C: move Include and Bibform to frontends
17754
17755         * lyxvc.h: clarify comment
17756
17757         * vspace.C: tiny housekeeping
17758
17759 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17760
17761         * text.C (PrepareToPrint): RTL Fix.
17762
17763         * paragraph.C (GetUChar): New method.
17764         (String):  Use GetUChar.
17765
17766         * buffer.C (asciiParagraph): Use GetUChar.
17767
17768 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17769
17770         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17771
17772 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17773
17774         * buffer.h:
17775         * buffer.C: rename to getLogName(), handle
17776           build log / latex log nicely
17777
17778 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17779
17780         * MenuBackend.C:
17781         * MenuBackend.h: remove support for reference menuitem type.
17782
17783 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17784
17785         * BufferView_pimpl.C: housekeeping
17786         * BufferView_pimpl.h:
17787         * LyXView.h:
17788         * Makefile.am:
17789         * Timeout.C:
17790         * Timeout.h:
17791         * minibuffer.h: move Timeout GUI-I
17792
17793 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17794
17795         * lyxrc.C (read): Update converters data-structures.
17796
17797 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17798
17799         * LaTeX.h (operator!=): add operator != for Aux_Info
17800
17801 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17802
17803         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17804
17805         * LaTeXLog.C: deleted, useful code moved to Buffer
17806
17807         * buffer.h:
17808         * buffer.C: new function getLatexLogName()
17809
17810         * lyx_gui_misc.C:
17811         * lyx_gui.C:
17812         * lyxvc.C:
17813         * lyxvc.h:
17814         * lyxfunc.C: use frontends for LaTeX and VC logs
17815
17816 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17817
17818         * LaTeX.h: yet another std:: that Allan forgot.
17819
17820         * Variables.C (set): renamed from isset(), because this clashes
17821         with some HP-UX macros (grr).
17822
17823 2001-02-06  Allan Rae  <rae@lyx.org>
17824
17825         * LaTeX.h: Another bug fix.  Missing std:: this time.
17826
17827 2001-02-04  Allan Rae  <rae@lyx.org>
17828
17829         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17830         floats problem. I've left it commented out because it's not quite
17831         correct.  It should also test that the current object is a table or
17832         figure inset.  But I haven't gotten around to figuring out how to do
17833         that.  I *think* it'll be something like: "table" == inset.type()
17834
17835         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17836         bool.
17837
17838 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17839
17840         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17841         all the citation/databases/styles in the auxilary file.
17842         (run): Rerun latex if there was a babel language error.
17843
17844 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17845
17846         * text.C (Backspace): Preserve the font when changing newline char
17847         with a space.
17848         (BreakParagraph): If the cursor is before a space, delete the space.
17849
17850         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17851
17852 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17853
17854         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17855         new argument (code).
17856         (ChangeCitationsIfUnique): New method.
17857
17858         * paragraph.C (GetPositionOfInset): Handle bibkey.
17859
17860 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17861
17862         * BufferView_pimpl.h: change type of Position::par_pos to
17863         LyXParagraph::size_type.
17864
17865 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17866
17867         * BufferView_pimpl.C (savePosition, restorePosition): Write
17868         messages to minibuffer.
17869
17870 2001-01-28  José Matos  <jamatos@fep.up.pt>
17871
17872         * buffer.C (makeDocBookFile): adds support for document language.
17873         A silly restriction on the name of LatexCommand types where removed.
17874         Added support for CDATA sections, allows to chars unescaped, used
17875         among others in code, to avoid escape < and >.
17876
17877 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17878
17879         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17880         saved positions instrad of a stack. Furthermore, a position is
17881         stored using paragraph id/paragraph position.
17882
17883         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17884         Remove LFUN_REF_BACK.
17885
17886 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17887
17888         * converter.C (dvipdfm_options): New method.
17889
17890 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17891
17892         * vspace.C (isValidLength): Fix for empty input string.
17893
17894 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17895
17896         * LyXAction.C (init): change description of LFUN_FIGURE to
17897         "Insert Graphics"
17898
17899 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17900
17901         * LaTeX.C: add using directive
17902
17903 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17904
17905         * MenuBackend.C (expand): Fix the sorting of the formats.
17906
17907 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17908
17909         * lyx_main.C: tiny error message fix
17910
17911 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17912
17913         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17914         calling fl_initialize(). This fixes the problem with ',' as
17915         decimal separator in text files.
17916
17917 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17918
17919         * trans.C (process): Fix the keymap bug.
17920
17921 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17922
17923         * LaTeX.C (scanAuxFiles): New method. Provides support for
17924         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17925         (scanLogFile) Scan for "run BibTeX" messages.
17926
17927         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17928         OT1 font encoding. Also, load the aecompl package if the ae
17929         package is loaded.
17930
17931         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17932
17933 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17934
17935         * texrow.C (increasePos): turn two error messages into debug
17936         messages.
17937
17938 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17939
17940         * LaTeX.C (scanAux): Handle the \@input macro.
17941         (runBibTeX): Use scanAux().
17942
17943         * language.C (latex_options_): New field.
17944
17945         * LaTeXFeatures.C (getMacros): Add language macros.
17946
17947         * buffer.C (makeLaTeXFile): Small fix.
17948
17949 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17950
17951         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17952
17953         * text2.C: add a using directive.
17954
17955 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17956
17957         * BufferView2.C:
17958         * lyx_gui_misc.h:
17959         * lyxfr1.C:
17960         * lyxfunc.C: kill LyXBell.
17961
17962 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17963
17964         * text.C (IsBoundary): Remove the error message
17965
17966         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17967
17968         * lyxrc.C (setDefaults): Correct initialization value for
17969         font_norm_type.
17970
17971 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17972
17973         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17974         gotoError().
17975
17976         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17977         and GotoNextNote().
17978
17979         * src/LyXAction.C: Added reference-next.
17980
17981         * text.C (InsertChar): Use contains instead of strchr.
17982
17983         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17984
17985 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17986
17987         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17988         alignment commands (when needed).
17989
17990         * text.C (InsertChar): Add ':' to number separator chars.