]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
add boldsymbol to Qt math panel
[lyx.git] / src / ChangeLog
1 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * cursor_slice.h, dociterator.h: add some documentation
4         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
5
6 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * text.C (leftMargin): do not add identation to display() style
9         insets, because they are always centered (bug 1293).
10
11 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12
13         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
14         formatted_time methods in support/lyxtime.
15
16 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
17
18         * toc.[Ch]: new method getGuiName, which is used by the frontends 
19         to set the toc combo (fixes bug 1870). Make TOC string translatable.
20
21 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
22
23         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
24         StableDocIterator const &)
25         * undo.C (recordUndo): use the above instead of cell.size() comparison
26         (fixes bug 1808; instructed by André).
27
28 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * cursor_slice.h: 
31         * dociterator.h: Fix the assert when copying rows/cols in math
32
33 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * BufferView_pimpl.C:
36         * LyXAction.C:
37         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
38
39         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
40         (findInset): new functions, refactored from goto Inset that return 
41         the position of a certain inset without setting the buffer's cursor
42         (by Jean-Marc); 
43         (gotoInset): rewrite to call findInset and then set the cursor
44         (by Jean-Marc).
45
46 2005-06-16  Angus Leeming  <leeming@lyx.org>
47
48         * lyxrc.C (output, read): wrap all input and output of paths with
49         calls to os::internal_path and os::external_path, respectively.
50         (output): wrap bind_file inside quotes.
51
52         * format.C (view): enable the viewer to use the '$$s' placeholder.
53
54 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
55
56         * LColor.[Ch] (getFromLaTeXName): new
57
58 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
61
62 2005-06-14  Angus Leeming  <leeming@lyx.org>
63
64         * lyx_main.C (init): ensure that the LyX binary dir is the first
65         element in the PATH on non-POSIX builds.
66
67 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
70
71 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * rowpainter.C (paintInset, paintHebrewComposeChar)
74         (paintArabicComposeChar, paintChars): add a LyXFont argument.
75         (paintChars): use getFontSpan to reduce calls to getFont to a
76         minimum; use Paragraph::lookupChange instead of isXXXText.
77         (paintForeignMark): rename LyXFont argument.
78         (paintFromPos): pass a LyXFont object to the various paintXXX
79         methods.
80
81         * FontIterator.C (FontIterator, operator++): use
82         Paragraph::getFontSpan
83
84         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
85         version that returns the font span as a pair.
86
87 2005-06-09  Angus Leeming  <leeming@lyx.org>
88
89         * converter.C (convert): Don't forget "outfile = real_outfile" as
90         the final step in a conversion where the input and output file names
91         are the same. Otherwise, future conversion steps won't work...
92
93 2005-06-09  Angus Leeming  <leeming@lyx.org>
94
95         * lyxsocket.C: remove stub code as it isn't needed by
96         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
97
98 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
99
100         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
101         effectively disabled -x
102
103 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
106         when it actually makes sense.
107
108 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * BufferView_pimpl.C: revert to showCursor in connection with
111         Lars's front-end stack
112
113 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * text.C (redoParagraph): move cursor right after a bibitem
116         has been inserted.
117
118         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
119
120 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * buffer_funcs.C (bufferErrors): fix computation of the end of an
123         error range.
124
125 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
126
127         * BufferView.[Ch] (update):
128         * BufferView_pimpl.[Ch] (update, metrics):
129         * dimension.h (operator==):
130         * lyxfunc.C (dispatch):
131         * metricsinfo.h (ViewMetricsInfo):
132         * rowpainter.C (paintText):
133         * lyxtext.h:
134         * text.C (redoParagraph):
135         * text3.C (dispatch): Make LyX only repaint current paragraph in
136         case of character insert --> speedup. Also fix cursor draw
137         artifacts
138
139 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
142         avoid a crash (bug 1891)
143
144 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         Fix bug 1892:
147
148         * text2.C (getStringToIndex): constify cur argument.
149
150         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
151         argument has been given
152         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
153         try to invoke LFUN_INSET_APPLY).
154
155         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
156         if no inset was created by doInsertInset
157         (doInsertInset): return true if an inset has been inserted.
158
159 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * vspace.C (asGUIName): new method. A version of the space
162         suitable for showing on screen.
163
164 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
165
166         * MenuBackend.C:
167         * lyxrc.C: rename "ASCII" to "Plain Text"
168
169 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * buffer_funcs.C (expandLabel): take a Buffer as argument;
172         translate the labelstring.
173         (setCounter): translate labelstring as needed.
174
175         * output_docbook.C (makeCommand): fix expandLabel invokation
176
177 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
178
179         * BufferView.C: fix dialog title
180
181 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
182
183         * lyx_main.C (priv_exec): fix logic error with help from Angus
184         * lyx_main.C (parse_execute): set is_gui = false and remove now
185         obsolete comment about a segfault
186
187 2005-05-18  Angus Leeming  <leeming@lyx.org>
188
189         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
190
191 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
192
193         * tabular.[hC]: added setCellInset to fix tabular paste.
194
195 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
196
197         * buffer.C (save): check if destination is writable before trying
198         to copy a file
199
200 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
201
202         * BufferView_pimpl.C (update): fix processEvents -caused update
203         recursion bug
204
205 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * buffer_funcs.C (setCounter): fix test for numbering of
208         environments.
209
210         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
211         depth correctly; use optional argument when it exists
212
213         * lyxtextclass.C: remove unused MaxCounterTags enum
214         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
215         (max_toclevel, min_toclevel): new methods.
216
217         * MenuBackend.C (expandToc2): fix case where depth is smaller than
218         the smallest depth in toc.
219
220         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
221         layouts that should not appear in a table of contents.
222
223 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
224
225         * cursor.h (undispatched, noUpdate): add comments from André
226
227 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
228
229         * lfuns.h:
230         * LyXAction.C:
231         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
232
233 2005-05-07  André Pönitz  <poenitz@gmx.net>
234
235         * cursor.[Ch] (leaveInset): new function
236
237 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
238
239         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
240
241 2005-05-04  Angus Leeming  <leeming@lyx.org>
242
243         * lyxfunc.C (getStatus): disable the spell checker dialog if
244         none of USE_[AIP]SPELL are defined.
245
246 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
247
248         * tabular.C (setWidthOfCell): remove obsolete comment
249
250 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * paragraph.C (bibitem):
253         * buffer_funcs.C (setCounter):
254         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
255
256 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
257
258         * text3.C (getStatus): immediately return after setOnOff
259
260         * rowpainter.C: fix drawing of appendix start
261
262 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
263
264         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
265         SwitchBetweenClasses and remove the unused return value.
266         Handle character styles, too
267
268 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
269
270         * factory.C (createInset): handle undefined character styles
271
272 2005-05-02  Angus Leeming  <leeming@lyx.org>
273
274         * buffer.C: protect the #include of utime.h with a preprocessor
275         guard.
276
277 2005-05-02  Angus Leeming  <leeming@lyx.org>
278
279         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
280         function so that auto-saving works, albeit in a blocking manner.
281
282         * Makefile.am: make compilation of the client sub directory, of
283         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
284         on conditionals set at configure time.
285
286         * SpellBase.[Ch]: no longer an abstract base class. Instead,
287         it can be compiled in its own right but has no-op functionality.
288
289         * aspell.C, pspell.C: remove preprocessor guards. The files should
290         be compiled only if the necessary functionality exists.
291
292         * lyxserver.C, lyxsocket.C: disable on Windows.
293
294 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * text.C (leftMargin): Fix the parindent use bug (1764)
297         by dirty trick
298
299 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
300
301         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
302         argument.
303
304 2005-04-25  Angus Leeming  <leeming@lyx.org>
305
306         * Bidi.[Ch]:
307         * coordcache.[Ch]:
308         * ispell.C:
309         * lyxserver.C:
310         * mover.C:
311         * pch.h:
312         include <config.h> in .C files, not .h ones.
313         add licence blurb.
314         protect headers inside preprocessor guards.
315
316 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
317
318         * FuncStatus.h (StatusCodes): document
319
320 2005-04-21  André Pönitz  <poenitz@gmx.net>
321
322         * FuncStatus.h (enabled, onoff): document
323
324 2005-04-19  Angus Leeming  <leeming@lyx.org>
325
326         * BufferView_pimpl.C (cursorToggle): no longer test whether
327         any child processes have been reaped before calling
328         handleCompletedProcesses().
329
330 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
331
332         * text3.C (dispatch): fix, finally fix, the language problem in
333         new lyxtexts, without disabling on-the-fly font changes (Helge's
334         bug report)
335
336 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
337
338         * text3.C (dispatch): set cursor on double/triple click events
339         (bug 1811)
340
341 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
344         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
345
346         * rowpainter.C (paintFirst): simplify the code a little bit. In
347         particular, remove the test for secnumdepth.
348         * text.C (setHeightOfRow): only allocate space for chapter number
349         when updateCounters provided an actual label, instead of looking
350         at secnumdepth directly.
351
352         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
353
354         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
355         paragraphs when secnumdepth is large enough or, for environments,
356         when they are not the first in a sequence.
357
358 2005-04-17  Angus Leeming  <leeming@lyx.org>
359
360         * buffer.C (makeLaTeXFile): replace code to manipulate a path
361         containing space and '~' characters with a call to latex_path().
362
363 2005-04-17  Angus Leeming  <leeming@lyx.org>
364
365         * converter.C (convert): protect all args of convertDefault.sh
366         script with quotes.
367
368 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * text3.C (dispatch): change the layout to "Caption" after inserting
371         a float.
372
373 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
374
375         * text3.C (dispatch): fix language problem in newly created
376         textinsets (and main text) in non-english docs
377
378 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
379
380         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
381         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
382         * text3.C (getStatus): disable LFUN_INSET_MODIFY
383
384 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
385
386         * lyxtext.h:
387         * text.C (metrics):
388         * text2.C (getFont):
389         * rowpainter.C (getFont): Fix metrics bug introduced by inset
390         fonts fix
391
392 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
393
394         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
395         output of \item arguments without trailing text.
396
397 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * FontIterator.C (operator*): avoid a copy of the font.
400
401 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
402
403         * rowpainter.C (getFont): fix language bug from previous fix
404
405 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * rowpainter.C (RowPainter, getFont): fix font inside inset
408         (bugs 1766, 1809)
409
410 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
411
412         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
413         preventing inserted font, deco, delim insets jumping to start of
414         surrounding inset.
415
416 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
417
418         * lyxfunc.C (dispatch): translate message before sending it to the
419         minibuffer.
420
421 2005-03-29  Angus Leeming  <leeming@lyx.org>
422
423         * lyx_main.C (priv_exec): call os::internal_path on each file passed
424         to LyX on the command line.
425
426 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
427
428         * vc-backend.C: use QuoteName to protect file names wherever
429         necessary.
430
431 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
432
433         * buffer.[Ch]:
434         * BranchList.h: fix bugs 1844,1845: document settings don't
435         stick
436
437 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * lyxrc.C (setDefaults, read, output, getDescription): add support
440         for tex_allows_spaces.
441
442         * exporter.C (Export): allows files in directory containing spaces
443         if tex_allows_spaces is true.
444
445         * buffer.C (makeLaTeXFile): if the document path contains spaces,
446         output it in double quotes.
447
448 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
449
450         * rowpainter.C: use default text height for drawing change tracker
451         strikeout lines.
452
453 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
454
455         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
456
457 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
460         directory is missing.
461
462 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
463
464         * text2.C: fixed the fix, extended to other case.
465
466 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
467
468         * text2.C: fix for cursor up/down stuck in math [bug 1792]
469
470 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
471
472         * text2.C (cursorUp): get rid of a crash
473         * text.C (x2pos): add an assert
474
475 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * lyxfunc.C (getStatus): fix warning when assertions are disabled
478
479         * text3.C:
480         * lyxfunc.C:
481         * dociterator.C: include <boost/current_function.hpp>, which is
482         needed when assertions are disabled.
483
484 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
485
486         * text2.C: fix for stuck cursor when traversing two
487         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
488
489 2005-02-25  Andreas Vox  <avox@arcor.de>
490
491         * output_docbook.C (makeParagraph): suppress trailing newline
492         after a run of paragraphs
493
494 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
495
496         * paragraph.C: fix for confused change tracker when pasting
497         text that begins with a lineseparator. [bug 1827]
498         (setChange(0, Change::INSERTED);)
499
500         * paragraph_funcs.C: fix for lost changes on triple-paste
501         in change tracking mode [bug 1827] (par.setChange()).
502
503 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * text2.C (updateCounters, setCounter, expandLabel): move to
506         buffer_funcs.
507
508         * buffer_funcs.C (updateCounters): turn into a free standing
509         function and add a buffer parameter. Remove dead code for tracking
510         labelstring change.
511         (setCounter): change into a free-standing function which gets a
512         dociterator as argument. Use this iterator to fix captions in a
513         simple way. When no float is found above the caption, use the
514         labelstring of the caption layout as default.
515
516         * text.C (breakParagraph, backspace):
517         * text2.C (init, setLayout, changeDepth):
518         * text3.C (dispatch):
519         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
520         updateCounters.
521
522         * dociterator.C (forwardPar): make it much faster by calling
523         forwardPos() only when really necessary.
524
525         * output_docbook.C (makeCommand): adapt to expandLabel move.
526
527         * cursor.C: remove unused variable
528
529 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
530
531         * paragraph_funcs.C: fix crash when pasting insets in change
532         tracking mode [bug 1277] (honour change type in moveItem).
533
534 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
535
536         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
537
538 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * BufferView.C (setCursor): change to use a DocIterator.
541         (gotoLabel): use BufferView::setCursor (other part of bug 781).
542         (putSelectionAt): adapt to BufferView::setCursor change.
543
544         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
545         moved here from LyXText and rewritten to use proper cursor
546         methods. Fixes bug 1787, 616 and 835.
547
548         * BufferView_pimpl.C (restorePosition): set the cursor correctly
549         when inside an inset (part of bug 781).
550         (dispatch): adapt to change of BufferView::setCursor.
551         (getStatus, dispatch): handle LFUN_GOTOERROR,
552         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
553
554         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
555         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
556         * text3.C (gotoNextInset, gotoInset): removed.
557
558 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
561
562 2005-02-15  Angus Leeming  <leeming@lyx.org>
563
564         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
565         can be used meaningfully in a comparison.
566
567 2005-02-13  André Pönitz  <poenitz@gmx.net>
568
569         * bufferview_funcs.C (coordOffset): improve cursor drawing
570
571 2005-02-13  André Pönitz  <poenitz@gmx.net>
572
573         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
574         * Cursor.C (dispatch): use fixIfBroken
575         * lyxfunc.C (getStatus): use fixIfBroken
576
577 2005-02-15  Angus Leeming  <leeming@lyx.org>
578
579         * lyx_main.C (error_handler):
580         * lyxfunc.C:
581         * lyxrc.C (setDefaults):
582         s/GetEnv/getEnv/.
583         #include "environment.h".
584
585         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
586
587 2005-02-15  Angus Leeming  <leeming@lyx.org>
588
589         * lyxserver.C (startPipe): squash MSVC warning "local variable
590         'fd' used without having been initialized".
591
592 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
593
594         * BufferView_pimpl.C: revert accidental commit.
595
596 2005-02-14  André Pönitz  <poenitz@gmx.net>
597
598         * dociterator.[Ch]: new member forwardPosNoDescent(),
599         which doesn't enter nested insets.
600         * text2.C (setFont): use forwardPosNoDescent() instead
601         of ForwardPos() (fixes crash on font change).
602
603 2005-02-13  Angus Leeming  <leeming@lyx.org>
604
605         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
606         only if lyxrc.path_prefix is not empty.
607
608 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
609
610         * bufferparams.C (readGraphicsDriver): prevent crash
611
612 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
613
614         * text2.C (setCounter): check for inInset() == 0
615
616 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617
618         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
619         but use update() to get correct screen display; use convert
620         instead of istringstream.
621         (getStatus): handle LFUN_GOTO_PARAGRAPH
622
623         * lyxfunc.C (dispatch, getStatus): do not handle
624         LFUN_GOTO_PARAGRAPH here.
625
626 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
627
628         * text3.C (dispatch): size() -> depth()
629
630         * text2.C: remove some debug output
631
632         * paragraph.C: ws changes only
633
634         * lyxfunc.C (getStatus): size() -> depth()
635
636         * dociterator.h (clear, push_back, pop_back, internalData,
637         operator[], resize, empty): new functions
638         Make StableDocIterator and operator== be friends. Don't inherit
639         from std::vector use a privat class variable slices_ instead.
640         Modify to fit.
641
642         * dociterator.C: update because of not inheriting from std::vector
643         anymore. Call explictly to slices_ instead. Use depth() instead of
644         size() and top() instead of back()
645
646         * cursor.C: chagne size() -> depth and back() -> top(). Also
647         remove some direct operator[](i) calls in favour of foo[i]
648         (getFont): remove some dead code
649
650         * bufferview_funcs.C (coordOffset): size() -> depth()
651
652         * buffer.C: ws changes only
653
654         * CutAndPaste.C (eraseSelection): back() -> top()
655
656         * BufferView_pimpl.C (selectionRequested): back() -> top()
657
658         * BufferView.C (setCursor): size() -> depth()
659
660 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
661
662         * text3.C (cursorPrevious): return true if depm changed something
663         (cursorNext): ditto
664         (dispatch): rename sl to oldTopSlice, remove moving use the new
665         NoUpdate func attrib instead. Make sure that needsUpdate is set
666         for function that have NoUpdate, but where depm might have changed
667         the buffer anyway.
668
669         * text2.C (cursorLeft): make us return true if depm changed
670         something
671         (cursorRight): ditto
672         (cursorUpParagraph): ditto
673         (curosrDownParagraph): ditto
674         (cursorUp, cursorDown): ditto, make sure to read comments in code
675         (deleteEmptyParagraphMechanism): remove an assert, also return
676         true if just a single char was deleted.
677
678         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
679         cursor that we modify, to avoid modifying an active cursor before
680         we call setCursor. This allows depm to run. Also return true if
681         depm deleted something.
682
683         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
684         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
685         cursorDownParagraph, cursorPrevious and cursorNext, return true if
686         something was changed in the buffer because of them (ie. depm run)
687
688         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
689         debug messages. Make update by default be false. Make sure that
690         the result of update is retained throught several calls down to
691         dispatch.
692
693         * LyXAction.h: add a new func_attrib: NoUpdate
694
695         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
696         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
697         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
698         and LFUN_WORDLEFT
699         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
700
701 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
704         bv_->owner(), bv_->buffer() by direct references to the private
705         members.
706         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
707         (getStatus): isSavedPosition() is in BufferView::Pimpl.
708         (fitCursor): center() is in BufferView::Pimpl.
709         (getStatus, trackChanges, dispatch): no need for a temporary buf
710         variable
711         (fitCursor, workAreaDispatch): use workarea().workheight()
712
713 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
714
715         * CutAndPaste.C (pasteSelectionHelper): fix a crash
716
717 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
718
719         * buffer.C: format up to 241.
720         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
721         break if pasting into ERT
722         * lyxfunc.C (getStatus): suppress mathpanel and
723         LFUN_DIALOG_SHOW_NEW_INSET in ERT
724
725 2005-02-01  Angus Leeming  <leeming@lyx.org>
726
727         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
728
729 2005-02-01  Angus Leeming  <leeming@lyx.org>
730
731         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
732         calling fs::is_directory().
733
734 2005-01-31  Angus Leeming  <leeming@lyx.org>
735
736         * lyx_main.C (priv_exec): specify explicitly the relative location
737         of the top level build directory when run in-place.
738
739 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
740
741         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
742         LyXText containing the cursor, not the top-level one.
743
744         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
745         true.
746         (insertStringAsLines): rename par to pit; use temporary variable
747         par to hold a Paragraph; do not store par.layout() in a variable,
748         since the pointer may die when breaking paragraphs; pass pars to
749         breakParagraph() instead of Buffer::paragraphs().
750
751 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
752
753         * lyxlex_pimpl.h: #include <fstream>.
754
755         * BufferView.[Ch] (getLyXText): add a const version.
756
757         * BufferView_pimpl.C: add debug aids.
758
759         * RowList_fwd.h:
760         * buffer.h:
761         * lyxrow.h:
762         * paragraph_funcs.h: add commentary explaining what the class does.
763
764
765         * coordcache.[Ch]: add lots of commentary.
766         (startUpdating, doneUpdating): debug aids.
767         (arrays, insets, parPos, getParPos): accessors to private data.
768
769         * cursor_slice.[Ch] (text): add a const version.
770         * dociterator.[Ch] (text, innerText): add const versions.
771
772         * lyxtext.h (breakParagraph): change the keep_layout arg to a
773         bool.
774
775         * paragraph.C (getRow, pos2ros): add asserts.
776
777         * paragraph.h: add commentary. Lots of.
778
779         * paragraph.[Ch] (metrucs, draw): removed.
780
781         * cursor.C:
782         * rowpainter.[Ch]: const-correct changes.
783
784         * text.C: various obvious clean-ups. Removal of ancient cruft.
785         Bug fixes, even.
786
787 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
788
789         * vc-backend.C (find_file): rewrite to use boost.filesystem
790         (scanMaster): ditto
791
792         * main.C (main): set default name check for boost.filesystem to
793         no check
794
795         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
796         (open): ditto
797         (doImport): ditto
798         (actOnUpdatedPrefs): ditto
799
800         * lyx_main.C (init): rewrite to use boost.filesystem
801         (queryUserLyXDir): ditto
802
803         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
804         (getContentsOfAsciiFile): ditto
805
806         * lastfiles.C (readFile): rewrite to use boost.filesystem
807
808         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
809
810         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
811         (loadLyXFile): ditto
812
813         * buffer.C (Buffer): adjust for destroydir
814         (getLogName): rewrite to use boost.filesystem
815         (setFileName): ditto
816         (save): use fs::copy_file (from fs_extras)
817
818         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
819
820         * LaTeX.C (run): rewrite to use boost.filesystem
821         (scanAuxFiles): ditto
822         (handleFoundFile): ditto
823
824 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
825
826         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
827
828         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
829
830 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
831
832         * lyxlayout.[Ch]: change some vars from float to double
833
834         * buffer.C (readFile): make a local var const
835
836         * Several files: use convert<> instead of atoi,strToXXX and friends
837
838 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
839
840         * LaTeXFeatures.[Ch]: Add a static list packages_ that
841         holds the contents of packages.lst. New functions getAvailable
842         and isAvailable to parse and check that list, resp.
843
844         * LyXAction.C:
845         * lfuns.h:
846         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
847
848         * bufferparams.[Ch]: new param output_changes.
849
850         * Buffer.C: increase file format to 240.
851         Use output_changes and isVailable.
852
853         * changes.[Ch]:
854         * paragraph.C:
855         * paragraph_pimpl.C: Use output_changes and isVailable.
856
857 2005-01-23  Angus Leeming  <leeming@lyx.org>
858
859         * output_latex.C: #include "insetbibitem.h", rather than
860         forward declare function bibitemWidest.
861
862 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
863
864         * lyx_main.C (init): make it compile on the Mac.
865
866 2005-01-20  Angus Leeming  <leeming@lyx.org>
867
868         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
869         (setLyXMisc): (char string literal) != (char string literal) is
870         performing a comparison on the addresses. Convert one operand
871         explicitly to string to guarantee expected behaviour.
872         From MSVC warning.
873
874 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
875
876         * buffer.C:
877         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
878
879         * output_plaintext.C: remove unneeded #include gzstream.h.
880
881 2005-01-20  Angus Leeming  <leeming@lyx.org>
882
883         * SpellBase.h: rename some of the elements of the Result enum.
884
885         * aspell_local.h:
886         * ispell.h:
887         * pspell.h:
888         * aspell.C (check):
889         * ispell.C (check):
890         * pspell.C (check): ditto
891
892 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
893
894         * buffer.C: add #include <fstream>.
895
896         * lyx_main.C (init): Compile fix.
897
898         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
899
900 2005-01-20  Angus Leeming  <leeming@lyx.org>
901
902         * mover.h: change commentary to reflect the changed meaning of
903         the $$s placeholder.
904
905 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
906
907         * output_linuxdoc.C (linuxdocParagraphs): silence warning
908
909         * lyxfind.C (MatchString::operator()): remove bogus semicolon
910
911 2005-01-20  Angus Leeming  <leeming@lyx.org>
912
913         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
914         printing diagnostic data by not dereferecing an iterator past the
915         end.
916
917 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
918
919         * buffer.C (readHeader): use "&&" rather than "and".
920
921         * lyxserver.h (inPipeName, outPipeName): make these const.
922
923 2005-01-19  Angus Leeming  <leeming@lyx.org>
924
925         * lyx_main.C (error_handler, init): protect SIGHUP with
926         #ifdef SIGHUP guards.
927
928 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
931
932 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         * text.C (setHeightOfRow): add a margin at the top and bottom of
935         the document (bug 1761)
936
937 2005-01-17  Angus Leeming  <leeming@lyx.org>
938
939         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
940         with "python ". Workaround for a brain-dead Windows.
941
942 2005-01-16  Angus Leeming  <leeming@lyx.org>
943
944         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
945         for MacOSX and Windows to use prependEnvPath.
946         Strip out the hard-coded block to add elements to the PATH for
947         MacOSX and replace it with a call to prependEnvPath using the
948         contents of LyXRC::path_prefix.
949         (queryUserLyXDir): strip out the code to run reconfigure, instead
950         returning a boolean indicating the necessity to do so.
951         (reconfigureUserLyXDir): contains the code to reconfigure the
952         user support directory. Is now called after the various LyXRC data
953         files have been read.
954
955         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
956
957 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
958
959         * converter.[Ch] (convert): take a new parameter try_default. Use
960         a default converter (imagemagick) if try_default is true.
961
962 2005-01-13  Angus Leeming  <leeming@lyx.org>
963
964         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
965         os::cygwin_path_fix.
966         (write): output LyXRC::cygwin_path_fix as necessary.
967
968 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
969
970         * lyxrc.h:
971         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
972
973 2005-01-12  Angus Leeming  <leeming@lyx.org>
974
975         * lyx_main.C (init): set the PATH variable to include the
976         directory containing the LyX binary when running on Mac or Windows.
977
978 2005-01-12  Angus Leeming  <leeming@lyx.org>
979
980         * lyx_main.C (init): remove cruft that purports to set the locale
981         dir. It doesn't and is not needed anyway.
982
983 2005-01-10  Angus Leeming  <leeming@lyx.org>
984
985         * Makefile.am: remove the lyx_main.C special casing.
986
987         * BufferView_pimpl.C:
988         * bufferlist.C:
989         * exporter.C:
990         * lyx_cb.C:
991         * lyx_main.C:
992         * lyxfunc.C:
993         * messages.C: use support/package.h to provide the paths to the
994         various directories used by LyX.
995
996 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
997
998         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
999         layout if pasting into an empty paragraph)
1000
1001 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1002
1003         * tex-accent.C: add <string>
1004
1005 2005-01-06  José Matos  <jamatos@lyx.org>
1006
1007         * ParagraphParameters.C (write): put every parameter in its own line.
1008         * paragraph.C (write): reduce number of consecutive empty lines exported.
1009         * buffer.C (LYX_FORMAT): increase file format to 239.
1010
1011 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1012
1013         * everywhere: change support/tostr.h -> support/convert.h
1014
1015         * tabular.C: make all write_attributes templates, tostr -> convert
1016
1017         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1018         (emptyTag): and -> &&, and fix type for ret from getChar
1019         (getFirstWord): fix type for ret from getChar
1020         (onlyText): and -> &&
1021         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1022         getChar
1023
1024         * toc.C (goTo, action):
1025         * text3.C (dispatch):
1026         * text.C (currentState):
1027         * tex-accent.C (DoAccent):
1028         * sgml.C:
1029         * lyxrc.C:
1030         * lyxfunc.C (menuNew):
1031         * lyxfinc.C (replace):
1032         * counters.C (laberItem):
1033         * bufferview_funcs.C (font2string):
1034         * bufferparams.C (writeFile):
1035         * buffer.C (readFile):
1036         * Spacing.C (set):
1037         * MenuBackend.C: tostr -> convert
1038
1039         * LaTeX.C (runMessage): fix format
1040         (scanAuxFiles): tostr -> convert
1041
1042         * BufferView_pimpl.C (savePosition): fix format
1043         (restorePosition): ditto
1044         (dispatch): ditto
1045
1046 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1047
1048         * Spacing.[Ch]: New method getValueAsString().
1049
1050         * Spacing.[Ch]:
1051         * bufferparams.C:
1052         * ParagraphParameters.C:
1053         * lyxlayout.C:
1054         * text.C:
1055         * text3.C: store/read spacing value as string.
1056
1057         * rowpainter.C: change float value (spacing_val) to double.
1058
1059         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1060         broken custom document spacing).
1061
1062 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1063
1064         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1065         namespace, also more use of temp references and const
1066
1067         * cursor.[Ch] (getStatus): move to lyxfunc.C
1068
1069         * bufferparams.C: reformat slightly
1070
1071         * bufferview_funcs.C (font2string): constify arg
1072
1073         * changes.C:
1074         * converter.C:
1075         * counters.C:
1076         * bufferlist.C:
1077         * buffer_funcs.C: (many funcs): constify arg on function
1078         definitions, also make more local vars const, also add ASSERTS on
1079         pointer args.
1080
1081         * buffer.C (LYX_FORMAT): put const in correct place
1082         (many funcs): constify arg on function definitions, also make
1083         more local vars const
1084
1085         * aspell_local.h: remove "struct" from typdef setup
1086
1087         * aspell.C (check): make word_ok const
1088         (nextMiss): simplify slightly
1089         (error): ditto
1090
1091 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1092
1093         * lyxrc.[Ch]: store all float values as strings.
1094         use int (not float) for lyxrc.dpi.
1095
1096 2005-01-04  Angus Leeming  <leeming@lyx.org>
1097
1098         * lyx_cb.C (Reconfigure):
1099         * lyx_main.C (queryUserLyXDir):
1100         to run the <system_lyxdir>/configure correctly on Windows, prefix
1101         the path to the script with "sh " when generating the string that
1102         is passed to system().
1103
1104 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1105
1106         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1107
1108 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * lyxlength.C (asLatexString): get rid of setprecision
1111
1112 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * text2.C (setLayout): remove unused variable endpit.
1115         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1116
1117         * paragraph.C (onlyText): remove unused variable style.
1118
1119         * cursor.C (bruteFind): remove unused variables beg and end.
1120
1121         * Makefile.am (dist_noinset_DATA): not needed anymore
1122
1123         * cheaders/*: remove.
1124
1125 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1126
1127         * text3.C: fix LFUN_MATH_MODE.
1128
1129 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1130
1131         * buffer_funcs.C (countWords): new function. Counts words between
1132         two iterators.
1133
1134         * BufferView_pimpl.C (getStatus, dispatch): handle
1135         LFUN_WORDS_COUNT.
1136
1137         * LyXAction.C (init):
1138         * lfuns.h: add LFUN_WORDS_COUNT.
1139
1140 2004-12-19  Angus Leeming  <leeming@lyx.org>
1141
1142         * buffer.C (save): s/slashify_path/internal_path/.
1143
1144 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1145
1146         * lyxfind.C (findChange): do not search for end of pars, because
1147         the change tracker cannot handle this (fixes bug 1719).
1148
1149 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1150
1151         * paragraph.[Ch] (autoBreakRows): remove
1152
1153         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1154
1155         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1156         avoid using the paragraph one
1157
1158         * text2.C (LyXText, insertStringAsLines): adjust
1159
1160 2004-12-16  Angus Leeming  <leeming@lyx.org>
1161
1162         * bufferlist.C:
1163         * lyx_main.C:
1164         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1165
1166 2004-12-14  Angus Leeming  <leeming@lyx.org>
1167
1168         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1169
1170         * bufferlist.C (emergencyWrite):
1171         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1172         GetEnvPath("HOME").
1173
1174 2004-12-14  Angus Leeming  <leeming@lyx.org>
1175
1176         * main.C: (main): no longer pass pointers to os::init.
1177
1178 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1181         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1182
1183 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1184
1185         * lyxfunc.C:
1186         * text3.C: remove selection_possible global flag
1187
1188 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1189
1190         * text2.C (getSelectionSpan): remove
1191         (changeDepth, changeDepthAllowed): adjust
1192
1193 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1194
1195         * Makefile.am (BOOST_LIBS): use boost variables
1196
1197 2004-12-03  José Matos  <jamatos@lyx.org>
1198
1199         * buffer.C: format up to 238.
1200
1201 2004-12-03  José Matos  <jamatos@lyx.org>
1202
1203         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1204
1205 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1206
1207         * cursor.C (goUpDown): remove call to idxUpDown2
1208
1209 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1210
1211         * tabular.[Ch]: use size_t-like types for cell, row and column
1212         indices
1213
1214 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * lyxfunc.C (getStatus): do not lose previous information when
1217         calling BufferView::getStatus; do not set a default "Command
1218         disabled" message at the beginning, but just before returning.
1219
1220 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1221
1222         * cursor.h (getStatus): add better comment from src/cursor.C
1223
1224 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1225
1226         * text3.C (getStatus): return false when the lfun is not handled
1227
1228 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1229
1230         * broken_headers.h: remove
1231
1232         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1233
1234 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1235
1236         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1237         offset_ref accessors
1238
1239         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1240         top_y_, merge fitcursor with update
1241         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1242         coord scheme
1243         (metrics): introduce
1244         (workAreaDispatch): adapt to new coord scheme
1245         (redoCurrentBuffer): remove
1246
1247         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1248
1249         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1250         CurStatus enum.
1251
1252         * coordcache.[Ch]: add paragraph cache and helpers
1253
1254         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1255         adjust everywhere
1256
1257         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1258         (targetX, setTargetX): introduce
1259
1260         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1261         baseline -> ascent, as the rest of lyx
1262
1263         * lyxtext.h: remove redoParagraphs, updateParPositions,
1264         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1265         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1266         have ascent/descent (ascent is ascent of first par)
1267
1268         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1269         step of BufferView
1270
1271         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1272
1273         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1274
1275         * pariterator.C: fix infinite loop introduced in par->pit renaming
1276
1277         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1278         in insets and LyXText, draw two off-screen paragraphs using
1279         NullPainter, and adapt to new coord scheme
1280
1281         * text.C:
1282         * text2.C:
1283         * text3.C: adapt lfun handlers to the new coord scheme, which
1284         means: there's only guaranteed coord information for onscreen pars
1285         plus one above and one below. This implies that one can do search
1286         from y coordinates in the range [-1,workHeight]
1287
1288 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1289
1290         * rename a lot of InsetOld to InsetBase
1291
1292 2004-11-25  Angus Leeming  <leeming@lyx.org>
1293
1294         * BufferView_pimpl.C:
1295         * lyx_cb.C:
1296         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1297
1298 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1301         call BufferView::getStatus if LCursor::getStatus did nothing
1302         (setStatusMessage, getStatusMessage): removed.
1303
1304         * FuncStatus.C (message): new methods. Used to provide an error
1305         message indicating why a command is disabled.
1306         (clear, |=, FuncStatus): update for message.
1307
1308 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1309
1310         * lyxfunc.C (dispatch): always call sendDispatchMessage
1311
1312 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1313
1314         * BufferView.C:
1315         * BufferView_pimpl.C:
1316         * CutAndPaste.C:
1317         * FontIterator.C:
1318         * buffer.C:
1319         * cursor.C:
1320         * cursor_slice.[Ch]:
1321         * dociterator.[Ch]:
1322         * lyxfind.C:
1323         * paragraph_funcs.C:
1324         * pariterator.C:
1325         * rowpainter.C:
1326         * text.C:
1327         * text2.C:
1328         * text3.C:
1329         * undo.C: par->pit renaming
1330
1331 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1332
1333         * tabular.C (cellstruct): use initialization, store a shared_ptr
1334         to insettext instead of the insettext directly, adjust to fit.
1335         (operator=):  new function
1336         (swap): new function
1337         (rowstruct): use initialization
1338         (columnstruct): use initialization
1339         (ltType): use initialization
1340
1341
1342         * lyxlength.h (swap): new function
1343
1344         * LColor.[Ch] (operator=): use the common semantics
1345
1346 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * lyxfind.C (findNextChange): update the bufferview after setting
1349         the selection.
1350
1351 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1352
1353         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1354         number of InsetOptArgs has already been inserted.
1355
1356         * output_latex.C (latexOptArgInsets): new method. This outputs all
1357         the optarg insets, up to the limit defined in the layout file.
1358         (optArgInset): removed
1359         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1360
1361 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * paragraph.C (isLetter): remove special spellchecker-related
1364         code; return true also for digits
1365         (isWord, isKomma): remove
1366
1367         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1368         * lyxfind.C (MatchString()): use isLetter instead of isWord
1369
1370 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1371
1372         * pariterator.h (operatir=): comment out un-implemented member
1373         function.
1374
1375         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1376         static cast.
1377
1378 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1379
1380         * lyxfont.h: include LColor.h to satisfy concept checks.
1381
1382 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1383
1384         * pariterator.h: add typdefs for value_type, difference_type,
1385         pointer and reference to satisfy concept checks. Also add default
1386         constructor for same reason.
1387
1388         * pariterator.C (operator++): add post-increment operator to
1389         satisfy concept checks.
1390
1391         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1392         checks.
1393
1394         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1395
1396         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1397         checks. Also rename base_type to BaseType to follow naming
1398         standard better.
1399
1400         * FloatList.h: include Floating.h to satisfy concept checks.
1401
1402 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1403
1404         * lyxfunc.C (getStatus): when the origin of the request is menu or
1405         toolbar, and the LyXView does not have focus, do as if there was
1406         no buffer (bug 1720)
1407
1408         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1409         FuncRequest to individual entries of LFUN_SEQUENCE
1410
1411 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1412
1413         * output_latex.C (TeXOnePar): override runparams.moving_arg
1414         according to the needprotect value of the current paragraph (bug
1415         1739)
1416
1417         * paragraph.C (simpleTeXOnePar): no need to override
1418         runparams.moving_args here
1419
1420 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1421
1422         * vspace.C: fix off-by-one-error, related to fix #1682
1423
1424 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1425
1426         * lengthcommon.C: a more general fix for bug 1682
1427
1428 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1429
1430         * text.C (backspace): fix crash
1431
1432 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1433
1434         * format.[Ch] (getFormatFromFile): new method
1435         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1436
1437 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1438
1439         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1440
1441 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1442
1443         * lyxfunc.C (dispatch): remove the verbose argument
1444         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1445         instead
1446
1447         * kbmap.C (defkey): set the origin of func to KEYBOARD
1448
1449         * MenuBackend.C (MenuItem):
1450         * ToolbarBackend.C (add): set the origin of func to UI
1451
1452         * funcrequest.[Ch]: add origin member, which indicates which part
1453         of LyX requests an action
1454
1455 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1456
1457         * converter.C (move): don't lie in the error message
1458         * converter.h (isReachable, move): document
1459
1460 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1461
1462         * buffer.C: remove unused using lyx::support::atoi
1463         * paragraph_funcs.C: ditto
1464
1465 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1466
1467         * bufferlist.C (exists): use bind and equal_to instead of
1468         compare_memfun
1469         (getBuffer): ditto
1470         * lyxtextclasslist.C (NumberOfClass): ditto
1471
1472         * cursor.C (insert): use for_each instead of explicit for loop
1473
1474         * bufferlist.C (getFileNames): use std::transform and
1475         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1476
1477         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1478         for loop
1479
1480         * buffer.C (changeLanguage): use for_each instead of explicit for
1481         loop
1482         (hasParWithID): implement using getParFromID
1483
1484         * LaTeXFeatures.C: ws change only
1485
1486         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1487         to cleanup a bit.
1488
1489         * BufferView_pimpl.C (trackChanges): use for_each instead of
1490         expilicit for loop
1491
1492 2004-11-04  André Pönitz  <poenitz@gmx.net>
1493
1494         * undo.h:
1495         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1496
1497         * dociterator.C (asDocIterator): use hard assert again.
1498
1499 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1500
1501         * lyxlength.C (asLatexString): rewrite so that it does not use
1502         snprintf anymore
1503
1504 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1505
1506         * text3.C (specialChar, dispatch): make sure cursor moves to the
1507         right after inserting an inset
1508
1509 2004-11-02  José Matos  <jamatos@lyx.org>
1510
1511         * output_docbook.C (docbook):
1512         * paragraph.C (getID):
1513         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1514         garantee that the output is always legal.
1515
1516         * tabular.C (docbook):
1517         * outputprams.[Ch]: remove mixed contents.
1518
1519 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1520
1521         * text2.C (setCounter): prevent endless loop
1522
1523 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1524
1525         * exporter.C (copyFile): use the mover instead of support::copy()
1526         * exporter.C (Export): pass format and latex name to copyFile()
1527         * exporter.h (addExternalFile): document
1528         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1529
1530 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1531
1532         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1533
1534 2004-10-30  José Matos  <jamatos@lyx.org>
1535
1536         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1537         text and no inset or font change. This allows to use CDATA
1538         sections just for the whole paragraph.
1539
1540 2004-10-30  José Matos  <jamatos@lyx.org>
1541
1542         * paragraph.C (getFirstWord): remove unused variable.
1543
1544 2004-10-30  José Matos  <jamatos@lyx.org>
1545
1546         * paragraph.C (getFirstWord): the content should always be escaped
1547         there.
1548         (simpleDocBookOnePar):
1549         * output_docbook.C (makeEnvironment): replace reference to CDATA
1550         to style pass_thru.
1551
1552 2004-10-30  José Matos  <jamatos@lyx.org>
1553
1554         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1555
1556 2004-10-30  José Matos  <jamatos@lyx.org>
1557
1558         * output_docbook.C (makeParagraphs):
1559         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1560         standard paragraph has only a given type of content drop the wrapper.
1561
1562 2004-10-29  José Matos  <jamatos@lyx.org>
1563
1564         * output_docbook.C (makeEnvironment):
1565         * sgml.C (openTag):
1566         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1567
1568 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1569
1570         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1571         (cleanID): sanitize any id.
1572
1573 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1574
1575         * buffer.C, lyxlex_pimpl.C:
1576         * lyxlex_pimpl.C (setFile):
1577         s/getExtFromContents/getFormatFromContents/
1578
1579 2004-10-28  José Matos  <jamatos@lyx.org>
1580
1581         * output_docbook.C (makeEnvironment): move id to broadest possible
1582         scope.
1583
1584         * sgml.C (openTag): apply substitution of <> for all attributes.
1585
1586 2004-10-28  José Matos  <jamatos@lyx.org>
1587
1588         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1589         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1590         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1591
1592         * sgml.[Ch]: new version for open and closeTag for paragraph and
1593         for strings. Now they handle the ids of paragraphs.
1594
1595 2004-10-26  Angus Leeming  <leeming@lyx.org>
1596
1597         * Makefile.am: add mover.[Ch].
1598
1599         * converter.C (convert, move): use the new Movers to move external
1600         files to the temp directory.
1601
1602         * lyx_main.C (init): ensure that the global system_movers data
1603         is initialised.
1604
1605         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1606         preferences file.
1607
1608         * mover.[Ch]: new files, defining a Mover as a utility to move an
1609         external file between directories and, if necessary, manipulate this
1610         file using a helper script.
1611
1612 2004-10-25  José Matos  <jamatos@lyx.org>
1613
1614         * output_docbook.C (makeCommand): merge two if's that tested the
1615         same condition.
1616
1617 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1618
1619         * sgml.C (escapeString): fix warning in a better way
1620
1621 2004-10-25  José Matos  <jamatos@lyx.org>
1622
1623         * sgml.C (escapeString): import the require boosts header file for
1624         tie, and avoid a signed unsigned comparison.
1625
1626 2004-10-25  José Matos  <jamatos@lyx.org>
1627
1628         * sgml.h: add #include <string>
1629
1630 2004-10-25  José Matos  <jamatos@lyx.org>
1631
1632         * sgml.[Ch] (escapeString): new function to escape all the string.
1633
1634 2004-10-24  José Matos  <jamatos@lyx.org>
1635
1636         * paragraph.[Ch] (getFirstWord): new function to get the first
1637         word. Useful for description.
1638         (simpleDocBookOnePar): remove depth argument, add another that
1639         says where to start the paragraph.
1640
1641         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1642         use the new functions to fix cleanly the support for descriptions.
1643
1644 2004-10-24  José Matos  <jamatos@lyx.org>
1645
1646         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1647         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1648         * output_linuxdoc.C (linuxdocParagraphs):
1649         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1650         add buffer as argument.
1651
1652 2004-10-24  José Matos  <jamatos@lyx.org>
1653
1654         * output_docbook.C (makeEnvironment, searchEnvironment): place
1655         CDATA inside paragraphs and fix scope for listitems.
1656
1657 2004-10-24  José Matos  <jamatos@lyx.org>
1658
1659         * output_docbook.C: remove using statement for stack.
1660
1661 2004-10-23  José Matos  <jamatos@lyx.org>
1662
1663         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1664         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1665         docbook. The new scheme is recursive and makes use of iterators, the
1666         same as latex export works.
1667         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1668         directly with the paragraph contents. This code was moved up to
1669         output_docbook.C (docbookParagraphs).
1670         * sgml.C (openTag, closeTag): removed unneeded newlines.
1671         (closeEnvTags) removed.
1672
1673 2004-10-23  André Pönitz  <poenitz@gmx.net>
1674
1675         * undo.C (textUndoOrRedo):
1676         * dociterator.C (asDocIterator): work around crash
1677
1678         * cursor.C (getStatus): replace ASSERT by more verbose error message
1679           and manual correction of the problem. Should increase stability
1680           while providing more sensible information.
1681
1682 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1685
1686         * bufferlist.C (previous, next): new methods
1687
1688         * lfuns.h:
1689         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1690
1691 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1692
1693         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1694         entities to preamble.
1695
1696 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1697
1698         * messages.C (Pimpl): strip off translation context information
1699
1700 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1701
1702         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1703         the cursor is correct (bug 1694)
1704
1705 2004-10-13  José Matos  <jamatos@lyx.org>
1706
1707         * output_docbook.C (docbookParagraphs): fix closing tags in the
1708         end of the document.
1709
1710 2004-10-09  José Matos  <jamatos@lyx.org>
1711
1712         * buffer.C: format up to 237.
1713         * bufferparams.C (write): use tostr to convert booleans to strings.
1714
1715 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1716
1717         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1718
1719 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1720
1721         * LaTeX.C: implement use of babel language in xindy.
1722
1723 2004-10-05  José Matos  <jamatos@lyx.org>
1724
1725         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1726         Add new translators to help reading and writing the lyx file.
1727
1728 2004-10-05  José Matos  <jamatos@lyx.org>
1729
1730         * ParagraphParameters.C (read):
1731         * text.C (readParToken): replace nexToken by more appropriate lex
1732         methods.
1733
1734 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1735
1736         * LaTeX.C (runMakeIndex):
1737         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1738         (usually 'makeindex') configurable.
1739
1740         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1741         with a variable rather than with a number.
1742
1743 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1744
1745         * output_latex.C (TeXOnePar): make sure font setting is the first
1746         thing that gets output (and the last at the end). Should fix bug
1747         1404.
1748
1749 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1750
1751         * pch.h: use proper signal include
1752
1753         * LaTeX.h: Use preferred calling of Boost.Signal
1754         * buffer.h: ditto
1755
1756 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1757
1758         * pch.h: dont include <boost/function/function0.hpp>
1759
1760         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1761
1762         * paragraph_pimpl.h: remove usage of ShareContainer
1763
1764         * paragraph_pimpl.C: remove initialization of ShareContainer.
1765
1766 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         Fix bug #1666
1769
1770         * BufferView.C (putSelectionAt): change the semantics when
1771         backwards == true: now, this just swaps cursor and anchor wrt the
1772         forward case
1773
1774         * BufferView.h (putSelectionAt): add some documentation
1775
1776         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1777         make sure backwardChar is done at least once (to avoid getting
1778         stuck)
1779         (findNextChange): use putSelectionAt in the forward direction
1780         (operator()): use Paragraph::isWord
1781
1782 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1783
1784         * Spacing.C (set): c_str fix
1785
1786 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1787
1788         * lyx_cb.C (Reconfigure): quote the name of configure script in
1789         case it contains spaces
1790
1791 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1792
1793         * client: new dir
1794
1795         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1796         (BOOST_LIBS): use top_buildir when looking for the file
1797
1798 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1799
1800         * pch.h: do not use include boost/format.hpp, multiple symbols
1801                 will result (gcc bug)
1802
1803
1804 2004-08-23  José Matos  <jamatos@lyx.org>
1805
1806         * bufferparams.C (readToken): fix reading of the author field.
1807
1808 2004-08-20  José Matos  <jamatos@lyx.org>
1809
1810         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1811
1812 2004-08-20  José Matos  <jamatos@lyx.org>
1813
1814         * lyxlex.[Ch] (findToken): remove function.
1815
1816         * ParagraphParameters.C (findToken):
1817         * bufferparams.C (findToken): replace call for previous function
1818         with local copy. This local function has one more argument, the
1819         read string argument.
1820
1821 2004-08-16  José Matos  <jamatos@lyx.org>
1822
1823         * ParagraphParameters.C (write):
1824         * Spacing.C (writeFile):
1825         * bufferparams.C (writeLaTeX):
1826         * lyx_cb.C (Reconfigure):
1827         * paragraph.C (write):
1828         * tabular.C (write): remove unnecessary space at end of line.
1829
1830
1831 2004-08-16  José Matos  <jamatos@lyx.org>
1832
1833         * text.C (readParagraph): remove debug message.
1834
1835 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1836
1837         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1838         crash
1839
1840         * output_plaintext.C (asciiParagraph): set depth correctly
1841
1842         * outputparams.h: add member depth
1843
1844         * paragraph_funcs.C (ownerPar): remove.
1845
1846         * text2.C (setCounter): remove first_pit; comment out some
1847         non-working code that uses ownerPar
1848
1849         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1850         uses ownerPar
1851
1852 2004-08-16  José Matos  <jamatos@lyx.org>
1853
1854         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1855         For the same level of importance use the same chanel to report problems.
1856         (read): add code to deal with \begin_body and \end_body.
1857
1858
1859 2004-08-15  José Matos  <jamatos@lyx.org>
1860
1861         * lyxlex.C (getString): fix comment, buffer::readBody is now
1862         buffer:readDocument.
1863
1864         * tex-strings.C (string_papersize): Default -> default,
1865         Custom -> custom, for consistency with other options.
1866
1867 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1868
1869         * pch.h: new file
1870
1871         * Makefile.am: support pch
1872
1873 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1874
1875         * text.C (readParToken): remove the static LyXFont variable and
1876         pass it as a parameter instead. This fixes a nasty bug where an
1877         inset will be inserted with a bad font in some situations
1878         (readParagraph): adapt
1879
1880         * text2.C (setCounter): reduce number of calls to pars_[pit]
1881
1882         * text.C (singleWidth): add an assert, fix a test
1883
1884         * rowpainter.C (paintText): reduce number of calls to singleWidth
1885
1886         * paragraph.C (isHfill):
1887         (isNewline): ws only
1888
1889 2004-08-14  André Pönitz  <poenitz@gmx.net>
1890
1891         * text.C:
1892         * text2.C:
1893         * rowpainter.C:
1894         * lyxtext.h (several functions): use a Paragraph & argument
1895         instead of par_type
1896
1897 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1898
1899         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1900
1901         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1902
1903         * text.C (singleWidth): remove useless test
1904
1905 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1906
1907         * tabular.h: remove bogus comments
1908
1909         * tabular.C (getDescentOfRow):
1910         (isPartOfMultiColumn): add assertions
1911
1912         * lyxlength.C (inPixels): remove #warning
1913
1914 2004-08-14  André Pönitz  <poenitz@gmx.net>
1915
1916         * paragraph.h: inline getChar()
1917
1918         * BufferView.h: remove unused declarations
1919
1920 2004-08-14  José Matos  <jamatos@lyx.org>
1921
1922         * Buffer.[Ch] (readDocument): new name for old readBody.
1923         * Buffer.C: new file format, new keywords: \begin_document,
1924         \begin_header, \begin_body, \end_body.
1925
1926         * bufferparams.C (readToken): replace all calls to lex.nextToken
1927         by lex.next(). Do the same to eatLine except where really needed.
1928
1929         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1930         line when writing to the lyx file.
1931
1932         * output_plaintext.C (asciiParagraph): fix Bibliography style
1933         handling.
1934
1935         * text.C (read): fix end of file handling.
1936
1937 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1938
1939         * MenuBackend.C (Menu::operator[]): new method to access
1940         individual menu items
1941         (Menu::hasFunc): new method. search for an item that corresponds
1942         to a given func
1943         (MenuBackend::specialMenu): new method
1944         (MenuBackend::expand): if a special menu has been set, skip
1945         entries whose func() appears in this menu
1946
1947 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1948
1949         * text3.C: use Debug::DEBUG a bit more
1950
1951         * text.C (leftMargin): try to simplify a tiny bit change var x to
1952         l_margin. Dont output the wide margins always.
1953         (rightMargin): no margin in inner texts
1954
1955         * rowpainter.h (nestMargin): new func
1956         (changebarMargin): new func
1957         (rightMargin): new func
1958
1959         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1960         now functions.
1961         (paintLast): ditto
1962
1963         * factory.C (createInset): modify setDrawFrame
1964
1965         * cursor.C: use Debug::DEBUG a bit more
1966
1967 2004-08-14  André Pönitz  <poenitz@gmx.net>
1968
1969         * coordcache.[Ch]:
1970         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1971         cache for all insets in (at least partially) visible (top-level)
1972         paragraphs.
1973
1974         * BufferView_pimpl.C: reset external coord cache before every update.
1975         This means the coord cache only contains valid entries.
1976
1977 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1978
1979         bug 1096
1980         * BufferView_pimpl.C (getInsetByCode): move function out of class
1981         and change in to a template in anon namespace. Also fix to do what
1982         suits us better.
1983
1984 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1985
1986         bug 1305
1987         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1988         of char
1989         (breakParagraph): rename par to par_offset and use a local
1990         reference. Add code to keep the language over a rebreak.
1991         (breakParagraphConservative): rename par to par_offset, use a
1992         local reference
1993         (mergeParagraph): ditto
1994         (outerHook): ditto
1995         (isFirstInSequence): ditto
1996         (outerFont): rename pit to par_offset
1997
1998         * paragraph.C: ws change
1999         * paragraph.h: ditto
2000         * text3.C: ditto
2001         * text.C: ditto
2002
2003 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2004
2005         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2006         treatment for ']'
2007
2008         * paragraph.C (simpleTeXOnePar): when we have a \item with
2009         optional argument, enclose the argument with curly brackets (in
2010         case it contains a closing square bracket)
2011
2012         * text2.C (editXY):
2013         * text2.C (editXY):
2014         * text3.C (checkInsetHit): constify
2015
2016 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2017
2018         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2019         documents (bug 1629)
2020
2021 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         Fix toggling of collapsable insets with the mouse (bug 1558)
2024
2025         * lyxfunc.C (dispatch): adapt to LCursor changes
2026
2027         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2028         make sure that dispatch is not invoked twice
2029
2030         * cursor.C (needsUpdate): new method
2031         (dispatch): return void
2032         (result): new method, to access the DispatchResult of the cursor.
2033
2034 2004-08-13  José Matos  <jamatos@lyx.org>
2035
2036         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2037
2038 2004-08-13  André Pönitz  <poenitz@gmx.net>
2039
2040         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2041
2042         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2043           multiple cells
2044
2045 2004-08-12  André Pönitz  <poenitz@gmx.net>
2046
2047         * text3.C: take out the 'cursor right' form insertInset and only
2048         do it in those places when it is really needed. Fixes crash on
2049         C-m...
2050
2051 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2052
2053         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2054
2055         * BufferView_pimpl.C (setBuffer): initialize the current font of
2056         the underlying LyXText
2057
2058 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2059
2060         * kbsequence.C (print): use UI native formatting for menu
2061         shortcuts
2062
2063         * text.C (insertChar): call Paragraph::insertChar with a font
2064         argument (cosmetic)
2065
2066         * paragraph.C (insertInset, insertChar): the version that takes a
2067         LyXFont argument is now a wrapper around the other one (the
2068         opposite used to be true).
2069
2070         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2071         argument. Font setting is done in Paragraph now.
2072
2073 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2074
2075         * outputparams.h: add new members intitle and lang.
2076
2077         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2078         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2079
2080 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2081
2082         * text3.C (dispatch): remove special handling of button 4 and 5,
2083         it is now taken care of in the frontend code.
2084
2085 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2086
2087         * Spacing.h: add <string> (STLPort compile fix)
2088
2089 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2090
2091         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2092
2093 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2094
2095         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2096         to bool.
2097
2098         * converter.C (showMessage): inherit from unary_function, make
2099         operator() const.
2100
2101         * buffer.C (writeFile): initialize retval
2102
2103         * InsetList.h: rename private variable list to list_
2104         * InsetList.[Ch]: adjust accordingly.
2105
2106 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2107
2108         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2109         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2110         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2111         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2112         * ParagraphParameters.C, LaTeXFeatures.C: replace
2113         "support/std_sstream.h" with <sstream>
2114
2115 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2116
2117         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2118         * lyxsocket.C (LyXServerSocket): ditto
2119         (serverCallback): ditto
2120
2121 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2122
2123         * LaTeXFeatures.C: check release date when loading jurabib.
2124
2125 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2126
2127         * lyxserver.C (startPipe): call register_socket_callback
2128         (endPipe): call unregister_socket_callback
2129
2130 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2131
2132         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2133         (LyXServerSocket): register the callback
2134         (LyXServerSocket): unregister the callback
2135         (fd): delete function
2136         (serverCallback): improve error checking and setup the callbacks.
2137         (dataCallback): change arg to fd.
2138         (writeln): new func (copied fro the client socket) used for server
2139         write to client.
2140         (LyXDataSocket): simplify
2141         (~LyXDataSocket): close ann unregiser callback
2142         (server): delete function
2143         (fd): delete function
2144         (readln): small changes, improve some std::string usage
2145         (writeln): constify a bit
2146
2147 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2150         Qt frontend
2151
2152 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2155         after it has been populated
2156
2157 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2158
2159         * text2.C (insertInset): move cursor when inserting inset.
2160
2161 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * kbmap.C (findbindings): a couple of new methods. returns a
2164         container of kb_sequence objects. The real work is done by the
2165         private recursive version
2166         (printbindings): uses findbindings to print out a bracketed list
2167         of bindings (renamed from findbinding).
2168
2169         * MenuBackend.C (binding): use kb_keymap::findbindings
2170
2171         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2172
2173 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2174
2175         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2176
2177 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2178
2179         * paragraph.C (isWord): return true on insets that report
2180         isLetter().
2181
2182         * text.C (getWord): use Paragraph::isWord to decide what is in a
2183         word and what is not; fix bug 1609.
2184
2185 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2186
2187         * tex-strings.C: add "none" to string_paperpackages[], fixes
2188         off-by-one-error in the paperpackage selection.
2189
2190         * lyxlex.[Ch]:
2191         * tex-strings.[Ch]: char const * string[n]
2192         -> char const * const string[]
2193
2194 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2195
2196         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2197         command, return early.
2198
2199 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2200
2201         * debug.h: add DEBUG to enum and fix size of ANY.
2202
2203         * debug.C: add support for Debug::DEBUG
2204         (showTags): cast errorTags.level to unsigned int
2205
2206         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2207         (redoCurrentBuffer): ditto
2208         (updateScrollbar): ditto
2209         * cursor.C (dispatch): ditto
2210         * text2.C (setLayout): ditto
2211         (setFont): ditto
2212         (updateCounters): ditto
2213         (editXY): ditto
2214         (deleteEmptyParagraphMechanism): ditto
2215
2216 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2217
2218         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2219         annotations to cleanup the Makefile slightly.
2220
2221 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2222
2223         * lyxrc.C: do not set user_email to a default value but use empty
2224         instead. The entry used to be translated, which does not work
2225         since at the point where lyxrc is constructed there is no
2226         translation service available
2227
2228         * messages.C (getLocaleDir): remove and use directly
2229         lyx_localedir() instead
2230
2231 2004-06-02  Angus Leeming  <leeming@lyx.org>
2232
2233         Fix crash caused by dereferencing null pointer 'exportdata' in
2234         OutputParams by creating a new ExportData variable on the heap,
2235         storing it in a boost::shared_ptr.
2236         The crash was triggered when generating an Instant Preview
2237         of an external inset.
2238
2239         * Makefile.am: add outputparams.C
2240
2241         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2242         (c-tor): allocate memory to it.
2243
2244         * exporter.C (c-tor): associated changes.
2245
2246 2004-06-01  Angus Leeming  <leeming@lyx.org>
2247
2248         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2249         contains data before calling isInset(0). (Bug 1513.)
2250
2251 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2252
2253         * exporter.C (checkOverwrite): new method
2254         * exporter.C (copyFile): new method
2255         * exporter.C (Export): copy referenced files to the document dir
2256         * exporter.[Ch]: new class ExportedFile
2257         * exporter.[Ch]: new class ExportData. Contains currently the
2258         names of referenced external files
2259         * outputparams.h: add exportdata member.
2260
2261 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2262
2263         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2264         version.C-tmp
2265
2266 2004-05-19  Angus Leeming  <leeming@lyx.org>
2267
2268         * LaTeXFeatures.C:
2269         * ToolbarBackend.C:
2270         * bufferparams.C:
2271         * lyxfunc.C: small changes due to the introduction of namespace
2272         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2273
2274 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2275
2276         * text3.C (dispatch): supress update when only moving the cursor
2277         * cursor.C (selHandle): remove commented code
2278
2279 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2280
2281         * paragraph.C (startTeXParParams): correct column count
2282         * CutAndPaste.C (pasteSelection): remove const_cast
2283         * output_docbook.C (docbookParagraphs): remove const_cast
2284         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2285         const_cast and return ParagraphList::const_iterator
2286         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2287         * output_plaintext.C (writeFileAscii): remove const_cast
2288         * paragraph.[Ch] (simpleTeXOnePar): make const
2289         * paragraph_funcs.C (outerPar): use const iterators
2290         * paragraph_pimpl.C (validate): use const iterators
2291         * text.C (setHeightOfRow): use const iterators
2292
2293 2004-05-17  Angus Leeming  <leeming@lyx.org>
2294
2295         * lfuns.h:
2296         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2297
2298         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2299         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2300         if the citation engine has changed.
2301
2302 2004-05-14  José Matos  <jamatos@lyx.org>
2303
2304         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2305         if the textclass does not provide it. Have it different for sgml and
2306         xml.
2307         support the language of document.
2308         * output_docbook.C (docbookParagraphs):
2309         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2310         first anchor as the id of the paragraph, remove special case code.
2311         * sgml.C (escapeChar): escape only < & >.
2312
2313 2004-05-14  Angus Leeming  <leeming@lyx.org>
2314
2315         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2316         dependencies on src/frontends/controllers/biblio.h. Define a
2317         CiteEngine_enum wrapper class to enable the enum to be forward
2318         declared.
2319
2320 2004-05-12  Angus Leeming  <leeming@lyx.org>
2321
2322         * buffer.C: up LYX_FORMAT to 234.
2323         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2324         use_numerical_citations with a single biblio::CiteEngine cite_engine
2325         variable.
2326         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2327
2328 2004-05-13  José Matos  <jamatos@lyx.org>
2329
2330         * converter.h:
2331         * converter.C (Converter, readFlags): add xml member.
2332         * outputparams.h: add XML flavor.
2333         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2334
2335 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * lyxfunc.C (dispatch):
2338         (getStatus): fix handling of LFUN_SEQUENCE
2339
2340 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * debug.C (showLevel): do not forget the end-of-line marker
2343
2344 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2345
2346         * kbmap.C (read): do not stop parsing a bind file when an error
2347         occurs (bug 1575)
2348
2349 2004-04-29  Angus Leeming  <leeming@lyx.org>
2350
2351         * cursor.C:
2352         * factory.C:
2353         * pariterator.C:
2354         * text2.C: wrap a bunch of #warning statements
2355         inside #ifdef WITH_WARNINGS blocks.
2356
2357 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2358
2359         * buffer.C: increment format to 233.
2360
2361 2004-04-28  Angus Leeming  <leeming@lyx.org>
2362
2363         * BufferView_pimpl.C:
2364         * lyxfunc.C:
2365         * text3.C:
2366         s/updateToolbar()/updateToolbars()/
2367         s/Toolbar.h/Toolbars.h/
2368
2369 2004-04-28  Angus Leeming  <leeming@lyx.org>
2370
2371         * BufferView.[Ch] (c-tor):
2372         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2373         No longer passes these data to the WorkArea generator.
2374
2375 2004-04-28  Angus Leeming  <leeming@lyx.org>
2376
2377         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2378
2379 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2380
2381         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2382
2383 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * output_latex.C (TeXEnvironment): make sure that there is a line
2386         break before \end{foo} for the last paragraph of a document
2387         (TeXOnePar): if the paragraph is at the end of the document (or
2388         inset) and the language has to be reset, then make sure that the
2389         line break is _before_ the language command, not after (fixes bug
2390         1225); also make sure that the language reset command is the first
2391         thing after the paragraph (to ensure proper nesting of
2392         environments and thus fix bug 1404)
2393
2394 2004-04-21  John Levon  <levon@movementarian.org>
2395
2396         * ToolbarBackend.h:
2397         * ToolbarBackend.C: make "name" be a programmatic name
2398         and a gui_name field.
2399
2400         * lyxfunc.C: display the minibuffer on M-x
2401
2402 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2403
2404         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2405         (bug 1526)
2406
2407 2004-04-19  Angus Leeming  <leeming@lyx.org>
2408
2409         * BufferView_pimpl.C (setBuffer): changed preview interface.
2410
2411         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2412         possible values.
2413
2414 2004-04-19  John Levon  <levon@movementarian.org>
2415
2416         * BufferView_pimpl.C:
2417         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2418
2419 2004-04-05  Angus Leeming  <leeming@lyx.org>
2420
2421         * text.C (redoParagraphs): add call to updateCounters(), thereby
2422         fixing the missing "Figure #:" label from the caption of a
2423         figure float.
2424
2425 2004-04-13  Angus Leeming  <leeming@lyx.org>
2426
2427         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2428         cursor is clicked out of an inset.
2429
2430 2004-04-13  Angus Leeming  <leeming@lyx.org>
2431
2432         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2433         than an InsetOld one.
2434
2435 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2436
2437         * format.[Ch]: add editor to Format
2438         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2439         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2440
2441 2004-04-08  André Pönitz  <poenitz@gmx.net>
2442
2443         * metricsinfo.h: remove PainterInfo::width member
2444
2445 2004-04-08  Angus Leeming  <leeming@lyx.org>
2446
2447         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2448         "\providecommand" rather than "\newcommand", thereby preventing
2449         clashes with packages that define "\boldsymbol" themselves.
2450         Eg, beamer.
2451
2452 2004-04-08  Angus Leeming  <leeming@lyx.org>
2453
2454         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2455         thereby squashing an unnecessary warning.
2456
2457 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2458
2459         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2460         setBuffer()
2461
2462 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2463
2464         * BufferView.C (setCursor): call redoParagraph (some insets could
2465         have been opened)
2466         (putSelectionAt): remove the 'double update' trick
2467
2468         * BufferView_pimpl.C (fitCursor): call refreshPar
2469         (workAreaDispatch): remove an uneeded update call
2470         (dispatch): remove some manual update calls
2471
2472         * cursor.[Ch]: remove cached_y_, updatePos
2473         (selHandle): set noUpdate when appropriate
2474
2475         * lyxfunc.C (dispatch): track if we need an update
2476
2477         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2478
2479         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2480         (paintSelection): cheap optimization, do not call cursorX when not
2481         needed
2482         (paintPars): change signature
2483         (refreshPar): add
2484         (paintText): adjust
2485         (paintTextInset): adjust
2486
2487         * text.C: adjust
2488
2489 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2490
2491         * lengthcommon.C: compilation fix: remove explicit array size from
2492         unit_name[] and friends
2493
2494 2004-04-05  Angus Leeming  <leeming@lyx.org>
2495
2496         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2497
2498         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2499         present only for the preferences dialog.
2500         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2501
2502 2004-04-05  Angus Leeming  <leeming@lyx.org>
2503
2504         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2505         to enable the frontends to export changes to lyxrc correctly.
2506
2507         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2508
2509 2004-04-07  André Pönitz  <poenitz@gmx.net>
2510
2511         * cursor.[Ch] (selClear, adjust): remove math
2512
2513         * cursor_slice.C: more agressive assert
2514
2515         * lyxfunc.C:
2516         * BufferView_pimpl.C: rework mouse event dispatch
2517
2518         * dociterator.C:
2519         * paragraph.C:
2520         * text2.C:
2521         * text3.C: adjust
2522
2523 2004-04-05  André Pönitz  <poenitz@gmx.net>
2524
2525         * cursor.[Ch] (valign, halign...): remove unneeded functions
2526
2527 2004-04-05  Angus Leeming  <leeming@lyx.org>
2528
2529         * lyxlength.[Ch] (unit_name et al.): const-correct.
2530
2531 2004-04-05  Angus Leeming  <leeming@lyx.org>
2532
2533         * BufferView_pimpl.C:
2534         * buffer.C:
2535         * counters.C:
2536         * cursor.C:
2537         * lyxfunc.C
2538         * paragraph.C:
2539         * pariterator.C:
2540         * text.C:
2541         * text2.C:
2542         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2543
2544 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2545
2546         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2547
2548 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2551         * BufferView_pimpl.[Ch] (getStatus)
2552         * BufferView.[Ch] (getStatus): add
2553         * lyxfunc.C (getStatus): move lfuns handled in
2554         BufferView::dispatch to te function above
2555         * Cursor.C (setSelection): set selection() = true
2556
2557 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2558
2559         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2560
2561 2004-03-31  Angus Leeming  <leeming@lyx.org>
2562
2563         * lyxfunc.C (dispatch): Fall through to the generic
2564         Dialogs::show("preamble").
2565
2566 2004-03-31  Angus Leeming  <leeming@lyx.org>
2567
2568         * lyxfunc.C (dispatch): Fall through to the generic
2569         Dialogs::show("spellchecker").
2570
2571 2004-03-31  Angus Leeming  <leeming@lyx.org>
2572
2573         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2574         preferences dialog.
2575
2576 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2577
2578         * BufferView.C
2579         * cursor.[Ch]
2580         * dociterator.[Ch]:
2581         * insetiterator.[Ch]:
2582         * lyxfind.C:
2583         * lyxfunc.C:
2584         * pariterator.[Ch]:
2585         * text2.C:
2586         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2587
2588 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2591         insets where we are putting the cursor.
2592
2593 2004-03-31  Angus Leeming  <leeming@lyx.org>
2594
2595         * lfuns.h:
2596         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2597
2598         * lyxrc.[Ch] (read, write): overloaded member functions taking
2599         a std::[io]stream arguments.
2600
2601         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2602
2603 2004-03-31  Angus Leeming  <leeming@lyx.org>
2604
2605         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2606         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2607
2608         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2609         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2610
2611 2004-03-31  Angus Leeming  <leeming@lyx.org>
2612
2613         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2614         the LFUN_ALL_INSETS_TOGGLE code.
2615
2616 2004-03-30  Angus Leeming  <leeming@lyx.org>
2617
2618         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2619         has died. Fall through to the generic Dialogs::show("document").
2620
2621 2004-03-30  Angus Leeming  <leeming@lyx.org>
2622
2623         * lfuns.h:
2624         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2625         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2626
2627         * lyxfunc.C (getStatus, dispatch): define the actions for these
2628         lfuns. Little more than a cut and pste job from ControlDocument.C
2629
2630         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2631
2632 2004-03-30  Angus Leeming  <leeming@lyx.org>
2633
2634         * lfuns.h:
2635         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2636         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2637
2638         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2639         open/closed state of ollapsable insets. Usage:
2640
2641         all-inset-toggle <state> <name>, where
2642         <state> == "open" || "closed" || "toggle" and
2643         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2644
2645         * lyxtext.h, text2.C (toggleInset): removed.
2646
2647         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2648         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2649         now passes LFUN_INSET_TOGGLE to the found inset.
2650
2651         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2652         is now invoked as "all-insets-toggle toggle branch".
2653
2654 2004-03-30  Angus Leeming  <leeming@lyx.org>
2655
2656         * dociterator.C:
2657         * insetiterator.C:
2658         * pariterator.[Ch]: added/corrected header blurb.
2659
2660 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2661
2662         * dociterator.[Ch]: add an inset_ member
2663         (backwardPos): implemented
2664         (backwardPos, forwardPos): use inset_ when the stack is empty.
2665         (doc_iterator_begin, doc_iterator_end): implemented
2666         * pariterator.[Ch]: adjust, add begin, end
2667         * insetiterator.[Ch]: adjust, add begin, end
2668         * cursor.C:
2669         * document.C:
2670         * BufferView.C:
2671         * BufferView_pimpl.C:
2672         * CutAndPaste.C: adjust
2673
2674 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2675
2676         * buffer.C: increment file format to 232.
2677         * LaTeXFeatures.C: add bibtopic package.
2678         * bufferparams.[Ch]: param \use_bibtopic.
2679
2680         * lyxrc.[Ch]: add lyxrc bibtex_command
2681         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2682
2683         * buffer.C: increment file format to 231.
2684
2685 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2686
2687         * dociterator.C: implement forwardPar
2688         * iterators.[Ch]: remove, replaced by
2689         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2690         * BufferView.C:
2691         * BufferView_pimpl.C:
2692         * CutAndPaste.C:
2693         * buffer.C:
2694         * bufferview_funcs.C:
2695         * cursor.C:
2696         * lyxfind.C
2697         * lyxfunc.C
2698         * paragraph_funcs.C
2699         * toc.C:
2700         * Makefile.am: adjust
2701
2702 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2703
2704         * CutAndPaste.C (pasteSelection): fix 2 crashes
2705         (eraseSelection): fix a crash
2706         * paragraph_funcs.C: remove a warning
2707
2708 2004-03-28  Angus Leeming  <leeming@lyx.org>
2709
2710         * lfuns.h:
2711         * LyXAction.C (init): new LFUN_PRINT.
2712
2713         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2714
2715 2004-03-27  Angus Leeming  <leeming@lyx.org>
2716
2717         * lfuns.h:
2718         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2719
2720         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2721
2722 2004-03-27  Angus Leeming  <leeming@lyx.org>
2723
2724         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2725         insetlist always contains non-null pointers to insets.
2726
2727 2004-03-26  Angus Leeming  <leeming@lyx.org>
2728
2729         * src/BufferView_pimpl.C:
2730         * src/CutAndPaste.C:
2731         * src/buffer.C:
2732         * src/iterators.C:
2733         * src/output_plaintext.C:
2734         * src/outputparams.h:
2735         * src/paragraph_funcs.C:
2736         * src/rowpainter.C:
2737         * src/text.C:
2738         * src/text2.C:
2739         * src/frontends/controllers/ControlErrorList.C:
2740         * src/frontends/gtk/FileDialogPrivate.C:
2741         * src/frontends/gtk/GPainter.C:
2742         * src/frontends/gtk/GToolbar.C:
2743         * src/frontends/qt2/QRef.C:
2744         * src/mathed/math_scriptinset.C: squash compiler warnings.
2745
2746 2004-03-26  Angus Leeming  <leeming@lyx.org>
2747
2748         * ispell.C (LaunchIspell::start):
2749         * lyx_cb.C (AutoSaveBuffer::start):
2750         invoke run(DontWait) rather than runNonBlocking().
2751
2752 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2753
2754         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2755
2756 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2757
2758         * kbsequence.C (print): adjust
2759
2760         * kbmap.C (printKeySym): rename and change signature
2761         (printKey): use LyXKeySym::print()
2762
2763 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2764
2765         * undo.C: add using std::advance to compile for stlport
2766
2767 2004-03-24  Angus Leeming  <leeming@lyx.org>
2768
2769         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2770         it leads to a crash when no buffer is present.
2771
2772 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773             Martin Vermeer  <martin.vermeer@hut.fi>
2774
2775         * lyxfunc.C (dispatch):
2776         * bufferparams.C (readToken): use the new LColor::setColor
2777
2778         * LColor.[Ch] (setColor): new version that takes two strings as
2779         argument and creates a new color entry if necessary
2780
2781 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2782
2783         * buffer.C (makeLaTeXFile): if the main latex file that is
2784         processed is usually a subdocument of some master, then pretend
2785         for a while that it is actually the master
2786
2787 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2788
2789         * buffer.C (getLabelList):
2790         (getBibkeyList): use getMasterBuffer()
2791         (getMasterBuffer): new method. Returns the main document in the
2792         case where one is using included documents.
2793
2794 2004-03-25  André Pönitz  <poenitz@gmx.net>
2795
2796         * Makefile.am:
2797         * iterators.[Ch]:
2798         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2799
2800         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2801
2802         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2803         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2804
2805         * ParameterStruct.h: merge with ParagraphParameters
2806
2807         * lyxtext.h: remove LyXText::parOffset() and getPar()
2808
2809         * text3.C: Remove all 'manual' update calls. We do now one per user
2810         interaction which is completely sufficient.
2811
2812         * Bidi.C:
2813         * BufferView.[Ch]:
2814         * BufferView_pimpl.C:
2815         * FontIterator.[Ch]:
2816         * MenuBackend.C:
2817         * ParagraphParameters.[Ch]:
2818         * buffer.C:
2819         * buffer.h:
2820         * bufferlist.C:
2821         * cursor.[Ch]:
2822         * cursor_slice.[Ch]:
2823         * dociterator.[Ch]:
2824         * errorlist.[Ch]:
2825         * factory.C:
2826         * lfuns.h:
2827         * lyxfind.C:
2828         * lyxfunc.C:
2829         * output_docbook.[Ch]:
2830         * output_latex.[Ch]:
2831         * output_linuxdoc.[Ch]:
2832         * output_plaintext.[Ch]:
2833         * paragraph.[Ch]:
2834         * paragraph_funcs.[Ch]:
2835         * paragraph_pimpl.[Ch]:
2836         * rowpainter.C:
2837         * tabular.[Ch]:
2838         * text.C:
2839         * text2.C:
2840         * toc.C:
2841         * undo.[Ch]: adjust
2842
2843         * frontends/controllers/ControlDocument.C:
2844         * frontends/controllers/ControlErrorList.C:
2845         * frontends/controllers/ControlSpellchecker.C:
2846         * insets/inset.C:
2847         * insets/inset.h:
2848         * insets/insetbase.h:
2849         * insets/insetbibitem.C:
2850         * insets/insetbox.C:
2851         * insets/insetbranch.C:
2852         * insets/insetcaption.C:
2853         * insets/insetcharstyle.C:
2854         * insets/insetcharstyle.h:
2855         * insets/insetcollapsable.C:
2856         * insets/insetcollapsable.h:
2857         * insets/insetert.C:
2858         * insets/insetfloat.C:
2859         * insets/insetfoot.C:
2860         * insets/insetmarginal.C:
2861         * insets/insetnote.C:
2862         * insets/insetoptarg.C:
2863         * insets/insettabular.C:
2864         * insets/insettext.C:
2865         * insets/insettext.h:
2866         * insets/insetwrap.C:
2867         * mathed/math_mboxinset.C:
2868         * mathed/math_nestinset.C:
2869         * mathed/math_scriptinset.C:
2870         * mathed/math_scriptinset.h:
2871         * support/types.h:
2872
2873 2004-03-24  Angus Leeming  <leeming@lyx.org>
2874
2875         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2876         deal with any child processes that have finished but are waiting to
2877         communicate this fact to the rest of LyX.
2878
2879 2004-03-24  Angus Leeming  <leeming@lyx.org>
2880
2881         64-bit compile fixes.
2882
2883         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2884         (c-tor): pass lyx::pos_types rather than ints.
2885
2886         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2887         lyx::pos_type.
2888
2889         * text.C (Delete): compile fix.
2890         (getPar): ensure that function declaration is the same as that in
2891         the header file.
2892
2893 2004-03-23  Angus Leeming  <leeming@lyx.org>
2894
2895         * ispell.C (LaunchIspell):
2896         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2897         a boost::shred_ptr rather than a std::auto_ptr.
2898
2899 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2900
2901         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2902         handle LFUN_FILE_INSERT_*
2903
2904         * lyxrc.C (setDefaults, getDescription, output, read):
2905         * lyxrc.h: remove ps_command
2906
2907 2004-03-22  Angus Leeming  <leeming@lyx.org>
2908
2909         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2910         Ensure that error_handler is processed once only and that all data
2911         is saved before attempting to output any warning messages.
2912
2913         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2914
2915 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2916
2917         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2918
2919 2004-03-19  André Pönitz  <poenitz@gmx.net>
2920
2921         * cursor.[Ch] (reset): take main text inset as argument
2922
2923         * BufferView: adjust
2924         * BufferView_pimpl.C: adjust
2925
2926         * paragraph.[Ch]: fix completely broken operator=()
2927
2928 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2929
2930         * LColor.C (getFromLyXName): make sure that the color name is used
2931         as lowercase.
2932
2933 2004-03-17  Angus Leeming  <leeming@lyx.org>
2934
2935         * lfuns.h:
2936         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2937
2938         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2939         dialog and to kill a forked process.
2940
2941 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2942
2943         * text2.C (setCursorFromCoordinates): fix font problem
2944
2945 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2946
2947         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2948         bogus "rebuild cursor" code
2949
2950 2004-03-11  André Pönitz  <poenitz@gmx.net>
2951
2952         * buffer.[Ch]: use InsetText instead of LyXText as container for
2953         the main lyx text.
2954
2955         * dociterator.[Ch]: drop the BufferView * member which is not needed
2956         anymore after the change to buffer.C
2957
2958         * paragraph_funcs.C:
2959         * text.C:
2960         * text2.C:
2961         * BufferView.[Ch]:
2962         * BufferView_pimpl.[Ch]:
2963         * cursor.[Ch]:
2964         * cursor_slice.[Ch]: adjust
2965
2966         * text3.C: fix bug in mathDispatch
2967
2968 2004-03-08  André Pönitz  <poenitz@gmx.net>
2969
2970         * undo.[Ch]: use 'StableDocumentIterator' as base for
2971         the Undo struct.
2972
2973 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2974
2975         * LaTeXFeatures.C:
2976         * bufferparams.[Ch]: add jurabib support and param.
2977
2978         * LaTeX.C: add FIXME/comment.
2979
2980 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2981
2982         * buffer.C: increment file format to 230.
2983
2984 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2985
2986         * cursor.C (dispatch): avoid infinite loops
2987
2988 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2989
2990         * rowpainter.C (paintSelection): fix x coordinates
2991
2992 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2993
2994         * text.C (rowBreakPoint): fix breaking before displayed insets
2995
2996 2004-03-01  André Pönitz  <poenitz@gmx.net>
2997
2998         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2999
3000         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3001
3002         * Makefile.am:
3003         * BufferView.C:
3004         * BufferView_pimpl.C:
3005         * buffer.C:
3006         * lyxfind.C:
3007         * lyxfunc.C:
3008         * text.C:
3009         * text2.C:
3010         * text3.C: adjust
3011
3012 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3013
3014         * lyxtext.h:
3015         * text.C:
3016         * text2.C:
3017         * rowpainter.C:
3018         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3019         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3020
3021 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3022
3023         * Bidi.[Ch] (computeTables): const correctness
3024         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3025         fill_hfill, fill_label_hfill and x from Row
3026         * lyxtext.h: prepareToPrint returns a RowMetrics
3027         * rowPainter.C: adjust
3028         * text.C (prepareToPrint): use width, not textWidth. adjust
3029         (redoParagraphInternal, cursorX): adjust
3030         * text2.C (getColumnNearX): adjust
3031         (init): put a default value to the top LyXText::width
3032
3033 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3034
3035         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3036
3037 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3038
3039         * lyxtext.h: add FontIterator class
3040
3041         * text.C (FontIterator, operator*, operator->, operator++): add
3042         (rowBreakPoint, setRowWidth): adjust (fixing a
3043         rebreaking bug)
3044
3045 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3046
3047         * BufferView_pimpl.C (workAreaDispatch): allow also
3048         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3049
3050 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3051
3052         * text.C (rowBreakPoint): fix a bug showing with very large insets
3053
3054 2004-02-25  André Pönitz  <poenitz@gmx.net>
3055
3056         * text3.C:
3057         * cursor.[Ch]: move some mathed specific code to mathed
3058
3059 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3060
3061         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3062         use_tempdir in preferences
3063         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3064         tempfile creation
3065         * lyx_main.C: ensure that tempdir is valid
3066         * lyxlex.h: correct typo
3067         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3068         * paragraph.[Ch] (isMultiLingual): make const
3069         * cursor.[Ch] (openable): make const
3070
3071 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3072
3073         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3074
3075 2004-02-20  André Pönitz  <poenitz@gmx.net>
3076
3077         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3078
3079         * cursor.[Ch]: prepare for localized getStatus()
3080
3081         * lyxtext.h:
3082         * tabular.C:
3083         * text.C:
3084         * text2.C:
3085         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3086
3087 2004-02-20  André Pönitz  <poenitz@gmx.net>
3088
3089         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3090
3091 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3092
3093         * text2.C (setCursorFromCoordinates): switch to absolute coords
3094         (cursorUp): adjust
3095         (cursorDown): adjust
3096         * text3.C (dispatch): adjust
3097
3098 2004-02-16  André Pönitz  <poenitz@gmx.net>
3099
3100         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3101           insets/ChangeLog)
3102
3103         * cursor_slice.[Ch]: remove unneeded acessor function
3104
3105         * lyxtext.h: rename rtl() to isRTL()
3106
3107         * rowpainter.C:
3108         * tabular.C:
3109         * text.C:
3110         * text2.C:
3111         * text3.C: adjust
3112
3113 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3114
3115         * rowpainter.C (paintSelection): coord fix
3116
3117 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3118
3119         * Spacing.C: compile fix
3120
3121 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3122
3123         * cursor.C (dispatch): restore current_ before returning
3124
3125 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * text2.C (cursorUp, cursorDown): fix coords
3128         (moveUp): fix crash
3129
3130 2004-02-12  André Pönitz  <poenitz@gmx.net>
3131
3132         * lyxtext.h:
3133         * text.C:
3134         * text2.C:
3135         * text3.C: add LCursor & parameter to most cursor movement functions
3136           remove usage of LyXText::cursorRow() and cursorPar()
3137
3138         * cursor.[Ch]: add textRow() needed members
3139
3140         * BufferView.C:
3141         * BufferView_pimpl.C:
3142         * paragraph.[Ch]:
3143         * BufferView.C:
3144         * BufferView_pimpl.C: adjust
3145
3146 2004-02-11  André Pönitz  <poenitz@gmx.net>
3147
3148         * lyxfunc.C:
3149         * BufferView.[Ch]:
3150         * BufferView_pimpl.C: shift undo/redo handling
3151
3152         * cursor.[Ch]: fix mathed crash
3153
3154         * lyxfind.C:
3155         * lyxtext.h: move selectionAsText to LCursor
3156
3157         * output_latex.C:
3158         * paragraph.C:
3159         * text.C:
3160         * text2.C:
3161         * text3.C: adjust
3162
3163         * rowpainter.C: fix excessive drawing
3164
3165 2004-02-06  André Pönitz  <poenitz@gmx.net>
3166
3167         * BufferView.[Ch]:
3168         * BufferView_pimpl.[Ch]:
3169         * text3.C: move some text specific LFUN handling
3170
3171 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3172
3173         * text3.C (checkInsetHit): adjust coords
3174         * text2.C (getColumnNearX): adjust coords
3175         (edit): adjust coords
3176         * text.C (getRowNearY): add two asserts
3177
3178 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3179
3180         * converter.C:
3181         * format.C: add using std::distance to compile on gcc 2.95/stlport
3182
3183 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3184
3185         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3186
3187 2004-02-04  André Pönitz  <poenitz@gmx.net>
3188
3189         * BufferView.[Ch] (insertInset):
3190         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3191
3192         * text2.C:
3193         * text3.C: adjust
3194
3195 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3196
3197         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3198         on the default clause of the switch
3199         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3200         wasn't catched by LCursor::dispatch
3201
3202 2004-02-03  André Pönitz  <poenitz@gmx.net>
3203
3204         * BufferView.C:
3205         * cursor.[Ch]: some additional asserts
3206
3207         * undo.[Ch]: remove LyXText dependency in interface
3208
3209         * lyxfunc.C: adjust
3210
3211         * lyxtext.h (firstPar, lastPar): remove dead functions
3212
3213         * text.C:
3214         * text2.C:
3215         * text3.C:
3216         * paragraph.[Ch]: adjust
3217
3218 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3219
3220         * lyxfind.C (find): fix argument order in call to ::find
3221
3222 2004-02-02  André Pönitz  <poenitz@gmx.net>
3223
3224         * cursor.[Ch]: remove direct access to anchor
3225
3226         * text.C: remove findText() hack
3227
3228 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3229
3230         * iterators.[Ch] (lockPath): remove in favour of...
3231         * BufferView.[Ch] (setCursor): this addition
3232         * BufferView.C (putSelectionAt): adjust
3233         * undo.C (performUndoOrRedo): adjust
3234         * lyxfunc.C (dispatch): adjust
3235
3236 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3237
3238         * iterators.C (lockPath): add a missing slice
3239         * undo.C (performUndoOrRedo): remove redundant positioning code
3240
3241 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3242
3243         * vc-backend.C (scanMaster): ";" -> ';'
3244
3245 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3246
3247         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3248         std::binary_function
3249
3250         * lyxtextclass.C (compare_name): rename to...
3251         (LayoutNamesEqual): ...this
3252
3253         * lyxlex_pimpl.C (compare_tags): inherit from
3254         std::binary_function, put back into anon namespace
3255
3256         * lyxfind.C (MatchString): inherig from std::binary_function
3257         (findChange): use empty() istead of !size()
3258
3259         * format.C (FormatNamesEqual): new functor
3260         (getFormat): use it
3261         (getNumber): use it
3262         (add): use it
3263         (erase): use it
3264         (setViewer): use it
3265
3266         * converter.C (compare_Converter): rename to...
3267         (ConverterEqual): ...this, and fixup a bit.
3268         (getConverter): use it, and make function const
3269         (getNumber): use it, and make function const
3270         (add): use it
3271         (erase): use it:
3272
3273         * bufferlist.C: add using boost::bind
3274
3275         * MenuBackend.C (MenuNamesEqual): new functor
3276         (hasMenu): use it, and make function const
3277         (hasSubmenu): use nested bind to get rid of compare_memfun.
3278
3279 2004-01-30  André Pönitz  <poenitz@gmx.net>
3280
3281         * BufferView_pimpl.C:
3282         * cursor.C:
3283         * cursor.h:
3284         * cursor_slice.[Ch]:
3285         * lyxfunc.C:
3286         * lyxtext.h:
3287         * paragraph_funcs.C:
3288         * paragraph_funcs.h:
3289         * rowpainter.C:
3290         * text.C:
3291         * text2.C:
3292         * text3.C: move some of the edit(x,y) handling to the insets
3293         some coordinate changes.
3294
3295 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3296
3297         * text.C: add using statements for std::advance and std::distance
3298
3299         * paragraph.C: add using statement for std::distance
3300
3301         * lyxfind.C: add using statement for std::advance
3302
3303         * cursor.C (region): remove std:: from swap
3304         (openable): use nucleus in stead of operator->
3305
3306         * BufferView.C: add using statements for std::distance and std::swap
3307
3308 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3309
3310         * iterators.C: Remove the pimple, move the needed structures to
3311         the header file. Create accessor for the positions stack.
3312         (asPosIterator): remove function
3313
3314         * PosIterator.C (PosIterator): move constructors to top of file
3315         (PosIterator): reimplement the constructor taking a ParIterator in
3316         terms of setFrom.
3317         (setFrom): new function
3318         (operator!=): inline it
3319
3320 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3321
3322         * lyxfind.C (replaceAll): use std::advance
3323
3324         * iterators.h: inherit from std::iterator.
3325
3326         * PosIterator.C (advance, distance): remove
3327         * PosIterator.h: interit from std::iterator.
3328
3329 2004-01-26  André Pönitz  <poenitz@gmx.net>
3330
3331         * BufferView.[Ch]:
3332         * BufferView_pimpl.[Ch]:
3333         * InsetList.[Ch]:
3334         * PosIterator.[Ch]:
3335         * buffer.h:
3336         * bufferview_funcs.C:
3337         * cursor.[Ch]:
3338         * cursor_slice.h:
3339         * factory.[Ch]:
3340         * iterators.[Ch]:
3341         * lyxfind.C:
3342         * lyxfunc.C:
3343         * lyxtext.h:
3344         * output_docbook.C:
3345         * output_latex.C:
3346         * output_linuxdoc.C:
3347         * output_plaintext.C:
3348         * paragraph.[Ch]:
3349         * paragraph_funcs.[Ch]:
3350         * paragraph_pimpl.[Ch]:
3351         * rowpainter.C:
3352         * tabular.C:
3353         * tabular.h:
3354         * text.C:
3355         * text2.C:
3356         * text3.C: more IU:  dumps most of the rest of the mathcursor
3357     implementation into cursor.[Ch]; "globalize" a bit of it.
3358
3359 2004-01-25  Angus Leeming  <leeming@lyx.org>
3360
3361         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3362
3363 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3364
3365         * LaTeXFeatures.h: add nice_ and nice() const
3366         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3367
3368 2004-01-20  André Pönitz  <poenitz@gmx.net>
3369
3370         * BufferView.[Ch]:
3371         * BufferView_pimpl.C:
3372         * PosIterator.C:
3373         * bufferview_funcs.C:
3374         * cursor.[Ch]:
3375         * cursor_slice.[Ch]:
3376         * factory.C:
3377         * iterators.C:
3378         * lyx_cb.C:
3379         * lyxfind.C:
3380         * lyxfunc.C:
3381         * lyxtext.h:
3382         * rowpainter.C:
3383         * text.C:
3384         * text2.C:
3385         * text3.C:
3386         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3387           LCursor and mathcursor parts to LCursor and InsetBase.
3388
3389 2004-01-15  André Pönitz  <poenitz@gmx.net>
3390
3391         * cursor_slice.[Ch]: add a few covienience functions
3392
3393         * funcrequest.[Ch]: remove BufferView * member
3394
3395         * BufferView_pimpl.C:
3396         * cursor.C:
3397         * factory.[Ch]:
3398         * lyxfind.[Ch]:
3399         * lyxfunc.C:
3400         * lyxtext.h:
3401         * text3.C:
3402         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3403
3404 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3405
3406         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3407         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3408
3409 2004-01-13  André Pönitz  <poenitz@gmx.net>
3410
3411         * textcursor.[Ch]:
3412         * lyxtext.h: hide cursor and selection anchor behind accessor function
3413
3414         * BufferView.C:
3415         * BufferView_pimpl.[Ch]:
3416         * PosIterator.C:
3417         * bufferview_funcs.C:
3418         * cursor.h:
3419         * lyxfind.C:
3420         * lyxfunc.C:
3421         * text.C:
3422         * text2.C:
3423         * text3.C:
3424         * undo.C: adjust
3425
3426         * cursor.h:
3427         * cursor_slice.[Ch]: some integer type changes for inset unification
3428
3429         * lyxcursor.[hC]: remove, it's CursorSlice now.
3430
3431         * Makefile.am:
3432         * BufferView_pimpl.[Ch]:
3433         * bufferview_funcs.C:
3434         * cursor_slice.C:
3435         * lyxtext.h:
3436         * text.C:
3437         * text2.C:
3438         * text3.C:
3439         * textcursor.[Ch]: adjust
3440
3441 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3442
3443         * text2.C (undoSpan): add and use
3444         * text.C (breakParagraph): use undoSpan (fix bug 578)
3445         * lyxtext.h: adjust
3446
3447 2004-01-08  Angus Leeming  <leeming@lyx.org>
3448
3449         * BufferView_pimpl.C (MenuInsertLyXFile):
3450         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3451         * lyxfunc.C (menuNew, open, doImport):
3452         FileFilterList change to the FileDialog open and save functions.
3453
3454 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3455
3456         * ShareContainer.h: make isEqual and isUnique adaptable
3457
3458         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3459
3460 2004-01-07  Angus Leeming  <leeming@lyx.org>
3461
3462         * LyXAction.C:
3463         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3464
3465         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3466
3467         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3468         functions replacing find, replace and replaceAll.
3469
3470         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3471         LFUN_WORDFIND(FORWARD|BACKWARD).
3472
3473 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3474
3475         * text.C (breakParagraph): remove an outdated #warning
3476
3477 2004-01-07  André Pönitz  <poenitz@gmx.net>
3478
3479         * lyxfind.C: somewhat clearer logic
3480
3481         * text.C: prevent crash in cursorX on unitialized row cache
3482
3483 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * lyxcursor.[Ch] (operator>): add
3486         * textcursor.C (selStart, selEnd): use std::min and std::max
3487
3488 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3489
3490         * Chktex.C: include boost/format.hpp
3491
3492 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3493
3494         * InsetList.C: replace functor MathcIt with adaptable functor
3495         InsetTablePosLess
3496         (insetIterator): modify accordingly
3497
3498         * BranchList.h: move the BranchNamesEqual functor here from...
3499         * BranchList.C: ... to here
3500
3501         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3502         SameName and match.
3503         (add): replace a finding loop with std::find_if.
3504
3505 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3506
3507         * output_docbook.C: moving LatexParam functionality into
3508         .layout files
3509
3510 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3511
3512         * buffer.C: increment format to 229.
3513
3514 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3515
3516         * LaTeXFeatures.C:
3517         * lyx_sty.[Ch]: remove minipageindent_def
3518
3519         * LyXAction.C:
3520         * factory.C:
3521         * lfuns.h:
3522         * lyxfunc.C:
3523         * text3.C: remove LFUN_INSET_MINIPAGE
3524
3525 2003-12-28  Angus Leeming  <leeming@lyx.org>
3526
3527         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3528
3529 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * text2.C (setParagraph): fix off-by-one crash
3532
3533 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3534
3535         * output_docbook.C: header stuff for AGU
3536
3537 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3538
3539         * text2.C (redoCursor): remove
3540         * text.C:
3541         * text3.C:
3542         * BufferView_pimpl.C: remove calls to redoCursor and
3543         setCursor(cursor.par(), cursor.pos()) all around
3544
3545 2003-12-15  Angus Leeming  <leeming@lyx.org>
3546
3547         * buffer.C: up the format to 228.
3548
3549 2003-12-15  André Pönitz  <poenitz@gmx.net>
3550
3551         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3552         slices
3553
3554         * Makefile.am:
3555
3556         * BufferView_pimpl.C:
3557         * cursor.[Ch]:
3558         * lyxcursor.[Ch]:
3559         * rowpainter.[Ch]:
3560         * lyxtext.h:
3561         * text.C:
3562         * text2.C:
3563         * text3.C: adjust
3564
3565 2003-12-15  Angus Leeming  <leeming@lyx.org>
3566
3567         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3568         than getFromGUIName to manipulate the color.
3569
3570 2003-12-14  Angus Leeming  <leeming@lyx.org>
3571
3572         * BranchList.[Ch]: minimize the API.
3573         (Branch::getBranch, getColor): now return a 'const &'.
3574         (Branch::setSelected) now returns a bool set to true if the
3575         selection status changes.
3576         (BranchList::clear, size, getColor, setColor, setSelected,
3577         allBranches, allSelected, separator): removed.
3578         (BranchList::find): new functions, returning the Branch with
3579         the given name.
3580         (BranchList::add, remove): return a bool indicating that
3581         the operation was successful.
3582
3583         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3584         new InsetBranch::isBranchSlected member function.
3585
3586         * LColor.[Ch]: mimimize the API.
3587         (fill): renamed as addColor and made private.
3588         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3589         versions of these functions taking a string arg have been removed.
3590
3591         * bufferparams.C (readToken):
3592         * lyxfunc.C (dispatch):
3593         * lyxrc.C (read): changes due to the altered BranchList and
3594         LColor APIs.
3595
3596         * factory.C (createInset, readInset): changes due to altered
3597         InsetBranch c-tor.
3598
3599 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3600
3601         * factory.C:
3602         * lyxfunc.C: remove insetminipage. "minipage-insert"
3603         now produces a frameless minipage box inset.
3604
3605 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3606
3607         * textcursor.[Ch] (selStart,selEnd): add new methods
3608         remove selection::start, end, use LyXCursor::operator<
3609         * lyxcursor.[Ch] (operator<): add
3610         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3611         * BufferView.[Ch] (unsetXSel): add
3612         * text2.C (clearSelection): use unsetXSel,adjust
3613         * text.C: adjust
3614         * text3.C: adjust
3615         * rowpainter.C: adjust
3616         * bufferview_funcs.C (put_selection_at): adjust
3617
3618 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3619
3620         * BufferView_pimpl.C: small coord. correction
3621
3622 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3623
3624         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3625         dragging over the splash screen.
3626
3627 2003-12-11  Angus Leeming  <leeming@lyx.org>
3628
3629         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3630         as it is now handled in LyXText::dispatch.
3631
3632         * text3.C (doInsertInset): remove a level of nesting.
3633
3634 2003-12-11  Angus Leeming  <leeming@lyx.org>
3635
3636         * factory.C (createInset): changes due to the changed interface to
3637         InsetCommandMailer::string2params.
3638
3639 2003-12-10  Angus Leeming  <leeming@lyx.org>
3640
3641         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3642         'dialog-show-new-inset <inset name>'
3643
3644 2003-12-10  Angus Leeming  <leeming@lyx.org>
3645
3646         * buffer.C: up the format to 227.
3647
3648         * factory.C: the box inset is now identified simply by 'Box'.
3649
3650 2003-12-10  Angus Leeming  <leeming@lyx.org>
3651
3652         * buffer.C: up the format to 226.
3653
3654         * factory.C: the note inset is now identified simply by 'Note'.
3655
3656 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3657
3658         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3659         when a pit is enough. Standarize a couple of loops.
3660
3661 2003-12-05  Angus Leeming  <leeming@lyx.org>
3662
3663         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3664         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3665         data to the re-worked "log" dialog.
3666
3667 2003-12-03  André Pönitz  <poenitz@gmx.net>
3668
3669         * PosIterator.C:
3670         * iterators.C:
3671         * lyxtext.h:
3672         * output_latex.C:
3673         * paragraph_funcs.C:
3674         * text.C:
3675         * text2.C: use Inset::getText instead of Inset::getParagraph
3676
3677 2003-12-03  André Pönitz  <poenitz@gmx.net>
3678
3679         * buffer.[Ch]:
3680         * lyxtext.h:
3681         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3682         InsetText::read() as LyXText::read()
3683
3684 2003-12-02  Angus Leeming  <leeming@lyx.org>
3685
3686         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3687         type. Add a comment in the implementation that the function uses
3688         the stream's bad() function rather than fail() as the std::streams
3689         would do.
3690
3691 2003-12-02  André Pönitz  <poenitz@gmx.net>
3692
3693         * lyxlex.[Ch]: make interface more similar to std::stream
3694
3695         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3696
3697 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3698
3699         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3700
3701 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3702
3703         * vspace.[Ch]: remove VSpace::NONE
3704
3705 2003-12-01  André Pönitz  <poenitz@gmx.net>
3706
3707         * buffer.[Ch]:
3708         * lyxtext.h: move ParagraphList member to LyXText
3709         rename LyXText::ownerParagraphs to LyXText::paragraph
3710
3711         * CutAndPaste.C:
3712         * bufferview_funcs.C:
3713         * iterators.[Ch]:
3714         * lyx_cb.C:
3715         * paragraph.C:
3716         * rowpainter.C:
3717         * tabular.C:
3718         * text.C:
3719         * text2.C:
3720         * text3.C: adjust
3721
3722         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3723
3724         * undo.C: fix cursor positioning
3725
3726 2003-12-01  John Levon  <levon@movementarian.org>
3727
3728         * BufferView_pimpl.C: fix a crash on exit with
3729         a buffer open
3730
3731 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3732
3733         * BranchList.C: fix setSelected() method.
3734
3735 2003-11-28  André Pönitz  <poenitz@gmx.net>
3736
3737         * ParagraphParameters.[Ch]:
3738         * ParameterStruct.h: remove space above/below from Paragraph to
3739          InsetVSpace
3740
3741         * BufferView_pimpl.C:
3742         * factory.C:
3743         * lyxfunc.C:
3744         * lyxtext.h:
3745         * output_latex.C:
3746         * paragraph.C:
3747         * paragraph_funcs.C:
3748         * rowpainter.[Ch]:
3749         * text.C:
3750         * text2.C:
3751         * text3.C: adjust
3752
3753 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3754
3755         * factory.C: Syntax change for CharStyles
3756
3757 2003-11-28  André Pönitz  <poenitz@gmx.net>
3758
3759         * BufferView.[Ch]:
3760         * BufferView.[Ch]:
3761         * buffer.[Ch]:
3762         * buffer.[Ch]: move LyXText member
3763
3764 2003-11-28  André Pönitz  <poenitz@gmx.net>
3765
3766         * BufferView.[Ch]: make LyXText * text a private member
3767
3768         * BufferView_pimpl.C:
3769         * cursor.C:
3770         * iterators.C:
3771         * lyx_cb.C:
3772         * lyxfind.C:
3773         * lyxtext.h:
3774         * rowpainter.[Ch]:
3775         * text.C:
3776         * text2.C:
3777         * undo.C: adjust
3778
3779         * output_plaintext.C: cleanup
3780
3781 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3782
3783         * buffer.C:
3784         * lyxtextclass.[Ch]: parametrize SGML document header
3785
3786 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3787
3788         * converter.[Ch]:
3789         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3790         getFlavor().
3791
3792 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3793
3794         * text2.C (setFont): rework using PosIterator (no more recursive)
3795         (setCharFont): no more needed
3796         (setLayout): no more selection cursors fiddling (done by redoCursor)
3797         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3798         destroy remaining ones)
3799
3800 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3801
3802         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3803         * lyxtext.h: ditto
3804         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3805         selection cursors
3806         * lyxfunc.C: adjust
3807         * text3.C: adjust + re-allow multi par depth changes
3808         * textcursor.C: simplify a bit
3809
3810 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3811
3812         * src/buffer.C:
3813         * src/lyxlayout.C:
3814         * src/lyxlayout.h:
3815         * src/lyxtext.h:
3816         * src/output_docbook.C:
3817         * src/output_latex.C:
3818         * src/paragraph.C:
3819         * src/paragraph.h:
3820         * src/sgml.C:
3821         * src/sgml.h:
3822         * src/text2.C: Introducing a number of tags parametrizing various
3823         XML formats that we may want to support
3824
3825 2003-11-25  André Pönitz  <poenitz@gmx.net>
3826
3827         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3828
3829         * lyxtext.h (leftMargin/rightMargin): simplify interface
3830
3831         * rowpainter.C:
3832         * text.C:
3833         * text2.C:
3834         * text3.C: adjust
3835
3836 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3837
3838         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3839         master file to any child files. Fixes bug 546.
3840
3841 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3842
3843         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3844
3845 2003-11-24  André Pönitz  <poenitz@gmx.net>
3846
3847         * rowpainter.C: simplification
3848
3849         * text2.C (updateCounters): remove call to redoParagraph on
3850         changed labels as this is far too expensive.
3851
3852 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3853
3854         * converter.C (convert): fix a crash: this function gets
3855         called with buffer == 0 from importer code.
3856
3857 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3858
3859         * text3.C (cursorPrevious): make sure that we do not compare
3860         iterators form different containers.
3861         (cursorNext): ditto
3862
3863         * rowpainter.C (paintSelection): make sure that we do not compare
3864         iterators from different containers.
3865
3866         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3867         iterators from different ParagraphList containers.
3868         [NEXT] ditto
3869
3870         * text2.C (LyXText): change order of initialization slightly
3871         (operator=): new function. copy all variables except cache_par_
3872         (moveUp): make sure that we do not compare iterators from
3873         different ParagraphList constainers.
3874         (moveDown): ditto
3875
3876         * text.C (firstPar): new function
3877         (lastPar): new function
3878         (endPar): new function
3879
3880         * lyxtext.h: move things around and group public functions, public
3881         variables, private functions, private variables
3882
3883 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3884
3885         * factory.C: change call to InsetERT constructor to avoid
3886         additional invocation of method status
3887         * text2.C (toggleInset): remove redundant update() call
3888         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3889         instead of a Bufferview pointer
3890
3891 2003-11-21  André Pönitz  <poenitz@gmx.net>
3892
3893         * rowpainter.C: simplification
3894
3895 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * text3.C (dispatch): make possible to extend a word/row selection
3898         with the mouse
3899
3900 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * lyxtext.h: x0_,y0_ -> xo_,yo_
3903         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3904         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3905         * rowpainter.C (paintRows): paint full paragraphs
3906
3907 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3908
3909         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3910         screen coordinates)
3911
3912 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3913
3914         * lyxtext.h: add x0_, y0_
3915         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3916         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3917
3918 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3919
3920         * text2.C (setCursorIntern): move the x_target update here *
3921         * text3.C: change some bv() to true/false in calls to
3922         cursorUp/Down/Right/Left
3923         * cursor.C: use helper function.
3924
3925 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3926
3927         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3928         * paragraph_funcs.[Ch]: correct comment
3929         * rowpainter.C: do not paint selections away from bv->cursor()
3930         Fix a long standing selection painting bug.
3931         * text3.C: generalize mouse-selection code to LyXTexts other that
3932         top one
3933         * textcursor.C: do not use y coords if we can use par offsets
3934
3935 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3938         cursor position after e.g. inset insert)
3939
3940 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3941
3942         * lyxfind.C (replace): adjust to locking removal + some
3943         code simplification
3944
3945 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3946
3947         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3948         of the path
3949
3950 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3951
3952         * lyxlayout.[Ch]:
3953         * output_docbook.C: XML sanitation: new layout
3954         parameters InnerTag and CommandDepth
3955
3956 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3957
3958         * BufferView_pimpl.C:
3959         * factory.C:
3960         * text3.C: Fix the insertion and modification of button-style
3961         insets
3962
3963 2003-11-13  André Pönitz  <poenitz@gmx.net>
3964
3965         * InsetList.[Ch]: remove deleteLyXText
3966
3967         * paragraph.[Ch]: cache beginOfBody position
3968
3969         * Bidi.C:
3970         * text.C:
3971         * text2.C:
3972         * text3.C: remove superfluous update() calls
3973
3974         * vspace.C: cleanup
3975
3976 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3977
3978         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3979         * BufferView.C (fitLockedInsetCursor): remove
3980         * cursor.[Ch] (getDim): add
3981         * text.C (getRowNearY): add faster version
3982         * text3.C: remove some update calls
3983
3984 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3985
3986         * LaTeXFeatures.C:
3987         * LyXAction.C:
3988         * MenuBackend.C:
3989         * MenuBackend.h:
3990         * dispatchresult.h:
3991         * factory.C:
3992         * lfuns.h:
3993         * lyxfunc.C:
3994         * lyxtextclass.C:
3995         * lyxtextclass.h:
3996         * text3.C: The Character Style /XML short element patch.
3997
3998 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3999
4000         * text3.C:
4001         * factory.C: Small step to solving 'unable to insert some insets'
4002         problem
4003
4004 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4005
4006         * cursor.[Ch] (updatePos): new function for updating the y
4007         position of the tip inset
4008         * bufferview_funcs.C (put_selection_at):
4009         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4010
4011 2003-11-11  André Pönitz  <poenitz@gmx.net>
4012
4013         * text.C: remove big comment on invalid Paragraph pointers as it is
4014         not valid anymore
4015
4016 2003-11-11  André Pönitz  <poenitz@gmx.net>
4017
4018         * text_funcs.[Ch]: merge with ...
4019
4020         * text.C: ... this
4021
4022         * lyxtext.h:
4023         * text2.C:
4024         * text3.C: adjust
4025
4026         * Makefile.am: remove text_funcs.[Ch]
4027
4028 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4029
4030         * cursor.C (getPos): return absolute cached y coord
4031
4032         * BufferView_pimpl.C (fitCursor): new simplistic code
4033         (workAreaDispatch): add a fitCursor call
4034
4035 2003-11-10  André Pönitz  <poenitz@gmx.net>
4036
4037         * BufferView.[Ch]:
4038         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4039
4040 2003-11-10  André Pönitz  <poenitz@gmx.net>
4041
4042         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4043         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4044         indicate that the cursor needs to leave an inset
4045
4046         * lyxtext.h: remove inset locking
4047
4048         * cursor.[Ch]: re-implement functionality provided by inset locking
4049
4050         * BufferView.[Ch]:
4051         * BufferView_pimpl.[Ch]:
4052         * LyXAction.C:
4053         * bufferview_funcs.[Ch]:
4054         * factory.C:
4055         * funcrequest.[Ch]:
4056         * iterators.C:
4057         * lyx_cb.C:
4058         * lyxfind.C:
4059         * lyxfunc.C:
4060         * text.C:
4061         * text2.C:
4062         * text3.C:
4063         * undo.C: adjust
4064
4065 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4066
4067         * PosIterator.[Ch]: replace the stack with a vector, add inset
4068         accesor
4069         * iterators.[C]: adjust
4070
4071 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4072
4073         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4074         replaced
4075         * paragraph_funcs.C (readParToken): put the correct id in the
4076         error item, not the id of the top paragraph
4077
4078 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4079
4080         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4081         * bufferview_funcs.C (put_selection_at): use the above
4082
4083 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4084
4085         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4086
4087 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4088
4089         * output_linuxdoc.h:
4090         * output_plaintext.h:
4091         * output.h:
4092         * output_docbook.h: add #include statements
4093
4094 2003-11-05  José Matos  <jamatos@lyx.org>
4095
4096         * output_docbook.[Ch]:
4097         * output_latex.[Ch]:
4098         * output_linuxdoc.[Ch]:
4099         * output_plaintext.[Ch]: New files for output formats.
4100         * output.[Ch]: New file for helper functions.
4101
4102         * buffer.[Ch]:
4103         * paragraph_funcs.[Ch]: output functions moved to new files.
4104
4105         * outputparams.h: rename of latexrunparams.h
4106
4107         * LaTeX.[Ch]:
4108         * buffer.[Ch]:
4109         * bufferlist.[Ch]:
4110         * converter.[Ch]:
4111         * exporter.C:
4112         * paragraph.[Ch]:
4113         * paragraph_funcs.[Ch]:
4114         * paragraph_pimpl.[Ch]:
4115         * tabular.[Ch]: rename ascii to plaintext
4116         and LatexRunParams to OutputParams.
4117
4118 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * iterators.[Ch] (text): require bv argument
4121         * undo.C (recordUndo):
4122         * lyxfunc.C (dispatch):
4123         * bufferview_funcs.C (put_selection_at): adjust
4124
4125 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4126
4127         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4128
4129 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4130
4131         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4132         nestings
4133
4134 2003-11-04  André Pönitz  <poenitz@gmx.net>
4135
4136         * cursor.[Ch]: restructure
4137
4138         * BufferView.[Ch]:
4139         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4140
4141         * iterators.[Ch] (asCursor): remove
4142
4143         * lfuns.h: remove LFUN_INSET_EDIT
4144
4145         * lyxfunc.C:
4146         * tabular.C:
4147         * text.C:
4148         * text2.C:
4149         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4150
4151 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * lyxfind.[Ch]: complete overhaul
4154         * BufferView_pimpl.C:
4155         * lyxfunc.C: adjust
4156         * paragraph.[Ch] (insert): add
4157
4158 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4159
4160         * BufferView.[Ch]:
4161         * lyxtext.h:
4162         * text.C: remove dead spellcheck code
4163
4164 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4165
4166         * dispatchresult.h: add a val setter
4167
4168         * cursor.C (dispatch): use a tempvar for data_[i]
4169
4170 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * PosIterator.[Ch]: compile fix
4173
4174 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4175
4176         * text.C (cursorPar): deactivate the cursor cache
4177
4178 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4179
4180         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4181
4182 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * text3.C (dispatch): adjust for new DisptchResult semantics.
4185
4186         * lyxfunc.C (dispatch): handle update when return from
4187         Cursor::dispatch, adjust for new DispatchResult semantics.
4188
4189         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4190         DispatchResult(true) mean to not update. Add class functions for
4191         setting dispatched and update, as well as reading.
4192
4193         * cursor.C (dispatch): don't handle update here
4194
4195 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4198         * trans_mgr.C: adjust
4199
4200         * paragraph_funcs.C (readParToken): exception safety
4201
4202         * lyxvc.h: store the vcs pointer in a scoped_ptr
4203         * lyxvc.C: adjust
4204
4205         * lyxsocket.C (serverCallback): exception safety
4206
4207         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4208
4209         * ispell.C (clone): make it return a auto_ptr
4210
4211         * factory.C (createInset): exception safety
4212         (readInset): exception safety
4213
4214         * bufferlist.C (newBuffer): exception safety
4215
4216         * Thesaurus.C (Thesaurus): use initialization for aik_
4217
4218         * MenuBackend.C (expandToc): exception safety.
4219
4220 2003-11-03  André Pönitz  <poenitz@gmx.net>
4221
4222         * buffer.C:
4223         * buffer.h:
4224         * bufferview_funcs.C: remove getInsetFromId()
4225
4226         * lyxcursor.[Ch]:
4227         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4228
4229         * lyxfunc.C:
4230         * text2.C:
4231         * text3.C: adjust
4232
4233 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * PosIterator.C (distance, advance): new
4236         * bufferview_funcs.[Ch] (put_selection_at): new
4237         * iterators.[Ch] (lockPath): new
4238
4239 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * iterators.[Ch] (asPosIterator): added
4242         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4243         * PosIterator.[Ch]: added
4244
4245 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * text3.C:
4248         * lyxfunc.C:
4249         * cursor.C (dispatch):
4250         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4251
4252         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4253         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4254         contructor, add a class function dispatched. Remove operator>=
4255
4256 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * debug.C: only use the default constructor for debugstream
4259         (lyxerr) here.
4260
4261         * main.C (main): include debug.h and setup the lyxerr streambuf
4262         here.
4263
4264 2003-10-31  José Matos  <jamatos@lyx.org>
4265
4266         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4267
4268         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4269         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4270         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4271         * paragraph_pimpl.C (simpleTeXSpecialC):
4272         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4273         add LatexRunParams argument.
4274
4275         * exporter.C (Export): change call accordingly.
4276
4277         * latexrunparams.h: add new member to take care of the other backends.
4278 2003-10-30  José Matos  <jamatos@lyx.org>
4279
4280         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4281         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4282         factorise code for paragraph output.
4283         * buffer.[Ch]:
4284         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4285         move functions.
4286
4287 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * text3.C (dispatch):
4290         * lyxfunc.C (dispatch):
4291         * cursor.C (dispatch):
4292         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4293
4294         * dispatchresult.h: make the dispatch_result_t ctor explicit
4295
4296 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4297
4298         * sgml.[Ch]:
4299         * buffer.C: small refactoring of docbook stuff
4300
4301 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4304         meaning.
4305
4306 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4307
4308         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4309         operator dispatch_result_t, and operators for == != and >=
4310
4311         * cursor.C (dispatch): adjust for operator dispatch_result_t
4312         removal. comment out call to update
4313
4314         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4315
4316 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * text3.C:
4319         * text2.C:
4320         * text.C:
4321         * lyxtext.h:
4322         * lyxfunc.C:
4323         * cursor.C:
4324         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4325         (dispatch):
4326
4327         * dispatchresult.h: new file, DispatchResult broken out of
4328         insets/insetbase.h
4329
4330         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4331
4332 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4333
4334         * text.C (rowBreakPoint): put a hack inside #if 0
4335
4336 2003-10-28  André Pönitz  <poenitz@gmx.net>
4337
4338         * lyxtext.h:
4339         * metricsinfo.C:
4340         * paragraph_funcs.C:
4341         * rowpainter.C:
4342         * text.C:
4343         * text2.C: general cleanup (lots of small stuff)
4344
4345 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4346
4347         * text2.C (cursorEnd): simple fix to the "end key goes to one
4348         before the end on last row" bug
4349
4350 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4351
4352         * text.C (backspace): fix the "zombie characters"
4353
4354 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4355
4356         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4357
4358 2003-10-27  André Pönitz  <poenitz@gmx.net>
4359
4360         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4361
4362         * factory.C: handle new InsetPagebreak, InsetLine
4363
4364         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4365         and move handling into new InsetPagebreak, InsetLine
4366
4367         * BufferView_pimpl.C:
4368         * LyXAction.C:
4369         * ParagraphParameters.C:
4370         * ParameterStruct.h:
4371         * lyxfunc.C:
4372         * lyxtext.h:
4373         * paragraph.C:
4374         * paragraph.h:
4375         * paragraph_funcs.C:
4376         * paragraph_pimpl.C:
4377         * rowpainter.C:
4378         * text.C:
4379         * text2.C:
4380         * text3.C: adjust
4381
4382 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4383
4384         * text.C:
4385         * lyxrow_funcs.[Ch]:
4386         * Bidi.C:
4387         * paragraph.C:
4388         * lyxtext.h:
4389         * rowpainter.C:
4390         * text2.C:
4391         * text3.C: remove lastPos uses in favour of Row::endpos
4392
4393 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4394
4395         * undo.C (performUndoOrRedo): fix two crashes by setting a
4396         cursor by hand and reordering some calls. Use bv->lockInset instead
4397         of inset->edit because the latter loses cursor information
4398
4399 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4402         by Martin
4403         (rowBreakPoint): fix width. change point to point + 1.
4404         Add a missing check.
4405
4406 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4407
4408         * MenuBackend.C:
4409         * lyxfunc.C: fix (at least partly) the problems
4410         with the Nav menu and headers inside branch insets
4411         reported by Kayvan
4412
4413 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4414
4415         * paragraph.C (getChar): add strong asserts
4416
4417         * lyxrow_funcs.C (lastPos): remove hideous hack
4418
4419         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4420         (fill): adjust to that (avoid an infinite loop)
4421
4422 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4423
4424         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4425
4426 2003-10-23  André Pönitz  <poenitz@gmx.net>
4427
4428         * RowList_fwd.h: change list<> to vector<> to gain speed
4429         after suggestion from Alfredo
4430
4431 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4432
4433         * lyxtext.h: move the bidi stuff from here...
4434         * text.C: and here
4435         * text2.C: and here
4436         * Bidi.[Ch]: ... to here
4437
4438 2003-10-23  André Pönitz  <poenitz@gmx.net>
4439
4440         * lyxtext.h:
4441         * text.C (isLastRow, isFirstRow): new functions
4442
4443         * paragraph.h: new width cache member
4444
4445         * rowpainter.C: replace RowList::iterator with Row & where possible
4446
4447         * lyxfunc.C: replace several view()->text with a single call
4448
4449         * toc.C: fix 'unused' warning
4450
4451 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4452
4453         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4454         when woring with stream::pos_type
4455         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4456
4457 2003-10-22  André Pönitz  <poenitz@gmx.net>
4458
4459         * lyxtext.h:
4460         * text.C: use Row & instead of RowList::iterator
4461
4462         * lyxrow.h: rename end() to endpos()
4463
4464         * rowpainter.C:
4465         * text.C:
4466         * text2.C: adjust
4467
4468 2003-10-22  Angus Leeming  <leeming@lyx.org>
4469
4470         * buffer.[Ch] (fully_loaded): new member function, returning true
4471         only when the file has been loaded fully.
4472         Used to prevent the premature generation of previews and by the
4473         citation inset to prevent computation of the natbib-style label.
4474
4475         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4476         templates are all set up.
4477
4478         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4479
4480 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4481
4482         * text.C: fixed an "oops" in the "is a bit silly"
4483         bug fix
4484
4485 2003-10-21  André Pönitz  <poenitz@gmx.net>
4486
4487         * FuncStatus.[Ch]: small stuff, whitespace
4488
4489         * lyxfont.[Ch]: operator<<() for debug reasons
4490
4491         * lyxfunc.C:
4492         * lyxrow_funcs.C:
4493         * lyxtext.h: whitespace, spelling
4494
4495         * paragraph.C: naming of variables
4496
4497         * text.C:
4498         * text2.C: small stuff
4499
4500
4501 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4502
4503         * text.C: (1) finish off the inset display() work;
4504         (2) fix the "is a bit silly" bug (accessing char
4505         past end of par).
4506
4507 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4508
4509         * text.C: re-introduce display() for insets, fixing the
4510         various bugs (stretch of line above, math inset
4511         positioning, ...)
4512
4513 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4514
4515         * text.C (rightMargin): remove spurious semicolon
4516
4517         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4518         1415)
4519
4520 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4521
4522         * text3.C: fix one crash due to wrong cursor def
4523
4524 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * vc-backend.C (scanMaster): make the regex static
4527
4528         * LaTeX.C (scanAuxFile): make the regexs static
4529
4530         * text3.C (doInsertInset, dispatch, dispatch):
4531         * text2.C (cursorUp, cursorDown):
4532         * text.C (selectNextWordToSpellcheck):
4533         * BufferView_pimpl.C (dispatch):
4534         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4535
4536 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4537
4538         * lyxsocket.C: include <cerrno>
4539
4540 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * lyxfunc.C (dispatch): remove textcache stuff
4543
4544         * bufferlist.C (release): remove textcache stuff
4545         (closeAll): ditto
4546
4547         * TextCache.C: delete file
4548         * TextCache.h: delete file
4549
4550         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4551
4552         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4553         delete of the bv_->text.
4554         (resizeCurrentBuffer): remove texcache stuff
4555         (workAreaResize): ditto
4556
4557 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4560         action.
4561
4562 2003-10-16  André Pönitz  <poenitz@gmx.net>
4563
4564         * lyxrow.[Ch]:
4565         * paragraph.h:
4566         * rowpainter.C:
4567         * text.C:
4568         * text2.C:
4569         * text3.C: speed up by storing y positions per paragraph plus per-row
4570         offset instead of having a 'full' y position in the row.
4571
4572 2003-10-15  André Pönitz  <poenitz@gmx.net>
4573
4574         * iterators.[Ch]:
4575         * iterators.[Ch]:
4576         * undo.[Ch]: make undo aware of inner insets
4577
4578 2003-10-14  Angus Leeming  <leeming@lyx.org>
4579
4580         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4581         static member functions LyX::ref() and LyX::cref.
4582         (lastfiles): new accessor functions for the new lastfiles_ member var.
4583         (addLyXView, views_): add a new LyXView to the list of views_.
4584         (updateInset): loop over all LyXViews to call their own updateInset
4585         member function, returning a pointer to the Buffer owning the inset.
4586
4587         * BufferView_pimpl.C (loadLyXFile):
4588         * MenuBackend.C (expandLastfiles):
4589         * bufferlist.C (MenuWrite, QuitLyX):
4590         lastfiles is no longer a global variable.
4591         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4592
4593         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4594         static function. Access through LyX::cref().emergencyCleanup().
4595
4596 2003-10-14  André Pönitz  <poenitz@gmx.net>
4597
4598         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4599
4600         * undo.[Ch]: restoring part of 'undo in insets'
4601
4602         * Makefile.am:
4603         * undo_funcs.[Ch]: merge with undo.[Ch]
4604
4605         * tabular.C: small cleansing stuff
4606
4607 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4608
4609         * paragraph_funcs.C (readParToken): report unknown insets as error
4610         boxes. Use the outer paragraph as location (also for unknown
4611         tokens).
4612
4613         * factory.C (readInset): do not abort on reading an unknown inset.
4614         Eat it and return 0.
4615
4616 2003-10-13  Angus Leeming  <leeming@lyx.org>
4617
4618         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4619
4620         * lyxrc.C: displayTranslator is now a function,
4621         declared in GraphicsTypes.h.
4622
4623 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4624
4625         * format.C: new placeholder $$a to pass the socket address.
4626
4627         * bufferlist.[Ch]: new function getBufferFromTmp.
4628
4629         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4630           files in the temporary dir.
4631
4632 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4633
4634         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4635
4636         * Makefile.am: add lyxsocket.[Ch].
4637
4638         * lyx_main.C (error_handler): handle SIGPIPE.
4639
4640 2003-10-13  André Pönitz  <poenitz@gmx.net>
4641
4642         * BufferView_pimpl.C:
4643         * lyxtext.h:
4644         * text.C:
4645         * text2.C:
4646         * text3.C:
4647         * undo_funcs.[Ch]: use paroffset_type instead of
4648           ParagraphList::iterators to prevent multiple conversion
4649           (and get a more robust interface)
4650
4651 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4652
4653         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4654         * lyxtext.h: ditto
4655         * text3.C (dispatch): ditto
4656
4657 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4660         move the onlyfile, use onlyfile instead of foundfile in a couple
4661         of places.
4662
4663         * DepTable.C (update): flush the error stream a bit more
4664
4665 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * lyxserver.C (callback): adjust
4668
4669         * lyxfunc.C (getStatus): add a missing brace in commented code
4670         (ensureBufferClean): reindent
4671         (dispatch): delete version taking a string
4672
4673 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * LaTeX.C (deplog): move found file handlig from here...
4676         (handleFoundFile): .. to new function here.
4677         (deplog): make sure to discover several files mentioned on the
4678         same log line.
4679
4680 2003-10-10  André Pönitz  <poenitz@gmx.net>
4681
4682         * lyxfunc.C:
4683         * lyxtext.h:
4684         * tabular.C:
4685         * text.C:
4686         * text2.C:
4687         * text3.C: fix some of the tabular crashes
4688
4689 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4690
4691         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4692
4693         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4694
4695 2003-10-09  André Pönitz  <poenitz@gmx.net>
4696
4697         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4698
4699         * BufferView.C:
4700         * BufferView_pimpl.C:
4701         * bufferview_funcs.C:
4702         * lyx_cb.C:
4703         * lyxcursor.C:
4704         * lyxfind.C:
4705         * lyxfunc.C:
4706         * lyxtext.h:
4707         * text.C:
4708         * text2.C:
4709         * text3.C:
4710         * text_funcs.[Ch]:
4711         * textcursor.[Ch]:
4712         * undo_funcs.C: adjust
4713
4714 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * text2.C (incrementItemDepth): new function, use a backtracking
4717         algorithm to discover the correct item depth.
4718         (resetEnumCounterIfNeeded): new function, use a backtracking
4719         algorithm to discover if counter reset is needed.
4720         (setCounter): use them. Simplify a bit. Add different labels for
4721         different item depths for itemize.
4722
4723         * paragraph.C (Paragraph): remove initialization of enumdepth
4724         (operator=): ditto
4725
4726         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4727         enumerate and itemize. Change the type of itemdepth to signed char.
4728
4729 2003-10-08  André Pönitz  <poenitz@gmx.net>
4730
4731         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4732           thing assignable.
4733         * text.C:
4734         * text2.C: adjust
4735
4736         * tabular.[Ch]: fix crash after 'row-insert'
4737
4738 2003-10-08  Angus Leeming  <leeming@lyx.org>
4739
4740         Fix doxygen warnings.
4741
4742         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4743         Remove CutAndPaste:: prefix from header file declaration.
4744
4745         * LColor.h (fill): remove LColor:: prefix from declaration.
4746
4747         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4748         use lyx::depth_type rather than Paragraph::depth_type so that
4749         header file and .C file match.
4750
4751         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4752
4753         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4754         * aspell.C: \file aspell_local.C -> \file aspell.C
4755         * gettext.C: \file gettext.C -> \file src/gettext.C
4756         * gettext.h: \file gettext.h -> \file src/gettext.h
4757         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4758         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4759         * text.C: \file text.C -> \file src/text.C
4760
4761         * toc.C: move comment so that doxygen is not confused.
4762
4763 2003-10-07  Angus Leeming  <leeming@lyx.org>
4764
4765         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4766
4767 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4768
4769         * aspell.C:
4770         * aspell_local.h: add forgotten std::string's.
4771
4772 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4773
4774         * LaTeXFeatures.C:
4775         * LyXAction.C:
4776         * factory.C:
4777         * lfuns.h:
4778         * lyxfunc.C:
4779         * text3.C: The Box patch. Fancybox support, minipage, parbox
4780
4781 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4782
4783         * CutAndPaste.h:
4784         * DepTable.h:
4785         * FloatList.h:
4786         * LaTeXFeatures.h:
4787         * ParagraphParameters.h:
4788         * TextCache.h:
4789         * Thesaurus.h:
4790         * bufferlist.h:
4791         * exporter.h:
4792         * importer.h:
4793         * lastfiles.h:
4794         * lyxfind.h:
4795         * lyxfont.h:
4796         * lyxlex.h:
4797         * lyxtextclasslist.h:
4798         * messages.h:
4799         * paragraph.h:
4800         * paragraph_pimpl.C:
4801         * textcursor.h: add <string> and other small fixes to make Lars'
4802         std::string patch compile with STLport.
4803
4804 2003-10-06  Angus Leeming  <leeming@lyx.org>
4805
4806         * LColor.h: Add missing #include <string>.
4807
4808 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4809
4810         * All most all file in all subdirs: Make <string> be the prefered
4811         way of getting to std::string, add using declarations.
4812
4813 2003-10-06  André Pönitz  <poenitz@gmx.net>
4814
4815         * metricsinfo.C: initialize LyXFont before changing attribute.
4816         (fixes the 'math in \emph is upright' bug)
4817
4818 2003-10-06  André Pönitz  <poenitz@gmx.net>
4819
4820         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4821
4822 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4823
4824         * graph.C:
4825         * paragraph_pimpl.C: Small fixes to build using STLport
4826
4827 2003-10-02  André Pönitz  <poenitz@gmx.net>
4828
4829         * lyxfunc.C:
4830         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4831
4832 2003-10-01  André Pönitz  <poenitz@gmx.net>
4833
4834         * factory.C: assert early
4835
4836 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * lyx_main.C: remove the global debug object
4839
4840         * debug.h: adjust for new debugstream
4841
4842         * debug.C: adjust for new debugstream and keep the global debug
4843         object here.
4844
4845 2003-09-22  Angus Leeming  <leeming@lyx.org>
4846
4847         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4848         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4849         an incomplete class LyXFont.
4850
4851 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4852
4853         * factory.C: bug fix in branches
4854
4855 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * lyxfunc.C (processKeySym): adjust
4858         (dispatch): adjust
4859         (dispatch): change arg name from ev to func, adjust
4860         (sendDispatchMessage): ditto
4861
4862         * lyx_main.C (defaultKeyBindings): adjust keybindings
4863         (deadKeyBindings): ditto
4864
4865         * kbsequence.C (addkey): return a FuncRequest
4866
4867         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4868
4869         * kbmap.C (bind): take a FuncRequest as arg, adjust
4870         (read): adjust
4871         (lookup): adjust
4872         (defkey): change to take a FuncRequest as arg, adjust
4873         (findbinding): take a FuncRequest as arg, adjust.
4874
4875         * funcrequest.h (operator=): added
4876
4877         * funcrequest.C (FuncRequest): default kb_action changed from
4878         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4879
4880         * buffer.C (dispatch): simplify
4881         (dispatch): adjust to take a FuncRequest as arg, adjust
4882
4883         * boost.C (assertion_failed): change assertion message slightly
4884
4885         * ToolbarBackend.C (read): simplify
4886
4887         * MenuBackend.C (binding): adjust call to findbinding, add a
4888         message if no binding is found.
4889         (read): simplify
4890         (expandToc): correct by adding a empty FuncRequest
4891
4892         * LyXAction.C: include <boost/assert.hpp>
4893         (isPseudoAction): delete function
4894         (LookupFunc): change name to...
4895         (lookupFunc): this. change return type to FuncRequest.
4896         (getActionName): take kb_action as arg, simplify
4897         (funcHasFlag): add an assert, simplify.
4898
4899 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * toc.C (action): return a FuncRequest, simplify
4902
4903         * lyxfunc.C (processKeySym): adjust
4904         (getStatus): delete version that takes an int.
4905         (getStatus): adjust
4906         (dispatch): delete version that takes action as int
4907         (dispatch): adjust
4908         (sendDispatchMessage): simplify and adjust
4909
4910         * funcrequest.C (getArg): take unsigned int as arg
4911
4912         * ToolbarBackend.C (read): adjust
4913         (add): delete version that takes func as a string.
4914         (getIton): take a FuncRequest as arg
4915
4916         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4917         action.
4918
4919         * MenuBackend.C (MenuItem): add a new construct that only takes a
4920         Kind, simplify the constructor use for submenus.
4921         (add): adjust
4922         (expandLastfiles): adjust
4923         (expandDocuments): adjust
4924         (expandFormats): adjust
4925         (expandFloatListInsert): adjust
4926         (expandFloatInsert): adjust
4927         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4928
4929         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4930         Remove class variables lyx_pseudo_map and lyx_arg_map
4931
4932         * LyXAction.C (searchActionArg): delete function
4933         (getPseudoAction): delete function
4934         (retrieveActionArg): delete function
4935         (LookupFunc): make it return kb_action, simplify.
4936         (getActionName): simplify
4937
4938         * factory.C (createInset): fix new bug
4939
4940 2003-09-19  Angus Leeming  <leeming@lyx.org>
4941
4942         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4943         masterFilename_ parameter in the include inset.
4944
4945         * factory.C (createInset): changes due to the changes to InsetInclude.
4946
4947 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4948
4949         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4950
4951 2003-09-18  Angus Leeming  <leeming@lyx.org>
4952
4953         * buffer.C:
4954         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4955         Inset::fillWithBibKeys.
4956         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4957
4958 2003-09-18  Angus Leeming  <leeming@lyx.org>
4959
4960         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4961         variables.
4962         (ctor): pass and store a 'Buffer const &'
4963         (buffer): new member function.
4964
4965         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4966         '*this' to the LaTeXFeatures ctor.
4967
4968 2003-09-18  Angus Leeming  <leeming@lyx.org>
4969
4970         * LColor.h:
4971         * lyxfont.C:
4972         * lyxfont.h:
4973         * lyxtext.h:
4974         * text.C: rename EnumLColor as LColor_color.
4975
4976 2003-09-18  Angus Leeming  <leeming@lyx.org>
4977
4978         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4979         remove #include "insets/insetbase.h" from cursor.h.
4980
4981 2003-09-18  Angus Leeming  <leeming@lyx.org>
4982
4983         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4984         InsetOld_code to remove #include "inset.h".
4985
4986         * iterators.C: add #include "insets/inset.h"
4987
4988 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4989
4990         * BufferView.C: remove more locking stuff that apparently doesn't
4991         do anything sensible.
4992
4993 2003-09-16  André Pönitz  <poenitz@gmx.net>
4994
4995         * paragraph.[Ch]:
4996         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4997           performance boost.
4998
4999 2003-09-16  Angus Leeming  <leeming@lyx.org>
5000
5001         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5002
5003         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5004         arg/return type.
5005
5006         * paragraph.h: remove #include "lyxfont.h". Forward declare
5007         LyXFont_size.
5008
5009 2003-09-16  Angus Leeming  <leeming@lyx.org>
5010
5011         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5012         of support/textutils.h.
5013         (isWord): move the contents of support/textutils.h's IsWordChar here.
5014
5015         * buffer.C:
5016         * lyxfind.C:
5017         * rowpainter.C:
5018         * text.C:
5019         * text2.C: add #include "paragraph.h".
5020
5021         * rowpainter.C:
5022         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5023
5024 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * main.C:
5027         * lyx_main.C:
5028         * lyx_cb.C:
5029         * buffer.C:
5030         * LaTeX.C: use namespace alias for lyx::support::os
5031
5032 2003-09-16  Angus Leeming  <leeming@lyx.org>
5033
5034         * bufferparams.C:
5035         * bufferview_funcs.C:
5036         * factory.C:
5037         * lyxfunc.C:
5038         * paragraph_pimpl.C:
5039         * rowpainter.C:
5040         * text.C: add #include "LColor.h".
5041
5042 2003-09-16  Angus Leeming  <leeming@lyx.org>
5043
5044         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5045         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5046         return LyXFont &.
5047         Store the FontBits::color variable as an int rather than as an
5048         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5049         file.
5050
5051         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5052         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5053         string calls together.
5054
5055         * lyxrc.C: add #include "LColor.h".
5056
5057 2003-09-15  Angus Leeming  <leeming@lyx.org>
5058
5059         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5060         a cow_ptr.
5061
5062 2003-09-15  Angus Leeming  <leeming@lyx.org>
5063
5064         * LColor.h: add an EnumLColor wrapper for LColor::color.
5065
5066         * lyxfont.[Ch] (color, setColor, realColor):
5067         * lyxtext.h, text.C (backgroundColor):
5068         pass EnumLColor args to/from the functions, rather than LColor::color
5069         ones.
5070
5071         * lyxfont.h:
5072         * lyxtext.h: forward declare EnumLColor.
5073
5074         * lyx_main.C: add #include "LColor.h".
5075
5076 2003-09-15  Angus Leeming  <leeming@lyx.org>
5077
5078         * .cvsignore: add lyx-gtk.
5079
5080 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5081
5082         * Chktex.C
5083         * LaTeX.C
5084         * LaTeXFeatures.C
5085         * ParagraphParameters.C
5086         * Spacing.C
5087         * buffer.C
5088         * bufferparams.C
5089         * bufferview_funcs.C
5090         * chset.C
5091         * counters.C
5092         * funcrequest.C
5093         * lyxfont.C
5094         * lyxgluelength.C
5095         * lyxlength.C
5096         * paragraph.C
5097         * paragraph_funcs.C
5098         * text3.C
5099         * vc-backend.C: remove usage of STRCONV
5100
5101 2003-09-15  Angus Leeming  <leeming@lyx.org>
5102
5103         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5104         explicitly define the color passed to the painter.
5105
5106 2003-09-15  Angus Leeming  <leeming@lyx.org>
5107
5108         * bufferparams.C (BufferParams): reorder member initializers to avoid
5109         compiler warning.
5110
5111 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5114         * text.C (updateRowPositions): remove an unusual nop
5115
5116 2003-09-12  André Pönitz  <poenitz@gmx.net>
5117
5118         * BufferView_pimpl.C:
5119         * Bullet.C:
5120         * layout.h:
5121         * lyxfunc.C:
5122         * lyxlayout.[Ch]:
5123         * lyxtextclass.C:
5124         * rowpainter.C:
5125         * text.C:
5126         * text2.C:
5127         * Counters.[Ch]: finish the 'automatic counters' job
5128
5129 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5130
5131         * aspell.C: include <boost/assert.cpp> (compile fix)
5132
5133 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5134
5135         * boost.C (assertion_failed): use lyx::support::abort instead of
5136         assert.
5137
5138 2003-09-10  Angus Leeming  <leeming@lyx.org>
5139
5140         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5141         with their _fwd progeny.
5142
5143 2003-09-09  Angus Leeming  <leeming@lyx.org>
5144
5145         134 files throughtout the source tree: replace 'using namespace abc;'
5146         directives with the appropriate 'using abc::xyz;' declarations.
5147
5148 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5149
5150         * boost.C (emergencyCleanup): moved here from LAssert.c
5151         (assertion_failed): new function, called by BOOST_ASSERT
5152
5153         * several files: change Assert to BOOST_ASSERT
5154
5155 2003-09-09  Angus Leeming  <leeming@lyx.org>
5156
5157         * buffer.[Ch]: Add an Impl class and move Buffer's member
5158         variables into it. As a result move several header files out of
5159         buffer.h.
5160
5161         Add header files to lots of .C files all over the tree as a result.
5162
5163 2003-09-09  Angus Leeming  <leeming@lyx.org>
5164
5165         * buffer.[Ch]: make Buffer's member variables private. Add
5166         accessor functions.
5167
5168         Lots of changes all over the tree as a result.
5169
5170 2003-09-08  Angus Leeming  <leeming@lyx.org>
5171
5172         * graph.C: #include <config.h>.
5173
5174 2003-09-08  Angus Leeming  <leeming@lyx.org>
5175
5176         * BranchList.C:
5177         * BufferView.C:
5178         * BufferView_pimpl.C:
5179         * CutAndPaste.C:
5180         * DepTable.C:
5181         * LaTeX.C:
5182         * LaTeXFeatures.C:
5183         * LyXAction.C:
5184         * MenuBackend.C:
5185         * TextCache.C:
5186         * aspell.C:
5187         * buffer.C:
5188         * bufferlist.C:
5189         * changes.C:
5190         * chset.C:
5191         * converter.C:
5192         * counters.C:
5193         * debug.C:
5194         * graph.C:
5195         * ispell.C:
5196         * lyx_cb.C:
5197         * lyxfind.C:
5198         * lyxfunc.C:
5199         * lyxlex_pimpl.C:
5200         * lyxrc.C:
5201         * lyxrow.C:
5202         * paragraph.C:
5203         * rowpainter.C:
5204         * texrow.C:
5205         * text.C:
5206         * text2.C:
5207         * toc.C: remove redundant using directives.
5208
5209 2003-09-07  Angus Leeming  <leeming@lyx.org>
5210
5211         * LaTeXFeatures.h: remove #include "support/types.h".
5212         * ToolbarBackend.h: remove #include <algorithm>.
5213         * changes.h: remove #include <ctime>.
5214         * debug.h: remove #include <iosfwd>.
5215         * graph.h: remove #include "support/std_string.h".
5216         * lyx_main.h: remove #include <csignal>.
5217         * lyxlex_pimpl.h: remove #include <fstream>.
5218         * sgml.h: remove #include <algorithm>, <utility>.
5219         * toc.h: remove #include "support/std_ostream.h".
5220         Add #include <iosfwd>.
5221
5222 2003-09-07  Angus Leeming  <leeming@lyx.org>
5223
5224         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5225
5226         * converter.h: forward declare LatexRunParams.
5227         * encoding.h: remove #include "lyxrc.h".
5228         * lyxtext.h: remove #include "LColor.h".
5229         * lyxtextclass.h: remove #include "support/types.h".
5230         * trans.h: remove #include "tex-accent.h".
5231         * trans_mgr.h: remove #include "tex-accent.h".
5232         * insets/inset.h: remove #include "support/types.h", <vector>.
5233         * insets/insetcollapsable.h: remove #include "LColor.h".
5234         * insets/insetinclude.h: remove #include "dimension.h".
5235         * insets/insetlatexaccent.h: remove #include "dimension.h".
5236         * insets/insetoptarg.h:: remove #include "insettext.h".
5237         * insets/insettext.h: remove #include "dimension.h",
5238         <boost/shared_ptr.hpp>
5239
5240         * insets/renderers.h: add #include "dimension.h".
5241         * insets/updatableinset.h: add #include "support/types.h".
5242
5243         * many .C files: Associated changes.
5244
5245 2003-09-06  Angus Leeming  <leeming@lyx.org>
5246
5247         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5248         one, inside testInvariant.
5249
5250         * PrinterParams.C: new file.
5251         * PrinterParams.[Ch]: move the function bodies out of line.
5252
5253 2003-09-06  Angus Leeming  <leeming@lyx.org>
5254
5255         * ParagraphParameters.h: forward declare ParameterStruct rather than
5256         including its header file.
5257         (depth): moved out-of-line.
5258
5259 2003-09-06  Angus Leeming  <leeming@lyx.org>
5260
5261         * BufferView_pimpl.h:
5262         * kbmap.h:
5263         * kbsequence.h:
5264         * lyxfunc.h: forward declare LyXKeySym rather than
5265         #include "frontends/LyXKeySym.h".
5266
5267         * BufferView_pimpl.C:
5268         * kbmap.C:
5269         * kbsequence.C:
5270         * lyxfunc.C: associated changes.
5271
5272 2003-09-06  Angus Leeming  <leeming@lyx.org>
5273
5274         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5275         As a result, can remove the #include "insets/inset.h" from BufferView.h
5276
5277 2003-09-06  Angus Leeming  <leeming@lyx.org>
5278
5279         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5280         As a result, can remove the #include "insets/inset.h" from BufferView.h
5281
5282 2003-09-06  Angus Leeming  <leeming@lyx.org>
5283
5284         * buffer_funcs.C:
5285         * buffer.h:
5286         * bufferlist.C:
5287         * BufferView.C:
5288         * bufferview_funcs.C:
5289         * BufferView_pimpl.C:
5290         * CutAndPaste.C:
5291         * lyx_cb.C:
5292         * lyxfunc.C:
5293         * paragraph.h:
5294         * ParagraphParameters.C:
5295         * tabular.C:
5296         * text3.C:
5297         * toc.C:
5298         * undo_funcs.C:
5299         * frontends/controllers/ControlDocument.C:
5300         * insets/insetcaption.C: rearrange the #includes into some sort of
5301         coherent order.
5302
5303         * buffer.h: remove #includes ErrorList.h, undo.h
5304
5305 2003-09-06  Angus Leeming  <leeming@lyx.org>
5306
5307         * support/types.h: add a 'depth_type' typedef, used to store the
5308         nesting depth of a paragraph.
5309
5310         * paragraph.h:
5311         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5312         defining explicitly.
5313
5314         * buffer.h:
5315         * paragraph_funcs.h:
5316         * ParagraphParameters.h:
5317         * sgml.h: use lyx::depth_type rather than Paragraph or
5318         ParameterStruct's depth_type.
5319
5320         * buffer.h
5321         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5322
5323         * BufferView.C:
5324         * BufferView_pimpl.C:
5325         * CutAndPaste.C:
5326         * ParagraphParameters.C:
5327         * buffer_funcs.C:
5328         * bufferlist.C:
5329         * bufferview_funcs.C:
5330         * lyx_cb.C:
5331         * lyxfunc.C:
5332         * tabular.C:
5333         * text3.C:
5334         * toc.C:
5335         * undo_funcs.C:
5336         * frontends/LyXView.C:
5337         * frontends/controllers/ControlDocument.C:
5338         * frontends/controllers/ControlErrorList.C:
5339         * insets/insetbibitem.C:
5340         * insets/insetbranch.C:
5341         * insets/insetcaption.C:
5342         * insets/insetcollapsable.C:
5343         * insets/insetenv.C:
5344         * insets/insetert.C:
5345         * insets/insetfloat.C:
5346         * insets/insetfoot.C:
5347         * insets/insetfootlike.C:
5348         * insets/insetnewline.C:
5349         * insets/insetquotes.C:
5350         * insets/insettabular.C:
5351         * insets/insettext.C:
5352         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5353
5354         * frontends/controllers/ControlChanges.C: #include "changes.h".
5355
5356 2003-09-06  Angus Leeming  <leeming@lyx.org>
5357
5358         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5359         than #including paragraph.h.
5360
5361         * ParagraphList.h:
5362         * RowList.h: deleted. Superfluous.
5363
5364         * CutAndPaste.h:
5365         * iterators.h:
5366         * lyxcursor.h:
5367         * lyxtext.h:
5368         * text_funcs.h:
5369         * undo.h:
5370         * undo_funcs.h:
5371         * insets/inset.h:
5372         * insets/insettext.h: use ParagraphList_fwd.h rather than
5373         ParagraphList.h.
5374
5375         * paragraph.h: don't forward declare ParagraphList.
5376
5377         * buffer.h:
5378         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5379         rather than ParagraphList.h. paragraph.h is still needed for the
5380         Paragraph::depth_type parameters.
5381
5382         * textcursor.h: enable it to compile stand-alone in light of the
5383         above changes.
5384
5385         * bufferview_funcs.C:
5386         * iterators.C:
5387         * lyxfunc.C:
5388         * lyxrow_funcs.C:
5389         * paragraph.C:
5390         * rowpainter.C:
5391         * text.C:
5392         * text2.C:
5393         * text3.C:
5394         * text_funcs.C:
5395         * textcursor.C:
5396         * undo.C:
5397         * frontends/controllers/ControlParagraph.C:
5398         * frontends/controllers/ControlTabular.C:
5399         * insets/insetmarginal.C:
5400         * insets/insetminipage.C:
5401         * insets/insetnote.C:
5402         * insets/insetoptarg.C: add header files needed to compile again.
5403
5404 2003-09-06  Angus Leeming  <leeming@lyx.org>
5405
5406         * RowList_fwd.h: new file, forward-declaring Row rather than
5407         #including lyxrow.h.
5408
5409         * lyxrow_funcs.h:
5410         * lyxtext.h:
5411         * paragraph.h:
5412         * insets/insettext.h: use it instead of RowList.h
5413
5414         * bufferview_funcs.C:
5415         * lyxfunc.C:
5416         * lyxrow_funcs.C:
5417         * paragraph.C:
5418         * rowpainter.C:
5419         * text.C:
5420         * text2.C:
5421         * text3.C: #include "RowList.h".
5422
5423 2003-09-05  Angus Leeming  <leeming@lyx.org>
5424
5425         * factory.C (createInset):
5426         * vspace.C (c-tor): replace sscanf call with an istringstream.
5427         * ispell.C: re-add missing HP/UX headers.
5428         * lyxserver.C: re-add missing  os2 headers.
5429
5430 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5431
5432         * BranchList.C:
5433         * graph.C:
5434         * ispell.C:
5435         * lastfiles.C:
5436         * lyx_cb.C:
5437         * lyxserver.C:
5438         * texrow.C:
5439         * text3.C: re-add missing system headers, needed for 2.95.2.
5440
5441 2003-09-05  Angus Leeming  <leeming@lyx.org>
5442
5443         Changes most place everywhere due to the removal of using directives
5444         from support/std_sstream.h.
5445
5446 2003-09-05  Angus Leeming  <leeming@lyx.org>
5447
5448         Replace LString.h with support/std_string.h,
5449         Lsstream.h with support/std_sstream.h,
5450         support/LIstream.h with support/std_istream.h,
5451         support/LOstream.h with support/std_ostream.h.
5452
5453         Changes resulting throughout the tree.
5454
5455 2003-09-05  Angus Leeming  <leeming@lyx.org>
5456
5457         * sgml.h: ensure that the header file can be compiled stand-alone.
5458         * *.C: strip out redundant #includes. (320 in total.)
5459
5460 2003-09-04  Angus Leeming  <leeming@lyx.org>
5461
5462         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5463         here (from getPackages).
5464
5465         * debug.[Ch]: add a new EXTERNAL tag.
5466
5467 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5468
5469         * text2.C (cursorEnd): simplify
5470         (setCursor): adjust
5471         (getColumnNearX): adjust
5472
5473         * text.C (computeBidiTables): adjust
5474         (fill): adjust
5475
5476         * rowpainter.C (paintChars): adjust
5477         (paintSelection): adjust
5478         (paintChangeBar): adjust
5479         (paintText): adjust
5480
5481         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5482         lastPos instead.
5483         (numberOfSeparators): adjust
5484
5485 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5486
5487         * LyXAction.C:
5488         * box.[Ch]:
5489         * lfuns.h:
5490         * lyxfunc.C:
5491         * text3.C: Restricts the mouse click functionality
5492         of insets like bibtex, include, toc and floatlist to the visible
5493         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5494         up the dialogs. Cursor has to be in front of the inset (i.e.
5495         start of row) for this to function.
5496
5497 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5498
5499         * bufferview_funcs.C (currentState): output row information
5500
5501 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5502
5503         * bufferview_funcs.C (currentState): output paragraph position
5504
5505 2003-09-04  Angus Leeming  <leeming@lyx.org>
5506
5507         * FloatList.h: move out #include "Floating.h".
5508         * LaTeX.h: move out #include "DepTable.h".
5509         * LyXAction.h: move out #include "funcrequest.h".
5510         * buffer.h: move out #include "author.h", "iterators.h".
5511         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5512         * lyx_main.h: move out #include "errorlist.h".
5513         * lyxfunc.h: move out #include "FuncStatus.h".
5514         * lyxtext: move out #include "lyxcursor.h".
5515         * paragraph_pimpl.h: move out #include "counters.h".
5516
5517 2003-09-03  Angus Leeming  <leeming@lyx.org>
5518
5519         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5520         preamble_snippets list, enabling us to add snippets to the preamble
5521         only if the snippet was not there already.
5522
5523 2003-09-04  Angus Leeming  <leeming@lyx.org>
5524
5525         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5526
5527 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5528
5529         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5530         update
5531
5532 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5533
5534         * BranchList.C: point fix, earlier forgotten
5535
5536 2003-09-02  Angus Leeming  <leeming@lyx.org>
5537
5538         * box.C (contains): renamed from 'contained' after a fantastic
5539         amount of hot air.
5540
5541 2003-09-02  John Levon  <levon@movementarian.org>
5542
5543         * BufferView.C:
5544         * lyxcursor.h:
5545         * lyxcursor.C:
5546         * lyxfunc.C:
5547         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5548
5549 2003-09-02  John Levon  <levon@movementarian.org>
5550
5551         * text2.C: simplification of cursorEnd(), including partial
5552         fix for bug 1376
5553
5554 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * buffer.C (readFile): add a space
5557
5558 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5559
5560         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5561
5562 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * buffer.C (readFile): new function, take a filename and a
5565         ParagraphList::iterator
5566         (readFile): adjust
5567         (readFile): adjust, make it private. don't use setStream, make
5568         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5569         always contain the filename.
5570
5571         * BufferView.C (insertLyXFile): simplify and make it work for
5572         gzipped files.
5573
5574 2003-08-30  John Levon  <levon@movementarian.org>
5575
5576         * Makefile.am: fix dist (from Kayvan)
5577
5578 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * most files: change to use const Buffer refs
5581
5582 2003-08-27  André Pönitz  <poenitz@gmx.net>
5583
5584         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5585         on top of ownerPar().
5586
5587 2003-08-27  John Levon  <levon@movementarian.org>
5588
5589         * funcrequest.C: properly initialise POD members
5590
5591 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5592
5593         * lyxtext.h (top_y): move top_y from here
5594         * text.C:
5595         * text2.C:
5596         * text3.C:
5597         * BufferView.[Ch]:
5598         * BufferView_pimpl.[Ch]: to here
5599         * frontends/screen.C:
5600         * insets/insettabular.C:
5601         * insets/insettext.C: adjust
5602         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5603
5604 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5605
5606         * BufferView.[Ch]:
5607         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5608
5609 2003-08-26  André Pönitz  <poenitz@gmx.net>
5610
5611         * paragraph_func.[Ch] (outerPar): new function
5612
5613         * paragraph.C:
5614         * paragraph_funcs.C:
5615         * paragraph_funcs.h:
5616         * paragraph_pimpl.C:
5617         * text2.C: remove Inset::par_owner
5618
5619 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5620
5621         * lyxrow_funcs.C:
5622         * lyxtext.h:
5623         * text.C:
5624         * text2.C: eliminates the needFullRow/display() stuff
5625         altogether, putting the logic in metrics/draw in the insets.
5626
5627 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5628
5629         * text2.C (redoParagraphInternal, redoParagraphs):
5630         * text.C (redoParagraph): add a call to updateRowPositions at the
5631         end of each 'metrics-like' call. Remove all others.
5632         (getRow): remove the 'y-computing' version.
5633         (getRowNearY): do not compute nor return the real y. Solve the
5634         'y < 0' problem and simplify.
5635
5636 2003-08-22  Angus Leeming  <leeming@lyx.org>
5637
5638         * *.[Ch]: clean-up of licence and author blurbs.
5639         Also move config.h out of a few .h files and into a few .C files.
5640
5641 2003-08-22  André Pönitz  <poenitz@gmx.net>
5642
5643         * lyxrow.[Ch]: add x_ and *fill_ members
5644
5645         * lyxtext.h:
5646         * text.C:
5647         * rowpainter.C:
5648         * text2.C: adjust/remove prepareToPrint() calls
5649
5650 2003-08-22  André Pönitz  <poenitz@gmx.net>
5651
5652         * lyxrow.[Ch]: add  end_ member
5653
5654         * lyxrow_funcs.C: use LyXRow::end_
5655
5656         * lyxtext.h (singleWidth): add LyXFont parameter
5657
5658         * rowpainter.C:
5659         * text2.C: adjust LyXText::singleWidth() calls
5660
5661         * text.C (redoParagraph): simplify row breaking logic
5662
5663
5664 2003-08-19  André Pönitz  <poenitz@gmx.net>
5665
5666         * funcrequest.C: initialize button_ member
5667
5668         * text3.C:
5669         * rowpainter.[Ch]: interface consolidation
5670
5671 2003-08-18  André Pönitz  <poenitz@gmx.net>
5672
5673         * BufferView.C:
5674         * BufferView_pimpl.C:
5675         * lyxfind.C:
5676         * paragraph_funcs.C:
5677         * rowpainter.C:
5678         * text3.C: remove LyXScreen::draw() and fitCursor calls
5679
5680         * BranchList.h: remove spurious semicolons
5681
5682         * MenuBackend.C: fix branchlist related crash
5683
5684 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5685
5686         * BranchList.[Ch]:
5687         * InsetList.[Ch]:
5688         * LColor.[Ch]:
5689         * LyXAction.C:
5690         * Makefile.am:
5691         * MenuBackend.[Ch]:
5692         * bufferparams.[Ch]:
5693         * factory.C:
5694         * lfuns.h:
5695         * lyxfunc.C:
5696         * text3.C: implements the 'branch inset'
5697         idea. This allows the output of various versions of a document
5698         from a single source version, selectively outputing or suppressing
5699         output of parts of the text.
5700         This implementation contains a 'branch list editor' in a separate
5701         tab of the document settings dialog. Branches are user definable
5702         and have a "display colour" to distinguish them on-screen.
5703
5704         ColorHandler was somewhat cleaned up.
5705         (1) make possible a dynamically growing LColor list by allowing
5706         the graphic context cache to grow along (vector);
5707         (2) eliminate an IMHO unnecessary step in colour allocation.
5708
5709 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5710
5711         * BufferView_pimpl.C: compile fix
5712
5713 2003-08-15  André Pönitz  <poenitz@gmx.net>
5714
5715         * rowpainter.C: remove extra metrics calls
5716
5717         * lyxtext.h: merge the two constructors into a single one,
5718           pass reference to owner's par list
5719
5720         * BufferView_pimpl.C:
5721         * text.C:
5722         * text2.C: adjust
5723
5724 2003-08-15  André Pönitz  <poenitz@gmx.net>
5725
5726         * lyxrow_funcs.[Ch]:
5727         * lyxtext.h:
5728         * paragraph.h:
5729         * paragraph_funcs.C:
5730         * rowpainter.C:
5731         * text.C:
5732         * text2.C:
5733         * text3.C:
5734         * text_funcs.C: split LyXText::rowlist_ into individual
5735         Paragraph::rows_ chunks
5736
5737         * BufferView.[Ch]:
5738         * BufferView_pimpl.[Ch]:
5739         * lyxfind.C:
5740         * lyxtext.h:
5741         * text3.C: remove toggleSelection()
5742
5743 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5744
5745         * bufferlist.C: beautify two alerts (shorter text of buttons)
5746         * buffer.C: Remove redundant ' ' from message
5747         * tabular.h:
5748         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5749         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5750         rename VALIGN_CENTER to VALIGN_MIDDLE
5751
5752 2003-08-11  André Pönitz  <poenitz@gmx.net>
5753
5754         * lyxtext.h (getPar):
5755         * text.C: new function
5756
5757 2003-08-11  André Pönitz  <poenitz@gmx.net>
5758
5759         * Makefile.am:
5760         * tracer.[Ch]: remove unneeded files
5761
5762         * InsetList.[Ch]: remove resizeInsetsLyXText()
5763
5764         * lyxtext.h:
5765         * text.C:
5766         * text2.C:
5767         * text3.C: merge insertParagraphs() and appendParagraph()
5768         remove breakAgain(), update()
5769
5770         * BufferView_pimpl.[Ch]:
5771         * bufferview_funcs.[Ch]:
5772         * lyxfunc.C:
5773         * paragraph.[Ch]:
5774         * rowpainter.C:
5775         * tabular.C: adjust after text & InsetList changes.
5776
5777 2003-08-08  André Pönitz  <poenitz@gmx.net>
5778
5779         * text.C (insertChar, backspace): replace rowlist fiddling
5780         with rebreak of full par
5781
5782         * lyxtext.h:
5783         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5784         checkParagraph, updateInset): removed
5785
5786 2003-08-07  André Pönitz  <poenitz@gmx.net>
5787
5788         * paragraph.C:
5789         * text3.C: merge some LFUN handlers, remove dead code
5790
5791 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5792
5793         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5794
5795 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5796
5797         * text2.C (DEPM): fix part of bug 1255 and 1256
5798
5799 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5800
5801         * BufferView_pimpl.C (workAreaDispatch): change to use
5802         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5803         that are no mouse related.
5804
5805 2003-08-05  André Pönitz  <poenitz@gmx.net>
5806
5807         * BufferView.[Ch]:
5808         * BufferView_pimpl.[Ch]:
5809         * bufferview_funcs.C:
5810         * text2.C:
5811         * text3.C: rip out "deep update"
5812
5813         * textcursor.[Ch] (last_sel_cursor): remove unused member
5814
5815 2003-08-04  André Pönitz  <poenitz@gmx.net>
5816
5817         * BufferView.[Ch]:
5818         * BufferView_pimpl.[Ch]:
5819         * ParagraphParameters.C:
5820         * bufferview_funcs.C:
5821         * lyx_cb.C:
5822         * lyxfind.C:
5823         * lyxfunc.C:
5824         * text.C:
5825         * text2.C:
5826         * text3.C: replace "complicated" BufferView::update(...) calls with
5827         simpler ones.
5828
5829         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5830
5831 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5832
5833         * Makefile.am (lyx_SOURCES): add paper.h
5834
5835 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5836
5837         * Makefile.am: move things around so that both lyx-qt and
5838         lyx-xforms can be built (according to --with-frontend). Then lyx
5839         is a symbolic link to lyx-[firstfrontend]
5840
5841 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5842
5843         * Always use std::endl with lyxerr
5844
5845 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5846
5847         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5848
5849 2003-08-01  André Pönitz  <poenitz@gmx.net>
5850
5851         * BufferView.[Ch]:
5852         * BufferView_pimpl.[Ch]:
5853         * lyxfunc.C:
5854         * text3.C: merge BufferView::repaint() and BufferView::update()
5855
5856 2003-08-01  José Matos  <jamatos@lyx.org>
5857
5858         * buffer.[Ch]: file_format is no longer a buffer data element.
5859
5860 2003-08-01  André Pönitz  <poenitz@gmx.net>
5861
5862         * BufferView.C:
5863         * lyxtext.h:
5864         * text.C:
5865         * text2.C: make redoParagraph more independent of current cursor
5866
5867         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5868         * text.C:
5869         * text2.C: remove unneeded members
5870
5871 2003-07-30  André Pönitz  <poenitz@gmx.net>
5872
5873         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5874
5875         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5876           create a single function...
5877
5878         * paragraph_funcs.C (moveItem): ... here.
5879
5880         * text.C:
5881           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5882
5883 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5884
5885         * LColor.[Ch]: Add comment and greyedout logical colors.
5886
5887 2003-07-30  André Pönitz  <poenitz@gmx.net>
5888
5889         * tabular.C: don't use Assert too heavily. This crashes where it
5890           shouldn't
5891
5892 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5893
5894         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5895         is disabled (bug 1232)
5896
5897 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5898
5899         * factory.C: limited 'arg' scope
5900
5901 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5902
5903         * factory.C: fixed Note submenu issues
5904
5905 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5906
5907         * factory.C: submenu for Note/Comment/Greyedout
5908
5909 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5910
5911         * lyx_main.C (LyX):
5912         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5913
5914 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5915
5916         * LaTeXFeatures.C:
5917         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5918         greyedout. Patch provided by Jürgen Spitzmüller.
5919
5920 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5921
5922         * kbmap.C (read): fix error message when reading bind files
5923
5924 2003-07-29  Angus Leeming  <leeming@lyx.org>
5925
5926         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5927         certainly does not do what it purports to do. I am doing it, and
5928         us, a favour by killing it.
5929
5930 2003-07-28  José Matos  <jamatos@lyx.org>
5931
5932         * buffer.C (readBody, do_writeFile):
5933         * paragraph.C(readParagraph): \end_document replaces \the_end.
5934
5935 2003-07-29  André Pönitz  <poenitz@gmx.net>
5936
5937         * BufferView.[Ch]:
5938         * BufferView_pimpl.[Ch]:
5939         * lyxfunc.C:
5940         * text2.C:
5941         * text3.C:
5942         * textcursor.[Ch]: remove toggleToggle & Co
5943
5944 2003-07-28  José Matos  <jamatos@fep.up.pt>
5945
5946         * buffer.C (readParagraph):
5947         * params_func (readParToken, readParagraph):
5948         * paragraph.C (write): \layout -> \begin_layout.
5949
5950 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * lyxlex_pimpl.C (setFile): clean up slightly.
5953
5954         * bufferparams.h: add compressed var
5955
5956         * buffer_funcs.C (readFile): adjust for LyXLex change
5957         (newFile): ditto + simplify
5958
5959         * buffer.C (writeFile): handle writing of compressed files
5960
5961         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5962         Check if the file is compressed and set a bufferparm if so.
5963
5964         * Makefile.am (lyx_LDADD): remove explicit -lz
5965
5966 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5967
5968         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5969         makeDocBookFile): put the real LyX version in the first line of
5970         the file
5971
5972         * version.h:
5973         * version.C.in: remove lyx_docversion
5974
5975         * tabular.C (write_attribute): add a template-based version to
5976         write enums properly
5977
5978 2003-07-28  André Pönitz  <poenitz@gmx.net>
5979
5980         * lyxtext.h:
5981         * text.C:
5982         * text2.C:
5983         * text3.C: use doubles again for x-coordinates. They are needed.
5984
5985 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5986
5987         * messages.C (getLocaleDir): use lyx_localedir()
5988
5989         * lyxlex_pimpl.C (setFile): compress stuff
5990
5991         * buffer.C (writeFile): add some compression stuff
5992         (do_writeFile): new func, dont call expliti close... will this
5993         breake anything?
5994
5995         * Makefile.am (lyx_LDADD): add -lz
5996
5997 2003-07-28  José Matos  <jamatos@fep.up.pt>
5998
5999         * buffer.C: increment file format.
6000         * paragraph_funcs (readParagraph, readParToken):
6001         * paragraph.C (readParagraph): add \end_layout.
6002
6003 2003-07-27  Angus Leeming  <leeming@lyx.org>
6004
6005         * Makefile.am: remove special casing for configure-time setting of
6006         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6007
6008         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6009         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6010
6011 2003-07-26  André Pönitz  <poenitz@gmx.net>
6012
6013         * paragraph_func.[Ch]:
6014         * paragraph.C (realizeFont): inline it whereever it is used
6015
6016         * rowpainter.C:
6017         * text.C:
6018         * text2.C:
6019         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6020
6021
6022 2003-07-26  André Pönitz  <poenitz@gmx.net>
6023
6024         *       lyxtext.h:
6025         * text.C:
6026         * text2.C: get rid of LyXText::need_break_row
6027
6028 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * toc.[Ch]: put namespace toc inside namespace lyx
6031
6032         * MenuBackend.C (expandToc2): adjust for lyx::toc
6033         (expandToc): ditto
6034
6035         * lyxfunc.C (dispatch): adjust for lyx::find
6036
6037         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6038         lyx::find instead. Reorganize a bit.
6039         (LyXReplace): rename to replace
6040         (LyXFind): rename to find
6041
6042         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6043         (dispatch): ditto
6044
6045 2003-07-26  André Pönitz  <poenitz@gmx.net>
6046
6047         * text.C (setHeightOfRow): restrict scope of temporary variable
6048
6049         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6050           code (never has been used?)
6051
6052 2003-07-27  Asger Alstrup  <alstrup@local>
6053
6054         * text.C (fill): Optimise algorithm to exploit that we can reuse
6055         the LyXFont for many characters.
6056         (setHeightOfRow): Same thing.
6057         (rowBreakPoint): Same thing.
6058
6059 2003-07-26  Asger Alstrup  <alstrup@local>
6060
6061         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6062
6063         * text.C (singleWidth): Spurious font copying in hot-spot
6064         singleWidth avoided. Reorder tests for arabic for efficiency.
6065
6066         * text.C (fill): handle empty paragraphs better.
6067
6068 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6069
6070         * ispell.C:
6071         * encoding.h: add includes
6072
6073         * lyxrc.C: remove reading of bind files
6074
6075         * lyx_main.C (init): setup bindings and menus only if we have a
6076         gui.
6077
6078         * kbmap.C (read): new method. Do the actual reading of bind
6079         files.
6080
6081         * converter.C (dvipdfm_options):
6082         * bufferparams.C:
6083         * lyxrc.C (read):
6084         (output): adapt PAPER_* enums.
6085
6086         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6087
6088         * bufferparams.h: remove paper-related enums from there
6089
6090         * paper.h: New file. A trivial header file to hold paper-related
6091         enums. It should later expand to contain many paper-related
6092         horrors access.
6093
6094         * lyxrc.C: declare extern displayTranslator
6095
6096 2003-07-27  José Matos  <jamatos@fep.up.pt>
6097
6098         * tabular.[Ch] (linuxdoc): add support for tables and figures
6099         (linuxdoc).
6100
6101 2003-07-27  José Matos  <jamatos@fep.up.pt>
6102
6103         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6104         consistency in both functions.
6105         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6106
6107 2003-07-26  Asger Alstrup  <alstrup@local>
6108
6109         * rowpainter.C (paintRows): Change algorithm to work directly on
6110         the insets rather than asking every character in the document
6111         whether its an inset.
6112
6113 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6114
6115         * buffer.C (openFileWrite): factorize some code
6116
6117 2003-07-26  Angus Leeming  <leeming@lyx.org>
6118
6119         * lyx_cb.C:
6120         * lyx_main.[Ch]: replace occurances of system_tempdir with
6121         os::getTmpDir().
6122
6123 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * rename Inset to InsetOld
6126
6127 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6128
6129         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6130         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6131         which I think is a bit clearer. EDIT is gone, since it was
6132         premature optimisation, and broken for mathed anyway.
6133         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6134         with cursor positioning in insets as well (math insets still do not
6135         work, but that's a different story anyway.) It mysteriously
6136         crashes sometimes with undo in the first paragraph, but I'm fairly
6137         confident that this is a compiler bug.
6138
6139 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * paragraph.C (Paragraph): adjust for new clone return type
6142         (operator==): ditto
6143         (copyIntoMinibuffer): ditto
6144
6145 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6146
6147         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6148         by not having a special case, and always doing a full rebreak of
6149         the document after undo.
6150
6151 2003-07-23  Angus Leeming  <leeming@lyx.org>
6152
6153         * factory.C (createInset): InsetExternal::setParams now takes a
6154         Buffer const * arg.
6155
6156 2003-07-23  Angus Leeming  <leeming@lyx.org>
6157
6158         * factory.C (createInset): changed interface to the external and
6159         graphics mailers' string2params functions.
6160
6161 2003-07-23  Angus Leeming  <leeming@lyx.org>
6162
6163         * factory.C (createInset): pass a
6164         Buffer const * parameter to InsetExternalMailer's string2params.
6165
6166 2003-07-22  John Levon  <levon@movementarian.org>
6167
6168         * Thesaurus.h: include the right aiksaurus header
6169
6170 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6171
6172         * MenuBackend.C (expand): check menu shortcuts unconditionally
6173
6174 2003-07-21  Angus Leeming  <leeming@lyx.org>
6175
6176         * factory.C (createInset): pass a
6177         buffer_path parameter to InsetGraphicsMailer's string2params.
6178
6179 2003-07-21  Angus Leeming  <leeming@lyx.org>
6180
6181         * BufferView_pimpl.C (buffer):
6182         * buffer.C (d-tor):
6183         * lyx_main.C (LyX):
6184         * lyxfunc.C (dispatch):
6185         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6186         rather than the grfx shortcut.
6187
6188 2003-07-21  André Pönitz  <poenitz@gmx.net>
6189
6190         * rowpainter.C: remove unused variables
6191
6192         * tabular_funcs.C:
6193         * tabular_funcs.h: move to tabular.C
6194         * Makefile.am: adjust
6195
6196         * tabular.[Ch]: basic optical cleaning
6197
6198         * author.h: pass references, not values
6199
6200 2003-07-18  André Pönitz  <poenitz@gmx.net>
6201
6202         * lyxtext.h:
6203         * metricsinfo.C:
6204         * metricsinfo.h:
6205         * rowpainter.C:
6206         * text.C:
6207         * text2.C:
6208         * text3.C: two-phase drawing for InsetText and InsetTabular
6209         some float -> int changes.
6210
6211 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6212
6213         * lyx_main.C: fix the fix
6214
6215 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6216
6217         * lyx_main.C: fix a crash in batch mode if no files specified
6218         * converter.C: ws
6219
6220 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6221
6222         * format.[Ch] (papersize): moved to BufferParams
6223         * converter.[Ch] (dvips_options): moved to BufferParams
6224         (dvipdfm_options): moved to anon namespace
6225         * bufferparams.[Ch]: added above functions.
6226
6227 2003-07-17  André Pönitz  <poenitz@gmx.net>
6228
6229         * lyxtext.h:
6230         * rowpainter.C:
6231         * text2.C: don't call inset->update() anymore
6232
6233         * metricsinfo.[Ch]: add convenience constructor
6234
6235 2003-07-16  André Pönitz  <poenitz@gmx.net>
6236
6237         * lyxcursor.[Ch]:
6238         * lyxfunc.[Ch]:
6239         * text.C:
6240         * text2.C: replace the LyXCursor::irow_ member with
6241          on-demand computation of the value
6242
6243 2003-07-16  John Levon  <levon@movementarian.org>
6244
6245         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6246
6247 2003-07-15  André Pönitz  <poenitz@gmx.net>
6248
6249         * text.C:
6250         * text2.C: remove no more needed refresh_row
6251
6252 2003-07-15  André Pönitz  <poenitz@gmx.net>
6253
6254         * lyxtext.h:
6255         * rowpainter.C:
6256         * text2.C:
6257         * text3.C: refresh_status tristate -> need_update bool
6258
6259 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6260
6261         * lyxtext.h (init): remove reinit argument (act as if always true)
6262         * text2.C: adjust to that
6263
6264 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6265
6266         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6267         * text3.C: use it to delete selections in some cases
6268         (bugs 441, 673, 702, 954).
6269
6270 2003-07-14  André Pönitz  <poenitz@gmx.net>
6271
6272         * rowpainter.[Ch]: reduce interface
6273
6274 2003-07-14  André Pönitz  <poenitz@gmx.net>
6275
6276         * BufferView_pimpl.C:
6277         * text2.C: adjust after removing unused BufferView * argument
6278
6279 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6280
6281         * text2.C (init): fix a crash fired on resize
6282
6283 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6284
6285         * buffer.[Ch]: added new closing signal
6286         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6287         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6288         BufferView::Pimpl via the closing the signal
6289
6290 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6291
6292         * buffer.[Ch]: take out all bv-related from buffer
6293         * BufferView.C:
6294         * BufferView_pimpl.[Ch]: connect to new signals
6295         * CutAndPaste.C: removed useless asserts
6296         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6297         * lyxvc.[Ch]:
6298         * vc-backend.[Ch]:
6299         * lyxfunc.C: moved view-related funciontality from vc here
6300         * paragraph.C: removed outdated comments
6301         * text.C: ws
6302
6303 2003-07-10  André Pönitz  <poenitz@gmx.net>
6304
6305         * BufferView_pimpl.C:
6306         * tabular.h:
6307         * tabular_funcs.C:
6308         * text.C:
6309         * text2.C: remove InsetText::InnerCache, clean up consequences
6310
6311 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6312
6313         * ispell.C: fix two typos in error messages
6314
6315 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6316
6317         * Extend Note inset to other forms of annotation like Comment
6318         and Greyedout. Right button click gives dialog.
6319
6320         Files modified or added (+):
6321
6322         * insetnote.[Ch]
6323         * FormNote.[Ch]      +
6324         * ControlNote.[Ch]   +
6325         * form_note.fd       +
6326         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6327         frontends/controllers
6328         * xforms/Dialogs.C
6329         * factory.C
6330
6331 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6332
6333         * aspell.C: add missing namespace lyx::support
6334
6335 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6336
6337         * BufferView.[Ch] (newFile): Add
6338         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6339         * LaTeX.[Ch] (message): added this signal and use it
6340         * buffer.[Ch] (busy, message): added these signals and use them
6341         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6342         * converter.C:
6343         * exporter.C:
6344         * format.C:
6345         * importer.C: use buffer signals instead of direct bv calling
6346         * lyx_cb.[Ch] (ShowMessage): removed
6347         * lyx_main.C:
6348         * lyxfunc.C:
6349         * paragraph_funcs.C:
6350         * text2.C: use buffer signals
6351
6352 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * introduce namespace lyx::graphics
6355
6356 2003-07-02  André Pönitz  <poenitz@gmx.net>
6357
6358         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6359
6360 2003-07-01  André Pönitz  <poenitz@gmx.net>
6361
6362         * text.C:
6363         * text2.C:
6364         * text3.C:
6365         * text_funcs.[Ch]:
6366         * textcursor.h:
6367         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6368           text*.C to text_func.C
6369
6370 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6371
6372         * introduce namespace lyx::support
6373
6374 2003-06-30  André Pönitz  <poenitz@gmx.net>
6375
6376         * Chktex.C:
6377         * funcrequest.C:
6378         * lyxtext.h:
6379         * text.C: re-enable --with-included-string
6380
6381 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6382
6383         * textcursor.C: add <config.h>
6384
6385         * text.C (getWord): remove const from word_location arg
6386
6387         * lyxvc.C (getLogFile): fix const type order
6388
6389         * lyxtext.h: remove const from word_location arg, add arg name
6390
6391         * lyxlayout.h: currect type on labeltype.
6392
6393         * importer.C: correct \file
6394
6395         * converter.C (intToFormat): use std:: on ret val, ws changes
6396
6397         * bufferlist.h: correct \file
6398
6399         * buffer.C (makeLinuxDocFile): fix const type order
6400         (makeDocBookFile): ditto
6401         (fillWithBibKeys): use std:: on stdlib args.
6402
6403         * CutAndPaste.C: fix authors.
6404         (availableSelections): use std:: on return vector
6405
6406 2003-06-27  André Pönitz  <poenitz@gmx.net>
6407
6408         * BufferView_pimpl.C:
6409         * bufferview_funcs.C:
6410         * lyxcursor.C:
6411         * lyxcursor.h:
6412         * lyxfunc.C:
6413         * lyxtext.h:
6414         * rowpainter.C:
6415         * text.C:
6416         * text2.C:
6417         * text3.C: remove LyXCursor::row_ member
6418
6419         * lyxtext.h:
6420         * text.C: rename fullRebreak() to partialRebreak() and implement
6421           a fullRebreak() that really bereks fully
6422
6423         * textcursor.h: new struct for cursor-related data
6424
6425 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6426
6427         * lyx_main.C (LyX): get full path of document loaded on the
6428         command line
6429
6430 2003-06-26  André Pönitz  <poenitz@gmx.net>
6431
6432         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6433           remove unused/broken operator>,<,>=.
6434
6435         *       text.C: remove only use of broken operator<= in an Assert().
6436
6437 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6438
6439         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6440         moved errorlist_.clear to showErrorList
6441
6442 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6443
6444         * converter.C (scanLog, runLaTeX):
6445         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6446         move the bv->showErrorList call to the callers
6447         * lyxfunc.C: i.e. here...
6448         * text2.C: and here
6449         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6450         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6451         namespace, the second to...
6452         * buffer_funcs (BufferFormat, parseErrors): added
6453         * errorlist.C (ErrorList(TeXErrors const &)): removed
6454
6455 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6456
6457         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6458
6459 2003-06-24  "Garst R. Reese" <reese@isn.net>
6460
6461         * debug.C: fix typo
6462
6463 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6464
6465         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6466
6467         * version.C.in: change docversion to 1.4
6468
6469 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6470
6471         * buffer.C: fix a bug just introduced
6472
6473 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6474
6475         * buffer.[Ch]: added the parseError signal and use it, removed
6476         sgmlError
6477         * BufferView.[Ch] (addError): moved to ...
6478         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6479         to the Buffer::parseError signal to catch (guess what) parse errors
6480         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6481
6482 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6483
6484         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6485         ability to create a buffer and to return an existing one from
6486         the list. Moved these functions to...
6487         * buffer_funcs.[Ch]: added
6488         * BufferView.[Ch] (loadLyXFile): added
6489         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6490         job removed from bufferlist::loadLyXFile.
6491         * buffer.C (setReadOnly): make it work without view
6492         (i.e added an if (users))
6493
6494 2003-06-19  Angus Leeming  <leeming@lyx.org>
6495
6496         * lfuns.h:
6497         * LyXAction.C (init):
6498         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6499         with LFUN_DIALOG_SHOW <name> <data>.
6500
6501 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6502
6503         * CutAndPaste.C (availableSelections): small compilation fix for
6504         ancient (gcc 2.9x) compilers
6505
6506 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * text3.C (cursorNext): add tmp var
6509
6510         * text2.C (updateCounters): for function calling out of for clause
6511         (replaceSelectionWithString): ditto
6512         (insertStringAsParagraphs): ditto
6513         (getColumnNearX): add tmp var
6514         (setCursorFromCoordinates): add tmp var
6515         (cursorDownParagraph): add tmp var
6516         (deleteEmptyParagraphMechanism): add tmp var
6517
6518         * text.C (insertChar): add tmp var
6519
6520         * rowpainter.C (paintDepthBar): add tmp var
6521
6522         * CutAndPaste.C (availableSelections): potentially check all
6523         paragraphs in a cut to fill the shown strings.
6524
6525 2003-06-18  André Pönitz  <poenitz@gmx.net>
6526
6527         * kbmap.[Ch]: use vector<> instead of list<>
6528
6529 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6530
6531         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6532         pasteSelection with index
6533
6534         * text2.C (pasteSelection): modify, call pasteSelection with index
6535
6536         * paragraph.C (asString): reimplement version with no interval to
6537         call the one with interval.
6538
6539         * lyxtext.h: add index arg to pasteSelection
6540
6541         * MenuBackend.C (MenuItem): handle PasteRecent
6542         (Menu::read::Menutags): add md_pasterecent
6543         (read): handle it
6544         (expandPasteRecent): new function
6545         (expand): use it
6546
6547         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6548
6549         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6550         the limited stack
6551         (availableSelections): new function
6552
6553 2003-06-17  Angus Leeming  <leeming@lyx.org>
6554
6555         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6556
6557 2003-06-17  Angus Leeming  <leeming@lyx.org>
6558
6559         * lfuns.h:
6560         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6561
6562         * lyxfunc.C (dispatch): invoke it.
6563
6564 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6565
6566         * iterators.C (operator++, ParPosition): reintroduce some
6567         const_cast for the benefit of older compilers.
6568
6569 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6570
6571         * text3.C (dispatch): do not modify clipboard when doing
6572         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6573         LFUN_DELETE_SKIP on a selection selection
6574
6575 2003-06-16  André Pönitz  <poenitz@gmx.net>
6576
6577         * BufferView.C:
6578         * buffer.C:
6579         * buffer.h:
6580         * paragraph.C:
6581         * tabular.[Ch]: IU of clone() and getLabelList();
6582
6583 2003-06-13  André Pönitz  <poenitz@gmx.net>
6584
6585         * tabular.h: compactification
6586
6587 2003-06-12  André Pönitz  <poenitz@gmx.net>
6588
6589         * tabular.C:
6590         * tabular.h:
6591         * tabular_funcs.h: some renaming plus whitespace
6592
6593 2003-06-12  André Pönitz  <poenitz@gmx.net>
6594
6595         * BufferView.C:
6596         * BufferView_pimpl.C:
6597         * CutAndPaste.C:
6598         * buffer.C:
6599         * iterators.[Ch]:
6600         * lyxfunc.C:
6601         * text.C:
6602         * toc.C: Return a Paragraph & for ParIterator::operator*()
6603
6604 2003-06-11  John Levon  <levon@movementarian.org>
6605
6606         * lyx_main.C:
6607         * ToolbarBackend.h:
6608         * ToolbarBackend.C: add "Toolbars" section and
6609         put the flags there
6610
6611 2003-06-10  Angus Leeming  <leeming@lyx.org>
6612
6613         * lfuns.h:
6614         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6615
6616         * lyxfunc.C (dispatch): invoke it.
6617
6618 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * main.C: protect <ios> with HAVE_IOS
6621         (main): protect sync_with_stdio with HAVE_IOS
6622
6623 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6624
6625         * text2.C (cutSelection): adjust
6626         (pasteSelection): adjust
6627
6628         * messages.C: handle get of empty string
6629
6630         * main.C (main): use sync_with_stdio(false)
6631
6632         * lyxfunc.C (dispatch): adjust
6633
6634         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6635         (WriteAs): remove unneeded BufferView arg.
6636
6637         * bufferparams.h: use correct types on papersize, papersize2 and
6638         paperpackage.
6639
6640         * bufferparams.C (readToken): adjust for type
6641         (writeLaTeX): add missing cases to switch.
6642
6643         * bufferlist.C (quitWriteBuffer): adjust
6644         (close): adjust
6645
6646         * buffer.C (asciiParagraph): remove some commented code.
6647
6648         * CutAndPaste.C: remove current_view extern variable.
6649         (cutSelection): add BufferParams arg.
6650         (eraseSelection): add BufferParams arg.
6651         (pasteSelection): add Buffer const & arg
6652
6653 2003-06-07  John Levon  <levon@movementarian.org>
6654
6655         * buffer.C:
6656         * paragraph_funcs.C:
6657         * paragraph_pimpl.C:
6658         * text.C:
6659         * text2.C:
6660         * paragraph.h:
6661         * paragraph.C: allow InsetERT to freely space lines,
6662         and some consolidation of code
6663
6664 2003-06-06  José Matos  <jamatos@fep.up.pt>
6665
6666         * buffer.C (makeDocBookFile): fix bug #821
6667
6668 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6669
6670         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6671
6672 2003-06-04  Angus Leeming  <leeming@lyx.org>
6673
6674         * buffer.C: bump format to 224.
6675
6676 2003-06-05  André Pönitz  <poenitz@gmx.net>
6677
6678         * text2.C (redoParagraphs): remove two const_cast<>
6679
6680 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6681
6682         * ParagraphList.h: remove last remnants of NO_STD_LIST
6683
6684 2003-06-03  Angus Leeming  <leeming@lyx.org>
6685
6686         * factory.C (createInset): small change to the way InsetExternal's params
6687         are set.
6688
6689 2003-06-04  André Pönitz  <poenitz@gmx.net>
6690
6691         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6692
6693         * paragraph_pimpl.h:
6694         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6695
6696         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6697
6698         * undo_funcs.C: make some simple cases of undo work again
6699
6700 2003-06-03  John Levon  <levon@movementarian.org>
6701
6702         * ispell.C: HPUX doesn't have sys/select.h
6703         (from Albert Chin)
6704
6705 2003-06-03  John Levon  <levon@movementarian.org>
6706
6707         * CutAndPaste.C: update tabular and include inset
6708         buffer references
6709
6710         * buffer.h:
6711         * paragraph.h:
6712         * paragraph.C: remove owningBuffer(), don't pass Buffer
6713         to clone()
6714
6715         * factory.C: insetGraphicsParams changed
6716
6717 2003-06-02  John Levon  <levon@movementarian.org>
6718
6719         * LyXAction.C:
6720         * factory.C:
6721         * lfuns.h:
6722         * lyxfunc.C:
6723         * text3.C: remove insetparent
6724
6725 2003-06-02  John Levon  <levon@movementarian.org>
6726
6727         * buffer.h:
6728         * buffer.C: fix inset_iterator.end(), move out of line
6729         (bug 1149)
6730
6731 2003-06-01  John Levon  <levon@movementarian.org>
6732
6733         * text3.C: use a proper cut/paste when doing inset
6734         insert (from Jürgen Spitzmüller)
6735
6736 2003-06-01  John Levon  <levon@movementarian.org>
6737
6738         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6739
6740 2003-05-30  André Pönitz  <poenitz@gmx.net>
6741
6742         * rowpainter.C: unify second drawing phase
6743
6744 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * trans_mgr.C: remove one case of current_view
6747
6748         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6749
6750         * paragraph_funcs.h: remove paragraph.h include
6751
6752         * paragraph.h: delete NO_STD_LIST stuff
6753
6754         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6755
6756         * buffer.h: remove paragraph.h include
6757
6758         * ParagraphList.C: delete file
6759
6760         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6761
6762         * toc.C (getTocList): adjust
6763
6764         * paragraph_pimpl.C (validate): adjust
6765
6766         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6767
6768         * paragraph.C (Paragraph): adjust
6769         (getPositionOfInset): use const_iterator, adjust
6770         (bibitem): use const_iterator, adjust
6771         (setInsetOwner): adjust
6772
6773         * iterators.C (operator++): adjust
6774
6775         * InsetList.[Ch]: Replace selfmade iterator with standard
6776         vector::iterator also introduce const_iterator. Remove getPos,
6777         getInset and setInset from InsetTable. Adjust accordingly.
6778
6779         * BufferView.C (lockInset): adjust
6780         (ChangeInsets): adjust
6781
6782         * tabular.[Ch]: delete commented same_id functions
6783
6784 2003-05-28  John Levon  <levon@movementarian.org>
6785
6786         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6787
6788 2003-05-28  André Pönitz  <poenitz@gmx.net>
6789
6790         * metricsinfo.[Ch]: remove 'fullredraw' member
6791
6792 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6793
6794         * lyxtextclass.C (operator): remove caching.
6795
6796 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6797
6798         * text3.C: adjust
6799
6800         * text2.C (cursorBottom): adjust
6801         (setCounter): use ParagraphList::find, adjust
6802
6803         * text.C (workWidth): use ParagraphList::find, adjust
6804
6805         * lyxcursor.C (LyXCursor): adjust
6806
6807         * buffer.C (inset_iterator): adjust
6808
6809         * ParagraphList.h: make iterator(value_type) private, make
6810         ParagraphList a friend of iterator.
6811
6812         * ParagraphList.C (find): new function
6813
6814         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6815
6816 2003-05-27  André Pönitz  <poenitz@gmx.net>
6817
6818         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6819
6820 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6821
6822         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6823
6824 2003-05-26  John Levon  <levon@movementarian.org>
6825
6826         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6827
6828 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6829
6830         * remove same_id from function signatures, adjust.
6831
6832 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6835
6836         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6837
6838         * paragraph.C (Paragraph): get rid of same_ids parameter
6839
6840         * ParagraphList.C (insert): adjust
6841         (push_back): adjust
6842
6843 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * paragraph_funcs.C (breakParagraph): adjust
6846         (breakParagraphConservative): adjust
6847
6848         * buffer.C (readParagraph): adjust
6849
6850         * ParagraphList.C (insert): take a reference instead of a pointer
6851         (insert): adjust
6852
6853         * paragraph.[Ch] (id): new function
6854
6855         * bufferlist.C (newFile): adjust
6856
6857         * ParagraphList.C (ParagraphList): adjust
6858         (assign): adjust
6859         (push_back): take a reference instead of a pointer.
6860
6861         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6862
6863         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6864         instead.
6865
6866         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6867         set else use old code.
6868
6869         * ParagraphList.C: remove all NO_NEXT code and only compile this
6870         code of NO_STD_LIST is set.
6871
6872 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6873
6874         * BufferView_pimpl.C:
6875         * TextCache.C:
6876         * TextCache.h:
6877         * bufferlist.C:
6878         * errorlist.h:
6879         * format.C:
6880         * format.h:
6881         * graph.C:
6882         * lyxfunc.C:
6883         * lyxrc.C:
6884         * graphics/GraphicsConverter.C:
6885         * graphics/PreviewLoader.C: header adjustment
6886
6887 2003-05-23  Angus Leeming  <leeming@lyx.org>
6888
6889         * LaTeXFeatures.[Ch] (useBabel): new method.
6890         * bufferparams.C (writeLaTeX): use it.
6891
6892 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * ParagraphList.h (set): remove unused function.
6895
6896 2003-05-23  André Pönitz  <poenitz@gmx.net>
6897
6898         * BufferView.C:
6899         * BufferView_pimpl.C:
6900         * buffer.C:
6901         * buffer.h:
6902         * lyxfunc.C:
6903         * undo_funcs.C: setUndo reworked
6904
6905         * iterators.[Ch]: add access to topmost ParagraphList
6906
6907         * lyxtext.[Ch] (workWidth): add a const
6908
6909 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6910
6911         * texrow.[Ch] (increasePos): remove function
6912         * exporter.C (export): removed unused var and outdated comment
6913
6914 2003-05-23  Angus Leeming  <leeming@lyx.org>
6915
6916         * latexrunparams.h: rename fragile as moving_arg.
6917         * paragraph.C (simpleTeXOnePar): ditto.
6918         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6919
6920 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6923         (createUndo): ditto
6924         (textUndoOrRedo): comment out a currently unused var.
6925
6926         * paragraph.h (NO_NEXT): enable NO_NEXT
6927
6928         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6929
6930         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6931
6932         * exporter.C (Export): adjust for removeAutoInsets removal.
6933
6934         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6935
6936         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6937
6938         * BufferView.[Ch] (removeAutoInsets): delete function
6939
6940 2003-05-22  Angus Leeming  <leeming@lyx.org>
6941
6942         * latexrunparams.h: add a free_spacing variable.
6943
6944         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6945         to pass moving_arg, as the data is stored in runparams.fragile.
6946
6947         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6948         to Inset::latexOptional or to simpleTeXOnePar.
6949
6950         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6951         free_spacing arg to Inset::latexOptional.
6952
6953         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6954         free_spacing arg.
6955
6956 2003-05-22  Angus Leeming  <leeming@lyx.org>
6957
6958         * latexrunparams.h: add fragile and use_babel variables.
6959
6960         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6961         * buffer.C (makeLaTeXFile): store this returned value in
6962         runparams.use_babel, thus passing it to the inset::latex methods.
6963
6964         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6965         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6966
6967         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6968         longer has a fragile arg, as it is stored in runparams.fragile.
6969
6970         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6971         moving_arg parameter as the data is stored in runparams.fragile.
6972
6973         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6974         a fragile parameter as the data is stored in runparams.fragile.
6975
6976 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6979
6980 2003-05-22  Angus Leeming  <leeming@lyx.org>
6981
6982         * latexrunparams.h: add a 'bool nice' which defaults to false.
6983
6984         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6985         now encapsulated within runparams.
6986
6987         * bufferlist.C (updateIncludedTeXfiles):
6988         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6989
6990 2003-05-22  Angus Leeming  <leeming@lyx.org>
6991
6992         * latexrunparams.h: new file containing struct LatexRunParams.
6993         * Makefile.am: add new file.
6994
6995         * LaTeX.[Ch] (c-tor, run):
6996         * buffer.[Ch] (makeLaTeXFile):
6997         * bufferlist.[Ch] (updateIncludedTeXfiles):
6998         * converter.C (convert, scanLog):
6999         * converter.[Ch] (runLaTeX):
7000         * exporter.C (Export):
7001         * paragraph.[Ch] (simpleTeXOnePar):
7002         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7003         * paragraph_funcs.[Ch] (latexParagraphs):
7004         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7005         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7006         pass around a LatexRunParams parameter.
7007
7008 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7009
7010         * paragraph.[Ch]: remove unused constructor
7011
7012         * ParagraphList.C (erase): new function, taking two iterators
7013
7014 2003-05-22  André Pönitz  <poenitz@gmx.net>
7015
7016         * undo_funcs.C: remove duplicated code
7017
7018         * iterator.[Ch]: operator=
7019
7020 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * tabular.C (SetMultiColumn): ws changes
7023
7024         * rowpainter.C (paintFirst): get rid of a ->previous
7025
7026         * lyx_cb.C (getPossibleLabel): parlist simplification
7027
7028         * BufferView.C (ChangeInsets): simplify slightly.
7029
7030 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7031
7032         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7033         * lfuns.h: new LFUN_SPACE
7034         * lyxfunc.C: protected space has a new lfun
7035         * paragraph_funcs.C: read new space insets
7036         * text3.C:
7037         * factory.C: handle new space insets
7038
7039 2003-05-22  André Pönitz  <poenitz@gmx.net>
7040
7041         * BufferView.C:
7042         * BufferView_pimpl.C:
7043         * buffer.[Ch]:
7044         * lyxfunc.C:
7045         * undo_funcs.C: return a ParIterator from getParFromID.
7046
7047         * iterators.[Ch]: add two const's
7048
7049 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * toc.C (getTocList): adjust
7052
7053         * iterators.[Ch]: rework for parlist
7054
7055         * buffer.C (par_iterator_begin): adjust
7056         (par_iterator_end): adjust
7057
7058         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7059
7060         * BufferView.C (removeAutoInsets): adjust
7061         (ChangeInsets): adjust
7062
7063 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7064
7065         * text.C (top_y): fix bug 1110
7066
7067 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7068
7069         * errorlist.[Ch]: added
7070         * buffer.C:
7071         * BufferView.[Ch]:
7072         * BufferView_pimpl.C:
7073         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7074         instead
7075
7076 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7077
7078         * Makefile.am: ensure that lyx is relinked upon changes to the
7079         various "convenience" libs.
7080
7081 2003-05-20  Angus Leeming  <leeming@lyx.org>
7082
7083         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7084         files are compiled in alphabetical order again.
7085
7086         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7087
7088 2003-05-19  Angus Leeming  <leeming@lyx.org>
7089
7090         * gettext.[Ch]: remove "char const * _(char const *)".
7091
7092 2003-05-19  André Pönitz  <poenitz@gmx.net>
7093
7094         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7095
7096         * Makefile.am:
7097         * BufferView.C:
7098         * DepTable.h:
7099         * LaTeXFeatures.C:
7100         * buffer.C:
7101         * lyxfont.C:
7102         * lyxlex.h:
7103         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7104
7105 2003-05-19  André Pönitz  <poenitz@gmx.net>
7106
7107         * buffer.C:
7108         * lyxlayout.[Ch]:
7109         * lyxtextclass.[Ch]:
7110         * paragraph.C:
7111         * paragraph_funcs.[Ch]:
7112         * text2.C:
7113         * text3.C: more insetenv work
7114
7115 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7116
7117         * ParagraphParameters.C (params2string): small bug fixed
7118
7119 2003-05-16  André Pönitz  <poenitz@gmx.net>
7120
7121         * debug.C:
7122         * bufferview_funcs.C: patch from Kornel Benko to prevent
7123           crash when _(...) is called twice in a statement
7124
7125 2003-05-16  André Pönitz  <poenitz@gmx.net>
7126
7127         * BufferView.C:
7128         * lyxfunc.C:
7129         * text.C:
7130         * text2.C:
7131         * text3.C:
7132         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7133
7134 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7135
7136         * lyx_main.C (init): remove spurious static_cast
7137
7138 2003-05-14  André Pönitz  <poenitz@gmx.net>
7139
7140         * BufferView.C: fix format string
7141
7142 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7143
7144         * BufferView.[Ch] (insertErrors): removed
7145         * BufferView.[Ch] (showErrorList): added
7146         * buffer.C (runChkTeX):
7147         * converter.C (scanLog): call showErrorList instead of inserterrors
7148
7149 2003-05-13  André Pönitz  <poenitz@gmx.net>
7150
7151         * BufferView_pimpl.C:
7152         * buffer.C:
7153         * bufferview_func.C:
7154         * MenuBackend.C:
7155         * lyxfunc.C:
7156         * lyxrc.C:
7157         * tex-accent.C:
7158         * text3.C:
7159         * toc.C:
7160         * tabular_funcs.h: tostr() from its own header
7161
7162         * ParagraphParameters.C:
7163         * ToolbarBackend.C:
7164         * bufferparams.C:
7165         * format.C:
7166         * lyxlex_pimpl.C:
7167         * text3.C: STRCONV()
7168
7169 2003-05-12  André Pönitz  <poenitz@gmx.net>
7170
7171         * BufferView.C:
7172         * BufferView_pimpl.C:
7173         * CutAndPaste.C:
7174         * LaTeX.C:
7175         * LaTeXFeatures.C:
7176         * ParagraphParameters.C:
7177         * buffer.C:
7178         * bufferlist.C:
7179         * bufferparams.C:
7180         * bufferview_funcs.C:
7181         * converter.C:
7182         * counters.C:
7183         * debug.C:
7184         * exporter.C:
7185         * format.C:
7186         * importer.C:
7187         * lyx_cb.C:
7188         * lyx_main.C:
7189         * lyxfont.C:
7190         * lyxfunc.C:
7191         * lyxvc.C:
7192         * paragraph.C:
7193         * paragraph_funcs.C:
7194         * tabular.C:
7195         * tabular_funcs.C:
7196         * text2.C:
7197         * text3.C:  boost::format -> bformat  all over the place
7198
7199
7200 2003-05-09  André Pönitz  <poenitz@gmx.net>
7201
7202         * LColor.[Ch]: Pimpl the #include <map> away
7203
7204 2003-05-09  John Levon  <levon@movementarian.org>
7205
7206         * bufferlist.C: never remove emergency saves
7207
7208 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * Makefile.am: better lib building
7211
7212 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7213
7214         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7215         instead.
7216         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7217         (simpleTeXSpecialChars): adjust
7218         (simpleTeXSpecialChars): adjust
7219         * paragraph.C (simpleTeXOnePar): adjust
7220         * buffer.C (makeLaTeXFile): adjust
7221
7222         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7223
7224         * text2.C (changeDepth): parlist cleanup
7225         (getColumnNearX): ditto
7226
7227         * rowpainter.C (getLabelFont): parlist cleanup
7228
7229         * bufferlist.C (newFile): parlist cleanup
7230
7231         * CutAndPaste.C (eraseSelection): parlist cleanup
7232
7233         * BufferView_pimpl.C (trackChanges): parlist cleanup
7234         (dispatch): ditto
7235
7236         * BufferView.C (lockInset): parlist cleanup.
7237         (ChangeInsets): ditto
7238
7239 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * CutAndPaste.h: Update file header.
7242
7243         * CutAndPaste.C: Update file header.
7244         Store the parts cut out of the Document in a limited_stack.
7245         (copySelection): adjust
7246         (pasteSelection): new function, takes the index in the limited stack.
7247         (nrOfParagraphs): adjust
7248         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7249         simplify error inset insertion.
7250         (checkPastePossible): adjust
7251
7252 2003-05-06  John Levon  <levon@movementarian.org>
7253
7254         * text2.C: don't cast wrap inset to float
7255
7256 2003-05-05  André Pönitz  <poenitz@gmx.net>
7257
7258         * iterator.C:
7259         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7260
7261         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7262           few naked Paragraph *.
7263
7264 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7265
7266         * bufferparams.C: Output warning if a document with missing
7267         TeX document class is loaded
7268         * exporter.C: Disable TeX exports if the document class is missing
7269         * lyxtextclass.C:
7270         * lyxtextclass.h:
7271         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7272         isTeXClassAvailable()
7273
7274 2003-05-03  John Levon  <levon@movementarian.org>
7275
7276         * BufferView.h:
7277         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7278         explicit cursor show/hide
7279
7280         * BufferView_pimpl.h:
7281         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7282         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7283
7284         * lyxfunc.C: hide cursor before dispatching.
7285
7286         * lyx_cb.C:
7287         * lyxfind.C:
7288         * text.C:
7289         * text3.C: remove explicit cursor hides
7290
7291 2003-05-02  André Pönitz  <poenitz@gmx.net>
7292
7293         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7294
7295         * undo_funcs.C:
7296         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7297           linked lists
7298
7299         * text2.C: tiny whitespace
7300
7301 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * undo_funcs.C: almost only ws changes.
7304
7305         * ParagraphList.C (splice): just return if pl is empty.
7306
7307 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7308
7309         * ParagraphList.C (splice): new function.
7310
7311         * CutAndPaste.C (pasteSelection): use it
7312
7313 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * CutAndPaste.C (pasteSelection): remove the last next and
7316         previous from this file.
7317
7318 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * CutAndPaste.C (pasteSelection): more clean up, user proper
7321         ParagraphList functions for pasteing.
7322
7323         * ParagraphList.C (insert): new function, three arg insert
7324
7325 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7326
7327         * ParagraphList.C (insert): new function, three arg insert
7328
7329         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7330         not on paragraphs.
7331
7332 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7333
7334         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7335
7336 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7339
7340 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7343         (copySelection): clean up a bit.
7344         (pasteSelection): use make_pair
7345
7346         * ParagraphList.C (ParagraphList): implement copy constructor
7347         (operator=): implement, base on copy constructor.
7348         (assign): new func
7349
7350         * paragraph.C (erase): return a bool
7351
7352         * paragraph_pimpl.C (erasePos): remove function, move contents...
7353         (erase): ... here. Return a bool.
7354         (erase): call erase instead of erasePos.
7355
7356 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7357
7358         * ParagraphList.h: define PitPosPair
7359         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7360         ParagraphList, fix a bug on pasting multiple pars
7361         * text2.C: change interface to C&P
7362
7363 2003-04-30  André Pönitz  <poenitz@gmx.net>
7364
7365         * undo_func.C: revert part of yesterday's patch 2
7366
7367 2003-04-30  John Levon  <levon@movementarian.org>
7368
7369         * LColor.C: s/tabular/table/
7370
7371 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7372
7373         * text3.C (dispatch): do not convert iterator -> pointer
7374         * undo_funcs.C (setCursorParUndo): ditto
7375         * text_funcs.C (transposeChars): ditto
7376
7377         * text2.C (setLayout): ws changes only
7378
7379         * text.C (breakParagraph): do not convert iterator -> pointer
7380         (insertChar): ditto
7381         (acceptChange): ditto
7382         (rejectChange): ditto
7383         (changeCase): ditto
7384         (Delete): ditto
7385         (backspace): ditto
7386
7387         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7388         pointer
7389
7390 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7391
7392         * text3.C (gotoInset): YABG (yet another bad getChar)
7393
7394 2003-04-29  André Pönitz  <poenitz@gmx.net>
7395
7396         * paragraph.h: make operator= private unimplemented as long as
7397           it is unusable
7398
7399         * ParagraphList.C: whitespace
7400
7401         * paragraph.[Ch]:
7402         * paragraph_pimpl.[Ch]:
7403         * paragraph_funcs.C:
7404         * CutAndPaste.C:
7405         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7406
7407         * text2.C:
7408           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7409
7410 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7411
7412         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7413         * paragraph.[Ch] (erase):
7414         * paragraph_pimpl.[Ch] (erase): change return type and value
7415         * text2.C (cutSelection): some rework
7416
7417 2003-04-28  John Levon  <levon@movementarian.org>
7418
7419         * bufferlist.C: changes for unsaved changes dialog
7420
7421 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * bufferlist.C (newFile): set language (messages_) for new
7424         documents also.
7425
7426         * buffer.C (readFile): ws changes only.
7427
7428 2003-04-28  André Pönitz  <poenitz@gmx.net>
7429
7430         * undo_funcs.C:
7431         * lyxfunc.C:
7432         * buffer.[Ch]:
7433         * BufferView_pimpl.C:
7434         * BufferView.C: getParFromID related ParagraphList::iterator changes
7435
7436 2003-04-28  André Pönitz  <poenitz@gmx.net>
7437
7438         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7439           Changes
7440
7441 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * messages.C: remove one more localedir class variable.
7444
7445 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7446
7447         * messages.C (getLocaleDir): singleton generation function
7448         (Pimpl): use it.
7449         (Messages): add a default constructor.
7450
7451         * main.C (main): do not setup localedir here, do not call
7452         gettext_init.
7453
7454         * gettext.C (_): use it.
7455         (gettext_init): delete funciton
7456
7457 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * gettext.C (getLyXMessages): new singleton generating function.
7460
7461         * buffer.C (updateDocLang): adjust
7462
7463         * Makefile.am (messages.o): add target
7464         (main.o): remove target
7465
7466 2003-04-27  John Levon  <levon@movementarian.org>
7467
7468         * bufferlist.C:
7469         * lyx_cb.C:
7470         * lyxfunc.C:
7471         * lyxvc.C: specify cancel button in Alert::prompt
7472
7473 2003-04-26  John Levon  <levon@movementarian.org>
7474
7475         * text3.C:
7476         * lyxfunc.C:
7477         * lfuns.h:
7478         * LyXAction.C: add LFUN_INSET_SETTINGS
7479
7480         * lyxfunc.C: don't enable tabular-feature when there's
7481         just any locking inset
7482
7483 2003-04-26  John Levon  <levon@movementarian.org>
7484
7485         * bufferlist.C: re-add Cancel to buffer close question
7486
7487         * lyxfunc.C: fix import UI a bit
7488
7489 2003-04-25  John Levon  <levon@movementarian.org>
7490
7491         * gettext.C: remove the broken asserts for now
7492
7493 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7494
7495         * messages.C: make case where setlocale cannot comply work better.
7496
7497         * buffer.C (updateDocLang): new function
7498         (changeLanguage): use it
7499         (readFile): use it
7500
7501         * text2.C (setCounter): use B_ a bit.
7502
7503         * lyxlayout.C (Read): be sure to trim the label strings.
7504
7505         * messages.C (Messages): fix typo in comment
7506
7507         * buffer.C (readFile): set message_ after file is loaded.
7508         (makeDocBookFile): remove double return
7509         (changeLanguage): reset message_ upon language change.
7510         (B_): new func, use this to get translated buffer strings.
7511
7512         * main.C: add myself and Jean Marc as authors.
7513
7514 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7515
7516         * messages.[hC]: pimplify Messages, and three different pimpls to be
7517         used in different circumstances.
7518
7519         * gettext.[Ch]: change for use with new message code.
7520
7521 2003-04-24 André Pönitz <poenitz@gmx.net>
7522
7523         * factory.C: support for eqref
7524
7525 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * messages.[Ch]: add missing char
7528
7529         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7530
7531         * messages.[Ch]: New files
7532
7533 2003-04-18  John Levon  <levon@movementarian.org>
7534
7535         * BufferView.h:
7536         * BufferView.C:
7537         * BufferView_pimpl.C:
7538         * lfuns.h:
7539         * LyXAction.C:
7540         * lyxtext.h:
7541         * text2.C: remove layout-copy/paste (bug 778)
7542
7543 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7544
7545         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7546
7547 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7548
7549         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7550         if they succeed. Act accordingly.
7551
7552 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7553
7554         * text2.C (setCharFont): adjust
7555         (setCounter): adjust
7556         (insertStringAsLines): adjust
7557
7558         * text.C (leftMargin): adjust
7559         (setHeightOfRow): adjust
7560
7561         * rowpainter.C (paintFirst): adjust
7562         (paintLast): adjust
7563
7564         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7565         (outerHook): ditto
7566         (isFirstInSequence): ditto
7567         (getEndLabel): ditto
7568         (outerFont): adjust
7569
7570         * paragraph.C (getParLanguage): comment out some hard stuff.
7571
7572         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7573         (sgmlError): ditto
7574         (simpleDocBookOnePar): ditto
7575         (makeDocBookFile): use ParagraphList::iterator
7576
7577         * CutAndPaste.C (pasteSelection): adjust
7578
7579 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * text2.C (getFont): adjust
7582         (getLayoutFont): adjust
7583         (getLabelFont): adjust
7584
7585         * paragraph_funcs.C (TeXOnePar): adjust
7586
7587         * buffer.C (simpleLinuxDocOnePar): adjust
7588         (simpleDocBookOnePar): adjust
7589
7590         * CutAndPaste.C (pasteSelection): adjust
7591
7592         * BufferView.C (getEncoding): adjust
7593
7594         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7595
7596 2003-04-16  John Levon  <levon@movementarian.org>
7597
7598         * lyxfind.C: use parlist stuff for search/changes
7599
7600 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7601
7602         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7603
7604         * text2.C (deleteEmptyParagraphMechanism): adjust
7605
7606         * text2.[Ch] (ownerParagraph): delete func (both of them
7607
7608 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7609
7610         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7611
7612 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7613
7614         * ParagraphList.C: prepare for NO_NEXT
7615
7616 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * text2.C (getFont): adjust
7619         (getLayoutFont): adjust
7620         (getLabelFont): adjust
7621
7622         * paragraph.C (getFont): adjust
7623         (getLabelFont): adjust
7624         (getLayoutFont): adjust
7625
7626         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7627
7628 2003-04-15  John Levon  <levon@movementarian.org>
7629
7630         From Angus Leeming
7631
7632         * lyx_main.C: handle Include in .ui files
7633
7634 2003-04-15  John Levon  <levon@movementarian.org>
7635
7636         * MenuBackend.C: make the doc files length shorter
7637
7638         * ToolbarBackend.h:
7639         * ToolbarBackend.C: handle toolbar placement flags,
7640         Minibuffer
7641
7642 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7645         adjust
7646
7647         * paragraph_funcs.C (TeXOnePar): adjust
7648
7649         * paragraph.C (getLabelFont): add outerfont arg, adjust
7650         (getLayoutFont): ditto
7651         (simpleTeXOnePar): adjust
7652
7653         * paragraph_pimpl.C (realizeFont): delete func
7654
7655 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7656
7657         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7658         row argument, constify cur argument.
7659
7660 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * text2.C (getFont): adjust
7663         (getLayoutFont): adjust
7664         (getLabelFont): adjust
7665
7666         * paragraph_funcs.C (TeXOnePar): adjust
7667         (outerFont): new func...
7668         (realizeFont): ...moved out from here, changed this to facilitate
7669         transition
7670
7671         * paragraph.C (getFont): take outerfont as arg, adjust
7672         (simpleTeXOnePar): add outerfont arg, adjust
7673
7674         * buffer.C (simpleLinuxDocOnePar): adjust
7675         (simpleDocBookOnePar): adjust
7676
7677         * CutAndPaste.C (pasteSelection): adjust
7678
7679         * BufferView.C (getEncoding): adjust
7680
7681 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * text2.C (setCharFont): adjust
7684         (setCounter): adjust
7685
7686         * text.C (leftMargin): adjust
7687         (setHeightOfRow): adjust
7688
7689         * rowpainter.C (paintFirst): adjust
7690         (paintLast): adjust
7691
7692         * paragraph_pimpl.C (realizeFont): adjust
7693
7694         * paragraph.C (isFirstInSequence): move from here...
7695         * paragraph_funcs.C (isFirstInSequence): ...to here
7696
7697         * paragraph.C (outerHook): move from here...
7698         * paragraph_funcs.C (outerHook): ...to here
7699
7700         * paragraph.C (depthHook): move from here...
7701         * paragraph_funcs.C (depthHook): ...to here
7702
7703         * paragraph.C (getEndLabel): move from here...
7704         * paragraph_funcs.C (getEndLabel): ...to here
7705
7706         * text2.C (realizeFont): move from here...
7707         * paragraph_funcs.C (realizeFont): ...to here
7708
7709 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7710
7711         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7712
7713 2003-04-14  Angus Leeming  <leeming@lyx.org>
7714
7715         * LColor.[Ch]: scrap LColor mathcursor.
7716
7717 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7718
7719         * lyxlex.[Ch] (text): delete function
7720         * trans.C (Load): adjust
7721         * paragraph_funcs.C (readParToken): adjust
7722
7723 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7726         vector<char> instead of a char[].
7727
7728         * lyxlex_pimpl.C (getString): adjust
7729         (next): adjust
7730         (lex): use getString
7731         (eatLine): adjust
7732         (nextToken): adjust
7733
7734         * lyxlex.C (text): use pimpl_->getString()
7735         (getBool): ditto
7736         (findToken): ditto
7737
7738 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7739
7740         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7741         (makeFontEntriesLayoutSpecific): temp var for par.size()
7742         (setLayout): temp var for ownerParagraphs().end()
7743         (fullRebreak): temp var for rows().end()
7744         (selectionAsString): temp var for boost::next(startpit), realize
7745         that the while really is a regular for loop.
7746         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7747         setCursor in one place.
7748         (setParagraph): temp vr for ownerParagraphs().end()
7749         (updateCounters): make the while loop a for loop
7750         (cutSelection): temp var for ownerParagraphs().end()
7751         (updateInset): make the do {} while() a regular for loop
7752         (getCursorX): use temp vars
7753         (setCurrentFont): use temp vars
7754         (getColumnNearX): use temp vars
7755
7756 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * text.C (transformChar): use temp var for getChar
7759         (computeBidiTables): use temp var for row->par()
7760         (fill): move temp vars for row->par() and pit->layout() earlier in
7761         the function.
7762         (labelFill): use temp var for row->par()
7763         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7764         asc and desc, realize that pit never changes and that firstpit is
7765         just a duplicate and not needed. Exchange rit->par() with pit in a
7766         lot of places.
7767         (breakAgain): use a temp var for boost::next(rit)
7768         (breakAgainOneRow): ditto
7769         (breakParagraph): use a temp var for rows().begin()
7770         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7771         (cursorRightOneWord): use temp var for cursor.par() and
7772         cursor.pos(), remove usage of tmpcursor.
7773         (cursorLeftOneWord): use temp var for cursor.par() and
7774         cursor.pos() only set cur at end of function.
7775
7776 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * text.C, text2.C: exchange all usage of Paragraph::next with
7779         boost::next(ParagraphList::iterator)
7780
7781         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7782
7783         * text2.C (cursorTop): simplify implementation
7784         (cursorBottom): ditto
7785         (setParagraph): use ParagraphList::iterator
7786         (setCurrentFont): adjust
7787         (getColumnNearX): adjust
7788         (cursorRight): adjust
7789         (cursorLeft): remove usage of Paragraph::previous
7790         (cursorUpParagraph): ditto
7791         (deleteEmptyParagraphMechanism): slight cleanup
7792
7793         * text.C (isBoundary): take a Paragraph const & instead of a
7794         pointer as arg.
7795         (addressBreakPoint): ditto
7796         (leftMargin): remove usage of Paragraph::previous.
7797         (setHeightOfRow): ditto
7798         (cursorLeftOneWord): ditto
7799         (selectNextWordToSpellcheck): ditto
7800         (Delete): ditto
7801         (backspace): ditto
7802         (breakParagraph): remove one usage of Paragraph::next
7803         (redoParagraph): ditto
7804         (acceptChange): ditto
7805         (insertChar): adjust
7806         (rowBreakPoint): adjust
7807
7808         * bufferview_funcs.C (toggleAndShow): adjust
7809
7810 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7811
7812         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7813         methods to access it.
7814         * lyxtext.h:
7815         * text.C: Added updateRowPositions to compute all row positions.
7816         Make top_y and getRowNearY() to use the cached y position
7817
7818 2003-04-11  John Levon  <levon@movementarian.org>
7819
7820         * text.C (rowBreakPoint): reintroduce the labelEnd
7821         checks, code copied from the row fill stuff. Deep voodoo.
7822
7823         * text.C (fill): add a comment and debugging for the
7824         next poor soul.
7825
7826 2003-04-11  John Levon  <levon@movementarian.org>
7827
7828         * text.C: make sure fullrow insets get wrapped to the next line,
7829         even when they're in a manual label
7830
7831 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * text2.C (insertParagraph): make it take ParagraphList::iterator
7834         as arg.
7835         (setLayout): make it return ParagraphList::iterator
7836         (redoParagraphs): ditto
7837         (setCounter): ditto
7838         (checkParagraph): ditto
7839
7840         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7841
7842         * text2.C: adjust several funcs.
7843         (realizeFont): take a ParagraphList::iterator as arg.
7844         (getLayoutFont): ditto
7845         (getLabelFont): ditto
7846         (setCharFont): ditto
7847
7848         * text.C: adjust several funcs.
7849
7850 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7851
7852         * text.C (selectNextWordToSpellcheck): don't accidentally
7853         skip insets
7854
7855 2003-04-10  John Levon  <levon@movementarian.org>
7856
7857         * ToolbarBackend.C (getIcon): special handling for
7858         LFUN_MATH_DELIM
7859
7860 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7861
7862         * text2.C (cursorRight): a getChar assert fixed
7863
7864 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * text2.C (getFont): change to take a ParagraphList::iterator
7867         instead of Paragraph*
7868         Adjust several functions.
7869
7870         * text.C (transformChar): change to take a ParagraphList::iterator
7871         instead of Paragraph*
7872         (singleWidth): ditto
7873         Adjust several functions.
7874
7875         * rowpainter.C: adjust several functions
7876         * rowpainter.h:store a ParagraphList::iterator and not a
7877         Paragraph&.
7878
7879
7880 2003-04-09  John Levon  <levon@movementarian.org>
7881
7882         * lyxfunc.C:
7883         * lfuns.h:
7884         * LyXAction.h:
7885         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7886         and the "help" bits as well
7887
7888 2003-04-09  John Levon  <levon@movementarian.org>
7889
7890         * ToolbarBackend.h:
7891         * ToolbarBackend.C: allow multiple toolbars
7892
7893 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7894
7895         * undo_funcs.C (setCursorParUndo): adjust
7896
7897         * text_funcs.C (transposeChars): adjust
7898
7899         * text3.C (gotoNextInset): adjust
7900         (dispatch): adjust
7901
7902         * text2.C (setLayout): adjust
7903         (changeDepth): adjust
7904         (setFont): adjust
7905         (redoParagraphs): adjust
7906         (selectionAsString): adjust
7907         (setParagraph): adjust
7908         (insertInset): adjust
7909         (cutSelection): adjust
7910         (copySelection): adjust
7911         (pasteSelection): adjust
7912         (insertStringAsLines): adjust
7913         (updateInset): adjust
7914         (setCursor): change to take a ParagraphList::iterator parameter
7915         (setCursorIntern): change to take a ParagraphList::iterator parameter
7916         (setCurrentFont): adjust
7917         (cursorLeft): adjust
7918         (cursorRight): adjust
7919         (deleteEmptyParagraphMechanism): adjust
7920
7921         * text.C (breakParagraph): adjust
7922         (insertChar): adjust
7923         (acceptChange): adjust
7924         (rejectChange): adjust
7925         (selectNextWordToSpellcheck): adjust
7926         (changeCase): adjust
7927         (Delete): adjust
7928         (backspace): adjust
7929
7930         * lyxfind.C (SearchForward): adjust
7931         (SearchBackward): adjust
7932         (nextChange): adjust
7933
7934         * lyxcursor.C (par): adjust
7935
7936         * lyxcursor.h: store a ParagraphList::iterator instead of a
7937         Paragraph*
7938
7939         * lyx_cb.C (getPossibleLabel): adjust
7940
7941         * bufferview_funcs.C (toggleAndShow): adjust
7942
7943         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7944         (dispatch): adjust
7945
7946         * BufferView.C (removeAutoInsets): adjust
7947         (lockedInsetStoreUndo): adjust
7948
7949 2003-04-09  John Levon  <levon@movementarian.org>
7950
7951         * ToolbarBackend.C: try icon without argument
7952         if with argument fails
7953
7954 2003-04-08  John Levon  <levon@movementarian.org>
7955
7956         * ToolbarBackend.h:
7957         * ToolbarBackend.C: add getIcon(), handle tooltip,
7958         and change from "Icon" to "Item".
7959
7960 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7961
7962         * BufferView.C (lockInset): another bad getchar crunched
7963
7964 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7965
7966         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7967         again)
7968
7969 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7970
7971         * lyxfind.C (searchForward, searchBackwards): bug 782
7972
7973 2003-04-07  John Levon  <levon@movementarian.org>
7974
7975         * paragraph.C: remove dead comment
7976
7977         * text.C: remove troublesome depth-fiddling code
7978         in leftMargin() and rightMargin() (bug 1017)
7979
7980         * text.C: fix breaking of rows in nested lists
7981         (bug 1004)
7982
7983         * text2.C (updateCounters): fix up depth values
7984         (bug 1013)
7985
7986 2003-04-07  John Levon  <levon@movementarian.org>
7987
7988         * BufferView_pimpl.C: clear message when doc finishes resizing,
7989         and after a mouse event
7990
7991         * lyxfunc.C: clear message after exiting inset
7992
7993 2003-04-07  John Levon  <levon@movementarian.org>
7994
7995         * bufferview_funcs.C: show math status not outside
7996         status in the statusbar
7997
7998 2003-04-07  John Levon  <levon@movementarian.org>
7999
8000         * lyxfunc.C: note status changed after a depth change
8001
8002 2003-04-04  Angus Leeming  <leeming@lyx.org>
8003
8004         * LaTeX.h: move AuxInfo operator==, != out of line.
8005         Remove LaTeX virtual destructor; nothing derives from it.
8006         Move operator()() out of public area and rename it startscript().
8007         Change protected for private.
8008
8009 2003-04-04  Angus Leeming  <leeming@lyx.org>
8010
8011         * lyxfunc.C:
8012         * text2.C: remove unneeded #includes.
8013
8014 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8015
8016         * text2.C (dEPM): fix the heigth of the next row
8017
8018 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8019
8020         * text.C: squashed an invalid getChar requester + some ws changes
8021
8022 2003-04-03  John Levon  <levon@movementarian.org>
8023
8024         * bufferview_funcs.h:
8025         * bufferview_funcs.C:
8026         * lyxfunc.C:
8027         * lyxtext.h:
8028         * text2.C: make getStatus work for the env depth lfuns
8029
8030 2003-04-03  John Levon  <levon@movementarian.org>
8031
8032         * bufferview_funcs.h:
8033         * bufferview_funcs.C:
8034         * lyxfunc.C:
8035         * lyxtext.h:
8036         * text2.C: parlistize decDepth(), by merging it with incDepth()
8037
8038 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * lyxrow.h: store a ParagraphList::iterator instead of a
8041         Paragraph* and adjust other class functions to suit.
8042
8043         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8044         above.
8045
8046 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8047
8048         * text2.C (setCursor): do not anchor to cursor row for the time being
8049
8050 2003-04-02  John Levon  <levon@movementarian.org>
8051
8052         * LyXAction.C:
8053         * lfuns.h:
8054         * lyx_main.C:
8055         * lyxtext.h:
8056         * text.C:
8057         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8058
8059 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8060
8061         * paragraph.h: make ParagraphList and ParagraphList::iterator
8062         friends of Paragraph.
8063
8064         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8065
8066         * ParagraphList.C: Use the private next_ and previous_ from
8067         Paragraph.
8068
8069 2003-04-01  John Levon  <levon@movementarian.org>
8070
8071         * ToolbarBackend.h:
8072         * ToolbarBackend.C:
8073         * Makefile.am: rename, remove defaults gunk
8074
8075         * MenuBackend.h:
8076         * MenuBackend.C: remove defaults gunk
8077
8078         * Languages.h:
8079         * Languages.C: remove defaults gunk
8080
8081         * lyx_main.h:
8082         * lyx_main.C: error out if files couldn't be found.
8083
8084 2003-04-02  John Levon  <levon@movementarian.org>
8085
8086         * text2.C: make incDepth() use parlist
8087
8088 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * undo_funcs.C (firstUndoParagraph): adjust
8091
8092         * text3.C (gotoInset): adjust
8093         (dispatch): adjust, and rewrite loop.
8094
8095         * text2.C (init): adjust, and rewrite loop.
8096         (redoParagraphs): adjust
8097         (updateInset): adjust, and rewrite loop.
8098         (deleteEmptyParagraphMechanism): adjust
8099
8100         * tabular.C (LyXTabular): adjust
8101         (SetMultiColumn): adjust
8102         (TeXRow): adjust
8103
8104         * lyxtext.[Ch] (ownerParagraph): delete function
8105         (ownerParagraphs): new function returns a ParagraphList.
8106
8107         * BufferView.C (removeAutoInsets): adjust
8108         (insertErrors): adjust
8109         (setCursorFromRow): adjust
8110
8111 2003-04-01  Angus Leeming  <leeming@lyx.org>
8112
8113         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8114         in the frontends.
8115
8116 2003-04-02  John Levon  <levon@movementarian.org>
8117
8118         * lyxtext.h:
8119         * text.C:
8120         * Makefile.am:
8121         * text_funcs.h:
8122         * text_funcs.C: make transposeChars a free function
8123
8124         * lyxrow_funcs.C: remove wrong comment
8125
8126 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8127
8128         * lyxtext.h: adjust
8129         * rowpainter.C: adjust
8130         * text.C: adjust
8131         * text2.C: adjust
8132         * text3.C: adjust
8133
8134         * lyxrow_funcs. [Ch]: new files
8135
8136         * lyxrow.[Ch]: remove next and previous pointers
8137         (next,previous): remove accessor functions
8138         (isParEnd): move to lyxrow_funcs
8139         (lastPos): move to lyxrow_funcs
8140         (nextRowIsAllInset): move to lyxrow_funcs
8141         (lastPrintablePos): move to lyxrow_funcs
8142         (numberOfSeparators): move to lyxrow_funcs
8143         (numberOfHfills): move to lyxrow_funcs
8144         (numberOfLabelHfills): move to lyxrow_funcs
8145         (hfillExpansion): move to lyxrow_funcs
8146
8147         * lyxfunc.C: adjust
8148
8149         * bufferview_funcs.C (toggleAndShow): adjust
8150
8151         * RowList.h: Remove class RowList from file leave just a
8152         std::list<Row>.
8153
8154         * RowList.C: delete file
8155
8156         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8157         and lyxrow_funcs.h
8158
8159 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * text3.C (cursorPrevious): adjust
8162         (cursorNext): adjust
8163         (dispatch): adjust
8164
8165         * text2.C (redoHeightOfParagraph): adjust
8166         (redoDrawingOfParagraph): adjust
8167         (setCursor): adjust
8168
8169         * text.C (breakParagraph): adjust
8170         (insertChar): adjust
8171         (backspace): adjust
8172
8173         * rowpainter.C (RowPainter): adjust
8174         (leftMargin): simplify and adjust
8175         (most rowpainter functions): adjust.
8176
8177         * rowpainter.h: store the row as RowList::iterator not as Row*
8178
8179         * lyxcursor.C (row): taka RowList::iterator as arg
8180         (irow): ditto
8181
8182         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8183         of Row*.
8184
8185 2003-04-01  Angus Leeming  <leeming@lyx.org>
8186
8187         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8188         stuff like bool Bool.
8189
8190 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8191
8192         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8193         rewrite a loop
8194
8195 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8196
8197         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8198         RowList::iterator.
8199
8200         * lyxtext.h (rows): drop one version and leve a const variant that
8201         returns a RowList::iterator.
8202
8203 2003-03-31  Angus Leeming  <leeming@lyx.org>
8204
8205         * text.C (fill): ensure that the signature is the same as that in the
8206         header file.
8207
8208 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8209
8210         * text2.C (redoParagraphs): adjust
8211         (updateCounters): adjust
8212         (checkParagraph): adjust
8213         (getColumnNearX): adjust and reformat a bit.
8214
8215         * text.C (top_y): adjust
8216         (workWidth): adjust
8217         (leftMargin): adjust
8218         (prepareToPrint): adjust
8219         (getRow): adjust
8220         (getRowNearY): adjust
8221
8222         * lyxtext.h: make rowlist_ mutable.
8223
8224         * RowList.h: add const_iterator
8225         * RowList.C: adjust for RowList::const_iterator.
8226
8227         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8228         adjust.
8229
8230 2003-03-31  John Levon  <levon@movementarian.org>
8231
8232         * lyxrc.h:
8233         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8234
8235         * lyx_main.C: set default fonts from using lyx_gui funcs
8236
8237         * exporter.C: pdf_mode moved from lyxrc
8238
8239         * lyx_cb.C:
8240         * lyxfunc.C: changes from above
8241
8242 2003-03-31  John Levon  <levon@movementarian.org>
8243
8244         * lyx_main.C: fix to the last fix
8245
8246 2003-03-31  John Levon  <levon@movementarian.org>
8247
8248         * bufferlist.C: "Load original" -> "Load Original"
8249
8250         * converter.C:
8251         * exporter.C:
8252         * importer.C:
8253         * lyx_main.C:
8254         * format.C: more Alert cleanups
8255
8256 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * text2.C (removeParagraph): make it take a RowList::iterator as
8259         arg, adjust.
8260         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8261         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8262
8263         * text.C (anchor_row): make it take a RowList::iterator as arg,
8264         adjust.
8265         (computeBidiTables): make it take a const reference to Row instead
8266         of Row pointer, adjust.
8267         (leftMargin): make it take a RowList::iterator as arg, adjust.
8268         (rowBreakPoint): adjust
8269         (breakAgainOneRow): make it take a RowList::iterator as arg,
8270         adjust.
8271         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8272
8273         * bufferview_funcs.C (toggleAndShow): adjust
8274
8275 2003-03-30  John Levon  <levon@movementarian.org>
8276
8277         * Makefile.am:
8278         * BoostFormat.h:
8279         * boost-inst.C: moved to support
8280
8281         * several files: changes as a result
8282
8283 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * text2.C (LyXText): adjust.
8286         (init): adjust
8287         (removeRow): make it take a RowList::iterator as arg, adjust.
8288         (fullRebreak): adjust
8289         (deleteEmptyParagraphMechanism): adjust
8290         (clearPaint): adjust
8291         (postPaint): adjust
8292
8293         * text.C (top_y): adjust
8294         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8295         (breakAgain): make it take a RowList::iterator as arg, adjust.
8296         (breakParagraph): adjust
8297         (insertChar): adjust
8298         (backspace): adjust
8299
8300         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8301         need_break_row, and refresh_row.
8302
8303         * text3.C (dispatch): adjust
8304
8305         * text2.C (checkParagraph): adjust
8306         (setCursor): adjust
8307         (setCursorFromCoordinates): adjust
8308
8309         * text.C (top_y): adjust
8310         (workWidth): adjust
8311         (getRow): make it return a RowList::iterator, adjust
8312         (getRowNearY): make it return a RowList::iterator, adjust
8313
8314         * text2.C (init): adjust
8315         (insertRow): remove function
8316         (insertParagraph): adjust
8317         (redoParagraphs): adjust
8318         (fullRebreak): adjust
8319         (updateCounters): adjust
8320
8321         * text.C (top_y): rewrite to use RowList iterators.
8322         (top_y): adjust
8323         (setHeightOfRow): rewrite to sue RowList iterators.
8324         (appendParagraph): adjust
8325         (breakAgain): adjust
8326         (breakAgainOneRow): adjust
8327         (breakParagraph): adjust
8328         (getRow): adjust
8329         (getRowNearY): adjust, and remove commented code.
8330
8331         * lyxtext.h (firstRow): delete function
8332         (lastRow): delete function
8333         (rows): new function (const and non-const versions.)
8334         (insertRow): delete function
8335
8336         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8337
8338 2003-03-29  John Levon  <levon@movementarian.org>
8339
8340         * BufferView_pimpl.C: always update scrollbar top
8341         because pasting text when we're anchored could mean we
8342         miss an update altogether
8343
8344 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * text2.C (init): use rowlist_.end() and not 0.
8347         (insertRow): change to take a RowList::iterator as arg, adjust
8348         for this.
8349         (insertParagraph): change to take a RowList::iterator as arg,
8350         adjust for this.
8351         (redoParagraphs): remove some debug msgs.
8352
8353         * text.C (appendParagraph): change to take a RowList::iterator
8354         arg, adjust for this.
8355         (breakAgain): add an assert
8356         (breakAgainOneRow): ditto
8357
8358 2003-03-29  John Levon  <levon@movementarian.org>
8359
8360         * text2.C: do not clear selection after inc/decDepth
8361         (bug 550)
8362
8363 2003-03-29  John Levon  <levon@movementarian.org>
8364
8365         * BufferView.C:
8366         * buffer.C: fix broken strerrors according to Lars
8367
8368 2003-03-29  John Levon  <levon@movementarian.org>
8369
8370         * converters.C: more Alert cleanups
8371
8372 2003-03-29  John Levon  <levon@movementarian.org>
8373
8374         * bufferview_funcs.C: remove pointless Alert
8375
8376         * buffer.C: fix confusing error message when
8377         a template is chmoded 000
8378
8379 2003-03-29  John Levon  <levon@movementarian.org>
8380
8381         * BufferView.C:
8382         * BufferView.h:
8383         * BufferView_pimpl.C: Alert fixes
8384
8385         * Makefile.am:
8386         * tabular.C:
8387         * tabular-old.C: remove unused table compat reading
8388
8389 2003-03-29  John Levon  <levon@movementarian.org>
8390
8391         * BufferView.C:
8392         * buffer.C:
8393         * lyx_cb.h:
8394         * lyx_cb.C: more Alert cleanups
8395
8396         * lyxfunc.C: don't allow chktex if not latex document
8397
8398 2003-03-29  John Levon  <levon@movementarian.org>
8399
8400         * lyx_cb.C:
8401         * BufferView.C:
8402         * buffer.C: warnings pushed down from support/,
8403         kill err_alert
8404
8405 2003-03-29  John Levon  <levon@movementarian.org>
8406
8407         * lyxfunc.C: safety check for C-r (revert)
8408
8409 2003-03-29  John Levon  <levon@movementarian.org>
8410
8411         * bufferlist.h:
8412         * bufferlist.C: several UI fixes using Alert::prompt.
8413         Fix the pointless looping quit code. Fix stupid revert
8414         behaviour (bug 938)
8415
8416         * lyxvc.h:
8417         * lyxvc.C:
8418         * lyx_cb.C: use Alert::prompt
8419
8420         * lyx_main.C: remove a silly question
8421
8422         * lyxfunc.C: remove a couple of silly questions,
8423         use Alert::prompt
8424
8425 2003-03-28  John Levon  <levon@movementarian.org>
8426
8427         * text2.C: fix bug 974 (End on empty par)
8428
8429 2003-03-28  John Levon  <levon@movementarian.org>
8430
8431         * BufferView_pimpl.C:
8432         * LyXAction.C:
8433         * lfuns.h: remove do-nothing math greek lfuns
8434
8435 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * lyxgluelength.h (isValidGlueLength): add default arg on
8438         parameter 2. Remove default arg from friend in class.
8439
8440         * lyxlength.h (isValidLength): add default arg on parameter 2.
8441         Remove default arg from friend in class.
8442
8443         * text2.C (LyXText): adjust, initialize refresh_row.
8444         (init): adjust
8445         (removeRow): adjust
8446         (insertRow): adjust
8447         (insertParagraph): adjst
8448         (redoParagraphs): adjust
8449         (fullRebreak): adjust
8450         (updateCounters): adjust
8451         (deleteEmptyParagraphMechanism): first attempt at fixing a
8452         crashing bug.
8453
8454         * text.C (top_y): adjust
8455         (setHeightOfRow): adjust
8456         (getRow): adjust
8457         (getRowNearY): adjust
8458
8459         * lyxtext.h: include RowList.h
8460         (~LyXText): not needed anymore, deleted.
8461         (firstRow): modify for RowList
8462         (lastRow): new function
8463         Delete firstrow and lastrow class variables, add a Rowlist
8464         rowlist_ class variable.
8465
8466         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8467         paragraph is empty.
8468
8469         * RowList.C (insert): fix case where it == begin().
8470
8471 2003-03-26  Angus Leeming  <leeming@lyx.org>
8472
8473         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8474         the thesaurus dialog.
8475
8476 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477
8478         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8479
8480         * RowList.[Ch]: new files
8481
8482         * ParagraphList.C (erase): handle the case where it == begin
8483         correctly.
8484
8485 2003-03-25  John Levon  <levon@movementarian.org>
8486
8487         * Makefile.am:
8488         * aspell_local.h:
8489         * aspell.C: add new aspell support
8490
8491         * lyxrc.h:
8492         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8493         have it accessible.
8494
8495 2003-03-25  Angus Leeming  <leeming@lyx.org>
8496
8497         * lfuns.h:
8498         * LyXAction.C (init): new LFUN_INSET_INSERT.
8499
8500         * BufferView_pimpl.C (dispatch): split out part of the
8501         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8502
8503         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8504         LFUN_INSET_APPLY.
8505
8506 2003-03-25  Angus Leeming  <leeming@lyx.org>
8507
8508         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8509
8510 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8511
8512         * text2.C:
8513         * text3.C: remove useless row->height(0)
8514
8515 2003-03-25  John Levon  <levon@movementarian.org>
8516
8517         * lyxtext.h:
8518         * text2.C:
8519         * text3.C: rename the refreshing stuff to better names
8520
8521 2003-03-24  John Levon  <levon@movementarian.org>
8522
8523         * BufferView_pimpl.h:
8524         * BufferView_pimpl.C: update layout choice on a mouse
8525         press/release
8526
8527 2003-03-23  John Levon  <levon@movementarian.org>
8528
8529         * Makefile.am: fix commandtags.h reference
8530
8531 2003-03-22  John Levon  <levon@movementarian.org>
8532
8533         * BufferView_pimpl.C:
8534         * lyxtext.h:
8535         * rowpainter.C:
8536         * rowpainter.h:
8537         * text.C:
8538         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8539
8540 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8541
8542         * lyxtext.h:
8543         * text.C: take the rtl methods out of line
8544
8545 2003-03-21 André Pönitz <poenitz@gmx.net>
8546
8547         * metricsinfo.[Ch]: new files containing structures to be passed around
8548         during the two-phase-drawing...
8549
8550 2003-03-21 André Pönitz <poenitz@gmx.net>
8551
8552         * lyxtextclass.C: read 'environment' tag.
8553
8554 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8555
8556         * text2.C (removeRow): fix bug 964
8557
8558 2003-03-20  John Levon  <levon@movementarian.org>
8559
8560         * rowpainter.C:
8561         * text.C:
8562         * text2.C: paint cleanups. Inset::update() dropped font
8563         parameter
8564
8565 2003-03-19  John Levon  <levon@movementarian.org>
8566
8567         * lyxfunc.C: only fitcursor/markDirty if available()
8568
8569 2003-03-19  John Levon  <levon@movementarian.org>
8570
8571         * commandtags.h: rename to ...
8572
8573         * lfuns.h: ... this, and renumber / cleanup
8574
8575 2003-03-19  John Levon  <levon@movementarian.org>
8576
8577         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8578         fit the cursor after an lfun
8579
8580         * BufferView.h:
8581         * BufferView.C:
8582         * BufferView_pimpl.h:
8583         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8584
8585         * LyXAction.C: layout-character should have ReadOnly
8586
8587         * ParagraphParameters.C:
8588         * buffer.C:
8589         * bufferview_funcs.C:
8590         * lyx_cb.C:
8591         * lyxfind.C:
8592         * lyxtext.h:
8593         * text.C:
8594         * text2.C:
8595         * text3.C:
8596         * undo_funcs.C: changes from above
8597
8598 2003-03-18  John Levon  <levon@movementarian.org>
8599
8600         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8601         remove it from update()
8602
8603         * lyxfunc.C: update layout choice after an lfun
8604
8605         * text3.C: remove extra updateLayoutChoice()s
8606
8607 2003-03-18  John Levon  <levon@movementarian.org>
8608
8609         * text.C: top_y change means full repaint, fix
8610         a drawing bug with cursor movement
8611
8612 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8613
8614         * lyxtext.h:
8615         * text.C:
8616         * text2.C: anchor row on setCursor
8617
8618 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8619
8620         * lyxtext.h: remove almost all mutable keywords
8621         * text.C:
8622         * text2.C:
8623         * text3.C: remove const keywords accordingly
8624
8625 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8626
8627         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8628         anon namespace
8629         (TeXEnvironment): ditto
8630         (TeXOnePar): ditto
8631
8632 2003-03-17  John Levon  <levon@movementarian.org>
8633
8634         * text.C (rowBreakPoint): remove attempt to fix displayed
8635         math insets inside a manual label
8636
8637 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8638
8639         * lyxtext.h: remove BufferView* as first arg from almost all class
8640         functions.
8641         * other files: adjust.
8642
8643 2003-03-17  John Levon  <levon@movementarian.org>
8644
8645         * lyxtext.h:
8646         * undo_funcs.C:
8647         * text2.C: more paint cleanups
8648
8649         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8650
8651         * rowpainter.h:
8652         * rowpainter.C: remove "smart" background painting code
8653
8654 2003-03-16  John Levon  <levon@movementarian.org>
8655
8656         * lyxtext.h:
8657         * text.C:
8658         * text2.C:
8659         * text3.C: add helper functions for setting refresh_row/y
8660
8661 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8662
8663         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8664         newline inset which *can* get inserted in the pass_thru layouts.
8665         This is primarily for literate documents.
8666
8667 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8668
8669         * buffer.C: increment LYX_FORMAT to 223
8670
8671 2003-03-14 André Pönitz <poenitz@gmx.net>
8672
8673         * textclass.h: prepare for environment handling, ws changes
8674         * lyxlayout.C: read latexheader and latexfooter tags
8675
8676 2003-03-14  John Levon  <levon@movementarian.org>
8677
8678         * text2.C: rewrite ::status() a bit
8679
8680 2003-03-13  John Levon  <levon@movementarian.org>
8681
8682         * lyxtext.h: add some docs
8683
8684 2003-03-13  John Levon  <levon@movementarian.org>
8685
8686         * lyxtext.h:
8687         * text.C:
8688         * text2.C:
8689         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8690
8691 2003-03-13  John Levon  <levon@movementarian.org>
8692
8693         * text3.C: fix appendix redrawing
8694
8695 2003-03-13  John Levon  <levon@movementarian.org>
8696
8697         * text.C (setHeightOfRow):
8698         * rowpainter.h:
8699         * rowpainter.C: make appendix mark have the text
8700           "Appendix" so the user knows what it is
8701
8702         * LColor.h:
8703         * LColor.C: s/appendixline/appendix/ from above
8704
8705 2003-03-13  John Levon  <levon@movementarian.org>
8706
8707         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8708
8709         * text.C: fix a getChar(pos) bug properly
8710
8711 2003-03-13  Angus Leeming  <leeming@lyx.org>
8712
8713         * commandtags.h:
8714         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8715         Probably only temporary. Let's see how things pan out.
8716
8717         * BufferView.C (unlockInset):
8718         * BufferView_pimpl.C (fitCursor):
8719         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8720
8721         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8722         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8723
8724         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8725         new functions that convert ParagraphParameters to and from a string.
8726
8727         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8728         BufferView::Pimpl's dispatch.
8729         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8730
8731 2003-03-13 André Pönitz <poenitz@gmx.net>
8732
8733         * lyxfunc.C:
8734         * text3.C:
8735         * factory.C: make it aware of InsetEnv
8736
8737 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8738
8739         * text2.C (setCursor): never ask for one past last
8740         (setCursor): add some debugging messages.
8741
8742         * text.C (singleWidth): never ask for one past last
8743         (singleWidth): ditto
8744         (leftMargin): ditto
8745         (rightMargin): ditto
8746         (rowBreakPoint): ditto
8747         (setHeightOfRow): ditto
8748         (prepareToPrint): ditto
8749
8750         * rowpainter.C (paintBackground): never ask for one past last
8751         (paintText): never ask for one past last
8752
8753         * paragraph_pimpl.C (getChar): make the assert stricter, never
8754         allow the one past last pos to be taken
8755
8756         * paragraph.C (getChar): ws changes only
8757
8758         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8759         (numberOfSeparators): ditto
8760         (numberOfHfills): ditto
8761
8762 2003-03-12  John Levon  <levon@movementarian.org>
8763
8764         * author.h:
8765         * author.C:
8766         * bufferparams.h:
8767         * bufferparams.C:
8768         * paragraph_funcs.C: fix per-buffer authorlists
8769
8770 2003-03-12  John Levon  <levon@movementarian.org>
8771
8772         * text.C: fix newline in right address
8773
8774 2003-03-12  Angus Leeming  <leeming@lyx.org>
8775
8776         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8777         duplicate those in LyXFunc::dispatch.
8778
8779         * commandtags.h:
8780         * LyXAction.C:
8781         * ToolbarDefaults.C:
8782         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8783         Add LFUN_FONTFREE_UPDATE.
8784
8785         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8786         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8787
8788         * bufferview_func.[Ch]: several new functions to facilliate
8789         transfer of data to and from the character dialog.
8790
8791 2003-03-12  John Levon  <levon@movementarian.org>
8792
8793         * buffer.C:
8794         * paragraph.h:
8795         * paragraph.C:
8796         * paragraph_funcs.C:
8797         * paragraph_pimpl.C:
8798         * sgml.C:
8799         * tabular.C:
8800         * text.C:
8801         * text3.C: remove META_NEWLINE in favour of an inset
8802
8803         * rowpainter.h:
8804         * rowpainter.C: remove paintNewline (done by inset)
8805
8806 2003-03-12  John Levon  <levon@movementarian.org>
8807
8808         * paragraph_pimpl.C: complain about bad getChar()s
8809         for a while at least
8810
8811 2003-03-12  John Levon  <levon@movementarian.org>
8812
8813         * buffer.h:
8814         * buffer.C: move paragraph read into a separate function,
8815         a little renaming to reflect that.
8816
8817         * bufferparams.h:
8818         * bufferparams.C: remove the author_ids map, not necessary now
8819
8820         * factory.h:
8821         * factory.C: moved Buffer::readInset to here
8822
8823         * paragraph_funcs.h:
8824         * paragraph_funcs.C: readParagraph free function moved from
8825         buffer.C
8826
8827         * tabular.C: name change
8828
8829 2003-03-12  John Levon  <levon@movementarian.org>
8830
8831         * buffer.C:
8832         * ParagraphParameters.C: move par params input to
8833         a read() method
8834
8835         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8836         behave like a normal read from the stream wrt reading
8837         a line vs. a \\token
8838
8839 2003-03-12  John Levon  <levon@movementarian.org>
8840
8841         * paragraph.C:
8842         * ParagraphParameters.h:
8843         * ParagraphParameters.C: move output code to a
8844         ::write() method
8845
8846 2003-03-12  John Levon  <levon@movementarian.org>
8847
8848         * BufferView.C (insertLyXFile):
8849         * buffer.h:
8850         * buffer.C:
8851         * tabular.C: use a parlist iterator for creating the
8852           document.
8853
8854 2003-03-12  John Levon  <levon@movementarian.org>
8855
8856         * buffer.C: make current_change static local not
8857           static file-scope
8858
8859 2003-03-12  John Levon  <levon@movementarian.org>
8860
8861         * buffer.C: fix insertStringAsLines for change tracking
8862
8863 2003-03-12  John Levon  <levon@movementarian.org>
8864
8865         * BufferView.C:
8866         * tabular.C:
8867         * buffer.h:
8868         * buffer.C:
8869         * bufferparams.h:
8870         * bufferparams.C: move author list into params. Rename some
8871           functions. Move the header reading into a separate token
8872           loop. Move the header token reading into BufferParams.
8873
8874 2003-03-12  John Levon  <levon@movementarian.org>
8875
8876         * changes.C: put debug inside lyxerr.debugging() checks
8877
8878 2003-03-11 André Pönitz <poenitz@gmx.net>
8879
8880         * factory.C: make it aware of InsetHFill
8881
8882 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8883
8884         * buffer.C (latexParagraphs): move function from here...
8885         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8886         args.
8887
8888 2003-03-10  Angus Leeming  <leeming@lyx.org>
8889
8890         * LyXAction.C (init): fix bug in poplating array with multiple entries
8891         with the same LFUN (spotted by JMarc).
8892
8893 2003-03-10  John Levon  <levon@movementarian.org>
8894
8895         * text.C:
8896         * text2.C: move getColumnNearX() near its
8897         only call site
8898
8899 2003-03-10  John Levon  <levon@movementarian.org>
8900
8901         * text.C: fix break before a minipage
8902
8903 2003-03-10  John Levon  <levon@movementarian.org>
8904
8905         * text.C: fix the last commit
8906
8907 2003-03-09  John Levon  <levon@movementarian.org>
8908
8909         * lyxtext.h:
8910         * text.C:
8911         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8912         bug 365 (don't break before insets unless needed). Don't
8913         return a value > last under any circumstances.
8914
8915 2003-03-09  Angus Leeming  <leeming@lyx.org>
8916
8917         * BufferView_pimpl.C (trackChanges, dispatch): call
8918         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8919
8920 2003-03-09  Angus Leeming  <leeming@lyx.org>
8921
8922         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8923         than Dialogs::showAboutlyx().
8924
8925 2003-03-09  Angus Leeming  <leeming@lyx.org>
8926
8927         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8928         than Dialogs::showTabularCreate().
8929
8930 2003-03-09  John Levon  <levon@movementarian.org>
8931
8932         * lyxtext.h:
8933         * text.C:
8934         * text2.C: 3rd arg to nextBreakPoint was always the same.
8935           Use references.
8936
8937 2003-03-08  John Levon  <levon@movementarian.org>
8938
8939         * lyxrow.C:
8940         * paragraph.C:
8941         * paragraph.h:
8942         * rowpainter.C:
8943         * text.C:
8944         * text2.C: Remove the "main" bit from the "main body"
8945           notion.
8946
8947 2003-03-08  John Levon  <levon@movementarian.org>
8948
8949         * text.C (leftMargin): The left margin of an empty
8950         manual label paragraph should not include the label width
8951         string length.
8952
8953         * text.C (prepareToPrint): don't attempt to measure hfills
8954         for empty manual label paragraphs - the answer should be 0
8955
8956 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8957
8958         * CutAndPaste.C: remove commented code and reindent.
8959
8960 2003-03-08  John Levon  <levon@movementarian.org>
8961
8962         * lyxfunc.h:
8963         * lyxfunc.C: move reloadBuffer()
8964
8965         * BufferView.h:
8966         * BufferView.C: to here
8967
8968         * lyxvc.C: add comment
8969
8970         * vc-backend.h:
8971         * vc-backend.C: call bv->reload() to avoid
8972           getStatus() check on MENURELOAD
8973
8974 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8975
8976         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8977         to an old format .dep file.
8978
8979 2003-03-07  Angus Leeming  <leeming@lyx.org>
8980
8981         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8982         when the LFUN_MOUSE_RELEASE should have been handled by
8983         inset->localDispatch.
8984
8985 2003-03-07  Angus Leeming  <leeming@lyx.org>
8986
8987         * BufferView_pimpl.C (dispatch):
8988         * LyXAction.C (init):
8989         * ToolbarDefaults.C (init):
8990         * commandtags.h:
8991         * lyxfunc.C (getStatus):
8992         remove LFUN_INSET_GRAPHICS.
8993
8994         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8995
8996 2003-03-07  Angus Leeming  <leeming@lyx.org>
8997
8998         * commandtags.h:
8999         * LyXAction.C (init):
9000         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9001
9002         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9003
9004         * commandtags.h:
9005         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9006
9007         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9008         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9009
9010 2003-03-07  Angus Leeming  <leeming@lyx.org>
9011
9012         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9013         remove "ert".
9014
9015 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9016
9017         * ParagraphList.C (front): new function
9018         (back): implement
9019
9020 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9021
9022         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9023         and top_row_offset_. removed var first_y.
9024         * text.C (top_y):
9025         * text2.C (LyXText, removeRow):
9026         * text3.C:
9027         * BufferView_pimpl.C:
9028         use these methods instead of using first_y
9029
9030 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9031
9032         * text2.C (pasteSelection): adjust for checkPastePossible
9033
9034         * CutAndPaste.C: remove Paragraph * buf and replace with
9035         ParagraphList paragraphs.
9036         (DeleteBuffer): delete
9037         (cutSelection): change the tc type to textclass_type
9038         (copySelection): change the tc type to textclass_type
9039         (copySelection): adjust for ParagraphList
9040         (pasteSelection): change the tc type to textclass_type
9041         (pasteSelection): adjust for Paragraphlist
9042         (nrOfParagraphs): simplify for ParagraphList
9043         (checkPastePossible): simplify for ParagraphList
9044         (checkPastePossible): remove unused arg
9045
9046         * ParagraphList.C (insert): handle the case where there are no
9047         paragraphs yet.
9048
9049         * CutAndPaste.h: make CutAndPaste a namespace.
9050
9051         * text3.C (dispatch): adjust
9052
9053         * text.C (breakParagraph): add a ParagraphList as arg
9054
9055         * paragraph_funcs.C (breakParagraph): change to take a
9056         BufferParams and a ParagraphList as args.
9057         (breakParagraphConservative): ditto
9058         (mergeParagraph): ditto
9059         (TeXDeeper): add a ParagraphList arg
9060         (TeXEnvironment): ditto
9061         (TeXOnePar): ditto
9062
9063         * buffer.C (readLyXformat2): adjust
9064         (insertStringAsLines): adjust
9065         (latexParagraphs): adjust
9066
9067         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9068         (cutSelection): adjust
9069         (pasteSelection): adjust
9070
9071         * BufferView_pimpl.C (insertInset): adjust
9072
9073 2003-03-05  Angus Leeming  <leeming@lyx.org>
9074
9075         * commandtags.h:
9076         * LyXAction.C (init):
9077         * BufferView_pimpl.C (dispatch):
9078         * lyxfunc.C (getStatus):
9079         remove LFUN_CHILD_INSERT.
9080
9081         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9082
9083 2003-03-05  Angus Leeming  <leeming@lyx.org>
9084
9085         * commandtags.h:
9086         * LyXAction.C (init):
9087         * src/factory.C (createInset):
9088         * lyxfunc.C (getStatus):
9089         * text3.C (dispatch):
9090         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9091
9092         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9093
9094 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9095
9096         * ParagraphList.C (insert): handle insert right before end()
9097         (erase): fix cases where it can be first or last paragraph.
9098
9099 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9100
9101         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9102         Paragraph::next and Paragraph::previous
9103         (TeXOnePar): ditto
9104
9105         * text.C (breakParagraph): adjust
9106
9107         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9108         BufferParams& as arg.
9109         (breakParagraph): use ParagraphList::insert
9110         (breakParagraphConservative): take a Buffer* instead of a
9111         BufferParams& as arg.
9112         (breakParagraphConservative): use ParagraphList::insert.
9113
9114         * buffer.C (insertStringAsLines): un-const it
9115         (insertStringAsLines): adjust
9116
9117         * ParagraphList.C (insert): new function
9118
9119         * CutAndPaste.C (pasteSelection): adjust
9120
9121         * text.C (backspace): adjust
9122
9123         * tabular.C (SetMultiColumn): adjust
9124
9125         * CutAndPaste.C (cutSelection): adjust
9126         (pasteSelection): adjust
9127
9128         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9129         Buffer const * as arg
9130
9131         * ParagraphList.C (erase): new function
9132         * paragraph_funcs.C (mergeParagraph): use it
9133         (mergeParagraph): make it take a Buffer* instead of a
9134         BufferParams* as arg
9135
9136         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9137         as arg
9138         (breakParagraphConservative): ditto
9139
9140         * paragraph.h: remove the breakParagraph friend
9141
9142         * paragraph.C (eraseIntern): new function
9143         (setChange): new function
9144
9145         * paragraph_funcs.C (mergeParagraph): make it take a
9146         ParagraphList::iterator instead of a Paragraph *, adjust
9147         accordingly.
9148
9149         * paragraph.h: move an #endif so that the change tracking stuff
9150         also works in the NO_NEXT case.
9151
9152 2003-03-04  Angus Leeming  <leeming@lyx.org>
9153
9154         * commandtags.h:
9155         * LyXAction.C: new LFUN_INSET_MODIFY.
9156
9157         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9158         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9159
9160 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9161
9162         * several files: ws changes only
9163
9164         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9165         (TeXEnvironment): ditto
9166         (TeXDeeper): ditto
9167
9168         * buffer.C (makeLaTeXFile): adjust
9169         (latexParagraphs): make it take ParagraphList::iterator as args
9170
9171 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9172
9173         * buffer.C (latexParagraphs): adjust
9174
9175         * paragraph.C (TeXOnePar): move function...
9176         (optArgInset): move function...
9177         (TeXEnvironment): move function...
9178         * paragraph_pimpl.C (TeXDeeper): move function...
9179         * paragraph_funcs.C: ...here
9180
9181         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9182
9183 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9184
9185         * buffer.C (readInset): remove compability code for old Figure and
9186         InsetInfo insets
9187
9188 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9189
9190         * buffer.C: ws changes
9191         (readInset):
9192
9193         * BufferView_pimpl.C: ditto
9194         * author.C: ditto
9195         * buffer.h: ditto
9196         * bufferlist.h: ditto
9197         * changes.h: ditto
9198         * lyxfunc.C: ditto
9199
9200 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9201
9202         * converter.[Ch]: split into itself +
9203         * graph.[Ch]
9204         * format.[Ch]
9205         * Makefile.am: += graph.[Ch] + format.[Ch]
9206         * MenuBackend.C
9207         * buffer.C
9208         * exporter.C
9209         * importer.C
9210         * lyx_main.C
9211         * lyxfunc.C
9212         * lyxrc.C: added #include "format.h"
9213
9214 2003-02-27  Angus Leeming  <leeming@lyx.org>
9215
9216         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9217           a label.
9218
9219         * factory.C (createInset): add "label" to the factory.
9220
9221         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9222           string and do no more.
9223
9224 2003-02-27  Angus Leeming  <leeming@lyx.org>
9225
9226         * commandtags.h:
9227         * LyXAction.C (init):
9228         * factory.C (createInset):
9229         * BufferView_pimpl.C (dispatch):
9230           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9231
9232         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9233
9234         * lyxfunc.C (dispatch):
9235         * text3.C (dispatch): pass name to params2string.
9236
9237 2003-02-26  Angus Leeming  <leeming@lyx.org>
9238
9239         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9240           blocks together.
9241           Rearrange the ~includes. Strip out the unnecessary ones.
9242
9243         * factory.C (createInset): reformat.
9244           create new insets for the various LFUN_XYZ_APPLY lfuns.
9245
9246 2003-02-26  John Levon  <levon@movementarian.org>
9247
9248         * lyxrow.h:
9249         * lyxrow.C: add isParStart,isParEnd helpers
9250
9251         * paragraph.h: make isInserted/DeletedText take refs
9252
9253         * paragraph_funcs.h:
9254         * paragraph_funcs.C: remove #if 0'd code
9255
9256         * lyxtext.h:
9257         * text3.C:
9258         * text2.C:
9259         * text.C: use lyxrow helpers above.
9260           Move draw and paint routines to RowPainter.
9261           Make several methods use refs not pointers.
9262           Make backgroundColor() const.
9263           Add markChangeInDraw(), isInInset().
9264           Merge changeRegionCase into changeCase.
9265           Make workWidth() shouldn't-happen code into an Assert.
9266
9267         * rowpainter.h:
9268         * rowpainter.C: new class for painting a row.
9269
9270         * vspace.h:
9271         * vspace.C: make inPixels take a ref
9272
9273 2003-02-26  Angus Leeming  <leeming@lyx.org>
9274
9275         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9276         LFUN_REF_APPLY.
9277
9278 2003-02-25  John Levon  <levon@movementarian.org>
9279
9280         * ispell.C: give the forked command a more accurate name
9281
9282 2003-02-22  John Levon  <levon@movementarian.org>
9283
9284         * toc.h:
9285         * toc.C: make TocItem store an id not a Paragraph *
9286           (bug #913)
9287
9288 2003-02-21  Angus Leeming  <leeming@lyx.org>
9289
9290         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9291           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9292           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9293           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9294           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9295           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9296
9297         * BufferView_pimpl.C (dispatch):
9298         * LyXAction.C (init):
9299         * factory.C (createInset):
9300         * lyxfunc.C (getStatus, dispatch):
9301         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9302
9303 2003-02-21  Angus Leeming  <leeming@lyx.org>
9304
9305         * BufferView_pimpl.C (MenuInsertLyXFile):
9306         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9307         * lyxfunc.C (menuNew, open, doImport):
9308           no longer pass a LyXView & to fileDlg.
9309
9310 2003-02-21  Angus Leeming  <leeming@lyx.org>
9311
9312         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9313         * LyXAction.C: change, BIBKEY to BIBITEM.
9314         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9315         Change InsetBibKey to InsetBibitem.
9316         Change BIBKEY_CODE to BIBITEM_CODE.
9317         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9318         * factory.C: replace insetbib.h with insetbibitem.h.
9319         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9320         * paragraph.C: replace insetbib.h with insetbibitem.h.
9321         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9322         Change bibkey() to bibitem().
9323         * text.C: remove insetbib.h.
9324         * text2.C: replace insetbib.h with insetbibitem.h.
9325         change bibkey() to bibitem().
9326         * text3.C: remove insetbib.h.
9327         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9328
9329 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9330
9331         * lyxrc.C (output): enclose user email in quotes (in case there are
9332         several words)
9333
9334 2003-02-18  John Levon  <levon@movementarian.org>
9335
9336         * buffer.h: add std::
9337
9338 2003-02-17  John Levon  <levon@movementarian.org>
9339
9340         * SpellBase.h:
9341         * ispell.h:
9342         * ispell.C:
9343         * pspell.h:
9344         * pspell.C: reworking. Especially in ispell, a large
9345           number of clean ups and bug fixes.
9346
9347         * lyxfunc.C: fix revert to behave sensibly
9348
9349 2003-02-17 André Pönitz <poenitz@gmx.net>
9350
9351         * LyXAction.C:
9352         * commandtags.h: new LFUN_INSERT_BIBKEY
9353
9354         * layout.h:
9355         * lyxlayout.C:
9356         * buffer.C:
9357         * factory.C:
9358         * text.C:
9359         * text2.C:
9360         * text3.C:
9361         * paragraph.[Ch]:
9362         * paragraph_func.C: remove special bibkey handling
9363
9364 2003-02-17  John Levon  <levon@movementarian.org>
9365
9366         * text.C (Delete): fix case where delete at the end of
9367           the very first paragraph would not merge the pars
9368
9369 2003-02-17  John Levon  <levon@movementarian.org>
9370
9371         * lyxrow.C: fix lastPrintablePos()
9372
9373 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9374
9375         * bufferparams.C (writeLaTeX): add a std:here
9376
9377         * buffer.C: and remove a using directive there
9378
9379 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9380
9381         * buffer.C (makeLaTeXFile): move the code that generates the
9382           preamble...
9383
9384         * bufferparams.C (writeLaTeX): ... in this new method
9385
9386         * LaTeXFeatures.C (getEncodingSet): make const
9387           (getLanguages): make const
9388
9389         * MenuBackend.C (binding): returns the binding associated to this
9390           action
9391           (add): sets the status of each item by calling getStatus. Adds
9392           some intelligence.
9393           (read): add support for OptSubMenu
9394           (expand): remove extra separator at the end of expanded menu
9395
9396 2003-02-15  John Levon  <levon@movementarian.org>
9397
9398         * BufferView.C:
9399         * BufferView_pimpl.C:
9400         * bufferlist.h:
9401         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9402           inset code that had no actual effect. Remove unneeded status
9403           code.
9404
9405 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9406
9407         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9408           in preamble
9409
9410 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9411
9412         * text.C (drawLengthMarker): also draw an arrow marker for
9413           symbolic lengths (medskip...)
9414
9415 2003-02-14  John Levon  <levon@movementarian.org>
9416
9417         * tabular.h:
9418         * tabular.C: better method names
9419
9420 2003-02-14  John Levon  <levon@movementarian.org>
9421
9422         * BufferView_pimpl.C:
9423         * bufferlist.C:
9424         * buffer.C:
9425         * converter.C:
9426         * lyx_cb.C:
9427         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9428           it's a more accurate name. Remove some pointless uses.
9429
9430 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9431
9432         * text2.C (LyXText): change order of initilizers to shut off
9433           warnings
9434
9435 2003-02-14  John Levon  <levon@movementarian.org>
9436
9437         * buffer.C: use ParIterator for getParFromID()
9438
9439         * paragraph.h:
9440         * paragraph.C:
9441         * paragraph_pimpl.h:
9442         * paragraph_pimpl.C: remove unused getParFromID()
9443
9444 2003-02-14  John Levon  <levon@movementarian.org>
9445
9446         * buffer.C: remove some very old #if 0'd parse code
9447
9448 2003-02-13  John Levon  <levon@movementarian.org>
9449
9450         * text.h:
9451         * text.C:
9452         * text2.C: move hfillExpansion(), numberOfSeparators(),
9453           rowLast(), rowLastPrintable(), numberofHfills(),
9454           numberOfLabelHfills() ...
9455
9456         * lyxrow.h:
9457         * lyxrow.C: ... to member functions here.
9458
9459         * paragraph.h:
9460         * paragraph.C:
9461         * lyxtext.h:
9462         * text.C: remove LyXText::beginningOfMainBody(), and call
9463           p->beginningOfMainBody() directly. Move the check for
9464           LABEL_MANUAL into the latter.
9465
9466         * text.h:
9467         * text.C:
9468         * text2.C:
9469         * vspace.C:
9470         * BufferView.h:
9471         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9472
9473         * text.h:
9474         * text.C:
9475         * text2.C:
9476         * text3.C:
9477         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9478           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9479
9480 2003-02-13  John Levon  <levon@movementarian.org>
9481
9482         * CutAndPaste.C: remove debug
9483
9484 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9485
9486         * paragraph.C (asString): remove two unused variables
9487
9488         * lyxtextclass.C (readTitleType):
9489           (Read):
9490           (LyXTextClass): handle new members titletype_ and titlename_
9491
9492         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9493
9494 2003-02-09  John Levon  <levon@movementarian.org>
9495
9496         * buffer.h:
9497         * buffer.C: replace hand-coded list with a map for the dep clean
9498
9499 2003-02-08  John Levon  <levon@movementarian.org>
9500
9501         * LaTeX.C: consolidate code into showRunMessage() helper
9502
9503 2003-02-08  John Levon  <levon@movementarian.org>
9504
9505         * lyxfind.C:
9506         * lyxtext.h:
9507         * text2.C:
9508         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9509           and pass the size in explicitly
9510
9511         * BufferView_pimpl.h:
9512         * BufferView_pimpl.C:
9513         * BufferView.h:
9514         * BufferView.C: add getCurrentChange()
9515
9516         * BufferView_pimpl.h:
9517         * BufferView_pimpl.C: handle change lfuns
9518
9519         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9520           for changes. Mark pasted paragraphs as new.
9521
9522         * support/lyxtime.h:
9523         * support/lyxtime.C:
9524         * DepTable.C: abstract time_t as lyx::time_type
9525
9526         * LColor.h:
9527         * LColor.C: add colours for new text, deleted text, changebars
9528
9529         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9530           package use "usenames" option.
9531
9532         * commandtags.h:
9533         * lyxfunc.C:
9534         * LyXAction.C: add change lfuns
9535
9536         * Makefile.am:
9537         * author.h:
9538         * author.C: author handling
9539
9540         * buffer.h:
9541         * buffer.C: add a per-buffer author list, with first entry as
9542           current author. Handle new .lyx tokens for change tracking. Output
9543           author list to .lyx file. Output dvipost stuff to .tex preamble.
9544           Bump lyx format to 222.
9545
9546         * bufferlist.h:
9547         * bufferlist.C: add setCurrentAuthor() to reset current author details
9548           in all buffers.
9549
9550         * bufferparams.h:
9551         * bufferparams.C: add param for tracking
9552
9553         * bufferview_funcs.C: output change info in minibuffer
9554
9555         * Makefile.am:
9556         * changes.h:
9557         * changes.C: add change-tracking structure
9558
9559         * debug.h:
9560         * debug.C: add CHANGES debug flag
9561
9562         * lyxfind.h:
9563         * lyxfind.C: add code for finding the next change piece
9564
9565         * lyxrc.h:
9566         * lyxrc.C: add user_name and user_email
9567
9568         * lyxrow.h:
9569         * lyxrow.C: add a metric for the top of the text line
9570
9571         * lyxtext.h:
9572         * text.C: implement accept/rejectChange()
9573
9574         * lyxtext.h:
9575         * text.C: paint changebars. Paint new/deleted text in the chosen
9576         colours. Strike through deleted text.
9577
9578         * paragraph.h:
9579         * paragraph.C:
9580         * paragraph_pimpl.h:
9581         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9582           in the current change to the insert functions. Rework erase to
9583           mark text as deleted, adding an eraseIntern() and a range-based
9584           erase(). Implement per-paragraph change lookup and
9585           accept/reject.
9586
9587         * paragraph_funcs.C: Fixup paste for change tracking.
9588
9589         * tabular.C: mark added row/columns as new.
9590
9591         * text.C: fix rowLast() to never return -1. Don't allow
9592           spellchecking of deleted text. Track transpose changes. Don't
9593           allow paragraph break or merge where appropriate.
9594
9595         * text2.C: leave cursor at end of selection after a cut.
9596
9597 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9598
9599         * text.C (getLengthMarkerHeight):
9600         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9601         visible on screen too.
9602
9603 2003-02-07  John Levon  <levon@movementarian.org>
9604
9605         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9606
9607 2003-02-05  Angus Leeming  <leeming@lyx.org>
9608
9609         * lyxserver.C (read_ready): revert my patch of 11 September last year
9610         as it sends PC cpu through the roof. Presumably this means that
9611         the lyxserver will no longer run on an Alpha...
9612
9613 2003-01-30  Angus Leeming  <leeming@lyx.org>
9614
9615         * factory.C (createInset): create an InsetCommandParam of type "index"
9616         and use it to 'do the right thing'.
9617
9618         * text2.C (getStringToIndex): ensure that cursor position is always
9619         reset to the reset_cursor position.
9620
9621 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9622
9623         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9624         disabled.
9625
9626 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9627
9628         * bufferview.C:
9629         * lyxcb.C:
9630         * lyxfunc.C: Output messages with identical spelling, punctuation,
9631         and spaces
9632
9633 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9634
9635         * MenuBackend.C (expandFormats): List only viewable export formats
9636         in "View" menu
9637
9638         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9639         message
9640
9641         * lyxfunc.C (getStatus): Make sure that formats other than
9642         "fax" can also be disabled
9643
9644 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9645
9646         * text3.C (dispatch): put the lfuns that insert insets in 3
9647         groups, and call doInsertInset with appropriate arguments.
9648         (doInsertInset): new function, that creates an inset and inserts
9649         it according to some boolean parameters.
9650
9651 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9652
9653         * buffer.C (readFile): remember to pass on 'par' when calling
9654         readFile recursively.
9655
9656 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9657
9658         * MenuBackend.C (expandFormats): add "..." to import formats.
9659
9660 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9661
9662         * paragraph.C (asString): Remove XForms RTL hacks.
9663
9664 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9665         * buffer.C: fix typo
9666
9667 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9668
9669         * Makefile.am (LIBS): delete var
9670         (lyx_LDADD): add @LIBS@ here instead.
9671
9672 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9673
9674         * Clarify the meaning of "wheel mouse jump"
9675
9676 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9679         tabular in a float
9680
9681 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9682
9683         * importer.C (Loaders): do not preallocate 3 elements in the
9684         vector, since one ends up with 6 elements otherwise
9685
9686 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9687
9688         * DepTable.C (write): write the file name as last element of the
9689         .dep file (because it may contain spaces)
9690         (read): read info in the right order
9691
9692 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9693
9694         * paragraph_pimpl.C (simpleTeXBlanks):
9695         (simpleTeXSpecialChars):
9696         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9697
9698         * tabular.C (latex): add some missing case statements. Reindent.
9699
9700         * MenuBackend.C (expandToc): remove unused variable.
9701
9702 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9703
9704         * LColor.C:
9705         * LaTeX.C:
9706         * LyXAction.C:
9707         * MenuBackend.C:
9708         * buffer.C:
9709         * exporter.C:
9710         * lyxfunc.C:
9711         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9712         and the like.
9713
9714 2003-01-05  John Levon  <levon@movementarian.org>
9715
9716         * BufferView.h:
9717         * BufferView.C: add getEncoding()
9718
9719         * kbsequence.h:
9720         * kbsequence.C: do not store last keypress
9721
9722         * lyxfunc.h:
9723         * lyxfunc.C: store last keypress here instead. Pass encoding
9724           to getISOEncoded()
9725
9726 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9727
9728         * lyx_main.C (init): remove annoying error message when following
9729         symbolic links (bug #780)
9730
9731 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9732
9733         * text.C (insertChar):
9734         * lyxrc.C (getDescription): remove extra spaces
9735
9736 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9737
9738         * lyxrc.C (getDescription): remove extra spaces
9739
9740 2002-12-20  John Levon  <levon@movementarian.org>
9741
9742         * text3.C: hack fix for page up/down across tall rows
9743
9744 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9745
9746         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9747         not been invoked
9748
9749 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9750
9751         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9752         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9753         thesaurus is not compiled in
9754
9755 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9756
9757         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9758
9759 2002-12-16  Angus Leeming  <leeming@lyx.org>
9760
9761         * lyxrc.[Ch]:
9762         * lyx_main.C (init): remove override_x_deadkeys stuff.
9763
9764 2002-12-12  John Levon  <levon@movementarian.org>
9765
9766         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9767           insert. Only remove shift modifier under strict
9768           circumstances.
9769
9770 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9771
9772         * MenuBackend.C (expandToc): fix crash.
9773
9774 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9775
9776         * MenuBackend.C (expandToc): gettext on float names.
9777
9778 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9779
9780         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9781         implement bool empty() [bug 490]
9782
9783 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9784
9785         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9786
9787 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9788
9789         * several files: ws changes
9790
9791 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9792
9793         * text2.C (setCounter): clean up a bit, use boost.format.
9794         (updateCounters): initialize par upon declaration.
9795
9796         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9797         if the layout exists. We do not just store the layout any more.
9798         (SwitchLayoutsBetweenClasses): use boost.format
9799
9800 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9801
9802         * converter.C (convert): if from and to files are the same, use a
9803         temporary files as intermediary
9804
9805 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9806
9807         * commandtags.h:
9808         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9809
9810 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9811
9812         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9813
9814 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9815
9816         * tabular.C (asciiPrintCell): use string(size, char) instead of
9817         explicit loop.
9818
9819         * sgml.C (openTag): fix order of arguments to string constructor
9820         (closeTag): ditto
9821
9822         * lyxfunc.C (dispatch): use boost.format
9823
9824         * lots of files: change "c" -> 'c'
9825
9826 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9827
9828         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9829
9830 2002-11-25  Angus Leeming  <leeming@lyx.org>
9831
9832         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9833
9834         * lyx_main.C (init): compile fix.
9835
9836 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9837
9838         * lyx_cb.C (start): boost.formatify
9839         do not include <iostream>
9840
9841         * lengthcommon.C: ws only
9842
9843         * boost-inst.C,BoostFormat.h: add more explict instantations
9844
9845 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9846
9847         * lots of files: handle USE_BOOST_FORMAT
9848
9849 2002-11-21  John Levon  <levon@movementarian.org>
9850
9851         * pspell.C: fix compile
9852
9853 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9854
9855         * lyxfunc.C (dispatch): use boost::format
9856         (open): ditto
9857         (doImport): ditto
9858
9859         * lyxfont.C (stateText): use boost::format
9860
9861         * lyx_main.C (LyX): use boost::format
9862         (init): ditto
9863         (queryUserLyXDir): ditto
9864         (readRcFile): ditto
9865         (parse_dbg): ditto
9866         (typedef boost::function): use the recommened syntax.
9867
9868         * importer.C (Import): use boost::format
9869
9870         * debug.C (showLevel): use boost::format
9871
9872         * converter.C (view): use boost::format
9873         (convert): ditto
9874         (move): ditto
9875         (scanLog): ditto
9876
9877         * bufferview_funcs.C (currentState): use boost::format
9878
9879         * bufferlist.C (emergencyWrite): use boost::format
9880
9881         * buffer.C (readLyXformat2): use boost::format
9882         (parseSingleLyXformat2Token): ditto
9883
9884         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9885
9886         * LaTeX.C (run): use boost::format
9887
9888         * Chktex.C (scanLogFile): use boost::format
9889
9890         * BufferView_pimpl.C (savePosition): use boost::format
9891         (restorePosition): ditto
9892         (MenuInsertLyXFile): ditto
9893
9894         * BoostFormat.h: help file for explicit instation.
9895
9896 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9897
9898         * tabular.C (latex): Support for block alignment in fixed width
9899         columns.
9900
9901 2002-11-17  John Levon  <levon@movementarian.org>
9902
9903         * BufferView_pimpl.C:
9904         * lyx_cb.C:
9905         * lyxfunc.C: split filedialog into open/save
9906
9907 2002-11-08  Juergen Vigna  <jug@sad.it>
9908
9909         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9910         by my last patch (hopefully).
9911
9912 2002-11-08  John Levon  <levon@movementarian.org>
9913
9914         * iterators.h:
9915         * iterators.C:
9916         * buffer.h:
9917         * buffer.C:
9918         * paragraph.h:
9919         * paragraph.C:
9920         * toc.h:
9921         * toc.C: ParConstIterator, and use it (from Lars)
9922
9923 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9924
9925         * lyxtextclass.[Ch]: revise and add doxygen comments
9926
9927 2002-11-07  John Levon  <levon@movementarian.org>
9928
9929         * text.C: fix progress value for spellchecker
9930
9931         * toc.C: fix navigate menu for insetwrap inside minipage
9932
9933         * paragraph_funcs.C: added FIXME for suspect code
9934
9935 2002-11-07  John Levon  <levon@movementarian.org>
9936
9937         * BufferView_pimpl.C: fix redrawing of insets
9938           on buffer switch
9939
9940 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9941
9942         * text2.C (updateCounters): fix bug 668
9943
9944 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9945
9946         * text3.C (dispatch): Do not make the buffer dirty when moving the
9947         cursor.
9948
9949 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * vc-backend.C: STRCONV
9952         (scanMaster): ditto
9953
9954         * text2.C (setCounter): STRCONV
9955
9956         * paragraph.C (asString): STRCONV
9957
9958         * lyxlength.C (asString): STRCONV
9959         (asLatexString): ditto
9960
9961         * lyxgluelength.C (asString): STRCONV
9962         (asLatexString): ditto
9963
9964         * lyxfunc.C (dispatch): STRCONV
9965         (open): ditto
9966
9967         * lyxfont.C (stateText): STRCONV
9968
9969         * importer.C (Import): STRCONV
9970
9971         * counters.C (labelItem): STRCONV
9972         (numberLabel): ditto
9973         (numberLabel): remove unused ostringstream o
9974
9975         * chset.C: STRCONV
9976         (loadFile): ditto
9977
9978         * bufferview_funcs.C (currentState): STRCONV
9979
9980         * buffer.C (readFile): STRCONV
9981         (asciiParagraph): ditto
9982         (makeLaTeXFile): ditto
9983
9984         * Spacing.C (writeEnvirBegin): STRCONV
9985
9986         * LaTeXFeatures.C (getLanguages): STRCONV
9987         (getPackages): ditto
9988         (getMacros): ditto
9989         (getBabelOptions): ditto
9990         (getTClassPreamble): ditto
9991         (getLyXSGMLEntities): ditto
9992         (getIncludedFiles): ditto
9993
9994         * LaTeX.C: STRCONV
9995         (run): ditto
9996         (scanAuxFile): ditto
9997         (deplog): ditto
9998
9999         * LString.h: add the STRCONV macros
10000
10001         * BufferView_pimpl.C (savePosition): STRCONV
10002         (restorePosition): ditto
10003         (MenuInsertLyXFile): ditto
10004
10005         * vc-backend.C (scanMaster): change from submatch[...] to
10006         submatch.str(...)
10007
10008         * funcrequest.C: include config.h
10009
10010         * factory.C: include config.h
10011
10012         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10013
10014         * box.C: include config.h
10015
10016         * LaTeX.C (scanAuxFile): change from submatch[...] to
10017         submatch.str(...)
10018         (deplog): ditto
10019
10020 2002-10-25  Angus Leeming  <leeming@lyx.org>
10021
10022         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10023
10024         * ispell.[Ch] (setError): new method.
10025         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10026         Use setError() insetead of goto END.
10027
10028         * lyx_cb.C (AutoSave): move out child process into new class
10029         AutoSaveBuffer.
10030
10031 2002-10-30  John Levon  <levon@movementarian.org>
10032
10033         * text3.C: make start appendix undoable
10034
10035 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10036
10037         * lyxlength.C (inPixels): Fix returned value.
10038
10039         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10040         environment.
10041
10042 2002-10-24  Angus Leeming  <leeming@lyx.org>
10043
10044         * lyxgluelength.h: no need to forward declare BufferParams
10045         or BufferView, so don't.
10046
10047 2002-10-21  John Levon  <levon@movementarian.org>
10048
10049         * BufferView.C: menuUndo ->undo, redo
10050
10051         * BufferView.h: document, remove dead, make some methods private
10052
10053         * paragraph_funcs.h:
10054         * paragraph_funcs.C:
10055         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10056
10057         * buffer.h:
10058         * buffer.C:
10059         * sgml.h:
10060         * sgml.C: move sgml open/close tag into sgml.C
10061
10062         * bufferview_funcs.h: unused prototype
10063
10064         * lyxfunc.h:
10065         * lyxfunc.C: remove unused
10066
10067         * lyxtext.h:
10068         * text.C: remove unused
10069
10070 2002-10-21  John Levon  <levon@movementarian.org>
10071
10072         * BufferView.h:
10073         * BufferView.C:
10074         * BufferView_pimpl.h:
10075         * BufferView_pimpl.C: fix mouse wheel handling based on
10076           patch from Darren Freeman
10077
10078 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10079
10080         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10081
10082 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10083
10084         * lyxlength.C (inPixels): Fix hanfling of negative length.
10085         Fix LyXLength::MU case.
10086
10087 2002-10-16  John Levon  <levon@movementarian.org>
10088
10089         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10090
10091 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10092
10093         * converter.C (view): add support for $$i (file name) and $$p
10094         (file path) for the viewer command. If $$i is not specified, then
10095         it is appended to the command (for compatibility with old syntax)
10096
10097 2002-10-14  Juergen Vigna  <jug@sad.it>
10098
10099         * undo_funcs.C (textHandleUndo): alter the order in which the
10100         new undopar is added to the LyXText, as we have to set first
10101         the right prev/next and then add it as otherwise the rebuild of
10102         LyXText is not correct. Also reset the cursor to the right paragraph,
10103         with this IMO we could remove the hack in "redoParagraphs()".
10104
10105 2002-10-09  Angus Leeming  <leeming@lyx.org>
10106
10107         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10108         to turn off an optimisation if a new inset is to be inserted.
10109
10110 2002-10-11 André Pönitz <poenitz@gmx.net>
10111
10112         * lyxtext.h: make some functions public to allow access
10113         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10114
10115 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10116
10117         * text3.C (dispatch): when changing layout, avoid an infinite loop
10118         [bug #652]
10119
10120 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10121
10122         * lyxrc.C (read): treat a viewer or converter command of "none" as
10123         if it were empty.
10124
10125         * MenuBackend.C (expandFormats): for an update, also allow the
10126         formats that are not viewable
10127
10128         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10129         script if it is newer than the lyxrc.defaults in user directory
10130
10131 2002-10-07 André Pönitz <poenitz@gmx.net>
10132
10133         * text.C: Vitaly Lipatov's small i18n fix
10134
10135 2002-09-25  Angus Leeming  <leeming@lyx.org>
10136
10137         * ispell.h: doxygen fix.
10138
10139 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10140
10141         * buffer.h (readFile): Add a new argument to the method, to allow
10142         reading of old-format templates.
10143
10144 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10145
10146         * toc.C (getTocList): Get TOC from InsetWrap.
10147
10148 2002-09-16  John Levon  <levon@movementarian.org>
10149
10150         * lyxfunc.C: check tabular for cut/copy too
10151
10152 2002-09-12  John Levon  <levon@movementarian.org>
10153
10154         * LyXAction.C: tidy
10155
10156         * factory.h:
10157         * factory.C: add header
10158
10159         * paragraph_funcs.h:
10160         * paragraph_funcs.C: cleanup
10161
10162 2002-09-11  John Levon  <levon@movementarian.org>
10163
10164         * PrinterParams.h: odd/even default to true
10165
10166 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10167
10168         * PrinterParams.h: update printer parameters for new xforms dialog
10169
10170 2002-09-11  Angus Leeming  <leeming@lyx.org>
10171
10172         * lyxserver.C (read_ready): re-write to make it more transparent
10173         and to make it work in coherent fashion under Tru64 Unix.
10174
10175 2002-09-11  André Pönitz <poenitz@gmx.net>
10176
10177         * commandtags.h:
10178         * LyXAction.C:
10179         * text3.C: implement LFUN_WORDSEL
10180
10181 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10182
10183         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10184         make floatlist_ a boost::shared_ptr<FloatList>
10185
10186         * lyxtextclass.C: include FloatList.h
10187         (LyXTextClass): initialize floatlist_
10188         (TextClassTags): add TC_NOFLOAT
10189         (Read): match "nofloat" to TC_NOFLOAT and use it.
10190         (readFloat): modify call to floatlist_
10191         (floats): ditto
10192         (floats): ditto
10193
10194         * FloatList.[Ch] (FloatList): remove commented out float
10195         initialization.
10196         (erase): new function
10197
10198 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10199
10200         * MenuBackend.C (expandToc): fix crash when there is no document
10201         open
10202
10203 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10204
10205         * many files: Add insetwrap.
10206
10207 2002-09-09  John Levon  <levon@movementarian.org>
10208
10209         * text2.C: remove confusing and awkward depth wraparound
10210
10211 2002-09-09  John Levon  <levon@movementarian.org>
10212
10213         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10214
10215         * buffer.h:
10216         * buffer.C: remove getIncludeonlyList()
10217
10218         * paragraph.C:
10219         * lyxfunc.C: remove headers
10220
10221 2002-09-09  Juergen Vigna  <jug@sad.it>
10222
10223         * text.C (getColumnNearX): fix form Michael this is most
10224         probably a cut&paste bug.
10225
10226 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10227
10228         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10229
10230         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10231         references, ws changes.
10232
10233         * text2.C (init): update counters after init
10234         (insertParagraph): no need to set counter on idividual paragraphs.
10235         (setCounter): access the counters object in the textclass object
10236         on in the buffer object.
10237         (updateCounters): ditto
10238
10239         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10240         shared_ptr<Counters> to avoid loading counters.h in all
10241         compilation units.
10242         (LyXTextClass): initialize ctrs_
10243         (TextClassTags): add TC_COUNTER, and ...
10244         (Read): use it here.
10245         (CounterTags): new tags
10246         (readCounter): new function
10247         (counters): new funtion
10248         (defaultLayoutName): return a const reference
10249
10250         * counters.C (Counters): remove contructor
10251         (newCounter): remove a couple of unneeded statements.
10252         (newCounter): simplify a bit.
10253         (numberLabel): some small formatting changes.
10254
10255         * buffer.[Ch]: remove all traces of counters, move the Counters
10256         object to the LyXTextClass.
10257
10258 2002-09-06  Alain Castera  <castera@in2p3.fr>
10259
10260         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10261         package to set the horizontal alignment on fixed width columns.
10262
10263         * lyx_sty.C:
10264         * lyx_sty.h: added tabularnewline macro def.
10265
10266         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10267
10268 2002-09-06  John Levon  <levon@movementarian.org>
10269
10270         * LyXAction.C: tooltips for sub/superscript
10271
10272         * MenuBackend.C: a bit more verbose
10273
10274         * lyxfunc.C: tiny clean
10275
10276         * undo_funcs.C: document undo_frozen
10277
10278 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10279
10280         * counters.C (Counters): add missing algorithm counter.
10281
10282         * text2.C (setCounter): lookup the counter with layouts latexname
10283         instead of by section number.
10284         (setCounter): use a hackish way to lookup the correct enum
10285         counter.
10286         a float name->type change
10287         reset enum couners with counter name directly instead of depth value.
10288
10289         * counters.C (Counters): remove the push_backs, change to use the
10290         float type not the float name.
10291         (labelItem): remove unused string, float name->type change
10292
10293         * counters.h: don't include vector, loose the enums and sects vectors
10294
10295 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10296
10297         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10298         (Read): add float->TC_FLOAT to textclassTags
10299         (Read): and handle it in the switch
10300         (readFloat): new function
10301
10302         * FloatList.C (FloatList): comment out the hardcoded float
10303         definitions.
10304
10305         * lyxlayout.h: ws change.
10306
10307 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10308
10309         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10310
10311 2002-09-03  Angus Leeming  <leeming@lyx.org>
10312
10313         * BufferView_pimpl.h: qualified name is not allowed in member
10314         declaration: WorkArea & Pimpl::workarea() const;
10315
10316         * factory.C: added using std::endl directive.
10317
10318         * text3.C: added using std::find and std::vector directives.
10319
10320 2002-08-29  André Pönitz <poenitz@gmx.net>
10321
10322         * lyxtext.h:
10323         * text2.C: remove unused member number_of_rows
10324
10325         * Makefile.am:
10326         * BufferView2.C: remove file, move contents to...
10327         * BufferView.C: ... here
10328
10329         * BufferView_pimpl.C:
10330         * factory.C: move more inset creation to factory
10331
10332         * vspace.C: avoid direct usage of LyXText, ws changes
10333
10334         * BufferView.[Ch]:
10335                 don't provide direct access to WorkArea, use two simple
10336                 acessors haveSelction() and workHeight() instead
10337
10338
10339 2002-08-29  John Levon  <levon@movementarian.org>
10340
10341         * BufferView_pimpl.C (dispatch): do not continue when
10342           no buffer
10343
10344 2002-08-28  André Pönitz <poenitz@gmx.net>
10345
10346         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10347
10348         * BufferView.h:
10349         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10350
10351 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10352
10353         * buffer.C: increment LYX_FORMAT to 221
10354
10355         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10356         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10357
10358         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10359
10360         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10361
10362 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10363
10364         * factory.C (createInset): use LyXTextClass::floats
10365
10366         * MenuBackend.C (expandFloatListInsert):
10367         (expandFloatInsert):
10368         (expandToc):
10369
10370         * text2.C (setCounter):
10371
10372         * LaTeXFeatures.C (useFloat):
10373         (getFloatDefinitions):
10374
10375         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10376
10377         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10378         floatlist_, with accessor floats().
10379
10380         * FloatList.h: remove global FloatList
10381
10382 2002-08-26  André Pönitz <poenitz@gmx.net>
10383
10384         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10385
10386         * BufferView.h:
10387         * BufferView2.C:
10388         * BufferView_pimpl.C:
10389         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10390
10391 2002-08-25  John Levon  <levon@movementarian.org>
10392
10393         * LyXAction.C: fix margin note description
10394
10395 2002-08-24  John Levon  <levon@movementarian.org>
10396
10397         * buffer.C:
10398         * bufferlist.C:
10399         * bufferview_funcs.C:
10400         * lyxfont.C:
10401         * undo_funcs.C: cleanups
10402
10403         * lyxfunc.C: disable CUT/COPY when no selection
10404
10405 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10406
10407         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10408         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10409
10410         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10411         Add backward compatibility to "mono", "gray" and "no".
10412
10413 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10414
10415         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10416         (and file_format >= 200).
10417
10418 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10421
10422 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10425
10426 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10427
10428         * BufferView_pimpl.C:
10429         * LyXAction.C:
10430         * buffer.C:
10431         * commandtags.h:
10432         * lyxfunc.C:
10433         * paragraph.[Ch]:
10434         * text2.C:
10435         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10436         inset and code to make it  work with the paragraph code. The inset
10437         can be anywhere in the paragraph, but will only do the expected
10438         thing in LaTeX if the layout file contains the parameter line
10439                         OptionalArgs    1
10440         (or more generally, a nonzero value) for that layout.
10441
10442 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10443
10444         * paragraph.h: remove the declaration of undefined counters class
10445         function.
10446
10447 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10448
10449         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10450         Dr. Richard Hawkins.
10451
10452 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10453
10454         * paragraph_funcs.h: remove some unneeded includes
10455
10456         * text.C (backspace): pasteParagraph now in global scipe
10457
10458         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10459         (pasteSelection): ditto
10460
10461         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10462         * paragraph_funcs.C (pasteParagraph): ... here
10463
10464 2002-08-20  André Pönitz <poenitz@gmx.net>
10465
10466         * commandtags.h: new LFUNs for swapping/copying table row/colums
10467
10468         * LyXAction.C:
10469         * lyxfunc.C: support for new lfuns
10470
10471 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * tabular.C:
10474         * buffer.[Ch]: remove NO_COMPABILITY stuff
10475
10476 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10477
10478         * boost.C (throw_exception): new file, with helper function for
10479         boost compiled without exceptions.
10480
10481         * paragraph.h:
10482         * lyxlength.C:
10483         * buffer.C:
10484         * ParameterStruct.h:
10485         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10486
10487         * bufferlist.C (emergencyWriteAll): use boost bind
10488
10489         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10490
10491         * text.C: include paragraph_funcs.h
10492         (breakParagraph): breakParagraph is now in global scope
10493
10494         * paragraph_funcs.[Ch]: new files
10495
10496         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10497         global scope
10498
10499         * buffer.C: include paragraph_funcs.h
10500         (insertStringAsLines): breakParagraph is now in global scope
10501
10502         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10503         paragraph_funcs.C
10504
10505         * CutAndPaste.C: include paragraph_funcs.h
10506         (cutSelection): breakParagraphConservative is now in global scope
10507         (pasteSelection): ditto
10508
10509         * buffer.h: declare oprator== and operator!= for
10510         Buffer::inset_iterator
10511
10512         * bufferlist.C (emergencyWrite): don't use fmt(...)
10513
10514         * text3.C: add using std::endl
10515
10516         * BufferView.C (moveCursorUpdate): remove default arg
10517
10518 2002-08-20  André Pönitz <poenitz@gmx.net>
10519
10520         * buffer.[Ch]: move inline functions to .C
10521
10522         * BufferView2.C:
10523         * BufferView_pimpl.C:
10524         * text.C:
10525         * buffer.[Ch]: use improved inset_iterator
10526
10527         * buffer.C:
10528         * paragraph.[Ch]: write one paragraph at a time
10529
10530 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10531
10532         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10533         style if style is not specified.
10534
10535 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * text2.C (setCounter): when searching for right label for a
10538         caption, make sure to recurse to parent insets (so that a caption
10539         in a minipage in a figure float works) (bug #568)
10540
10541 2002-08-20  André Pönitz <poenitz@gmx.net>
10542
10543         * text3.C: new file for LyXText::dispatch() and helpers
10544
10545         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10546
10547         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10548
10549 2002-08-19  André Pönitz <poenitz@gmx.net>
10550
10551         * lyxtext.h:
10552         * text.C: new LyXText::dispatch()
10553
10554         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10555
10556 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10557
10558         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10559
10560         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10561         Hebrew text.
10562
10563 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10564
10565         * Makefile.am: use $(variables) instead of @substitutions@
10566
10567 2002-08-15  André Pönitz <poenitz@gmx.net>
10568
10569         * lyxfunc.C:
10570         * BufferView_pimpl.C: streamlining mathed <-> outer world
10571         interaction
10572
10573         * commandtags.h:
10574         * LyXAction.C: remove unused LFUN_MATH
10575
10576 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10577
10578         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10579
10580 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10581
10582         * paragraph.C (Paragraph): reformat a bit
10583         (cutIntoMinibuffer): use builtin InsetList function instad of
10584         doing it manually.
10585         (getInset): ditto
10586
10587         * buffer.C: include boost/bind.hpp, add using std::for_each
10588         (writeFileAscii): use ParagraphList iterators
10589         (validate): use for_each for validate traversal of paragraphs
10590         (getBibkeyList): use ParagraphList iterators
10591         (resizeInsets): use for_each to resizeInsetsLyXText for all
10592         paragraphs.
10593         (getParFromID): use ParagraphList iterators
10594
10595         * BufferView2.C (lockInset): use paragraph list and iterators
10596
10597 2002-08-14  John Levon  <levon@movementarian.org>
10598
10599         * lyxserver.C: remove spurious xforms include
10600
10601 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10602
10603         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10604
10605 2002-08-13  André Pönitz <poenitz@gmx.net>
10606
10607         * LyXAction.[Ch]:
10608         * lyxfunc.C: further cleaning
10609
10610 2002-08-13  André Pönitz <poenitz@gmx.net>
10611
10612         * funcrequest.h: new constructor
10613
10614         * funcrequest.C: move stuff here from .h
10615
10616         * Makefile.am:
10617         * BufferView_pimpl.C:
10618         * LyXAction.C:
10619         * toc.C:
10620         * lyxfunc.C: subsequent changes
10621
10622         * lyxfunc.h: new view() member function
10623
10624         * lyxfunc.C: subsequent changes
10625
10626 2002-08-13  Angus Leeming  <leeming@lyx.org>
10627
10628         * BufferView2.C:
10629         * BufferView_pimpl.C:
10630         * buffer.C:
10631         * converter.C:
10632         * importer.C:
10633         * lyxfunc.C:
10634         * lyxvc.C:
10635         * toc.C:
10636         * vc-backend.C:
10637         changes due to the changed LyXView interface that now returns references
10638         to member variables not pointers.
10639
10640 2002-08-13  Angus Leeming  <leeming@lyx.org>
10641
10642         * WordLangTuple (word, lang_code): return references to strings,
10643         not strings.
10644
10645         * BufferView.h:
10646         * SpellBase.h:
10647         * lyxtext.h: forward-declare WordLangTuple.
10648
10649         * BufferView2.C:
10650         * ispell.C:
10651         * pspell.C:
10652         * text.C: #include "WordLangTuple.h".
10653
10654         * lyxtext.h:
10655         * text.C: (selectNextWordToSpellcheck): constify return type.
10656
10657 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10658
10659         * buffer.C:
10660         * buffer.h:
10661         * lyxtext.h:
10662         * paragraph.C:
10663         * paragraph_pimpl.h:
10664         * text.C:
10665         * text2.C:
10666         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10667         suggested by Angus.
10668         Made updateCounter always count from start of buffer, and removed
10669         second argument (par).
10670         Reverted floats number display to '#'. Perhaps I'll try again when the
10671         code base is sanitized a bit.
10672
10673 2002-08-12  Angus Leeming  <leeming@lyx.org>
10674
10675         * buffer.[Ch] (getLabelList): constify.
10676
10677 2002-08-07  André Pönitz <poenitz@gmx.net>
10678
10679         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10680
10681         * funcrequest.h: extension to keep mouse (x,y) position
10682
10683 2002-08-12  Juergen Vigna  <jug@sad.it>
10684
10685         * BufferView2.C (insertErrors): forbid undo when inserting error
10686         insets.
10687
10688         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10689
10690 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10691
10692         * ParagraphList.[Ch]: new files
10693
10694         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10695
10696         * BufferView2.C (lockInset): ParagraphList changes
10697         * toc.C: ditto
10698         * text2.C: ditto
10699         * bufferlist.C: ditto
10700         * buffer.h: ditto
10701         * buffer.C: ditto
10702
10703 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10704
10705         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10706         unused class variable counter_,
10707
10708         * paragraph.[Ch] (getFirstCounter): delete unused function
10709
10710         * counters.C: include LAssert.h
10711         (reset): add a new function with no arg, change other version to
10712         not have def. arg and to not allow empty arg.
10713
10714         * text2.C (setCounter): remove empty arg from call to Counters::reset
10715
10716 2002-08-11  John Levon  <levon@movementarian.org>
10717
10718         * Makefile.am: add WordLangTuple.h
10719
10720 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10721
10722         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10723         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10724
10725         * insets/insettext.C: InsetList changes
10726
10727         * graphics/GraphicsSupport.C (operator()): InsetList changes
10728
10729         * toc.C (getTocList): InsetList changes
10730
10731         * paragraph_pimpl.[Ch]: InsetList changes
10732
10733         * paragraph.[Ch]: InsetList changes
10734
10735         * buffer.C (inset_iterator): InsetList changes
10736         (setParagraph): ditto
10737         * buffer.h (inset_iterator): ditto
10738         * iterators.C (operator++): ditto
10739         * iterators.h: ditto
10740
10741         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10742
10743         * InsetList.[Ch]: new files, most InsetList handling moved out of
10744         paragraph.C.
10745
10746         * BufferView2.C (removeAutoInsets): InsetList changes
10747         (lockInset): ditto
10748         (ChangeInsets): ditto
10749
10750 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10751
10752         * paragraph_pimpl.h (empty): new function
10753
10754         * paragraph.[Ch] (empty): new function
10755
10756         * other files: use the new Paragraph::empty function
10757
10758 2002-08-09  John Levon  <levon@movementarian.org>
10759
10760         * lyxtext.h: remove unused refresh_height
10761
10762 2002-08-09  John Levon  <levon@movementarian.org>
10763
10764         * Makefile.am:
10765         * sgml.h:
10766         * sgml.C:
10767         * buffer.C:
10768         * paragraph.h:
10769         * paragraph.C: move sgml char escaping out of paragraph
10770
10771         * paragraph.h:
10772         * paragraph.C: remove id setter
10773
10774         * buffer.C:
10775         * paragraph.C:
10776         * paragraph_pimpl.C: remove dead tex_code_break_column
10777
10778         * bufferview_funcs.C: small cleanup
10779
10780         * lyxfunc.C: remove dead proto
10781
10782         * lyxtext.h: make some stuff private. Remove some dead stuff.
10783
10784         * lyxgluelength.C: make as[LyX]String() readable
10785
10786 2002-08-08  John Levon  <levon@movementarian.org>
10787
10788         * LyXAction.h:
10789         * LyXAction.C:
10790         * MenuBackend.C:
10791         * ToolbarDefaults.C:
10792         * lyxfunc.C:
10793         * lyxrc.C:
10794         * toc.C: lyxaction cleanup
10795
10796 2002-08-08  John Levon  <levon@movementarian.org>
10797
10798         * BufferView2.C: small cleanup
10799
10800         * lyxfind.h:
10801         * lyxfind.C: move unnecessary header into the .C
10802
10803 2002-08-08  John Levon  <levon@movementarian.org>
10804
10805         * funcrequest.h: just tedious nonsense
10806
10807         * lyx_main.h:
10808         * lyx_main.C: cleanups
10809
10810         * buffer.C:
10811         * vspace.C: remove dead header lyx_main.h
10812
10813 2002-08-07  Angus Leeming  <leeming@lyx.org>
10814
10815         * Paragraph.[Ch]:
10816         * paragraph_pimpl.h:
10817         Forward declare class Counters in paragraph.h by moving the ctrs member
10818         variable into Paragraph::Pimpl.
10819         (counters): new method, returning a reference to pimpl_->ctrs.
10820
10821         * text2.C: ensuing changes.
10822
10823 2002-08-07  John Levon  <levon@movementarian.org>
10824
10825         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10826
10827         * BufferView_pimpl.C: announce X selection on double/triple
10828           click
10829
10830         * lyx_main.C: use correct bool in batch dispatch
10831
10832         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10833
10834 2002-08-07  André Pönitz <poenitz@gmx.net>
10835
10836         * funcrequest.h: new class to wrap a kb_action and its argument
10837
10838         * BufferView.[Ch]:
10839         * BufferView_pimpl[Ch]:
10840         * LaTeX.C:
10841         * LyXAction.[Ch]:
10842         * lyxfunc.[Ch]:
10843         * lyxrc.C: subsequent changes
10844
10845
10846 2002-08-07  John Levon  <levon@movementarian.org>
10847
10848         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10849           document options change.
10850
10851 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10852
10853         * counters.[Ch]
10854         * text2.C
10855         * paragraph.[Ch]
10856         * makefile.am: move counters functionality over from
10857         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10858
10859 2002-08-06  John Levon  <levon@movementarian.org>
10860
10861         * WordLangTuple.h: new file for word + language code tuple
10862
10863         * SpellBase.h:
10864         * pspell.h:
10865         * pspell.C:
10866         * ispell.h:
10867         * ispell.C:
10868         * lyxtext.h:
10869         * text.C:
10870         * text2.C:
10871         * BufferView.h:
10872         * BufferView2.C: use WordLangTuple
10873
10874         * layout.h:
10875         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10876
10877 2002-08-06  John Levon  <levon@movementarian.org>
10878
10879         * lyx_main.C: fix cmdline batch handling
10880
10881 2002-08-06  André Pönitz <poenitz@gmx.net>
10882
10883         * lyxrc.C: set default for show_banner to true
10884
10885 2002-08-06  John Levon  <levon@movementarian.org>
10886
10887         * pspell.C: fix a crash, and allow new aspell to work
10888
10889 2002-08-06  John Levon  <levon@movementarian.org>
10890
10891         * lyxfunc.C:
10892         * kbmap.C: small cleanup
10893
10894         * vspace.h:
10895         * vspace.C: add const
10896
10897 2002-08-05  John Levon  <levon@movementarian.org>
10898
10899         * LyXAction.C: back to tabular-insert
10900
10901 2002-08-04  John Levon  <levon@movementarian.org>
10902
10903         * BufferView.h:
10904         * BufferView.C: cosmetic change
10905
10906         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10907
10908         * bufferlist.C:
10909         * buffer.h:
10910         * buffer.C:
10911         * lyxcb.h:
10912         * lyxcb.C:
10913         * lyxserver.C:
10914         * lyxvc.C:
10915         * vc-backend.C:
10916         * BufferView2.C: purge all "Lyx" not "LyX" strings
10917
10918         * lyxcursor.h:
10919         * lyxcursor.C: attempt to add some documentation
10920
10921         * lyxfunc.C:
10922         * commandtags.h:
10923         * LyXAction.C:
10924         * ToolbarDefaults.C:
10925         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10926           merge with LFUN_TABULAR_INSERT
10927
10928         * Makefile.am:
10929         * SpellBase.h:
10930         * ispell.h:
10931         * ispell.C:
10932         * pspell.h:
10933         * pspell.C: split up i/pspell implementations into separate
10934           files, many cleanups
10935
10936         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10937
10938         * text2.C: some cleanup
10939
10940         * lyxfunc.C: don't check for isp_command == "none" any more, it
10941           didn't make any sense
10942
10943 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10944
10945         * counters.[Ch]
10946         * text2.C
10947         * paragraph.[Ch]
10948         * makefile.am: move counters functionality over
10949         from text2.C/paragraph.[Ch] to counters.[Ch], and
10950         make proper C++.
10951 2002-08-02  John Levon  <levon@movementarian.org>
10952
10953         * buffer.C: s/lyxconvert/lyx2lyx/
10954
10955 2002-08-02  Angus Leeming  <leeming@lyx.org>
10956
10957         * lyxlex.C: revert John's change as it breaks reading of the user
10958         preamble.
10959
10960 2002-08-02  Angus Leeming  <leeming@lyx.org>
10961
10962         * importer.C (Import):
10963         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10964         changes due to LyXView::view() now returning a boost::shared_ptr.
10965
10966 2002-08-02  John Levon  <levon@movementarian.org>
10967
10968         * lyxlex.C: small cleanup
10969
10970 2002-08-02  John Levon  <levon@movementarian.org>
10971
10972         * text2.C (status): small cleanup, no logic change
10973
10974 2002-08-01  John Levon  <levon@movementarian.org>
10975
10976         * buffer.h:
10977         * buffer.C (writeFile): don't output alerts, caller
10978           handles this
10979
10980         * bufferlist.C:
10981         * lyx_cb.C: from above
10982
10983         * lyxfunc.C: allow to open non-existent files
10984
10985 2002-07-31  John Levon  <levon@movementarian.org>
10986
10987         * lyxserver.C: don't let incidental errors get
10988           in the way (errno)
10989
10990 2002-07-30  John Levon  <levon@movementarian.org>
10991
10992         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10993
10994 2002-07-30  John Levon  <levon@movementarian.org>
10995
10996         * lyxserver.h:
10997         * lyxserver.C: remove I/O callback too
10998
10999 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11000
11001         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11002         log.
11003
11004 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11005
11006         * many files: strip,frontStrip -> trim,ltrim,rtrim
11007
11008 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11009
11010         * PrinterParams.h: remove extern containsOnly, and include
11011         support/lstrings.h instead.
11012
11013         * LaTeX.C (scanAuxFile): modify because of strip changes
11014         (deplog): ditto
11015         * buffer.C (makeLaTeXFile): ditto
11016         * bufferparams.C (writeFile): ditt
11017         * lyxfont.C (stateText): ditto
11018         * lyxserver.C (read_ready): ditto
11019         * vc-backend.C (scanMaster): ditto
11020
11021         * BufferView_pimpl.h: ws changes
11022
11023         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11024
11025 2002-07-26  André Pönitz <poenitz@gmx.net>
11026
11027         * kb_sequence.C: remove unnedred usings
11028
11029 2002-07-26  Juergen Vigna  <jug@sad.it>
11030
11031         * lyxfind.C (LyXReplace): we have to check better if the returned
11032         text is not of theLockingInset()->getLockingInset().
11033
11034 2002-07-25  Juergen Vigna  <jug@sad.it>
11035
11036         * lyxfind.C (LyXReplace): don't replace if we don't get the
11037         right LyXText.
11038
11039         * undo_funcs.C (createUndo): remove debugging code.
11040
11041 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11042
11043         * buffer.C (parseSingleLyXformat2Token): Use default placement
11044         when reading old floats.
11045
11046         * FloatList.C (FloatList): Change the default placement of figure
11047         and tables to "tbp".
11048
11049 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11050
11051         * MenuBackend.C: using std::max
11052
11053 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * MenuBackend.C (expandToc):
11056         (expandToc2): code moved from xforms menu frontend. It is now
11057         generic and TOCs are transparent to menu frontends.
11058
11059 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * toc.C (getTocList): protect against buf=0
11062
11063         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11064         Menu as first parameter. Now, this calls itself recursively to
11065         expand a whole tree (this will be useful for TOC handling)
11066         (expandFloatInsert): remove 'wide' version of floats
11067
11068         * MenuBackend.h (submenuname): returns the name of the submenu.
11069         (submenu): returns the submenu itself, provided it has been
11070         created by MenuBackend::expand
11071
11072 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11073
11074         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11075         insets which have noFontChange == true. (bug #172)
11076
11077 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11078
11079         * BufferView_pimpl.C: add connection objects and use them...
11080         (Pimpl): here.
11081
11082 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11083
11084         * MenuBackend.C (expandLastfiles):
11085         (expandDocuments):
11086         (expandFormats):
11087         (expandFloatListInsert):
11088         (expandFloatInsert):
11089         (expand): split expand in parts
11090
11091 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * lyx_gui.C: use lyx_gui::exit()
11094
11095 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11096
11097         * LyXAction.C: show the failing pseudo action
11098
11099 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11100
11101         * buffer.C (readFile): Run the lyxconvert script in order to read
11102         old files.
11103
11104 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * LyXAction.C:
11107         * commandtags.h:
11108         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11109
11110 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * LyXAction.C:
11113         * commandtags.h:
11114         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11115
11116 2002-07-22  Herbert Voss  <voss@lyx.org>
11117
11118         * lengthcommon.C:
11119         * lyxlength.[Ch]: add support for the vertical lengths
11120
11121 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * toc.[Ch]: std:: fixes
11124
11125 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11126
11127         * lyxrc.C: do not include lyx_main.h
11128
11129         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11130         for layouts
11131
11132         * lyxrc.C:
11133         * encoding.C:
11134         * bufferlist.C:
11135         * BufferView2.C: include "lyxlex.h"
11136
11137         * tabular.h:
11138         * bufferparams.h: do not #include "lyxlex.h"
11139
11140         * lyxtextclasslist.C (Add): remove method
11141         (classlist): renamed to classlist_
11142
11143         * paragraph_pimpl.C:
11144         * paragraph.C:
11145         * text2.C:
11146         * CutAndPaste.C:
11147         * bufferview_funcs.C:
11148         * bufferlist.C:
11149         * text.C:
11150         * LaTeXFeatures.C:
11151         * buffer.C:
11152         * toc.C (getTocList): use BufferParams::getLyXTextClass
11153
11154         * toc.C (getTocList): use InsetFloat::addToToc
11155
11156         * toc.[Ch]: new files, containing helper functions to handle table
11157         of contents
11158
11159         * lyxfunc.C (dispatch): no need to remove spaces around command
11160         given as a string
11161         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11162         first command of the sequence; it is not very clever, but I do not
11163         have a better idea, actually
11164
11165         * LyXAction.C (LookupFunc): make sure to remove space at the
11166         beginning and end of the command
11167
11168 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11169
11170         * MenuBackend.C (getMenubar): new method: return the menubar of
11171         this menu set
11172         (read): treat differently reading of menu and menubar (in
11173         particular, the menubar has no name now)
11174         (Menu::menubar): remove
11175
11176         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11177         saving is finished
11178
11179 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11180
11181         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11182         a bibitem inset in a RTL paragraph.
11183
11184 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * paragraph_pimpl.C: constify
11187
11188         * BufferView_pimpl.C:
11189         * LaTeX.C:
11190         * lyxfunc.C: fix dispatch in a nicer way
11191
11192 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11193
11194         * lyxfunc.C (dispatch):
11195         * BufferView_pimpl.C:
11196         * BufferView_pimpl.h:
11197         * BufferView.C:
11198         * BufferView.h: rename Dispatch() to dispatch()
11199
11200         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11201
11202         * lyxlayout.C (Read): honor DependsOn tag
11203
11204         * lyxlayout.[Ch] (depends_on): new method
11205
11206         * version.C.in: update lyx_docversion
11207
11208         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11209
11210         * paragraph.C (validate): remove from here...
11211         * paragraph_pimpl.C (validate): ... and move here
11212         (isTextAt): make it const
11213
11214         * buffer.C (getLists): ws cleanup
11215
11216 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11217
11218         * language.C (read): Use iso8859-1 encoding in latex_lang
11219         (this prevents LyX from crashing when using iso10646-1 encoding).
11220
11221 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11222
11223         * text2.C (toggleInset): if cursor is inside an inset, close the
11224         inset and leave cursor _after_ it
11225
11226 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * lyxfunc.C: move minibuffer completion handling out of here
11229
11230 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11231
11232         * BufferView_pimpl.C:
11233         * LaTeX.C: fix dispatch calls
11234
11235 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11236
11237         * text.C (drawChars): Fix Arabic text rendering.
11238
11239 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11240
11241         * LyXAction.C:
11242         * commandtags.h:
11243         * lyxfunc.C: remove message-push/pop
11244
11245         * lyxserver.C:
11246         * lyxfunc.h:
11247         * lyxfunc.C: rationalise some code by removing verboseDispatch
11248           in favour of a bool argument to dispatch()
11249
11250 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11251
11252         * lyx_main.C (init): make sure to read symlinks as absolute paths
11253
11254 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * lyxfunc.h:
11257         * lyxfunc.C: no need for commandshortcut to be a member
11258
11259 2002-07-15  André Pönitz <poenitz@gmx.net>
11260
11261         * converter.C: add support for $$s (scripts from lib/scripts dir)
11262         * lyx_main.C: white space
11263
11264 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * bufferlist.C:
11267         * lyxrc.h:
11268         * lyxrc.C: remove second exit confirmation
11269
11270 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * BufferView.h:
11273         * BufferView.C:
11274         * BufferView2.C:
11275         * BufferView_pimpl.h:
11276         * BufferView_pimpl.C:
11277         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11278
11279 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11280
11281         * MenuBackend.C (expand): add numeric shortcuts to document menu
11282
11283         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11284
11285 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * lyxfont.C (setLyXFamily):
11288         (setLyXSeries):
11289         (setLyXShape):
11290         (setLyXSize):
11291         (setLyXMisc):
11292         (lyxRead):
11293         * debug.C (value):
11294         * buffer.C (asciiParagraph): use ascii_lowercase
11295
11296 2002-07-15  Mike Fabian  <mfabian@suse.de>
11297
11298         * lyxlex_pimpl.C (search_kw):
11299         * lyxlex.C (getLongString):
11300         * converter.h (operator<):
11301         * converter.C (operator<):
11302         * buffer.C (parseSingleLyXformat2Token):
11303         (asciiParagraph):
11304         * ToolbarDefaults.C (read):
11305         * MenuBackend.C (checkShortcuts):
11306         (read):
11307         * LColor.C (getFromGUIName):
11308         (getFromLyXName): use the compare_ascii_no_case instead of
11309         compare_no_case, because in turkish, 'i' is not the lowercase
11310         version of 'I', and thus turkish locale breaks parsing of tags.
11311
11312 2002-07-16  Angus Leeming  <leeming@lyx.org>
11313
11314         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11315         now takes a Buffer const & argument.
11316
11317 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * BufferView.C (resize): check there's a buffer to resize
11320
11321 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * lyxfunc.C: remove dead code
11324
11325         * lyxserver.h:
11326         * lyxserver.C: use lyx_guii::set_read_callback
11327
11328 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11329
11330         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11331         an inset in a RTL paragraph.
11332
11333 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * lyxfunc.C: repaint after a font size update
11336
11337 2002-07-15  André Pönitz <poenitz@gmx.net>
11338
11339         * lyxlength.C: inBP should be able to return negative values
11340
11341 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * lyxfunc.C: use lyx_gui::update_fonts()
11344
11345 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * lyxfunc.C: use lyx_gui::update_color()
11348
11349 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11350
11351         * bufferlist.C:
11352         * lyxfunc.h:
11353         * lyxfunc.C:
11354         * lyxrc.h:
11355         * lyxrc.C: remove file->new asks for name option, and let
11356           buffer-new take an argument
11357
11358 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * BufferView_pimpl.C: remove unneeded extra repaint()
11361
11362 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11363
11364         * LyXAction.C: allow command-sequence with NoBuffer
11365
11366         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11367
11368 2002-07-10  Angus Leeming  <leeming@lyx.org>
11369
11370         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11371
11372 2002-07-09  Angus Leeming  <leeming@lyx.org>
11373
11374         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11375
11376 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * lengthcommon.h: whitespace
11379
11380         * lyxfunc.C: update scrollbar after goto paragraph
11381
11382         * lyxtext.h: factor out page break drawing, and fix it so
11383           page break/added space paints as selected nicely
11384
11385 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * BufferView_pimpl.C: add FIXMEs, clean up a little
11388
11389 2002-07-09  André Pönitz <poenitz@gmx.net>
11390
11391         * lyxfont.[Ch]: support for wasy symbols
11392
11393 2002-07-08  André Pönitz <poenitz@gmx.net>
11394
11395         * BufferView_pimpl.C: apply John's patch for #93.
11396
11397 2002-07-05  Angus Leeming  <leeming@lyx.org>
11398
11399         * BufferView_pimpl.C (buffer): generate previews if desired.
11400
11401         * LColor.h: add "preview" to the color enum.
11402
11403         * LColor.C (LColor): add a corresponding entry to the items array.
11404
11405         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11406         with this buffer.
11407
11408 2002-07-05  Angus Leeming  <leeming@lyx.org>
11409
11410         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11411         The body of the code is now in the method that is passed an ostream &
11412         rather than a file name.
11413         Pass an additional only_preamble parameter, useful for the forthcoming
11414         preview stuff.
11415
11416 2002-07-03  André Pönitz <poenitz@gmx.net>
11417
11418         * lyxfunc.C: simplify getStatus() a bit for math stuff
11419
11420 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11421
11422         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11423
11424 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * text.C (changeRegionCase): do not change case of all the
11427         document when region ends at paragraph end (bug #461)
11428
11429 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * paragraph.C (startTeXParParams):
11432         (endTeXParParams): add \protect when necessary
11433
11434 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * BufferView_pimpl.C (workAreaExpose): remove warning
11437
11438 2002-06-27  Angus Leeming  <leeming@lyx.org>
11439
11440         * Makefile.am: add lyxlayout_ptr_fwd.h.
11441
11442 2002-06-26  André Pönitz <poenitz@gmx.net>
11443
11444         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11445
11446 2002-06-25  Angus Leeming  <leeming@lyx.org>
11447
11448         * lyxfunc.C (dispatch): Comment out the call to
11449         grfx::GCache::changeDisplay. The method no longer exists now that the
11450         pixmap generation part of the graphics loader has been moved into
11451         InsetGraphics.
11452
11453 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * text2.C: layout as layout
11456
11457         * text.C: layout as layout
11458
11459         * tabular.C (OldFormatRead): layout as layout
11460
11461         * paragraph_pimpl.C (TeXDeeper): layout as layout
11462         (realizeFont): layout as layout
11463
11464         * paragraph.C (writeFile): layout as layout
11465         (validate): layout as layout
11466         (getFont): layout as layout
11467         (getLabelFont): layout as layout
11468         (getLayoutFont): layout as layout
11469         (breakParagraph): layout as layout
11470         (stripLeadingSpaces): layout as layout
11471         (getEndLabel): layout as layout
11472         (getMaxDepthAfter): layout as layout
11473         (applyLayout): layout as layout
11474         (TeXOnePar): layout as layout
11475         (simpleTeXOnePar): layout as layout
11476         (TeXEnvironment): layout as layout
11477         (layout): layout as layout
11478         (layout): layout as layout
11479
11480         * lyxtextclass.C (compare_name): new functor to work with
11481         shared_ptr, layout as layout
11482         (Read): layout as layout
11483         (hasLayout): layout as layout
11484         (operator): layout as layout
11485         (delete_layout): layout as layout
11486         (defaultLayout): layout as layout
11487
11488         * lyxlayout_ptr_fwd.h: new file
11489
11490         * lyxlayout.C (Read): layout as layout
11491
11492         * lyx_cb.C (MenuInsertLabel): layout as layout
11493
11494         * bufferlist.C (newFile): layout as layout
11495
11496         * buffer.C (readLyXformat2): layout as layout
11497         (parseSingleLyXformat2Token): layout as layout
11498         (insertStringAsLines): layout as layout
11499         (asciiParagraph): layout as layout
11500         (latexParagraphs): layout as layout
11501         (makeLinuxDocFile): layout as layout
11502         (simpleLinuxDocOnePar): layout as layout
11503         (makeDocBookFile): layout as layout
11504         (simpleDocBookOnePar): layout as layout
11505         (getLists): layout as layout
11506
11507         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11508
11509         * CutAndPaste.C (cutSelection): layout as layout
11510         (pasteSelection): layout as layout
11511         (SwitchLayoutsBetweenClasses): layout as layout
11512
11513         * BufferView_pimpl.C (Dispatch): layout as layout
11514         (smartQuote): layout as layout
11515
11516         * BufferView2.C (unlockInset): layout as layout
11517
11518 2002-06-24  André Pönitz <poenitz@gmx.net>
11519
11520         * lyxfunc.C: fix #487
11521
11522 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * lyxrc.h:
11525         * lyxrc.C:
11526         * lyxfunc.C: remove display_shortcuts, show_banner
11527
11528 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * Buffer_pimpl.C: oops, update on resize
11531
11532 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * buffer.C:
11535         * converter.C:
11536         * exporter.C:
11537         * lyxfunc.C:
11538         * BufferView.h:
11539         * BufferView.C: use repaint()
11540
11541         * BufferView_pimpl.h:
11542         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11543           as it's a clearer description. Remove superfluous
11544           redraws.
11545
11546 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * text.C: fix bug 488. Not ideal, but getting
11549           getWord() to work properly for the insets that
11550           matter is more difficult ...
11551
11552 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * BufferView_pimpl.C:
11555         * LyXAction.C:
11556         * commandtags.h:
11557         * lyxfunc.C: remove the six million index lyxfuncs to just
11558           one, and DTRT (bug 458)
11559
11560 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * BufferView.h:
11563         * BufferView.C:
11564         * BufferView_pimpl.h:
11565         * BufferView_pimpl.C: clean up resize() stuff,
11566           and unnecessary updateScreen()s
11567
11568 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * BufferView.h:
11571         * BufferView.C:
11572         * BufferView_pimpl.h:
11573         * BufferView_pimpl.C:
11574         * lyxfind.h:
11575         * lyxfind.C:
11576         * minibuffer.C: remove focus management of workarea,
11577           not needed. Use screen's greyOut()
11578
11579 2002-06-17  Herbert Voss  <voss@lyx.org>
11580
11581         * converter.C: (convert) do not post a message, when converting
11582         fails, let the calling function decide what to do in this case
11583
11584 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * lyxfunc.C: tidy up a little
11587
11588 2002-06-16    <alstrup@diku.dk>
11589
11590         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11591         Got rid of FORMS_H_LOCATION include. Now we are
11592         GUII.
11593
11594 2002-06-15  LyX Development team  <lyx@rilke>
11595
11596         * buffer.[Ch] (sgmlOpenTag):
11597         (sgmlCloseTag): Added support for avoiding pernicious mixed
11598         content. Return number of lines written.
11599
11600         (makeLinuxDocFile):
11601         (makeDocBookFile): Fixed calls to sgml*Tag.
11602         Simple white space clean.
11603
11604         (simpleDocBookOnePar): Simple white space clean.
11605
11606         * tabular.[Ch] (docBook): Renamed to docbook and got another
11607         argument to related with the pernicious mixed content.
11608
11609         (docbookRow): Fixed calls for docbook inset method.
11610
11611 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11612
11613         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11614         so it's X11 independent.
11615
11616         * kb*.[Ch]: ditto.
11617
11618         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11619
11620 2002-06-15  Lyx Development team  <lyx@electronia>
11621
11622         * intl.h: Renamed getTrans to getTransManager.
11623
11624 2002-06-14  Angus Leeming  <leeming@lyx.org>
11625
11626         * Makefile.am: nuke forgotten stl_string_fwd.h.
11627
11628 2002-06-12  Angus Leeming  <leeming@lyx.org>
11629
11630         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11631
11632 2002-06-13  Angus Leeming  <leeming@lyx.org>
11633
11634         * LaTeX.C:
11635         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11636
11637 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11638
11639         * kbmap.C (getiso): add support for cyrillic and greek
11640
11641 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11642
11643         * BufferView.h:
11644         * BufferView.C:
11645         * BufferView_pimpl.h:
11646         * BufferView_pimpl.C: move bogus scrolling logic
11647           to xforms
11648
11649 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * lyxfunc.C:
11652         * BufferView_pimpl.C: view->resize() change
11653
11654 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * BufferView_pimpl.C: topCursorVisible
11657           prototype change
11658
11659 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * Makefile.am:
11662         * lyx_gui.h:
11663         * lyx_gui.C: move to frontends/
11664
11665         * main.C:
11666         * lyx_main.h:
11667         * lyx_main.C: changes from above
11668
11669 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * intl.C:
11672         * intl.h:
11673         * kbmap.C:
11674         * kbsequence.C:
11675         * lyx_cb.C:
11676         * lyx_main.C: minor tidy
11677
11678 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11679
11680         * BufferView_pimpl.h:
11681         * BufferView_pimpl.C:
11682         * BufferView.h:
11683         * BufferView.C: make painter() const,
11684           remove dead code
11685
11686         * BufferView2.C: use screen() accessor
11687
11688         * lyx_main.h:
11689         * lyx_main.C: some minor cleanup
11690
11691 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * BufferView_pimpl.h:
11694         * BufferView_pimpl.C: remove enter/leaveView,
11695           use workHeight()
11696
11697 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * BufferView.h:
11700         * BufferView.C:
11701         * BufferView2.C:
11702         * BufferView_pimpl.h:
11703         * BufferView_pimpl.C: only construct screen once,
11704           rename
11705
11706         * lyxrc.C: remove pointless comment
11707
11708 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * BufferView.h:
11711         * BufferView.C: remove active() and belowMouse()
11712
11713         * BufferView_pimpl.h:
11714         * BufferView_pimpl.C: use workarea() not workarea_,
11715           and make it use a scoped_ptr instead
11716
11717 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * lyx_gui.C: add debug message on BadWindow
11720
11721 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11722
11723         * sp_spell.C: fdopen is not part of the C++ standard.
11724
11725         * paragraph.C (InsetIterator): use >= instead of ==
11726
11727 2002-06-07  Angus Leeming  <leeming@lyx.org>
11728
11729         Fixes needed to compile with Compaq cxx 6.5.
11730         * BufferView_pimpl.C:
11731         * DepTable.C:
11732         * buffer.C:
11733         * converter.C:
11734         * encoding.C:
11735         * lyx_gui.C:
11736         * lyx_main.C:
11737         * lyxtextclasslist.C:
11738         * minibuffer.C:
11739         * sp_spell.C:
11740         * tabular_funcs.C:
11741         * vc-backend.C:
11742         all c-library variables have been moved into namespace std. Wrap
11743         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11744
11745         * lyxlength.C:
11746         * tabular-old.C:
11747         * tabular.C:
11748         Add a using std::abs declaration.
11749
11750         * kbmap.h (modifier_pair):
11751         * paragraph.h (InsetTable, InsetList):
11752         * lyxfont.h (FontBits):
11753         type definition made public.
11754
11755         * bufferlist.C (emergencyWriteAll): the compiler complains that
11756         there is more than one possible lyx::class_fun template to choose from.
11757         I re-named the void specialisation as lyx::void_class_fun.
11758
11759         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11760
11761         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11762         the compiler is is unable to find tostr in write_attribute.
11763
11764 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11765
11766         * buffer.C (sgmlError): hide #warning
11767
11768 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * xtl/*: get rid of xtl, which is not in use anyway
11771
11772         * LyXAction.C (init):
11773         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11774         were unimplemented xtl experimentation
11775
11776 2002-06-04  André Pönitz <poenitz@gmx.net>
11777
11778         * lyxfunc.C: disable array operation on simple formulae
11779
11780 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11781
11782         * converter.C: constify a bit
11783
11784 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * lyx_gui.C: check xforms version correctly
11787
11788 2002-04-30  Herbert Voss  <voss@lyx.org>
11789
11790         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11791         "keep" option
11792
11793 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11794
11795         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11796           attempt to register it with a VCS)
11797
11798 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * lyx_main.C (init): honor variables LYX_DIR_13x and
11801         LYX_USERDIR_13x
11802
11803 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * buffer.h:
11806         * buffer.C:
11807         * lyx_main.C: fix a crash on bad command line,
11808           and give a useful exit status on error
11809
11810         * lyxfunc.C (doImport): allow -i lyx to work
11811
11812 2002-03-30  André Pönitz <poenitz@gmx.net>
11813
11814         * lyxfunc.C: mathed font changes
11815
11816 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * LaTeX.C:
11819         * importer.h:
11820         * importer.C:
11821         * lyx_sty.h:
11822         * lyx_sty.C:
11823         * lyxlex.C:
11824         * lyxrow.h:
11825         * lyxtext.h:
11826         * paragraph.h:
11827         * paragraph.C:
11828         * texrow.h:
11829         * texrow.C:
11830         * text.C:
11831         * trans_mgr.h: srcdocs, and some minor cleanups
11832
11833 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11834
11835         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11836         call getFont all the time)
11837
11838 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * switch from SigC signals to boost::signals
11841
11842 2002-05-29  André Pönitz <poenitz@gmx.net>
11843
11844         * paragraph_pimpl.C (getChar): don't call size() too often...
11845
11846 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11847
11848         * paragraph_pimpl.C (insertChar): do not try to update tables when
11849         appending (pos == size())
11850
11851         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11852         in order to reduce drastically the number of comparisons needed to
11853         parse a large document
11854
11855 2002-05-29  André Pönitz <poenitz@gmx.net>
11856
11857         * text.C:
11858         * text2.C:
11859         * lyxtextclass.C:
11860         * sp_pspell.h:
11861         * textclasslist.[Ch]:
11862         * sp_ispell.h: whitespace change
11863
11864 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11867         lyxaction directly now.
11868
11869 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * trans.C:
11872         * lyxfont.C:
11873         * lyxvc.C: remove unused headers
11874
11875 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * Makefile.am:
11878         * buffer.h:
11879         * undostack.h:
11880         * undostack.C:
11881         * undo_funcs.h:
11882         * undo_funcs.C: some cleanups. Use shared_ptr
11883           and a template for the undo stacks.
11884
11885 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * BufferView_pimpl.h:
11888         * BufferView_pimpl.C:
11889         * kbmap.h:
11890         * kbmap.C:
11891         * kbsequence.h:
11892         * kbsequence.C:
11893         * lyxfunc.h:
11894         * lyxfunc.C:
11895         * text2.C: use key_state/mouse_state
11896
11897 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11900         and LSubstring
11901
11902         * chset.C: change include order
11903         (loadFile): use boost regex and get rid of LRegex and LSubstring
11904
11905         * Makefile.am (BOOST_LIBS): new variable
11906         (lyx_LDADD): use it
11907
11908         * LaTeX.C: change include order.
11909         (scanAuxFile): use boost regex and get rid of LRegex and
11910         LSubstring
11911         (deplog): ditto
11912
11913 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11914
11915         * ColorHandler.h:
11916         * ColorHandler.C:
11917         * FontInfo.h:
11918         * FontInfo.C: moved to frontends/xforms/
11919
11920         * FontLoader.h:
11921         * FontLoader.C: moved into frontends for GUIIzation
11922
11923         * Makefile.am:
11924         * lyx_gui.C:
11925         * lyxfont.C:
11926         * lyxfunc.C: changes from above
11927
11928 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11929
11930         * LColor.C: remove spurious X include
11931
11932         * BufferView_pimpl.C:
11933         * Makefile.am:
11934         * font.h:
11935         * font.C:
11936         * text.C:
11937         * text2.C: move font metrics to frontends/
11938
11939 2002-05-24  Juergen Vigna  <jug@sad.it>
11940
11941         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11942         setting the undo_cursor.
11943
11944         * ParagraphParameters.h: include local includes first.
11945
11946 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * BufferView_pimpl.C:
11949         * BufferView_pimpl.h:
11950         * Makefile.am:
11951         * WorkArea.h:
11952         * WorkArea.C:
11953         * screen.C: move WorkArea into frontends/
11954
11955         * lyxscreen.h:
11956         * screen.C:
11957         * text.C:
11958         * BufferView.C:
11959         * BufferView2.C: move LyXScreen into frontends/
11960
11961         * lyxlookup.h:
11962         * lyxlookup.C:
11963         * lyx_gui.C: move lyxlookup into frontends/xforms/
11964
11965 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * BufferView2.C:
11968         * BufferView_pimpl.C:
11969         * FontLoader.C:
11970         * LyXView.h:
11971         * LyXView.C:
11972         * Makefile.am:
11973         * WorkArea.C:
11974         * XFormsView.h:
11975         * XFormsView.C:
11976         * buffer.C:
11977         * bufferlist.C:
11978         * bufferview_funcs.C:
11979         * converter.C:
11980         * importer.C:
11981         * lyx_cb.C:
11982         * lyx_gui.C:
11983         * lyx_main.C:
11984         * lyx_find.C:
11985         * lyxfunc.C:
11986         * lyxvc.C:
11987         * minibuffer.C:
11988         * text.C:
11989         * text2.C:
11990         * trans.C:
11991         * vc-backend.C: move LyX/XFormsView into frontends/
11992
11993 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * Makefile.am:
11996         * PainterBase.C:
11997         * PainterBase.h:
11998         * Painter.C:
11999         * Painter.h:
12000         * WorkArea.C:
12001         * WorkArea.h:
12002         * screen.C:
12003         * tabular.C:
12004         * text.C:
12005         * text2.C: move Painter to frontends/
12006
12007 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12008
12009         * buffer.C: comment out some some code that depend upon lyx_format
12010         < 220
12011
12012         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12013         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12014
12015         * buffer.h (NO_COMPABILITY): turn off compability
12016
12017         * ColorHandler.C: include scoped_array.hpp
12018
12019         * font.C: Use more specific smart_ptr header.
12020         * Painter.C: ditto
12021         * gettext.C: ditto
12022         * ShareContainer.h: ditto
12023         * lyx_main.h: ditto
12024         * kbmap.h: ditto
12025         * FontInfo.h: ditto
12026         * BufferView_pimpl.h: ditto
12027         * ColorHandler.h: ditto
12028
12029         * kbmap.C (defkey): change call to shared_ptr::reset
12030
12031 2002-05-21  Juergen Vigna  <jug@sad.it>
12032
12033         * buffer.C (insertErtContents): fix to insert ert asis if it is
12034         non empty. Skip it completely if it contains only whitespaces.
12035
12036 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * BufferView_pimpl.C:
12039         * BufferView2.C: clear selection on paste (bug 393)
12040
12041 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12042
12043         * DepTable.C: include ctime
12044
12045 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12046
12047         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12048
12049 2002-05-14  Juergen Vigna  <jug@sad.it>
12050
12051         * text.C (breakParagraph): fixed function to honor the keepempty
12052         layout in the right maner and also to permit the right breaking
12053         algorithm on empty or non empyt keepempty paragraphs.
12054
12055         * paragraph.C (breakParagraph): we have to check also if the par
12056         is really empty (!size()) for isempty otherwise we do the wrong
12057         paragraph break.
12058
12059 2002-05-10  Juergen Vigna  <jug@sad.it>
12060
12061         * buffer.[Ch] : The following are only changes to the ert
12062         compatibility read reading old LaTeX layout and font stuff and
12063         convert it to ERTInsets.
12064
12065         * buffer.h: added isErtInset().
12066
12067         * buffer.C (struct ErtComp): add a fromlayout bool to check
12068         if we're inside a LaTeX layout.
12069         (isErtInset): new helper function.
12070         (insertErtContents): look for other ert insets before this one
12071         and insert the contents there, so that we don't have subsequent
12072         ERT insets with nothing between them. This way we create only one
12073         inset with multiple paragraphs. Also check if we don't insert only
12074         spaces ' ' as they are ignored anyway afterwards in the .tex file
12075         so if we have only spaces we will ignore this latex part in the
12076         new file.
12077         (parseSingleLyXformat2Token \\layout): better compatibility when
12078         reading layout-latex stuff.
12079         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12080         language tag.
12081         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12082         stuff after reading the inset only get the information back from
12083         the stack.
12084
12085 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12086
12087         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12088
12089         * LaTeXFeatures.C (getBabelOptions): New method.
12090
12091 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * BufferView_pimpl.C (Dispatch): work around missing argument for
12094         'layout'
12095
12096 2002-05-08  Juergen Vigna  <jug@sad.it>
12097
12098         * text.C (leftMargin): handle paragraph leftindent.
12099
12100         * paragraph.C (writeFile): write the new \\leftindent tag.
12101         (validate): handle leftindent code.
12102         (TeXEnvironment): handle paragraphleftindent code again.
12103
12104         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12105
12106         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12107         for paragrap_extra indent code and new token \\leftindent.
12108         (latexParagraphs): handle the leftindent as environment.
12109
12110         * ParameterStruct.h: added leftindent support.
12111
12112         * ParagraphParameters.C (leftIndent): added support functions for
12113         the paragraph left indent.
12114
12115         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12116         more appropriate.
12117
12118 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12119
12120         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12121         inside insetERT.
12122
12123         * text.C (computeBidiTables): No bidi in insetERT.
12124
12125         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12126         in RTL documents.
12127
12128 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12129
12130         * version.C.in: pre 5
12131
12132 2002-05-02  José Matos  <jamatos@fep.up.pt>
12133         * buffer.C (makeDocBookFile): white space changes, add newline to
12134         command styles.
12135         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12136
12137         * tabular.C (docBook): fix typo.
12138
12139 2002-05-03  Juergen Vigna  <jug@sad.it>
12140
12141         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12142         change in LyXText as we can not be sure it was not freed.
12143         (drawOneRow): remove unused code.
12144
12145         * text.C (drawInset): redo the calculation of the need_break_row as
12146         it could have a row which was already freed.
12147         (draw): look at the return value of drawInset and return false if
12148         it also returned false.
12149         (paintRowText): look at the return value of draw and return false if
12150         it also returned false.
12151
12152         * lyxtext.h: added bool return type to drawInset() and draw() so that
12153         if we have a change in the row so that the rowbreak has to be redone
12154         we abort drawing as it will be called again.
12155
12156 2002-05-02  Juergen Vigna  <jug@sad.it>
12157
12158         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12159         a change in the maintext also if we're inside an inset.
12160         (Dispatch): set the cursor again after a break line and after the
12161         screen has been updated as it could be we're in a different row.
12162
12163         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12164         to set the cursor behind the pargraph with > size().
12165         (setCursor): check also for the same paragraph when checking where
12166         to put the cursor if we have a NFR inset.
12167
12168         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12169         parts of layout read further up as it still was in the wrong
12170         position.
12171
12172 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12173
12174         * screen.C (drawFromTo): change sine fullRebreak always return
12175         true.
12176
12177         * buffer.C (parseSingleLyXformat2Token): reindent some
12178
12179         * BufferView_pimpl.C (update): change since fullRebreak always
12180         return true.
12181         (Dispatch): git rid of the last hardcoded "Standard"s.
12182
12183 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * text2.[Ch] (fullRebreak): make it return void now that we always
12186         returned true.
12187
12188 2002-04-30  Juergen Vigna  <jug@sad.it>
12189
12190         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12191         ert compatibility check for "latex" layout.
12192
12193 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12194
12195         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12196         minipages: use col% instead of p%, and also use the current font.
12197         (makeLaTeXFile): Fix use babel condition.
12198         (parseSingleLyXformat2Token): Correct font when reading old floats.
12199
12200 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12201
12202         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12203         inserting list of floats.
12204
12205 2002-04-25  Herbert Voss  <voss@lyx.org>
12206
12207         * MenuBackend.C (expand): don't add the graphics extensions to the
12208         export menu
12209
12210 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12211
12212         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12213         non-existing layout, do not complain if it was the default layout
12214         of the original class (bug #342)
12215
12216 2002-04-24  Juergen Vigna  <jug@sad.it>
12217
12218         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12219         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12220
12221 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12222
12223         * buffer.C (getBibkeyList): If using \bibliography, return the
12224         option field with the reference itself. Enables us to provide natbib
12225         support when using \bibliography.
12226
12227 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12228
12229         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12230
12231         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12232         natbib is provided by the LaTeX class.
12233
12234 2002-04-23  Juergen Vigna  <jug@sad.it>
12235
12236         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12237         Wakeup functions.
12238
12239         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12240
12241 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12242
12243         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12244
12245         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12246         ensuremath around textordmasculine, textordfeminine and
12247         textdegree.
12248
12249 2002-04-19  Juergen Vigna  <jug@sad.it>
12250
12251         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12252         reinitializing the buffer otherwise row-dimensions may be wrong.
12253         (update): reset also the selection cursors if they do exits otherwise
12254         their x/y positions may be wrong.
12255
12256         * text2.C (cursorDown): don't enter the inset if we came from a row
12257         above and are one row over the inset.
12258
12259         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12260         really leaving an inset.
12261
12262 2002-04-18  Juergen Vigna  <jug@sad.it>
12263
12264         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12265         of the selected paragraph does not have the selected layout also if
12266         the last one had!
12267
12268         * text2.C (setLayout): fixed bug which did not change last selected
12269         paragraph.
12270
12271         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12272         changed the read and substituted \\end_float with \\end_inset!
12273
12274         * BufferView_pimpl.C (cursorPrevious):
12275         (cursorNext): fixed to make it work with rows heigher than the work
12276         area without moving the cursor only the draw of the row.
12277         (workAreaMotionNotify): fix jumping over high rows.
12278
12279 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12280
12281         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12282         Ressler.
12283
12284 2002-04-16  Juergen Vigna  <jug@sad.it>
12285
12286         * text2.C (setCursor): set also the irow().
12287         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12288         (cursorUp):
12289         (cursorDown): support for locking an inset if the x_fix value goes
12290         inside it. That way I can transverse insets too with cursor up/down.
12291
12292         * lyxrow.h: added irow helper function same as other (i) functions.
12293
12294         * BufferView_pimpl.C (cursorPrevious):
12295         (cursorNext): fixed for insets!
12296
12297 2002-04-15  Juergen Vigna  <jug@sad.it>
12298
12299         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12300         position otherwise it is wrong in some cases.
12301
12302         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12303         inside the inset before the call.
12304
12305 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12306
12307         * buffer.[Ch] (getBibkeyList): make it const.
12308
12309 2002-04-12  Juergen Vigna  <jug@sad.it>
12310
12311         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12312
12313         * text2.C (getCursorX): new helper function
12314         (setCursor): compute also ix_
12315         (setCursorFromCoordinates): set also ix.
12316
12317         * lyxcursor.h: added ix_ and helper functions.
12318
12319         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12320
12321         * buffer.C (insertStringAsLines): dont break paragraph if the this
12322         paragraph is inside an inset which does not permit it!
12323
12324         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12325         also with no chars on this paragraph.
12326         (paintRowText): only paint stuff if it's inside the workarea!
12327
12328         * paragraph.C (breakParagraph): honor keepempty flag and break the
12329         paragraph always below not above.
12330
12331         * BufferView2.C (unlockInset): update the paragraph layout on inset
12332         unlock as we changed paragraph in such a case.
12333
12334         * lyxfind.C (LyXFind): clear the former selection if not found!
12335
12336         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12337         again called in insertChar().
12338
12339         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12340         an inset which uses the whole row!
12341         (rightMargin): ditto.
12342         (insertChar): force a rebreak if we inserted an inset!
12343
12344 2002-03-28  Herbert Voss  <voss@lyx.org>
12345
12346         * lyxlength.[Ch]: add inBP() to get the right PS-point
12347         units (BigPoint). With inPixels we have rounding errors
12348
12349 2002-04-11  Juergen Vigna  <jug@sad.it>
12350
12351         * text2.C (setCursorFromCoordinates): set iy to the right value.
12352         (setCursor): add check if row->previous exists!
12353
12354         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12355         an old float_type as this was the case in the old code!
12356
12357         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12358
12359         * BufferView2.C (showLockedInsetCursor): use iy
12360         (fitLockedInsetCursor): ditto
12361
12362         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12363         locked insets as there we have the right value now.
12364
12365         * lyxcursor.C: added iy_ variable and iy functions to set to the
12366         baseline of cursor-y of the locked inset.
12367
12368         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12369         (setCursor): fixed for insets which need a full row.
12370
12371         * text.C (rowLastPrintable): don't ignore the last space when before
12372         an inset which needs a full row.
12373         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12374         as last character of a row when before a inset which needs a full row.
12375
12376 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12377
12378         * version.C.in: update date
12379
12380         * text2.C (fullRebreak): try to always return true and see what
12381         happens...
12382
12383 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12384
12385         * MenuBackend.C (expand): use Floating::listName
12386
12387         * FloatList.C (FloatList): add listName argument to the built-in
12388         floats
12389
12390         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12391         text associated with the float.
12392
12393 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12394
12395         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12396
12397 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * ShareContainer.h: add a couple of missing typenames.
12400
12401 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12402
12403         * lyxrc.C (getDescription): use _() correctly rather than N_().
12404
12405 2002-03-28  Herbert Voss  <voss@lyx.org>
12406
12407         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12408         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12409
12410 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12411
12412         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12413         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12414
12415 2002-03-29  Juergen Vigna  <jug@sad.it>
12416
12417         * lyxfunc.C (dispatch): add a missing fitCursor call.
12418
12419         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12420         it was scrolled by a cursor move, so return the bool status.
12421
12422         * BufferView.C (fitCursor): return the bool flag also to the outside
12423         world as this is needed.
12424
12425         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12426
12427         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12428         call the edit() as it is not needed (and wrong) IMO.
12429         (workAreaButtonPress): set the screen_first variable before evt.
12430         unlock the inset as this may change screen_first and then we have
12431         a wrong y position for the click!
12432
12433 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12434
12435         * MenuBackend.C (expand): another translation that I missed
12436
12437 2002-03-28  Juergen Vigna  <jug@sad.it>
12438
12439         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12440
12441         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12442
12443 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12444
12445         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12446
12447         * MenuBackend.C (expand): fix export/view/update when there is no
12448         document open.
12449
12450 2002-03-27  Herbert Voss  <voss@lyx.org>
12451
12452         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12453         and text%
12454
12455 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * bufferview_funcs.C (currentState): only show paragraph number
12458         for is DEVEL_VERSION is set.
12459
12460         * lyxfunc.C (dispatch): put warning in INFO channel
12461
12462         * MenuBackend.C (expand): translate the name of floats
12463
12464         * FloatList.C (FloatList): mark the float names for translation
12465
12466         * converter.C (convert): use LibScriptSearch
12467
12468 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12469
12470         * MenuBackend.C (defaults): fix default menu (we might as well get
12471         rid of it...)
12472
12473 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12474
12475         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12476         directory.
12477
12478 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12479
12480         * lyxvc.C: reorder includes.
12481
12482 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12485           properly
12486
12487 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12488
12489         * CutAndPaste.C: change layouts earlier on paste
12490           to avoid crashing when calling getFont()
12491
12492 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12493
12494         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12495         irritating #error.
12496
12497 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12498
12499         * WorkArea.C: remove 'Pending' debug message.
12500
12501         * most files: ws cleanup
12502
12503         * buffer.[Ch]: ws changes
12504
12505         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12506
12507 2002-03-21  Juergen Vigna  <jug@sad.it>
12508
12509         * tabular.C (SetMultiColumn): collapse also the contents of the
12510         cells and set the last border right. Added a Buffer const * param.
12511
12512 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12515         linking or not.
12516
12517 2002-03-19  Juergen Vigna  <jug@sad.it>
12518
12519         * text2.C (clearSelection): reset also xsel_cache.
12520
12521         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12522         where it needs to be called (John tells us to do so too :)
12523         (selectionLost): reset sel_cache.
12524
12525         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12526
12527 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12528
12529         * text2.C (setCursorIntern): put debuging code in INSETS channel
12530
12531 2002-03-19  André Pönitz <poenitz@gmx.net>
12532
12533         * lyxfunc.C: tiny whitespace change
12534
12535 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12536
12537         * ToolbarDefaults.C (init):
12538         * LyXAction.C (init):
12539         * commandtags.h:
12540         * BufferView_pimpl.C (Dispatch):
12541         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12542
12543 2002-03-19  Allan Rae  <rae@lyx.org>
12544
12545         * exporter.C (Export): removeAutoInsets before doing anything else.
12546         While I've just introduced a dependency on BufferView this really is
12547         the best place to clean the buffer otherwise you need to cleanup in
12548         a dozen places before calling export or cleanup in a dozen functions
12549         that export calls.
12550
12551         * converter.C (runLaTeX):
12552         (scanLog): Better handling of removeAutoInsets and screen updates.
12553
12554         * lyxfunc.C (dispatch): small whitespace changes
12555
12556 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12557
12558         * WorkArea.C (C_WorkAreaEvent): return a value.
12559         (event_cb): return 1 if we handled the event, 0 otherwise.
12560
12561         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12562
12563 2002-03-18  Juergen Vigna  <jug@sad.it>
12564
12565         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12566         (GetAdditionalWidth): ditto.
12567         (RightLine): ditto.
12568         (LeftLine): ditto.
12569
12570         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12571         inset if we're there actually (probably not used right now but this
12572         is the direction to go for unifying code).
12573         (paste): disable code to clear the selection.
12574
12575         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12576         inside an InsetText and move the check further up as it is in the
12577         wrong place.
12578
12579         * text2.C (pasteSelection): set a selection over the pasted text.
12580
12581 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12582
12583         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12584         and libgraphics to build on Cygwin.
12585
12586 2002-03-15  Juergen Vigna  <jug@sad.it>
12587
12588         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12589         inserting an Inset into the paragraph. I know this is not the best
12590         fix but we already use current_view in CutAndPaste so we will remove
12591         all of it's using at the same time.
12592
12593         * buffer.C (sgmlError): deactivated function till it is rewritten in
12594         the right mode, now it can create problems.
12595
12596         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12597         before accessing it.
12598
12599 2002-03-14  Juergen Vigna  <jug@sad.it>
12600
12601         * undo_funcs.C (textHandleUndo): do the right thing when updating
12602         the inset after the undo/redo.
12603
12604         * text2.C (setCursor): just some testcode for #44 not ready yet.
12605
12606         * undo_funcs.C (textHandleUndo): set the next() and previous()
12607         pointers of the paragraph to 0 before deleting otherwise we have
12608         problems with the Paragraph::[destructor].
12609
12610         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12611         on a paragraph insertion.
12612
12613 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * buffer.C (asciiParagraph): use += operator for char append to
12616         string.
12617
12618         * paragraph.C (getFontSettings): compare >= not just >
12619         (highestFontInRange): ditto
12620         (setFont): ditto
12621
12622 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * paragraph.C: change several algorithm to be more appripriate for
12625         the problem domain. This is lookip in FontList and in the InsetList.
12626
12627 2002-03-13  André Pönitz <poenitz@gmx.net>
12628
12629         * commandtags.h:
12630         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12631
12632 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * commandtags.h:
12635         * LyXAction.C:
12636         * lyxfunc.C:
12637         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12638
12639 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12640
12641         * Painter.C (display): anon helper function, adjust code for this
12642         change.
12643         (pixmap): remove function.
12644
12645         * Painter.h: remove private display variable.
12646
12647         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12648
12649 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12650
12651         * WorkArea.[Ch]: remove figinset_canvas cruft.
12652
12653 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * lyxtextclass.C (operator): add one item cache optimization.
12656
12657         * bufferlist.h: doxy changes
12658
12659         * bufferlist.C: ws changes
12660
12661         * DepTable.[Ch] (ext_exist): place const in the right spot.
12662
12663         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12664         call resizeInsets.
12665         (workAreaExpose): call resizeInsets when the with BufferView changes.
12666         (Dispatch): adjust for protectedBlank removal
12667         (specialChar): call updateInset if the insert went ok.
12668
12669         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12670         specialChar instead.
12671
12672         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12673
12674         * BufferView.h: doxy change
12675
12676         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12677
12678         * lyxtextclass.C (operator[]): remove non-const version
12679         (defaultLayout): remove non-const version
12680
12681 2002-03-12  Juergen Vigna  <jug@sad.it>
12682
12683         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12684         did resize the LyXText too.
12685
12686         * buffer.C (readLyXformat2): set layout information on newly allocated
12687         paragraphs.
12688
12689         * tabular.C (OldFormatRead): set layout information on the paragraph.
12690
12691 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12692
12693         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12694
12695 2002-03-11  Juergen Vigna  <jug@sad.it>
12696
12697         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12698         plainly wrong.
12699         (resizeCurrentBuffer): force also the insets to resize themselfes.
12700         (moveCursorUpdate): fixed up for InsetText.
12701
12702 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * commandtags.h:
12705         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12706         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12707         value of Dialogs::tooltipsEnabled().
12708         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12709
12710 2002-03-08  Juergen Vigna  <jug@sad.it>
12711
12712         * BufferView_pimpl.C (updateInset): update inset inside inset also
12713         if it isn't inside theLockingInset().
12714
12715 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * buffer.C (asciiParagraph): redo some of the word and line length
12718         handling.
12719         (getLists): look for Caption instead of caption.
12720
12721 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * buffer.C (Buffer): initialize niceFile to true
12724         (makeLaTeXFile):
12725         (makeLinuxDocFile):
12726         (makeDocBookFile): make sure niceFile is true on exit
12727
12728 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12729
12730         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12731
12732 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12733
12734         * LyXSendto.C: remove.
12735         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12736         * lyx_gui.C: remove now-redundant comment.
12737         * ColorHandler.h: remove forward declaration of class WorkArea.
12738         * lyxfunc.C: remove #include "WorkArea.h".
12739
12740 2002-03-07  Juergen Vigna  <jug@sad.it>
12741
12742         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12743         got moved away with the DEPM and also set the inset_owner always
12744         right which before could have been omitted.
12745
12746 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12749         wanted layout is not found.
12750
12751 2002-03-07  Juergen Vigna  <jug@sad.it>
12752
12753         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12754
12755 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * paragraph.C (breakParagraph): use default layout not layout of
12758         prev paragraph.
12759         (Paragraph): clear ParagraphParameters.
12760
12761 2002-03-06  Juergen Vigna  <jug@sad.it>
12762
12763         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12764         otherwise it would not be a valid lenght. Fixed a special case in
12765         the minipage compatibility read where we end the document with a
12766         minipage.
12767
12768         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12769         was set as it could be 0 for InsetTexts first entry.
12770
12771 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * paragraph.C (writeFile): if layout is empty write out
12774         defaultLayoutName().
12775
12776         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12777         file without named layout we set layout to defaultLayoutName().
12778
12779 2002-03-06  Juergen Vigna  <jug@sad.it>
12780
12781         * CutAndPaste.C (copySelection): set layout for new paragraph.
12782
12783         * text.C (prepareToPrint): leave ERT inset left aligned
12784         (leftMargin): don't indent paragraphs inside ERT insets
12785
12786 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * paragraph.C (breakParagraph): dont call clear do the work manually
12789
12790         * paragraph.[Ch] (clear): remove function
12791
12792 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * paragraph.C (Paragraph): dont call clear, the work has already
12795         been done.
12796
12797         * lyxtextclass.C (operator): assert if n is empty
12798
12799         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12800         work manually instead.
12801
12802 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * BufferView_pimpl.C: protect selectionLost against text == 0
12805
12806 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * text.C (breakParagraph): fix a setting layout to '0' problem.
12809
12810 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12811
12812         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12813         final location of file, for the included files, and graphics.
12814
12815 2002-03-05  Juergen Vigna  <jug@sad.it>
12816
12817         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12818
12819 2002-03-04  Juergen Vigna  <jug@sad.it>
12820
12821         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12822
12823         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12824         last column of multicolumn cells.
12825         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12826
12827 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12828
12829         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12830         file if it doesn't go to a temporary file.
12831
12832         * buffer.C (sgmlOpenTag):
12833         (sgmlCloseTag):  remove extra newline insertion.
12834
12835 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * text.C (getRowNearY): comment out debug msg
12838
12839 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * text2.C: first -> first_y
12842
12843         * text.C (getRowNearY): add some attemts at a possible
12844         optimization, not working.
12845
12846         * tabular.[Ch]: add BufferParams to several function so that newly
12847         created paragraph can be initialized to he default layotu for the
12848         buffers textclass.
12849
12850         * tabular-old.C (ReadOld): add buf->params to call of Init
12851
12852         * screen.C: rename text->first to text->first_y
12853
12854         * paragraph.C (breakParagraph): always set layout in the broken
12855         paragraph
12856
12857         * lyxtextclass.C (Read): remove lowercase
12858         (hasLayout): ditto
12859         (operator): ditto
12860         (delete_layout): ditto
12861
12862         * lyxtext.h: rename first -> first_y
12863
12864         * lyxlayout.C (Read): remove lowercase
12865         (name): ditto
12866         (setName): ditto
12867         (obsoleted_by): ditto
12868
12869         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12870
12871         * buffer.C (insertErtContents): add params are to InsetERT
12872         (parseSingleLyXformat2Token): add code to check if a paragraphs
12873         layout really exist.
12874         (parseSingleLyXformat2Token): add params to several inset
12875         constructors
12876         (asciiParagraph): remove lowercase, do the layout comparisons with
12877         no_case
12878
12879         * BufferView_pimpl.C (cursorNext): first -> first_y
12880         (resizeCurrentBuffer): first -> first_y
12881         (updateScrollbar): first -> first_y
12882         (scrollCB): first -> first_y
12883         (workAreaMotionNotify): first -> first_y
12884         (workAreaButtonPress): first -> first_y
12885         (checkInsetHit): first -> first_y
12886         (cursorPrevious): first -> first_y
12887         (cursorNext): first -> first_y
12888         (Dispatch): add buffer_->params to severl inset contructors
12889
12890 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * lyxlayout.C (Read): remove some debug info that I forgot.
12893
12894         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12895         clean up the code slightly.
12896         (makeLinuxDocFile): ditto
12897         (makeDocBookFile): ditto
12898
12899         * text2.C: layout as string
12900
12901         * text.C: layout as string
12902
12903         * paragraph_pimpl.C: layout as string
12904
12905         * paragraph.[Ch]: layout as string
12906
12907         * lyxtextclasslist.[Ch]: layout as string
12908
12909         * lyxtextclass.[Ch]: layout as string
12910
12911         * lyxtext.h: layout as string
12912
12913         * lyxlayout.[Ch]: layout as string
12914
12915         * lyx_cb.C: layout as string
12916
12917         * bufferview_funcs.C: layout as string
12918
12919         * bufferparams.C: layout as string
12920
12921         * buffer.C: layout as string
12922
12923         * LyXView.[Ch]: layout as string
12924
12925         * LaTeXFeatures.[Ch]: layout as string
12926
12927         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12928
12929         * BufferView_pimpl.C: change current_layout to string, remove
12930         lyx::layout_type.
12931         (Dispatch):
12932         (smartQuote):
12933         (insertInset):
12934         (workAreaButtonRelease): layout as string
12935
12936         * BufferView2.C (unlockInset): adjust
12937
12938         * vspace.C (asLatexCommand): use an explict temp variable.
12939
12940 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12941
12942         * Makefile.am: use FRONTEND_*
12943
12944 2002-03-01  Juergen Vigna  <jug@sad.it>
12945
12946         * tabular.C (SetWidthOfMulticolCell): changed to something better
12947         I hope but still work in progress.
12948         (recalculateMulticolumnsOfColumn): renamed function from
12949         recalculateMulticolCells as it is more appropriate now.
12950         (SetWidthOfCell): calculate multicols better.
12951
12952 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12953
12954         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12955
12956         * lyxfunc.C (processKeySym): print sequence also if it is
12957         `deleted' (complete)
12958
12959         * kbsequence.C (print): print sequence even if it is deleted
12960         (complete would be a better word, actually).
12961
12962         * lyxfunc.C (dispatch): print complete options after a prefix key
12963
12964         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12965
12966 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12967
12968         * text2.C (setCharFont): eliminate setCharFont code duplication.
12969
12970 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12971
12972         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12973         LFUN_TABULAR_FEATURE (bug #177)
12974
12975 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12976
12977         * Makefile.am: remove figure.h
12978
12979 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12980
12981         * Bufferview_pimpl.C:
12982         * CutAndPasteC:
12983         * LaTeX.C:
12984         * LyXSendto.C:
12985         * buffer.C:
12986         * bufferlist.C:
12987         * converter.C:
12988         * language.C:
12989         * lyxfunc.C:
12990         * lyxvc.C:
12991         * paragraph.C:
12992         * text.C:
12993         * text2.C: remove #include "lyx_gui_misc.h".
12994
12995         * LaTeX.C: added #include <cstdio>
12996
12997 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12998
12999         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13000         that the paragraph following this one can have.
13001
13002         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13003
13004         * vspace.C (asLatexCommand): fix bogus gcc warning
13005
13006         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13007
13008 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13009
13010         * text2.C (setLayout): get rid of redundant code
13011
13012 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13013
13014         * text2.C (incDepth): make sure depth cannot be increased beyond
13015         reasonable values.
13016
13017 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13018
13019         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13020         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13021
13022         * PainterBase.h (image):
13023         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13024         a LyXImage const *.
13025
13026 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13027
13028         * BufferView.C:
13029         * BufferView.h:
13030         * BufferView_pimpl.C:
13031         * BufferView_pimpl.h:
13032         * LaTeXFeatures.C:
13033         * LyXAction.C:
13034         * LyXView.C:
13035         * Makefile.am:
13036         * UpdateList.h:
13037         * UpdateList.C:
13038         * buffer.C:
13039         * figure.h:
13040         * figureForm.C:
13041         * figureForm.h:
13042         * figure_form.C:
13043         * figure_form.h:
13044         * lyx_cb.C:
13045         * lyx_gui.C:
13046         * lyx_gui_misc.C:
13047         * lyxfunc.C:
13048         * sp_base.h:
13049         * sp_ispell.h:
13050         * sp_pspell.h:
13051         * sp_spell.C: remove fig inset, and the crap house of
13052           cards that follows it
13053
13054 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13055
13056         * Makefile.am:
13057         * lyxserver.C:
13058         * os2_defines.h:
13059         * os2_errortable.h:
13060         * nt_defines.h: move .h into support/
13061
13062         * vms_defines.h: remove
13063
13064         * WorkArea.C: add space in debug output
13065
13066         * text2.C:
13067         * paragraph.C:
13068         * buffer.C: add WITH_WARNINGS
13069
13070         * vc-backend.h:
13071         * vc-backend.C:
13072         * bufferlist.C: s/retrive/retrieve/, add docs
13073
13074         * vspace.h:
13075         * vspace.C:
13076         * kbmap.h:
13077         * lyxlength.h:
13078         * lyxgluelength.h:
13079         * length_common.h:
13080         * chset.h:
13081         * chset.C: add docs
13082
13083         * lyxgui.C: add ID to X error handler
13084
13085         * lyxtestclass.c: fix typo
13086
13087 2002-02-26  Juergen Vigna  <jug@sad.it>
13088
13089         * tabular_funcs.C (write_attribute): changed so that some default
13090         attributes are not written at all.
13091         (getTokenValue): set default values before trying to read the
13092         value so we have the return value always set as default if we don't
13093         find the token we search for.
13094
13095         * tabular.C (Write): write bools as bools not as strings!
13096
13097 2002-02-22  Juergen Vigna  <jug@sad.it>
13098
13099         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13100         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13101
13102         * text.C (leftMargin): don't add an indent for paragraphs inside
13103         tabular cells (fix #208).
13104
13105 2002-02-21  José Matos  <jamatos@fep.up.pt>
13106
13107         * tabular.C (docBook): fixed support for long tables.
13108
13109 2002-02-20  Juergen Vigna  <jug@sad.it>
13110
13111         * text2.C (getFont): get the drawing font of the Inset if this
13112         paragraph is inside an inset (only important for InsetERT for now).
13113
13114         * buffer.C (insertErtContents): use new lanugage params in ERT
13115         constructor.
13116
13117         * CutAndPaste.C: commenting out seemingly uneeded code.
13118
13119 2002-02-19  Allan Rae  <rae@lyx.org>
13120
13121         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13122         Iterators might be simple to use but they also get invalidated.
13123         (removeAutoInsets): renamed saved cursor tracking variables and added
13124         some comments to clarify what everything does.
13125
13126 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13127
13128         * Chktex.C:
13129         * LaTeX.C:
13130         * LyXSendto.C:
13131         * converter.C:
13132         * lyx_cb.C:
13133         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13134         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13135
13136         * lyxfunc.C:
13137         * vc-backend.h: remove #include "support/syscall.h"
13138
13139         * LaTeX.C:
13140         * LyXSendto.C:
13141         * converter.C: rearrange #includes in Lars' approved fashion.
13142
13143         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13144         forward declare class Timeout in the header file.
13145
13146         * XFormsView.C: changes due to the above.
13147
13148         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13149         similar to LyXView.
13150
13151         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13152         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13153
13154 2002-02-18  José Matos  <jamatos@fep.up.pt>
13155
13156         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13157         insets contents.
13158
13159 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13160
13161         * a lot of small ws changes
13162         * add a lot of using std::XXX
13163         * use std construcs some places where approp.
13164         * use some exisint stuff from lyxfunctional where approp.
13165         * Make file changes to use partial linking (lets test this now...)
13166
13167 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13168
13169         * Chktex.C:
13170         * buffer.C:
13171         remove #include "support/syscontr.h" as it's redundant. Always has been.
13172
13173         * Chktex.C:
13174         * LaTeX.C:
13175         * LyXSendto.C:
13176         * converter.C:
13177         * lyx_cb.C:
13178         * vc-backend.C:
13179         change Systemcalls::System to Systemcalls::Wait and
13180         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13181         No change of functionality, just reflects the stripped down Systemcalls
13182         class.
13183
13184 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * debug.[Ch]: add a GRAPHICS type to the enum.
13187
13188 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13189
13190         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13191
13192         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13193         there is an inset.
13194
13195 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13196
13197         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13198         match the changes below.
13199
13200         * text2.C (toggleInset): if there is not editable inset at cursor
13201         position, try to see if cursor is _inside_ a collapsable inset
13202         and close it.
13203
13204 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13205
13206         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13207         document menu has a nice checkbox
13208
13209 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13210
13211         * lyxlength.C (asLatexString): change PW to output as percent of
13212         \textwidth.
13213
13214         * lengthcommon.C: change '%' to 't%'
13215
13216         * lyxfunc.C (dispatch): a few comments from Martin
13217
13218 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13219
13220         * WorkArea.h:
13221         * WorkArea.C:
13222         * BufferView_pimpl.h:
13223         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13224           the X selection.
13225
13226 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13227
13228         * vspace.C (inPixels): fix compiler warning
13229
13230 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13231
13232         * lyxfunc.C (getStatus): fix status message for disabled commands.
13233
13234 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * BufferView_pimpl.C: fix crash on close buffer
13237         during selection (#227)
13238
13239 2002-01-27  Herbert Voss  <voss@lyx.org>
13240
13241         * buffer.C: link old Figure to new graphic inset
13242
13243 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13244
13245         * FontLoader.C (getFontinfo): Change the latex font names in order
13246         to match the names of type1inst.
13247
13248 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13251
13252         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13253         (extchanged): ditto
13254         (ext_exist): ditto
13255         (remove_files_with_extension): ditto
13256         (remove_file): ditto
13257         (write): ditto
13258
13259         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13260         document is smaller than the work area height. Do not initialize
13261         static variables to 0.
13262
13263 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13264
13265         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13266
13267         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13268         LFUN_LAYOUT_PARAGRAPHS.
13269
13270         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13271         tabular. It is possible to provide a possible cell, which will
13272         typically be the actcell from the corresponding insettabular
13273
13274         * lyxfunc.C (getStatus): small cleanup; disable
13275         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13276         true
13277
13278 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13279
13280         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13281
13282         * paragraph.C (startTeXParParams):
13283         (endTeXParParams): new methods. The LaTeX code to
13284         start/end paragraph formatting
13285         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13286         empty (fixes bug #200)
13287
13288         * vspace.C (inPixels): adapt to the change below
13289         (inPixels): [later] more cleanups (remove unused variables)
13290
13291         * lyxlength.C (inPixels): change to use a width and a height as
13292         parameter.
13293
13294 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13295
13296         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13297         Replaced with \paperwidth
13298
13299         * DepTable.C (insert): add std:: qualifier
13300
13301 2002-01-18  Allan Rae  <rae@lyx.org>
13302
13303         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13304         updated also?
13305
13306         * text.C (drawInset): Turned out I didn't know enough about how
13307         rebreaking worked.  This fixes most of the redraw problems.  I see
13308         an occasional cursor trail when a line is broken now and the cursor
13309         placement can seem out by a few pixels also after a rebreak.
13310
13311 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13312
13313         * buffer.C (parseSingleLyXformat2Token): update because minipage
13314         width is now a LyXLength
13315
13316         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13317
13318         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13319         math insets
13320
13321 2002-01-17  Juergen Vigna  <jug@sad.it>
13322
13323         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13324
13325         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13326         is set correctly and the inset is updated correctly.
13327
13328 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13329
13330         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13331         the beginning of the loop.
13332
13333 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13334
13335         * lyxrc.C: improve help for use_scalable_fonts
13336
13337 2002-01-17  Allan Rae  <rae@lyx.org>
13338
13339         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13340
13341 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13342
13343         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13344         make sure to set their inset_owner to the right value (bug #171)
13345
13346 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13347
13348         * DepTable.h
13349         * DepTable.C: Implement mtime checking to reduce time spent doing
13350         CRCs.
13351
13352 2002-01-16  Juergen Vigna  <jug@sad.it>
13353
13354         * tabular.C (GetAdditionalHeight): one of error fixed.
13355
13356         * lyxrc.C (output): small fix in writing use_pspell.
13357
13358 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13359
13360         * sp_base.h: #include LString.h
13361
13362 2002-01-16  Allan Rae  <rae@lyx.org>
13363
13364         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13365         Can someone check this please?
13366
13367         * text.C (drawInset): It was possible that p.row would be removed by
13368         breakAgainOneRow upsetting a few other settings.  There may be another
13369         small tweak possible by setting need_break_row = 0 when p.row has been
13370         removed but I don't know enough about the logic here.
13371
13372 2002-01-15  Allan Rae  <rae@lyx.org>
13373
13374         * text.C (insertChar): removed conditional truism.
13375
13376         * BufferView2.C (removeAutoInsets): More tweaks.
13377         cur_par_prev could be a stray pointer.  Check for trailing empty line
13378         in case last line was cur_par and only had an error inset on it.
13379
13380 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13381
13382         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13383         absolute
13384
13385         * vc-backend.C (most methods):
13386         * exporter.C (Export):
13387         * converter.C (convert):
13388         (runLaTeX):
13389         * LyXSendto.C (SendtoApplyCB):
13390         * lyxfunc.C (dispatch):
13391         (menuNew):
13392         (open):
13393         (doImport):
13394         * lyx_cb.C (AutoSave):
13395         (InsertAsciiFile):
13396         * BufferView_pimpl.C (MenuInsertLyXFile):
13397         * buffer.C (runChktex): use Buffer::filePath().
13398
13399         * buffer.h: rename filename to filename_; rename filepath to
13400         filepath_ and make it private
13401         (filePath): new method
13402
13403         * buffer.C (writeFile): use fileName()
13404         (getLatexName):
13405
13406         * lyx_main.C (init): fix starting  of LyX when the binary is a
13407         link from so,ewhere else.
13408
13409         * minibuffer.C: include <cctype> for isprint
13410
13411 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13412
13413         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13414         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13415         name clash with InsetCollapsable's width function.
13416
13417 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13418
13419         * lastfiles.C: include <iterator>
13420
13421 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13422
13423         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13424         std::count.
13425
13426         * buffer.C (makeLaTeXFile): ditto.
13427         Also make loop operation more transparent.
13428
13429 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13430
13431         * ToolbarDefaults.C: remove trailing comma closing namespace.
13432
13433         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13434
13435         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13436         as in WorkArea.
13437
13438         * trans.C (Load): comment out unused variable, allowed.
13439
13440 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13441
13442         * minibuffer.[Ch] (append_char): new method to recieve input from the
13443         drop-down completion browser. If a key was pressed, then recieve this
13444         char and append it to the existing string.
13445         (peek_event): modify the positioning data passed to the completion
13446         browser so that it can be placed above the minibuffer rather than below.
13447 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13448
13449         * LyXAction.C (init): alloe error-next for readonly documents.
13450
13451         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13452         count.
13453
13454 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13455
13456         * bufferlist.C (readFile): create the buffer _after_ checking that
13457         the file exists.
13458
13459         * lyxfunc.C (verboseDispatch): fix handling of arguments
13460
13461         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13462
13463         * lyxrc.C: use string::erase() instead of initializing to "".
13464
13465
13466 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13467
13468         * BufferView_pimpl.h:
13469         * BufferView_pimpl.C:
13470         * WorkArea.h:
13471         * WorkArea.C:
13472         * text2.C: tell X when we have made a selection for copying
13473
13474 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13475
13476         * BufferView_pimpl.C (MenuInsertLyXFile):
13477         * lyxfunc.C (menuNew):
13478         (open):
13479         (doImport): add shortcuts to directory buttons
13480
13481         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13482         open a float)
13483
13484         * lyxfunc.C (setStatusMessage):
13485         (getStatusMessage): new methods
13486         (getStatus):use setStatusMessage instead of setErrorMessage
13487         (dispatch): when function is disabled, set error message here
13488         [instead of in getStatus previously]
13489
13490         * BufferView_pimpl.C (workAreaButtonRelease): update
13491         toolbar/menubar here too.
13492
13493 2002-01-13  Allan Rae  <rae@lyx.org>
13494
13495         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13496         Now seems indestructible.  Remaining task is to audit all other
13497         code affected by deleteEmptyParagraphMechanism.  One small quirk
13498         left is that an empty document with an error in the preamble can
13499         be made to report an error but no error box appears.  I don't know
13500         where it goes.
13501         (removeAutoInsets): Improved comments.
13502
13503 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * Thesaurus.h:
13506         * Thesaurus.C: update for Aiksaurus 0.14
13507
13508 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13509
13510         * text2.C (firstParagraph): removed member function, all uses
13511         replaces with ownerParagraph
13512         (redoParagraphs): here
13513         (updateInset): here
13514         (toggleAppendix): here
13515         * BufferView2.C (insertErrors): here
13516         (setCursorFromRow): here
13517
13518 2002-01-13  Allan Rae  <rae@lyx.org>
13519
13520         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13521         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13522         There is still a way to segfault this although you may have to do this
13523         multiple times: Have an InsetERT with an unknown command in it.
13524         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13525         <down-arrow>, <Enter> again, View->DVI, BANG!
13526
13527         * text2.C (setCursor):
13528         (deleteEmptyParagraphMechanism):
13529         * lyxtext.h (setCursor):
13530         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13531         Making use of the return value may help fix other bugs.
13532
13533 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13534
13535         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13536
13537         * LyXView.C (updateMenubar): call MenuBar::update here
13538         (updateToolbar): but not here
13539         (showState): do not update toolbar/menubar
13540
13541         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13542         should need to care about that.
13543
13544         * lyxfunc.C (verboseDispatch): simplify a bit
13545         (getStatus): have a version which takes a pseudoaction, and
13546         another which requires a (kb_action,string).
13547
13548         * LyXAction.C (retrieveActionArg): make it work also when action
13549         is not a pseudo-action.
13550         (getActionName): simplify a bit
13551         (helpText):
13552
13553 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13554
13555         * lyxfunc.C (verboseDispatch): new families of methods with
13556         several ways to specify a command and a bool to indicate whether
13557         the command name and shortcut should be displayed in minibuffer
13558         (eventually, we could extend that to a finer bitmask like
13559         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13560         (dispatch): the pristine dispatch command which just, well,
13561         dispatchs! Note it still sets its result to minibuffer; I'm not
13562         sure we want that.
13563
13564         * lyxfunc.h: remove setHintMessage
13565
13566         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13567
13568 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13569
13570         * BufferView_pimpl.C (specialChar): delete new inset if we have
13571         not been able to insert it.
13572
13573         * kbmap.C: revert to using int instead of kb_action, since all we
13574         are dealing with is pseudo-actions.
13575
13576         * LyXAction.C (searchActionArg): change to return int instead of
13577         kb_action, since the result is a pseudoaction.
13578
13579 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13580
13581         * buffer.C (insertErtContents): Fix (partially) the font bug.
13582
13583 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13584
13585         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13586         as the other one is broken on my machine!
13587
13588 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13589
13590         * commandtags.h:
13591         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13592
13593 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13594
13595         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13596         reflect their actual use. Provide compatibility code for older lyxrc
13597         files.
13598
13599         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13600         FL_NORMAL_STYLE.
13601         change names of popup font variables in line with the changes to lyxrc.C
13602
13603 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13604
13605         * buffer.C (asciiParagraph): avoid outputing a word twice after
13606         an inset.
13607
13608         * lyxrc.C (getDescription): document that document_path and
13609         template_path can be empty.
13610
13611 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13612
13613         * LaTeXFeatures.C (getMacros):
13614         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13615
13616         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13617
13618         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13619         getPackages.
13620         (getPackages): rename feature "floats" to "float". Use an array to
13621         iterate over 'simple' features (i.e. just a \usepackage). Add
13622         handling of "amsmath" (renamed from "amsstyle").
13623
13624 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13625
13626         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13627         features list.
13628
13629 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13630
13631         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13632         FuncStaus::FuncStatus & FuncStaus::some_method().
13633
13634 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13635
13636         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13637         of the func_satus stuff. Edited and massaged in various ways by
13638         JMarc.
13639
13640         * lyxfunc.C (getStatus): use FuncStatus
13641
13642 2002-01-08  Juergen Vigna  <jug@sad.it>
13643
13644         * text.C (nextBreakPoint): use function Inset::isChar().
13645
13646         * paragraph.C (TeXOnePar): use function
13647         Inset::forceDefaultParagraphs.
13648
13649         * buffer.C (latexParagraphs): use function
13650         Inset::forceDefaultParagraphs.
13651
13652 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13653
13654         * lyx_gui.C (init): set the style of the menu popups to
13655         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13656
13657 2002-01-07  Juergen Vigna  <jug@sad.it>
13658
13659         * text.C (setHeightOfRow): small fix
13660         (prepareToPrint): don't look at alignment if we don't have the place
13661         for doing it.
13662
13663 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * box.C: New file. Move the Box methods and functions out of box.h,
13666         following Lars' suggestion.
13667
13668 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13669
13670         * box.h: #include "support/LOstream.h", needed for inlined function.
13671
13672         * lyxtextclass.C:
13673         * lyxtextclasslist.C: added some using std declarations.
13674
13675 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * box.h: make signed dimensions to allow insets wider than
13678           the screen (bug #162)
13679
13680         * BufferView_pimpl.C: add some insetHit debug
13681
13682 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13683
13684         * vc-backend.C: add FIXME
13685
13686 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13687
13688         * lyxfunc.C (getStatus): enable code for showing math font status
13689         in toolbar/menu.
13690
13691 2002-01-07  Juergen Vigna  <jug@sad.it>
13692
13693         * text.C (nextBreakPoint): removed debug output not needed anymore.
13694
13695 2002-01-06  Juergen Vigna  <jug@sad.it>
13696
13697         * text.C (nextBreakPoint): fixed up this function we had this bug
13698         since ever but now hopefully we break row better.
13699         (insertChar): we have to check if an inset is the next char as it
13700         could now happen that a large inset is causing a break.
13701
13702 2002-01-05  Juergen Vigna  <jug@sad.it>
13703
13704         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13705         if it doesn't like to be drawed.
13706
13707 2002-01-04  Juergen Vigna  <jug@sad.it>
13708
13709         * BufferView2.C (lockInset): forgot to set a cursor.
13710
13711         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13712
13713 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13714
13715         * FormMathsPanel.C:
13716         * FormMathsPanel.h
13717         * MathsSymbols.C:
13718         * form_maths_panel.C:
13719         * form_maths_panel.h:
13720         * form_maths_panel.fd: implemented sub- and super- buttons in math
13721         panel.
13722
13723         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13724         (or ^ space) to be used as in TeX (req'd by André).
13725
13726         * lyxfunc.C: Allow ^ and _ again to be used both as
13727         super/subscript (mathed) and as themselves (in text).
13728
13729 2002-01-03  Allan Rae  <rae@lyx.org>
13730
13731         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13732         "LyX" or the filename of the current buffer if it has one.  This is a
13733         modified form of John Levon's patch.
13734
13735         * XFormsView.C (setWindowTitle): also set icon title.
13736
13737         * LyXView.h (setWindowTitle): signature changed.
13738         * XFormsView.h (setWindowTitle): ditto.
13739
13740 2002-01-02  Juergen Vigna  <jug@sad.it>
13741
13742         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13743
13744 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * screen.C (topCursorVisible): introduce a temp var for
13747         text->cursor.row(), handle the case where this row is null. (kindo
13748         hachish)
13749
13750         * text2.C (setCursor): add a couple of asserts.
13751
13752         * paragraph.h (inset_iterator): add -> operator
13753
13754         * paragraph.[Ch] (autoDeleteInsets): remove member function
13755
13756         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13757         cursor pos correctly and handle inset deletion by itself.
13758         (insertErrors): move iterator declaration out of for expression
13759
13760         * lyxtextclass.C: add <algorithm>
13761
13762         * Makefile.am: added the new files to sources, removed layout.C
13763
13764         * layout.C: removed file
13765
13766         * layout.h: remove LYX_DUMMY_LAYOUT
13767
13768         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13769         layout.
13770
13771         * lyxlayout.[Ch]:
13772         * lyxtextclass.[Ch]:
13773         * lyxtextclasslist.[Ch]: new files
13774
13775         * include order changes to a lot of files, also changes because of
13776         the six new files.
13777
13778 2001-12-27  Juergen Vigna  <jug@sad.it>
13779
13780         * buffer.C (asciiParagraph): more fixes.
13781
13782         * tabular.C (ascii): make ascii export support export of only the
13783         data separated by a column-delimiter.
13784         (ascii): better support for ascii export.
13785
13786         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13787
13788 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * tabular_funcs.C: use a "using std::getline" instead of the
13791         previous fix from Angus (necessary for cxx + lyxstring)
13792
13793 2001-12-24  Juergen Vigna  <jug@sad.it>
13794
13795         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13796
13797         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13798         problems. First check a minipage also if we have some ert-contents
13799         (not only on par->size(), second set the right depth of the paragraph
13800         on the relink to the root-paragraph-list!
13801
13802         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13803         which then did not anymore update the main paragraphs on undo/redo!
13804
13805 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13806
13807         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13808         code. Support all font-changing funcs (even those which are not in
13809         menu currently). Support for reporting font settings in
13810         mathed (disabled until Andre provides a function on mathed's side).
13811
13812         * func_status.h (toggle): small helper function to set toggle
13813         state on a flag.
13814
13815 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13816
13817         * tabular_funcs.C: getline -> std::getline
13818
13819 2001-12-21  Juergen Vigna  <jug@sad.it>
13820
13821         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13822         accessed and could be 0 (I couldn't generate this but it seems
13823         Michael could!).
13824
13825 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13828         * tabular_funcs.h: here and include iosfwd
13829
13830 2001-12-20  Juergen Vigna  <jug@sad.it>
13831
13832         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13833         inside inset but undo_par was.
13834
13835 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13836
13837         * Thesaurus.C: always include <config.h> in sources.
13838
13839         * Painter.h:
13840         * lyxlookup.h:
13841         * box.h: do not include <config.h> in header files
13842
13843         * text.C (paintLastRow): remove unused variable
13844
13845         * text.C (transformChar):
13846         (insertChar):
13847         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13848
13849         * Painter.C (text):
13850         * font.C (width): rewrite to use uppercase() instead of
13851         islower/toupper.
13852
13853         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13854
13855 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13856
13857         * lyxfind.C: clean up of find failure position change
13858
13859 2001-12-20  Juergen Vigna  <jug@sad.it>
13860
13861         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13862
13863         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13864         (TeXRow): added to LaTeX a single tabular row.
13865         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13866         (Latex): simplified and finally good LT-h/f support.
13867         (various_functions): just small adaptions for LT-h/f support.
13868
13869         * tabular_funcs.[hC]: added and moved here all not classfunctions
13870         of LyXTabular.
13871
13872 2001-12-19  Juergen Vigna  <jug@sad.it>
13873
13874         * tabular.[Ch]: better support for longtabular options (not finished
13875         yet!)
13876
13877 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13878
13879         * text.C (paintLastRow): use the label font instead of the font of
13880         the last character to compute the size of *_BOX. This makes more
13881         sense and avoids a crash with empty paragraphs.
13882         Use Painter::rectangle to draw EMPTY_BOX.
13883
13884 2001-12-19  Juergen Vigna  <jug@sad.it>
13885
13886         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13887         the paragraphs if the replaced paragraph is not the first one!
13888         Tried to delete not used paragraphs but does not work yet so for
13889         now it's inside #ifdef's and by default off!
13890
13891 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13892
13893         * MenuBackend.C: include "lyx_main.h" instead of declaring
13894         lastfiles (actually was declared as LastFiles* instead of a
13895         scoped_ptr).
13896
13897 2001-12-17  Juergen Vigna  <jug@sad.it>
13898
13899         * tabular.C (AppendColumn): applied John's fix
13900
13901 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * BufferView.h:
13904         * BufferView.C:
13905         * BufferView_pimpl.h:
13906         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13907
13908         * Makefile.am:
13909         * box.h: new start of class for above
13910
13911         * lyxfunc.C: ignore space-only minibuffer dispatches.
13912           Show the command name when it doesn't exist
13913
13914         * minibuffer.C: don't add empty lines to the history
13915
13916         * minibuffer.C: add a space on dropdown completion
13917
13918 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13919
13920         * text.C: fix line above/below drawing in insets
13921
13922 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13923
13924         * lyxlength.C (LyXLength): Initialize private variables.
13925
13926 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13927
13928         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13929         when inserting error insets.
13930
13931 2001-12-13  Juergen Vigna  <jug@sad.it>
13932
13933         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13934         actually sometimes the before-paragraph.
13935         (setUndo): don't clear the redostack if we're not actually undoing!
13936
13937 2001-12-06  Juergen Vigna  <jug@sad.it>
13938
13939         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13940         and fixed redoing of main paragraph, so we can use it now ;)
13941
13942         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13943
13944 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13945
13946         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13947         Juergen's request
13948
13949 2001-12-13  André Pönitz <poenitz@gmx.net>
13950
13951         * undostack.[Ch]:
13952         * undo_func.C: minor cleanup
13953
13954 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13955
13956         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13957         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13958         font in urw-fonts package which is marked as -urw-fontspecific and
13959         does not work (incidentally, changing the encoding in the
13960         fonts.dir of this package to -adobe-fontspecific fixes the
13961         problem).
13962
13963         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13964         is a crash when undoing first paragraph (Juergen, please take a
13965         look). THis does not mean the undo fix is wrong, just that it
13966         uncovers problems.
13967
13968         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13969         the (Paragraph*) version when needed instead of duplicating the
13970         code.
13971
13972         * text.C (workWidth): use Inset::parOwner to find out where the
13973         inset has been inserted. This is a huge performance gain for large
13974         documents with lots of insets. If Inset::parOwner is not set, fall
13975         back on the brute force method
13976
13977         * paragraph_pimpl.C (insertInset):
13978         * paragraph.C (Paragraph):
13979         (cutIntoMinibuffer): set parOwner of insets when
13980         inserting/removing them
13981
13982         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13983
13984 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13985
13986         * commandtags.h:
13987         * LyXAction.C:
13988         * lyx_main.C:
13989         * lyxfunc.C:
13990         * mathed/formulabase.C:
13991         * mathed/math_cursor.[Ch]:
13992         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13993
13994
13995 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13996
13997         * lyxlength.[Ch] (operator!=): new function
13998
13999 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14000
14001         * text.C (workWidth): use Inset::parOwner to find out where the
14002         inset has been inserted. This is a huge performance gain for large
14003         documents with lots of insets. If Inset::parOwner is not set, fall
14004         back on the brute force method
14005
14006         * paragraph_pimpl.C (insertInset):
14007         * paragraph.C (Paragraph):
14008         (cutIntoMinibuffer): set parOwner of insets when
14009         inserting/removing them
14010
14011         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14012
14013 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14014
14015         * tabular-old.C (getTokenValue):
14016         * tabular.C (getTokenValue):
14017         (write_attribute): new versions for LyXLength
14018         (everywhere): adjust the use of widths
14019
14020         * tabular.h: change the type of widths from string to LyXLength
14021
14022 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14023
14024         * paragraph.C: fixed missing line number count when exporting
14025         Environments to LaTeX file
14026
14027         * buffer.C: added informational message for checking line numbers.
14028
14029 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14030
14031         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14032         paragraph, do the 'double space' part, but not the 'empty
14033         paragraph' one.
14034
14035         * text.C (workWidth): small optimization
14036         (getLengthMarkerHeight): use minimal size for negative lengths.
14037
14038 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14039
14040         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14041
14042         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14043
14044 2001-12-11  André Pönitz <poenitz@gmx.net>
14045
14046         * FontLoader.C:
14047         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14048
14049 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14050
14051         * text2.C: keep selection on a setFont()
14052
14053 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14054
14055         * lyx_cb.C: another bv->text misuse, from insert label
14056
14057 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * kbsequence.h:
14060         * kbsequence.C: re-instate nmodifier mask
14061
14062 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14063
14064         * lyx_main.h: make lyxGUI private.
14065
14066 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * lyxfind.C: place the cursor correctly on failed search
14069
14070 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14071
14072         * text.C (getLengthMarkerHeight): for small heights, the arrows
14073         are not always on top/bottom of the text
14074         (drawLengthMarker): smaller arrows; take the left margin in
14075         account; draw also vfills.
14076         (paintFirstRow):
14077         (paintLastRow): remove special code for vfill and standard spaces,
14078         since everything is handled in drawLengthMarker now.
14079
14080 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * buffer.C (insertErtContents): try to handle font and language
14083         interaction a bit better.g
14084
14085         * ColorHandler.C (updateColor): change the hash to cover the whole
14086         LColor enum, ws cleanup
14087         (getGCLinepars): ditto
14088         (getGCLinepars): only lookup in the linecache once.
14089
14090 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14091
14092         * iterators.C (operator++): Make the iterator more robust
14093
14094         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14095         (John's patch)
14096         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14097
14098 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * lyxtext.h:
14101         * text.C: better added space drawing
14102
14103 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14104
14105         * LyXView.C:
14106         * BufferView2.C: fix layout combo update on inset unlock
14107
14108 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * Makefile.am: don't compile unused files
14111
14112 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14113
14114         * lyxfunc.C:
14115         * commandtags.h:
14116         * LyXAction.C: remove old LFUN_LAYOUTNO
14117
14118 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * paragraph_pimpl.h:
14121         * paragraph_pimpl.C: isTextAt() doesn't need font param
14122
14123 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14124
14125         * lyxlex.h:
14126         * lyxlex.C: little cleanup
14127
14128 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14129
14130         * BufferView_pimpl.C: fix insertAscii for insets
14131
14132 2001-12-05  Juergen Vigna  <jug@sad.it>
14133
14134         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14135         set the right font on the "multi" paragraph paste!
14136
14137 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14138
14139         * trans_decl.h:
14140         * trans_mgr.[Ch]:
14141         * trans.[Ch]:
14142         * lyxgluelength.C:
14143         * lyxlength.C: remove out-commented code.
14144
14145         * BufferView_pimpl:
14146         * CutAndPaste.C:
14147         * DepTable.C:
14148         * buffer.C:
14149         * chset.C:
14150         * lastfiles.C:
14151         * lyxlex.C:
14152         * lyxlex_pimpl.C:
14153         * lyxserver.C:
14154         * screen.C:
14155         * tabular-old.C:
14156         * tabular.C:
14157         * text.C:
14158         * trans_mgr.C:
14159         * vc-backend.C: change "while(" to "while ("
14160
14161         * lyxlength.[Ch]: add zero function to check if length is zero or
14162         not
14163         * lyxgluelength.C: use it
14164
14165 2001-12-05  Allan Rae  <rae@lyx.org>
14166
14167         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14168         Works for 2.95.3, from what I understand of Garst's reports this should
14169         work for other g++ versions.  We're screwed if the abs(int) definition
14170         changed between bugfix releases of gcc.
14171
14172 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14173
14174         * text.C: fix chapter label offset !
14175
14176 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14177
14178         * lyxtext.h:
14179         * text.C: fix hfill at end of line, clean up
14180
14181 2001-12-04  Juergen Vigna  <jug@sad.it>
14182
14183         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14184         that we force an update of the inset and it's owners if neccessary.
14185
14186 2001-12-03  Juergen Vigna  <jug@sad.it>
14187
14188         * text.C (rowLast): simplified code
14189
14190 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * lyxfunc.C: fix show options on timeout
14193
14194 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14195
14196         * screen.C (topCursorVisible): scroll half a page when the cursor
14197         reached top of bottom of screen
14198
14199 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14200
14201         * minibuffer.C: deactivate on loss of focus
14202
14203 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14204
14205         * vspace.[Ch] (operator!=): add operator.
14206
14207 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14208
14209         * BufferView_pimpl.C: refuse to open an inset when
14210         there's a selection.
14211
14212 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14213
14214         * BufferView_pimpl.C: allow to click on RHS of full row insets
14215
14216 2001-11-30  Juergen Vigna  <jug@sad.it>
14217
14218         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14219         insets for undo reasons.
14220
14221 2001-11-28  André Pönitz <poenitz@gmx.net>
14222
14223         * vspace.[Ch]: cosmetical changes
14224
14225 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14226
14227         * LyXAction.h:
14228         * LyXAction.C:
14229         * lyxfunc.h:
14230         * lyxfunc.C:
14231         * kbmap.h:
14232         * kbmap.C:
14233         * lyxrc.C:
14234         * kbsequence.h:
14235         * kbsequence.C: part re-write of old kb code
14236
14237         * Painter.C:
14238         * WorkArea.C: remove Lgb_bug_find_hack
14239
14240 2001-11-30  José Matos <jamatos@fep.up.pt>
14241
14242         * buffer.C (makeDocBookFile): add a comment to point a hack.
14243         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14244         Fixed a double write of labels.
14245
14246 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14247
14248         * LaTeX.C:
14249         * LaTeX.h Fixed bug in LaTeX class where it would not
14250         re-run latex if no depfiles were changed, but the .dvi was removed.
14251
14252 2001-11-28  André Pönitz <poenitz@gmx.net>
14253
14254         * all the files from the change on 2001/11/26:
14255         use lyx::layout_type instead of LyXTextClass::size_type
14256         use lyx::textclass_type instead of LyXTextClassList::size_type
14257
14258 2001-11-29  Juergen Vigna  <jug@sad.it>
14259
14260         * text.C: added support for paragraph::isFreeSpacing()
14261
14262         * buffer.C: same as above
14263
14264         * paragraph.h: inserted isFreeSpacing() function to enable
14265         FreeSpacing inside InsetERT.
14266
14267         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14268         of the paragraph's in the cut/copy buffer to 0!
14269
14270         * text2.C (removeRow): remove the assert as it can!
14271
14272         * lyxtext.h: added helper function firstRow returning firstrow and
14273         made firstrow private again.
14274
14275         * BufferView2.C (lockInset): don't relock if we're already locked!
14276
14277         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14278         the only paragraph.
14279         (removeRow): added Assert::(firstrow)
14280
14281         * debug.C: forgot to add INSETTEXT here.
14282
14283 2001-11-28  Juergen Vigna  <jug@sad.it>
14284
14285         * sp_spell.C (initialize): changed error text to more general
14286         spellchecker command use (not only ispell!)
14287
14288         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14289
14290         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14291
14292 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14293
14294         * vspace.C: initialise lyxgluelength on failure
14295
14296 2001-11-28  Allan Rae  <rae@lyx.org>
14297
14298         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14299         declaration & definition that looks like a function declaration.
14300
14301 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * BufferView2.C (copy):
14304         (copyEnvironment): do not clear the selection when doing a copy.
14305
14306         * text.C (paintFirstRow): compilation fix
14307
14308 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14309
14310         * tabular.C (Latex): correct line count when writing latex.
14311
14312 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14313
14314         * paragraph_pimpl.h:
14315         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14316           bug a bit
14317
14318 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14319
14320         * text.C:
14321         * LColor.h:
14322         * LColor.C: change vfillline->added_space
14323
14324         * text.C: add markers and text for added space
14325
14326         * vspace.C: fix comment
14327
14328 2001-11-28  André Pönitz <poenitz@gmx.net>
14329
14330         * paragraph.C: whitespace changes
14331         * all the other files from the change on 2001/11/26:
14332         change *::pos_type into lyx::pos_type
14333
14334 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14335
14336         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14337         language of the document when inserting error insets.
14338
14339 2001-11-26  André Pönitz <poenitz@gmx.net>
14340
14341         * BufferView_pimpl.[Ch]:
14342         *       CutAndPaste.C:
14343         * buffer.[Ch]:
14344         * lyxcursor.[Ch]:
14345         * lyxfind.C:
14346         * lyxfunc.C:
14347         * lyxrow.[Ch]:
14348         * paragraph.[Ch]:
14349         * paragraph_pimpl.[Ch]:
14350         * sp_spell.C:
14351         * text.C:
14352         * text2.C: reduce header dependencies, introduce type for positions
14353
14354 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14355
14356         * <various>: change to use Alert.h
14357
14358 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14359
14360         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14361         when encountering an unknown token.
14362         (readLyXformat2): Show an error message if there were unknown tokens.
14363
14364 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14365
14366         * BufferView2.C:
14367         * BufferView_pimpl.C:
14368         * buffer.C:
14369         * paragraph.h:
14370         * text.C:
14371         * text2.C: use par->isInset()
14372
14373 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14374
14375         * paragraph_pimpl.h:
14376         * paragraph_pimpl.C: cleanup
14377
14378 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14379
14380         * text2.C (removeRow):
14381         * text.C (setHeightOfRow): remove useless (and costly) call to
14382         getRow.
14383
14384 2001-11-20  Allan Rae  <rae@lyx.org>
14385
14386         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14387         Now need Inset*::checkInsertChar() to return true for appropriate
14388         cases so that the characters in the minibuffer will actually be
14389         inserted.
14390
14391 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14392
14393         * text.C: change the order of the includes.
14394         (workWidth): initialize it at once.
14395         (workWidth): make maxw unsigned
14396         (setHeightOfRow): remove unused variable (inset)
14397         (selectSelectedWord): remove unused variable (inset)
14398         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14399
14400 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14401
14402         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14403         server is not running.
14404         (openConnection):
14405         (closeConnection): add debug info when server is disabled.
14406
14407         * ColorHandler.C (getGCForeground): send debug message to GUI
14408         channel.
14409
14410         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14411
14412         * kbmap.C (bind): modify because return conventions of
14413         kb_sequence::parse have changed.
14414
14415         * kbsequence.C (parse): only ignore spaces and not any stupid
14416         control character. This avoids tests like s[i] <= ' ', which are
14417         guaranteed to fail with 8bit characters and signed chars.
14418         Change return code to string::npos when there have been no error
14419         (0 was a bad idea when error is at first character)
14420
14421 2001-11-14  José Matos  <jamatos@fep.up.pt>
14422
14423         * buffer.h:
14424         * buffer.C (simpleDocBookOnePar): removed unused argument.
14425
14426 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14427
14428         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14429         insets which are part of a word. Paragraph::isLetter takes care of
14430         that now. Use Paragraph::isInset to identify insets.
14431         (selectSelectedWord): do not test for hyphenation break.
14432
14433         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14434         that protected spaces are considered as spaces.
14435
14436         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14437         Inset::isLetter.
14438
14439 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * lyxserver.h:
14442         * lyxserver.C: fix it. and small cleanup.
14443
14444 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14445
14446         * BufferView_pimpl.C: use inline helpers
14447
14448         * LaTeXFeatures.h:
14449         * LaTeXFeatures.C: fix typos
14450
14451         * Spacing.h:
14452         * Spacing.C: move spacing_string into class
14453
14454         * ToolbarDefaults.C: move stuff into namespace anon
14455
14456         * layout.h: update enum
14457
14458         * lyxfunc.C: use better debug
14459
14460         * minibuffer.h: fix typo
14461
14462         * debug.h:
14463         * debug.C:
14464         * WorkArea.C: add and use Debug::WORKAREA
14465
14466         * lyxtext.h:
14467         * text.C:
14468         * text2.C: code re-organisation, inline helpers
14469
14470 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14471
14472         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14473         std::vector.empty().
14474
14475 2001-11-09  Allan Rae  <rae@lyx.org>
14476
14477         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14478         '\n's after tables.  Tabular and ERT inset work now makes this no
14479         longer necessary.
14480
14481 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * minibuffer.h:
14484         * minibuffer.C: fix crash, improve drop-down completion
14485
14486 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14487
14488         * lyxserver.h:
14489         * lyxserver.C: invalidate fd's when doing endPipe()
14490
14491 2001-11-08  José Matos  <jamatos@fep.up.pt>
14492
14493         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14494         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14495
14496         * paragraph.h:
14497         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14498
14499 2001-11-07  José Matos  <jamatos@fep.up.pt>
14500
14501         * buffer.h:
14502         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14503         const qualifier.
14504
14505         * buffer.C (sgmlOpenTag):
14506         * buffer.C (sgmlCloseTag): removed debug info.
14507
14508         * buffer.h (sgmlOpenTag):
14509         * buffer.h (sgmlCloseTag): made public.
14510
14511 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14512
14513         * buffer.C (saveParamsAsDefaults):
14514         * lyx_cb.C (MenuLayoutSave): remove
14515
14516         * LyXAction.C (init):
14517         * commandtags.h:
14518         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14519
14520 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14521
14522         * buffer.C (setPaperStuff): removed from here...
14523
14524         * bufferparams.C (setPaperStuff): ... and moved there.
14525
14526 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14527
14528         * minibuffer.h:
14529         * minibuffer.C:
14530         * XFormsView.C: add support for drop-down completion
14531
14532 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14533
14534         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14535         commands.
14536
14537 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14538
14539         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14540         disabled.
14541
14542 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14543
14544         * lyx_main.C: change ref to known bugs
14545
14546 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14547
14548         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14549         to work around older babel problems.
14550
14551 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14552
14553         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14554
14555 2001-10-24  Juergen Vigna  <jug@sad.it>
14556
14557         * tabular-old.C (ReadOld): below variable changes reflected.
14558
14559         * tabular.[Ch]: added ltType struct for longtable header/footer
14560         defines and changed all instances where they are used. Added
14561         future support for double top/bottom rows.
14562
14563 2001-10-24  José Matos  <jamatos@fep.up.pt>
14564
14565         * buffer.h (docbookHandleCaption):
14566         * buffer.C (docbookHandleCaption): removed unused function.
14567         (makeDocBookFile): moved docbook supported version to v4.1.
14568
14569 2001-10-24  José Matos  <jamatos@fep.up.pt>
14570
14571         * tabular.h:
14572         * tabular.C (docbookRow): new function to export docbook code of a row.
14573         (DocBook): now honors the longtable flags.
14574
14575 2001-10-23  José Matos  <jamatos@fep.up.pt>
14576
14577         * LaTeXFeatures.h:
14578         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14579         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14580
14581         * buffer.C (makeLinuxDocFile):
14582         (makeDocBookFile): reworked the preamble, more clean, and with
14583         support for lyx defined entities. Changed the document declaration
14584         to be more XML friendly.
14585
14586         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14587         if we need to output XML that should be done with a filter.
14588
14589 2001-10-22  Juergen Vigna  <jug@sad.it>
14590
14591         * sp_pspell.h (class PSpell): add alive function needed in the
14592         controller to see if the spellchecker could be started.
14593
14594 2001-10-22  Juergen Vigna  <jug@sad.it>
14595
14596         * buffer.C (insertStringAsLines): modify the font for inserting
14597         chars in certain conditions by calling checkInsertChar(font).
14598
14599 2001-10-19  Juergen Vigna  <jug@sad.it>
14600
14601         * text.C (workWidth): use getRow instead of wrong algorithm.
14602         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14603
14604 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14605
14606         * lyxserver.h:
14607         * lyxserver.C:
14608         * lyx_main.h:
14609         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14610
14611 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14612
14613         * text.C (workWidth): do not search for the exact row when
14614         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14615         optimization for big documents.
14616
14617 2001-10-18  Juergen Vigna  <jug@sad.it>
14618
14619         * text.C (workWidth): new function with added Inset * parameter.
14620
14621 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14622
14623         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14624
14625         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14626         change return type of getColumnNearX.
14627
14628
14629         * text.C (changeRegionCase): use uppercase/lowercase instead of
14630         toupper/tolower.
14631         (leftMargin):
14632         (rightMargin): simplify code by factoring out the uses of
14633         textclasslist.
14634         (labelFill):
14635         (numberOfHfills):
14636         (setHeightOfRow):
14637         (appendParagraph): use Paragraph::size_type
14638
14639 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * vspace.C (asLatexString): add a missing break
14642
14643 2001-10-15  Herbert Voss  <voss@perce.de>
14644
14645         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14646
14647 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14650         is not available.
14651
14652 2001-10-10  André Pönitz <poenitz@gmx.net>
14653
14654         * lyxfunc.C: removed greek_kb_flag.
14655
14656 2001-10-10  Herbert Voss  <voss@perce.de>
14657
14658         * lyx_main.C: delete global string help_lyxdir.
14659
14660 2001-10-09  Herbert Voss  <voss@perce.de>
14661
14662         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14663
14664         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14665
14666         * lyx_main.C: added global string help_lyxdir.
14667
14668         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14669
14670 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14671
14672         * lyxrc.C (set_font_norm_type): support iso8859-4
14673
14674 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14675
14676         * LaTeX.C (deplog): add another regex for MikTeX
14677
14678 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14679
14680         * lyxrc.C (set_font_norm_type): support iso8859-3
14681
14682 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14683
14684         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14685
14686         * LaTeXFeatures.C: remove special case of french and index
14687
14688         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14689         before \begin{document}). This solves several incompatibilities.
14690
14691 2001-10-03  Garst Reese  <reese@isn.net>
14692
14693         * lyx_cb.C: change CheckTex error msg.
14694
14695 2001-10-03  José Matos  <jamatos@fep.up.pt>
14696
14697         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14698
14699 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14700
14701         * .cvsignore: update
14702
14703         * lyx_main.C (commandLineVersionInfo): use new style version info.
14704
14705         * buffer.C (writeFile):
14706         (makeLaTeXFile):
14707         (makeLinuxDocFile):
14708         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14709
14710         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14711
14712         * version.h: update to use stuff in version.C
14713
14714         * version.C.in: new file. Contains version information determined
14715         at compile time. This is a merging of version.h and
14716         version_info.h.in.
14717
14718 2001-10-03  Juergen Vigna  <jug@sad.it>
14719
14720         * BufferView_pimpl.C (update): don't change "dirty" status in
14721         updateInset call.
14722
14723 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14724
14725         * WorkArea.C (c-tor): re-position version string slightly.
14726
14727 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14728
14729         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14730         revert to previous code.
14731
14732         WorkArea.[Ch]: (show, destroySplash): methods removed.
14733
14734         WorkArea.C: rework code so that it's an amalgam of the codes before and
14735         after the splash screen was moved to WorkArea.
14736
14737 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * lyxrc.C (read):
14740         * vspace.C (inPixels):
14741         (lyx_advance):
14742         * kbmap.C (bind):
14743         * buffer.C (insertStringAsLines):
14744         (asciiParagraph): fix types to be large enough
14745
14746         * lyxlex_pimpl.h: change member status from short to int
14747
14748         * layout.h: fix type of endlabeltype
14749
14750         * kbmap.C (bind):
14751         * kbsequence.C (parse): change return type to string::size_type
14752
14753         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14754         variable
14755
14756         * Bullet.C (bulletSize):
14757         (bulletEntry): do not use short ints as parameters
14758
14759         * BufferView2.C (insertLyXFile): change a char to an int.
14760
14761         * WorkArea.C (WorkArea): remove unneeded floats in computation
14762
14763 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14764
14765         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14766
14767         * paragraph.C (asString): Do not ignore newline/hfill chars when
14768         copying to the clipboard.
14769
14770 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14771
14772         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14773         after a multi-line inset.
14774
14775 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14776
14777         * paragraph.C (validate): Set NeedLyXFootnoteCode
14778
14779 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14780
14781         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14782         and decrease-error to decrease.
14783
14784 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14787         it more readable (should be equivalent)
14788
14789 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14790
14791         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14792
14793 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14794
14795         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14796         of a cursor (row, etc.) after a character has been deleted
14797         (deleteEmptyParagraphMechanism): call the method above on _all_
14798         cursors held by the LyXText when a double space has been
14799         detected/deleted.
14800
14801 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14802
14803         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14804         pixmap.
14805         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14806
14807         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14808         background. Use greyOut() and the new show() methods to toggle between
14809         the foreground and background. Add code to remove the splash after
14810         its initial showing.
14811
14812         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14813         (create_forms): no longer call Dialogs::showSplash.
14814
14815 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * .cvsignore: add version_info.h
14818
14819 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14820
14821         * version_info.h.in: new file
14822
14823         * Makefile.am: add version_info.h.in
14824
14825         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14826         version_info.h instead of VERSION_INFO
14827
14828 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14829
14830         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14831         The ERT inset now returns string().
14832
14833 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14834
14835         * lyxtext.h, text.C (selectNextWord): renamed as
14836         selectNextWordToSpellcheck.
14837
14838         * text.C (selectNextWordToSpellcheck): Modified to not select
14839         words inside an ERT inset.
14840
14841 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14842
14843         * lyx_cb.C (MenuLayoutSave): change a bit the question
14844
14845         * sp_base.h: include <sys/types.h>
14846
14847 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14848
14849         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14850
14851 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14852
14853         * several files: fix typos in user-visible strings
14854
14855 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14856
14857         * text2.C (pasteSelection): do not set the selection, since it
14858         will be cleared later. Actually, the intent was to fix the way the
14859         selection was set, but I figured rmoving the code was just as good.
14860
14861 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14862
14863         * FontLoader.C (available): Check if font is available without
14864         loading the font.
14865
14866 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14867
14868         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14869
14870 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14871
14872         * lyxrc.[Ch]: added display_graphics variable and associated code.
14873
14874 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * bufferparams.C (hasClassDefaults): new method. Returns true if
14877         the buffer parameters correspond to known class defaults
14878
14879 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14880
14881         * XFormsView.C (show): set minimum size to the main window.
14882
14883 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * text2.C (copySelection):
14886         (cutSelection):
14887         * lyxfind.C (LyXReplace):
14888         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14889         LyXText::selectionAsString.
14890
14891         * paragraph.C (asString): add "label" argument to the second form
14892
14893         * text2.C (selectionAsString): add "label" argument and pass it to
14894         Paragraph::asString.
14895
14896 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14897
14898         * lyx_main.C (commandLineHelp): remove version information
14899
14900 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14901
14902         * lyx_main.C: add -version commandline option
14903
14904 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * paragraph.h: make the optional constructor arg required instead.
14907         some modifications to other files because of this.
14908
14909         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14910
14911         * lyxserver.C (C_LyXComm_callback): make it static
14912
14913         * lyx_main.C (error_handler): make it static
14914
14915         * lyx_gui.C (LyX_XErrHandler): make it static
14916
14917         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14918
14919         * WorkArea.C: make the extern "C" methods static.
14920
14921         * Makefile.am (lyx_LDADD): simplify
14922
14923 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14924
14925         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14926         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14927
14928         * LyXAction.C (init):
14929         * lyxfunc.C (dispatch): associated code removal.
14930
14931 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14932
14933         * lyxfont.h (isSymbolFont): shut off warning
14934
14935         * text.C (setHeightOfRow):
14936         (getVisibleRow): fix crash with empty paragraphs which have a
14937         bottom line
14938
14939 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14940
14941         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14942         code.
14943
14944 2001-09-04  José Matos  <jamatos@fep.up.pt>
14945         * buffer.C
14946         * buffer.h
14947         * tabular.C (docbook): rename docBook method to docbook.
14948
14949 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14950
14951         * Makefile.am: add dependencies to main.o.
14952
14953 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14954
14955         * FontLoader.C (available): Return false if !lyxrc.use_gui
14956
14957 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14958
14959         * FontInfo.C (query):
14960         * converter.C (view):
14961         * importer.C (Import):
14962         * exporter.C (Export): Can not -> cannot.
14963
14964 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * BufferView_pimpl.C: allow to create index inset even if
14967           string is empty
14968
14969 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14970
14971         * buffer.C (getLists): replace boost::tie code with an explicit pair
14972         as boost::tie can break some compilers.
14973
14974         * iterators.h: Added a std:: declaration to the return type of
14975         ParIterator::size.
14976
14977 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14980           case.
14981
14982 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14983
14984         * iterators.[Ch]: New files. Provide paragraph iterators.
14985
14986         * buffer.C (changeLanguage): Use paragraph iterators.
14987         (isMultiLingual): ditto
14988
14989         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14990
14991 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14992
14993         * FontLoader.C: Support for cmr font.
14994
14995 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14996
14997         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14998         (available): New method.
14999
15000         * FontInfo.C (getFontname): Use scalable fonts even when
15001         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15002         found.
15003
15004 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15005
15006         * converter.C (Formats::view): reverted! Incorrect fix.
15007
15008 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15009
15010         * converter.C (Formats::view): only output the -paper option
15011         if the dvi viewer is xdvi, thereby fixing bug #233429.
15012
15013 2001-08-23  Herbert Voss  <voss@perce>
15014
15015         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15016
15017 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15018
15019         * Spacing.h (Spacing): Set space to Default on in the default
15020         constructor.
15021
15022 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * vc-backend.h (RCS::versionString): add RCS to version
15025         (CVS::versionString): add CVS to version
15026
15027         * vc-backend.C (scanMaster): do not add CVS to version.
15028         (scanMaster): do not add RCS to version
15029
15030         * lyxvc.C (versionString): new method
15031
15032         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15033
15034 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * Spacing.C (set): initialize fval
15037
15038 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15039
15040         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15041         " or \.
15042
15043 2001-08-16  Juergen Vigna  <jug@sad.it>
15044
15045         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15046
15047 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15048
15049         * BufferView_pimpl.C:
15050         * figureForm.C:
15051         * lyxtext.h:
15052         * text2.C: setParagraph takes linespacing now
15053
15054 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15055
15056         * LyxAction.C: add internal LFUN_CITATION_INSERT
15057
15058         * LyXView.C: actually apply fix
15059
15060         * bufferlist.C: fix open non-existent file
15061
15062         * lyxfind.C: fix indentation
15063
15064         * lyxfunc.C: remove unneeded assert, fix typo
15065
15066 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15067
15068         * MenuBackend.C: use "Floatname List"
15069
15070 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15071
15072         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15073         when converting LaTeX layout to insetERT.
15074         Generate a non-collapsed float when reading old float
15075
15076 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15077
15078         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15079         ERT insets.
15080
15081 2001-08-13  Juergen Vigna  <jug@sad.it>
15082
15083         * text.C (fill): return 0 instead of 20 as this seems to be the more
15084         correct value.
15085
15086 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15087
15088         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15089         lyxrc.font_norm.
15090
15091 2001-08-13  Juergen Vigna  <jug@sad.it>
15092
15093         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15094         casesensitive off.
15095         (SearchBackward): comment out the unlocking of the inset_owner this
15096         should not be needed!
15097
15098 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * Many files: Remove inherit_language, and add latex_language
15101
15102         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15103         collapsible insets.
15104
15105 2001-08-10  Juergen Vigna  <jug@sad.it>
15106
15107         * text.C (prepareToPrint): fixed hfill-width in draw!
15108
15109         * BufferView2.C (selectLastWord): save the selection cursor as this
15110         now is cleared in the function LyXText::clearSelection!
15111
15112 2001-08-08  Juergen Vigna  <jug@sad.it>
15113
15114         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15115         BACKSPACE type functions.
15116
15117         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15118         is only cutted from the document but not put in the cut-buffer, where
15119         still the old stuff should be.
15120
15121         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15122
15123         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15124
15125         * tabular.C (SetWidthOfCell): fixed special case where the width
15126         was not updated!
15127         (LeftLine): handle '|' in align_special.
15128         (RightLine): ditto
15129         (LeftAlreadyDrawed): ditto
15130         (SetWidthOfCell): ditto
15131
15132 2001-08-07  Juergen Vigna  <jug@sad.it>
15133
15134         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15135
15136 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15137
15138         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15139         * lyxlex.[hC]: ditto
15140
15141 2001-08-06  Juergen Vigna  <jug@sad.it>
15142
15143         * text.C (getVisibleRow): fix up row clearing a bit.
15144
15145 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * minibuffer.C: make sure the X server sees the changes in the input.
15148
15149 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15150
15151         * paragraph.C (getFont): split into...
15152         (getLabelFont): this
15153         (getLayoutFont): and this
15154         * paragraph_pimpl.C (realizeFont): calling this
15155
15156         * text2.C (getFont): split into...
15157         (getLayoutFont): this
15158         (getLabelFont): and this
15159         (realizeFont): all three calling this
15160
15161         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15162         files where used.
15163
15164 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15165
15166         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15167
15168 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15169
15170         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15171         layouts from the Quote inset insertion.
15172
15173 2001-08-03  Juergen Vigna  <jug@sad.it>
15174
15175         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15176
15177         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15178         only if status not is already CHANGED_IN_DRAW (second level).
15179
15180         * text.C (draw): don't set the need_break_row when inside an
15181         InsetText LyXText.
15182
15183 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15184
15185         * buffer.C (parseSingleLyXformat2Token): handle more latex
15186         conversion cases.
15187
15188         * bufferview_funcs.[hC]: change function names to
15189         begin with small char, adjust other files.
15190
15191 2001-08-02  André Pönitz <poenitz@gmx.net>
15192
15193         * lyxfunc.C:
15194         BufferView_pimpl.C: remove broken special code for math-greek
15195
15196 2001-08-02  Juergen Vigna  <jug@sad.it>
15197
15198         * BufferView_pimpl.C (update): redone this function so that we
15199         update the text again if there was a CHANGE_IN_DRAW.
15200
15201         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15202         (drawFromTo): added a new internal bool which is used by draw() and
15203         redraw() function.
15204         (general): some cursor drawing problems fixed.
15205
15206 2001-08-01  Juergen Vigna  <jug@sad.it>
15207
15208         * lyxfind.C (LyXFind): fixed
15209         (SearchForward): ditto
15210         (SearchBackward): ditto
15211
15212         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15213         spurius drawing of the cursor in the main area.
15214
15215         * text2.C (status): small fix which could lead to a segfault!
15216         (clearSelection): remove unneeded BufferView param.
15217
15218 2001-08-01  André Pönitz <poenitz@gmx.net>
15219
15220         * lyxfunc.C: small change due to changed mathed interface
15221
15222 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15223
15224         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15225
15226 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * lyxfunc.c: fail gracefully if file doesn't exist
15229
15230         * LyXSendto.C:
15231         * buffer.C:
15232         * lyxfunc.C:
15233         * BufferView_pimpl.C: IsDirWriteable() proto changed
15234
15235         * LyXView.C: fix updateWindowTitle() to store the last title
15236
15237 2001-07-31  Juergen Vigna  <jug@sad.it>
15238
15239         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15240         the font (wrong since using of Paragraph::highestFontInRange).
15241
15242         * paragraph.C (highestFontInRange): added a default_size parameter.
15243
15244         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15245         (setHeightOfRow): reformat
15246
15247 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15248
15249         * converter.[hC] + affected files: move to (inital-char)lowercase
15250         function names.
15251
15252         * ParagraphParameters.C (ParagraphParameters): remove commented code
15253
15254         * PainterBase.[Ch]: remove commented code
15255
15256         * LaTeXFeatures.h: add "bool floats" for float.sty
15257
15258         * LaTeXFeatures.C (LaTeXFeatures): init floats
15259         (require): handle float
15260         (getPackages): do it with floats
15261
15262 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * BufferView_pimpl.C (Dispatch): improve handling of
15265         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15266
15267         * commandtags.h: #include lyxfont.h here temporarily to avoid
15268         keybinding bug.
15269
15270         * bufferlist.h: include LString.h here.
15271
15272 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * text2.C (getStringToIndex): new method.
15275
15276 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15277
15278         * *: Reduced header file dependencies all over.
15279
15280 2001-07-30  Baruch Even  <baruch@lyx.org>
15281
15282         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15283
15284 2001-07-29  Baruch Even  <baruch@lyx.org>
15285
15286         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15287
15288 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15289
15290         * ParameterStruct.h (endif): add a default constructor to make
15291         sure that all variables is initialized.
15292
15293         * ParagraphParameters.C (ParagraphParameters): adjust
15294
15295 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15298         index; also, check that there is something to index, and that it
15299         does not span over several paragraphs.
15300         (doubleClick): use WHOLE_WORD_STRICT for double click.
15301
15302         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15303
15304         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15305         scheme.
15306
15307 2001-07-26  Baruch Even  <baruch@lyx.org>
15308
15309         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15310         an InsetFig figure, backwards compatible reading of old figure code.
15311
15312 2001-07-27  Juergen Vigna  <jug@sad.it>
15313
15314         * text2.C: font.realize function adaption.
15315
15316         * text.C (draw): add a warnings lyxerr text if needed.
15317
15318         * layout.C: font.realize function adaption.
15319
15320         * language.C: add inherit_language and implement it's handlings
15321
15322         * bufferview_funcs.C (StyleReset): remove language parameter from
15323         font creation (should be language_inherit now).
15324
15325         * bufferparams.C (writeFile): handle ignore_language.
15326
15327         * paragraph.C (getFontSettings): the language has to be resolved
15328         otherwise we have problems in LyXFont!
15329
15330         * lyxfont.C (lyxWriteChanges): added document_language parameter
15331         (update): removed unneeded language parameter
15332
15333         * paragraph.C (validate): fixed wrong output of color-package when
15334         using interface colors for certain fonts in certain environments,
15335         which should not seen as that on the final output.
15336
15337 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15338
15339         * BufferView_pimpl.C:
15340         * Thesaurus.h:
15341         * Thesaurus.C:
15342         * Makefile.am:
15343         * commandtags.h:
15344         * LyXAction.C: add thesaurus support
15345
15346         * lyxfind.h:
15347         * lyxfind.C: add "once" parameter, for thesaurus, to not
15348           move to the next match
15349
15350 2001-07-26  Juergen Vigna  <jug@sad.it>
15351
15352         * lyxfont.C (realize): honor ignore_language too!
15353         (resolved): ditto.
15354
15355         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15356
15357         * text.C (draw): one place more for ignore_language to not draw
15358         itself!
15359
15360 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15361
15362         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15363
15364 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15365
15366         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15367         the minipage conversion problem.
15368
15369 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15372         insert an inset.
15373
15374 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15375
15376         * BufferView.h: don't forward declare WorkArea
15377
15378         * BufferView.C: don't include WorkArea.h
15379
15380 2001-07-25  André Pönitz <poenitz@gmx.net>
15381
15382         * commandtags.h:
15383         * LyXAction.C:
15384         * lyxfunc.C:  new LFUN 'math-space'
15385
15386         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15387
15388 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15389
15390         * text2.C (toggleInset): call open/close
15391
15392 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * lyxfunc.C (dispatch): add debug for the disabled case
15395
15396         * font.C (buttonText): make similar to rectText
15397
15398         * buffer.C (readInset): comment out parsing of insetlist and
15399         insttheorem
15400
15401         * PainterBase.C (rectText): small correction
15402
15403         * BufferView_pimpl.C: comment out insettheorem and insetlist
15404         * LyXAction.C: ditto
15405         * commandtags.h: ditto
15406
15407 2001-07-24  Juergen Vigna  <jug@sad.it>
15408
15409         * text.C (draw): honor the ignore_language.
15410
15411         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15412
15413 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15416         char inset.
15417
15418 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15419
15420         * lyxtext.h: remove unused (and unimplemented) methods
15421
15422 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15423
15424         * text.C (getVisibleRow): honor background color
15425
15426         * PainterBase.h:
15427         * Painter.h: remove default color argument for fillRectangle
15428
15429         * text.C (backgroundColor): new method
15430
15431 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15432
15433         * text.C (getVisibleRow): adjust
15434
15435         * font.[Ch] (rectText): new method, metrics
15436         (buttonText): new method, metrics
15437
15438         * PainterBase.[hC]: make rectText and buttonText always draw and take
15439         fewer paramteres.
15440
15441 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15442
15443         * ToolbarDefaults.C (read):
15444         * MenuBackend.C (read): allow escaping in all strings
15445
15446         * BufferView_pimpl.C (insertAndEditInset): new method.
15447         (Dispatch): use insertAndEditInset whenever appropriate.
15448
15449         * BufferView_pimpl.C (insertNote): removed
15450
15451         * BufferView_pimpl.C (smartQuote): new method, moved from
15452         BufferView; if an insetquote cannot be inserted, insert a '"'
15453         character instead.
15454
15455         * BufferView2.C: remove insertCorrectQuote();
15456
15457         * lyxfunc.C (getStatus): Add support for all remaingin
15458         inset-insert lfuns.
15459
15460         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15461
15462         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15463         command (necessary to pass " as parameter of self-insert.
15464
15465         * text.C (selectWordWhenUnderCursor):
15466         (selectWord): add word_location parameter
15467         (selectWordWhenUnderCursor): same + remove special code for word
15468         boundary.
15469         (selectNextWord): use kind() to guess type of insetspecialchar,
15470         not latex().
15471
15472         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15473         (insertErtContents): create ert insets as collapsed.
15474         (readInset): better compatibility code for Info inset.
15475
15476 2001-07-20  Juergen Vigna  <jug@sad.it>
15477
15478         * lyxfunc.C (dispatch): use always LyXFind now!
15479
15480         * text2.C (init): add a reinit flag so that the LyXText can be
15481         reinited instead of deleted and reallocated (used in InsetText).
15482
15483         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15484
15485         * text.C: ditto
15486
15487         * text2.C: ditto
15488
15489 2001-07-18  Juergen Vigna  <jug@sad.it>
15490
15491         * text.C (selectNextWord): handle insets inside inset by calling
15492         always the bv->text functions so that we can go up the_locking_inset!
15493
15494         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15495         in strange locations when inside an inset!
15496
15497         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15498         handling to include insets.
15499
15500         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15501
15502 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15503
15504         * LyXAction.C (init):
15505         * commandtags.h:
15506         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15507         LIGATURE_BREAK, since the name is so stupid.
15508
15509 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15510
15511         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15512         InsetInfos.
15513
15514         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15515
15516         * sp_form.[Ch]: remove.
15517
15518         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15519
15520         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15521         InsetInfo.
15522
15523         * src/buffer.C (readInset): ditto.
15524
15525 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15526
15527         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15528         menuSeparator(), endOfSentenceDot(), ldots() and
15529         hyphenationPoint(), which are therefore removed.
15530         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15531
15532         * LyXAction.C (init):
15533         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15534
15535         * paragraph.C (getWord): removed.
15536
15537         * BufferView_pimpl.C (Dispatch): use last word or selection for
15538         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15539
15540         * lyx_main.C (queryUserLyXDir): do not ask before creating
15541         user_dir, except if it has been named explicitely.
15542
15543 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15544
15545         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15546         a document of zero size.
15547
15548 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15549
15550         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15551         approriately in the c-tor and in require().
15552         (getPackages): output the appropriate LaTeX for natbib support.
15553
15554         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15555         variables "use_natbib" and "use_numerical_citations" when reading the
15556         LyX file.
15557         (readInset): read the various natbib cite commands.
15558         (validate): white-space change.
15559
15560         * bufferparams.[Ch]: new variables "bool use_natbib" and
15561         "bool use_numerical_citations".
15562         (writeFile): output them in the LyX file.
15563
15564 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15565
15566         * lyxfunc.C (getStatus): add support for all the inset insertion
15567         commands.
15568
15569         * text2.C (insertInset):
15570         * paragraph.C (insetAllowed):
15571         * BufferView_pimpl.C (insertInset): update to take in account the
15572         renaming of insertInsetAllowed
15573
15574         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15575
15576         * text2.C (getInset): new method. returns inset at cursor position.
15577
15578         * BufferView_pimpl.C (Dispatch): changes because of this.
15579
15580         * LyXAction.C (init): rename open-stuff to inset-toggle.
15581
15582         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15583
15584         * text2.C (toggleInset): renamed from openStuff; use
15585         Inset::open().
15586
15587 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15588
15589         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15590
15591         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15592
15593 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15594
15595         * buffer.C (readLyXformat2): Add filename to the error dialog
15596
15597 2001-07-18  Juergen Vigna  <jug@sad.it>
15598
15599         * tabular.C (GetCellNumber): put an assert here instead of the check!
15600
15601 2001-07-17  Juergen Vigna  <jug@sad.it>
15602
15603         * BufferView_pimpl.C (toggleSelection): adapted too.
15604
15605         * text.C (selectNextWord): adapted for use with insets.
15606         (selectSelectedWord): ditto
15607
15608 2001-07-17  Juergen Vigna  <jug@sad.it>
15609
15610         * sp_spell.C (PSpell): fix initialitation order.
15611
15612 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15613
15614         * paragraph.C: spacing
15615
15616 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15617
15618         * sp_spell.C: repair language selection for pspell
15619
15620 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15621
15622         * lyxfunc.h: change more methods to begin with lower char.
15623
15624 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15625
15626         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15627         for unknown layouts.
15628
15629 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15630
15631         * buffer.C (readLyXformat2): Generate an error dialog if there are
15632         unknown layouts.
15633
15634 2001-07-16  Juergen Vigna  <jug@sad.it>
15635
15636         * sp_spell.C: always compile ISpell part.
15637
15638         * lyxrc.C: added use_pspell entry and it's handling.
15639
15640 2001-07-13  Juergen Vigna  <jug@sad.it>
15641
15642         * sp_spell.C: removed double includes.
15643
15644 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15645
15646         Consistent use of Lsstream.h:
15647         * Lsstream.h: added using std::stringstream for consistencies sake.
15648
15649         * buffer.C: removed using std::stringstream
15650
15651         * lyxfont.C (stateText):
15652         * paragraph.C (asString):
15653         * text.C (selectNextWord, selectSelectedWord):
15654         * text2.C (setCounter):
15655         * vspace.C (asString, asLatexString):
15656         std::ostringstream -> ostringstream.
15657
15658 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15659
15660         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15661         * commandtags.h: add LFUN_HELP_ABOUTLYX
15662         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15663
15664 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15665
15666         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15667         cursorToggle()
15668         * lyx_gui_misc.C: remove spellchecker
15669         * lyxfunc.C: showSpellchecker
15670         * sp_base.h: added
15671         * sp_ispell.h: added
15672         * sp_pspell.h: added
15673         * sp_spell.C: added
15674         * sp_form.[Ch]: removed
15675         * spellchecker.[Ch]: removed
15676
15677 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15678
15679         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15680         is set.
15681         (simpleTeXSpecialChars): Simply print the input character without
15682         any special translation if pass_thru is set.
15683
15684         * layout.h: Added bool pass_thru to layout class for being able to
15685         implement pass through of a paragraph for Literate Programming.
15686
15687         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15688         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15689         * layout.C (Read): add "passthru" to list of layout tags and add
15690         code to set the pass_thru boolean when it is read.
15691
15692 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15693
15694         * trans_decl.h: remove allowed from KmodInfo
15695
15696         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15697         remove allowed code
15698         (Load): adjust
15699
15700         * paragraph_pimpl.C (erase): use boost::prior
15701
15702         * Painter.C (text): use data() instead of c_str() when length is
15703         also provided.
15704         * WorkArea.C (putClipboard): ditto
15705         * font.h (width): ditto
15706
15707         * BufferView2.C: use it-> instead of (*it). for iterators
15708         * texrow.C: ditto
15709         * paragraph_pimpl.C: ditto
15710         * paragraph.C: ditto
15711         * minibuffer.C: ditto
15712         * language.C: ditto
15713         * kbmap.C: ditto
15714         * encoding.C: ditto
15715         * counters.C: ditto
15716         * converter.C: ditto
15717         * chset.C: ditto
15718         * Variables.C: ditto
15719         * TextCache.C: ditto
15720         * MenuBackend.C: ditto
15721         * LyXAction.C: ditto
15722         * LColor.C: ditto
15723         * FloatList.C: ditto
15724         * DepTable.C: ditto
15725         * ColorHandler.C (LyXColorHandler): ditto
15726
15727 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15728
15729         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15730
15731         * text2.C (openStuff): reintroduce this method (which had been
15732         nuked in NEW_INSETS frenzy).
15733
15734         * lyxfunc.C (Dispatch): when an action has not been handled, use
15735         its name in the error message, not its number.
15736
15737         * paragraph.C (inInset): change method name to begin with lowercase.
15738
15739         * undo_funcs.C:
15740         * text2.C: updates because of this.
15741
15742 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15743
15744         * ToolbarDefaults.C (add): add spaces in error message
15745
15746 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15747
15748         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15749         (readLyXformat2): rename return_par to first_par, use lyxlex's
15750         pushToken and remove the manual push handling.
15751         (parseSingleLyXformat2Token): add another ert comp. variable:
15752         in_tabular, rename return_par to first_par. handle newlines better
15753
15754 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15755
15756         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15757
15758 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15759
15760         * text2.C (getParFromID): removed
15761
15762         * buffer.C (getParFromID): new method moved form lyxtext.
15763         * BufferView2.C (insertErrors): adjust
15764         (setCursorFromRow): adjust
15765         * BufferView_pimpl.C (restorePosition): adjust
15766         * lyxfunc.C (Dispatch): adjust
15767         * undo_funcs.C (textUndo): adjust
15768         (textRedo): adjust
15769         (textHandleUndo): adjust
15770         (textHandleUndo): adjust
15771
15772 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15773
15774         * buffer.C: up' the LYX_FORMAT
15775
15776         * lyxfont.h: turn NO_LATEX on as default
15777
15778         * buffer.C (insertErtContents): new methods of tex style compability.
15779         (parseSingleLyXformat2Token): use it several places.
15780         * tabular.C (OldFormatRead): and here
15781
15782 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15783
15784         * text2.C: remove some commented code.
15785         reindent file.
15786
15787         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15788         * trans.C: changes because of the above.
15789
15790 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15791
15792         * text2.C (setCounter): Fix counters bug with bibliography layout.
15793
15794 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15795
15796         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15797         own member functions
15798         (simpleTeXSpecialChars): ditto
15799
15800 2001-07-06  Juergen Vigna  <jug@sad.it>
15801
15802         * a lot of files: changed the access to LyXText::status and the
15803         call of undo-functions.
15804
15805         * undo.[Ch]: added a inset_id to the undo informations.
15806
15807         * undo_funcs.[Ch]: added and moved here all undo functions.
15808
15809         * lyxtext.h: give the status enum a weight, made status_ a private
15810         variable and made accessor functions for it, removed the whole bunch
15811         of undo-functions as they are now in their own file, make some
15812         functions publically available. Added function ownerParagraph with
15813         int parameter.
15814
15815         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15816         made InInset() a const function, added getParFromID() function.
15817
15818         * buffer.[Ch]: added const version for inset_iterator functions,
15819         added getInsetFromID() function.
15820
15821         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15822         changed undo functions for new version.
15823
15824 2001-07-05  Juergen Vigna  <jug@sad.it>
15825
15826         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15827         unknow mechanism does not call the proper constructor but only this
15828         one also if I request the other!?
15829
15830 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15831
15832         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15833
15834         * text2.C (LyXText): use initialization lists.
15835
15836         * lyxtext.h (Selection): initialize set_ and mark_
15837         (init): remove method
15838
15839 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15840
15841         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15842
15843 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15844
15845         * screen.[Ch]: change method names to begin with lowercase
15846
15847         * BufferView_pimpl.C (updateScrollbar): simplify further and
15848         hopefully make it a bit faster.
15849
15850 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15851
15852         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15853         calling directly xforms functions.
15854
15855         * Painter.C (Painter):
15856         * lyx_cb.C (MenuWrite):
15857         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15858         fl_display.
15859
15860         * lyx_gui.C: remove bogus guiruntime extern declaration.
15861
15862 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15863
15864         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15865         in NEW_INSETS
15866         (redoDrawingOfParagraph): ditto
15867         (redoParagraphs): ditto
15868         (cutSelection): don't create a object for CutAndPaste use the
15869         static method directly
15870         (pasteSelection): ditto
15871
15872         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15873         LyXview (+ rename)
15874
15875 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15876
15877         * modifications to some other files because of this.
15878
15879         * Makefile.am (lyx_SOURCES): add XFormsView
15880
15881         * XFormsView.[Ch]: new files
15882
15883         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15884         the main window. Move the gui dependent stuff to XFormsView
15885
15886 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15887
15888         * tabular.C (GetCellInset): update cur_cell also in the row/col
15889         version of this function.
15890
15891         * lyxfunc.C: no need to include figure_form.h here.
15892
15893         * FontLoader.h:
15894         * lyxfunc.h:
15895         * lyxscreen.h:
15896         * text2.C:
15897         * lyxvc.C: no need to include forms.h here.
15898
15899 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15900
15901         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15902
15903         * lyxfunc.C (Dispatch):
15904         * Spacing.C (set):
15905         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15906         constructor argument.
15907
15908 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15909
15910         * paragraph.C (Paragraph): dont't clear, and just set layout.
15911         (makeSameLayout): use params's copy contructor.
15912
15913         * ParagraphParameters.[Ch] (makeSame): delete method
15914
15915 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15916
15917         * Variables.[Ch]: fix indentation, rename set to isSet
15918
15919 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15920
15921         * lyxfunc.C (Dispatch): fix typo
15922
15923 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15924
15925         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15926         upper_bound.
15927
15928         * bufferlist.C: include assert.h for emergencyWrite().
15929
15930 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15931
15932         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15933           give up at last (bug #425202) !
15934
15935 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15936
15937         * lyx_gui_misc.C:
15938         * sp_form.h:
15939         * sp_form.C:
15940         * spellchecker.h:
15941         * spellchecker.C: strip spellchecker options and bring up
15942           preferences tab instead
15943
15944 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15945
15946         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15947         the istringstream constructor
15948
15949 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15950
15951         * paragraph.C (getLayout): fix return value
15952
15953         * paragraph.h: do not declare getLayout as inline.
15954
15955         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15956
15957 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15958
15959         * lyxcursor.h (operator<): new func
15960         (operator>): new func
15961         (operator>=): new func
15962         (operator<=): new func
15963
15964         * text.C (changeCase): use selection.start and selection.end
15965         (changeRegionCase): require from to be <= to. Require par to be a
15966         valid paragraph.
15967
15968         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15969
15970 2001-06-27  Juergen Vigna  <jug@sad.it>
15971
15972         * text.C (cursorLeftOneWord): changed to return the cursor and added
15973         overlay with BufferView * parameter which calls this one.
15974         (getWord): added
15975         (selectWord): use new getWord function.
15976         (changeCase): renamed from changeWordCase as and extended to work
15977         also on selections.
15978
15979         * lyxtext.h: added enum word_location
15980
15981         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15982         changeCase as this operates now also on selections.
15983
15984 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15985
15986         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15987
15988         * many files: send debug output to Debug::INFO instead of
15989         Debug::ANY.
15990
15991         * converter.C (View):
15992         (Convert):
15993         (Move): send debug output to Debug::FILES instead of console.
15994
15995 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15996
15997         * lyxfunc.C (getStatus): use func_status
15998
15999         * func_status.h: new header, describing the results of
16000         LyXFunc::getStatus;
16001
16002         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16003         LFUN_MATH_HALIGN.
16004
16005 2001-06-25  The LyX Project  <jug@sad.it>
16006
16007         * buffer.C (sgmlOpenTag):
16008         (sgmlCloseTag):
16009         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16010
16011 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16012
16013         * text2.C: remove some dead code
16014
16015         * tabular.C (GetCellInset): store the last cell checked (gotten)
16016
16017         * tabular.h: add the helper for the speedup
16018
16019         * lyxtext.h: remove some dead code
16020
16021 2001-06-26  The LyX Project  <Asger>
16022
16023         * paragraph.C: Change export to LaTeX of alignment to
16024         \begin{center} and family for better roundtrip work with reLyX.
16025
16026         * Tune the math drawing a bit.
16027
16028 2001-06-25  The LyX Project  <Asger>
16029
16030         * LColor.C (LColor): New color for math background. New color
16031         for buttons.
16032
16033 2001-06-25  The LyX Project  <jug@sad.it>
16034
16035         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16036
16037         * lyxfunc.C (Open):
16038         * bufferlist.C (newFile): do not restrict to files ending with
16039         .lyx
16040
16041         * BufferView_pimpl.C (MenuInsertLyXFile):
16042
16043 2001-06-24  The LyX Project  <jug@sad.it>
16044
16045         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16046         of compare_no_case
16047
16048 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16049
16050         * lyxtext.h: rename most methods to begin with a small char.
16051         Lots of changes because of this.
16052
16053         * paragraph.C (Paragraph): do not call fitToSize
16054         (erase): call Pimpl::erase
16055         (insertChar): call Pimpl::insertChar
16056         (insertInset): call Pipl::insertInset
16057         (breakParagraph): do not call fitToSize
16058         (breakParagraphConservative): do not call fitToSize
16059         (fitToSize): remove method
16060
16061         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16062
16063 2001-06-24  The LyX Project  <Asger>
16064
16065         * Fix Qt compilation^2
16066
16067 2001-06-24  The LyX Project  <jug@sad.it>
16068
16069         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16070         depthHook(getDepth()-1).
16071
16072         * paragraph.h:
16073         * ParagraphParameters.h:
16074         * ParameterStruct.h: change type of depth to unsigned int ==
16075         depth_type. Many adaptations to other files before of that.
16076
16077 2001-06-24  The LyX Project  <Asger>
16078
16079         * Fix Qt compilation.
16080
16081 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16082
16083         * paragraph.h: renamed several methods to begin with small letter.
16084         several changes to many parts of the code because of this.
16085
16086 2001-06-23  The LyX Project  <jug@sad.it>
16087
16088         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16089         rewritten to discard all double spaces when KeepEmpty is off
16090         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16091         to only handle newlines but not fiddle with spaces and friends.
16092
16093         * lyxfunc.C (MenuNew): when doing 'new from template', use
16094         template_path as default directory
16095
16096 2001-06-23  The LyX Project  <Asger>
16097
16098         * Clean-up of header file includes all over
16099         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16100
16101 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16102
16103         * paragraph.h: renamed from lyxparagraph.h
16104
16105 2001-06-23  Asger  <lyx@violet.home.sad.it>
16106
16107         * Buffer.h: Removed Buffer::resize
16108         * BufferList.h: Removed BufferList::resize
16109         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16110         the document lazily when we change the width, or the font settings.
16111
16112 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16113
16114         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16115
16116 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16117
16118         * buffer.h: remove out of date comment
16119
16120 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16121
16122         * lyxscreen.h:
16123         * screen.C: fix "theoretical" GC leak
16124
16125 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16126
16127         * LaTeX.C (scanAuxFile):
16128         (deplog): remove trailing \r when reading stream (useful under
16129         win32)
16130
16131 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16132
16133         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16134         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16135         and BufferView::theLockingInset(Inset*), so should use them and not
16136         access bv_->text->the_locking_inset directly.
16137
16138         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16139
16140 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16141
16142         * Makefile.am:
16143         * tex-defs.h: remove old unused file
16144
16145 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16146
16147         * BufferView_pimpl.C: fix typo, remove minibuffer message
16148           when buffer has loaded
16149
16150 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16151
16152         * lyxfunc.C (Dispatch): use stringstream
16153         (MenuNew): use stringstream
16154         (Open): use stringstream
16155
16156         * importer.C (Import): use stringstream
16157
16158         * bufferview_funcs.C (CurrentState): use stringstream
16159
16160         * LaTeX.C (run): use stringstream
16161
16162         * BufferView_pimpl.C (savePosition): use stringstream
16163         (restorePosition): use stringstream
16164         (MenuInsertLyXFile): use stringstream
16165
16166 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16167
16168         * BufferView.C:
16169         * Bullet.C:
16170         * ColorHandler.C:
16171         * FontInfo.C:
16172         * FontLoader.C:
16173         * LColor.C:
16174         * LaTeXFeatures.C:
16175         * Painter.C:
16176         * gettext.C:
16177         * lyx_gui_misc.C:
16178         * lyxserver.C:
16179         * vspace.C: removed // -*- C++ -*- as first line.
16180
16181         * lyxfind.h:
16182         * version.h: added // -*- C++ -*- as first line.
16183
16184 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16185
16186         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16187
16188         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16189         of string
16190
16191 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16192
16193         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16194         of floats.
16195
16196 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16197
16198         * gettext.C: include LString.h even when --disable-nls is on.
16199
16200 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16201
16202         * converter.h (Get): changed argument type from int to
16203         FormatList::size_type to avoid unnecessary conversion.
16204
16205         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16206         before using it.
16207
16208 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16209
16210         * gettext.h: include LString.h even when --disable-nls is on.
16211
16212 2001-06-07  Juergen Vigna  <jug@sad.it>
16213
16214         * text.C (BreakAgain): subst spaces with tabs.
16215
16216         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16217         (resizeInsetsLyXText): set force on resizeLyXText.
16218
16219 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16220
16221         * gettext.h (gettext_init):
16222         (locale_init): use a real definition instead of a macro
16223
16224 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16225
16226         * Bufferview_pimpl.C:
16227         * LColor.h:
16228         * LColor.C: further lcolor tidies
16229
16230 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16231
16232         * BufferView_pimpl.C (updateScrollbar): simplify.
16233
16234         * BufferView2.C: don't include insets/insetinfo.h, change
16235         prototype for insertInset and call the Pimpl version. let
16236         updateInset call Pimpl version.
16237
16238         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16239         gotoInset to BufferView::Pimpl
16240
16241 2001-06-01  Juergen Vigna  <jug@sad.it>
16242
16243         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16244         inside a LockingInset (is the update needed at all?).
16245
16246 2001-05-31  Juergen Vigna  <jug@sad.it>
16247
16248         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16249         here not the old one otherwise how should we compare it afterwards
16250         if it's the same!
16251
16252 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16253
16254         * lyxfont.C:
16255         * tabular.C:
16256         * tabular-old.C:
16257         * FontInfo.C: bring C functions into global namespace when
16258         necessary
16259
16260 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16261
16262         * LString.h: make sure config.h has been loaded before LString.h.
16263
16264         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16265         (one for each char read by EatLine!).
16266
16267         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16268         variables.
16269
16270 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16271
16272         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16273         to the same as the par we break from
16274
16275 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16276
16277         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16278
16279         * MenuBackend.C (expand): also create menu entries for wide
16280         versions of the floats.
16281
16282         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16283
16284         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16285
16286         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16287         frontends/Makefile.am
16288
16289         * text2.C: adjust
16290         * text.C: adjust
16291
16292
16293         * tabular.C (getTokenValue): add std::
16294
16295         * tabular-old.C (getTokenValue): add std::
16296         (getTokenValue): ditto
16297         (getTokenValue): ditto
16298
16299         * screen.C (ToggleSelection): adjust
16300
16301         * lyxtext.h: put selection cursors inside a Selection struct.
16302
16303         * lyxfunc.C (moveCursorUpdate): adjust
16304
16305         * lyxfont.C (latexWriteStartChanges): add std::
16306
16307         * lyxfind.C: adjust
16308
16309         * font.h: delete with(char const *, LyXFont const &)
16310
16311         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16312
16313         * FontInfo.C (getFontname): add std::
16314
16315         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16316         (workAreaButtonPress): adjust
16317         (tripleClick): adjust
16318         (update): adjust
16319         (moveCursorUpdate): adjust
16320         (Dispatch): adjust
16321
16322         * BufferView2.C (gotoInset): adjust
16323
16324 2001-05-30  Juergen Vigna  <jug@sad.it>
16325
16326         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16327         to check pspell I add this as default as I now have new pspell
16328         libraries and they seem to use this.
16329
16330 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16331
16332         * text2.C (CutSelection): make the cursor valid before the call to
16333         ClearSelection.
16334
16335 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16336
16337         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16338         relied on 0 terminated strings and other horrors. Bug found due to
16339         the new assert in lyxstring!
16340
16341         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16342         KP_ keys.
16343
16344 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16345
16346         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16347         to latinkeys.bind.
16348
16349         * lyxfunc.C (processKeySym): change method of getting to the
16350         self-insert char.
16351
16352         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16353         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16354         * BufferView_pimpl.[Ch]: here as private methods.
16355
16356 2001-05-28  Juergen Vigna  <jug@sad.it>
16357
16358         * text.C (SetHeightOfRow): added the update() call again as it is
16359         needed to initialize inset dimensions!
16360
16361 2001-05-16  Juergen Vigna  <jug@sad.it>
16362
16363         * text2.C (SetCharFont): Add new function with BufferView * and
16364         bool toggleall parameters for setting insets internal fonts.
16365         (SetFont): Freeze the undo as we may change fonts in Insets and
16366         all this change should be inside only one Undo!
16367
16368         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16369         setting font's in insets as for them we have the SetFont function!
16370
16371 2001-05-15  Juergen Vigna  <jug@sad.it>
16372
16373         * text2.C (ClearSelection): to be sure we REALLY don't have any
16374         selection anymore!
16375
16376         * tabular.C (TeXCellPreamble): fixed the left border problem for
16377         multicolumn cells.
16378
16379 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16380
16381         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16382         dependancy file
16383
16384 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16385
16386         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16387         LFUN_BREAKPARAGRAPH.
16388
16389         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16390         help test to "internal only", similar for LFUN_INSERT_URL
16391
16392         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16393         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16394         auto_region_delete and deadkeys.
16395
16396 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16397
16398         * LColor.h:
16399         * LColor.C: remove some dead entries, tidy a little
16400
16401 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16402
16403         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16404         commented code.
16405         (Dispatch): implement LFUN_ESCAPE
16406
16407         * commandtags.h: add LFUN_ESCAPE
16408
16409         * LyXAction.C (init): add entry for LFUN_ESCAPE
16410
16411         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16412         Remove commented code.
16413         (insertNote): moved here
16414         (open_new_inset): moved here
16415
16416         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16417         BufferView_pimpl
16418
16419 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16420
16421         * kbmap.C (findbinding): clean it up and make it work correctly.
16422
16423         * lyx_main.C (init): do not pass argc and argv as parameters
16424
16425 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16426
16427         * buffer.C: fix path for OS/2 & Win32
16428
16429         * lyx_gui.C:
16430         * lyx_main:
16431         * lyx_main.C: Added os:: class.
16432
16433         * os2_defines.h: update
16434
16435 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16436
16437         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16438         better by trying again with reduced state.
16439
16440 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16441
16442         * lyxrc.C (read): print error about invalid key sequence only when
16443         debugging (because not all latinX keysyms are known to some X
16444         servers)
16445
16446         * kbsequence.C (getiso): add a few std:: qualifiers
16447         (getiso): comment out extra return statement.
16448
16449 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16450
16451         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16452         handling.
16453         (Dispatch): enhance the accent inset a bit. (not perfect)
16454
16455 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16456
16457         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16458
16459 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16460
16461         * bufferlist.C (emergencyWrite): fix assert() call
16462
16463 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16464
16465         * text.C (InsertChar): Added trivial patch to only send the "you
16466         can not do multiple spaces this way" message once during a
16467         session.
16468
16469 2001-05-08  Baruch Even  <baruch@lyx.org>
16470
16471         * Makefile.am: Changed order of libraries to get LyX to link properly
16472         with the gnome frontend.
16473
16474 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16475
16476         * LaTeXFeatures.h: add a std:: qualifier
16477
16478 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * paragraph.C (String): use stringstream
16481
16482 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16483
16484         * paragraph.C (writeFile): remove footflag arg
16485
16486         * buffer.C (makeLaTeXFile): use stringstream
16487         (latexParagraphs): remove footnot gurba
16488
16489         * LaTeXFeatures.C (getPackages): use stringstream
16490         (getMacros): likewise
16491         (getTClassPreamble): likewise
16492         (getFloatDefinitions): new method
16493
16494         * paragraph.C (writeFile): reindent
16495         (Erase): reindent
16496
16497         * WorkArea.h: revert the xpos + etc changes.
16498
16499         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16500
16501         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16502
16503         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16504         (pasteSelection): likewise
16505         * text2.C (CreateUndo): likewise
16506
16507 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16508
16509         * minibuffer.C (peek_event): temporarily reduce the functionality
16510         of the minibuffer (to allow args on lfuns)
16511
16512         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16513         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16514
16515         * buffer.C (readInset): add compability reading of old float
16516         lists, add reading of new style float list.
16517         (readInset): avoid reevaluation of inscmd.getCmdName()
16518         (getLists): reindent
16519
16520         * MenuBackend.C (MenuItem): implement parsing of
16521         md_floatlistinsert and md_floatinsert.
16522         (expand::LastFiles): move initalizaton of iterators out of loop,
16523         avoid reevaluation.
16524         (expand::Documents): introduce typdedef vector<string> Strings,
16525         and use it.
16526         (expand::ExportFormats): introduce typedef vector<Format const *>
16527         Formats, and use it.
16528         (expand): implement FloatListInsert and FloatInsert.
16529
16530         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16531         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16532         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16533
16534         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16535         handling.
16536         (Dispatch::LFUN_FLOAT_LIST): implement
16537
16538 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16539
16540         * LaTeX.C (run): Fix problem with --export code.
16541
16542 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16543
16544         * BufferView.[Ch] (workarea): removed.
16545         (getClipboard) new method; wrapper for workarea()->getClipboard()
16546
16547         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16548         bug.
16549
16550         * WorkArea.h (width, height, xpos, ypos): These methods all
16551         returned the dimensions of the work_area sub-area of WorkArea,
16552         resulting in a position error if the WorkArea were resized. Now
16553         return the dimensions of the entire WorkArea.
16554
16555         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16556
16557 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16558
16559         * LaTeX.C (deplog): correct the syntax of regex reg1
16560
16561 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16562
16563         * undo.C: remove !NEW_INSETS cruft
16564
16565 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16566
16567         * text2.C: remove !NEW_INSETS cruft
16568
16569         * text.C: remove !NEW_INSETS cruft
16570
16571         * tabular.C: remove !NEW_INSETS cruft
16572
16573         * spellchecker.C: remove !NEW_INSETS cruft
16574
16575         * lyxtext.h: remove !NEW_INSETS cruft
16576
16577         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16578
16579         * lyxfunc.C: remove !NEW_INSETS cruft
16580
16581         * lyxfind.C: remove !NEW_INSETS cruft
16582
16583         * lyx_cb.C: remove !NEW_INSETS cruft
16584
16585         * figureForm.C: remove  !NEW_INSETS cruft
16586
16587         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16588
16589         * buffer.[Ch]: remove !NEW_INSETS cruft
16590
16591         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16592
16593         * CutAndPaste.C: remove !NEW_INSETS cruft
16594
16595         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16596
16597         * BufferView2.C: remove !NEW_INSETS cruft
16598
16599         * BufferView.h: remove !NEW_INSETS cruft
16600
16601 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16602
16603         * Lsstream.h: include LString.h before the sstream headers to
16604         fix problem with gcc 2.95.3 and lyxstring
16605
16606 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16607
16608         * lyx_main.C: add using directives when needed for C functions
16609         declared in std:: namespace.
16610
16611 2001-04-27  Juergen Vigna  <jug@sad.it>
16612
16613         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16614         (SetHeightOfRow): comment out the update call should not be needed!
16615
16616 2001-04-13  Juergen Vigna  <jug@sad.it>
16617
16618         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16619         (LyXTabular): tried to minimize operator= operations (and realized
16620         hopfully Lars wish).
16621
16622 2001-04-27  Juergen Vigna  <jug@sad.it>
16623
16624         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16625
16626 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16629
16630         * buffer.C (readInset): hack to make listof algorithm work
16631
16632         * BufferView_pimpl.C: hack to make listof algorithm work
16633
16634 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16635
16636         * LyXAction.C: removed all !NEW_INSETS cruft
16637         (init): moved lfun_item in method
16638
16639         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16640
16641 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16642
16643         * BufferView2.C (theLockingInset): white space.
16644
16645 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16646
16647         * minibuffer.C: include <iostream>
16648
16649         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16650
16651         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16652
16653         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16654
16655         * text.[Ch] (TransposeChars): new method
16656
16657 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16658
16659         * call message directly through LyXView instead of through LyXFunc
16660         * BufferView2.C: adjust
16661         * BufferView_pimpl.C: adjust
16662         * FontLoader.C: adjust
16663         * buffer.C: adjust
16664         * bufferview_funcs.C: adjust
16665         * converter.C: adjust
16666         * figureForm.C: adjust
16667         * importer.C: adjust
16668         * lyx_cb.C: adjust
16669         * lyx_gui_misc.C: adjust
16670         * lyxfunc.C: adjust
16671         * lyxvc.C: adjust
16672         * text2.C: adjust
16673         + more files in subdirs
16674
16675         * lyxparagraph.h (size): move up int file
16676         (GetLayout): ditto
16677
16678         * adjust all uses of Assert to lyx::Assert.
16679
16680         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16681         lyxfunctional in namespace lyx
16682         * layout.C (hasLayout): ditto
16683         (GetLayout): ditto
16684         (GetLayout): ditto
16685         (delete_layout): ditto
16686         (NumberOfClass): ditto
16687         * converter.C (GetFormat): ditto
16688         (GetNumber): ditto
16689         (Add): ditto
16690         (Delete): ditto
16691         (SetViewer): ditto
16692         * bufferlist.C (getFileNames): ditto
16693         (emergencyWriteAll): ditto
16694         (exists): ditto
16695         (getBuffer): ditto
16696         * MenuBackend.C (hasSubmenu): ditto
16697         (hasMenu): ditto
16698         (getMenu): ditto
16699         * BufferView_pimpl.C (getInsetByCode): ditto
16700
16701 2001-04-18  Juergen Vigna  <jug@sad.it>
16702
16703         * vspace.C (asLatexString): fixed the 100% problem.
16704
16705 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16706
16707         * lyxfunc.C (Dispatch):
16708         * minibuffer.C:
16709         * minibuffer.h: add a few std:: qualifiers
16710
16711 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16712
16713         * minibuffer.[Ch]: reimplement so that commands is initiated and
16714         run from lyxfunc, simplified som handling, and made the completion
16715         and history code for complete. wip.
16716
16717         * lyxfunc.C (processKeySym): call message
16718         (miniDispatch): new temporary method
16719         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16720         (LFUN_MESSAGE): implement
16721         (LFUN_MESSAGE_PUSH): implement
16722         (LFUN_MESSAGE_POP): implement
16723         (initMiniBuffer): the initial/defualt minibuffer message.
16724
16725         * lyxfont.[Ch]: inline some more getters
16726
16727         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16728
16729         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16730
16731         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16732         (AutoSave): use LFUN_MESSAGE
16733         (Reconfigure): ditto
16734
16735         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16736
16737         * figureForm.C: use LFUN_MESSAGE
16738
16739         * converter.C (runLaTeX): use LFUN_MESSAGE
16740
16741         * bufferview_funcs.C: use LFUN_MESSAGE
16742         (Melt): ditto
16743         (changeDepth): ditto
16744
16745         * bufferparams.h: use boost::
16746
16747         * bufferlist.h: inherit privately from noncopyable
16748
16749         * bufferlist.C (loadLyXFile): remove some commented code.
16750
16751         * buffer.C (runChktex): use LFUN_MESSAGE
16752
16753         * ShareContainer.h: inherit privately from noncopyable
16754
16755         * ParagraphParameters.[hC] (depth): inline it.
16756
16757         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16758         methods.
16759         (message): new method
16760         (messagePush): ditto
16761         (messagePop): ditto
16762         (show): init minibuffer
16763         (showState): direct call
16764
16765         * LaTeX.[Ch]: inherit privately from noncopyable
16766         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16767         instead of WriteStatus.
16768
16769         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16770
16771         * BufferView_pimpl.C (buffer): don't init minibuffer
16772         (workAreaButtonPress): use LFUN_MESSAGE
16773         (workAreaButtonRelease): ditto
16774         (savePosition): ditto
16775         (restorePosition): ditto
16776         (MenuInsertLyXFile): ditto
16777         (workAreaExpose): don't init minibuffer
16778         (update): remove commented code, simplify
16779
16780         * BufferView2.C (openStuff): use LFUN_MESSAGE
16781         (toggleFloat): ditto
16782         (menuUndo): ditto
16783         (menuRedo): ditto
16784         (copyEnvironment): ditto
16785         (pasteEnvironment): ditto
16786         (copy): ditto
16787         (cut): ditto
16788         (paste): ditto
16789         (gotoInset): ditto
16790         (updateInset): remove some commented code
16791
16792         * lastfiles.h: inherit privately from noncopyable
16793         * layout.h: ditto
16794         * lyx_gui.h: ditto
16795         * lyx_main.h: ditto
16796         * lyxlex.h: ditto
16797         * lyxlex_pimpl.h: ditto
16798
16799         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16800         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16801         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16802
16803         * LyXAction.h: inherit privately from noncopyable, add methods
16804         func_begin, func_end, returning iterators to the func map.
16805
16806         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16807         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16808         (func_begin): new method
16809         (func_end): new method
16810
16811         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16812         and not)
16813         (copySelection): ditto
16814         (pasteSelection): ditto
16815
16816         * BufferView.C: whitespace change
16817         * BufferView.h: inherit privately from noncopyable
16818
16819 2001-04-16  Allan Rae  <rae@lyx.org>
16820
16821         * tabular-old.C (l_getline):
16822         * spellchecker.C (sc_check_word):
16823         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16824         an unrecognised preprocessor directive.  So ensure they're wrapped.
16825
16826 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16827
16828         * src/exporter.C (Export): Give an error message when path to file
16829         contains spaces.
16830
16831 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16832
16833         * LaTeX.C (deplog): Always check that foundfile exists.
16834
16835 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16836
16837         * lyx_main.h:
16838         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16839
16840 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16841
16842         * tabular.[Ch] (getLabelList): implement new method
16843
16844         * minibuffer.h: comment ouf setTiimer
16845
16846         * minibuffer.C (ExecutingCB): constify res
16847         (peek_event): constify s
16848         (Set): constify ntext
16849         (Init): constify nicename
16850
16851         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16852
16853         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16854         (savePosition): use two params to Minibuffer::Set
16855         (restorePosition): ditto
16856
16857 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16858
16859         * lyx_main.C: include language.h
16860
16861         * Makefile.am (lyx_main.o): add language.h
16862
16863 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16864
16865         * exporter.C:
16866         * paragraph.C:
16867         * screen.C:
16868         * tabular.C:
16869         * CutAndPaste.C: include gettext.h
16870
16871         * lyxfont.h: remove old hack with ON and OFF.
16872
16873         * lyxparagraph.h:
16874         * lyxfont.h: do not include language.h...
16875
16876         * BufferView2.C:
16877         * LaTeXFeatures.C:
16878         * Painter.C:
16879         * bufferview_funcs.C:
16880         * font.C:
16881         * lyxfont.C:
16882         * text.C:
16883         * text2.C:
16884         * trans_mgr.C:
16885         * paragraph.C: ... but do it here instead
16886
16887 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16888
16889         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16890
16891         * tabular.C: small reformat
16892
16893         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16894         NEW_INSETS version
16895         (GetChar): ditto
16896         (BreakParagraph): ditto
16897         (SetOnlyLayout): ditto
16898         (SetLayout): ditto
16899
16900         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16901         with one arg less.
16902
16903         * lastfiles.C: removed most using decl, add std:: where needed
16904
16905         * buffer.C: ws changes
16906
16907         * MenuBackend.C (class compare_format): put into anon namespace
16908         (expand): constify label, names, action, action2
16909         (expand):
16910
16911         * text.C (SingleWidth): constify font
16912         (IsBoundary): constify rtl2
16913         (GetVisibleRow): constify ww
16914
16915         * LaTeX.C (deplog): constify logfile
16916
16917         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16918         start_x, end_x
16919         (workAreaExpose): constify widthChange, heightChange
16920
16921         * lyxrow.C (par): moved
16922         (height): moved
16923         (next): moved
16924         * lyxrow.h: as inlines here
16925
16926         * lyxfont.h (shape): moved from lyxfont.C
16927         (emph): moved from lyxfont.C
16928
16929         * lyxfont.C (LyXFont): use initialization list for all
16930         constructors
16931         (shape): move to lyxfont.h as inline
16932         (emph): move to lyxfont.h as inline
16933
16934
16935 2001-04-04  Juergen Vigna  <jug@sad.it>
16936
16937         * vspace.C: had to include stdio.h for use of sscanf
16938
16939 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16940
16941         * BufferView.h:
16942         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16943         independent of xforms.
16944
16945 2001-04-02  Juergen Vigna  <jug@sad.it>
16946
16947         * spellchecker.C: fixed namespace placing!
16948
16949 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16950
16951         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16952         the LyXParagraph * is 0.
16953
16954 2001-03-29  Juergen Vigna  <jug@sad.it>
16955
16956         * vspace.C: added support for %, c%, p%, l%.
16957         (stringFromUnit): added helper function.
16958         (asLatexString): changed to give right results for the %-values.
16959
16960         * buffer.C: convert the widthp in a width%.
16961
16962 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16963
16964         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16965         figureForm.[Ch].
16966
16967         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16968         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16969
16970         * lyx_cb.[Ch]: see above.
16971
16972         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16973         form1.[Ch].
16974
16975         * form1.[Ch]:
16976         * lyx.[Ch]: replaced by figure_form.[Ch].
16977
16978         * lyx_gui.C:
16979         * lyx_gui_misc.C:
16980         * lyxfunc.C: changed headers associated with above changes.
16981
16982 2001-03-27  Juergen Vigna  <jug@sad.it>
16983
16984         * BufferView_pimpl.C: set the temporary cursor right!
16985
16986 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16987
16988         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16989
16990 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16991
16992         * LString.h: removed "using std::getline"!
16993
16994         * BufferView_pimpl.C (Dispatch): changes due to changes in
16995         InsetInclude::Params.
16996
16997         * buffer.C (tag_name): removed redundant break statements as they were
16998         producing lots of warnings with my compiler.
16999
17000 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17001
17002         * LString.h: add "using std::getline" when using the real <string>.
17003
17004 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17005
17006         * buffer.C: removed bitset usage.
17007         PAR_TAG moved to an anonymous name space.
17008         (tag_name): new funtion, also in the anonymous namespace.
17009         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17010         (makeDocBookFile): clean code. Completed transition from string arrays
17011         to string vectors.
17012         (SimpleDocBookOnePar): code clean.
17013
17014 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17015
17016         * tabular.C: add some comments.
17017
17018 2001-03-22  Juergen Vigna  <jug@sad.it>
17019
17020         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17021         compatibility read a bit and fixed bug with minipage in different
17022         depth.
17023
17024 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17025
17026         * buffer.C (pop_tag): removed.
17027         (push_tag): removed.
17028         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17029         array replaced with vector. Added support for CDATA sections.
17030         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17031         at any nest level.
17032         (makeDocBookFile): XML conformant declaration of CDATA section,
17033         fixed bug related to <emphasis> in the first paragraph char.
17034         (sgmlOpenTag): exclude empty tags.
17035         (sgmlCloseTag): ditto.
17036
17037         * buffer.h (pop_tag): removed.
17038         (push_tag): removed.
17039
17040 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17041
17042         * language.h (Languages): added size_type and size().
17043
17044 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17045
17046         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17047         response on compability reading of minipages. One probliem is that
17048         the old usage of minipages was «flertydig»
17049
17050         * several files here and in subdirs: don't use static at file
17051         scope use anon namespaces instead.
17052
17053 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17054
17055         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17056         LaTeX output. This is necessary for Literate document
17057         processing.
17058
17059 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17060
17061         * buffer.C: insert hfill when needed.
17062
17063         * tabular.C (l_getline): use string::erase, small whitespace change.
17064
17065         * BufferView_pimpl.C: try the anon namespace.
17066         * WorkArea.C: ditto
17067
17068 2001-03-16  Juergen Vigna  <jug@sad.it>
17069
17070         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17071         otherwise it won't open options-dialogs.
17072
17073         * buffer.C: honor pextraWidth(p) on converting minipages.
17074
17075         * tabular.C (l_getline): changed the functions to strip trailing \r.
17076
17077 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17078
17079         * BufferView_pimpl.C:
17080         * minibuffer..C: added "using SigC::slot" declaration.
17081
17082 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17083
17084         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17085
17086         * text2.C: ditto
17087
17088         * text.C: ditto
17089
17090         * paragraph.C: ditto
17091
17092         * lyxtext.h: NO_PEXTRA
17093
17094         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17095
17096         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17097         * ParameterStruct.h: ditto
17098         * ParagraphParameters.h: ditto
17099         * lyxparagraph.h: ditto
17100
17101 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17102
17103         * buffer.C: add compability for minipage alignment.
17104         (latexParagraphs): remove unwanted pextra check.
17105
17106         * several files: remove CXX_WORKING_NAMESPACES
17107
17108         * buffer.C (pop_tag): tie is in namespace boost
17109
17110         * BufferView.h: noncopyable is in namespace boost
17111         * lyxlex.h: ditto
17112         * lyx_main.h: ditto
17113         * lyx_gui.h: ditto
17114         * layout.h: ditto
17115         * lastfiles.h: ditto
17116         * bufferlist.h: ditto
17117         * ShareContainer.h: ditto
17118         * LyXView.h: ditto
17119         * LyXAction.h: ditto
17120         * LaTeX.h: ditto
17121
17122 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17123
17124         * Merging changes from BRANCH_MVC back into HEAD.
17125
17126         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17127
17128 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17129
17130         * BufferView_pimpl.C: change from intl.C
17131
17132         * combox.h:
17133         * combox.C:
17134         * Makefile.am: move combox.*
17135
17136         * form1.h:
17137         * form1.C:
17138         * lyx_gui.C:
17139         * intl.h:
17140         * intl.C: remove dialog (covered by prefs)
17141
17142 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17143
17144         * lyxfunc.C (Dispatch): removed redundant break statement.
17145
17146 2001-03-14  Juergen Vigna  <jug@sad.it>
17147
17148         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17149
17150 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17151
17152         * buffer.C: add hack to fix compability reading of minipages.
17153
17154 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17155
17156         * buffer.C (getLists): Cleanup.
17157
17158 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17159
17160         * lyxfont.C (update): don't honor toggleall on font size.
17161
17162 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17163
17164         * bmtable.c:
17165         * bmtable.h:
17166         * Makefile.am: moved to frontends/xforms/
17167
17168         * lyx_gui_misc.C:
17169         * lyxfunc.C:
17170         * BufferView_pimpl.C: changes for moved mathpanel
17171
17172 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17173
17174         * gettext.h: fix gettext_init() in --disable-nls
17175
17176 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17177
17178         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17179
17180 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17181
17182         * lyx.C:
17183         * lyx.h: strip external form
17184
17185 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17186
17187         * BufferView_pimpl.C: add comment, destroySplash()
17188
17189 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17190
17191         * BufferView_pimpl.C:
17192         * LyXAction.C:
17193         * buffer.C:
17194         * commandtags.h:
17195         * lyxfunc.C: use re-worked insetinclude
17196
17197 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17198
17199         * buffer.C: add using std::stringstream.
17200
17201         * lyx_cb.C: readd using std::ios.
17202
17203         * buffer.C: add using std::map.
17204
17205         * BufferView_pimpl.C: add using std::vector.
17206
17207         * ShareContainer.h: add std:: to swap.
17208
17209         * buffer.h: add some typedefs
17210         * buffer.C (getLists): use them
17211         (getLists): renamed from getTocList.
17212         add a counter for the different float types and use it in the
17213         generated string.
17214         (getLists): use the same counter for the NEW_INSETS and the "non"
17215         NEW_INSETS
17216
17217         * lyx_cb.h: remove unused items, includes, using etc.
17218
17219         * ShareContainer.h: remove some commented code, add more comments
17220         and "documentation".
17221
17222 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17223
17224         * buffer.C (getTocList): make the list also when NEW_INSETS is
17225         defined.
17226
17227         * buffer.h: remove TocType
17228
17229         * buffer.C (getTocList): change to return a map<string,
17230         vector<TocItem> >, implement for dynamic number of list.
17231
17232         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17233         * text2.C (PasteSelection): adjust
17234         * CutAndPaste.C (pasteSelection): adjust
17235
17236         * FloatList.C (FloatList): update from the new_insets branch.
17237         * Floating.[Ch]: ditto
17238         * LaTeXFeatures.C: ditto
17239         * buffer.C: ditto
17240         * lyxlex_pimpl.C: ditto
17241
17242         * paragraph.C (Last): remove when NEW_INSETS is defined.
17243
17244         * other file: changes because of the above.
17245
17246 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17247
17248         * lyxparagraph.h: rename next to next_, previous to previous_,
17249         make them private for NEW_INSETS. Rename Next() to next(),
17250         Previous() to previous().
17251
17252         * other files: changes because of the above.
17253
17254 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17255
17256         * BufferView.h:
17257         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17258         problem.
17259
17260 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17261
17262         * main.C (main): pass lyx_localedir to gettext_init().
17263
17264         * gettext.h: remove locale_init and gettext_init macros
17265
17266         * gettext.C (locale_init): new function
17267         (gettext_init): new function
17268
17269         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17270         setlocale().
17271
17272 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17273
17274         * Moved credits to frontends:
17275         * credits.[Ch]: removed
17276         * credits_form.[Ch]: removed
17277         * lyx_gui_misc.C: remove credits stuff
17278         * Makefile.am:
17279
17280 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17281
17282         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17283
17284         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17285         unneeded destructor.
17286
17287         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17288         a standalone pointer again.
17289
17290         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17291
17292 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17293
17294         * Makefile.am:
17295         * filedlg.h:
17296         * filedlg.C:
17297         * LyXAction.C:
17298         * ToolbarDefaults.C:
17299         * bufferlist.C:
17300         * commandtags.h:
17301         * form1.C:
17302         * form1.h:
17303         * lyx_cb.C:
17304         * lyx_cb.h:
17305         * lyxfunc.h:
17306         * lyxfunc.C:
17307         * BufferView_pimpl.C: use new file dialog in GUII
17308
17309         * lyx_cb.h:
17310         * lyx_cb.C: remove LayoutsCB to Toolbar
17311
17312 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17313
17314         * ShareContainer.h (get): add std:: qualifier
17315
17316 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17317
17318         * ShareContainer.h: define a proper ShareContainer::value_type
17319         type (and use typename to please compaq cxx)
17320
17321 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17322
17323         * lyxparagraph.h: move serveral local vars to
17324         ParameterStruct/ParagraphParameters., use ShareContainer in
17325         FontTable., make vars in FontTable private and add getter and
17326         setter.
17327
17328         * paragraph.C: changes because of the above.
17329
17330         * lyxfont.h: remove copy constructor and copy assignment. (the
17331         default ones is ok), move number inside FontBits. move inlines to
17332         lyxfont.C
17333
17334         * lyxfont.C: add number to initializaton of statics, move several
17335         inlines here. constify several local vars. some whitespace
17336         cleanup. Dont hide outerscope variables.
17337
17338         * Spacing.h: add two new constructors to match the set methods.
17339
17340         * ShareContainer.h: new file, will perhaps be moved to support
17341
17342         * ParameterStruct.h: new file
17343
17344         * ParagraphParameters.h: new file
17345
17346         * ParagraphParameters.C: new file
17347
17348         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17349         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17350
17351         * BufferView_pimpl.C: ParagraphParameter changes.
17352         * buffer.C: Likewise.
17353         * bufferview_funcs.C: Likewise.
17354         * text.C: Likewise.
17355         * text2.C: Likewise.
17356
17357 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17358
17359         * lyxfind.C (LyXReplace): do not redefine default argument in
17360         implementation.
17361         (IsStringInText): ditto
17362         (SearchForward): ditto
17363         (SearchBackward): ditto
17364
17365 2001-03-06  Juergen Vigna  <jug@sad.it>
17366
17367         * lyxfind.C (IsStringInText): put parentes around expressions.
17368
17369 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17370
17371         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17372
17373 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17374
17375         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17376
17377         * stl_string_fwd.h: add comment
17378
17379         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17380
17381         * tabular.h:
17382         * tabular.C: remove unused DocBook methods
17383
17384         * intl.C:
17385         * language.C:
17386         * paragraph.C:
17387         * buffer.C:
17388         killed DO_USE_DEFAULT_LANGUAGE
17389
17390 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17391
17392         * lyx_gui.C: do not include language.h.
17393
17394         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17395         arguments in function implementation.
17396
17397 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17398
17399         * BufferView_pimpl.C: add <ctime>
17400
17401 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17402
17403         * BufferView_pimpl.C: add using std::find_if
17404
17405 2001-02-27  José Matos  <jamatos@fep.up.pt>
17406
17407         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17408         by OnlyPath.
17409
17410 2001-02-11  José Matos  <jamatos@fep.up.pt>
17411
17412         * buffer.C (makeDocBookFile): command styles now have a parameter as
17413         "title" by default.
17414
17415 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17416
17417         * layout_forms.[Ch]: removed
17418         * lyx_cb.[Ch]: out character
17419         * lyx_gui.C: out character
17420         * lyx_gui_misc.C: out character
17421         * bufferview_funcs.C: : out character,
17422         added toggleall as parameter in ToggleAndShow
17423
17424 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17425
17426         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17427
17428         * text2.C (SetCurrentFont): Disable number property at boundary.
17429
17430 2001-02-26  Juergen Vigna  <jug@sad.it>
17431
17432         * lyxfunc.C (getStatus): added a string argument override function so
17433         that this is correctly called from LyXFunc::Dispatch if it contains a
17434         do_not_use_argument which is used!
17435         (Dispatch): added check for "custom" export and call appropriate func.
17436
17437 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17438
17439         * lyxrc.C: Add language_command_local, language_use_babel and
17440         language_global_options.
17441
17442         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17443
17444         * buffer.C (makeLaTeXFile): Use language_use_babel and
17445         language_global_options.
17446
17447 2001-02-23  Juergen Vigna  <jug@sad.it>
17448
17449         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17450         which works with LyXText and putted it inside BufferView. Here now we
17451         only call for that part the BufferView::Dispatch() function.
17452
17453         * BufferView.C (Dispatch): added.
17454
17455         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17456         functions which needs to use a LyXText over from LyXFunc.
17457         (MenuInsertLyXFile): added
17458         (getInsetByCode): added
17459         (moveCursorUpdate): added
17460         (static TEXT): added
17461
17462 2001-02-22  Juergen Vigna  <jug@sad.it>
17463
17464         * BufferView_pimpl.C (update): call a status update to see if LyXText
17465         needs it.
17466
17467 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17468
17469         * vc-backend.C (revert): implement for CVS
17470         (getLog): implement for CVS
17471
17472 2001-02-20  Juergen Vigna  <jug@sad.it>
17473
17474         * text2.C (ClearSelection): added BufferView param for inset_owner call
17475
17476         * lyxfunc.C (TEXT): added this function and use it instead of
17477         directly owner->view()-text of getLyXText().
17478
17479 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17480
17481         * src/layout_forms.C: out preamble
17482         * src/layout_forms.h: out preamble
17483         * src/lyx_cb.C: out preamble
17484         * src/lyx_cb.h: out preamble
17485         * src/lyx_gui.C: out preamble
17486         * src/lyx_gui_misc.C: out preamble
17487         * src/lyxfunc.C: connect with guii preamble
17488
17489 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17490
17491         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17492
17493 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17494
17495         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17496         whether to run bibtex.
17497
17498 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17499
17500         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17501
17502 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17503
17504         * Makefile.am (lyx_SOURCES): removed bibforms.h
17505
17506         * vspace.h: doxygen
17507
17508         * text.C (GetVisibleRow): make several local vars const
17509
17510         * tabular.C: small cleanup.
17511
17512         * lyxserver.C (callback): use compare instead of strncmp
17513
17514         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17515         inlines to after class or to paragraph.C
17516
17517         * lyxfont.h: remove friend operator!=
17518
17519         * converter.h: move friend bool operator< to non friend and after
17520         class def.
17521
17522         * combox.h: small cleanup
17523
17524         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17525         to inlines after class def.
17526
17527         * buffer.C (pop_tag): use string operations instead of strcmp
17528
17529         * bmtable.c: doxygen, small cleanup
17530
17531         * LaTeX.h: remove friend operator==
17532
17533 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17534
17535         * screen.C:
17536         * lyxrc.[Ch]:
17537         * lyxfunc.C:
17538         * lyxfont.[Ch]:
17539         * lyx_cb.C:
17540         * intl.[Ch]:
17541         * commandtags.h:
17542         * buffer.C:
17543         * WorkArea.[Ch]:
17544         * LyXAction.C:
17545         * BufferView_pimpl.C:
17546         * BufferView.[Ch]: remove cruft
17547
17548 2001-02-14  Juergen Vigna  <jug@sad.it>
17549
17550         * lyxfunc.C: removed #if 0 unused code
17551
17552         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17553
17554         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17555
17556         * text2.C (SetSelection): added a BufferView * parameter
17557
17558 2001-02-13  Juergen Vigna  <jug@sad.it>
17559
17560         * lyxfunc.C (Dispatch): fixed protected blank problem.
17561         * BufferView2.C (protectedBlank): added LyxText * parameter.
17562
17563         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17564         (AppendColumn): same as above for column_info.
17565
17566         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17567         (moveCursorUpdate): use a LyXText param for support of InsetText.
17568
17569         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17570         (tripleClick): ditto
17571
17572         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17573
17574         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17575
17576         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17577
17578         * text2.C (SetSelection): set correct update status if inset_owner
17579         (ToggleFree): ditto
17580
17581 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17582
17583         * tabular.C: remove some commented code.
17584
17585 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17586
17587         * BufferView_pimpl.C: call hideSplash()
17588
17589         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17590
17591         * include_form.h:
17592         * bibforms.h: remove
17593
17594         * lyxfunc.C:
17595         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17596           add LFUN_CHILD_CREATE
17597
17598         * counters.h: fix tiny typo
17599
17600         * lyx_cb.C:
17601         * lyx.h:
17602         * lyx_gui.C:
17603         * lyx.C: move splash to frontends/xforms/
17604
17605         * lyx_gui_misc.C: move Include and Bibform to frontends
17606
17607         * lyxvc.h: clarify comment
17608
17609         * vspace.C: tiny housekeeping
17610
17611 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17612
17613         * text.C (PrepareToPrint): RTL Fix.
17614
17615         * paragraph.C (GetUChar): New method.
17616         (String):  Use GetUChar.
17617
17618         * buffer.C (asciiParagraph): Use GetUChar.
17619
17620 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17621
17622         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17623
17624 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17625
17626         * buffer.h:
17627         * buffer.C: rename to getLogName(), handle
17628           build log / latex log nicely
17629
17630 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17631
17632         * MenuBackend.C:
17633         * MenuBackend.h: remove support for reference menuitem type.
17634
17635 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17636
17637         * BufferView_pimpl.C: housekeeping
17638         * BufferView_pimpl.h:
17639         * LyXView.h:
17640         * Makefile.am:
17641         * Timeout.C:
17642         * Timeout.h:
17643         * minibuffer.h: move Timeout GUI-I
17644
17645 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17646
17647         * lyxrc.C (read): Update converters data-structures.
17648
17649 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17650
17651         * LaTeX.h (operator!=): add operator != for Aux_Info
17652
17653 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17654
17655         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17656
17657         * LaTeXLog.C: deleted, useful code moved to Buffer
17658
17659         * buffer.h:
17660         * buffer.C: new function getLatexLogName()
17661
17662         * lyx_gui_misc.C:
17663         * lyx_gui.C:
17664         * lyxvc.C:
17665         * lyxvc.h:
17666         * lyxfunc.C: use frontends for LaTeX and VC logs
17667
17668 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17669
17670         * LaTeX.h: yet another std:: that Allan forgot.
17671
17672         * Variables.C (set): renamed from isset(), because this clashes
17673         with some HP-UX macros (grr).
17674
17675 2001-02-06  Allan Rae  <rae@lyx.org>
17676
17677         * LaTeX.h: Another bug fix.  Missing std:: this time.
17678
17679 2001-02-04  Allan Rae  <rae@lyx.org>
17680
17681         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17682         floats problem. I've left it commented out because it's not quite
17683         correct.  It should also test that the current object is a table or
17684         figure inset.  But I haven't gotten around to figuring out how to do
17685         that.  I *think* it'll be something like: "table" == inset.type()
17686
17687         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17688         bool.
17689
17690 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17691
17692         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17693         all the citation/databases/styles in the auxilary file.
17694         (run): Rerun latex if there was a babel language error.
17695
17696 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17697
17698         * text.C (Backspace): Preserve the font when changing newline char
17699         with a space.
17700         (BreakParagraph): If the cursor is before a space, delete the space.
17701
17702         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17703
17704 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17705
17706         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17707         new argument (code).
17708         (ChangeCitationsIfUnique): New method.
17709
17710         * paragraph.C (GetPositionOfInset): Handle bibkey.
17711
17712 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17713
17714         * BufferView_pimpl.h: change type of Position::par_pos to
17715         LyXParagraph::size_type.
17716
17717 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17718
17719         * BufferView_pimpl.C (savePosition, restorePosition): Write
17720         messages to minibuffer.
17721
17722 2001-01-28  José Matos  <jamatos@fep.up.pt>
17723
17724         * buffer.C (makeDocBookFile): adds support for document language.
17725         A silly restriction on the name of LatexCommand types where removed.
17726         Added support for CDATA sections, allows to chars unescaped, used
17727         among others in code, to avoid escape < and >.
17728
17729 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17730
17731         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17732         saved positions instrad of a stack. Furthermore, a position is
17733         stored using paragraph id/paragraph position.
17734
17735         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17736         Remove LFUN_REF_BACK.
17737
17738 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17739
17740         * converter.C (dvipdfm_options): New method.
17741
17742 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17743
17744         * vspace.C (isValidLength): Fix for empty input string.
17745
17746 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17747
17748         * LyXAction.C (init): change description of LFUN_FIGURE to
17749         "Insert Graphics"
17750
17751 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17752
17753         * LaTeX.C: add using directive
17754
17755 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17756
17757         * MenuBackend.C (expand): Fix the sorting of the formats.
17758
17759 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17760
17761         * lyx_main.C: tiny error message fix
17762
17763 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17764
17765         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17766         calling fl_initialize(). This fixes the problem with ',' as
17767         decimal separator in text files.
17768
17769 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17770
17771         * trans.C (process): Fix the keymap bug.
17772
17773 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17774
17775         * LaTeX.C (scanAuxFiles): New method. Provides support for
17776         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17777         (scanLogFile) Scan for "run BibTeX" messages.
17778
17779         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17780         OT1 font encoding. Also, load the aecompl package if the ae
17781         package is loaded.
17782
17783         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17784
17785 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17786
17787         * texrow.C (increasePos): turn two error messages into debug
17788         messages.
17789
17790 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17791
17792         * LaTeX.C (scanAux): Handle the \@input macro.
17793         (runBibTeX): Use scanAux().
17794
17795         * language.C (latex_options_): New field.
17796
17797         * LaTeXFeatures.C (getMacros): Add language macros.
17798
17799         * buffer.C (makeLaTeXFile): Small fix.
17800
17801 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17802
17803         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17804
17805         * text2.C: add a using directive.
17806
17807 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17808
17809         * BufferView2.C:
17810         * lyx_gui_misc.h:
17811         * lyxfr1.C:
17812         * lyxfunc.C: kill LyXBell.
17813
17814 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17815
17816         * text.C (IsBoundary): Remove the error message
17817
17818         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17819
17820         * lyxrc.C (setDefaults): Correct initialization value for
17821         font_norm_type.
17822
17823 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17824
17825         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17826         gotoError().
17827
17828         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17829         and GotoNextNote().
17830
17831         * src/LyXAction.C: Added reference-next.
17832
17833         * text.C (InsertChar): Use contains instead of strchr.
17834
17835         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17836
17837 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17838
17839         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17840         alignment commands (when needed).
17841
17842         * text.C (InsertChar): Add ':' to number separator chars.