]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
minor bibitem tweaks
[lyx.git] / src / ChangeLog
1 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text.C (redoParagraph): move cursor right after a bibitem 
4         has been inserted.
5
6         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography. 
7
8 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9
10         * buffer_funcs.C (bufferErrors): fix computation of the end of an
11         error range.
12
13 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
14
15         * BufferView.[Ch] (update):
16         * BufferView_pimpl.[Ch] (update, metrics):
17         * dimension.h (operator==):
18         * lyxfunc.C (dispatch):
19         * metricsinfo.h (ViewMetricsInfo):
20         * rowpainter.C (paintText):
21         * lyxtext.h:
22         * text.C (redoParagraph): 
23         * text3.C (dispatch): Make LyX only repaint current paragraph in
24         case of character insert --> speedup. Also fix cursor draw
25         artifacts
26
27 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
30         avoid a crash (bug 1891)
31
32 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         Fix bug 1892:
35         
36         * text2.C (getStringToIndex): constify cur argument.
37
38         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
39         argument has been given
40         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
41         try to invoke LFUN_INSET_APPLY).
42
43         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
44         if no inset was created by doInsertInset
45         (doInsertInset): return true if an inset has been inserted.
46
47 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * vspace.C (asGUIName): new method. A version of the space
50         suitable for showing on screen.
51
52 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
53
54         * MenuBackend.C:
55         * lyxrc.C: rename "ASCII" to "Plain Text"
56
57 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * buffer_funcs.C (expandLabel): take a Buffer as argument;
60         translate the labelstring.
61         (setCounter): translate labelstring as needed.
62
63         * output_docbook.C (makeCommand): fix expandLabel invokation
64
65 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
66
67         * BufferView.C: fix dialog title
68
69 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
70
71         * lyx_main.C (priv_exec): fix logic error with help from Angus
72         * lyx_main.C (parse_execute): set is_gui = false and remove now
73         obsolete comment about a segfault
74
75 2005-05-18  Angus Leeming  <leeming@lyx.org>
76
77         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
78
79 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
80
81         * tabular.[hC]: added setCellInset to fix tabular paste.
82
83 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
84
85         * buffer.C (save): check if destination is writable before trying
86         to copy a file
87
88 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
89
90         * BufferView_pimpl.C (update): fix processEvents -caused update
91         recursion bug
92
93 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * buffer_funcs.C (setCounter): fix test for numbering of
96         environments. 
97
98         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
99         depth correctly; use optional argument when it exists
100
101         * lyxtextclass.C: remove unused MaxCounterTags enum
102         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
103         (max_toclevel, min_toclevel): new methods.
104
105         * MenuBackend.C (expandToc2): fix case where depth is smaller than
106         the smallest depth in toc.
107
108         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
109         layouts that should not appear in a table of contents.
110         
111 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
112
113         * cursor.h (undispatched, noUpdate): add comments from André
114
115 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
116
117         * lfuns.h:
118         * LyXAction.C:
119         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
120
121 2005-05-07  André Pönitz  <poenitz@gmx.net>
122
123         * cursor.[Ch] (leaveInset): new function
124
125 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
126
127         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
128
129 2005-05-04  Angus Leeming  <leeming@lyx.org>
130
131         * lyxfunc.C (getStatus): disable the spell checker dialog if
132         none of USE_[AIP]SPELL are defined.
133
134 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
135
136         * tabular.C (setWidthOfCell): remove obsolete comment
137
138 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
139
140         * paragraph.C (bibitem):
141         * buffer_funcs.C (setCounter):
142         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
143
144 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
145
146         * text3.C (getStatus): immediately return after setOnOff
147
148         * rowpainter.C: fix drawing of appendix start
149
150 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
151
152         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
153         SwitchBetweenClasses and remove the unused return value.
154         Handle character styles, too
155
156 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * factory.C (createInset): handle undefined character styles
159
160 2005-05-02  Angus Leeming  <leeming@lyx.org>
161
162         * buffer.C: protect the #include of utime.h with a preprocessor
163         guard.
164
165 2005-05-02  Angus Leeming  <leeming@lyx.org>
166
167         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
168         function so that auto-saving works, albeit in a blocking manner.
169
170         * Makefile.am: make compilation of the client sub directory, of
171         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
172         on conditionals set at configure time.
173
174         * SpellBase.[Ch]: no longer an abstract base class. Instead,
175         it can be compiled in its own right but has no-op functionality.
176
177         * aspell.C, pspell.C: remove preprocessor guards. The files should
178         be compiled only if the necessary functionality exists.
179
180         * lyxserver.C, lyxsocket.C: disable on Windows.
181
182 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * text.C (leftMargin): Fix the parindent use bug (1764)
185         by dirty trick
186
187 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
188
189         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
190         argument.
191
192 2005-04-25  Angus Leeming  <leeming@lyx.org>
193
194         * Bidi.[Ch]:
195         * coordcache.[Ch]:
196         * ispell.C:
197         * lyxserver.C:
198         * mover.C:
199         * pch.h:
200         include <config.h> in .C files, not .h ones.
201         add licence blurb.
202         protect headers inside preprocessor guards.
203
204 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
205
206         * FuncStatus.h (StatusCodes): document
207
208 2005-04-21  André Pönitz  <poenitz@gmx.net>
209
210         * FuncStatus.h (enabled, onoff): document
211
212 2005-04-19  Angus Leeming  <leeming@lyx.org>
213
214         * BufferView_pimpl.C (cursorToggle): no longer test whether
215         any child processes have been reaped before calling
216         handleCompletedProcesses().
217
218 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * text3.C (dispatch): fix, finally fix, the language problem in
221         new lyxtexts, without disabling on-the-fly font changes (Helge's
222         bug report)
223
224 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
225
226         * text3.C (dispatch): set cursor on double/triple click events
227         (bug 1811)
228
229 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
232         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
233
234         * rowpainter.C (paintFirst): simplify the code a little bit. In
235         particular, remove the test for secnumdepth.
236         * text.C (setHeightOfRow): only allocate space for chapter number
237         when updateCounters provided an actual label, instead of looking
238         at secnumdepth directly.
239
240         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
241
242         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
243         paragraphs when secnumdepth is large enough or, for environments,
244         when they are not the first in a sequence.
245
246 2005-04-17  Angus Leeming  <leeming@lyx.org>
247
248         * buffer.C (makeLaTeXFile): replace code to manipulate a path
249         containing space and '~' characters with a call to latex_path().
250
251 2005-04-17  Angus Leeming  <leeming@lyx.org>
252
253         * converter.C (convert): protect all args of convertDefault.sh
254         script with quotes.
255
256 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * text3.C (dispatch): change the layout to "Caption" after inserting
259         a float.
260
261 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
262
263         * text3.C (dispatch): fix language problem in newly created
264         textinsets (and main text) in non-english docs
265
266 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
267
268         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
269         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
270         * text3.C (getStatus): disable LFUN_INSET_MODIFY
271
272 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
273
274         * lyxtext.h:
275         * text.C (metrics):
276         * text2.C (getFont):
277         * rowpainter.C (getFont): Fix metrics bug introduced by inset
278         fonts fix
279
280 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
283         output of \item arguments without trailing text.
284
285 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * FontIterator.C (operator*): avoid a copy of the font.
288
289 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
290
291         * rowpainter.C (getFont): fix language bug from previous fix
292
293 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
294
295         * rowpainter.C (RowPainter, getFont): fix font inside inset
296         (bugs 1766, 1809)
297
298 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
301         preventing inserted font, deco, delim insets jumping to start of
302         surrounding inset.
303
304 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * lyxfunc.C (dispatch): translate message before sending it to the
307         minibuffer.
308
309 2005-03-29  Angus Leeming  <leeming@lyx.org>
310
311         * lyx_main.C (priv_exec): call os::internal_path on each file passed
312         to LyX on the command line.
313
314 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
315
316         * vc-backend.C: use QuoteName to protect file names wherever
317         necessary.
318
319 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * buffer.[Ch]:
322         * BranchList.h: fix bugs 1844,1845: document settings don't
323         stick
324
325 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * lyxrc.C (setDefaults, read, output, getDescription): add support
328         for tex_allows_spaces.
329
330         * exporter.C (Export): allows files in directory containing spaces
331         if tex_allows_spaces is true.
332
333         * buffer.C (makeLaTeXFile): if the document path contains spaces,
334         output it in double quotes.
335
336 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
337
338         * rowpainter.C: use default text height for drawing change tracker
339         strikeout lines.
340
341 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
342
343         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
344
345 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
348         directory is missing.
349
350 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
351
352         * text2.C: fixed the fix, extended to other case.
353
354 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
355
356         * text2.C: fix for cursor up/down stuck in math [bug 1792]
357
358 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
359
360         * text2.C (cursorUp): get rid of a crash
361         * text.C (x2pos): add an assert
362
363 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * lyxfunc.C (getStatus): fix warning when assertions are disabled
366
367         * text3.C:
368         * lyxfunc.C:
369         * dociterator.C: include <boost/current_function.hpp>, which is
370         needed when assertions are disabled.
371
372 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
373
374         * text2.C: fix for stuck cursor when traversing two
375         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
376
377 2005-02-25  Andreas Vox  <avox@arcor.de>
378
379         * output_docbook.C (makeParagraph): suppress trailing newline
380         after a run of paragraphs
381
382 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
383
384         * paragraph.C: fix for confused change tracker when pasting
385         text that begins with a lineseparator. [bug 1827]
386         (setChange(0, Change::INSERTED);)
387
388         * paragraph_funcs.C: fix for lost changes on triple-paste
389         in change tracking mode [bug 1827] (par.setChange()).
390
391 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * text2.C (updateCounters, setCounter, expandLabel): move to
394         buffer_funcs.
395
396         * buffer_funcs.C (updateCounters): turn into a free standing
397         function and add a buffer parameter. Remove dead code for tracking
398         labelstring change.
399         (setCounter): change into a free-standing function which gets a
400         dociterator as argument. Use this iterator to fix captions in a
401         simple way. When no float is found above the caption, use the
402         labelstring of the caption layout as default.
403
404         * text.C (breakParagraph, backspace):
405         * text2.C (init, setLayout, changeDepth):
406         * text3.C (dispatch):
407         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
408         updateCounters.
409
410         * dociterator.C (forwardPar): make it much faster by calling
411         forwardPos() only when really necessary.
412
413         * output_docbook.C (makeCommand): adapt to expandLabel move.
414
415         * cursor.C: remove unused variable
416
417 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
418
419         * paragraph_funcs.C: fix crash when pasting insets in change
420         tracking mode [bug 1277] (honour change type in moveItem).
421
422 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
423
424         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
425
426 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
427
428         * BufferView.C (setCursor): change to use a DocIterator.
429         (gotoLabel): use BufferView::setCursor (other part of bug 781).
430         (putSelectionAt): adapt to BufferView::setCursor change.
431
432         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
433         moved here from LyXText and rewritten to use proper cursor
434         methods. Fixes bug 1787, 616 and 835.
435
436         * BufferView_pimpl.C (restorePosition): set the cursor correctly
437         when inside an inset (part of bug 781).
438         (dispatch): adapt to change of BufferView::setCursor.
439         (getStatus, dispatch): handle LFUN_GOTOERROR,
440         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
441
442         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
443         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
444         * text3.C (gotoNextInset, gotoInset): removed.
445
446 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
449
450 2005-02-15  Angus Leeming  <leeming@lyx.org>
451
452         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
453         can be used meaningfully in a comparison.
454
455 2005-02-13  André Pönitz  <poenitz@gmx.net>
456
457         * bufferview_funcs.C (coordOffset): improve cursor drawing
458
459 2005-02-13  André Pönitz  <poenitz@gmx.net>
460
461         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
462         * Cursor.C (dispatch): use fixIfBroken
463         * lyxfunc.C (getStatus): use fixIfBroken
464
465 2005-02-15  Angus Leeming  <leeming@lyx.org>
466
467         * lyx_main.C (error_handler):
468         * lyxfunc.C:
469         * lyxrc.C (setDefaults):
470         s/GetEnv/getEnv/.
471         #include "environment.h".
472
473         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
474
475 2005-02-15  Angus Leeming  <leeming@lyx.org>
476
477         * lyxserver.C (startPipe): squash MSVC warning "local variable
478         'fd' used without having been initialized".
479
480 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
481
482         * BufferView_pimpl.C: revert accidental commit.
483
484 2005-02-14  André Pönitz  <poenitz@gmx.net>
485
486         * dociterator.[Ch]: new member forwardPosNoDescent(),
487         which doesn't enter nested insets.
488         * text2.C (setFont): use forwardPosNoDescent() instead
489         of ForwardPos() (fixes crash on font change).
490
491 2005-02-13  Angus Leeming  <leeming@lyx.org>
492
493         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
494         only if lyxrc.path_prefix is not empty.
495
496 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
497
498         * bufferparams.C (readGraphicsDriver): prevent crash
499
500 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
501
502         * text2.C (setCounter): check for inInset() == 0
503
504 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
507         but use update() to get correct screen display; use convert
508         instead of istringstream.
509         (getStatus): handle LFUN_GOTO_PARAGRAPH
510
511         * lyxfunc.C (dispatch, getStatus): do not handle
512         LFUN_GOTO_PARAGRAPH here.
513
514 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
515
516         * text3.C (dispatch): size() -> depth()
517
518         * text2.C: remove some debug output
519
520         * paragraph.C: ws changes only
521
522         * lyxfunc.C (getStatus): size() -> depth()
523
524         * dociterator.h (clear, push_back, pop_back, internalData,
525         operator[], resize, empty): new functions
526         Make StableDocIterator and operator== be friends. Don't inherit
527         from std::vector use a privat class variable slices_ instead.
528         Modify to fit.
529
530         * dociterator.C: update because of not inheriting from std::vector
531         anymore. Call explictly to slices_ instead. Use depth() instead of
532         size() and top() instead of back()
533
534         * cursor.C: chagne size() -> depth and back() -> top(). Also
535         remove some direct operator[](i) calls in favour of foo[i]
536         (getFont): remove some dead code
537
538         * bufferview_funcs.C (coordOffset): size() -> depth()
539
540         * buffer.C: ws changes only
541
542         * CutAndPaste.C (eraseSelection): back() -> top()
543
544         * BufferView_pimpl.C (selectionRequested): back() -> top()
545
546         * BufferView.C (setCursor): size() -> depth()
547
548 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
549
550         * text3.C (cursorPrevious): return true if depm changed something
551         (cursorNext): ditto
552         (dispatch): rename sl to oldTopSlice, remove moving use the new
553         NoUpdate func attrib instead. Make sure that needsUpdate is set
554         for function that have NoUpdate, but where depm might have changed
555         the buffer anyway.
556
557         * text2.C (cursorLeft): make us return true if depm changed
558         something
559         (cursorRight): ditto
560         (cursorUpParagraph): ditto
561         (curosrDownParagraph): ditto
562         (cursorUp, cursorDown): ditto, make sure to read comments in code
563         (deleteEmptyParagraphMechanism): remove an assert, also return
564         true if just a single char was deleted.
565
566         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
567         cursor that we modify, to avoid modifying an active cursor before
568         we call setCursor. This allows depm to run. Also return true if
569         depm deleted something.
570
571         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
572         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
573         cursorDownParagraph, cursorPrevious and cursorNext, return true if
574         something was changed in the buffer because of them (ie. depm run)
575
576         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
577         debug messages. Make update by default be false. Make sure that
578         the result of update is retained throught several calls down to
579         dispatch.
580
581         * LyXAction.h: add a new func_attrib: NoUpdate
582
583         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
584         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
585         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
586         and LFUN_WORDLEFT
587         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
588
589 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
590
591         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
592         bv_->owner(), bv_->buffer() by direct references to the private
593         members.
594         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
595         (getStatus): isSavedPosition() is in BufferView::Pimpl.
596         (fitCursor): center() is in BufferView::Pimpl.
597         (getStatus, trackChanges, dispatch): no need for a temporary buf
598         variable
599         (fitCursor, workAreaDispatch): use workarea().workheight()
600
601 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
602
603         * CutAndPaste.C (pasteSelectionHelper): fix a crash
604
605 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
606
607         * buffer.C: format up to 241.
608         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
609         break if pasting into ERT
610         * lyxfunc.C (getStatus): suppress mathpanel and
611         LFUN_DIALOG_SHOW_NEW_INSET in ERT
612
613 2005-02-01  Angus Leeming  <leeming@lyx.org>
614
615         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
616
617 2005-02-01  Angus Leeming  <leeming@lyx.org>
618
619         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
620         calling fs::is_directory().
621
622 2005-01-31  Angus Leeming  <leeming@lyx.org>
623
624         * lyx_main.C (priv_exec): specify explicitly the relative location
625         of the top level build directory when run in-place.
626
627 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
630         LyXText containing the cursor, not the top-level one.
631
632         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
633         true.
634         (insertStringAsLines): rename par to pit; use temporary variable
635         par to hold a Paragraph; do not store par.layout() in a variable,
636         since the pointer may die when breaking paragraphs; pass pars to
637         breakParagraph() instead of Buffer::paragraphs().
638
639 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
640
641         * lyxlex_pimpl.h: #include <fstream>.
642
643         * BufferView.[Ch] (getLyXText): add a const version.
644
645         * BufferView_pimpl.C: add debug aids.
646
647         * RowList_fwd.h:
648         * buffer.h:
649         * lyxrow.h:
650         * paragraph_funcs.h: add commentary explaining what the class does.
651
652
653         * coordcache.[Ch]: add lots of commentary.
654         (startUpdating, doneUpdating): debug aids.
655         (arrays, insets, parPos, getParPos): accessors to private data.
656
657         * cursor_slice.[Ch] (text): add a const version.
658         * dociterator.[Ch] (text, innerText): add const versions.
659
660         * lyxtext.h (breakParagraph): change the keep_layout arg to a
661         bool.
662
663         * paragraph.C (getRow, pos2ros): add asserts.
664
665         * paragraph.h: add commentary. Lots of.
666
667         * paragraph.[Ch] (metrucs, draw): removed.
668
669         * cursor.C:
670         * rowpainter.[Ch]: const-correct changes.
671
672         * text.C: various obvious clean-ups. Removal of ancient cruft.
673         Bug fixes, even.
674
675 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
676
677         * vc-backend.C (find_file): rewrite to use boost.filesystem
678         (scanMaster): ditto
679
680         * main.C (main): set default name check for boost.filesystem to
681         no check
682
683         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
684         (open): ditto
685         (doImport): ditto
686         (actOnUpdatedPrefs): ditto
687
688         * lyx_main.C (init): rewrite to use boost.filesystem
689         (queryUserLyXDir): ditto
690
691         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
692         (getContentsOfAsciiFile): ditto
693
694         * lastfiles.C (readFile): rewrite to use boost.filesystem
695
696         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
697
698         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
699         (loadLyXFile): ditto
700
701         * buffer.C (Buffer): adjust for destroydir
702         (getLogName): rewrite to use boost.filesystem
703         (setFileName): ditto
704         (save): use fs::copy_file (from fs_extras)
705
706         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
707
708         * LaTeX.C (run): rewrite to use boost.filesystem
709         (scanAuxFiles): ditto
710         (handleFoundFile): ditto
711
712 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
713
714         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
715
716         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
717
718 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
719
720         * lyxlayout.[Ch]: change some vars from float to double
721
722         * buffer.C (readFile): make a local var const
723
724         * Several files: use convert<> instead of atoi,strToXXX and friends
725
726 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
727
728         * LaTeXFeatures.[Ch]: Add a static list packages_ that
729         holds the contents of packages.lst. New functions getAvailable
730         and isAvailable to parse and check that list, resp.
731
732         * LyXAction.C:
733         * lfuns.h:
734         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
735
736         * bufferparams.[Ch]: new param output_changes.
737
738         * Buffer.C: increase file format to 240.
739         Use output_changes and isVailable.
740
741         * changes.[Ch]:
742         * paragraph.C:
743         * paragraph_pimpl.C: Use output_changes and isVailable.
744
745 2005-01-23  Angus Leeming  <leeming@lyx.org>
746
747         * output_latex.C: #include "insetbibitem.h", rather than
748         forward declare function bibitemWidest.
749
750 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
751
752         * lyx_main.C (init): make it compile on the Mac.
753
754 2005-01-20  Angus Leeming  <leeming@lyx.org>
755
756         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
757         (setLyXMisc): (char string literal) != (char string literal) is
758         performing a comparison on the addresses. Convert one operand
759         explicitly to string to guarantee expected behaviour.
760         From MSVC warning.
761
762 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
763
764         * buffer.C:
765         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
766
767         * output_plaintext.C: remove unneeded #include gzstream.h.
768
769 2005-01-20  Angus Leeming  <leeming@lyx.org>
770
771         * SpellBase.h: rename some of the elements of the Result enum.
772
773         * aspell_local.h:
774         * ispell.h:
775         * pspell.h:
776         * aspell.C (check):
777         * ispell.C (check):
778         * pspell.C (check): ditto
779
780 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
781
782         * buffer.C: add #include <fstream>.
783
784         * lyx_main.C (init): Compile fix.
785
786         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
787
788 2005-01-20  Angus Leeming  <leeming@lyx.org>
789
790         * mover.h: change commentary to reflect the changed meaning of
791         the $$s placeholder.
792
793 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         * output_linuxdoc.C (linuxdocParagraphs): silence warning
796
797         * lyxfind.C (MatchString::operator()): remove bogus semicolon
798
799 2005-01-20  Angus Leeming  <leeming@lyx.org>
800
801         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
802         printing diagnostic data by not dereferecing an iterator past the
803         end.
804
805 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
806
807         * buffer.C (readHeader): use "&&" rather than "and".
808
809         * lyxserver.h (inPipeName, outPipeName): make these const.
810
811 2005-01-19  Angus Leeming  <leeming@lyx.org>
812
813         * lyx_main.C (error_handler, init): protect SIGHUP with
814         #ifdef SIGHUP guards.
815
816 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
819
820 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * text.C (setHeightOfRow): add a margin at the top and bottom of
823         the document (bug 1761)
824
825 2005-01-17  Angus Leeming  <leeming@lyx.org>
826
827         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
828         with "python ". Workaround for a brain-dead Windows.
829
830 2005-01-16  Angus Leeming  <leeming@lyx.org>
831
832         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
833         for MacOSX and Windows to use prependEnvPath.
834         Strip out the hard-coded block to add elements to the PATH for
835         MacOSX and replace it with a call to prependEnvPath using the
836         contents of LyXRC::path_prefix.
837         (queryUserLyXDir): strip out the code to run reconfigure, instead
838         returning a boolean indicating the necessity to do so.
839         (reconfigureUserLyXDir): contains the code to reconfigure the
840         user support directory. Is now called after the various LyXRC data
841         files have been read.
842
843         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
844
845 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * converter.[Ch] (convert): take a new parameter try_default. Use
848         a default converter (imagemagick) if try_default is true.
849
850 2005-01-13  Angus Leeming  <leeming@lyx.org>
851
852         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
853         os::cygwin_path_fix.
854         (write): output LyXRC::cygwin_path_fix as necessary.
855
856 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
857
858         * lyxrc.h:
859         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
860
861 2005-01-12  Angus Leeming  <leeming@lyx.org>
862
863         * lyx_main.C (init): set the PATH variable to include the
864         directory containing the LyX binary when running on Mac or Windows.
865
866 2005-01-12  Angus Leeming  <leeming@lyx.org>
867
868         * lyx_main.C (init): remove cruft that purports to set the locale
869         dir. It doesn't and is not needed anyway.
870
871 2005-01-10  Angus Leeming  <leeming@lyx.org>
872
873         * Makefile.am: remove the lyx_main.C special casing.
874
875         * BufferView_pimpl.C:
876         * bufferlist.C:
877         * exporter.C:
878         * lyx_cb.C:
879         * lyx_main.C:
880         * lyxfunc.C:
881         * messages.C: use support/package.h to provide the paths to the
882         various directories used by LyX.
883
884 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
885
886         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
887         layout if pasting into an empty paragraph)
888
889 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * tex-accent.C: add <string>
892
893 2005-01-06  José Matos  <jamatos@lyx.org>
894
895         * ParagraphParameters.C (write): put every parameter in its own line.
896         * paragraph.C (write): reduce number of consecutive empty lines exported.
897         * buffer.C (LYX_FORMAT): increase file format to 239.
898
899 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
900
901         * everywhere: change support/tostr.h -> support/convert.h
902
903         * tabular.C: make all write_attributes templates, tostr -> convert
904
905         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
906         (emptyTag): and -> &&, and fix type for ret from getChar
907         (getFirstWord): fix type for ret from getChar
908         (onlyText): and -> &&
909         (simpleDocBookOnePar): and not -> && !, fix type for ret from
910         getChar
911
912         * toc.C (goTo, action):
913         * text3.C (dispatch):
914         * text.C (currentState):
915         * tex-accent.C (DoAccent):
916         * sgml.C:
917         * lyxrc.C:
918         * lyxfunc.C (menuNew):
919         * lyxfinc.C (replace):
920         * counters.C (laberItem):
921         * bufferview_funcs.C (font2string):
922         * bufferparams.C (writeFile):
923         * buffer.C (readFile):
924         * Spacing.C (set):
925         * MenuBackend.C: tostr -> convert
926
927         * LaTeX.C (runMessage): fix format
928         (scanAuxFiles): tostr -> convert
929
930         * BufferView_pimpl.C (savePosition): fix format
931         (restorePosition): ditto
932         (dispatch): ditto
933
934 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
935
936         * Spacing.[Ch]: New method getValueAsString().
937
938         * Spacing.[Ch]:
939         * bufferparams.C:
940         * ParagraphParameters.C:
941         * lyxlayout.C:
942         * text.C:
943         * text3.C: store/read spacing value as string.
944
945         * rowpainter.C: change float value (spacing_val) to double.
946
947         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
948         broken custom document spacing).
949
950 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
951
952         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
953         namespace, also more use of temp references and const
954
955         * cursor.[Ch] (getStatus): move to lyxfunc.C
956
957         * bufferparams.C: reformat slightly
958
959         * bufferview_funcs.C (font2string): constify arg
960
961         * changes.C:
962         * converter.C:
963         * counters.C:
964         * bufferlist.C:
965         * buffer_funcs.C: (many funcs): constify arg on function
966         definitions, also make more local vars const, also add ASSERTS on
967         pointer args.
968
969         * buffer.C (LYX_FORMAT): put const in correct place
970         (many funcs): constify arg on function definitions, also make
971         more local vars const
972
973         * aspell_local.h: remove "struct" from typdef setup
974
975         * aspell.C (check): make word_ok const
976         (nextMiss): simplify slightly
977         (error): ditto
978
979 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
980
981         * lyxrc.[Ch]: store all float values as strings.
982         use int (not float) for lyxrc.dpi.
983
984 2005-01-04  Angus Leeming  <leeming@lyx.org>
985
986         * lyx_cb.C (Reconfigure):
987         * lyx_main.C (queryUserLyXDir):
988         to run the <system_lyxdir>/configure correctly on Windows, prefix
989         the path to the script with "sh " when generating the string that
990         is passed to system().
991
992 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
993
994         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
995
996 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
997
998         * lyxlength.C (asLatexString): get rid of setprecision
999
1000 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1001
1002         * text2.C (setLayout): remove unused variable endpit.
1003         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1004
1005         * paragraph.C (onlyText): remove unused variable style.
1006
1007         * cursor.C (bruteFind): remove unused variables beg and end.
1008
1009         * Makefile.am (dist_noinset_DATA): not needed anymore
1010
1011         * cheaders/*: remove.
1012
1013 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1014
1015         * text3.C: fix LFUN_MATH_MODE.
1016
1017 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1018
1019         * buffer_funcs.C (countWords): new function. Counts words between
1020         two iterators.
1021
1022         * BufferView_pimpl.C (getStatus, dispatch): handle
1023         LFUN_WORDS_COUNT.
1024
1025         * LyXAction.C (init):
1026         * lfuns.h: add LFUN_WORDS_COUNT.
1027
1028 2004-12-19  Angus Leeming  <leeming@lyx.org>
1029
1030         * buffer.C (save): s/slashify_path/internal_path/.
1031
1032 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1033
1034         * lyxfind.C (findChange): do not search for end of pars, because
1035         the change tracker cannot handle this (fixes bug 1719).
1036
1037 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1038
1039         * paragraph.[Ch] (autoBreakRows): remove
1040
1041         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1042
1043         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1044         avoid using the paragraph one
1045
1046         * text2.C (LyXText, insertStringAsLines): adjust
1047
1048 2004-12-16  Angus Leeming  <leeming@lyx.org>
1049
1050         * bufferlist.C:
1051         * lyx_main.C:
1052         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1053
1054 2004-12-14  Angus Leeming  <leeming@lyx.org>
1055
1056         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1057
1058         * bufferlist.C (emergencyWrite):
1059         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1060         GetEnvPath("HOME").
1061
1062 2004-12-14  Angus Leeming  <leeming@lyx.org>
1063
1064         * main.C: (main): no longer pass pointers to os::init.
1065
1066 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1067
1068         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1069         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1070
1071 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1072
1073         * lyxfunc.C:
1074         * text3.C: remove selection_possible global flag
1075
1076 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * text2.C (getSelectionSpan): remove
1079         (changeDepth, changeDepthAllowed): adjust
1080
1081 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1082
1083         * Makefile.am (BOOST_LIBS): use boost variables
1084
1085 2004-12-03  José Matos  <jamatos@lyx.org>
1086
1087         * buffer.C: format up to 238.
1088
1089 2004-12-03  José Matos  <jamatos@lyx.org>
1090
1091         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1092
1093 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1094
1095         * cursor.C (goUpDown): remove call to idxUpDown2
1096
1097 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1098
1099         * tabular.[Ch]: use size_t-like types for cell, row and column
1100         indices
1101
1102 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1103
1104         * lyxfunc.C (getStatus): do not lose previous information when
1105         calling BufferView::getStatus; do not set a default "Command
1106         disabled" message at the beginning, but just before returning.
1107
1108 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1109
1110         * cursor.h (getStatus): add better comment from src/cursor.C
1111
1112 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * text3.C (getStatus): return false when the lfun is not handled
1115
1116 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1117
1118         * broken_headers.h: remove
1119
1120         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1121
1122 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1125         offset_ref accessors
1126
1127         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1128         top_y_, merge fitcursor with update
1129         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1130         coord scheme
1131         (metrics): introduce
1132         (workAreaDispatch): adapt to new coord scheme
1133         (redoCurrentBuffer): remove
1134
1135         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1136
1137         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1138         CurStatus enum.
1139
1140         * coordcache.[Ch]: add paragraph cache and helpers
1141
1142         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1143         adjust everywhere
1144
1145         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1146         (targetX, setTargetX): introduce
1147
1148         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1149         baseline -> ascent, as the rest of lyx
1150
1151         * lyxtext.h: remove redoParagraphs, updateParPositions,
1152         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1153         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1154         have ascent/descent (ascent is ascent of first par)
1155
1156         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1157         step of BufferView
1158
1159         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1160
1161         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1162
1163         * pariterator.C: fix infinite loop introduced in par->pit renaming
1164
1165         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1166         in insets and LyXText, draw two off-screen paragraphs using
1167         NullPainter, and adapt to new coord scheme
1168
1169         * text.C:
1170         * text2.C:
1171         * text3.C: adapt lfun handlers to the new coord scheme, which
1172         means: there's only guaranteed coord information for onscreen pars
1173         plus one above and one below. This implies that one can do search
1174         from y coordinates in the range [-1,workHeight]
1175
1176 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1177
1178         * rename a lot of InsetOld to InsetBase
1179
1180 2004-11-25  Angus Leeming  <leeming@lyx.org>
1181
1182         * BufferView_pimpl.C:
1183         * lyx_cb.C:
1184         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1185
1186 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1189         call BufferView::getStatus if LCursor::getStatus did nothing
1190         (setStatusMessage, getStatusMessage): removed.
1191
1192         * FuncStatus.C (message): new methods. Used to provide an error
1193         message indicating why a command is disabled.
1194         (clear, |=, FuncStatus): update for message.
1195
1196 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1197
1198         * lyxfunc.C (dispatch): always call sendDispatchMessage
1199
1200 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1201
1202         * BufferView.C:
1203         * BufferView_pimpl.C:
1204         * CutAndPaste.C:
1205         * FontIterator.C:
1206         * buffer.C:
1207         * cursor.C:
1208         * cursor_slice.[Ch]:
1209         * dociterator.[Ch]:
1210         * lyxfind.C:
1211         * paragraph_funcs.C:
1212         * pariterator.C:
1213         * rowpainter.C:
1214         * text.C:
1215         * text2.C:
1216         * text3.C:
1217         * undo.C: par->pit renaming
1218
1219 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1220
1221         * tabular.C (cellstruct): use initialization, store a shared_ptr
1222         to insettext instead of the insettext directly, adjust to fit.
1223         (operator=):  new function
1224         (swap): new function
1225         (rowstruct): use initialization
1226         (columnstruct): use initialization
1227         (ltType): use initialization
1228
1229
1230         * lyxlength.h (swap): new function
1231
1232         * LColor.[Ch] (operator=): use the common semantics
1233
1234 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1235
1236         * lyxfind.C (findNextChange): update the bufferview after setting
1237         the selection.
1238
1239 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240
1241         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1242         number of InsetOptArgs has already been inserted.
1243
1244         * output_latex.C (latexOptArgInsets): new method. This outputs all
1245         the optarg insets, up to the limit defined in the layout file.
1246         (optArgInset): removed
1247         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1248
1249 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * paragraph.C (isLetter): remove special spellchecker-related
1252         code; return true also for digits
1253         (isWord, isKomma): remove
1254
1255         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1256         * lyxfind.C (MatchString()): use isLetter instead of isWord
1257
1258 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1259
1260         * pariterator.h (operatir=): comment out un-implemented member
1261         function.
1262
1263         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1264         static cast.
1265
1266 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1267
1268         * lyxfont.h: include LColor.h to satisfy concept checks.
1269
1270 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1271
1272         * pariterator.h: add typdefs for value_type, difference_type,
1273         pointer and reference to satisfy concept checks. Also add default
1274         constructor for same reason.
1275
1276         * pariterator.C (operator++): add post-increment operator to
1277         satisfy concept checks.
1278
1279         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1280         checks.
1281
1282         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1283
1284         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1285         checks. Also rename base_type to BaseType to follow naming
1286         standard better.
1287
1288         * FloatList.h: include Floating.h to satisfy concept checks.
1289
1290 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * lyxfunc.C (getStatus): when the origin of the request is menu or
1293         toolbar, and the LyXView does not have focus, do as if there was
1294         no buffer (bug 1720)
1295
1296         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1297         FuncRequest to individual entries of LFUN_SEQUENCE
1298
1299 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * output_latex.C (TeXOnePar): override runparams.moving_arg
1302         according to the needprotect value of the current paragraph (bug
1303         1739)
1304
1305         * paragraph.C (simpleTeXOnePar): no need to override
1306         runparams.moving_args here
1307
1308 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1309
1310         * vspace.C: fix off-by-one-error, related to fix #1682
1311
1312 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1313
1314         * lengthcommon.C: a more general fix for bug 1682
1315
1316 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * text.C (backspace): fix crash
1319
1320 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1321
1322         * format.[Ch] (getFormatFromFile): new method
1323         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1324
1325 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1326
1327         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1328
1329 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1330
1331         * lyxfunc.C (dispatch): remove the verbose argument
1332         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1333         instead
1334
1335         * kbmap.C (defkey): set the origin of func to KEYBOARD
1336
1337         * MenuBackend.C (MenuItem):
1338         * ToolbarBackend.C (add): set the origin of func to UI
1339
1340         * funcrequest.[Ch]: add origin member, which indicates which part
1341         of LyX requests an action
1342
1343 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1344
1345         * converter.C (move): don't lie in the error message
1346         * converter.h (isReachable, move): document
1347
1348 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1349
1350         * buffer.C: remove unused using lyx::support::atoi
1351         * paragraph_funcs.C: ditto
1352
1353 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1354
1355         * bufferlist.C (exists): use bind and equal_to instead of
1356         compare_memfun
1357         (getBuffer): ditto
1358         * lyxtextclasslist.C (NumberOfClass): ditto
1359
1360         * cursor.C (insert): use for_each instead of explicit for loop
1361
1362         * bufferlist.C (getFileNames): use std::transform and
1363         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1364
1365         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1366         for loop
1367
1368         * buffer.C (changeLanguage): use for_each instead of explicit for
1369         loop
1370         (hasParWithID): implement using getParFromID
1371
1372         * LaTeXFeatures.C: ws change only
1373
1374         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1375         to cleanup a bit.
1376
1377         * BufferView_pimpl.C (trackChanges): use for_each instead of
1378         expilicit for loop
1379
1380 2004-11-04  André Pönitz  <poenitz@gmx.net>
1381
1382         * undo.h:
1383         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1384
1385         * dociterator.C (asDocIterator): use hard assert again.
1386
1387 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1388
1389         * lyxlength.C (asLatexString): rewrite so that it does not use
1390         snprintf anymore
1391
1392 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * text3.C (specialChar, dispatch): make sure cursor moves to the
1395         right after inserting an inset
1396
1397 2004-11-02  José Matos  <jamatos@lyx.org>
1398
1399         * output_docbook.C (docbook):
1400         * paragraph.C (getID):
1401         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1402         garantee that the output is always legal.
1403
1404         * tabular.C (docbook):
1405         * outputprams.[Ch]: remove mixed contents.
1406
1407 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1408
1409         * text2.C (setCounter): prevent endless loop
1410
1411 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1412
1413         * exporter.C (copyFile): use the mover instead of support::copy()
1414         * exporter.C (Export): pass format and latex name to copyFile()
1415         * exporter.h (addExternalFile): document
1416         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1417
1418 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1419
1420         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1421
1422 2004-10-30  José Matos  <jamatos@lyx.org>
1423
1424         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1425         text and no inset or font change. This allows to use CDATA
1426         sections just for the whole paragraph.
1427
1428 2004-10-30  José Matos  <jamatos@lyx.org>
1429
1430         * paragraph.C (getFirstWord): remove unused variable.
1431
1432 2004-10-30  José Matos  <jamatos@lyx.org>
1433
1434         * paragraph.C (getFirstWord): the content should always be escaped
1435         there.
1436         (simpleDocBookOnePar):
1437         * output_docbook.C (makeEnvironment): replace reference to CDATA
1438         to style pass_thru.
1439
1440 2004-10-30  José Matos  <jamatos@lyx.org>
1441
1442         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1443
1444 2004-10-30  José Matos  <jamatos@lyx.org>
1445
1446         * output_docbook.C (makeParagraphs):
1447         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1448         standard paragraph has only a given type of content drop the wrapper.
1449
1450 2004-10-29  José Matos  <jamatos@lyx.org>
1451
1452         * output_docbook.C (makeEnvironment):
1453         * sgml.C (openTag):
1454         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1455
1456 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1457
1458         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1459         (cleanID): sanitize any id.
1460
1461 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1462
1463         * buffer.C, lyxlex_pimpl.C:
1464         * lyxlex_pimpl.C (setFile):
1465         s/getExtFromContents/getFormatFromContents/
1466
1467 2004-10-28  José Matos  <jamatos@lyx.org>
1468
1469         * output_docbook.C (makeEnvironment): move id to broadest possible
1470         scope.
1471
1472         * sgml.C (openTag): apply substitution of <> for all attributes.
1473
1474 2004-10-28  José Matos  <jamatos@lyx.org>
1475
1476         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1477         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1478         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1479
1480         * sgml.[Ch]: new version for open and closeTag for paragraph and
1481         for strings. Now they handle the ids of paragraphs.
1482
1483 2004-10-26  Angus Leeming  <leeming@lyx.org>
1484
1485         * Makefile.am: add mover.[Ch].
1486
1487         * converter.C (convert, move): use the new Movers to move external
1488         files to the temp directory.
1489
1490         * lyx_main.C (init): ensure that the global system_movers data
1491         is initialised.
1492
1493         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1494         preferences file.
1495
1496         * mover.[Ch]: new files, defining a Mover as a utility to move an
1497         external file between directories and, if necessary, manipulate this
1498         file using a helper script.
1499
1500 2004-10-25  José Matos  <jamatos@lyx.org>
1501
1502         * output_docbook.C (makeCommand): merge two if's that tested the
1503         same condition.
1504
1505 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1506
1507         * sgml.C (escapeString): fix warning in a better way
1508
1509 2004-10-25  José Matos  <jamatos@lyx.org>
1510
1511         * sgml.C (escapeString): import the require boosts header file for
1512         tie, and avoid a signed unsigned comparison.
1513
1514 2004-10-25  José Matos  <jamatos@lyx.org>
1515
1516         * sgml.h: add #include <string>
1517
1518 2004-10-25  José Matos  <jamatos@lyx.org>
1519
1520         * sgml.[Ch] (escapeString): new function to escape all the string.
1521
1522 2004-10-24  José Matos  <jamatos@lyx.org>
1523
1524         * paragraph.[Ch] (getFirstWord): new function to get the first
1525         word. Useful for description.
1526         (simpleDocBookOnePar): remove depth argument, add another that
1527         says where to start the paragraph.
1528
1529         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1530         use the new functions to fix cleanly the support for descriptions.
1531
1532 2004-10-24  José Matos  <jamatos@lyx.org>
1533
1534         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1535         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1536         * output_linuxdoc.C (linuxdocParagraphs):
1537         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1538         add buffer as argument.
1539
1540 2004-10-24  José Matos  <jamatos@lyx.org>
1541
1542         * output_docbook.C (makeEnvironment, searchEnvironment): place
1543         CDATA inside paragraphs and fix scope for listitems.
1544
1545 2004-10-24  José Matos  <jamatos@lyx.org>
1546
1547         * output_docbook.C: remove using statement for stack.
1548
1549 2004-10-23  José Matos  <jamatos@lyx.org>
1550
1551         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1552         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1553         docbook. The new scheme is recursive and makes use of iterators, the
1554         same as latex export works.
1555         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1556         directly with the paragraph contents. This code was moved up to
1557         output_docbook.C (docbookParagraphs).
1558         * sgml.C (openTag, closeTag): removed unneeded newlines.
1559         (closeEnvTags) removed.
1560
1561 2004-10-23  André Pönitz  <poenitz@gmx.net>
1562
1563         * undo.C (textUndoOrRedo):
1564         * dociterator.C (asDocIterator): work around crash
1565
1566         * cursor.C (getStatus): replace ASSERT by more verbose error message
1567           and manual correction of the problem. Should increase stability
1568           while providing more sensible information.
1569
1570 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1573
1574         * bufferlist.C (previous, next): new methods
1575
1576         * lfuns.h:
1577         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1578
1579 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1580
1581         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1582         entities to preamble.
1583
1584 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1585
1586         * messages.C (Pimpl): strip off translation context information
1587
1588 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1589
1590         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1591         the cursor is correct (bug 1694)
1592
1593 2004-10-13  José Matos  <jamatos@lyx.org>
1594
1595         * output_docbook.C (docbookParagraphs): fix closing tags in the
1596         end of the document.
1597
1598 2004-10-09  José Matos  <jamatos@lyx.org>
1599
1600         * buffer.C: format up to 237.
1601         * bufferparams.C (write): use tostr to convert booleans to strings.
1602
1603 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1604
1605         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1606
1607 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1608
1609         * LaTeX.C: implement use of babel language in xindy.
1610
1611 2004-10-05  José Matos  <jamatos@lyx.org>
1612
1613         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1614         Add new translators to help reading and writing the lyx file.
1615
1616 2004-10-05  José Matos  <jamatos@lyx.org>
1617
1618         * ParagraphParameters.C (read):
1619         * text.C (readParToken): replace nexToken by more appropriate lex
1620         methods.
1621
1622 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1623
1624         * LaTeX.C (runMakeIndex):
1625         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1626         (usually 'makeindex') configurable.
1627
1628         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1629         with a variable rather than with a number.
1630
1631 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1632
1633         * output_latex.C (TeXOnePar): make sure font setting is the first
1634         thing that gets output (and the last at the end). Should fix bug
1635         1404.
1636
1637 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1638
1639         * pch.h: use proper signal include
1640
1641         * LaTeX.h: Use preferred calling of Boost.Signal
1642         * buffer.h: ditto
1643
1644 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1645
1646         * pch.h: dont include <boost/function/function0.hpp>
1647
1648         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1649
1650         * paragraph_pimpl.h: remove usage of ShareContainer
1651
1652         * paragraph_pimpl.C: remove initialization of ShareContainer.
1653
1654 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1655
1656         Fix bug #1666
1657
1658         * BufferView.C (putSelectionAt): change the semantics when
1659         backwards == true: now, this just swaps cursor and anchor wrt the
1660         forward case
1661
1662         * BufferView.h (putSelectionAt): add some documentation
1663
1664         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1665         make sure backwardChar is done at least once (to avoid getting
1666         stuck)
1667         (findNextChange): use putSelectionAt in the forward direction
1668         (operator()): use Paragraph::isWord
1669
1670 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1671
1672         * Spacing.C (set): c_str fix
1673
1674 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1675
1676         * lyx_cb.C (Reconfigure): quote the name of configure script in
1677         case it contains spaces
1678
1679 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1680
1681         * client: new dir
1682
1683         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1684         (BOOST_LIBS): use top_buildir when looking for the file
1685
1686 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1687
1688         * pch.h: do not use include boost/format.hpp, multiple symbols
1689                 will result (gcc bug)
1690
1691
1692 2004-08-23  José Matos  <jamatos@lyx.org>
1693
1694         * bufferparams.C (readToken): fix reading of the author field.
1695
1696 2004-08-20  José Matos  <jamatos@lyx.org>
1697
1698         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1699
1700 2004-08-20  José Matos  <jamatos@lyx.org>
1701
1702         * lyxlex.[Ch] (findToken): remove function.
1703
1704         * ParagraphParameters.C (findToken):
1705         * bufferparams.C (findToken): replace call for previous function
1706         with local copy. This local function has one more argument, the
1707         read string argument.
1708
1709 2004-08-16  José Matos  <jamatos@lyx.org>
1710
1711         * ParagraphParameters.C (write):
1712         * Spacing.C (writeFile):
1713         * bufferparams.C (writeLaTeX):
1714         * lyx_cb.C (Reconfigure):
1715         * paragraph.C (write):
1716         * tabular.C (write): remove unnecessary space at end of line.
1717
1718
1719 2004-08-16  José Matos  <jamatos@lyx.org>
1720
1721         * text.C (readParagraph): remove debug message.
1722
1723 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1724
1725         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1726         crash
1727
1728         * output_plaintext.C (asciiParagraph): set depth correctly
1729
1730         * outputparams.h: add member depth
1731
1732         * paragraph_funcs.C (ownerPar): remove.
1733
1734         * text2.C (setCounter): remove first_pit; comment out some
1735         non-working code that uses ownerPar
1736
1737         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1738         uses ownerPar
1739
1740 2004-08-16  José Matos  <jamatos@lyx.org>
1741
1742         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1743         For the same level of importance use the same chanel to report problems.
1744         (read): add code to deal with \begin_body and \end_body.
1745
1746
1747 2004-08-15  José Matos  <jamatos@lyx.org>
1748
1749         * lyxlex.C (getString): fix comment, buffer::readBody is now
1750         buffer:readDocument.
1751
1752         * tex-strings.C (string_papersize): Default -> default,
1753         Custom -> custom, for consistency with other options.
1754
1755 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1756
1757         * pch.h: new file
1758
1759         * Makefile.am: support pch
1760
1761 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * text.C (readParToken): remove the static LyXFont variable and
1764         pass it as a parameter instead. This fixes a nasty bug where an
1765         inset will be inserted with a bad font in some situations
1766         (readParagraph): adapt
1767
1768         * text2.C (setCounter): reduce number of calls to pars_[pit]
1769
1770         * text.C (singleWidth): add an assert, fix a test
1771
1772         * rowpainter.C (paintText): reduce number of calls to singleWidth
1773
1774         * paragraph.C (isHfill):
1775         (isNewline): ws only
1776
1777 2004-08-14  André Pönitz  <poenitz@gmx.net>
1778
1779         * text.C:
1780         * text2.C:
1781         * rowpainter.C:
1782         * lyxtext.h (several functions): use a Paragraph & argument
1783         instead of par_type
1784
1785 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1788
1789         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1790
1791         * text.C (singleWidth): remove useless test
1792
1793 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1794
1795         * tabular.h: remove bogus comments
1796
1797         * tabular.C (getDescentOfRow):
1798         (isPartOfMultiColumn): add assertions
1799
1800         * lyxlength.C (inPixels): remove #warning
1801
1802 2004-08-14  André Pönitz  <poenitz@gmx.net>
1803
1804         * paragraph.h: inline getChar()
1805
1806         * BufferView.h: remove unused declarations
1807
1808 2004-08-14  José Matos  <jamatos@lyx.org>
1809
1810         * Buffer.[Ch] (readDocument): new name for old readBody.
1811         * Buffer.C: new file format, new keywords: \begin_document,
1812         \begin_header, \begin_body, \end_body.
1813
1814         * bufferparams.C (readToken): replace all calls to lex.nextToken
1815         by lex.next(). Do the same to eatLine except where really needed.
1816
1817         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1818         line when writing to the lyx file.
1819
1820         * output_plaintext.C (asciiParagraph): fix Bibliography style
1821         handling.
1822
1823         * text.C (read): fix end of file handling.
1824
1825 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * MenuBackend.C (Menu::operator[]): new method to access
1828         individual menu items
1829         (Menu::hasFunc): new method. search for an item that corresponds
1830         to a given func
1831         (MenuBackend::specialMenu): new method
1832         (MenuBackend::expand): if a special menu has been set, skip
1833         entries whose func() appears in this menu
1834
1835 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1836
1837         * text3.C: use Debug::DEBUG a bit more
1838
1839         * text.C (leftMargin): try to simplify a tiny bit change var x to
1840         l_margin. Dont output the wide margins always.
1841         (rightMargin): no margin in inner texts
1842
1843         * rowpainter.h (nestMargin): new func
1844         (changebarMargin): new func
1845         (rightMargin): new func
1846
1847         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1848         now functions.
1849         (paintLast): ditto
1850
1851         * factory.C (createInset): modify setDrawFrame
1852
1853         * cursor.C: use Debug::DEBUG a bit more
1854
1855 2004-08-14  André Pönitz  <poenitz@gmx.net>
1856
1857         * coordcache.[Ch]:
1858         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1859         cache for all insets in (at least partially) visible (top-level)
1860         paragraphs.
1861
1862         * BufferView_pimpl.C: reset external coord cache before every update.
1863         This means the coord cache only contains valid entries.
1864
1865 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1866
1867         bug 1096
1868         * BufferView_pimpl.C (getInsetByCode): move function out of class
1869         and change in to a template in anon namespace. Also fix to do what
1870         suits us better.
1871
1872 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1873
1874         bug 1305
1875         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1876         of char
1877         (breakParagraph): rename par to par_offset and use a local
1878         reference. Add code to keep the language over a rebreak.
1879         (breakParagraphConservative): rename par to par_offset, use a
1880         local reference
1881         (mergeParagraph): ditto
1882         (outerHook): ditto
1883         (isFirstInSequence): ditto
1884         (outerFont): rename pit to par_offset
1885
1886         * paragraph.C: ws change
1887         * paragraph.h: ditto
1888         * text3.C: ditto
1889         * text.C: ditto
1890
1891 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1894         treatment for ']'
1895
1896         * paragraph.C (simpleTeXOnePar): when we have a \item with
1897         optional argument, enclose the argument with curly brackets (in
1898         case it contains a closing square bracket)
1899
1900         * text2.C (editXY):
1901         * text2.C (editXY):
1902         * text3.C (checkInsetHit): constify
1903
1904 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1905
1906         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1907         documents (bug 1629)
1908
1909 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1910
1911         Fix toggling of collapsable insets with the mouse (bug 1558)
1912
1913         * lyxfunc.C (dispatch): adapt to LCursor changes
1914
1915         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1916         make sure that dispatch is not invoked twice
1917
1918         * cursor.C (needsUpdate): new method
1919         (dispatch): return void
1920         (result): new method, to access the DispatchResult of the cursor.
1921
1922 2004-08-13  José Matos  <jamatos@lyx.org>
1923
1924         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1925
1926 2004-08-13  André Pönitz  <poenitz@gmx.net>
1927
1928         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1929
1930         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1931           multiple cells
1932
1933 2004-08-12  André Pönitz  <poenitz@gmx.net>
1934
1935         * text3.C: take out the 'cursor right' form insertInset and only
1936         do it in those places when it is really needed. Fixes crash on
1937         C-m...
1938
1939 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1940
1941         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1942
1943         * BufferView_pimpl.C (setBuffer): initialize the current font of
1944         the underlying LyXText
1945
1946 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1947
1948         * kbsequence.C (print): use UI native formatting for menu
1949         shortcuts
1950
1951         * text.C (insertChar): call Paragraph::insertChar with a font
1952         argument (cosmetic)
1953
1954         * paragraph.C (insertInset, insertChar): the version that takes a
1955         LyXFont argument is now a wrapper around the other one (the
1956         opposite used to be true).
1957
1958         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1959         argument. Font setting is done in Paragraph now.
1960
1961 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1962
1963         * outputparams.h: add new members intitle and lang.
1964
1965         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1966         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1967
1968 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1969
1970         * text3.C (dispatch): remove special handling of button 4 and 5,
1971         it is now taken care of in the frontend code.
1972
1973 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1974
1975         * Spacing.h: add <string> (STLPort compile fix)
1976
1977 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1978
1979         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1980
1981 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1982
1983         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1984         to bool.
1985
1986         * converter.C (showMessage): inherit from unary_function, make
1987         operator() const.
1988
1989         * buffer.C (writeFile): initialize retval
1990
1991         * InsetList.h: rename private variable list to list_
1992         * InsetList.[Ch]: adjust accordingly.
1993
1994 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1995
1996         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1997         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1998         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1999         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2000         * ParagraphParameters.C, LaTeXFeatures.C: replace
2001         "support/std_sstream.h" with <sstream>
2002
2003 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2004
2005         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2006         * lyxsocket.C (LyXServerSocket): ditto
2007         (serverCallback): ditto
2008
2009 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2010
2011         * LaTeXFeatures.C: check release date when loading jurabib.
2012
2013 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2014
2015         * lyxserver.C (startPipe): call register_socket_callback
2016         (endPipe): call unregister_socket_callback
2017
2018 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2019
2020         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2021         (LyXServerSocket): register the callback
2022         (LyXServerSocket): unregister the callback
2023         (fd): delete function
2024         (serverCallback): improve error checking and setup the callbacks.
2025         (dataCallback): change arg to fd.
2026         (writeln): new func (copied fro the client socket) used for server
2027         write to client.
2028         (LyXDataSocket): simplify
2029         (~LyXDataSocket): close ann unregiser callback
2030         (server): delete function
2031         (fd): delete function
2032         (readln): small changes, improve some std::string usage
2033         (writeln): constify a bit
2034
2035 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2036
2037         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2038         Qt frontend
2039
2040 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2041
2042         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2043         after it has been populated
2044
2045 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2046
2047         * text2.C (insertInset): move cursor when inserting inset.
2048
2049 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2050
2051         * kbmap.C (findbindings): a couple of new methods. returns a
2052         container of kb_sequence objects. The real work is done by the
2053         private recursive version
2054         (printbindings): uses findbindings to print out a bracketed list
2055         of bindings (renamed from findbinding).
2056
2057         * MenuBackend.C (binding): use kb_keymap::findbindings
2058
2059         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2060
2061 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2062
2063         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2064
2065 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2066
2067         * paragraph.C (isWord): return true on insets that report
2068         isLetter().
2069
2070         * text.C (getWord): use Paragraph::isWord to decide what is in a
2071         word and what is not; fix bug 1609.
2072
2073 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2074
2075         * tex-strings.C: add "none" to string_paperpackages[], fixes
2076         off-by-one-error in the paperpackage selection.
2077
2078         * lyxlex.[Ch]:
2079         * tex-strings.[Ch]: char const * string[n]
2080         -> char const * const string[]
2081
2082 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2085         command, return early.
2086
2087 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2088
2089         * debug.h: add DEBUG to enum and fix size of ANY.
2090
2091         * debug.C: add support for Debug::DEBUG
2092         (showTags): cast errorTags.level to unsigned int
2093
2094         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2095         (redoCurrentBuffer): ditto
2096         (updateScrollbar): ditto
2097         * cursor.C (dispatch): ditto
2098         * text2.C (setLayout): ditto
2099         (setFont): ditto
2100         (updateCounters): ditto
2101         (editXY): ditto
2102         (deleteEmptyParagraphMechanism): ditto
2103
2104 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2105
2106         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2107         annotations to cleanup the Makefile slightly.
2108
2109 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         * lyxrc.C: do not set user_email to a default value but use empty
2112         instead. The entry used to be translated, which does not work
2113         since at the point where lyxrc is constructed there is no
2114         translation service available
2115
2116         * messages.C (getLocaleDir): remove and use directly
2117         lyx_localedir() instead
2118
2119 2004-06-02  Angus Leeming  <leeming@lyx.org>
2120
2121         Fix crash caused by dereferencing null pointer 'exportdata' in
2122         OutputParams by creating a new ExportData variable on the heap,
2123         storing it in a boost::shared_ptr.
2124         The crash was triggered when generating an Instant Preview
2125         of an external inset.
2126
2127         * Makefile.am: add outputparams.C
2128
2129         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2130         (c-tor): allocate memory to it.
2131
2132         * exporter.C (c-tor): associated changes.
2133
2134 2004-06-01  Angus Leeming  <leeming@lyx.org>
2135
2136         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2137         contains data before calling isInset(0). (Bug 1513.)
2138
2139 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2140
2141         * exporter.C (checkOverwrite): new method
2142         * exporter.C (copyFile): new method
2143         * exporter.C (Export): copy referenced files to the document dir
2144         * exporter.[Ch]: new class ExportedFile
2145         * exporter.[Ch]: new class ExportData. Contains currently the
2146         names of referenced external files
2147         * outputparams.h: add exportdata member.
2148
2149 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2150
2151         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2152         version.C-tmp
2153
2154 2004-05-19  Angus Leeming  <leeming@lyx.org>
2155
2156         * LaTeXFeatures.C:
2157         * ToolbarBackend.C:
2158         * bufferparams.C:
2159         * lyxfunc.C: small changes due to the introduction of namespace
2160         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2161
2162 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2163
2164         * text3.C (dispatch): supress update when only moving the cursor
2165         * cursor.C (selHandle): remove commented code
2166
2167 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2168
2169         * paragraph.C (startTeXParParams): correct column count
2170         * CutAndPaste.C (pasteSelection): remove const_cast
2171         * output_docbook.C (docbookParagraphs): remove const_cast
2172         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2173         const_cast and return ParagraphList::const_iterator
2174         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2175         * output_plaintext.C (writeFileAscii): remove const_cast
2176         * paragraph.[Ch] (simpleTeXOnePar): make const
2177         * paragraph_funcs.C (outerPar): use const iterators
2178         * paragraph_pimpl.C (validate): use const iterators
2179         * text.C (setHeightOfRow): use const iterators
2180
2181 2004-05-17  Angus Leeming  <leeming@lyx.org>
2182
2183         * lfuns.h:
2184         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2185
2186         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2187         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2188         if the citation engine has changed.
2189
2190 2004-05-14  José Matos  <jamatos@lyx.org>
2191
2192         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2193         if the textclass does not provide it. Have it different for sgml and
2194         xml.
2195         support the language of document.
2196         * output_docbook.C (docbookParagraphs):
2197         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2198         first anchor as the id of the paragraph, remove special case code.
2199         * sgml.C (escapeChar): escape only < & >.
2200
2201 2004-05-14  Angus Leeming  <leeming@lyx.org>
2202
2203         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2204         dependencies on src/frontends/controllers/biblio.h. Define a
2205         CiteEngine_enum wrapper class to enable the enum to be forward
2206         declared.
2207
2208 2004-05-12  Angus Leeming  <leeming@lyx.org>
2209
2210         * buffer.C: up LYX_FORMAT to 234.
2211         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2212         use_numerical_citations with a single biblio::CiteEngine cite_engine
2213         variable.
2214         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2215
2216 2004-05-13  José Matos  <jamatos@lyx.org>
2217
2218         * converter.h:
2219         * converter.C (Converter, readFlags): add xml member.
2220         * outputparams.h: add XML flavor.
2221         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2222
2223 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2224
2225         * lyxfunc.C (dispatch):
2226         (getStatus): fix handling of LFUN_SEQUENCE
2227
2228 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * debug.C (showLevel): do not forget the end-of-line marker
2231
2232 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2233
2234         * kbmap.C (read): do not stop parsing a bind file when an error
2235         occurs (bug 1575)
2236
2237 2004-04-29  Angus Leeming  <leeming@lyx.org>
2238
2239         * cursor.C:
2240         * factory.C:
2241         * pariterator.C:
2242         * text2.C: wrap a bunch of #warning statements
2243         inside #ifdef WITH_WARNINGS blocks.
2244
2245 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2246
2247         * buffer.C: increment format to 233.
2248
2249 2004-04-28  Angus Leeming  <leeming@lyx.org>
2250
2251         * BufferView_pimpl.C:
2252         * lyxfunc.C:
2253         * text3.C:
2254         s/updateToolbar()/updateToolbars()/
2255         s/Toolbar.h/Toolbars.h/
2256
2257 2004-04-28  Angus Leeming  <leeming@lyx.org>
2258
2259         * BufferView.[Ch] (c-tor):
2260         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2261         No longer passes these data to the WorkArea generator.
2262
2263 2004-04-28  Angus Leeming  <leeming@lyx.org>
2264
2265         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2266
2267 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2268
2269         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2270
2271 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2272
2273         * output_latex.C (TeXEnvironment): make sure that there is a line
2274         break before \end{foo} for the last paragraph of a document
2275         (TeXOnePar): if the paragraph is at the end of the document (or
2276         inset) and the language has to be reset, then make sure that the
2277         line break is _before_ the language command, not after (fixes bug
2278         1225); also make sure that the language reset command is the first
2279         thing after the paragraph (to ensure proper nesting of
2280         environments and thus fix bug 1404)
2281
2282 2004-04-21  John Levon  <levon@movementarian.org>
2283
2284         * ToolbarBackend.h:
2285         * ToolbarBackend.C: make "name" be a programmatic name
2286         and a gui_name field.
2287
2288         * lyxfunc.C: display the minibuffer on M-x
2289
2290 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2293         (bug 1526)
2294
2295 2004-04-19  Angus Leeming  <leeming@lyx.org>
2296
2297         * BufferView_pimpl.C (setBuffer): changed preview interface.
2298
2299         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2300         possible values.
2301
2302 2004-04-19  John Levon  <levon@movementarian.org>
2303
2304         * BufferView_pimpl.C:
2305         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2306
2307 2004-04-05  Angus Leeming  <leeming@lyx.org>
2308
2309         * text.C (redoParagraphs): add call to updateCounters(), thereby
2310         fixing the missing "Figure #:" label from the caption of a
2311         figure float.
2312
2313 2004-04-13  Angus Leeming  <leeming@lyx.org>
2314
2315         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2316         cursor is clicked out of an inset.
2317
2318 2004-04-13  Angus Leeming  <leeming@lyx.org>
2319
2320         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2321         than an InsetOld one.
2322
2323 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2324
2325         * format.[Ch]: add editor to Format
2326         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2327         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2328
2329 2004-04-08  André Pönitz  <poenitz@gmx.net>
2330
2331         * metricsinfo.h: remove PainterInfo::width member
2332
2333 2004-04-08  Angus Leeming  <leeming@lyx.org>
2334
2335         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2336         "\providecommand" rather than "\newcommand", thereby preventing
2337         clashes with packages that define "\boldsymbol" themselves.
2338         Eg, beamer.
2339
2340 2004-04-08  Angus Leeming  <leeming@lyx.org>
2341
2342         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2343         thereby squashing an unnecessary warning.
2344
2345 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2346
2347         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2348         setBuffer()
2349
2350 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2351
2352         * BufferView.C (setCursor): call redoParagraph (some insets could
2353         have been opened)
2354         (putSelectionAt): remove the 'double update' trick
2355
2356         * BufferView_pimpl.C (fitCursor): call refreshPar
2357         (workAreaDispatch): remove an uneeded update call
2358         (dispatch): remove some manual update calls
2359
2360         * cursor.[Ch]: remove cached_y_, updatePos
2361         (selHandle): set noUpdate when appropriate
2362
2363         * lyxfunc.C (dispatch): track if we need an update
2364
2365         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2366
2367         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2368         (paintSelection): cheap optimization, do not call cursorX when not
2369         needed
2370         (paintPars): change signature
2371         (refreshPar): add
2372         (paintText): adjust
2373         (paintTextInset): adjust
2374
2375         * text.C: adjust
2376
2377 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2378
2379         * lengthcommon.C: compilation fix: remove explicit array size from
2380         unit_name[] and friends
2381
2382 2004-04-05  Angus Leeming  <leeming@lyx.org>
2383
2384         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2385
2386         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2387         present only for the preferences dialog.
2388         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2389
2390 2004-04-05  Angus Leeming  <leeming@lyx.org>
2391
2392         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2393         to enable the frontends to export changes to lyxrc correctly.
2394
2395         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2396
2397 2004-04-07  André Pönitz  <poenitz@gmx.net>
2398
2399         * cursor.[Ch] (selClear, adjust): remove math
2400
2401         * cursor_slice.C: more agressive assert
2402
2403         * lyxfunc.C:
2404         * BufferView_pimpl.C: rework mouse event dispatch
2405
2406         * dociterator.C:
2407         * paragraph.C:
2408         * text2.C:
2409         * text3.C: adjust
2410
2411 2004-04-05  André Pönitz  <poenitz@gmx.net>
2412
2413         * cursor.[Ch] (valign, halign...): remove unneeded functions
2414
2415 2004-04-05  Angus Leeming  <leeming@lyx.org>
2416
2417         * lyxlength.[Ch] (unit_name et al.): const-correct.
2418
2419 2004-04-05  Angus Leeming  <leeming@lyx.org>
2420
2421         * BufferView_pimpl.C:
2422         * buffer.C:
2423         * counters.C:
2424         * cursor.C:
2425         * lyxfunc.C
2426         * paragraph.C:
2427         * pariterator.C:
2428         * text.C:
2429         * text2.C:
2430         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2431
2432 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2435
2436 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2439         * BufferView_pimpl.[Ch] (getStatus)
2440         * BufferView.[Ch] (getStatus): add
2441         * lyxfunc.C (getStatus): move lfuns handled in
2442         BufferView::dispatch to te function above
2443         * Cursor.C (setSelection): set selection() = true
2444
2445 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2446
2447         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2448
2449 2004-03-31  Angus Leeming  <leeming@lyx.org>
2450
2451         * lyxfunc.C (dispatch): Fall through to the generic
2452         Dialogs::show("preamble").
2453
2454 2004-03-31  Angus Leeming  <leeming@lyx.org>
2455
2456         * lyxfunc.C (dispatch): Fall through to the generic
2457         Dialogs::show("spellchecker").
2458
2459 2004-03-31  Angus Leeming  <leeming@lyx.org>
2460
2461         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2462         preferences dialog.
2463
2464 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * BufferView.C
2467         * cursor.[Ch]
2468         * dociterator.[Ch]:
2469         * insetiterator.[Ch]:
2470         * lyxfind.C:
2471         * lyxfunc.C:
2472         * pariterator.[Ch]:
2473         * text2.C:
2474         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2475
2476 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2479         insets where we are putting the cursor.
2480
2481 2004-03-31  Angus Leeming  <leeming@lyx.org>
2482
2483         * lfuns.h:
2484         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2485
2486         * lyxrc.[Ch] (read, write): overloaded member functions taking
2487         a std::[io]stream arguments.
2488
2489         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2490
2491 2004-03-31  Angus Leeming  <leeming@lyx.org>
2492
2493         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2494         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2495
2496         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2497         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2498
2499 2004-03-31  Angus Leeming  <leeming@lyx.org>
2500
2501         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2502         the LFUN_ALL_INSETS_TOGGLE code.
2503
2504 2004-03-30  Angus Leeming  <leeming@lyx.org>
2505
2506         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2507         has died. Fall through to the generic Dialogs::show("document").
2508
2509 2004-03-30  Angus Leeming  <leeming@lyx.org>
2510
2511         * lfuns.h:
2512         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2513         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2514
2515         * lyxfunc.C (getStatus, dispatch): define the actions for these
2516         lfuns. Little more than a cut and pste job from ControlDocument.C
2517
2518         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2519
2520 2004-03-30  Angus Leeming  <leeming@lyx.org>
2521
2522         * lfuns.h:
2523         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2524         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2525
2526         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2527         open/closed state of ollapsable insets. Usage:
2528
2529         all-inset-toggle <state> <name>, where
2530         <state> == "open" || "closed" || "toggle" and
2531         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2532
2533         * lyxtext.h, text2.C (toggleInset): removed.
2534
2535         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2536         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2537         now passes LFUN_INSET_TOGGLE to the found inset.
2538
2539         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2540         is now invoked as "all-insets-toggle toggle branch".
2541
2542 2004-03-30  Angus Leeming  <leeming@lyx.org>
2543
2544         * dociterator.C:
2545         * insetiterator.C:
2546         * pariterator.[Ch]: added/corrected header blurb.
2547
2548 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * dociterator.[Ch]: add an inset_ member
2551         (backwardPos): implemented
2552         (backwardPos, forwardPos): use inset_ when the stack is empty.
2553         (doc_iterator_begin, doc_iterator_end): implemented
2554         * pariterator.[Ch]: adjust, add begin, end
2555         * insetiterator.[Ch]: adjust, add begin, end
2556         * cursor.C:
2557         * document.C:
2558         * BufferView.C:
2559         * BufferView_pimpl.C:
2560         * CutAndPaste.C: adjust
2561
2562 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2563
2564         * buffer.C: increment file format to 232.
2565         * LaTeXFeatures.C: add bibtopic package.
2566         * bufferparams.[Ch]: param \use_bibtopic.
2567
2568         * lyxrc.[Ch]: add lyxrc bibtex_command
2569         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2570
2571         * buffer.C: increment file format to 231.
2572
2573 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * dociterator.C: implement forwardPar
2576         * iterators.[Ch]: remove, replaced by
2577         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2578         * BufferView.C:
2579         * BufferView_pimpl.C:
2580         * CutAndPaste.C:
2581         * buffer.C:
2582         * bufferview_funcs.C:
2583         * cursor.C:
2584         * lyxfind.C
2585         * lyxfunc.C
2586         * paragraph_funcs.C
2587         * toc.C:
2588         * Makefile.am: adjust
2589
2590 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * CutAndPaste.C (pasteSelection): fix 2 crashes
2593         (eraseSelection): fix a crash
2594         * paragraph_funcs.C: remove a warning
2595
2596 2004-03-28  Angus Leeming  <leeming@lyx.org>
2597
2598         * lfuns.h:
2599         * LyXAction.C (init): new LFUN_PRINT.
2600
2601         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2602
2603 2004-03-27  Angus Leeming  <leeming@lyx.org>
2604
2605         * lfuns.h:
2606         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2607
2608         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2609
2610 2004-03-27  Angus Leeming  <leeming@lyx.org>
2611
2612         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2613         insetlist always contains non-null pointers to insets.
2614
2615 2004-03-26  Angus Leeming  <leeming@lyx.org>
2616
2617         * src/BufferView_pimpl.C:
2618         * src/CutAndPaste.C:
2619         * src/buffer.C:
2620         * src/iterators.C:
2621         * src/output_plaintext.C:
2622         * src/outputparams.h:
2623         * src/paragraph_funcs.C:
2624         * src/rowpainter.C:
2625         * src/text.C:
2626         * src/text2.C:
2627         * src/frontends/controllers/ControlErrorList.C:
2628         * src/frontends/gtk/FileDialogPrivate.C:
2629         * src/frontends/gtk/GPainter.C:
2630         * src/frontends/gtk/GToolbar.C:
2631         * src/frontends/qt2/QRef.C:
2632         * src/mathed/math_scriptinset.C: squash compiler warnings.
2633
2634 2004-03-26  Angus Leeming  <leeming@lyx.org>
2635
2636         * ispell.C (LaunchIspell::start):
2637         * lyx_cb.C (AutoSaveBuffer::start):
2638         invoke run(DontWait) rather than runNonBlocking().
2639
2640 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2641
2642         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2643
2644 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * kbsequence.C (print): adjust
2647
2648         * kbmap.C (printKeySym): rename and change signature
2649         (printKey): use LyXKeySym::print()
2650
2651 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2652
2653         * undo.C: add using std::advance to compile for stlport
2654
2655 2004-03-24  Angus Leeming  <leeming@lyx.org>
2656
2657         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2658         it leads to a crash when no buffer is present.
2659
2660 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2661             Martin Vermeer  <martin.vermeer@hut.fi>
2662
2663         * lyxfunc.C (dispatch):
2664         * bufferparams.C (readToken): use the new LColor::setColor
2665
2666         * LColor.[Ch] (setColor): new version that takes two strings as
2667         argument and creates a new color entry if necessary
2668
2669 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2670
2671         * buffer.C (makeLaTeXFile): if the main latex file that is
2672         processed is usually a subdocument of some master, then pretend
2673         for a while that it is actually the master
2674
2675 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2676
2677         * buffer.C (getLabelList):
2678         (getBibkeyList): use getMasterBuffer()
2679         (getMasterBuffer): new method. Returns the main document in the
2680         case where one is using included documents.
2681
2682 2004-03-25  André Pönitz  <poenitz@gmx.net>
2683
2684         * Makefile.am:
2685         * iterators.[Ch]:
2686         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2687
2688         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2689
2690         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2691         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2692
2693         * ParameterStruct.h: merge with ParagraphParameters
2694
2695         * lyxtext.h: remove LyXText::parOffset() and getPar()
2696
2697         * text3.C: Remove all 'manual' update calls. We do now one per user
2698         interaction which is completely sufficient.
2699
2700         * Bidi.C:
2701         * BufferView.[Ch]:
2702         * BufferView_pimpl.C:
2703         * FontIterator.[Ch]:
2704         * MenuBackend.C:
2705         * ParagraphParameters.[Ch]:
2706         * buffer.C:
2707         * buffer.h:
2708         * bufferlist.C:
2709         * cursor.[Ch]:
2710         * cursor_slice.[Ch]:
2711         * dociterator.[Ch]:
2712         * errorlist.[Ch]:
2713         * factory.C:
2714         * lfuns.h:
2715         * lyxfind.C:
2716         * lyxfunc.C:
2717         * output_docbook.[Ch]:
2718         * output_latex.[Ch]:
2719         * output_linuxdoc.[Ch]:
2720         * output_plaintext.[Ch]:
2721         * paragraph.[Ch]:
2722         * paragraph_funcs.[Ch]:
2723         * paragraph_pimpl.[Ch]:
2724         * rowpainter.C:
2725         * tabular.[Ch]:
2726         * text.C:
2727         * text2.C:
2728         * toc.C:
2729         * undo.[Ch]: adjust
2730
2731         * frontends/controllers/ControlDocument.C:
2732         * frontends/controllers/ControlErrorList.C:
2733         * frontends/controllers/ControlSpellchecker.C:
2734         * insets/inset.C:
2735         * insets/inset.h:
2736         * insets/insetbase.h:
2737         * insets/insetbibitem.C:
2738         * insets/insetbox.C:
2739         * insets/insetbranch.C:
2740         * insets/insetcaption.C:
2741         * insets/insetcharstyle.C:
2742         * insets/insetcharstyle.h:
2743         * insets/insetcollapsable.C:
2744         * insets/insetcollapsable.h:
2745         * insets/insetert.C:
2746         * insets/insetfloat.C:
2747         * insets/insetfoot.C:
2748         * insets/insetmarginal.C:
2749         * insets/insetnote.C:
2750         * insets/insetoptarg.C:
2751         * insets/insettabular.C:
2752         * insets/insettext.C:
2753         * insets/insettext.h:
2754         * insets/insetwrap.C:
2755         * mathed/math_mboxinset.C:
2756         * mathed/math_nestinset.C:
2757         * mathed/math_scriptinset.C:
2758         * mathed/math_scriptinset.h:
2759         * support/types.h:
2760
2761 2004-03-24  Angus Leeming  <leeming@lyx.org>
2762
2763         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2764         deal with any child processes that have finished but are waiting to
2765         communicate this fact to the rest of LyX.
2766
2767 2004-03-24  Angus Leeming  <leeming@lyx.org>
2768
2769         64-bit compile fixes.
2770
2771         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2772         (c-tor): pass lyx::pos_types rather than ints.
2773
2774         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2775         lyx::pos_type.
2776
2777         * text.C (Delete): compile fix.
2778         (getPar): ensure that function declaration is the same as that in
2779         the header file.
2780
2781 2004-03-23  Angus Leeming  <leeming@lyx.org>
2782
2783         * ispell.C (LaunchIspell):
2784         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2785         a boost::shred_ptr rather than a std::auto_ptr.
2786
2787 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2788
2789         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2790         handle LFUN_FILE_INSERT_*
2791
2792         * lyxrc.C (setDefaults, getDescription, output, read):
2793         * lyxrc.h: remove ps_command
2794
2795 2004-03-22  Angus Leeming  <leeming@lyx.org>
2796
2797         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2798         Ensure that error_handler is processed once only and that all data
2799         is saved before attempting to output any warning messages.
2800
2801         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2802
2803 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2804
2805         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2806
2807 2004-03-19  André Pönitz  <poenitz@gmx.net>
2808
2809         * cursor.[Ch] (reset): take main text inset as argument
2810
2811         * BufferView: adjust
2812         * BufferView_pimpl.C: adjust
2813
2814         * paragraph.[Ch]: fix completely broken operator=()
2815
2816 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2817
2818         * LColor.C (getFromLyXName): make sure that the color name is used
2819         as lowercase.
2820
2821 2004-03-17  Angus Leeming  <leeming@lyx.org>
2822
2823         * lfuns.h:
2824         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2825
2826         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2827         dialog and to kill a forked process.
2828
2829 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2830
2831         * text2.C (setCursorFromCoordinates): fix font problem
2832
2833 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2834
2835         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2836         bogus "rebuild cursor" code
2837
2838 2004-03-11  André Pönitz  <poenitz@gmx.net>
2839
2840         * buffer.[Ch]: use InsetText instead of LyXText as container for
2841         the main lyx text.
2842
2843         * dociterator.[Ch]: drop the BufferView * member which is not needed
2844         anymore after the change to buffer.C
2845
2846         * paragraph_funcs.C:
2847         * text.C:
2848         * text2.C:
2849         * BufferView.[Ch]:
2850         * BufferView_pimpl.[Ch]:
2851         * cursor.[Ch]:
2852         * cursor_slice.[Ch]: adjust
2853
2854         * text3.C: fix bug in mathDispatch
2855
2856 2004-03-08  André Pönitz  <poenitz@gmx.net>
2857
2858         * undo.[Ch]: use 'StableDocumentIterator' as base for
2859         the Undo struct.
2860
2861 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2862
2863         * LaTeXFeatures.C:
2864         * bufferparams.[Ch]: add jurabib support and param.
2865
2866         * LaTeX.C: add FIXME/comment.
2867
2868 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2869
2870         * buffer.C: increment file format to 230.
2871
2872 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2873
2874         * cursor.C (dispatch): avoid infinite loops
2875
2876 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2877
2878         * rowpainter.C (paintSelection): fix x coordinates
2879
2880 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * text.C (rowBreakPoint): fix breaking before displayed insets
2883
2884 2004-03-01  André Pönitz  <poenitz@gmx.net>
2885
2886         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2887
2888         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2889
2890         * Makefile.am:
2891         * BufferView.C:
2892         * BufferView_pimpl.C:
2893         * buffer.C:
2894         * lyxfind.C:
2895         * lyxfunc.C:
2896         * text.C:
2897         * text2.C:
2898         * text3.C: adjust
2899
2900 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2901
2902         * lyxtext.h:
2903         * text.C:
2904         * text2.C:
2905         * rowpainter.C:
2906         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2907         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2908
2909 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2910
2911         * Bidi.[Ch] (computeTables): const correctness
2912         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2913         fill_hfill, fill_label_hfill and x from Row
2914         * lyxtext.h: prepareToPrint returns a RowMetrics
2915         * rowPainter.C: adjust
2916         * text.C (prepareToPrint): use width, not textWidth. adjust
2917         (redoParagraphInternal, cursorX): adjust
2918         * text2.C (getColumnNearX): adjust
2919         (init): put a default value to the top LyXText::width
2920
2921 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2922
2923         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2924
2925 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2926
2927         * lyxtext.h: add FontIterator class
2928
2929         * text.C (FontIterator, operator*, operator->, operator++): add
2930         (rowBreakPoint, setRowWidth): adjust (fixing a
2931         rebreaking bug)
2932
2933 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2934
2935         * BufferView_pimpl.C (workAreaDispatch): allow also
2936         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2937
2938 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2939
2940         * text.C (rowBreakPoint): fix a bug showing with very large insets
2941
2942 2004-02-25  André Pönitz  <poenitz@gmx.net>
2943
2944         * text3.C:
2945         * cursor.[Ch]: move some mathed specific code to mathed
2946
2947 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2948
2949         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2950         use_tempdir in preferences
2951         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2952         tempfile creation
2953         * lyx_main.C: ensure that tempdir is valid
2954         * lyxlex.h: correct typo
2955         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2956         * paragraph.[Ch] (isMultiLingual): make const
2957         * cursor.[Ch] (openable): make const
2958
2959 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2960
2961         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2962
2963 2004-02-20  André Pönitz  <poenitz@gmx.net>
2964
2965         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2966
2967         * cursor.[Ch]: prepare for localized getStatus()
2968
2969         * lyxtext.h:
2970         * tabular.C:
2971         * text.C:
2972         * text2.C:
2973         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2974
2975 2004-02-20  André Pönitz  <poenitz@gmx.net>
2976
2977         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2978
2979 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2980
2981         * text2.C (setCursorFromCoordinates): switch to absolute coords
2982         (cursorUp): adjust
2983         (cursorDown): adjust
2984         * text3.C (dispatch): adjust
2985
2986 2004-02-16  André Pönitz  <poenitz@gmx.net>
2987
2988         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2989           insets/ChangeLog)
2990
2991         * cursor_slice.[Ch]: remove unneeded acessor function
2992
2993         * lyxtext.h: rename rtl() to isRTL()
2994
2995         * rowpainter.C:
2996         * tabular.C:
2997         * text.C:
2998         * text2.C:
2999         * text3.C: adjust
3000
3001 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3002
3003         * rowpainter.C (paintSelection): coord fix
3004
3005 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3006
3007         * Spacing.C: compile fix
3008
3009 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3010
3011         * cursor.C (dispatch): restore current_ before returning
3012
3013 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3014
3015         * text2.C (cursorUp, cursorDown): fix coords
3016         (moveUp): fix crash
3017
3018 2004-02-12  André Pönitz  <poenitz@gmx.net>
3019
3020         * lyxtext.h:
3021         * text.C:
3022         * text2.C:
3023         * text3.C: add LCursor & parameter to most cursor movement functions
3024           remove usage of LyXText::cursorRow() and cursorPar()
3025
3026         * cursor.[Ch]: add textRow() needed members
3027
3028         * BufferView.C:
3029         * BufferView_pimpl.C:
3030         * paragraph.[Ch]:
3031         * BufferView.C:
3032         * BufferView_pimpl.C: adjust
3033
3034 2004-02-11  André Pönitz  <poenitz@gmx.net>
3035
3036         * lyxfunc.C:
3037         * BufferView.[Ch]:
3038         * BufferView_pimpl.C: shift undo/redo handling
3039
3040         * cursor.[Ch]: fix mathed crash
3041
3042         * lyxfind.C:
3043         * lyxtext.h: move selectionAsText to LCursor
3044
3045         * output_latex.C:
3046         * paragraph.C:
3047         * text.C:
3048         * text2.C:
3049         * text3.C: adjust
3050
3051         * rowpainter.C: fix excessive drawing
3052
3053 2004-02-06  André Pönitz  <poenitz@gmx.net>
3054
3055         * BufferView.[Ch]:
3056         * BufferView_pimpl.[Ch]:
3057         * text3.C: move some text specific LFUN handling
3058
3059 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3060
3061         * text3.C (checkInsetHit): adjust coords
3062         * text2.C (getColumnNearX): adjust coords
3063         (edit): adjust coords
3064         * text.C (getRowNearY): add two asserts
3065
3066 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3067
3068         * converter.C:
3069         * format.C: add using std::distance to compile on gcc 2.95/stlport
3070
3071 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3072
3073         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3074
3075 2004-02-04  André Pönitz  <poenitz@gmx.net>
3076
3077         * BufferView.[Ch] (insertInset):
3078         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3079
3080         * text2.C:
3081         * text3.C: adjust
3082
3083 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3084
3085         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3086         on the default clause of the switch
3087         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3088         wasn't catched by LCursor::dispatch
3089
3090 2004-02-03  André Pönitz  <poenitz@gmx.net>
3091
3092         * BufferView.C:
3093         * cursor.[Ch]: some additional asserts
3094
3095         * undo.[Ch]: remove LyXText dependency in interface
3096
3097         * lyxfunc.C: adjust
3098
3099         * lyxtext.h (firstPar, lastPar): remove dead functions
3100
3101         * text.C:
3102         * text2.C:
3103         * text3.C:
3104         * paragraph.[Ch]: adjust
3105
3106 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3107
3108         * lyxfind.C (find): fix argument order in call to ::find
3109
3110 2004-02-02  André Pönitz  <poenitz@gmx.net>
3111
3112         * cursor.[Ch]: remove direct access to anchor
3113
3114         * text.C: remove findText() hack
3115
3116 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3117
3118         * iterators.[Ch] (lockPath): remove in favour of...
3119         * BufferView.[Ch] (setCursor): this addition
3120         * BufferView.C (putSelectionAt): adjust
3121         * undo.C (performUndoOrRedo): adjust
3122         * lyxfunc.C (dispatch): adjust
3123
3124 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3125
3126         * iterators.C (lockPath): add a missing slice
3127         * undo.C (performUndoOrRedo): remove redundant positioning code
3128
3129 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3130
3131         * vc-backend.C (scanMaster): ";" -> ';'
3132
3133 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3134
3135         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3136         std::binary_function
3137
3138         * lyxtextclass.C (compare_name): rename to...
3139         (LayoutNamesEqual): ...this
3140
3141         * lyxlex_pimpl.C (compare_tags): inherit from
3142         std::binary_function, put back into anon namespace
3143
3144         * lyxfind.C (MatchString): inherig from std::binary_function
3145         (findChange): use empty() istead of !size()
3146
3147         * format.C (FormatNamesEqual): new functor
3148         (getFormat): use it
3149         (getNumber): use it
3150         (add): use it
3151         (erase): use it
3152         (setViewer): use it
3153
3154         * converter.C (compare_Converter): rename to...
3155         (ConverterEqual): ...this, and fixup a bit.
3156         (getConverter): use it, and make function const
3157         (getNumber): use it, and make function const
3158         (add): use it
3159         (erase): use it:
3160
3161         * bufferlist.C: add using boost::bind
3162
3163         * MenuBackend.C (MenuNamesEqual): new functor
3164         (hasMenu): use it, and make function const
3165         (hasSubmenu): use nested bind to get rid of compare_memfun.
3166
3167 2004-01-30  André Pönitz  <poenitz@gmx.net>
3168
3169         * BufferView_pimpl.C:
3170         * cursor.C:
3171         * cursor.h:
3172         * cursor_slice.[Ch]:
3173         * lyxfunc.C:
3174         * lyxtext.h:
3175         * paragraph_funcs.C:
3176         * paragraph_funcs.h:
3177         * rowpainter.C:
3178         * text.C:
3179         * text2.C:
3180         * text3.C: move some of the edit(x,y) handling to the insets
3181         some coordinate changes.
3182
3183 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3184
3185         * text.C: add using statements for std::advance and std::distance
3186
3187         * paragraph.C: add using statement for std::distance
3188
3189         * lyxfind.C: add using statement for std::advance
3190
3191         * cursor.C (region): remove std:: from swap
3192         (openable): use nucleus in stead of operator->
3193
3194         * BufferView.C: add using statements for std::distance and std::swap
3195
3196 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3197
3198         * iterators.C: Remove the pimple, move the needed structures to
3199         the header file. Create accessor for the positions stack.
3200         (asPosIterator): remove function
3201
3202         * PosIterator.C (PosIterator): move constructors to top of file
3203         (PosIterator): reimplement the constructor taking a ParIterator in
3204         terms of setFrom.
3205         (setFrom): new function
3206         (operator!=): inline it
3207
3208 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3209
3210         * lyxfind.C (replaceAll): use std::advance
3211
3212         * iterators.h: inherit from std::iterator.
3213
3214         * PosIterator.C (advance, distance): remove
3215         * PosIterator.h: interit from std::iterator.
3216
3217 2004-01-26  André Pönitz  <poenitz@gmx.net>
3218
3219         * BufferView.[Ch]:
3220         * BufferView_pimpl.[Ch]:
3221         * InsetList.[Ch]:
3222         * PosIterator.[Ch]:
3223         * buffer.h:
3224         * bufferview_funcs.C:
3225         * cursor.[Ch]:
3226         * cursor_slice.h:
3227         * factory.[Ch]:
3228         * iterators.[Ch]:
3229         * lyxfind.C:
3230         * lyxfunc.C:
3231         * lyxtext.h:
3232         * output_docbook.C:
3233         * output_latex.C:
3234         * output_linuxdoc.C:
3235         * output_plaintext.C:
3236         * paragraph.[Ch]:
3237         * paragraph_funcs.[Ch]:
3238         * paragraph_pimpl.[Ch]:
3239         * rowpainter.C:
3240         * tabular.C:
3241         * tabular.h:
3242         * text.C:
3243         * text2.C:
3244         * text3.C: more IU:  dumps most of the rest of the mathcursor
3245     implementation into cursor.[Ch]; "globalize" a bit of it.
3246
3247 2004-01-25  Angus Leeming  <leeming@lyx.org>
3248
3249         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3250
3251 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3252
3253         * LaTeXFeatures.h: add nice_ and nice() const
3254         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3255
3256 2004-01-20  André Pönitz  <poenitz@gmx.net>
3257
3258         * BufferView.[Ch]:
3259         * BufferView_pimpl.C:
3260         * PosIterator.C:
3261         * bufferview_funcs.C:
3262         * cursor.[Ch]:
3263         * cursor_slice.[Ch]:
3264         * factory.C:
3265         * iterators.C:
3266         * lyx_cb.C:
3267         * lyxfind.C:
3268         * lyxfunc.C:
3269         * lyxtext.h:
3270         * rowpainter.C:
3271         * text.C:
3272         * text2.C:
3273         * text3.C:
3274         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3275           LCursor and mathcursor parts to LCursor and InsetBase.
3276
3277 2004-01-15  André Pönitz  <poenitz@gmx.net>
3278
3279         * cursor_slice.[Ch]: add a few covienience functions
3280
3281         * funcrequest.[Ch]: remove BufferView * member
3282
3283         * BufferView_pimpl.C:
3284         * cursor.C:
3285         * factory.[Ch]:
3286         * lyxfind.[Ch]:
3287         * lyxfunc.C:
3288         * lyxtext.h:
3289         * text3.C:
3290         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3291
3292 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3293
3294         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3295         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3296
3297 2004-01-13  André Pönitz  <poenitz@gmx.net>
3298
3299         * textcursor.[Ch]:
3300         * lyxtext.h: hide cursor and selection anchor behind accessor function
3301
3302         * BufferView.C:
3303         * BufferView_pimpl.[Ch]:
3304         * PosIterator.C:
3305         * bufferview_funcs.C:
3306         * cursor.h:
3307         * lyxfind.C:
3308         * lyxfunc.C:
3309         * text.C:
3310         * text2.C:
3311         * text3.C:
3312         * undo.C: adjust
3313
3314         * cursor.h:
3315         * cursor_slice.[Ch]: some integer type changes for inset unification
3316
3317         * lyxcursor.[hC]: remove, it's CursorSlice now.
3318
3319         * Makefile.am:
3320         * BufferView_pimpl.[Ch]:
3321         * bufferview_funcs.C:
3322         * cursor_slice.C:
3323         * lyxtext.h:
3324         * text.C:
3325         * text2.C:
3326         * text3.C:
3327         * textcursor.[Ch]: adjust
3328
3329 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3330
3331         * text2.C (undoSpan): add and use
3332         * text.C (breakParagraph): use undoSpan (fix bug 578)
3333         * lyxtext.h: adjust
3334
3335 2004-01-08  Angus Leeming  <leeming@lyx.org>
3336
3337         * BufferView_pimpl.C (MenuInsertLyXFile):
3338         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3339         * lyxfunc.C (menuNew, open, doImport):
3340         FileFilterList change to the FileDialog open and save functions.
3341
3342 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3343
3344         * ShareContainer.h: make isEqual and isUnique adaptable
3345
3346         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3347
3348 2004-01-07  Angus Leeming  <leeming@lyx.org>
3349
3350         * LyXAction.C:
3351         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3352
3353         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3354
3355         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3356         functions replacing find, replace and replaceAll.
3357
3358         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3359         LFUN_WORDFIND(FORWARD|BACKWARD).
3360
3361 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3362
3363         * text.C (breakParagraph): remove an outdated #warning
3364
3365 2004-01-07  André Pönitz  <poenitz@gmx.net>
3366
3367         * lyxfind.C: somewhat clearer logic
3368
3369         * text.C: prevent crash in cursorX on unitialized row cache
3370
3371 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3372
3373         * lyxcursor.[Ch] (operator>): add
3374         * textcursor.C (selStart, selEnd): use std::min and std::max
3375
3376 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3377
3378         * Chktex.C: include boost/format.hpp
3379
3380 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3381
3382         * InsetList.C: replace functor MathcIt with adaptable functor
3383         InsetTablePosLess
3384         (insetIterator): modify accordingly
3385
3386         * BranchList.h: move the BranchNamesEqual functor here from...
3387         * BranchList.C: ... to here
3388
3389         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3390         SameName and match.
3391         (add): replace a finding loop with std::find_if.
3392
3393 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3394
3395         * output_docbook.C: moving LatexParam functionality into
3396         .layout files
3397
3398 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3399
3400         * buffer.C: increment format to 229.
3401
3402 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3403
3404         * LaTeXFeatures.C:
3405         * lyx_sty.[Ch]: remove minipageindent_def
3406
3407         * LyXAction.C:
3408         * factory.C:
3409         * lfuns.h:
3410         * lyxfunc.C:
3411         * text3.C: remove LFUN_INSET_MINIPAGE
3412
3413 2003-12-28  Angus Leeming  <leeming@lyx.org>
3414
3415         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3416
3417 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3418
3419         * text2.C (setParagraph): fix off-by-one crash
3420
3421 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3422
3423         * output_docbook.C: header stuff for AGU
3424
3425 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3426
3427         * text2.C (redoCursor): remove
3428         * text.C:
3429         * text3.C:
3430         * BufferView_pimpl.C: remove calls to redoCursor and
3431         setCursor(cursor.par(), cursor.pos()) all around
3432
3433 2003-12-15  Angus Leeming  <leeming@lyx.org>
3434
3435         * buffer.C: up the format to 228.
3436
3437 2003-12-15  André Pönitz  <poenitz@gmx.net>
3438
3439         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3440         slices
3441
3442         * Makefile.am:
3443
3444         * BufferView_pimpl.C:
3445         * cursor.[Ch]:
3446         * lyxcursor.[Ch]:
3447         * rowpainter.[Ch]:
3448         * lyxtext.h:
3449         * text.C:
3450         * text2.C:
3451         * text3.C: adjust
3452
3453 2003-12-15  Angus Leeming  <leeming@lyx.org>
3454
3455         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3456         than getFromGUIName to manipulate the color.
3457
3458 2003-12-14  Angus Leeming  <leeming@lyx.org>
3459
3460         * BranchList.[Ch]: minimize the API.
3461         (Branch::getBranch, getColor): now return a 'const &'.
3462         (Branch::setSelected) now returns a bool set to true if the
3463         selection status changes.
3464         (BranchList::clear, size, getColor, setColor, setSelected,
3465         allBranches, allSelected, separator): removed.
3466         (BranchList::find): new functions, returning the Branch with
3467         the given name.
3468         (BranchList::add, remove): return a bool indicating that
3469         the operation was successful.
3470
3471         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3472         new InsetBranch::isBranchSlected member function.
3473
3474         * LColor.[Ch]: mimimize the API.
3475         (fill): renamed as addColor and made private.
3476         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3477         versions of these functions taking a string arg have been removed.
3478
3479         * bufferparams.C (readToken):
3480         * lyxfunc.C (dispatch):
3481         * lyxrc.C (read): changes due to the altered BranchList and
3482         LColor APIs.
3483
3484         * factory.C (createInset, readInset): changes due to altered
3485         InsetBranch c-tor.
3486
3487 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3488
3489         * factory.C:
3490         * lyxfunc.C: remove insetminipage. "minipage-insert"
3491         now produces a frameless minipage box inset.
3492
3493 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3494
3495         * textcursor.[Ch] (selStart,selEnd): add new methods
3496         remove selection::start, end, use LyXCursor::operator<
3497         * lyxcursor.[Ch] (operator<): add
3498         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3499         * BufferView.[Ch] (unsetXSel): add
3500         * text2.C (clearSelection): use unsetXSel,adjust
3501         * text.C: adjust
3502         * text3.C: adjust
3503         * rowpainter.C: adjust
3504         * bufferview_funcs.C (put_selection_at): adjust
3505
3506 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3507
3508         * BufferView_pimpl.C: small coord. correction
3509
3510 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3511
3512         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3513         dragging over the splash screen.
3514
3515 2003-12-11  Angus Leeming  <leeming@lyx.org>
3516
3517         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3518         as it is now handled in LyXText::dispatch.
3519
3520         * text3.C (doInsertInset): remove a level of nesting.
3521
3522 2003-12-11  Angus Leeming  <leeming@lyx.org>
3523
3524         * factory.C (createInset): changes due to the changed interface to
3525         InsetCommandMailer::string2params.
3526
3527 2003-12-10  Angus Leeming  <leeming@lyx.org>
3528
3529         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3530         'dialog-show-new-inset <inset name>'
3531
3532 2003-12-10  Angus Leeming  <leeming@lyx.org>
3533
3534         * buffer.C: up the format to 227.
3535
3536         * factory.C: the box inset is now identified simply by 'Box'.
3537
3538 2003-12-10  Angus Leeming  <leeming@lyx.org>
3539
3540         * buffer.C: up the format to 226.
3541
3542         * factory.C: the note inset is now identified simply by 'Note'.
3543
3544 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3545
3546         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3547         when a pit is enough. Standarize a couple of loops.
3548
3549 2003-12-05  Angus Leeming  <leeming@lyx.org>
3550
3551         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3552         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3553         data to the re-worked "log" dialog.
3554
3555 2003-12-03  André Pönitz  <poenitz@gmx.net>
3556
3557         * PosIterator.C:
3558         * iterators.C:
3559         * lyxtext.h:
3560         * output_latex.C:
3561         * paragraph_funcs.C:
3562         * text.C:
3563         * text2.C: use Inset::getText instead of Inset::getParagraph
3564
3565 2003-12-03  André Pönitz  <poenitz@gmx.net>
3566
3567         * buffer.[Ch]:
3568         * lyxtext.h:
3569         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3570         InsetText::read() as LyXText::read()
3571
3572 2003-12-02  Angus Leeming  <leeming@lyx.org>
3573
3574         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3575         type. Add a comment in the implementation that the function uses
3576         the stream's bad() function rather than fail() as the std::streams
3577         would do.
3578
3579 2003-12-02  André Pönitz  <poenitz@gmx.net>
3580
3581         * lyxlex.[Ch]: make interface more similar to std::stream
3582
3583         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3584
3585 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3586
3587         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3588
3589 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3590
3591         * vspace.[Ch]: remove VSpace::NONE
3592
3593 2003-12-01  André Pönitz  <poenitz@gmx.net>
3594
3595         * buffer.[Ch]:
3596         * lyxtext.h: move ParagraphList member to LyXText
3597         rename LyXText::ownerParagraphs to LyXText::paragraph
3598
3599         * CutAndPaste.C:
3600         * bufferview_funcs.C:
3601         * iterators.[Ch]:
3602         * lyx_cb.C:
3603         * paragraph.C:
3604         * rowpainter.C:
3605         * tabular.C:
3606         * text.C:
3607         * text2.C:
3608         * text3.C: adjust
3609
3610         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3611
3612         * undo.C: fix cursor positioning
3613
3614 2003-12-01  John Levon  <levon@movementarian.org>
3615
3616         * BufferView_pimpl.C: fix a crash on exit with
3617         a buffer open
3618
3619 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3620
3621         * BranchList.C: fix setSelected() method.
3622
3623 2003-11-28  André Pönitz  <poenitz@gmx.net>
3624
3625         * ParagraphParameters.[Ch]:
3626         * ParameterStruct.h: remove space above/below from Paragraph to
3627          InsetVSpace
3628
3629         * BufferView_pimpl.C:
3630         * factory.C:
3631         * lyxfunc.C:
3632         * lyxtext.h:
3633         * output_latex.C:
3634         * paragraph.C:
3635         * paragraph_funcs.C:
3636         * rowpainter.[Ch]:
3637         * text.C:
3638         * text2.C:
3639         * text3.C: adjust
3640
3641 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3642
3643         * factory.C: Syntax change for CharStyles
3644
3645 2003-11-28  André Pönitz  <poenitz@gmx.net>
3646
3647         * BufferView.[Ch]:
3648         * BufferView.[Ch]:
3649         * buffer.[Ch]:
3650         * buffer.[Ch]: move LyXText member
3651
3652 2003-11-28  André Pönitz  <poenitz@gmx.net>
3653
3654         * BufferView.[Ch]: make LyXText * text a private member
3655
3656         * BufferView_pimpl.C:
3657         * cursor.C:
3658         * iterators.C:
3659         * lyx_cb.C:
3660         * lyxfind.C:
3661         * lyxtext.h:
3662         * rowpainter.[Ch]:
3663         * text.C:
3664         * text2.C:
3665         * undo.C: adjust
3666
3667         * output_plaintext.C: cleanup
3668
3669 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3670
3671         * buffer.C:
3672         * lyxtextclass.[Ch]: parametrize SGML document header
3673
3674 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3675
3676         * converter.[Ch]:
3677         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3678         getFlavor().
3679
3680 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3681
3682         * text2.C (setFont): rework using PosIterator (no more recursive)
3683         (setCharFont): no more needed
3684         (setLayout): no more selection cursors fiddling (done by redoCursor)
3685         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3686         destroy remaining ones)
3687
3688 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3689
3690         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3691         * lyxtext.h: ditto
3692         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3693         selection cursors
3694         * lyxfunc.C: adjust
3695         * text3.C: adjust + re-allow multi par depth changes
3696         * textcursor.C: simplify a bit
3697
3698 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3699
3700         * src/buffer.C:
3701         * src/lyxlayout.C:
3702         * src/lyxlayout.h:
3703         * src/lyxtext.h:
3704         * src/output_docbook.C:
3705         * src/output_latex.C:
3706         * src/paragraph.C:
3707         * src/paragraph.h:
3708         * src/sgml.C:
3709         * src/sgml.h:
3710         * src/text2.C: Introducing a number of tags parametrizing various
3711         XML formats that we may want to support
3712
3713 2003-11-25  André Pönitz  <poenitz@gmx.net>
3714
3715         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3716
3717         * lyxtext.h (leftMargin/rightMargin): simplify interface
3718
3719         * rowpainter.C:
3720         * text.C:
3721         * text2.C:
3722         * text3.C: adjust
3723
3724 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3725
3726         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3727         master file to any child files. Fixes bug 546.
3728
3729 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3730
3731         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3732
3733 2003-11-24  André Pönitz  <poenitz@gmx.net>
3734
3735         * rowpainter.C: simplification
3736
3737         * text2.C (updateCounters): remove call to redoParagraph on
3738         changed labels as this is far too expensive.
3739
3740 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3741
3742         * converter.C (convert): fix a crash: this function gets
3743         called with buffer == 0 from importer code.
3744
3745 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3746
3747         * text3.C (cursorPrevious): make sure that we do not compare
3748         iterators form different containers.
3749         (cursorNext): ditto
3750
3751         * rowpainter.C (paintSelection): make sure that we do not compare
3752         iterators from different containers.
3753
3754         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3755         iterators from different ParagraphList containers.
3756         [NEXT] ditto
3757
3758         * text2.C (LyXText): change order of initialization slightly
3759         (operator=): new function. copy all variables except cache_par_
3760         (moveUp): make sure that we do not compare iterators from
3761         different ParagraphList constainers.
3762         (moveDown): ditto
3763
3764         * text.C (firstPar): new function
3765         (lastPar): new function
3766         (endPar): new function
3767
3768         * lyxtext.h: move things around and group public functions, public
3769         variables, private functions, private variables
3770
3771 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3772
3773         * factory.C: change call to InsetERT constructor to avoid
3774         additional invocation of method status
3775         * text2.C (toggleInset): remove redundant update() call
3776         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3777         instead of a Bufferview pointer
3778
3779 2003-11-21  André Pönitz  <poenitz@gmx.net>
3780
3781         * rowpainter.C: simplification
3782
3783 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3784
3785         * text3.C (dispatch): make possible to extend a word/row selection
3786         with the mouse
3787
3788 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3789
3790         * lyxtext.h: x0_,y0_ -> xo_,yo_
3791         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3792         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3793         * rowpainter.C (paintRows): paint full paragraphs
3794
3795 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3796
3797         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3798         screen coordinates)
3799
3800 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3801
3802         * lyxtext.h: add x0_, y0_
3803         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3804         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3805
3806 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3807
3808         * text2.C (setCursorIntern): move the x_target update here *
3809         * text3.C: change some bv() to true/false in calls to
3810         cursorUp/Down/Right/Left
3811         * cursor.C: use helper function.
3812
3813 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3814
3815         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3816         * paragraph_funcs.[Ch]: correct comment
3817         * rowpainter.C: do not paint selections away from bv->cursor()
3818         Fix a long standing selection painting bug.
3819         * text3.C: generalize mouse-selection code to LyXTexts other that
3820         top one
3821         * textcursor.C: do not use y coords if we can use par offsets
3822
3823 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3824
3825         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3826         cursor position after e.g. inset insert)
3827
3828 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3829
3830         * lyxfind.C (replace): adjust to locking removal + some
3831         code simplification
3832
3833 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3836         of the path
3837
3838 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3839
3840         * lyxlayout.[Ch]:
3841         * output_docbook.C: XML sanitation: new layout
3842         parameters InnerTag and CommandDepth
3843
3844 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3845
3846         * BufferView_pimpl.C:
3847         * factory.C:
3848         * text3.C: Fix the insertion and modification of button-style
3849         insets
3850
3851 2003-11-13  André Pönitz  <poenitz@gmx.net>
3852
3853         * InsetList.[Ch]: remove deleteLyXText
3854
3855         * paragraph.[Ch]: cache beginOfBody position
3856
3857         * Bidi.C:
3858         * text.C:
3859         * text2.C:
3860         * text3.C: remove superfluous update() calls
3861
3862         * vspace.C: cleanup
3863
3864 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3867         * BufferView.C (fitLockedInsetCursor): remove
3868         * cursor.[Ch] (getDim): add
3869         * text.C (getRowNearY): add faster version
3870         * text3.C: remove some update calls
3871
3872 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3873
3874         * LaTeXFeatures.C:
3875         * LyXAction.C:
3876         * MenuBackend.C:
3877         * MenuBackend.h:
3878         * dispatchresult.h:
3879         * factory.C:
3880         * lfuns.h:
3881         * lyxfunc.C:
3882         * lyxtextclass.C:
3883         * lyxtextclass.h:
3884         * text3.C: The Character Style /XML short element patch.
3885
3886 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3887
3888         * text3.C:
3889         * factory.C: Small step to solving 'unable to insert some insets'
3890         problem
3891
3892 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3893
3894         * cursor.[Ch] (updatePos): new function for updating the y
3895         position of the tip inset
3896         * bufferview_funcs.C (put_selection_at):
3897         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3898
3899 2003-11-11  André Pönitz  <poenitz@gmx.net>
3900
3901         * text.C: remove big comment on invalid Paragraph pointers as it is
3902         not valid anymore
3903
3904 2003-11-11  André Pönitz  <poenitz@gmx.net>
3905
3906         * text_funcs.[Ch]: merge with ...
3907
3908         * text.C: ... this
3909
3910         * lyxtext.h:
3911         * text2.C:
3912         * text3.C: adjust
3913
3914         * Makefile.am: remove text_funcs.[Ch]
3915
3916 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3917
3918         * cursor.C (getPos): return absolute cached y coord
3919
3920         * BufferView_pimpl.C (fitCursor): new simplistic code
3921         (workAreaDispatch): add a fitCursor call
3922
3923 2003-11-10  André Pönitz  <poenitz@gmx.net>
3924
3925         * BufferView.[Ch]:
3926         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3927
3928 2003-11-10  André Pönitz  <poenitz@gmx.net>
3929
3930         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3931         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3932         indicate that the cursor needs to leave an inset
3933
3934         * lyxtext.h: remove inset locking
3935
3936         * cursor.[Ch]: re-implement functionality provided by inset locking
3937
3938         * BufferView.[Ch]:
3939         * BufferView_pimpl.[Ch]:
3940         * LyXAction.C:
3941         * bufferview_funcs.[Ch]:
3942         * factory.C:
3943         * funcrequest.[Ch]:
3944         * iterators.C:
3945         * lyx_cb.C:
3946         * lyxfind.C:
3947         * lyxfunc.C:
3948         * text.C:
3949         * text2.C:
3950         * text3.C:
3951         * undo.C: adjust
3952
3953 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3954
3955         * PosIterator.[Ch]: replace the stack with a vector, add inset
3956         accesor
3957         * iterators.[C]: adjust
3958
3959 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3960
3961         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3962         replaced
3963         * paragraph_funcs.C (readParToken): put the correct id in the
3964         error item, not the id of the top paragraph
3965
3966 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3969         * bufferview_funcs.C (put_selection_at): use the above
3970
3971 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3974
3975 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3976
3977         * output_linuxdoc.h:
3978         * output_plaintext.h:
3979         * output.h:
3980         * output_docbook.h: add #include statements
3981
3982 2003-11-05  José Matos  <jamatos@lyx.org>
3983
3984         * output_docbook.[Ch]:
3985         * output_latex.[Ch]:
3986         * output_linuxdoc.[Ch]:
3987         * output_plaintext.[Ch]: New files for output formats.
3988         * output.[Ch]: New file for helper functions.
3989
3990         * buffer.[Ch]:
3991         * paragraph_funcs.[Ch]: output functions moved to new files.
3992
3993         * outputparams.h: rename of latexrunparams.h
3994
3995         * LaTeX.[Ch]:
3996         * buffer.[Ch]:
3997         * bufferlist.[Ch]:
3998         * converter.[Ch]:
3999         * exporter.C:
4000         * paragraph.[Ch]:
4001         * paragraph_funcs.[Ch]:
4002         * paragraph_pimpl.[Ch]:
4003         * tabular.[Ch]: rename ascii to plaintext
4004         and LatexRunParams to OutputParams.
4005
4006 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4007
4008         * iterators.[Ch] (text): require bv argument
4009         * undo.C (recordUndo):
4010         * lyxfunc.C (dispatch):
4011         * bufferview_funcs.C (put_selection_at): adjust
4012
4013 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4014
4015         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4016
4017 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4020         nestings
4021
4022 2003-11-04  André Pönitz  <poenitz@gmx.net>
4023
4024         * cursor.[Ch]: restructure
4025
4026         * BufferView.[Ch]:
4027         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4028
4029         * iterators.[Ch] (asCursor): remove
4030
4031         * lfuns.h: remove LFUN_INSET_EDIT
4032
4033         * lyxfunc.C:
4034         * tabular.C:
4035         * text.C:
4036         * text2.C:
4037         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4038
4039 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4040
4041         * lyxfind.[Ch]: complete overhaul
4042         * BufferView_pimpl.C:
4043         * lyxfunc.C: adjust
4044         * paragraph.[Ch] (insert): add
4045
4046 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4047
4048         * BufferView.[Ch]:
4049         * lyxtext.h:
4050         * text.C: remove dead spellcheck code
4051
4052 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * dispatchresult.h: add a val setter
4055
4056         * cursor.C (dispatch): use a tempvar for data_[i]
4057
4058 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4059
4060         * PosIterator.[Ch]: compile fix
4061
4062 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4063
4064         * text.C (cursorPar): deactivate the cursor cache
4065
4066 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4067
4068         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4069
4070 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * text3.C (dispatch): adjust for new DisptchResult semantics.
4073
4074         * lyxfunc.C (dispatch): handle update when return from
4075         Cursor::dispatch, adjust for new DispatchResult semantics.
4076
4077         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4078         DispatchResult(true) mean to not update. Add class functions for
4079         setting dispatched and update, as well as reading.
4080
4081         * cursor.C (dispatch): don't handle update here
4082
4083 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4086         * trans_mgr.C: adjust
4087
4088         * paragraph_funcs.C (readParToken): exception safety
4089
4090         * lyxvc.h: store the vcs pointer in a scoped_ptr
4091         * lyxvc.C: adjust
4092
4093         * lyxsocket.C (serverCallback): exception safety
4094
4095         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4096
4097         * ispell.C (clone): make it return a auto_ptr
4098
4099         * factory.C (createInset): exception safety
4100         (readInset): exception safety
4101
4102         * bufferlist.C (newBuffer): exception safety
4103
4104         * Thesaurus.C (Thesaurus): use initialization for aik_
4105
4106         * MenuBackend.C (expandToc): exception safety.
4107
4108 2003-11-03  André Pönitz  <poenitz@gmx.net>
4109
4110         * buffer.C:
4111         * buffer.h:
4112         * bufferview_funcs.C: remove getInsetFromId()
4113
4114         * lyxcursor.[Ch]:
4115         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4116
4117         * lyxfunc.C:
4118         * text2.C:
4119         * text3.C: adjust
4120
4121 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4122
4123         * PosIterator.C (distance, advance): new
4124         * bufferview_funcs.[Ch] (put_selection_at): new
4125         * iterators.[Ch] (lockPath): new
4126
4127 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * iterators.[Ch] (asPosIterator): added
4130         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4131         * PosIterator.[Ch]: added
4132
4133 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * text3.C:
4136         * lyxfunc.C:
4137         * cursor.C (dispatch):
4138         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4139
4140         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4141         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4142         contructor, add a class function dispatched. Remove operator>=
4143
4144 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * debug.C: only use the default constructor for debugstream
4147         (lyxerr) here.
4148
4149         * main.C (main): include debug.h and setup the lyxerr streambuf
4150         here.
4151
4152 2003-10-31  José Matos  <jamatos@lyx.org>
4153
4154         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4155
4156         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4157         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4158         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4159         * paragraph_pimpl.C (simpleTeXSpecialC):
4160         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4161         add LatexRunParams argument.
4162
4163         * exporter.C (Export): change call accordingly.
4164
4165         * latexrunparams.h: add new member to take care of the other backends.
4166 2003-10-30  José Matos  <jamatos@lyx.org>
4167
4168         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4169         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4170         factorise code for paragraph output.
4171         * buffer.[Ch]:
4172         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4173         move functions.
4174
4175 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * text3.C (dispatch):
4178         * lyxfunc.C (dispatch):
4179         * cursor.C (dispatch):
4180         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4181
4182         * dispatchresult.h: make the dispatch_result_t ctor explicit
4183
4184 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4185
4186         * sgml.[Ch]:
4187         * buffer.C: small refactoring of docbook stuff
4188
4189 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4192         meaning.
4193
4194 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4197         operator dispatch_result_t, and operators for == != and >=
4198
4199         * cursor.C (dispatch): adjust for operator dispatch_result_t
4200         removal. comment out call to update
4201
4202         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4203
4204 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * text3.C:
4207         * text2.C:
4208         * text.C:
4209         * lyxtext.h:
4210         * lyxfunc.C:
4211         * cursor.C:
4212         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4213         (dispatch):
4214
4215         * dispatchresult.h: new file, DispatchResult broken out of
4216         insets/insetbase.h
4217
4218         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4219
4220 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4221
4222         * text.C (rowBreakPoint): put a hack inside #if 0
4223
4224 2003-10-28  André Pönitz  <poenitz@gmx.net>
4225
4226         * lyxtext.h:
4227         * metricsinfo.C:
4228         * paragraph_funcs.C:
4229         * rowpainter.C:
4230         * text.C:
4231         * text2.C: general cleanup (lots of small stuff)
4232
4233 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * text2.C (cursorEnd): simple fix to the "end key goes to one
4236         before the end on last row" bug
4237
4238 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4239
4240         * text.C (backspace): fix the "zombie characters"
4241
4242 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4243
4244         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4245
4246 2003-10-27  André Pönitz  <poenitz@gmx.net>
4247
4248         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4249
4250         * factory.C: handle new InsetPagebreak, InsetLine
4251
4252         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4253         and move handling into new InsetPagebreak, InsetLine
4254
4255         * BufferView_pimpl.C:
4256         * LyXAction.C:
4257         * ParagraphParameters.C:
4258         * ParameterStruct.h:
4259         * lyxfunc.C:
4260         * lyxtext.h:
4261         * paragraph.C:
4262         * paragraph.h:
4263         * paragraph_funcs.C:
4264         * paragraph_pimpl.C:
4265         * rowpainter.C:
4266         * text.C:
4267         * text2.C:
4268         * text3.C: adjust
4269
4270 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * text.C:
4273         * lyxrow_funcs.[Ch]:
4274         * Bidi.C:
4275         * paragraph.C:
4276         * lyxtext.h:
4277         * rowpainter.C:
4278         * text2.C:
4279         * text3.C: remove lastPos uses in favour of Row::endpos
4280
4281 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4282
4283         * undo.C (performUndoOrRedo): fix two crashes by setting a
4284         cursor by hand and reordering some calls. Use bv->lockInset instead
4285         of inset->edit because the latter loses cursor information
4286
4287 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4288
4289         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4290         by Martin
4291         (rowBreakPoint): fix width. change point to point + 1.
4292         Add a missing check.
4293
4294 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4295
4296         * MenuBackend.C:
4297         * lyxfunc.C: fix (at least partly) the problems
4298         with the Nav menu and headers inside branch insets
4299         reported by Kayvan
4300
4301 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * paragraph.C (getChar): add strong asserts
4304
4305         * lyxrow_funcs.C (lastPos): remove hideous hack
4306
4307         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4308         (fill): adjust to that (avoid an infinite loop)
4309
4310 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4311
4312         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4313
4314 2003-10-23  André Pönitz  <poenitz@gmx.net>
4315
4316         * RowList_fwd.h: change list<> to vector<> to gain speed
4317         after suggestion from Alfredo
4318
4319 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4320
4321         * lyxtext.h: move the bidi stuff from here...
4322         * text.C: and here
4323         * text2.C: and here
4324         * Bidi.[Ch]: ... to here
4325
4326 2003-10-23  André Pönitz  <poenitz@gmx.net>
4327
4328         * lyxtext.h:
4329         * text.C (isLastRow, isFirstRow): new functions
4330
4331         * paragraph.h: new width cache member
4332
4333         * rowpainter.C: replace RowList::iterator with Row & where possible
4334
4335         * lyxfunc.C: replace several view()->text with a single call
4336
4337         * toc.C: fix 'unused' warning
4338
4339 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4340
4341         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4342         when woring with stream::pos_type
4343         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4344
4345 2003-10-22  André Pönitz  <poenitz@gmx.net>
4346
4347         * lyxtext.h:
4348         * text.C: use Row & instead of RowList::iterator
4349
4350         * lyxrow.h: rename end() to endpos()
4351
4352         * rowpainter.C:
4353         * text.C:
4354         * text2.C: adjust
4355
4356 2003-10-22  Angus Leeming  <leeming@lyx.org>
4357
4358         * buffer.[Ch] (fully_loaded): new member function, returning true
4359         only when the file has been loaded fully.
4360         Used to prevent the premature generation of previews and by the
4361         citation inset to prevent computation of the natbib-style label.
4362
4363         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4364         templates are all set up.
4365
4366         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4367
4368 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4369
4370         * text.C: fixed an "oops" in the "is a bit silly"
4371         bug fix
4372
4373 2003-10-21  André Pönitz  <poenitz@gmx.net>
4374
4375         * FuncStatus.[Ch]: small stuff, whitespace
4376
4377         * lyxfont.[Ch]: operator<<() for debug reasons
4378
4379         * lyxfunc.C:
4380         * lyxrow_funcs.C:
4381         * lyxtext.h: whitespace, spelling
4382
4383         * paragraph.C: naming of variables
4384
4385         * text.C:
4386         * text2.C: small stuff
4387
4388
4389 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4390
4391         * text.C: (1) finish off the inset display() work;
4392         (2) fix the "is a bit silly" bug (accessing char
4393         past end of par).
4394
4395 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4396
4397         * text.C: re-introduce display() for insets, fixing the
4398         various bugs (stretch of line above, math inset
4399         positioning, ...)
4400
4401 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4402
4403         * text.C (rightMargin): remove spurious semicolon
4404
4405         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4406         1415)
4407
4408 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4409
4410         * text3.C: fix one crash due to wrong cursor def
4411
4412 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * vc-backend.C (scanMaster): make the regex static
4415
4416         * LaTeX.C (scanAuxFile): make the regexs static
4417
4418         * text3.C (doInsertInset, dispatch, dispatch):
4419         * text2.C (cursorUp, cursorDown):
4420         * text.C (selectNextWordToSpellcheck):
4421         * BufferView_pimpl.C (dispatch):
4422         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4423
4424 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4425
4426         * lyxsocket.C: include <cerrno>
4427
4428 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * lyxfunc.C (dispatch): remove textcache stuff
4431
4432         * bufferlist.C (release): remove textcache stuff
4433         (closeAll): ditto
4434
4435         * TextCache.C: delete file
4436         * TextCache.h: delete file
4437
4438         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4439
4440         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4441         delete of the bv_->text.
4442         (resizeCurrentBuffer): remove texcache stuff
4443         (workAreaResize): ditto
4444
4445 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4448         action.
4449
4450 2003-10-16  André Pönitz  <poenitz@gmx.net>
4451
4452         * lyxrow.[Ch]:
4453         * paragraph.h:
4454         * rowpainter.C:
4455         * text.C:
4456         * text2.C:
4457         * text3.C: speed up by storing y positions per paragraph plus per-row
4458         offset instead of having a 'full' y position in the row.
4459
4460 2003-10-15  André Pönitz  <poenitz@gmx.net>
4461
4462         * iterators.[Ch]:
4463         * iterators.[Ch]:
4464         * undo.[Ch]: make undo aware of inner insets
4465
4466 2003-10-14  Angus Leeming  <leeming@lyx.org>
4467
4468         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4469         static member functions LyX::ref() and LyX::cref.
4470         (lastfiles): new accessor functions for the new lastfiles_ member var.
4471         (addLyXView, views_): add a new LyXView to the list of views_.
4472         (updateInset): loop over all LyXViews to call their own updateInset
4473         member function, returning a pointer to the Buffer owning the inset.
4474
4475         * BufferView_pimpl.C (loadLyXFile):
4476         * MenuBackend.C (expandLastfiles):
4477         * bufferlist.C (MenuWrite, QuitLyX):
4478         lastfiles is no longer a global variable.
4479         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4480
4481         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4482         static function. Access through LyX::cref().emergencyCleanup().
4483
4484 2003-10-14  André Pönitz  <poenitz@gmx.net>
4485
4486         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4487
4488         * undo.[Ch]: restoring part of 'undo in insets'
4489
4490         * Makefile.am:
4491         * undo_funcs.[Ch]: merge with undo.[Ch]
4492
4493         * tabular.C: small cleansing stuff
4494
4495 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4496
4497         * paragraph_funcs.C (readParToken): report unknown insets as error
4498         boxes. Use the outer paragraph as location (also for unknown
4499         tokens).
4500
4501         * factory.C (readInset): do not abort on reading an unknown inset.
4502         Eat it and return 0.
4503
4504 2003-10-13  Angus Leeming  <leeming@lyx.org>
4505
4506         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4507
4508         * lyxrc.C: displayTranslator is now a function,
4509         declared in GraphicsTypes.h.
4510
4511 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4512
4513         * format.C: new placeholder $$a to pass the socket address.
4514
4515         * bufferlist.[Ch]: new function getBufferFromTmp.
4516
4517         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4518           files in the temporary dir.
4519
4520 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4521
4522         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4523
4524         * Makefile.am: add lyxsocket.[Ch].
4525
4526         * lyx_main.C (error_handler): handle SIGPIPE.
4527
4528 2003-10-13  André Pönitz  <poenitz@gmx.net>
4529
4530         * BufferView_pimpl.C:
4531         * lyxtext.h:
4532         * text.C:
4533         * text2.C:
4534         * text3.C:
4535         * undo_funcs.[Ch]: use paroffset_type instead of
4536           ParagraphList::iterators to prevent multiple conversion
4537           (and get a more robust interface)
4538
4539 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4542         * lyxtext.h: ditto
4543         * text3.C (dispatch): ditto
4544
4545 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4548         move the onlyfile, use onlyfile instead of foundfile in a couple
4549         of places.
4550
4551         * DepTable.C (update): flush the error stream a bit more
4552
4553 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * lyxserver.C (callback): adjust
4556
4557         * lyxfunc.C (getStatus): add a missing brace in commented code
4558         (ensureBufferClean): reindent
4559         (dispatch): delete version taking a string
4560
4561 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * LaTeX.C (deplog): move found file handlig from here...
4564         (handleFoundFile): .. to new function here.
4565         (deplog): make sure to discover several files mentioned on the
4566         same log line.
4567
4568 2003-10-10  André Pönitz  <poenitz@gmx.net>
4569
4570         * lyxfunc.C:
4571         * lyxtext.h:
4572         * tabular.C:
4573         * text.C:
4574         * text2.C:
4575         * text3.C: fix some of the tabular crashes
4576
4577 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4578
4579         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4580
4581         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4582
4583 2003-10-09  André Pönitz  <poenitz@gmx.net>
4584
4585         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4586
4587         * BufferView.C:
4588         * BufferView_pimpl.C:
4589         * bufferview_funcs.C:
4590         * lyx_cb.C:
4591         * lyxcursor.C:
4592         * lyxfind.C:
4593         * lyxfunc.C:
4594         * lyxtext.h:
4595         * text.C:
4596         * text2.C:
4597         * text3.C:
4598         * text_funcs.[Ch]:
4599         * textcursor.[Ch]:
4600         * undo_funcs.C: adjust
4601
4602 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * text2.C (incrementItemDepth): new function, use a backtracking
4605         algorithm to discover the correct item depth.
4606         (resetEnumCounterIfNeeded): new function, use a backtracking
4607         algorithm to discover if counter reset is needed.
4608         (setCounter): use them. Simplify a bit. Add different labels for
4609         different item depths for itemize.
4610
4611         * paragraph.C (Paragraph): remove initialization of enumdepth
4612         (operator=): ditto
4613
4614         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4615         enumerate and itemize. Change the type of itemdepth to signed char.
4616
4617 2003-10-08  André Pönitz  <poenitz@gmx.net>
4618
4619         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4620           thing assignable.
4621         * text.C:
4622         * text2.C: adjust
4623
4624         * tabular.[Ch]: fix crash after 'row-insert'
4625
4626 2003-10-08  Angus Leeming  <leeming@lyx.org>
4627
4628         Fix doxygen warnings.
4629
4630         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4631         Remove CutAndPaste:: prefix from header file declaration.
4632
4633         * LColor.h (fill): remove LColor:: prefix from declaration.
4634
4635         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4636         use lyx::depth_type rather than Paragraph::depth_type so that
4637         header file and .C file match.
4638
4639         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4640
4641         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4642         * aspell.C: \file aspell_local.C -> \file aspell.C
4643         * gettext.C: \file gettext.C -> \file src/gettext.C
4644         * gettext.h: \file gettext.h -> \file src/gettext.h
4645         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4646         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4647         * text.C: \file text.C -> \file src/text.C
4648
4649         * toc.C: move comment so that doxygen is not confused.
4650
4651 2003-10-07  Angus Leeming  <leeming@lyx.org>
4652
4653         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4654
4655 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4656
4657         * aspell.C:
4658         * aspell_local.h: add forgotten std::string's.
4659
4660 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4661
4662         * LaTeXFeatures.C:
4663         * LyXAction.C:
4664         * factory.C:
4665         * lfuns.h:
4666         * lyxfunc.C:
4667         * text3.C: The Box patch. Fancybox support, minipage, parbox
4668
4669 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4670
4671         * CutAndPaste.h:
4672         * DepTable.h:
4673         * FloatList.h:
4674         * LaTeXFeatures.h:
4675         * ParagraphParameters.h:
4676         * TextCache.h:
4677         * Thesaurus.h:
4678         * bufferlist.h:
4679         * exporter.h:
4680         * importer.h:
4681         * lastfiles.h:
4682         * lyxfind.h:
4683         * lyxfont.h:
4684         * lyxlex.h:
4685         * lyxtextclasslist.h:
4686         * messages.h:
4687         * paragraph.h:
4688         * paragraph_pimpl.C:
4689         * textcursor.h: add <string> and other small fixes to make Lars'
4690         std::string patch compile with STLport.
4691
4692 2003-10-06  Angus Leeming  <leeming@lyx.org>
4693
4694         * LColor.h: Add missing #include <string>.
4695
4696 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4697
4698         * All most all file in all subdirs: Make <string> be the prefered
4699         way of getting to std::string, add using declarations.
4700
4701 2003-10-06  André Pönitz  <poenitz@gmx.net>
4702
4703         * metricsinfo.C: initialize LyXFont before changing attribute.
4704         (fixes the 'math in \emph is upright' bug)
4705
4706 2003-10-06  André Pönitz  <poenitz@gmx.net>
4707
4708         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4709
4710 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4711
4712         * graph.C:
4713         * paragraph_pimpl.C: Small fixes to build using STLport
4714
4715 2003-10-02  André Pönitz  <poenitz@gmx.net>
4716
4717         * lyxfunc.C:
4718         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4719
4720 2003-10-01  André Pönitz  <poenitz@gmx.net>
4721
4722         * factory.C: assert early
4723
4724 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * lyx_main.C: remove the global debug object
4727
4728         * debug.h: adjust for new debugstream
4729
4730         * debug.C: adjust for new debugstream and keep the global debug
4731         object here.
4732
4733 2003-09-22  Angus Leeming  <leeming@lyx.org>
4734
4735         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4736         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4737         an incomplete class LyXFont.
4738
4739 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4740
4741         * factory.C: bug fix in branches
4742
4743 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * lyxfunc.C (processKeySym): adjust
4746         (dispatch): adjust
4747         (dispatch): change arg name from ev to func, adjust
4748         (sendDispatchMessage): ditto
4749
4750         * lyx_main.C (defaultKeyBindings): adjust keybindings
4751         (deadKeyBindings): ditto
4752
4753         * kbsequence.C (addkey): return a FuncRequest
4754
4755         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4756
4757         * kbmap.C (bind): take a FuncRequest as arg, adjust
4758         (read): adjust
4759         (lookup): adjust
4760         (defkey): change to take a FuncRequest as arg, adjust
4761         (findbinding): take a FuncRequest as arg, adjust.
4762
4763         * funcrequest.h (operator=): added
4764
4765         * funcrequest.C (FuncRequest): default kb_action changed from
4766         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4767
4768         * buffer.C (dispatch): simplify
4769         (dispatch): adjust to take a FuncRequest as arg, adjust
4770
4771         * boost.C (assertion_failed): change assertion message slightly
4772
4773         * ToolbarBackend.C (read): simplify
4774
4775         * MenuBackend.C (binding): adjust call to findbinding, add a
4776         message if no binding is found.
4777         (read): simplify
4778         (expandToc): correct by adding a empty FuncRequest
4779
4780         * LyXAction.C: include <boost/assert.hpp>
4781         (isPseudoAction): delete function
4782         (LookupFunc): change name to...
4783         (lookupFunc): this. change return type to FuncRequest.
4784         (getActionName): take kb_action as arg, simplify
4785         (funcHasFlag): add an assert, simplify.
4786
4787 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * toc.C (action): return a FuncRequest, simplify
4790
4791         * lyxfunc.C (processKeySym): adjust
4792         (getStatus): delete version that takes an int.
4793         (getStatus): adjust
4794         (dispatch): delete version that takes action as int
4795         (dispatch): adjust
4796         (sendDispatchMessage): simplify and adjust
4797
4798         * funcrequest.C (getArg): take unsigned int as arg
4799
4800         * ToolbarBackend.C (read): adjust
4801         (add): delete version that takes func as a string.
4802         (getIton): take a FuncRequest as arg
4803
4804         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4805         action.
4806
4807         * MenuBackend.C (MenuItem): add a new construct that only takes a
4808         Kind, simplify the constructor use for submenus.
4809         (add): adjust
4810         (expandLastfiles): adjust
4811         (expandDocuments): adjust
4812         (expandFormats): adjust
4813         (expandFloatListInsert): adjust
4814         (expandFloatInsert): adjust
4815         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4816
4817         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4818         Remove class variables lyx_pseudo_map and lyx_arg_map
4819
4820         * LyXAction.C (searchActionArg): delete function
4821         (getPseudoAction): delete function
4822         (retrieveActionArg): delete function
4823         (LookupFunc): make it return kb_action, simplify.
4824         (getActionName): simplify
4825
4826         * factory.C (createInset): fix new bug
4827
4828 2003-09-19  Angus Leeming  <leeming@lyx.org>
4829
4830         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4831         masterFilename_ parameter in the include inset.
4832
4833         * factory.C (createInset): changes due to the changes to InsetInclude.
4834
4835 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4836
4837         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4838
4839 2003-09-18  Angus Leeming  <leeming@lyx.org>
4840
4841         * buffer.C:
4842         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4843         Inset::fillWithBibKeys.
4844         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4845
4846 2003-09-18  Angus Leeming  <leeming@lyx.org>
4847
4848         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4849         variables.
4850         (ctor): pass and store a 'Buffer const &'
4851         (buffer): new member function.
4852
4853         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4854         '*this' to the LaTeXFeatures ctor.
4855
4856 2003-09-18  Angus Leeming  <leeming@lyx.org>
4857
4858         * LColor.h:
4859         * lyxfont.C:
4860         * lyxfont.h:
4861         * lyxtext.h:
4862         * text.C: rename EnumLColor as LColor_color.
4863
4864 2003-09-18  Angus Leeming  <leeming@lyx.org>
4865
4866         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4867         remove #include "insets/insetbase.h" from cursor.h.
4868
4869 2003-09-18  Angus Leeming  <leeming@lyx.org>
4870
4871         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4872         InsetOld_code to remove #include "inset.h".
4873
4874         * iterators.C: add #include "insets/inset.h"
4875
4876 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4877
4878         * BufferView.C: remove more locking stuff that apparently doesn't
4879         do anything sensible.
4880
4881 2003-09-16  André Pönitz  <poenitz@gmx.net>
4882
4883         * paragraph.[Ch]:
4884         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4885           performance boost.
4886
4887 2003-09-16  Angus Leeming  <leeming@lyx.org>
4888
4889         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4890
4891         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4892         arg/return type.
4893
4894         * paragraph.h: remove #include "lyxfont.h". Forward declare
4895         LyXFont_size.
4896
4897 2003-09-16  Angus Leeming  <leeming@lyx.org>
4898
4899         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4900         of support/textutils.h.
4901         (isWord): move the contents of support/textutils.h's IsWordChar here.
4902
4903         * buffer.C:
4904         * lyxfind.C:
4905         * rowpainter.C:
4906         * text.C:
4907         * text2.C: add #include "paragraph.h".
4908
4909         * rowpainter.C:
4910         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4911
4912 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * main.C:
4915         * lyx_main.C:
4916         * lyx_cb.C:
4917         * buffer.C:
4918         * LaTeX.C: use namespace alias for lyx::support::os
4919
4920 2003-09-16  Angus Leeming  <leeming@lyx.org>
4921
4922         * bufferparams.C:
4923         * bufferview_funcs.C:
4924         * factory.C:
4925         * lyxfunc.C:
4926         * paragraph_pimpl.C:
4927         * rowpainter.C:
4928         * text.C: add #include "LColor.h".
4929
4930 2003-09-16  Angus Leeming  <leeming@lyx.org>
4931
4932         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4933         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4934         return LyXFont &.
4935         Store the FontBits::color variable as an int rather than as an
4936         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4937         file.
4938
4939         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4940         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4941         string calls together.
4942
4943         * lyxrc.C: add #include "LColor.h".
4944
4945 2003-09-15  Angus Leeming  <leeming@lyx.org>
4946
4947         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4948         a cow_ptr.
4949
4950 2003-09-15  Angus Leeming  <leeming@lyx.org>
4951
4952         * LColor.h: add an EnumLColor wrapper for LColor::color.
4953
4954         * lyxfont.[Ch] (color, setColor, realColor):
4955         * lyxtext.h, text.C (backgroundColor):
4956         pass EnumLColor args to/from the functions, rather than LColor::color
4957         ones.
4958
4959         * lyxfont.h:
4960         * lyxtext.h: forward declare EnumLColor.
4961
4962         * lyx_main.C: add #include "LColor.h".
4963
4964 2003-09-15  Angus Leeming  <leeming@lyx.org>
4965
4966         * .cvsignore: add lyx-gtk.
4967
4968 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * Chktex.C
4971         * LaTeX.C
4972         * LaTeXFeatures.C
4973         * ParagraphParameters.C
4974         * Spacing.C
4975         * buffer.C
4976         * bufferparams.C
4977         * bufferview_funcs.C
4978         * chset.C
4979         * counters.C
4980         * funcrequest.C
4981         * lyxfont.C
4982         * lyxgluelength.C
4983         * lyxlength.C
4984         * paragraph.C
4985         * paragraph_funcs.C
4986         * text3.C
4987         * vc-backend.C: remove usage of STRCONV
4988
4989 2003-09-15  Angus Leeming  <leeming@lyx.org>
4990
4991         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4992         explicitly define the color passed to the painter.
4993
4994 2003-09-15  Angus Leeming  <leeming@lyx.org>
4995
4996         * bufferparams.C (BufferParams): reorder member initializers to avoid
4997         compiler warning.
4998
4999 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5000
5001         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5002         * text.C (updateRowPositions): remove an unusual nop
5003
5004 2003-09-12  André Pönitz  <poenitz@gmx.net>
5005
5006         * BufferView_pimpl.C:
5007         * Bullet.C:
5008         * layout.h:
5009         * lyxfunc.C:
5010         * lyxlayout.[Ch]:
5011         * lyxtextclass.C:
5012         * rowpainter.C:
5013         * text.C:
5014         * text2.C:
5015         * Counters.[Ch]: finish the 'automatic counters' job
5016
5017 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5018
5019         * aspell.C: include <boost/assert.cpp> (compile fix)
5020
5021 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5022
5023         * boost.C (assertion_failed): use lyx::support::abort instead of
5024         assert.
5025
5026 2003-09-10  Angus Leeming  <leeming@lyx.org>
5027
5028         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5029         with their _fwd progeny.
5030
5031 2003-09-09  Angus Leeming  <leeming@lyx.org>
5032
5033         134 files throughtout the source tree: replace 'using namespace abc;'
5034         directives with the appropriate 'using abc::xyz;' declarations.
5035
5036 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5037
5038         * boost.C (emergencyCleanup): moved here from LAssert.c
5039         (assertion_failed): new function, called by BOOST_ASSERT
5040
5041         * several files: change Assert to BOOST_ASSERT
5042
5043 2003-09-09  Angus Leeming  <leeming@lyx.org>
5044
5045         * buffer.[Ch]: Add an Impl class and move Buffer's member
5046         variables into it. As a result move several header files out of
5047         buffer.h.
5048
5049         Add header files to lots of .C files all over the tree as a result.
5050
5051 2003-09-09  Angus Leeming  <leeming@lyx.org>
5052
5053         * buffer.[Ch]: make Buffer's member variables private. Add
5054         accessor functions.
5055
5056         Lots of changes all over the tree as a result.
5057
5058 2003-09-08  Angus Leeming  <leeming@lyx.org>
5059
5060         * graph.C: #include <config.h>.
5061
5062 2003-09-08  Angus Leeming  <leeming@lyx.org>
5063
5064         * BranchList.C:
5065         * BufferView.C:
5066         * BufferView_pimpl.C:
5067         * CutAndPaste.C:
5068         * DepTable.C:
5069         * LaTeX.C:
5070         * LaTeXFeatures.C:
5071         * LyXAction.C:
5072         * MenuBackend.C:
5073         * TextCache.C:
5074         * aspell.C:
5075         * buffer.C:
5076         * bufferlist.C:
5077         * changes.C:
5078         * chset.C:
5079         * converter.C:
5080         * counters.C:
5081         * debug.C:
5082         * graph.C:
5083         * ispell.C:
5084         * lyx_cb.C:
5085         * lyxfind.C:
5086         * lyxfunc.C:
5087         * lyxlex_pimpl.C:
5088         * lyxrc.C:
5089         * lyxrow.C:
5090         * paragraph.C:
5091         * rowpainter.C:
5092         * texrow.C:
5093         * text.C:
5094         * text2.C:
5095         * toc.C: remove redundant using directives.
5096
5097 2003-09-07  Angus Leeming  <leeming@lyx.org>
5098
5099         * LaTeXFeatures.h: remove #include "support/types.h".
5100         * ToolbarBackend.h: remove #include <algorithm>.
5101         * changes.h: remove #include <ctime>.
5102         * debug.h: remove #include <iosfwd>.
5103         * graph.h: remove #include "support/std_string.h".
5104         * lyx_main.h: remove #include <csignal>.
5105         * lyxlex_pimpl.h: remove #include <fstream>.
5106         * sgml.h: remove #include <algorithm>, <utility>.
5107         * toc.h: remove #include "support/std_ostream.h".
5108         Add #include <iosfwd>.
5109
5110 2003-09-07  Angus Leeming  <leeming@lyx.org>
5111
5112         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5113
5114         * converter.h: forward declare LatexRunParams.
5115         * encoding.h: remove #include "lyxrc.h".
5116         * lyxtext.h: remove #include "LColor.h".
5117         * lyxtextclass.h: remove #include "support/types.h".
5118         * trans.h: remove #include "tex-accent.h".
5119         * trans_mgr.h: remove #include "tex-accent.h".
5120         * insets/inset.h: remove #include "support/types.h", <vector>.
5121         * insets/insetcollapsable.h: remove #include "LColor.h".
5122         * insets/insetinclude.h: remove #include "dimension.h".
5123         * insets/insetlatexaccent.h: remove #include "dimension.h".
5124         * insets/insetoptarg.h:: remove #include "insettext.h".
5125         * insets/insettext.h: remove #include "dimension.h",
5126         <boost/shared_ptr.hpp>
5127
5128         * insets/renderers.h: add #include "dimension.h".
5129         * insets/updatableinset.h: add #include "support/types.h".
5130
5131         * many .C files: Associated changes.
5132
5133 2003-09-06  Angus Leeming  <leeming@lyx.org>
5134
5135         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5136         one, inside testInvariant.
5137
5138         * PrinterParams.C: new file.
5139         * PrinterParams.[Ch]: move the function bodies out of line.
5140
5141 2003-09-06  Angus Leeming  <leeming@lyx.org>
5142
5143         * ParagraphParameters.h: forward declare ParameterStruct rather than
5144         including its header file.
5145         (depth): moved out-of-line.
5146
5147 2003-09-06  Angus Leeming  <leeming@lyx.org>
5148
5149         * BufferView_pimpl.h:
5150         * kbmap.h:
5151         * kbsequence.h:
5152         * lyxfunc.h: forward declare LyXKeySym rather than
5153         #include "frontends/LyXKeySym.h".
5154
5155         * BufferView_pimpl.C:
5156         * kbmap.C:
5157         * kbsequence.C:
5158         * lyxfunc.C: associated changes.
5159
5160 2003-09-06  Angus Leeming  <leeming@lyx.org>
5161
5162         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5163         As a result, can remove the #include "insets/inset.h" from BufferView.h
5164
5165 2003-09-06  Angus Leeming  <leeming@lyx.org>
5166
5167         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5168         As a result, can remove the #include "insets/inset.h" from BufferView.h
5169
5170 2003-09-06  Angus Leeming  <leeming@lyx.org>
5171
5172         * buffer_funcs.C:
5173         * buffer.h:
5174         * bufferlist.C:
5175         * BufferView.C:
5176         * bufferview_funcs.C:
5177         * BufferView_pimpl.C:
5178         * CutAndPaste.C:
5179         * lyx_cb.C:
5180         * lyxfunc.C:
5181         * paragraph.h:
5182         * ParagraphParameters.C:
5183         * tabular.C:
5184         * text3.C:
5185         * toc.C:
5186         * undo_funcs.C:
5187         * frontends/controllers/ControlDocument.C:
5188         * insets/insetcaption.C: rearrange the #includes into some sort of
5189         coherent order.
5190
5191         * buffer.h: remove #includes ErrorList.h, undo.h
5192
5193 2003-09-06  Angus Leeming  <leeming@lyx.org>
5194
5195         * support/types.h: add a 'depth_type' typedef, used to store the
5196         nesting depth of a paragraph.
5197
5198         * paragraph.h:
5199         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5200         defining explicitly.
5201
5202         * buffer.h:
5203         * paragraph_funcs.h:
5204         * ParagraphParameters.h:
5205         * sgml.h: use lyx::depth_type rather than Paragraph or
5206         ParameterStruct's depth_type.
5207
5208         * buffer.h
5209         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5210
5211         * BufferView.C:
5212         * BufferView_pimpl.C:
5213         * CutAndPaste.C:
5214         * ParagraphParameters.C:
5215         * buffer_funcs.C:
5216         * bufferlist.C:
5217         * bufferview_funcs.C:
5218         * lyx_cb.C:
5219         * lyxfunc.C:
5220         * tabular.C:
5221         * text3.C:
5222         * toc.C:
5223         * undo_funcs.C:
5224         * frontends/LyXView.C:
5225         * frontends/controllers/ControlDocument.C:
5226         * frontends/controllers/ControlErrorList.C:
5227         * insets/insetbibitem.C:
5228         * insets/insetbranch.C:
5229         * insets/insetcaption.C:
5230         * insets/insetcollapsable.C:
5231         * insets/insetenv.C:
5232         * insets/insetert.C:
5233         * insets/insetfloat.C:
5234         * insets/insetfoot.C:
5235         * insets/insetfootlike.C:
5236         * insets/insetnewline.C:
5237         * insets/insetquotes.C:
5238         * insets/insettabular.C:
5239         * insets/insettext.C:
5240         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5241
5242         * frontends/controllers/ControlChanges.C: #include "changes.h".
5243
5244 2003-09-06  Angus Leeming  <leeming@lyx.org>
5245
5246         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5247         than #including paragraph.h.
5248
5249         * ParagraphList.h:
5250         * RowList.h: deleted. Superfluous.
5251
5252         * CutAndPaste.h:
5253         * iterators.h:
5254         * lyxcursor.h:
5255         * lyxtext.h:
5256         * text_funcs.h:
5257         * undo.h:
5258         * undo_funcs.h:
5259         * insets/inset.h:
5260         * insets/insettext.h: use ParagraphList_fwd.h rather than
5261         ParagraphList.h.
5262
5263         * paragraph.h: don't forward declare ParagraphList.
5264
5265         * buffer.h:
5266         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5267         rather than ParagraphList.h. paragraph.h is still needed for the
5268         Paragraph::depth_type parameters.
5269
5270         * textcursor.h: enable it to compile stand-alone in light of the
5271         above changes.
5272
5273         * bufferview_funcs.C:
5274         * iterators.C:
5275         * lyxfunc.C:
5276         * lyxrow_funcs.C:
5277         * paragraph.C:
5278         * rowpainter.C:
5279         * text.C:
5280         * text2.C:
5281         * text3.C:
5282         * text_funcs.C:
5283         * textcursor.C:
5284         * undo.C:
5285         * frontends/controllers/ControlParagraph.C:
5286         * frontends/controllers/ControlTabular.C:
5287         * insets/insetmarginal.C:
5288         * insets/insetminipage.C:
5289         * insets/insetnote.C:
5290         * insets/insetoptarg.C: add header files needed to compile again.
5291
5292 2003-09-06  Angus Leeming  <leeming@lyx.org>
5293
5294         * RowList_fwd.h: new file, forward-declaring Row rather than
5295         #including lyxrow.h.
5296
5297         * lyxrow_funcs.h:
5298         * lyxtext.h:
5299         * paragraph.h:
5300         * insets/insettext.h: use it instead of RowList.h
5301
5302         * bufferview_funcs.C:
5303         * lyxfunc.C:
5304         * lyxrow_funcs.C:
5305         * paragraph.C:
5306         * rowpainter.C:
5307         * text.C:
5308         * text2.C:
5309         * text3.C: #include "RowList.h".
5310
5311 2003-09-05  Angus Leeming  <leeming@lyx.org>
5312
5313         * factory.C (createInset):
5314         * vspace.C (c-tor): replace sscanf call with an istringstream.
5315         * ispell.C: re-add missing HP/UX headers.
5316         * lyxserver.C: re-add missing  os2 headers.
5317
5318 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5319
5320         * BranchList.C:
5321         * graph.C:
5322         * ispell.C:
5323         * lastfiles.C:
5324         * lyx_cb.C:
5325         * lyxserver.C:
5326         * texrow.C:
5327         * text3.C: re-add missing system headers, needed for 2.95.2.
5328
5329 2003-09-05  Angus Leeming  <leeming@lyx.org>
5330
5331         Changes most place everywhere due to the removal of using directives
5332         from support/std_sstream.h.
5333
5334 2003-09-05  Angus Leeming  <leeming@lyx.org>
5335
5336         Replace LString.h with support/std_string.h,
5337         Lsstream.h with support/std_sstream.h,
5338         support/LIstream.h with support/std_istream.h,
5339         support/LOstream.h with support/std_ostream.h.
5340
5341         Changes resulting throughout the tree.
5342
5343 2003-09-05  Angus Leeming  <leeming@lyx.org>
5344
5345         * sgml.h: ensure that the header file can be compiled stand-alone.
5346         * *.C: strip out redundant #includes. (320 in total.)
5347
5348 2003-09-04  Angus Leeming  <leeming@lyx.org>
5349
5350         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5351         here (from getPackages).
5352
5353         * debug.[Ch]: add a new EXTERNAL tag.
5354
5355 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5356
5357         * text2.C (cursorEnd): simplify
5358         (setCursor): adjust
5359         (getColumnNearX): adjust
5360
5361         * text.C (computeBidiTables): adjust
5362         (fill): adjust
5363
5364         * rowpainter.C (paintChars): adjust
5365         (paintSelection): adjust
5366         (paintChangeBar): adjust
5367         (paintText): adjust
5368
5369         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5370         lastPos instead.
5371         (numberOfSeparators): adjust
5372
5373 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5374
5375         * LyXAction.C:
5376         * box.[Ch]:
5377         * lfuns.h:
5378         * lyxfunc.C:
5379         * text3.C: Restricts the mouse click functionality
5380         of insets like bibtex, include, toc and floatlist to the visible
5381         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5382         up the dialogs. Cursor has to be in front of the inset (i.e.
5383         start of row) for this to function.
5384
5385 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5386
5387         * bufferview_funcs.C (currentState): output row information
5388
5389 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5390
5391         * bufferview_funcs.C (currentState): output paragraph position
5392
5393 2003-09-04  Angus Leeming  <leeming@lyx.org>
5394
5395         * FloatList.h: move out #include "Floating.h".
5396         * LaTeX.h: move out #include "DepTable.h".
5397         * LyXAction.h: move out #include "funcrequest.h".
5398         * buffer.h: move out #include "author.h", "iterators.h".
5399         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5400         * lyx_main.h: move out #include "errorlist.h".
5401         * lyxfunc.h: move out #include "FuncStatus.h".
5402         * lyxtext: move out #include "lyxcursor.h".
5403         * paragraph_pimpl.h: move out #include "counters.h".
5404
5405 2003-09-03  Angus Leeming  <leeming@lyx.org>
5406
5407         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5408         preamble_snippets list, enabling us to add snippets to the preamble
5409         only if the snippet was not there already.
5410
5411 2003-09-04  Angus Leeming  <leeming@lyx.org>
5412
5413         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5414
5415 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5418         update
5419
5420 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5421
5422         * BranchList.C: point fix, earlier forgotten
5423
5424 2003-09-02  Angus Leeming  <leeming@lyx.org>
5425
5426         * box.C (contains): renamed from 'contained' after a fantastic
5427         amount of hot air.
5428
5429 2003-09-02  John Levon  <levon@movementarian.org>
5430
5431         * BufferView.C:
5432         * lyxcursor.h:
5433         * lyxcursor.C:
5434         * lyxfunc.C:
5435         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5436
5437 2003-09-02  John Levon  <levon@movementarian.org>
5438
5439         * text2.C: simplification of cursorEnd(), including partial
5440         fix for bug 1376
5441
5442 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * buffer.C (readFile): add a space
5445
5446 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5447
5448         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5449
5450 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * buffer.C (readFile): new function, take a filename and a
5453         ParagraphList::iterator
5454         (readFile): adjust
5455         (readFile): adjust, make it private. don't use setStream, make
5456         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5457         always contain the filename.
5458
5459         * BufferView.C (insertLyXFile): simplify and make it work for
5460         gzipped files.
5461
5462 2003-08-30  John Levon  <levon@movementarian.org>
5463
5464         * Makefile.am: fix dist (from Kayvan)
5465
5466 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * most files: change to use const Buffer refs
5469
5470 2003-08-27  André Pönitz  <poenitz@gmx.net>
5471
5472         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5473         on top of ownerPar().
5474
5475 2003-08-27  John Levon  <levon@movementarian.org>
5476
5477         * funcrequest.C: properly initialise POD members
5478
5479 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5480
5481         * lyxtext.h (top_y): move top_y from here
5482         * text.C:
5483         * text2.C:
5484         * text3.C:
5485         * BufferView.[Ch]:
5486         * BufferView_pimpl.[Ch]: to here
5487         * frontends/screen.C:
5488         * insets/insettabular.C:
5489         * insets/insettext.C: adjust
5490         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5491
5492 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5493
5494         * BufferView.[Ch]:
5495         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5496
5497 2003-08-26  André Pönitz  <poenitz@gmx.net>
5498
5499         * paragraph_func.[Ch] (outerPar): new function
5500
5501         * paragraph.C:
5502         * paragraph_funcs.C:
5503         * paragraph_funcs.h:
5504         * paragraph_pimpl.C:
5505         * text2.C: remove Inset::par_owner
5506
5507 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5508
5509         * lyxrow_funcs.C:
5510         * lyxtext.h:
5511         * text.C:
5512         * text2.C: eliminates the needFullRow/display() stuff
5513         altogether, putting the logic in metrics/draw in the insets.
5514
5515 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5516
5517         * text2.C (redoParagraphInternal, redoParagraphs):
5518         * text.C (redoParagraph): add a call to updateRowPositions at the
5519         end of each 'metrics-like' call. Remove all others.
5520         (getRow): remove the 'y-computing' version.
5521         (getRowNearY): do not compute nor return the real y. Solve the
5522         'y < 0' problem and simplify.
5523
5524 2003-08-22  Angus Leeming  <leeming@lyx.org>
5525
5526         * *.[Ch]: clean-up of licence and author blurbs.
5527         Also move config.h out of a few .h files and into a few .C files.
5528
5529 2003-08-22  André Pönitz  <poenitz@gmx.net>
5530
5531         * lyxrow.[Ch]: add x_ and *fill_ members
5532
5533         * lyxtext.h:
5534         * text.C:
5535         * rowpainter.C:
5536         * text2.C: adjust/remove prepareToPrint() calls
5537
5538 2003-08-22  André Pönitz  <poenitz@gmx.net>
5539
5540         * lyxrow.[Ch]: add  end_ member
5541
5542         * lyxrow_funcs.C: use LyXRow::end_
5543
5544         * lyxtext.h (singleWidth): add LyXFont parameter
5545
5546         * rowpainter.C:
5547         * text2.C: adjust LyXText::singleWidth() calls
5548
5549         * text.C (redoParagraph): simplify row breaking logic
5550
5551
5552 2003-08-19  André Pönitz  <poenitz@gmx.net>
5553
5554         * funcrequest.C: initialize button_ member
5555
5556         * text3.C:
5557         * rowpainter.[Ch]: interface consolidation
5558
5559 2003-08-18  André Pönitz  <poenitz@gmx.net>
5560
5561         * BufferView.C:
5562         * BufferView_pimpl.C:
5563         * lyxfind.C:
5564         * paragraph_funcs.C:
5565         * rowpainter.C:
5566         * text3.C: remove LyXScreen::draw() and fitCursor calls
5567
5568         * BranchList.h: remove spurious semicolons
5569
5570         * MenuBackend.C: fix branchlist related crash
5571
5572 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5573
5574         * BranchList.[Ch]:
5575         * InsetList.[Ch]:
5576         * LColor.[Ch]:
5577         * LyXAction.C:
5578         * Makefile.am:
5579         * MenuBackend.[Ch]:
5580         * bufferparams.[Ch]:
5581         * factory.C:
5582         * lfuns.h:
5583         * lyxfunc.C:
5584         * text3.C: implements the 'branch inset'
5585         idea. This allows the output of various versions of a document
5586         from a single source version, selectively outputing or suppressing
5587         output of parts of the text.
5588         This implementation contains a 'branch list editor' in a separate
5589         tab of the document settings dialog. Branches are user definable
5590         and have a "display colour" to distinguish them on-screen.
5591
5592         ColorHandler was somewhat cleaned up.
5593         (1) make possible a dynamically growing LColor list by allowing
5594         the graphic context cache to grow along (vector);
5595         (2) eliminate an IMHO unnecessary step in colour allocation.
5596
5597 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5598
5599         * BufferView_pimpl.C: compile fix
5600
5601 2003-08-15  André Pönitz  <poenitz@gmx.net>
5602
5603         * rowpainter.C: remove extra metrics calls
5604
5605         * lyxtext.h: merge the two constructors into a single one,
5606           pass reference to owner's par list
5607
5608         * BufferView_pimpl.C:
5609         * text.C:
5610         * text2.C: adjust
5611
5612 2003-08-15  André Pönitz  <poenitz@gmx.net>
5613
5614         * lyxrow_funcs.[Ch]:
5615         * lyxtext.h:
5616         * paragraph.h:
5617         * paragraph_funcs.C:
5618         * rowpainter.C:
5619         * text.C:
5620         * text2.C:
5621         * text3.C:
5622         * text_funcs.C: split LyXText::rowlist_ into individual
5623         Paragraph::rows_ chunks
5624
5625         * BufferView.[Ch]:
5626         * BufferView_pimpl.[Ch]:
5627         * lyxfind.C:
5628         * lyxtext.h:
5629         * text3.C: remove toggleSelection()
5630
5631 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5632
5633         * bufferlist.C: beautify two alerts (shorter text of buttons)
5634         * buffer.C: Remove redundant ' ' from message
5635         * tabular.h:
5636         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5637         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5638         rename VALIGN_CENTER to VALIGN_MIDDLE
5639
5640 2003-08-11  André Pönitz  <poenitz@gmx.net>
5641
5642         * lyxtext.h (getPar):
5643         * text.C: new function
5644
5645 2003-08-11  André Pönitz  <poenitz@gmx.net>
5646
5647         * Makefile.am:
5648         * tracer.[Ch]: remove unneeded files
5649
5650         * InsetList.[Ch]: remove resizeInsetsLyXText()
5651
5652         * lyxtext.h:
5653         * text.C:
5654         * text2.C:
5655         * text3.C: merge insertParagraphs() and appendParagraph()
5656         remove breakAgain(), update()
5657
5658         * BufferView_pimpl.[Ch]:
5659         * bufferview_funcs.[Ch]:
5660         * lyxfunc.C:
5661         * paragraph.[Ch]:
5662         * rowpainter.C:
5663         * tabular.C: adjust after text & InsetList changes.
5664
5665 2003-08-08  André Pönitz  <poenitz@gmx.net>
5666
5667         * text.C (insertChar, backspace): replace rowlist fiddling
5668         with rebreak of full par
5669
5670         * lyxtext.h:
5671         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5672         checkParagraph, updateInset): removed
5673
5674 2003-08-07  André Pönitz  <poenitz@gmx.net>
5675
5676         * paragraph.C:
5677         * text3.C: merge some LFUN handlers, remove dead code
5678
5679 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5680
5681         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5682
5683 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * text2.C (DEPM): fix part of bug 1255 and 1256
5686
5687 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5688
5689         * BufferView_pimpl.C (workAreaDispatch): change to use
5690         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5691         that are no mouse related.
5692
5693 2003-08-05  André Pönitz  <poenitz@gmx.net>
5694
5695         * BufferView.[Ch]:
5696         * BufferView_pimpl.[Ch]:
5697         * bufferview_funcs.C:
5698         * text2.C:
5699         * text3.C: rip out "deep update"
5700
5701         * textcursor.[Ch] (last_sel_cursor): remove unused member
5702
5703 2003-08-04  André Pönitz  <poenitz@gmx.net>
5704
5705         * BufferView.[Ch]:
5706         * BufferView_pimpl.[Ch]:
5707         * ParagraphParameters.C:
5708         * bufferview_funcs.C:
5709         * lyx_cb.C:
5710         * lyxfind.C:
5711         * lyxfunc.C:
5712         * text.C:
5713         * text2.C:
5714         * text3.C: replace "complicated" BufferView::update(...) calls with
5715         simpler ones.
5716
5717         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5718
5719 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5720
5721         * Makefile.am (lyx_SOURCES): add paper.h
5722
5723 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5724
5725         * Makefile.am: move things around so that both lyx-qt and
5726         lyx-xforms can be built (according to --with-frontend). Then lyx
5727         is a symbolic link to lyx-[firstfrontend]
5728
5729 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5730
5731         * Always use std::endl with lyxerr
5732
5733 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5734
5735         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5736
5737 2003-08-01  André Pönitz  <poenitz@gmx.net>
5738
5739         * BufferView.[Ch]:
5740         * BufferView_pimpl.[Ch]:
5741         * lyxfunc.C:
5742         * text3.C: merge BufferView::repaint() and BufferView::update()
5743
5744 2003-08-01  José Matos  <jamatos@lyx.org>
5745
5746         * buffer.[Ch]: file_format is no longer a buffer data element.
5747
5748 2003-08-01  André Pönitz  <poenitz@gmx.net>
5749
5750         * BufferView.C:
5751         * lyxtext.h:
5752         * text.C:
5753         * text2.C: make redoParagraph more independent of current cursor
5754
5755         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5756         * text.C:
5757         * text2.C: remove unneeded members
5758
5759 2003-07-30  André Pönitz  <poenitz@gmx.net>
5760
5761         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5762
5763         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5764           create a single function...
5765
5766         * paragraph_funcs.C (moveItem): ... here.
5767
5768         * text.C:
5769           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5770
5771 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5772
5773         * LColor.[Ch]: Add comment and greyedout logical colors.
5774
5775 2003-07-30  André Pönitz  <poenitz@gmx.net>
5776
5777         * tabular.C: don't use Assert too heavily. This crashes where it
5778           shouldn't
5779
5780 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5781
5782         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5783         is disabled (bug 1232)
5784
5785 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5786
5787         * factory.C: limited 'arg' scope
5788
5789 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5790
5791         * factory.C: fixed Note submenu issues
5792
5793 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5794
5795         * factory.C: submenu for Note/Comment/Greyedout
5796
5797 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5798
5799         * lyx_main.C (LyX):
5800         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5801
5802 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5803
5804         * LaTeXFeatures.C:
5805         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5806         greyedout. Patch provided by Jürgen Spitzmüller.
5807
5808 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5809
5810         * kbmap.C (read): fix error message when reading bind files
5811
5812 2003-07-29  Angus Leeming  <leeming@lyx.org>
5813
5814         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5815         certainly does not do what it purports to do. I am doing it, and
5816         us, a favour by killing it.
5817
5818 2003-07-28  José Matos  <jamatos@lyx.org>
5819
5820         * buffer.C (readBody, do_writeFile):
5821         * paragraph.C(readParagraph): \end_document replaces \the_end.
5822
5823 2003-07-29  André Pönitz  <poenitz@gmx.net>
5824
5825         * BufferView.[Ch]:
5826         * BufferView_pimpl.[Ch]:
5827         * lyxfunc.C:
5828         * text2.C:
5829         * text3.C:
5830         * textcursor.[Ch]: remove toggleToggle & Co
5831
5832 2003-07-28  José Matos  <jamatos@fep.up.pt>
5833
5834         * buffer.C (readParagraph):
5835         * params_func (readParToken, readParagraph):
5836         * paragraph.C (write): \layout -> \begin_layout.
5837
5838 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5839
5840         * lyxlex_pimpl.C (setFile): clean up slightly.
5841
5842         * bufferparams.h: add compressed var
5843
5844         * buffer_funcs.C (readFile): adjust for LyXLex change
5845         (newFile): ditto + simplify
5846
5847         * buffer.C (writeFile): handle writing of compressed files
5848
5849         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5850         Check if the file is compressed and set a bufferparm if so.
5851
5852         * Makefile.am (lyx_LDADD): remove explicit -lz
5853
5854 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5855
5856         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5857         makeDocBookFile): put the real LyX version in the first line of
5858         the file
5859
5860         * version.h:
5861         * version.C.in: remove lyx_docversion
5862
5863         * tabular.C (write_attribute): add a template-based version to
5864         write enums properly
5865
5866 2003-07-28  André Pönitz  <poenitz@gmx.net>
5867
5868         * lyxtext.h:
5869         * text.C:
5870         * text2.C:
5871         * text3.C: use doubles again for x-coordinates. They are needed.
5872
5873 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * messages.C (getLocaleDir): use lyx_localedir()
5876
5877         * lyxlex_pimpl.C (setFile): compress stuff
5878
5879         * buffer.C (writeFile): add some compression stuff
5880         (do_writeFile): new func, dont call expliti close... will this
5881         breake anything?
5882
5883         * Makefile.am (lyx_LDADD): add -lz
5884
5885 2003-07-28  José Matos  <jamatos@fep.up.pt>
5886
5887         * buffer.C: increment file format.
5888         * paragraph_funcs (readParagraph, readParToken):
5889         * paragraph.C (readParagraph): add \end_layout.
5890
5891 2003-07-27  Angus Leeming  <leeming@lyx.org>
5892
5893         * Makefile.am: remove special casing for configure-time setting of
5894         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5895
5896         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5897         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5898
5899 2003-07-26  André Pönitz  <poenitz@gmx.net>
5900
5901         * paragraph_func.[Ch]:
5902         * paragraph.C (realizeFont): inline it whereever it is used
5903
5904         * rowpainter.C:
5905         * text.C:
5906         * text2.C:
5907         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5908
5909
5910 2003-07-26  André Pönitz  <poenitz@gmx.net>
5911
5912         *       lyxtext.h:
5913         * text.C:
5914         * text2.C: get rid of LyXText::need_break_row
5915
5916 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * toc.[Ch]: put namespace toc inside namespace lyx
5919
5920         * MenuBackend.C (expandToc2): adjust for lyx::toc
5921         (expandToc): ditto
5922
5923         * lyxfunc.C (dispatch): adjust for lyx::find
5924
5925         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5926         lyx::find instead. Reorganize a bit.
5927         (LyXReplace): rename to replace
5928         (LyXFind): rename to find
5929
5930         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5931         (dispatch): ditto
5932
5933 2003-07-26  André Pönitz  <poenitz@gmx.net>
5934
5935         * text.C (setHeightOfRow): restrict scope of temporary variable
5936
5937         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5938           code (never has been used?)
5939
5940 2003-07-27  Asger Alstrup  <alstrup@local>
5941
5942         * text.C (fill): Optimise algorithm to exploit that we can reuse
5943         the LyXFont for many characters.
5944         (setHeightOfRow): Same thing.
5945         (rowBreakPoint): Same thing.
5946
5947 2003-07-26  Asger Alstrup  <alstrup@local>
5948
5949         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5950
5951         * text.C (singleWidth): Spurious font copying in hot-spot
5952         singleWidth avoided. Reorder tests for arabic for efficiency.
5953
5954         * text.C (fill): handle empty paragraphs better.
5955
5956 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5957
5958         * ispell.C:
5959         * encoding.h: add includes
5960
5961         * lyxrc.C: remove reading of bind files
5962
5963         * lyx_main.C (init): setup bindings and menus only if we have a
5964         gui.
5965
5966         * kbmap.C (read): new method. Do the actual reading of bind
5967         files.
5968
5969         * converter.C (dvipdfm_options):
5970         * bufferparams.C:
5971         * lyxrc.C (read):
5972         (output): adapt PAPER_* enums.
5973
5974         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5975
5976         * bufferparams.h: remove paper-related enums from there
5977
5978         * paper.h: New file. A trivial header file to hold paper-related
5979         enums. It should later expand to contain many paper-related
5980         horrors access.
5981
5982         * lyxrc.C: declare extern displayTranslator
5983
5984 2003-07-27  José Matos  <jamatos@fep.up.pt>
5985
5986         * tabular.[Ch] (linuxdoc): add support for tables and figures
5987         (linuxdoc).
5988
5989 2003-07-27  José Matos  <jamatos@fep.up.pt>
5990
5991         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5992         consistency in both functions.
5993         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5994
5995 2003-07-26  Asger Alstrup  <alstrup@local>
5996
5997         * rowpainter.C (paintRows): Change algorithm to work directly on
5998         the insets rather than asking every character in the document
5999         whether its an inset.
6000
6001 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6002
6003         * buffer.C (openFileWrite): factorize some code
6004
6005 2003-07-26  Angus Leeming  <leeming@lyx.org>
6006
6007         * lyx_cb.C:
6008         * lyx_main.[Ch]: replace occurances of system_tempdir with
6009         os::getTmpDir().
6010
6011 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * rename Inset to InsetOld
6014
6015 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6016
6017         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6018         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6019         which I think is a bit clearer. EDIT is gone, since it was
6020         premature optimisation, and broken for mathed anyway.
6021         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6022         with cursor positioning in insets as well (math insets still do not
6023         work, but that's a different story anyway.) It mysteriously
6024         crashes sometimes with undo in the first paragraph, but I'm fairly
6025         confident that this is a compiler bug.
6026
6027 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * paragraph.C (Paragraph): adjust for new clone return type
6030         (operator==): ditto
6031         (copyIntoMinibuffer): ditto
6032
6033 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6034
6035         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6036         by not having a special case, and always doing a full rebreak of
6037         the document after undo.
6038
6039 2003-07-23  Angus Leeming  <leeming@lyx.org>
6040
6041         * factory.C (createInset): InsetExternal::setParams now takes a
6042         Buffer const * arg.
6043
6044 2003-07-23  Angus Leeming  <leeming@lyx.org>
6045
6046         * factory.C (createInset): changed interface to the external and
6047         graphics mailers' string2params functions.
6048
6049 2003-07-23  Angus Leeming  <leeming@lyx.org>
6050
6051         * factory.C (createInset): pass a
6052         Buffer const * parameter to InsetExternalMailer's string2params.
6053
6054 2003-07-22  John Levon  <levon@movementarian.org>
6055
6056         * Thesaurus.h: include the right aiksaurus header
6057
6058 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6059
6060         * MenuBackend.C (expand): check menu shortcuts unconditionally
6061
6062 2003-07-21  Angus Leeming  <leeming@lyx.org>
6063
6064         * factory.C (createInset): pass a
6065         buffer_path parameter to InsetGraphicsMailer's string2params.
6066
6067 2003-07-21  Angus Leeming  <leeming@lyx.org>
6068
6069         * BufferView_pimpl.C (buffer):
6070         * buffer.C (d-tor):
6071         * lyx_main.C (LyX):
6072         * lyxfunc.C (dispatch):
6073         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6074         rather than the grfx shortcut.
6075
6076 2003-07-21  André Pönitz  <poenitz@gmx.net>
6077
6078         * rowpainter.C: remove unused variables
6079
6080         * tabular_funcs.C:
6081         * tabular_funcs.h: move to tabular.C
6082         * Makefile.am: adjust
6083
6084         * tabular.[Ch]: basic optical cleaning
6085
6086         * author.h: pass references, not values
6087
6088 2003-07-18  André Pönitz  <poenitz@gmx.net>
6089
6090         * lyxtext.h:
6091         * metricsinfo.C:
6092         * metricsinfo.h:
6093         * rowpainter.C:
6094         * text.C:
6095         * text2.C:
6096         * text3.C: two-phase drawing for InsetText and InsetTabular
6097         some float -> int changes.
6098
6099 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6100
6101         * lyx_main.C: fix the fix
6102
6103 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * lyx_main.C: fix a crash in batch mode if no files specified
6106         * converter.C: ws
6107
6108 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6109
6110         * format.[Ch] (papersize): moved to BufferParams
6111         * converter.[Ch] (dvips_options): moved to BufferParams
6112         (dvipdfm_options): moved to anon namespace
6113         * bufferparams.[Ch]: added above functions.
6114
6115 2003-07-17  André Pönitz  <poenitz@gmx.net>
6116
6117         * lyxtext.h:
6118         * rowpainter.C:
6119         * text2.C: don't call inset->update() anymore
6120
6121         * metricsinfo.[Ch]: add convenience constructor
6122
6123 2003-07-16  André Pönitz  <poenitz@gmx.net>
6124
6125         * lyxcursor.[Ch]:
6126         * lyxfunc.[Ch]:
6127         * text.C:
6128         * text2.C: replace the LyXCursor::irow_ member with
6129          on-demand computation of the value
6130
6131 2003-07-16  John Levon  <levon@movementarian.org>
6132
6133         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6134
6135 2003-07-15  André Pönitz  <poenitz@gmx.net>
6136
6137         * text.C:
6138         * text2.C: remove no more needed refresh_row
6139
6140 2003-07-15  André Pönitz  <poenitz@gmx.net>
6141
6142         * lyxtext.h:
6143         * rowpainter.C:
6144         * text2.C:
6145         * text3.C: refresh_status tristate -> need_update bool
6146
6147 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6148
6149         * lyxtext.h (init): remove reinit argument (act as if always true)
6150         * text2.C: adjust to that
6151
6152 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6153
6154         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6155         * text3.C: use it to delete selections in some cases
6156         (bugs 441, 673, 702, 954).
6157
6158 2003-07-14  André Pönitz  <poenitz@gmx.net>
6159
6160         * rowpainter.[Ch]: reduce interface
6161
6162 2003-07-14  André Pönitz  <poenitz@gmx.net>
6163
6164         * BufferView_pimpl.C:
6165         * text2.C: adjust after removing unused BufferView * argument
6166
6167 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6168
6169         * text2.C (init): fix a crash fired on resize
6170
6171 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6172
6173         * buffer.[Ch]: added new closing signal
6174         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6175         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6176         BufferView::Pimpl via the closing the signal
6177
6178 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6179
6180         * buffer.[Ch]: take out all bv-related from buffer
6181         * BufferView.C:
6182         * BufferView_pimpl.[Ch]: connect to new signals
6183         * CutAndPaste.C: removed useless asserts
6184         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6185         * lyxvc.[Ch]:
6186         * vc-backend.[Ch]:
6187         * lyxfunc.C: moved view-related funciontality from vc here
6188         * paragraph.C: removed outdated comments
6189         * text.C: ws
6190
6191 2003-07-10  André Pönitz  <poenitz@gmx.net>
6192
6193         * BufferView_pimpl.C:
6194         * tabular.h:
6195         * tabular_funcs.C:
6196         * text.C:
6197         * text2.C: remove InsetText::InnerCache, clean up consequences
6198
6199 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6200
6201         * ispell.C: fix two typos in error messages
6202
6203 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6204
6205         * Extend Note inset to other forms of annotation like Comment
6206         and Greyedout. Right button click gives dialog.
6207
6208         Files modified or added (+):
6209
6210         * insetnote.[Ch]
6211         * FormNote.[Ch]      +
6212         * ControlNote.[Ch]   +
6213         * form_note.fd       +
6214         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6215         frontends/controllers
6216         * xforms/Dialogs.C
6217         * factory.C
6218
6219 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6220
6221         * aspell.C: add missing namespace lyx::support
6222
6223 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6224
6225         * BufferView.[Ch] (newFile): Add
6226         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6227         * LaTeX.[Ch] (message): added this signal and use it
6228         * buffer.[Ch] (busy, message): added these signals and use them
6229         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6230         * converter.C:
6231         * exporter.C:
6232         * format.C:
6233         * importer.C: use buffer signals instead of direct bv calling
6234         * lyx_cb.[Ch] (ShowMessage): removed
6235         * lyx_main.C:
6236         * lyxfunc.C:
6237         * paragraph_funcs.C:
6238         * text2.C: use buffer signals
6239
6240 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * introduce namespace lyx::graphics
6243
6244 2003-07-02  André Pönitz  <poenitz@gmx.net>
6245
6246         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6247
6248 2003-07-01  André Pönitz  <poenitz@gmx.net>
6249
6250         * text.C:
6251         * text2.C:
6252         * text3.C:
6253         * text_funcs.[Ch]:
6254         * textcursor.h:
6255         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6256           text*.C to text_func.C
6257
6258 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * introduce namespace lyx::support
6261
6262 2003-06-30  André Pönitz  <poenitz@gmx.net>
6263
6264         * Chktex.C:
6265         * funcrequest.C:
6266         * lyxtext.h:
6267         * text.C: re-enable --with-included-string
6268
6269 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * textcursor.C: add <config.h>
6272
6273         * text.C (getWord): remove const from word_location arg
6274
6275         * lyxvc.C (getLogFile): fix const type order
6276
6277         * lyxtext.h: remove const from word_location arg, add arg name
6278
6279         * lyxlayout.h: currect type on labeltype.
6280
6281         * importer.C: correct \file
6282
6283         * converter.C (intToFormat): use std:: on ret val, ws changes
6284
6285         * bufferlist.h: correct \file
6286
6287         * buffer.C (makeLinuxDocFile): fix const type order
6288         (makeDocBookFile): ditto
6289         (fillWithBibKeys): use std:: on stdlib args.
6290
6291         * CutAndPaste.C: fix authors.
6292         (availableSelections): use std:: on return vector
6293
6294 2003-06-27  André Pönitz  <poenitz@gmx.net>
6295
6296         * BufferView_pimpl.C:
6297         * bufferview_funcs.C:
6298         * lyxcursor.C:
6299         * lyxcursor.h:
6300         * lyxfunc.C:
6301         * lyxtext.h:
6302         * rowpainter.C:
6303         * text.C:
6304         * text2.C:
6305         * text3.C: remove LyXCursor::row_ member
6306
6307         * lyxtext.h:
6308         * text.C: rename fullRebreak() to partialRebreak() and implement
6309           a fullRebreak() that really bereks fully
6310
6311         * textcursor.h: new struct for cursor-related data
6312
6313 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6314
6315         * lyx_main.C (LyX): get full path of document loaded on the
6316         command line
6317
6318 2003-06-26  André Pönitz  <poenitz@gmx.net>
6319
6320         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6321           remove unused/broken operator>,<,>=.
6322
6323         *       text.C: remove only use of broken operator<= in an Assert().
6324
6325 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6326
6327         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6328         moved errorlist_.clear to showErrorList
6329
6330 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6331
6332         * converter.C (scanLog, runLaTeX):
6333         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6334         move the bv->showErrorList call to the callers
6335         * lyxfunc.C: i.e. here...
6336         * text2.C: and here
6337         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6338         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6339         namespace, the second to...
6340         * buffer_funcs (BufferFormat, parseErrors): added
6341         * errorlist.C (ErrorList(TeXErrors const &)): removed
6342
6343 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6344
6345         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6346
6347 2003-06-24  "Garst R. Reese" <reese@isn.net>
6348
6349         * debug.C: fix typo
6350
6351 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6352
6353         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6354
6355         * version.C.in: change docversion to 1.4
6356
6357 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6358
6359         * buffer.C: fix a bug just introduced
6360
6361 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6362
6363         * buffer.[Ch]: added the parseError signal and use it, removed
6364         sgmlError
6365         * BufferView.[Ch] (addError): moved to ...
6366         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6367         to the Buffer::parseError signal to catch (guess what) parse errors
6368         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6369
6370 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6371
6372         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6373         ability to create a buffer and to return an existing one from
6374         the list. Moved these functions to...
6375         * buffer_funcs.[Ch]: added
6376         * BufferView.[Ch] (loadLyXFile): added
6377         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6378         job removed from bufferlist::loadLyXFile.
6379         * buffer.C (setReadOnly): make it work without view
6380         (i.e added an if (users))
6381
6382 2003-06-19  Angus Leeming  <leeming@lyx.org>
6383
6384         * lfuns.h:
6385         * LyXAction.C (init):
6386         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6387         with LFUN_DIALOG_SHOW <name> <data>.
6388
6389 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6390
6391         * CutAndPaste.C (availableSelections): small compilation fix for
6392         ancient (gcc 2.9x) compilers
6393
6394 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6395
6396         * text3.C (cursorNext): add tmp var
6397
6398         * text2.C (updateCounters): for function calling out of for clause
6399         (replaceSelectionWithString): ditto
6400         (insertStringAsParagraphs): ditto
6401         (getColumnNearX): add tmp var
6402         (setCursorFromCoordinates): add tmp var
6403         (cursorDownParagraph): add tmp var
6404         (deleteEmptyParagraphMechanism): add tmp var
6405
6406         * text.C (insertChar): add tmp var
6407
6408         * rowpainter.C (paintDepthBar): add tmp var
6409
6410         * CutAndPaste.C (availableSelections): potentially check all
6411         paragraphs in a cut to fill the shown strings.
6412
6413 2003-06-18  André Pönitz  <poenitz@gmx.net>
6414
6415         * kbmap.[Ch]: use vector<> instead of list<>
6416
6417 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6418
6419         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6420         pasteSelection with index
6421
6422         * text2.C (pasteSelection): modify, call pasteSelection with index
6423
6424         * paragraph.C (asString): reimplement version with no interval to
6425         call the one with interval.
6426
6427         * lyxtext.h: add index arg to pasteSelection
6428
6429         * MenuBackend.C (MenuItem): handle PasteRecent
6430         (Menu::read::Menutags): add md_pasterecent
6431         (read): handle it
6432         (expandPasteRecent): new function
6433         (expand): use it
6434
6435         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6436
6437         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6438         the limited stack
6439         (availableSelections): new function
6440
6441 2003-06-17  Angus Leeming  <leeming@lyx.org>
6442
6443         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6444
6445 2003-06-17  Angus Leeming  <leeming@lyx.org>
6446
6447         * lfuns.h:
6448         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6449
6450         * lyxfunc.C (dispatch): invoke it.
6451
6452 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6453
6454         * iterators.C (operator++, ParPosition): reintroduce some
6455         const_cast for the benefit of older compilers.
6456
6457 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6458
6459         * text3.C (dispatch): do not modify clipboard when doing
6460         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6461         LFUN_DELETE_SKIP on a selection selection
6462
6463 2003-06-16  André Pönitz  <poenitz@gmx.net>
6464
6465         * BufferView.C:
6466         * buffer.C:
6467         * buffer.h:
6468         * paragraph.C:
6469         * tabular.[Ch]: IU of clone() and getLabelList();
6470
6471 2003-06-13  André Pönitz  <poenitz@gmx.net>
6472
6473         * tabular.h: compactification
6474
6475 2003-06-12  André Pönitz  <poenitz@gmx.net>
6476
6477         * tabular.C:
6478         * tabular.h:
6479         * tabular_funcs.h: some renaming plus whitespace
6480
6481 2003-06-12  André Pönitz  <poenitz@gmx.net>
6482
6483         * BufferView.C:
6484         * BufferView_pimpl.C:
6485         * CutAndPaste.C:
6486         * buffer.C:
6487         * iterators.[Ch]:
6488         * lyxfunc.C:
6489         * text.C:
6490         * toc.C: Return a Paragraph & for ParIterator::operator*()
6491
6492 2003-06-11  John Levon  <levon@movementarian.org>
6493
6494         * lyx_main.C:
6495         * ToolbarBackend.h:
6496         * ToolbarBackend.C: add "Toolbars" section and
6497         put the flags there
6498
6499 2003-06-10  Angus Leeming  <leeming@lyx.org>
6500
6501         * lfuns.h:
6502         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6503
6504         * lyxfunc.C (dispatch): invoke it.
6505
6506 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * main.C: protect <ios> with HAVE_IOS
6509         (main): protect sync_with_stdio with HAVE_IOS
6510
6511 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6512
6513         * text2.C (cutSelection): adjust
6514         (pasteSelection): adjust
6515
6516         * messages.C: handle get of empty string
6517
6518         * main.C (main): use sync_with_stdio(false)
6519
6520         * lyxfunc.C (dispatch): adjust
6521
6522         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6523         (WriteAs): remove unneeded BufferView arg.
6524
6525         * bufferparams.h: use correct types on papersize, papersize2 and
6526         paperpackage.
6527
6528         * bufferparams.C (readToken): adjust for type
6529         (writeLaTeX): add missing cases to switch.
6530
6531         * bufferlist.C (quitWriteBuffer): adjust
6532         (close): adjust
6533
6534         * buffer.C (asciiParagraph): remove some commented code.
6535
6536         * CutAndPaste.C: remove current_view extern variable.
6537         (cutSelection): add BufferParams arg.
6538         (eraseSelection): add BufferParams arg.
6539         (pasteSelection): add Buffer const & arg
6540
6541 2003-06-07  John Levon  <levon@movementarian.org>
6542
6543         * buffer.C:
6544         * paragraph_funcs.C:
6545         * paragraph_pimpl.C:
6546         * text.C:
6547         * text2.C:
6548         * paragraph.h:
6549         * paragraph.C: allow InsetERT to freely space lines,
6550         and some consolidation of code
6551
6552 2003-06-06  José Matos  <jamatos@fep.up.pt>
6553
6554         * buffer.C (makeDocBookFile): fix bug #821
6555
6556 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6557
6558         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6559
6560 2003-06-04  Angus Leeming  <leeming@lyx.org>
6561
6562         * buffer.C: bump format to 224.
6563
6564 2003-06-05  André Pönitz  <poenitz@gmx.net>
6565
6566         * text2.C (redoParagraphs): remove two const_cast<>
6567
6568 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6569
6570         * ParagraphList.h: remove last remnants of NO_STD_LIST
6571
6572 2003-06-03  Angus Leeming  <leeming@lyx.org>
6573
6574         * factory.C (createInset): small change to the way InsetExternal's params
6575         are set.
6576
6577 2003-06-04  André Pönitz  <poenitz@gmx.net>
6578
6579         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6580
6581         * paragraph_pimpl.h:
6582         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6583
6584         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6585
6586         * undo_funcs.C: make some simple cases of undo work again
6587
6588 2003-06-03  John Levon  <levon@movementarian.org>
6589
6590         * ispell.C: HPUX doesn't have sys/select.h
6591         (from Albert Chin)
6592
6593 2003-06-03  John Levon  <levon@movementarian.org>
6594
6595         * CutAndPaste.C: update tabular and include inset
6596         buffer references
6597
6598         * buffer.h:
6599         * paragraph.h:
6600         * paragraph.C: remove owningBuffer(), don't pass Buffer
6601         to clone()
6602
6603         * factory.C: insetGraphicsParams changed
6604
6605 2003-06-02  John Levon  <levon@movementarian.org>
6606
6607         * LyXAction.C:
6608         * factory.C:
6609         * lfuns.h:
6610         * lyxfunc.C:
6611         * text3.C: remove insetparent
6612
6613 2003-06-02  John Levon  <levon@movementarian.org>
6614
6615         * buffer.h:
6616         * buffer.C: fix inset_iterator.end(), move out of line
6617         (bug 1149)
6618
6619 2003-06-01  John Levon  <levon@movementarian.org>
6620
6621         * text3.C: use a proper cut/paste when doing inset
6622         insert (from Jürgen Spitzmüller)
6623
6624 2003-06-01  John Levon  <levon@movementarian.org>
6625
6626         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6627
6628 2003-05-30  André Pönitz  <poenitz@gmx.net>
6629
6630         * rowpainter.C: unify second drawing phase
6631
6632 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * trans_mgr.C: remove one case of current_view
6635
6636         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6637
6638         * paragraph_funcs.h: remove paragraph.h include
6639
6640         * paragraph.h: delete NO_STD_LIST stuff
6641
6642         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6643
6644         * buffer.h: remove paragraph.h include
6645
6646         * ParagraphList.C: delete file
6647
6648         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6649
6650         * toc.C (getTocList): adjust
6651
6652         * paragraph_pimpl.C (validate): adjust
6653
6654         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6655
6656         * paragraph.C (Paragraph): adjust
6657         (getPositionOfInset): use const_iterator, adjust
6658         (bibitem): use const_iterator, adjust
6659         (setInsetOwner): adjust
6660
6661         * iterators.C (operator++): adjust
6662
6663         * InsetList.[Ch]: Replace selfmade iterator with standard
6664         vector::iterator also introduce const_iterator. Remove getPos,
6665         getInset and setInset from InsetTable. Adjust accordingly.
6666
6667         * BufferView.C (lockInset): adjust
6668         (ChangeInsets): adjust
6669
6670         * tabular.[Ch]: delete commented same_id functions
6671
6672 2003-05-28  John Levon  <levon@movementarian.org>
6673
6674         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6675
6676 2003-05-28  André Pönitz  <poenitz@gmx.net>
6677
6678         * metricsinfo.[Ch]: remove 'fullredraw' member
6679
6680 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6681
6682         * lyxtextclass.C (operator): remove caching.
6683
6684 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6685
6686         * text3.C: adjust
6687
6688         * text2.C (cursorBottom): adjust
6689         (setCounter): use ParagraphList::find, adjust
6690
6691         * text.C (workWidth): use ParagraphList::find, adjust
6692
6693         * lyxcursor.C (LyXCursor): adjust
6694
6695         * buffer.C (inset_iterator): adjust
6696
6697         * ParagraphList.h: make iterator(value_type) private, make
6698         ParagraphList a friend of iterator.
6699
6700         * ParagraphList.C (find): new function
6701
6702         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6703
6704 2003-05-27  André Pönitz  <poenitz@gmx.net>
6705
6706         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6707
6708 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6709
6710         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6711
6712 2003-05-26  John Levon  <levon@movementarian.org>
6713
6714         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6715
6716 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6717
6718         * remove same_id from function signatures, adjust.
6719
6720 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6723
6724         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6725
6726         * paragraph.C (Paragraph): get rid of same_ids parameter
6727
6728         * ParagraphList.C (insert): adjust
6729         (push_back): adjust
6730
6731 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * paragraph_funcs.C (breakParagraph): adjust
6734         (breakParagraphConservative): adjust
6735
6736         * buffer.C (readParagraph): adjust
6737
6738         * ParagraphList.C (insert): take a reference instead of a pointer
6739         (insert): adjust
6740
6741         * paragraph.[Ch] (id): new function
6742
6743         * bufferlist.C (newFile): adjust
6744
6745         * ParagraphList.C (ParagraphList): adjust
6746         (assign): adjust
6747         (push_back): take a reference instead of a pointer.
6748
6749         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6750
6751         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6752         instead.
6753
6754         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6755         set else use old code.
6756
6757         * ParagraphList.C: remove all NO_NEXT code and only compile this
6758         code of NO_STD_LIST is set.
6759
6760 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6761
6762         * BufferView_pimpl.C:
6763         * TextCache.C:
6764         * TextCache.h:
6765         * bufferlist.C:
6766         * errorlist.h:
6767         * format.C:
6768         * format.h:
6769         * graph.C:
6770         * lyxfunc.C:
6771         * lyxrc.C:
6772         * graphics/GraphicsConverter.C:
6773         * graphics/PreviewLoader.C: header adjustment
6774
6775 2003-05-23  Angus Leeming  <leeming@lyx.org>
6776
6777         * LaTeXFeatures.[Ch] (useBabel): new method.
6778         * bufferparams.C (writeLaTeX): use it.
6779
6780 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * ParagraphList.h (set): remove unused function.
6783
6784 2003-05-23  André Pönitz  <poenitz@gmx.net>
6785
6786         * BufferView.C:
6787         * BufferView_pimpl.C:
6788         * buffer.C:
6789         * buffer.h:
6790         * lyxfunc.C:
6791         * undo_funcs.C: setUndo reworked
6792
6793         * iterators.[Ch]: add access to topmost ParagraphList
6794
6795         * lyxtext.[Ch] (workWidth): add a const
6796
6797 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6798
6799         * texrow.[Ch] (increasePos): remove function
6800         * exporter.C (export): removed unused var and outdated comment
6801
6802 2003-05-23  Angus Leeming  <leeming@lyx.org>
6803
6804         * latexrunparams.h: rename fragile as moving_arg.
6805         * paragraph.C (simpleTeXOnePar): ditto.
6806         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6807
6808 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6811         (createUndo): ditto
6812         (textUndoOrRedo): comment out a currently unused var.
6813
6814         * paragraph.h (NO_NEXT): enable NO_NEXT
6815
6816         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6817
6818         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6819
6820         * exporter.C (Export): adjust for removeAutoInsets removal.
6821
6822         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6823
6824         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6825
6826         * BufferView.[Ch] (removeAutoInsets): delete function
6827
6828 2003-05-22  Angus Leeming  <leeming@lyx.org>
6829
6830         * latexrunparams.h: add a free_spacing variable.
6831
6832         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6833         to pass moving_arg, as the data is stored in runparams.fragile.
6834
6835         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6836         to Inset::latexOptional or to simpleTeXOnePar.
6837
6838         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6839         free_spacing arg to Inset::latexOptional.
6840
6841         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6842         free_spacing arg.
6843
6844 2003-05-22  Angus Leeming  <leeming@lyx.org>
6845
6846         * latexrunparams.h: add fragile and use_babel variables.
6847
6848         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6849         * buffer.C (makeLaTeXFile): store this returned value in
6850         runparams.use_babel, thus passing it to the inset::latex methods.
6851
6852         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6853         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6854
6855         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6856         longer has a fragile arg, as it is stored in runparams.fragile.
6857
6858         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6859         moving_arg parameter as the data is stored in runparams.fragile.
6860
6861         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6862         a fragile parameter as the data is stored in runparams.fragile.
6863
6864 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6867
6868 2003-05-22  Angus Leeming  <leeming@lyx.org>
6869
6870         * latexrunparams.h: add a 'bool nice' which defaults to false.
6871
6872         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6873         now encapsulated within runparams.
6874
6875         * bufferlist.C (updateIncludedTeXfiles):
6876         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6877
6878 2003-05-22  Angus Leeming  <leeming@lyx.org>
6879
6880         * latexrunparams.h: new file containing struct LatexRunParams.
6881         * Makefile.am: add new file.
6882
6883         * LaTeX.[Ch] (c-tor, run):
6884         * buffer.[Ch] (makeLaTeXFile):
6885         * bufferlist.[Ch] (updateIncludedTeXfiles):
6886         * converter.C (convert, scanLog):
6887         * converter.[Ch] (runLaTeX):
6888         * exporter.C (Export):
6889         * paragraph.[Ch] (simpleTeXOnePar):
6890         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6891         * paragraph_funcs.[Ch] (latexParagraphs):
6892         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6893         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6894         pass around a LatexRunParams parameter.
6895
6896 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * paragraph.[Ch]: remove unused constructor
6899
6900         * ParagraphList.C (erase): new function, taking two iterators
6901
6902 2003-05-22  André Pönitz  <poenitz@gmx.net>
6903
6904         * undo_funcs.C: remove duplicated code
6905
6906         * iterator.[Ch]: operator=
6907
6908 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * tabular.C (SetMultiColumn): ws changes
6911
6912         * rowpainter.C (paintFirst): get rid of a ->previous
6913
6914         * lyx_cb.C (getPossibleLabel): parlist simplification
6915
6916         * BufferView.C (ChangeInsets): simplify slightly.
6917
6918 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6919
6920         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6921         * lfuns.h: new LFUN_SPACE
6922         * lyxfunc.C: protected space has a new lfun
6923         * paragraph_funcs.C: read new space insets
6924         * text3.C:
6925         * factory.C: handle new space insets
6926
6927 2003-05-22  André Pönitz  <poenitz@gmx.net>
6928
6929         * BufferView.C:
6930         * BufferView_pimpl.C:
6931         * buffer.[Ch]:
6932         * lyxfunc.C:
6933         * undo_funcs.C: return a ParIterator from getParFromID.
6934
6935         * iterators.[Ch]: add two const's
6936
6937 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * toc.C (getTocList): adjust
6940
6941         * iterators.[Ch]: rework for parlist
6942
6943         * buffer.C (par_iterator_begin): adjust
6944         (par_iterator_end): adjust
6945
6946         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6947
6948         * BufferView.C (removeAutoInsets): adjust
6949         (ChangeInsets): adjust
6950
6951 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6952
6953         * text.C (top_y): fix bug 1110
6954
6955 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6956
6957         * errorlist.[Ch]: added
6958         * buffer.C:
6959         * BufferView.[Ch]:
6960         * BufferView_pimpl.C:
6961         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6962         instead
6963
6964 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * Makefile.am: ensure that lyx is relinked upon changes to the
6967         various "convenience" libs.
6968
6969 2003-05-20  Angus Leeming  <leeming@lyx.org>
6970
6971         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6972         files are compiled in alphabetical order again.
6973
6974         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6975
6976 2003-05-19  Angus Leeming  <leeming@lyx.org>
6977
6978         * gettext.[Ch]: remove "char const * _(char const *)".
6979
6980 2003-05-19  André Pönitz  <poenitz@gmx.net>
6981
6982         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6983
6984         * Makefile.am:
6985         * BufferView.C:
6986         * DepTable.h:
6987         * LaTeXFeatures.C:
6988         * buffer.C:
6989         * lyxfont.C:
6990         * lyxlex.h:
6991         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6992
6993 2003-05-19  André Pönitz  <poenitz@gmx.net>
6994
6995         * buffer.C:
6996         * lyxlayout.[Ch]:
6997         * lyxtextclass.[Ch]:
6998         * paragraph.C:
6999         * paragraph_funcs.[Ch]:
7000         * text2.C:
7001         * text3.C: more insetenv work
7002
7003 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7004
7005         * ParagraphParameters.C (params2string): small bug fixed
7006
7007 2003-05-16  André Pönitz  <poenitz@gmx.net>
7008
7009         * debug.C:
7010         * bufferview_funcs.C: patch from Kornel Benko to prevent
7011           crash when _(...) is called twice in a statement
7012
7013 2003-05-16  André Pönitz  <poenitz@gmx.net>
7014
7015         * BufferView.C:
7016         * lyxfunc.C:
7017         * text.C:
7018         * text2.C:
7019         * text3.C:
7020         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7021
7022 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7023
7024         * lyx_main.C (init): remove spurious static_cast
7025
7026 2003-05-14  André Pönitz  <poenitz@gmx.net>
7027
7028         * BufferView.C: fix format string
7029
7030 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7031
7032         * BufferView.[Ch] (insertErrors): removed
7033         * BufferView.[Ch] (showErrorList): added
7034         * buffer.C (runChkTeX):
7035         * converter.C (scanLog): call showErrorList instead of inserterrors
7036
7037 2003-05-13  André Pönitz  <poenitz@gmx.net>
7038
7039         * BufferView_pimpl.C:
7040         * buffer.C:
7041         * bufferview_func.C:
7042         * MenuBackend.C:
7043         * lyxfunc.C:
7044         * lyxrc.C:
7045         * tex-accent.C:
7046         * text3.C:
7047         * toc.C:
7048         * tabular_funcs.h: tostr() from its own header
7049
7050         * ParagraphParameters.C:
7051         * ToolbarBackend.C:
7052         * bufferparams.C:
7053         * format.C:
7054         * lyxlex_pimpl.C:
7055         * text3.C: STRCONV()
7056
7057 2003-05-12  André Pönitz  <poenitz@gmx.net>
7058
7059         * BufferView.C:
7060         * BufferView_pimpl.C:
7061         * CutAndPaste.C:
7062         * LaTeX.C:
7063         * LaTeXFeatures.C:
7064         * ParagraphParameters.C:
7065         * buffer.C:
7066         * bufferlist.C:
7067         * bufferparams.C:
7068         * bufferview_funcs.C:
7069         * converter.C:
7070         * counters.C:
7071         * debug.C:
7072         * exporter.C:
7073         * format.C:
7074         * importer.C:
7075         * lyx_cb.C:
7076         * lyx_main.C:
7077         * lyxfont.C:
7078         * lyxfunc.C:
7079         * lyxvc.C:
7080         * paragraph.C:
7081         * paragraph_funcs.C:
7082         * tabular.C:
7083         * tabular_funcs.C:
7084         * text2.C:
7085         * text3.C:  boost::format -> bformat  all over the place
7086
7087
7088 2003-05-09  André Pönitz  <poenitz@gmx.net>
7089
7090         * LColor.[Ch]: Pimpl the #include <map> away
7091
7092 2003-05-09  John Levon  <levon@movementarian.org>
7093
7094         * bufferlist.C: never remove emergency saves
7095
7096 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7097
7098         * Makefile.am: better lib building
7099
7100 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7103         instead.
7104         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7105         (simpleTeXSpecialChars): adjust
7106         (simpleTeXSpecialChars): adjust
7107         * paragraph.C (simpleTeXOnePar): adjust
7108         * buffer.C (makeLaTeXFile): adjust
7109
7110         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7111
7112         * text2.C (changeDepth): parlist cleanup
7113         (getColumnNearX): ditto
7114
7115         * rowpainter.C (getLabelFont): parlist cleanup
7116
7117         * bufferlist.C (newFile): parlist cleanup
7118
7119         * CutAndPaste.C (eraseSelection): parlist cleanup
7120
7121         * BufferView_pimpl.C (trackChanges): parlist cleanup
7122         (dispatch): ditto
7123
7124         * BufferView.C (lockInset): parlist cleanup.
7125         (ChangeInsets): ditto
7126
7127 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7128
7129         * CutAndPaste.h: Update file header.
7130
7131         * CutAndPaste.C: Update file header.
7132         Store the parts cut out of the Document in a limited_stack.
7133         (copySelection): adjust
7134         (pasteSelection): new function, takes the index in the limited stack.
7135         (nrOfParagraphs): adjust
7136         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7137         simplify error inset insertion.
7138         (checkPastePossible): adjust
7139
7140 2003-05-06  John Levon  <levon@movementarian.org>
7141
7142         * text2.C: don't cast wrap inset to float
7143
7144 2003-05-05  André Pönitz  <poenitz@gmx.net>
7145
7146         * iterator.C:
7147         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7148
7149         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7150           few naked Paragraph *.
7151
7152 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7153
7154         * bufferparams.C: Output warning if a document with missing
7155         TeX document class is loaded
7156         * exporter.C: Disable TeX exports if the document class is missing
7157         * lyxtextclass.C:
7158         * lyxtextclass.h:
7159         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7160         isTeXClassAvailable()
7161
7162 2003-05-03  John Levon  <levon@movementarian.org>
7163
7164         * BufferView.h:
7165         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7166         explicit cursor show/hide
7167
7168         * BufferView_pimpl.h:
7169         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7170         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7171
7172         * lyxfunc.C: hide cursor before dispatching.
7173
7174         * lyx_cb.C:
7175         * lyxfind.C:
7176         * text.C:
7177         * text3.C: remove explicit cursor hides
7178
7179 2003-05-02  André Pönitz  <poenitz@gmx.net>
7180
7181         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7182
7183         * undo_funcs.C:
7184         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7185           linked lists
7186
7187         * text2.C: tiny whitespace
7188
7189 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7190
7191         * undo_funcs.C: almost only ws changes.
7192
7193         * ParagraphList.C (splice): just return if pl is empty.
7194
7195 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * ParagraphList.C (splice): new function.
7198
7199         * CutAndPaste.C (pasteSelection): use it
7200
7201 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7202
7203         * CutAndPaste.C (pasteSelection): remove the last next and
7204         previous from this file.
7205
7206 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7207
7208         * CutAndPaste.C (pasteSelection): more clean up, user proper
7209         ParagraphList functions for pasteing.
7210
7211         * ParagraphList.C (insert): new function, three arg insert
7212
7213 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * ParagraphList.C (insert): new function, three arg insert
7216
7217         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7218         not on paragraphs.
7219
7220 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7221
7222         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7223
7224 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7227
7228 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7231         (copySelection): clean up a bit.
7232         (pasteSelection): use make_pair
7233
7234         * ParagraphList.C (ParagraphList): implement copy constructor
7235         (operator=): implement, base on copy constructor.
7236         (assign): new func
7237
7238         * paragraph.C (erase): return a bool
7239
7240         * paragraph_pimpl.C (erasePos): remove function, move contents...
7241         (erase): ... here. Return a bool.
7242         (erase): call erase instead of erasePos.
7243
7244 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7245
7246         * ParagraphList.h: define PitPosPair
7247         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7248         ParagraphList, fix a bug on pasting multiple pars
7249         * text2.C: change interface to C&P
7250
7251 2003-04-30  André Pönitz  <poenitz@gmx.net>
7252
7253         * undo_func.C: revert part of yesterday's patch 2
7254
7255 2003-04-30  John Levon  <levon@movementarian.org>
7256
7257         * LColor.C: s/tabular/table/
7258
7259 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * text3.C (dispatch): do not convert iterator -> pointer
7262         * undo_funcs.C (setCursorParUndo): ditto
7263         * text_funcs.C (transposeChars): ditto
7264
7265         * text2.C (setLayout): ws changes only
7266
7267         * text.C (breakParagraph): do not convert iterator -> pointer
7268         (insertChar): ditto
7269         (acceptChange): ditto
7270         (rejectChange): ditto
7271         (changeCase): ditto
7272         (Delete): ditto
7273         (backspace): ditto
7274
7275         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7276         pointer
7277
7278 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7279
7280         * text3.C (gotoInset): YABG (yet another bad getChar)
7281
7282 2003-04-29  André Pönitz  <poenitz@gmx.net>
7283
7284         * paragraph.h: make operator= private unimplemented as long as
7285           it is unusable
7286
7287         * ParagraphList.C: whitespace
7288
7289         * paragraph.[Ch]:
7290         * paragraph_pimpl.[Ch]:
7291         * paragraph_funcs.C:
7292         * CutAndPaste.C:
7293         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7294
7295         * text2.C:
7296           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7297
7298 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7299
7300         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7301         * paragraph.[Ch] (erase):
7302         * paragraph_pimpl.[Ch] (erase): change return type and value
7303         * text2.C (cutSelection): some rework
7304
7305 2003-04-28  John Levon  <levon@movementarian.org>
7306
7307         * bufferlist.C: changes for unsaved changes dialog
7308
7309 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7310
7311         * bufferlist.C (newFile): set language (messages_) for new
7312         documents also.
7313
7314         * buffer.C (readFile): ws changes only.
7315
7316 2003-04-28  André Pönitz  <poenitz@gmx.net>
7317
7318         * undo_funcs.C:
7319         * lyxfunc.C:
7320         * buffer.[Ch]:
7321         * BufferView_pimpl.C:
7322         * BufferView.C: getParFromID related ParagraphList::iterator changes
7323
7324 2003-04-28  André Pönitz  <poenitz@gmx.net>
7325
7326         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7327           Changes
7328
7329 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * messages.C: remove one more localedir class variable.
7332
7333 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7334
7335         * messages.C (getLocaleDir): singleton generation function
7336         (Pimpl): use it.
7337         (Messages): add a default constructor.
7338
7339         * main.C (main): do not setup localedir here, do not call
7340         gettext_init.
7341
7342         * gettext.C (_): use it.
7343         (gettext_init): delete funciton
7344
7345 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * gettext.C (getLyXMessages): new singleton generating function.
7348
7349         * buffer.C (updateDocLang): adjust
7350
7351         * Makefile.am (messages.o): add target
7352         (main.o): remove target
7353
7354 2003-04-27  John Levon  <levon@movementarian.org>
7355
7356         * bufferlist.C:
7357         * lyx_cb.C:
7358         * lyxfunc.C:
7359         * lyxvc.C: specify cancel button in Alert::prompt
7360
7361 2003-04-26  John Levon  <levon@movementarian.org>
7362
7363         * text3.C:
7364         * lyxfunc.C:
7365         * lfuns.h:
7366         * LyXAction.C: add LFUN_INSET_SETTINGS
7367
7368         * lyxfunc.C: don't enable tabular-feature when there's
7369         just any locking inset
7370
7371 2003-04-26  John Levon  <levon@movementarian.org>
7372
7373         * bufferlist.C: re-add Cancel to buffer close question
7374
7375         * lyxfunc.C: fix import UI a bit
7376
7377 2003-04-25  John Levon  <levon@movementarian.org>
7378
7379         * gettext.C: remove the broken asserts for now
7380
7381 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * messages.C: make case where setlocale cannot comply work better.
7384
7385         * buffer.C (updateDocLang): new function
7386         (changeLanguage): use it
7387         (readFile): use it
7388
7389         * text2.C (setCounter): use B_ a bit.
7390
7391         * lyxlayout.C (Read): be sure to trim the label strings.
7392
7393         * messages.C (Messages): fix typo in comment
7394
7395         * buffer.C (readFile): set message_ after file is loaded.
7396         (makeDocBookFile): remove double return
7397         (changeLanguage): reset message_ upon language change.
7398         (B_): new func, use this to get translated buffer strings.
7399
7400         * main.C: add myself and Jean Marc as authors.
7401
7402 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7403
7404         * messages.[hC]: pimplify Messages, and three different pimpls to be
7405         used in different circumstances.
7406
7407         * gettext.[Ch]: change for use with new message code.
7408
7409 2003-04-24 André Pönitz <poenitz@gmx.net>
7410
7411         * factory.C: support for eqref
7412
7413 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * messages.[Ch]: add missing char
7416
7417         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7418
7419         * messages.[Ch]: New files
7420
7421 2003-04-18  John Levon  <levon@movementarian.org>
7422
7423         * BufferView.h:
7424         * BufferView.C:
7425         * BufferView_pimpl.C:
7426         * lfuns.h:
7427         * LyXAction.C:
7428         * lyxtext.h:
7429         * text2.C: remove layout-copy/paste (bug 778)
7430
7431 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7432
7433         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7434
7435 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7436
7437         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7438         if they succeed. Act accordingly.
7439
7440 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7441
7442         * text2.C (setCharFont): adjust
7443         (setCounter): adjust
7444         (insertStringAsLines): adjust
7445
7446         * text.C (leftMargin): adjust
7447         (setHeightOfRow): adjust
7448
7449         * rowpainter.C (paintFirst): adjust
7450         (paintLast): adjust
7451
7452         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7453         (outerHook): ditto
7454         (isFirstInSequence): ditto
7455         (getEndLabel): ditto
7456         (outerFont): adjust
7457
7458         * paragraph.C (getParLanguage): comment out some hard stuff.
7459
7460         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7461         (sgmlError): ditto
7462         (simpleDocBookOnePar): ditto
7463         (makeDocBookFile): use ParagraphList::iterator
7464
7465         * CutAndPaste.C (pasteSelection): adjust
7466
7467 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * text2.C (getFont): adjust
7470         (getLayoutFont): adjust
7471         (getLabelFont): adjust
7472
7473         * paragraph_funcs.C (TeXOnePar): adjust
7474
7475         * buffer.C (simpleLinuxDocOnePar): adjust
7476         (simpleDocBookOnePar): adjust
7477
7478         * CutAndPaste.C (pasteSelection): adjust
7479
7480         * BufferView.C (getEncoding): adjust
7481
7482         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7483
7484 2003-04-16  John Levon  <levon@movementarian.org>
7485
7486         * lyxfind.C: use parlist stuff for search/changes
7487
7488 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7489
7490         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7491
7492         * text2.C (deleteEmptyParagraphMechanism): adjust
7493
7494         * text2.[Ch] (ownerParagraph): delete func (both of them
7495
7496 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7497
7498         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7499
7500 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * ParagraphList.C: prepare for NO_NEXT
7503
7504 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * text2.C (getFont): adjust
7507         (getLayoutFont): adjust
7508         (getLabelFont): adjust
7509
7510         * paragraph.C (getFont): adjust
7511         (getLabelFont): adjust
7512         (getLayoutFont): adjust
7513
7514         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7515
7516 2003-04-15  John Levon  <levon@movementarian.org>
7517
7518         From Angus Leeming
7519
7520         * lyx_main.C: handle Include in .ui files
7521
7522 2003-04-15  John Levon  <levon@movementarian.org>
7523
7524         * MenuBackend.C: make the doc files length shorter
7525
7526         * ToolbarBackend.h:
7527         * ToolbarBackend.C: handle toolbar placement flags,
7528         Minibuffer
7529
7530 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7533         adjust
7534
7535         * paragraph_funcs.C (TeXOnePar): adjust
7536
7537         * paragraph.C (getLabelFont): add outerfont arg, adjust
7538         (getLayoutFont): ditto
7539         (simpleTeXOnePar): adjust
7540
7541         * paragraph_pimpl.C (realizeFont): delete func
7542
7543 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7544
7545         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7546         row argument, constify cur argument.
7547
7548 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7549
7550         * text2.C (getFont): adjust
7551         (getLayoutFont): adjust
7552         (getLabelFont): adjust
7553
7554         * paragraph_funcs.C (TeXOnePar): adjust
7555         (outerFont): new func...
7556         (realizeFont): ...moved out from here, changed this to facilitate
7557         transition
7558
7559         * paragraph.C (getFont): take outerfont as arg, adjust
7560         (simpleTeXOnePar): add outerfont arg, adjust
7561
7562         * buffer.C (simpleLinuxDocOnePar): adjust
7563         (simpleDocBookOnePar): adjust
7564
7565         * CutAndPaste.C (pasteSelection): adjust
7566
7567         * BufferView.C (getEncoding): adjust
7568
7569 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * text2.C (setCharFont): adjust
7572         (setCounter): adjust
7573
7574         * text.C (leftMargin): adjust
7575         (setHeightOfRow): adjust
7576
7577         * rowpainter.C (paintFirst): adjust
7578         (paintLast): adjust
7579
7580         * paragraph_pimpl.C (realizeFont): adjust
7581
7582         * paragraph.C (isFirstInSequence): move from here...
7583         * paragraph_funcs.C (isFirstInSequence): ...to here
7584
7585         * paragraph.C (outerHook): move from here...
7586         * paragraph_funcs.C (outerHook): ...to here
7587
7588         * paragraph.C (depthHook): move from here...
7589         * paragraph_funcs.C (depthHook): ...to here
7590
7591         * paragraph.C (getEndLabel): move from here...
7592         * paragraph_funcs.C (getEndLabel): ...to here
7593
7594         * text2.C (realizeFont): move from here...
7595         * paragraph_funcs.C (realizeFont): ...to here
7596
7597 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7600
7601 2003-04-14  Angus Leeming  <leeming@lyx.org>
7602
7603         * LColor.[Ch]: scrap LColor mathcursor.
7604
7605 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * lyxlex.[Ch] (text): delete function
7608         * trans.C (Load): adjust
7609         * paragraph_funcs.C (readParToken): adjust
7610
7611 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7614         vector<char> instead of a char[].
7615
7616         * lyxlex_pimpl.C (getString): adjust
7617         (next): adjust
7618         (lex): use getString
7619         (eatLine): adjust
7620         (nextToken): adjust
7621
7622         * lyxlex.C (text): use pimpl_->getString()
7623         (getBool): ditto
7624         (findToken): ditto
7625
7626 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7629         (makeFontEntriesLayoutSpecific): temp var for par.size()
7630         (setLayout): temp var for ownerParagraphs().end()
7631         (fullRebreak): temp var for rows().end()
7632         (selectionAsString): temp var for boost::next(startpit), realize
7633         that the while really is a regular for loop.
7634         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7635         setCursor in one place.
7636         (setParagraph): temp vr for ownerParagraphs().end()
7637         (updateCounters): make the while loop a for loop
7638         (cutSelection): temp var for ownerParagraphs().end()
7639         (updateInset): make the do {} while() a regular for loop
7640         (getCursorX): use temp vars
7641         (setCurrentFont): use temp vars
7642         (getColumnNearX): use temp vars
7643
7644 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * text.C (transformChar): use temp var for getChar
7647         (computeBidiTables): use temp var for row->par()
7648         (fill): move temp vars for row->par() and pit->layout() earlier in
7649         the function.
7650         (labelFill): use temp var for row->par()
7651         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7652         asc and desc, realize that pit never changes and that firstpit is
7653         just a duplicate and not needed. Exchange rit->par() with pit in a
7654         lot of places.
7655         (breakAgain): use a temp var for boost::next(rit)
7656         (breakAgainOneRow): ditto
7657         (breakParagraph): use a temp var for rows().begin()
7658         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7659         (cursorRightOneWord): use temp var for cursor.par() and
7660         cursor.pos(), remove usage of tmpcursor.
7661         (cursorLeftOneWord): use temp var for cursor.par() and
7662         cursor.pos() only set cur at end of function.
7663
7664 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7665
7666         * text.C, text2.C: exchange all usage of Paragraph::next with
7667         boost::next(ParagraphList::iterator)
7668
7669         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7670
7671         * text2.C (cursorTop): simplify implementation
7672         (cursorBottom): ditto
7673         (setParagraph): use ParagraphList::iterator
7674         (setCurrentFont): adjust
7675         (getColumnNearX): adjust
7676         (cursorRight): adjust
7677         (cursorLeft): remove usage of Paragraph::previous
7678         (cursorUpParagraph): ditto
7679         (deleteEmptyParagraphMechanism): slight cleanup
7680
7681         * text.C (isBoundary): take a Paragraph const & instead of a
7682         pointer as arg.
7683         (addressBreakPoint): ditto
7684         (leftMargin): remove usage of Paragraph::previous.
7685         (setHeightOfRow): ditto
7686         (cursorLeftOneWord): ditto
7687         (selectNextWordToSpellcheck): ditto
7688         (Delete): ditto
7689         (backspace): ditto
7690         (breakParagraph): remove one usage of Paragraph::next
7691         (redoParagraph): ditto
7692         (acceptChange): ditto
7693         (insertChar): adjust
7694         (rowBreakPoint): adjust
7695
7696         * bufferview_funcs.C (toggleAndShow): adjust
7697
7698 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7699
7700         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7701         methods to access it.
7702         * lyxtext.h:
7703         * text.C: Added updateRowPositions to compute all row positions.
7704         Make top_y and getRowNearY() to use the cached y position
7705
7706 2003-04-11  John Levon  <levon@movementarian.org>
7707
7708         * text.C (rowBreakPoint): reintroduce the labelEnd
7709         checks, code copied from the row fill stuff. Deep voodoo.
7710
7711         * text.C (fill): add a comment and debugging for the
7712         next poor soul.
7713
7714 2003-04-11  John Levon  <levon@movementarian.org>
7715
7716         * text.C: make sure fullrow insets get wrapped to the next line,
7717         even when they're in a manual label
7718
7719 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * text2.C (insertParagraph): make it take ParagraphList::iterator
7722         as arg.
7723         (setLayout): make it return ParagraphList::iterator
7724         (redoParagraphs): ditto
7725         (setCounter): ditto
7726         (checkParagraph): ditto
7727
7728         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7729
7730         * text2.C: adjust several funcs.
7731         (realizeFont): take a ParagraphList::iterator as arg.
7732         (getLayoutFont): ditto
7733         (getLabelFont): ditto
7734         (setCharFont): ditto
7735
7736         * text.C: adjust several funcs.
7737
7738 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7739
7740         * text.C (selectNextWordToSpellcheck): don't accidentally
7741         skip insets
7742
7743 2003-04-10  John Levon  <levon@movementarian.org>
7744
7745         * ToolbarBackend.C (getIcon): special handling for
7746         LFUN_MATH_DELIM
7747
7748 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7749
7750         * text2.C (cursorRight): a getChar assert fixed
7751
7752 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * text2.C (getFont): change to take a ParagraphList::iterator
7755         instead of Paragraph*
7756         Adjust several functions.
7757
7758         * text.C (transformChar): change to take a ParagraphList::iterator
7759         instead of Paragraph*
7760         (singleWidth): ditto
7761         Adjust several functions.
7762
7763         * rowpainter.C: adjust several functions
7764         * rowpainter.h:store a ParagraphList::iterator and not a
7765         Paragraph&.
7766
7767
7768 2003-04-09  John Levon  <levon@movementarian.org>
7769
7770         * lyxfunc.C:
7771         * lfuns.h:
7772         * LyXAction.h:
7773         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7774         and the "help" bits as well
7775
7776 2003-04-09  John Levon  <levon@movementarian.org>
7777
7778         * ToolbarBackend.h:
7779         * ToolbarBackend.C: allow multiple toolbars
7780
7781 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * undo_funcs.C (setCursorParUndo): adjust
7784
7785         * text_funcs.C (transposeChars): adjust
7786
7787         * text3.C (gotoNextInset): adjust
7788         (dispatch): adjust
7789
7790         * text2.C (setLayout): adjust
7791         (changeDepth): adjust
7792         (setFont): adjust
7793         (redoParagraphs): adjust
7794         (selectionAsString): adjust
7795         (setParagraph): adjust
7796         (insertInset): adjust
7797         (cutSelection): adjust
7798         (copySelection): adjust
7799         (pasteSelection): adjust
7800         (insertStringAsLines): adjust
7801         (updateInset): adjust
7802         (setCursor): change to take a ParagraphList::iterator parameter
7803         (setCursorIntern): change to take a ParagraphList::iterator parameter
7804         (setCurrentFont): adjust
7805         (cursorLeft): adjust
7806         (cursorRight): adjust
7807         (deleteEmptyParagraphMechanism): adjust
7808
7809         * text.C (breakParagraph): adjust
7810         (insertChar): adjust
7811         (acceptChange): adjust
7812         (rejectChange): adjust
7813         (selectNextWordToSpellcheck): adjust
7814         (changeCase): adjust
7815         (Delete): adjust
7816         (backspace): adjust
7817
7818         * lyxfind.C (SearchForward): adjust
7819         (SearchBackward): adjust
7820         (nextChange): adjust
7821
7822         * lyxcursor.C (par): adjust
7823
7824         * lyxcursor.h: store a ParagraphList::iterator instead of a
7825         Paragraph*
7826
7827         * lyx_cb.C (getPossibleLabel): adjust
7828
7829         * bufferview_funcs.C (toggleAndShow): adjust
7830
7831         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7832         (dispatch): adjust
7833
7834         * BufferView.C (removeAutoInsets): adjust
7835         (lockedInsetStoreUndo): adjust
7836
7837 2003-04-09  John Levon  <levon@movementarian.org>
7838
7839         * ToolbarBackend.C: try icon without argument
7840         if with argument fails
7841
7842 2003-04-08  John Levon  <levon@movementarian.org>
7843
7844         * ToolbarBackend.h:
7845         * ToolbarBackend.C: add getIcon(), handle tooltip,
7846         and change from "Icon" to "Item".
7847
7848 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7849
7850         * BufferView.C (lockInset): another bad getchar crunched
7851
7852 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7853
7854         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7855         again)
7856
7857 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7858
7859         * lyxfind.C (searchForward, searchBackwards): bug 782
7860
7861 2003-04-07  John Levon  <levon@movementarian.org>
7862
7863         * paragraph.C: remove dead comment
7864
7865         * text.C: remove troublesome depth-fiddling code
7866         in leftMargin() and rightMargin() (bug 1017)
7867
7868         * text.C: fix breaking of rows in nested lists
7869         (bug 1004)
7870
7871         * text2.C (updateCounters): fix up depth values
7872         (bug 1013)
7873
7874 2003-04-07  John Levon  <levon@movementarian.org>
7875
7876         * BufferView_pimpl.C: clear message when doc finishes resizing,
7877         and after a mouse event
7878
7879         * lyxfunc.C: clear message after exiting inset
7880
7881 2003-04-07  John Levon  <levon@movementarian.org>
7882
7883         * bufferview_funcs.C: show math status not outside
7884         status in the statusbar
7885
7886 2003-04-07  John Levon  <levon@movementarian.org>
7887
7888         * lyxfunc.C: note status changed after a depth change
7889
7890 2003-04-04  Angus Leeming  <leeming@lyx.org>
7891
7892         * LaTeX.h: move AuxInfo operator==, != out of line.
7893         Remove LaTeX virtual destructor; nothing derives from it.
7894         Move operator()() out of public area and rename it startscript().
7895         Change protected for private.
7896
7897 2003-04-04  Angus Leeming  <leeming@lyx.org>
7898
7899         * lyxfunc.C:
7900         * text2.C: remove unneeded #includes.
7901
7902 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7903
7904         * text2.C (dEPM): fix the heigth of the next row
7905
7906 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7907
7908         * text.C: squashed an invalid getChar requester + some ws changes
7909
7910 2003-04-03  John Levon  <levon@movementarian.org>
7911
7912         * bufferview_funcs.h:
7913         * bufferview_funcs.C:
7914         * lyxfunc.C:
7915         * lyxtext.h:
7916         * text2.C: make getStatus work for the env depth lfuns
7917
7918 2003-04-03  John Levon  <levon@movementarian.org>
7919
7920         * bufferview_funcs.h:
7921         * bufferview_funcs.C:
7922         * lyxfunc.C:
7923         * lyxtext.h:
7924         * text2.C: parlistize decDepth(), by merging it with incDepth()
7925
7926 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7927
7928         * lyxrow.h: store a ParagraphList::iterator instead of a
7929         Paragraph* and adjust other class functions to suit.
7930
7931         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7932         above.
7933
7934 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7935
7936         * text2.C (setCursor): do not anchor to cursor row for the time being
7937
7938 2003-04-02  John Levon  <levon@movementarian.org>
7939
7940         * LyXAction.C:
7941         * lfuns.h:
7942         * lyx_main.C:
7943         * lyxtext.h:
7944         * text.C:
7945         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7946
7947 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * paragraph.h: make ParagraphList and ParagraphList::iterator
7950         friends of Paragraph.
7951
7952         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7953
7954         * ParagraphList.C: Use the private next_ and previous_ from
7955         Paragraph.
7956
7957 2003-04-01  John Levon  <levon@movementarian.org>
7958
7959         * ToolbarBackend.h:
7960         * ToolbarBackend.C:
7961         * Makefile.am: rename, remove defaults gunk
7962
7963         * MenuBackend.h:
7964         * MenuBackend.C: remove defaults gunk
7965
7966         * Languages.h:
7967         * Languages.C: remove defaults gunk
7968
7969         * lyx_main.h:
7970         * lyx_main.C: error out if files couldn't be found.
7971
7972 2003-04-02  John Levon  <levon@movementarian.org>
7973
7974         * text2.C: make incDepth() use parlist
7975
7976 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7977
7978         * undo_funcs.C (firstUndoParagraph): adjust
7979
7980         * text3.C (gotoInset): adjust
7981         (dispatch): adjust, and rewrite loop.
7982
7983         * text2.C (init): adjust, and rewrite loop.
7984         (redoParagraphs): adjust
7985         (updateInset): adjust, and rewrite loop.
7986         (deleteEmptyParagraphMechanism): adjust
7987
7988         * tabular.C (LyXTabular): adjust
7989         (SetMultiColumn): adjust
7990         (TeXRow): adjust
7991
7992         * lyxtext.[Ch] (ownerParagraph): delete function
7993         (ownerParagraphs): new function returns a ParagraphList.
7994
7995         * BufferView.C (removeAutoInsets): adjust
7996         (insertErrors): adjust
7997         (setCursorFromRow): adjust
7998
7999 2003-04-01  Angus Leeming  <leeming@lyx.org>
8000
8001         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8002         in the frontends.
8003
8004 2003-04-02  John Levon  <levon@movementarian.org>
8005
8006         * lyxtext.h:
8007         * text.C:
8008         * Makefile.am:
8009         * text_funcs.h:
8010         * text_funcs.C: make transposeChars a free function
8011
8012         * lyxrow_funcs.C: remove wrong comment
8013
8014 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8015
8016         * lyxtext.h: adjust
8017         * rowpainter.C: adjust
8018         * text.C: adjust
8019         * text2.C: adjust
8020         * text3.C: adjust
8021
8022         * lyxrow_funcs. [Ch]: new files
8023
8024         * lyxrow.[Ch]: remove next and previous pointers
8025         (next,previous): remove accessor functions
8026         (isParEnd): move to lyxrow_funcs
8027         (lastPos): move to lyxrow_funcs
8028         (nextRowIsAllInset): move to lyxrow_funcs
8029         (lastPrintablePos): move to lyxrow_funcs
8030         (numberOfSeparators): move to lyxrow_funcs
8031         (numberOfHfills): move to lyxrow_funcs
8032         (numberOfLabelHfills): move to lyxrow_funcs
8033         (hfillExpansion): move to lyxrow_funcs
8034
8035         * lyxfunc.C: adjust
8036
8037         * bufferview_funcs.C (toggleAndShow): adjust
8038
8039         * RowList.h: Remove class RowList from file leave just a
8040         std::list<Row>.
8041
8042         * RowList.C: delete file
8043
8044         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8045         and lyxrow_funcs.h
8046
8047 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * text3.C (cursorPrevious): adjust
8050         (cursorNext): adjust
8051         (dispatch): adjust
8052
8053         * text2.C (redoHeightOfParagraph): adjust
8054         (redoDrawingOfParagraph): adjust
8055         (setCursor): adjust
8056
8057         * text.C (breakParagraph): adjust
8058         (insertChar): adjust
8059         (backspace): adjust
8060
8061         * rowpainter.C (RowPainter): adjust
8062         (leftMargin): simplify and adjust
8063         (most rowpainter functions): adjust.
8064
8065         * rowpainter.h: store the row as RowList::iterator not as Row*
8066
8067         * lyxcursor.C (row): taka RowList::iterator as arg
8068         (irow): ditto
8069
8070         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8071         of Row*.
8072
8073 2003-04-01  Angus Leeming  <leeming@lyx.org>
8074
8075         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8076         stuff like bool Bool.
8077
8078 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8079
8080         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8081         rewrite a loop
8082
8083 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8084
8085         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8086         RowList::iterator.
8087
8088         * lyxtext.h (rows): drop one version and leve a const variant that
8089         returns a RowList::iterator.
8090
8091 2003-03-31  Angus Leeming  <leeming@lyx.org>
8092
8093         * text.C (fill): ensure that the signature is the same as that in the
8094         header file.
8095
8096 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8097
8098         * text2.C (redoParagraphs): adjust
8099         (updateCounters): adjust
8100         (checkParagraph): adjust
8101         (getColumnNearX): adjust and reformat a bit.
8102
8103         * text.C (top_y): adjust
8104         (workWidth): adjust
8105         (leftMargin): adjust
8106         (prepareToPrint): adjust
8107         (getRow): adjust
8108         (getRowNearY): adjust
8109
8110         * lyxtext.h: make rowlist_ mutable.
8111
8112         * RowList.h: add const_iterator
8113         * RowList.C: adjust for RowList::const_iterator.
8114
8115         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8116         adjust.
8117
8118 2003-03-31  John Levon  <levon@movementarian.org>
8119
8120         * lyxrc.h:
8121         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8122
8123         * lyx_main.C: set default fonts from using lyx_gui funcs
8124
8125         * exporter.C: pdf_mode moved from lyxrc
8126
8127         * lyx_cb.C:
8128         * lyxfunc.C: changes from above
8129
8130 2003-03-31  John Levon  <levon@movementarian.org>
8131
8132         * lyx_main.C: fix to the last fix
8133
8134 2003-03-31  John Levon  <levon@movementarian.org>
8135
8136         * bufferlist.C: "Load original" -> "Load Original"
8137
8138         * converter.C:
8139         * exporter.C:
8140         * importer.C:
8141         * lyx_main.C:
8142         * format.C: more Alert cleanups
8143
8144 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8145
8146         * text2.C (removeParagraph): make it take a RowList::iterator as
8147         arg, adjust.
8148         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8149         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8150
8151         * text.C (anchor_row): make it take a RowList::iterator as arg,
8152         adjust.
8153         (computeBidiTables): make it take a const reference to Row instead
8154         of Row pointer, adjust.
8155         (leftMargin): make it take a RowList::iterator as arg, adjust.
8156         (rowBreakPoint): adjust
8157         (breakAgainOneRow): make it take a RowList::iterator as arg,
8158         adjust.
8159         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8160
8161         * bufferview_funcs.C (toggleAndShow): adjust
8162
8163 2003-03-30  John Levon  <levon@movementarian.org>
8164
8165         * Makefile.am:
8166         * BoostFormat.h:
8167         * boost-inst.C: moved to support
8168
8169         * several files: changes as a result
8170
8171 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * text2.C (LyXText): adjust.
8174         (init): adjust
8175         (removeRow): make it take a RowList::iterator as arg, adjust.
8176         (fullRebreak): adjust
8177         (deleteEmptyParagraphMechanism): adjust
8178         (clearPaint): adjust
8179         (postPaint): adjust
8180
8181         * text.C (top_y): adjust
8182         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8183         (breakAgain): make it take a RowList::iterator as arg, adjust.
8184         (breakParagraph): adjust
8185         (insertChar): adjust
8186         (backspace): adjust
8187
8188         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8189         need_break_row, and refresh_row.
8190
8191         * text3.C (dispatch): adjust
8192
8193         * text2.C (checkParagraph): adjust
8194         (setCursor): adjust
8195         (setCursorFromCoordinates): adjust
8196
8197         * text.C (top_y): adjust
8198         (workWidth): adjust
8199         (getRow): make it return a RowList::iterator, adjust
8200         (getRowNearY): make it return a RowList::iterator, adjust
8201
8202         * text2.C (init): adjust
8203         (insertRow): remove function
8204         (insertParagraph): adjust
8205         (redoParagraphs): adjust
8206         (fullRebreak): adjust
8207         (updateCounters): adjust
8208
8209         * text.C (top_y): rewrite to use RowList iterators.
8210         (top_y): adjust
8211         (setHeightOfRow): rewrite to sue RowList iterators.
8212         (appendParagraph): adjust
8213         (breakAgain): adjust
8214         (breakAgainOneRow): adjust
8215         (breakParagraph): adjust
8216         (getRow): adjust
8217         (getRowNearY): adjust, and remove commented code.
8218
8219         * lyxtext.h (firstRow): delete function
8220         (lastRow): delete function
8221         (rows): new function (const and non-const versions.)
8222         (insertRow): delete function
8223
8224         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8225
8226 2003-03-29  John Levon  <levon@movementarian.org>
8227
8228         * BufferView_pimpl.C: always update scrollbar top
8229         because pasting text when we're anchored could mean we
8230         miss an update altogether
8231
8232 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8233
8234         * text2.C (init): use rowlist_.end() and not 0.
8235         (insertRow): change to take a RowList::iterator as arg, adjust
8236         for this.
8237         (insertParagraph): change to take a RowList::iterator as arg,
8238         adjust for this.
8239         (redoParagraphs): remove some debug msgs.
8240
8241         * text.C (appendParagraph): change to take a RowList::iterator
8242         arg, adjust for this.
8243         (breakAgain): add an assert
8244         (breakAgainOneRow): ditto
8245
8246 2003-03-29  John Levon  <levon@movementarian.org>
8247
8248         * text2.C: do not clear selection after inc/decDepth
8249         (bug 550)
8250
8251 2003-03-29  John Levon  <levon@movementarian.org>
8252
8253         * BufferView.C:
8254         * buffer.C: fix broken strerrors according to Lars
8255
8256 2003-03-29  John Levon  <levon@movementarian.org>
8257
8258         * converters.C: more Alert cleanups
8259
8260 2003-03-29  John Levon  <levon@movementarian.org>
8261
8262         * bufferview_funcs.C: remove pointless Alert
8263
8264         * buffer.C: fix confusing error message when
8265         a template is chmoded 000
8266
8267 2003-03-29  John Levon  <levon@movementarian.org>
8268
8269         * BufferView.C:
8270         * BufferView.h:
8271         * BufferView_pimpl.C: Alert fixes
8272
8273         * Makefile.am:
8274         * tabular.C:
8275         * tabular-old.C: remove unused table compat reading
8276
8277 2003-03-29  John Levon  <levon@movementarian.org>
8278
8279         * BufferView.C:
8280         * buffer.C:
8281         * lyx_cb.h:
8282         * lyx_cb.C: more Alert cleanups
8283
8284         * lyxfunc.C: don't allow chktex if not latex document
8285
8286 2003-03-29  John Levon  <levon@movementarian.org>
8287
8288         * lyx_cb.C:
8289         * BufferView.C:
8290         * buffer.C: warnings pushed down from support/,
8291         kill err_alert
8292
8293 2003-03-29  John Levon  <levon@movementarian.org>
8294
8295         * lyxfunc.C: safety check for C-r (revert)
8296
8297 2003-03-29  John Levon  <levon@movementarian.org>
8298
8299         * bufferlist.h:
8300         * bufferlist.C: several UI fixes using Alert::prompt.
8301         Fix the pointless looping quit code. Fix stupid revert
8302         behaviour (bug 938)
8303
8304         * lyxvc.h:
8305         * lyxvc.C:
8306         * lyx_cb.C: use Alert::prompt
8307
8308         * lyx_main.C: remove a silly question
8309
8310         * lyxfunc.C: remove a couple of silly questions,
8311         use Alert::prompt
8312
8313 2003-03-28  John Levon  <levon@movementarian.org>
8314
8315         * text2.C: fix bug 974 (End on empty par)
8316
8317 2003-03-28  John Levon  <levon@movementarian.org>
8318
8319         * BufferView_pimpl.C:
8320         * LyXAction.C:
8321         * lfuns.h: remove do-nothing math greek lfuns
8322
8323 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * lyxgluelength.h (isValidGlueLength): add default arg on
8326         parameter 2. Remove default arg from friend in class.
8327
8328         * lyxlength.h (isValidLength): add default arg on parameter 2.
8329         Remove default arg from friend in class.
8330
8331         * text2.C (LyXText): adjust, initialize refresh_row.
8332         (init): adjust
8333         (removeRow): adjust
8334         (insertRow): adjust
8335         (insertParagraph): adjst
8336         (redoParagraphs): adjust
8337         (fullRebreak): adjust
8338         (updateCounters): adjust
8339         (deleteEmptyParagraphMechanism): first attempt at fixing a
8340         crashing bug.
8341
8342         * text.C (top_y): adjust
8343         (setHeightOfRow): adjust
8344         (getRow): adjust
8345         (getRowNearY): adjust
8346
8347         * lyxtext.h: include RowList.h
8348         (~LyXText): not needed anymore, deleted.
8349         (firstRow): modify for RowList
8350         (lastRow): new function
8351         Delete firstrow and lastrow class variables, add a Rowlist
8352         rowlist_ class variable.
8353
8354         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8355         paragraph is empty.
8356
8357         * RowList.C (insert): fix case where it == begin().
8358
8359 2003-03-26  Angus Leeming  <leeming@lyx.org>
8360
8361         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8362         the thesaurus dialog.
8363
8364 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8367
8368         * RowList.[Ch]: new files
8369
8370         * ParagraphList.C (erase): handle the case where it == begin
8371         correctly.
8372
8373 2003-03-25  John Levon  <levon@movementarian.org>
8374
8375         * Makefile.am:
8376         * aspell_local.h:
8377         * aspell.C: add new aspell support
8378
8379         * lyxrc.h:
8380         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8381         have it accessible.
8382
8383 2003-03-25  Angus Leeming  <leeming@lyx.org>
8384
8385         * lfuns.h:
8386         * LyXAction.C (init): new LFUN_INSET_INSERT.
8387
8388         * BufferView_pimpl.C (dispatch): split out part of the
8389         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8390
8391         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8392         LFUN_INSET_APPLY.
8393
8394 2003-03-25  Angus Leeming  <leeming@lyx.org>
8395
8396         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8397
8398 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8399
8400         * text2.C:
8401         * text3.C: remove useless row->height(0)
8402
8403 2003-03-25  John Levon  <levon@movementarian.org>
8404
8405         * lyxtext.h:
8406         * text2.C:
8407         * text3.C: rename the refreshing stuff to better names
8408
8409 2003-03-24  John Levon  <levon@movementarian.org>
8410
8411         * BufferView_pimpl.h:
8412         * BufferView_pimpl.C: update layout choice on a mouse
8413         press/release
8414
8415 2003-03-23  John Levon  <levon@movementarian.org>
8416
8417         * Makefile.am: fix commandtags.h reference
8418
8419 2003-03-22  John Levon  <levon@movementarian.org>
8420
8421         * BufferView_pimpl.C:
8422         * lyxtext.h:
8423         * rowpainter.C:
8424         * rowpainter.h:
8425         * text.C:
8426         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8427
8428 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8429
8430         * lyxtext.h:
8431         * text.C: take the rtl methods out of line
8432
8433 2003-03-21 André Pönitz <poenitz@gmx.net>
8434
8435         * metricsinfo.[Ch]: new files containing structures to be passed around
8436         during the two-phase-drawing...
8437
8438 2003-03-21 André Pönitz <poenitz@gmx.net>
8439
8440         * lyxtextclass.C: read 'environment' tag.
8441
8442 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8443
8444         * text2.C (removeRow): fix bug 964
8445
8446 2003-03-20  John Levon  <levon@movementarian.org>
8447
8448         * rowpainter.C:
8449         * text.C:
8450         * text2.C: paint cleanups. Inset::update() dropped font
8451         parameter
8452
8453 2003-03-19  John Levon  <levon@movementarian.org>
8454
8455         * lyxfunc.C: only fitcursor/markDirty if available()
8456
8457 2003-03-19  John Levon  <levon@movementarian.org>
8458
8459         * commandtags.h: rename to ...
8460
8461         * lfuns.h: ... this, and renumber / cleanup
8462
8463 2003-03-19  John Levon  <levon@movementarian.org>
8464
8465         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8466         fit the cursor after an lfun
8467
8468         * BufferView.h:
8469         * BufferView.C:
8470         * BufferView_pimpl.h:
8471         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8472
8473         * LyXAction.C: layout-character should have ReadOnly
8474
8475         * ParagraphParameters.C:
8476         * buffer.C:
8477         * bufferview_funcs.C:
8478         * lyx_cb.C:
8479         * lyxfind.C:
8480         * lyxtext.h:
8481         * text.C:
8482         * text2.C:
8483         * text3.C:
8484         * undo_funcs.C: changes from above
8485
8486 2003-03-18  John Levon  <levon@movementarian.org>
8487
8488         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8489         remove it from update()
8490
8491         * lyxfunc.C: update layout choice after an lfun
8492
8493         * text3.C: remove extra updateLayoutChoice()s
8494
8495 2003-03-18  John Levon  <levon@movementarian.org>
8496
8497         * text.C: top_y change means full repaint, fix
8498         a drawing bug with cursor movement
8499
8500 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8501
8502         * lyxtext.h:
8503         * text.C:
8504         * text2.C: anchor row on setCursor
8505
8506 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8507
8508         * lyxtext.h: remove almost all mutable keywords
8509         * text.C:
8510         * text2.C:
8511         * text3.C: remove const keywords accordingly
8512
8513 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8514
8515         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8516         anon namespace
8517         (TeXEnvironment): ditto
8518         (TeXOnePar): ditto
8519
8520 2003-03-17  John Levon  <levon@movementarian.org>
8521
8522         * text.C (rowBreakPoint): remove attempt to fix displayed
8523         math insets inside a manual label
8524
8525 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8526
8527         * lyxtext.h: remove BufferView* as first arg from almost all class
8528         functions.
8529         * other files: adjust.
8530
8531 2003-03-17  John Levon  <levon@movementarian.org>
8532
8533         * lyxtext.h:
8534         * undo_funcs.C:
8535         * text2.C: more paint cleanups
8536
8537         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8538
8539         * rowpainter.h:
8540         * rowpainter.C: remove "smart" background painting code
8541
8542 2003-03-16  John Levon  <levon@movementarian.org>
8543
8544         * lyxtext.h:
8545         * text.C:
8546         * text2.C:
8547         * text3.C: add helper functions for setting refresh_row/y
8548
8549 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8550
8551         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8552         newline inset which *can* get inserted in the pass_thru layouts.
8553         This is primarily for literate documents.
8554
8555 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8556
8557         * buffer.C: increment LYX_FORMAT to 223
8558
8559 2003-03-14 André Pönitz <poenitz@gmx.net>
8560
8561         * textclass.h: prepare for environment handling, ws changes
8562         * lyxlayout.C: read latexheader and latexfooter tags
8563
8564 2003-03-14  John Levon  <levon@movementarian.org>
8565
8566         * text2.C: rewrite ::status() a bit
8567
8568 2003-03-13  John Levon  <levon@movementarian.org>
8569
8570         * lyxtext.h: add some docs
8571
8572 2003-03-13  John Levon  <levon@movementarian.org>
8573
8574         * lyxtext.h:
8575         * text.C:
8576         * text2.C:
8577         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8578
8579 2003-03-13  John Levon  <levon@movementarian.org>
8580
8581         * text3.C: fix appendix redrawing
8582
8583 2003-03-13  John Levon  <levon@movementarian.org>
8584
8585         * text.C (setHeightOfRow):
8586         * rowpainter.h:
8587         * rowpainter.C: make appendix mark have the text
8588           "Appendix" so the user knows what it is
8589
8590         * LColor.h:
8591         * LColor.C: s/appendixline/appendix/ from above
8592
8593 2003-03-13  John Levon  <levon@movementarian.org>
8594
8595         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8596
8597         * text.C: fix a getChar(pos) bug properly
8598
8599 2003-03-13  Angus Leeming  <leeming@lyx.org>
8600
8601         * commandtags.h:
8602         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8603         Probably only temporary. Let's see how things pan out.
8604
8605         * BufferView.C (unlockInset):
8606         * BufferView_pimpl.C (fitCursor):
8607         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8608
8609         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8610         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8611
8612         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8613         new functions that convert ParagraphParameters to and from a string.
8614
8615         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8616         BufferView::Pimpl's dispatch.
8617         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8618
8619 2003-03-13 André Pönitz <poenitz@gmx.net>
8620
8621         * lyxfunc.C:
8622         * text3.C:
8623         * factory.C: make it aware of InsetEnv
8624
8625 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8626
8627         * text2.C (setCursor): never ask for one past last
8628         (setCursor): add some debugging messages.
8629
8630         * text.C (singleWidth): never ask for one past last
8631         (singleWidth): ditto
8632         (leftMargin): ditto
8633         (rightMargin): ditto
8634         (rowBreakPoint): ditto
8635         (setHeightOfRow): ditto
8636         (prepareToPrint): ditto
8637
8638         * rowpainter.C (paintBackground): never ask for one past last
8639         (paintText): never ask for one past last
8640
8641         * paragraph_pimpl.C (getChar): make the assert stricter, never
8642         allow the one past last pos to be taken
8643
8644         * paragraph.C (getChar): ws changes only
8645
8646         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8647         (numberOfSeparators): ditto
8648         (numberOfHfills): ditto
8649
8650 2003-03-12  John Levon  <levon@movementarian.org>
8651
8652         * author.h:
8653         * author.C:
8654         * bufferparams.h:
8655         * bufferparams.C:
8656         * paragraph_funcs.C: fix per-buffer authorlists
8657
8658 2003-03-12  John Levon  <levon@movementarian.org>
8659
8660         * text.C: fix newline in right address
8661
8662 2003-03-12  Angus Leeming  <leeming@lyx.org>
8663
8664         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8665         duplicate those in LyXFunc::dispatch.
8666
8667         * commandtags.h:
8668         * LyXAction.C:
8669         * ToolbarDefaults.C:
8670         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8671         Add LFUN_FONTFREE_UPDATE.
8672
8673         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8674         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8675
8676         * bufferview_func.[Ch]: several new functions to facilliate
8677         transfer of data to and from the character dialog.
8678
8679 2003-03-12  John Levon  <levon@movementarian.org>
8680
8681         * buffer.C:
8682         * paragraph.h:
8683         * paragraph.C:
8684         * paragraph_funcs.C:
8685         * paragraph_pimpl.C:
8686         * sgml.C:
8687         * tabular.C:
8688         * text.C:
8689         * text3.C: remove META_NEWLINE in favour of an inset
8690
8691         * rowpainter.h:
8692         * rowpainter.C: remove paintNewline (done by inset)
8693
8694 2003-03-12  John Levon  <levon@movementarian.org>
8695
8696         * paragraph_pimpl.C: complain about bad getChar()s
8697         for a while at least
8698
8699 2003-03-12  John Levon  <levon@movementarian.org>
8700
8701         * buffer.h:
8702         * buffer.C: move paragraph read into a separate function,
8703         a little renaming to reflect that.
8704
8705         * bufferparams.h:
8706         * bufferparams.C: remove the author_ids map, not necessary now
8707
8708         * factory.h:
8709         * factory.C: moved Buffer::readInset to here
8710
8711         * paragraph_funcs.h:
8712         * paragraph_funcs.C: readParagraph free function moved from
8713         buffer.C
8714
8715         * tabular.C: name change
8716
8717 2003-03-12  John Levon  <levon@movementarian.org>
8718
8719         * buffer.C:
8720         * ParagraphParameters.C: move par params input to
8721         a read() method
8722
8723         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8724         behave like a normal read from the stream wrt reading
8725         a line vs. a \\token
8726
8727 2003-03-12  John Levon  <levon@movementarian.org>
8728
8729         * paragraph.C:
8730         * ParagraphParameters.h:
8731         * ParagraphParameters.C: move output code to a
8732         ::write() method
8733
8734 2003-03-12  John Levon  <levon@movementarian.org>
8735
8736         * BufferView.C (insertLyXFile):
8737         * buffer.h:
8738         * buffer.C:
8739         * tabular.C: use a parlist iterator for creating the
8740           document.
8741
8742 2003-03-12  John Levon  <levon@movementarian.org>
8743
8744         * buffer.C: make current_change static local not
8745           static file-scope
8746
8747 2003-03-12  John Levon  <levon@movementarian.org>
8748
8749         * buffer.C: fix insertStringAsLines for change tracking
8750
8751 2003-03-12  John Levon  <levon@movementarian.org>
8752
8753         * BufferView.C:
8754         * tabular.C:
8755         * buffer.h:
8756         * buffer.C:
8757         * bufferparams.h:
8758         * bufferparams.C: move author list into params. Rename some
8759           functions. Move the header reading into a separate token
8760           loop. Move the header token reading into BufferParams.
8761
8762 2003-03-12  John Levon  <levon@movementarian.org>
8763
8764         * changes.C: put debug inside lyxerr.debugging() checks
8765
8766 2003-03-11 André Pönitz <poenitz@gmx.net>
8767
8768         * factory.C: make it aware of InsetHFill
8769
8770 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8771
8772         * buffer.C (latexParagraphs): move function from here...
8773         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8774         args.
8775
8776 2003-03-10  Angus Leeming  <leeming@lyx.org>
8777
8778         * LyXAction.C (init): fix bug in poplating array with multiple entries
8779         with the same LFUN (spotted by JMarc).
8780
8781 2003-03-10  John Levon  <levon@movementarian.org>
8782
8783         * text.C:
8784         * text2.C: move getColumnNearX() near its
8785         only call site
8786
8787 2003-03-10  John Levon  <levon@movementarian.org>
8788
8789         * text.C: fix break before a minipage
8790
8791 2003-03-10  John Levon  <levon@movementarian.org>
8792
8793         * text.C: fix the last commit
8794
8795 2003-03-09  John Levon  <levon@movementarian.org>
8796
8797         * lyxtext.h:
8798         * text.C:
8799         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8800         bug 365 (don't break before insets unless needed). Don't
8801         return a value > last under any circumstances.
8802
8803 2003-03-09  Angus Leeming  <leeming@lyx.org>
8804
8805         * BufferView_pimpl.C (trackChanges, dispatch): call
8806         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8807
8808 2003-03-09  Angus Leeming  <leeming@lyx.org>
8809
8810         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8811         than Dialogs::showAboutlyx().
8812
8813 2003-03-09  Angus Leeming  <leeming@lyx.org>
8814
8815         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8816         than Dialogs::showTabularCreate().
8817
8818 2003-03-09  John Levon  <levon@movementarian.org>
8819
8820         * lyxtext.h:
8821         * text.C:
8822         * text2.C: 3rd arg to nextBreakPoint was always the same.
8823           Use references.
8824
8825 2003-03-08  John Levon  <levon@movementarian.org>
8826
8827         * lyxrow.C:
8828         * paragraph.C:
8829         * paragraph.h:
8830         * rowpainter.C:
8831         * text.C:
8832         * text2.C: Remove the "main" bit from the "main body"
8833           notion.
8834
8835 2003-03-08  John Levon  <levon@movementarian.org>
8836
8837         * text.C (leftMargin): The left margin of an empty
8838         manual label paragraph should not include the label width
8839         string length.
8840
8841         * text.C (prepareToPrint): don't attempt to measure hfills
8842         for empty manual label paragraphs - the answer should be 0
8843
8844 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8845
8846         * CutAndPaste.C: remove commented code and reindent.
8847
8848 2003-03-08  John Levon  <levon@movementarian.org>
8849
8850         * lyxfunc.h:
8851         * lyxfunc.C: move reloadBuffer()
8852
8853         * BufferView.h:
8854         * BufferView.C: to here
8855
8856         * lyxvc.C: add comment
8857
8858         * vc-backend.h:
8859         * vc-backend.C: call bv->reload() to avoid
8860           getStatus() check on MENURELOAD
8861
8862 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8863
8864         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8865         to an old format .dep file.
8866
8867 2003-03-07  Angus Leeming  <leeming@lyx.org>
8868
8869         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8870         when the LFUN_MOUSE_RELEASE should have been handled by
8871         inset->localDispatch.
8872
8873 2003-03-07  Angus Leeming  <leeming@lyx.org>
8874
8875         * BufferView_pimpl.C (dispatch):
8876         * LyXAction.C (init):
8877         * ToolbarDefaults.C (init):
8878         * commandtags.h:
8879         * lyxfunc.C (getStatus):
8880         remove LFUN_INSET_GRAPHICS.
8881
8882         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8883
8884 2003-03-07  Angus Leeming  <leeming@lyx.org>
8885
8886         * commandtags.h:
8887         * LyXAction.C (init):
8888         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8889
8890         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8891
8892         * commandtags.h:
8893         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8894
8895         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8896         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8897
8898 2003-03-07  Angus Leeming  <leeming@lyx.org>
8899
8900         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8901         remove "ert".
8902
8903 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * ParagraphList.C (front): new function
8906         (back): implement
8907
8908 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8909
8910         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8911         and top_row_offset_. removed var first_y.
8912         * text.C (top_y):
8913         * text2.C (LyXText, removeRow):
8914         * text3.C:
8915         * BufferView_pimpl.C:
8916         use these methods instead of using first_y
8917
8918 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919
8920         * text2.C (pasteSelection): adjust for checkPastePossible
8921
8922         * CutAndPaste.C: remove Paragraph * buf and replace with
8923         ParagraphList paragraphs.
8924         (DeleteBuffer): delete
8925         (cutSelection): change the tc type to textclass_type
8926         (copySelection): change the tc type to textclass_type
8927         (copySelection): adjust for ParagraphList
8928         (pasteSelection): change the tc type to textclass_type
8929         (pasteSelection): adjust for Paragraphlist
8930         (nrOfParagraphs): simplify for ParagraphList
8931         (checkPastePossible): simplify for ParagraphList
8932         (checkPastePossible): remove unused arg
8933
8934         * ParagraphList.C (insert): handle the case where there are no
8935         paragraphs yet.
8936
8937         * CutAndPaste.h: make CutAndPaste a namespace.
8938
8939         * text3.C (dispatch): adjust
8940
8941         * text.C (breakParagraph): add a ParagraphList as arg
8942
8943         * paragraph_funcs.C (breakParagraph): change to take a
8944         BufferParams and a ParagraphList as args.
8945         (breakParagraphConservative): ditto
8946         (mergeParagraph): ditto
8947         (TeXDeeper): add a ParagraphList arg
8948         (TeXEnvironment): ditto
8949         (TeXOnePar): ditto
8950
8951         * buffer.C (readLyXformat2): adjust
8952         (insertStringAsLines): adjust
8953         (latexParagraphs): adjust
8954
8955         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8956         (cutSelection): adjust
8957         (pasteSelection): adjust
8958
8959         * BufferView_pimpl.C (insertInset): adjust
8960
8961 2003-03-05  Angus Leeming  <leeming@lyx.org>
8962
8963         * commandtags.h:
8964         * LyXAction.C (init):
8965         * BufferView_pimpl.C (dispatch):
8966         * lyxfunc.C (getStatus):
8967         remove LFUN_CHILD_INSERT.
8968
8969         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8970
8971 2003-03-05  Angus Leeming  <leeming@lyx.org>
8972
8973         * commandtags.h:
8974         * LyXAction.C (init):
8975         * src/factory.C (createInset):
8976         * lyxfunc.C (getStatus):
8977         * text3.C (dispatch):
8978         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8979
8980         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8981
8982 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8983
8984         * ParagraphList.C (insert): handle insert right before end()
8985         (erase): fix cases where it can be first or last paragraph.
8986
8987 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8988
8989         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8990         Paragraph::next and Paragraph::previous
8991         (TeXOnePar): ditto
8992
8993         * text.C (breakParagraph): adjust
8994
8995         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8996         BufferParams& as arg.
8997         (breakParagraph): use ParagraphList::insert
8998         (breakParagraphConservative): take a Buffer* instead of a
8999         BufferParams& as arg.
9000         (breakParagraphConservative): use ParagraphList::insert.
9001
9002         * buffer.C (insertStringAsLines): un-const it
9003         (insertStringAsLines): adjust
9004
9005         * ParagraphList.C (insert): new function
9006
9007         * CutAndPaste.C (pasteSelection): adjust
9008
9009         * text.C (backspace): adjust
9010
9011         * tabular.C (SetMultiColumn): adjust
9012
9013         * CutAndPaste.C (cutSelection): adjust
9014         (pasteSelection): adjust
9015
9016         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9017         Buffer const * as arg
9018
9019         * ParagraphList.C (erase): new function
9020         * paragraph_funcs.C (mergeParagraph): use it
9021         (mergeParagraph): make it take a Buffer* instead of a
9022         BufferParams* as arg
9023
9024         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9025         as arg
9026         (breakParagraphConservative): ditto
9027
9028         * paragraph.h: remove the breakParagraph friend
9029
9030         * paragraph.C (eraseIntern): new function
9031         (setChange): new function
9032
9033         * paragraph_funcs.C (mergeParagraph): make it take a
9034         ParagraphList::iterator instead of a Paragraph *, adjust
9035         accordingly.
9036
9037         * paragraph.h: move an #endif so that the change tracking stuff
9038         also works in the NO_NEXT case.
9039
9040 2003-03-04  Angus Leeming  <leeming@lyx.org>
9041
9042         * commandtags.h:
9043         * LyXAction.C: new LFUN_INSET_MODIFY.
9044
9045         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9046         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9047
9048 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9049
9050         * several files: ws changes only
9051
9052         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9053         (TeXEnvironment): ditto
9054         (TeXDeeper): ditto
9055
9056         * buffer.C (makeLaTeXFile): adjust
9057         (latexParagraphs): make it take ParagraphList::iterator as args
9058
9059 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9060
9061         * buffer.C (latexParagraphs): adjust
9062
9063         * paragraph.C (TeXOnePar): move function...
9064         (optArgInset): move function...
9065         (TeXEnvironment): move function...
9066         * paragraph_pimpl.C (TeXDeeper): move function...
9067         * paragraph_funcs.C: ...here
9068
9069         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9070
9071 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9072
9073         * buffer.C (readInset): remove compability code for old Figure and
9074         InsetInfo insets
9075
9076 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9077
9078         * buffer.C: ws changes
9079         (readInset):
9080
9081         * BufferView_pimpl.C: ditto
9082         * author.C: ditto
9083         * buffer.h: ditto
9084         * bufferlist.h: ditto
9085         * changes.h: ditto
9086         * lyxfunc.C: ditto
9087
9088 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9089
9090         * converter.[Ch]: split into itself +
9091         * graph.[Ch]
9092         * format.[Ch]
9093         * Makefile.am: += graph.[Ch] + format.[Ch]
9094         * MenuBackend.C
9095         * buffer.C
9096         * exporter.C
9097         * importer.C
9098         * lyx_main.C
9099         * lyxfunc.C
9100         * lyxrc.C: added #include "format.h"
9101
9102 2003-02-27  Angus Leeming  <leeming@lyx.org>
9103
9104         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9105           a label.
9106
9107         * factory.C (createInset): add "label" to the factory.
9108
9109         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9110           string and do no more.
9111
9112 2003-02-27  Angus Leeming  <leeming@lyx.org>
9113
9114         * commandtags.h:
9115         * LyXAction.C (init):
9116         * factory.C (createInset):
9117         * BufferView_pimpl.C (dispatch):
9118           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9119
9120         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9121
9122         * lyxfunc.C (dispatch):
9123         * text3.C (dispatch): pass name to params2string.
9124
9125 2003-02-26  Angus Leeming  <leeming@lyx.org>
9126
9127         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9128           blocks together.
9129           Rearrange the ~includes. Strip out the unnecessary ones.
9130
9131         * factory.C (createInset): reformat.
9132           create new insets for the various LFUN_XYZ_APPLY lfuns.
9133
9134 2003-02-26  John Levon  <levon@movementarian.org>
9135
9136         * lyxrow.h:
9137         * lyxrow.C: add isParStart,isParEnd helpers
9138
9139         * paragraph.h: make isInserted/DeletedText take refs
9140
9141         * paragraph_funcs.h:
9142         * paragraph_funcs.C: remove #if 0'd code
9143
9144         * lyxtext.h:
9145         * text3.C:
9146         * text2.C:
9147         * text.C: use lyxrow helpers above.
9148           Move draw and paint routines to RowPainter.
9149           Make several methods use refs not pointers.
9150           Make backgroundColor() const.
9151           Add markChangeInDraw(), isInInset().
9152           Merge changeRegionCase into changeCase.
9153           Make workWidth() shouldn't-happen code into an Assert.
9154
9155         * rowpainter.h:
9156         * rowpainter.C: new class for painting a row.
9157
9158         * vspace.h:
9159         * vspace.C: make inPixels take a ref
9160
9161 2003-02-26  Angus Leeming  <leeming@lyx.org>
9162
9163         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9164         LFUN_REF_APPLY.
9165
9166 2003-02-25  John Levon  <levon@movementarian.org>
9167
9168         * ispell.C: give the forked command a more accurate name
9169
9170 2003-02-22  John Levon  <levon@movementarian.org>
9171
9172         * toc.h:
9173         * toc.C: make TocItem store an id not a Paragraph *
9174           (bug #913)
9175
9176 2003-02-21  Angus Leeming  <leeming@lyx.org>
9177
9178         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9179           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9180           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9181           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9182           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9183           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9184
9185         * BufferView_pimpl.C (dispatch):
9186         * LyXAction.C (init):
9187         * factory.C (createInset):
9188         * lyxfunc.C (getStatus, dispatch):
9189         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9190
9191 2003-02-21  Angus Leeming  <leeming@lyx.org>
9192
9193         * BufferView_pimpl.C (MenuInsertLyXFile):
9194         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9195         * lyxfunc.C (menuNew, open, doImport):
9196           no longer pass a LyXView & to fileDlg.
9197
9198 2003-02-21  Angus Leeming  <leeming@lyx.org>
9199
9200         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9201         * LyXAction.C: change, BIBKEY to BIBITEM.
9202         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9203         Change InsetBibKey to InsetBibitem.
9204         Change BIBKEY_CODE to BIBITEM_CODE.
9205         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9206         * factory.C: replace insetbib.h with insetbibitem.h.
9207         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9208         * paragraph.C: replace insetbib.h with insetbibitem.h.
9209         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9210         Change bibkey() to bibitem().
9211         * text.C: remove insetbib.h.
9212         * text2.C: replace insetbib.h with insetbibitem.h.
9213         change bibkey() to bibitem().
9214         * text3.C: remove insetbib.h.
9215         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9216
9217 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9218
9219         * lyxrc.C (output): enclose user email in quotes (in case there are
9220         several words)
9221
9222 2003-02-18  John Levon  <levon@movementarian.org>
9223
9224         * buffer.h: add std::
9225
9226 2003-02-17  John Levon  <levon@movementarian.org>
9227
9228         * SpellBase.h:
9229         * ispell.h:
9230         * ispell.C:
9231         * pspell.h:
9232         * pspell.C: reworking. Especially in ispell, a large
9233           number of clean ups and bug fixes.
9234
9235         * lyxfunc.C: fix revert to behave sensibly
9236
9237 2003-02-17 André Pönitz <poenitz@gmx.net>
9238
9239         * LyXAction.C:
9240         * commandtags.h: new LFUN_INSERT_BIBKEY
9241
9242         * layout.h:
9243         * lyxlayout.C:
9244         * buffer.C:
9245         * factory.C:
9246         * text.C:
9247         * text2.C:
9248         * text3.C:
9249         * paragraph.[Ch]:
9250         * paragraph_func.C: remove special bibkey handling
9251
9252 2003-02-17  John Levon  <levon@movementarian.org>
9253
9254         * text.C (Delete): fix case where delete at the end of
9255           the very first paragraph would not merge the pars
9256
9257 2003-02-17  John Levon  <levon@movementarian.org>
9258
9259         * lyxrow.C: fix lastPrintablePos()
9260
9261 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9262
9263         * bufferparams.C (writeLaTeX): add a std:here
9264
9265         * buffer.C: and remove a using directive there
9266
9267 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * buffer.C (makeLaTeXFile): move the code that generates the
9270           preamble...
9271
9272         * bufferparams.C (writeLaTeX): ... in this new method
9273
9274         * LaTeXFeatures.C (getEncodingSet): make const
9275           (getLanguages): make const
9276
9277         * MenuBackend.C (binding): returns the binding associated to this
9278           action
9279           (add): sets the status of each item by calling getStatus. Adds
9280           some intelligence.
9281           (read): add support for OptSubMenu
9282           (expand): remove extra separator at the end of expanded menu
9283
9284 2003-02-15  John Levon  <levon@movementarian.org>
9285
9286         * BufferView.C:
9287         * BufferView_pimpl.C:
9288         * bufferlist.h:
9289         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9290           inset code that had no actual effect. Remove unneeded status
9291           code.
9292
9293 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9294
9295         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9296           in preamble
9297
9298 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9299
9300         * text.C (drawLengthMarker): also draw an arrow marker for
9301           symbolic lengths (medskip...)
9302
9303 2003-02-14  John Levon  <levon@movementarian.org>
9304
9305         * tabular.h:
9306         * tabular.C: better method names
9307
9308 2003-02-14  John Levon  <levon@movementarian.org>
9309
9310         * BufferView_pimpl.C:
9311         * bufferlist.C:
9312         * buffer.C:
9313         * converter.C:
9314         * lyx_cb.C:
9315         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9316           it's a more accurate name. Remove some pointless uses.
9317
9318 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9319
9320         * text2.C (LyXText): change order of initilizers to shut off
9321           warnings
9322
9323 2003-02-14  John Levon  <levon@movementarian.org>
9324
9325         * buffer.C: use ParIterator for getParFromID()
9326
9327         * paragraph.h:
9328         * paragraph.C:
9329         * paragraph_pimpl.h:
9330         * paragraph_pimpl.C: remove unused getParFromID()
9331
9332 2003-02-14  John Levon  <levon@movementarian.org>
9333
9334         * buffer.C: remove some very old #if 0'd parse code
9335
9336 2003-02-13  John Levon  <levon@movementarian.org>
9337
9338         * text.h:
9339         * text.C:
9340         * text2.C: move hfillExpansion(), numberOfSeparators(),
9341           rowLast(), rowLastPrintable(), numberofHfills(),
9342           numberOfLabelHfills() ...
9343
9344         * lyxrow.h:
9345         * lyxrow.C: ... to member functions here.
9346
9347         * paragraph.h:
9348         * paragraph.C:
9349         * lyxtext.h:
9350         * text.C: remove LyXText::beginningOfMainBody(), and call
9351           p->beginningOfMainBody() directly. Move the check for
9352           LABEL_MANUAL into the latter.
9353
9354         * text.h:
9355         * text.C:
9356         * text2.C:
9357         * vspace.C:
9358         * BufferView.h:
9359         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9360
9361         * text.h:
9362         * text.C:
9363         * text2.C:
9364         * text3.C:
9365         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9366           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9367
9368 2003-02-13  John Levon  <levon@movementarian.org>
9369
9370         * CutAndPaste.C: remove debug
9371
9372 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * paragraph.C (asString): remove two unused variables
9375
9376         * lyxtextclass.C (readTitleType):
9377           (Read):
9378           (LyXTextClass): handle new members titletype_ and titlename_
9379
9380         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9381
9382 2003-02-09  John Levon  <levon@movementarian.org>
9383
9384         * buffer.h:
9385         * buffer.C: replace hand-coded list with a map for the dep clean
9386
9387 2003-02-08  John Levon  <levon@movementarian.org>
9388
9389         * LaTeX.C: consolidate code into showRunMessage() helper
9390
9391 2003-02-08  John Levon  <levon@movementarian.org>
9392
9393         * lyxfind.C:
9394         * lyxtext.h:
9395         * text2.C:
9396         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9397           and pass the size in explicitly
9398
9399         * BufferView_pimpl.h:
9400         * BufferView_pimpl.C:
9401         * BufferView.h:
9402         * BufferView.C: add getCurrentChange()
9403
9404         * BufferView_pimpl.h:
9405         * BufferView_pimpl.C: handle change lfuns
9406
9407         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9408           for changes. Mark pasted paragraphs as new.
9409
9410         * support/lyxtime.h:
9411         * support/lyxtime.C:
9412         * DepTable.C: abstract time_t as lyx::time_type
9413
9414         * LColor.h:
9415         * LColor.C: add colours for new text, deleted text, changebars
9416
9417         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9418           package use "usenames" option.
9419
9420         * commandtags.h:
9421         * lyxfunc.C:
9422         * LyXAction.C: add change lfuns
9423
9424         * Makefile.am:
9425         * author.h:
9426         * author.C: author handling
9427
9428         * buffer.h:
9429         * buffer.C: add a per-buffer author list, with first entry as
9430           current author. Handle new .lyx tokens for change tracking. Output
9431           author list to .lyx file. Output dvipost stuff to .tex preamble.
9432           Bump lyx format to 222.
9433
9434         * bufferlist.h:
9435         * bufferlist.C: add setCurrentAuthor() to reset current author details
9436           in all buffers.
9437
9438         * bufferparams.h:
9439         * bufferparams.C: add param for tracking
9440
9441         * bufferview_funcs.C: output change info in minibuffer
9442
9443         * Makefile.am:
9444         * changes.h:
9445         * changes.C: add change-tracking structure
9446
9447         * debug.h:
9448         * debug.C: add CHANGES debug flag
9449
9450         * lyxfind.h:
9451         * lyxfind.C: add code for finding the next change piece
9452
9453         * lyxrc.h:
9454         * lyxrc.C: add user_name and user_email
9455
9456         * lyxrow.h:
9457         * lyxrow.C: add a metric for the top of the text line
9458
9459         * lyxtext.h:
9460         * text.C: implement accept/rejectChange()
9461
9462         * lyxtext.h:
9463         * text.C: paint changebars. Paint new/deleted text in the chosen
9464         colours. Strike through deleted text.
9465
9466         * paragraph.h:
9467         * paragraph.C:
9468         * paragraph_pimpl.h:
9469         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9470           in the current change to the insert functions. Rework erase to
9471           mark text as deleted, adding an eraseIntern() and a range-based
9472           erase(). Implement per-paragraph change lookup and
9473           accept/reject.
9474
9475         * paragraph_funcs.C: Fixup paste for change tracking.
9476
9477         * tabular.C: mark added row/columns as new.
9478
9479         * text.C: fix rowLast() to never return -1. Don't allow
9480           spellchecking of deleted text. Track transpose changes. Don't
9481           allow paragraph break or merge where appropriate.
9482
9483         * text2.C: leave cursor at end of selection after a cut.
9484
9485 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9486
9487         * text.C (getLengthMarkerHeight):
9488         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9489         visible on screen too.
9490
9491 2003-02-07  John Levon  <levon@movementarian.org>
9492
9493         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9494
9495 2003-02-05  Angus Leeming  <leeming@lyx.org>
9496
9497         * lyxserver.C (read_ready): revert my patch of 11 September last year
9498         as it sends PC cpu through the roof. Presumably this means that
9499         the lyxserver will no longer run on an Alpha...
9500
9501 2003-01-30  Angus Leeming  <leeming@lyx.org>
9502
9503         * factory.C (createInset): create an InsetCommandParam of type "index"
9504         and use it to 'do the right thing'.
9505
9506         * text2.C (getStringToIndex): ensure that cursor position is always
9507         reset to the reset_cursor position.
9508
9509 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9510
9511         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9512         disabled.
9513
9514 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9515
9516         * bufferview.C:
9517         * lyxcb.C:
9518         * lyxfunc.C: Output messages with identical spelling, punctuation,
9519         and spaces
9520
9521 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9522
9523         * MenuBackend.C (expandFormats): List only viewable export formats
9524         in "View" menu
9525
9526         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9527         message
9528
9529         * lyxfunc.C (getStatus): Make sure that formats other than
9530         "fax" can also be disabled
9531
9532 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9533
9534         * text3.C (dispatch): put the lfuns that insert insets in 3
9535         groups, and call doInsertInset with appropriate arguments.
9536         (doInsertInset): new function, that creates an inset and inserts
9537         it according to some boolean parameters.
9538
9539 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9540
9541         * buffer.C (readFile): remember to pass on 'par' when calling
9542         readFile recursively.
9543
9544 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9545
9546         * MenuBackend.C (expandFormats): add "..." to import formats.
9547
9548 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9549
9550         * paragraph.C (asString): Remove XForms RTL hacks.
9551
9552 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9553         * buffer.C: fix typo
9554
9555 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9556
9557         * Makefile.am (LIBS): delete var
9558         (lyx_LDADD): add @LIBS@ here instead.
9559
9560 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9561
9562         * Clarify the meaning of "wheel mouse jump"
9563
9564 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9565
9566         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9567         tabular in a float
9568
9569 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9570
9571         * importer.C (Loaders): do not preallocate 3 elements in the
9572         vector, since one ends up with 6 elements otherwise
9573
9574 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9575
9576         * DepTable.C (write): write the file name as last element of the
9577         .dep file (because it may contain spaces)
9578         (read): read info in the right order
9579
9580 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9581
9582         * paragraph_pimpl.C (simpleTeXBlanks):
9583         (simpleTeXSpecialChars):
9584         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9585
9586         * tabular.C (latex): add some missing case statements. Reindent.
9587
9588         * MenuBackend.C (expandToc): remove unused variable.
9589
9590 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9591
9592         * LColor.C:
9593         * LaTeX.C:
9594         * LyXAction.C:
9595         * MenuBackend.C:
9596         * buffer.C:
9597         * exporter.C:
9598         * lyxfunc.C:
9599         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9600         and the like.
9601
9602 2003-01-05  John Levon  <levon@movementarian.org>
9603
9604         * BufferView.h:
9605         * BufferView.C: add getEncoding()
9606
9607         * kbsequence.h:
9608         * kbsequence.C: do not store last keypress
9609
9610         * lyxfunc.h:
9611         * lyxfunc.C: store last keypress here instead. Pass encoding
9612           to getISOEncoded()
9613
9614 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9615
9616         * lyx_main.C (init): remove annoying error message when following
9617         symbolic links (bug #780)
9618
9619 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9620
9621         * text.C (insertChar):
9622         * lyxrc.C (getDescription): remove extra spaces
9623
9624 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9625
9626         * lyxrc.C (getDescription): remove extra spaces
9627
9628 2002-12-20  John Levon  <levon@movementarian.org>
9629
9630         * text3.C: hack fix for page up/down across tall rows
9631
9632 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9633
9634         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9635         not been invoked
9636
9637 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9638
9639         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9640         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9641         thesaurus is not compiled in
9642
9643 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9644
9645         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9646
9647 2002-12-16  Angus Leeming  <leeming@lyx.org>
9648
9649         * lyxrc.[Ch]:
9650         * lyx_main.C (init): remove override_x_deadkeys stuff.
9651
9652 2002-12-12  John Levon  <levon@movementarian.org>
9653
9654         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9655           insert. Only remove shift modifier under strict
9656           circumstances.
9657
9658 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9659
9660         * MenuBackend.C (expandToc): fix crash.
9661
9662 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9663
9664         * MenuBackend.C (expandToc): gettext on float names.
9665
9666 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9667
9668         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9669         implement bool empty() [bug 490]
9670
9671 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9672
9673         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9674
9675 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9676
9677         * several files: ws changes
9678
9679 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9680
9681         * text2.C (setCounter): clean up a bit, use boost.format.
9682         (updateCounters): initialize par upon declaration.
9683
9684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9685         if the layout exists. We do not just store the layout any more.
9686         (SwitchLayoutsBetweenClasses): use boost.format
9687
9688 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9689
9690         * converter.C (convert): if from and to files are the same, use a
9691         temporary files as intermediary
9692
9693 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9694
9695         * commandtags.h:
9696         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9697
9698 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9699
9700         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9701
9702 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9703
9704         * tabular.C (asciiPrintCell): use string(size, char) instead of
9705         explicit loop.
9706
9707         * sgml.C (openTag): fix order of arguments to string constructor
9708         (closeTag): ditto
9709
9710         * lyxfunc.C (dispatch): use boost.format
9711
9712         * lots of files: change "c" -> 'c'
9713
9714 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9715
9716         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9717
9718 2002-11-25  Angus Leeming  <leeming@lyx.org>
9719
9720         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9721
9722         * lyx_main.C (init): compile fix.
9723
9724 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9725
9726         * lyx_cb.C (start): boost.formatify
9727         do not include <iostream>
9728
9729         * lengthcommon.C: ws only
9730
9731         * boost-inst.C,BoostFormat.h: add more explict instantations
9732
9733 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9734
9735         * lots of files: handle USE_BOOST_FORMAT
9736
9737 2002-11-21  John Levon  <levon@movementarian.org>
9738
9739         * pspell.C: fix compile
9740
9741 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9742
9743         * lyxfunc.C (dispatch): use boost::format
9744         (open): ditto
9745         (doImport): ditto
9746
9747         * lyxfont.C (stateText): use boost::format
9748
9749         * lyx_main.C (LyX): use boost::format
9750         (init): ditto
9751         (queryUserLyXDir): ditto
9752         (readRcFile): ditto
9753         (parse_dbg): ditto
9754         (typedef boost::function): use the recommened syntax.
9755
9756         * importer.C (Import): use boost::format
9757
9758         * debug.C (showLevel): use boost::format
9759
9760         * converter.C (view): use boost::format
9761         (convert): ditto
9762         (move): ditto
9763         (scanLog): ditto
9764
9765         * bufferview_funcs.C (currentState): use boost::format
9766
9767         * bufferlist.C (emergencyWrite): use boost::format
9768
9769         * buffer.C (readLyXformat2): use boost::format
9770         (parseSingleLyXformat2Token): ditto
9771
9772         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9773
9774         * LaTeX.C (run): use boost::format
9775
9776         * Chktex.C (scanLogFile): use boost::format
9777
9778         * BufferView_pimpl.C (savePosition): use boost::format
9779         (restorePosition): ditto
9780         (MenuInsertLyXFile): ditto
9781
9782         * BoostFormat.h: help file for explicit instation.
9783
9784 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9785
9786         * tabular.C (latex): Support for block alignment in fixed width
9787         columns.
9788
9789 2002-11-17  John Levon  <levon@movementarian.org>
9790
9791         * BufferView_pimpl.C:
9792         * lyx_cb.C:
9793         * lyxfunc.C: split filedialog into open/save
9794
9795 2002-11-08  Juergen Vigna  <jug@sad.it>
9796
9797         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9798         by my last patch (hopefully).
9799
9800 2002-11-08  John Levon  <levon@movementarian.org>
9801
9802         * iterators.h:
9803         * iterators.C:
9804         * buffer.h:
9805         * buffer.C:
9806         * paragraph.h:
9807         * paragraph.C:
9808         * toc.h:
9809         * toc.C: ParConstIterator, and use it (from Lars)
9810
9811 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9812
9813         * lyxtextclass.[Ch]: revise and add doxygen comments
9814
9815 2002-11-07  John Levon  <levon@movementarian.org>
9816
9817         * text.C: fix progress value for spellchecker
9818
9819         * toc.C: fix navigate menu for insetwrap inside minipage
9820
9821         * paragraph_funcs.C: added FIXME for suspect code
9822
9823 2002-11-07  John Levon  <levon@movementarian.org>
9824
9825         * BufferView_pimpl.C: fix redrawing of insets
9826           on buffer switch
9827
9828 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9829
9830         * text2.C (updateCounters): fix bug 668
9831
9832 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9833
9834         * text3.C (dispatch): Do not make the buffer dirty when moving the
9835         cursor.
9836
9837 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9838
9839         * vc-backend.C: STRCONV
9840         (scanMaster): ditto
9841
9842         * text2.C (setCounter): STRCONV
9843
9844         * paragraph.C (asString): STRCONV
9845
9846         * lyxlength.C (asString): STRCONV
9847         (asLatexString): ditto
9848
9849         * lyxgluelength.C (asString): STRCONV
9850         (asLatexString): ditto
9851
9852         * lyxfunc.C (dispatch): STRCONV
9853         (open): ditto
9854
9855         * lyxfont.C (stateText): STRCONV
9856
9857         * importer.C (Import): STRCONV
9858
9859         * counters.C (labelItem): STRCONV
9860         (numberLabel): ditto
9861         (numberLabel): remove unused ostringstream o
9862
9863         * chset.C: STRCONV
9864         (loadFile): ditto
9865
9866         * bufferview_funcs.C (currentState): STRCONV
9867
9868         * buffer.C (readFile): STRCONV
9869         (asciiParagraph): ditto
9870         (makeLaTeXFile): ditto
9871
9872         * Spacing.C (writeEnvirBegin): STRCONV
9873
9874         * LaTeXFeatures.C (getLanguages): STRCONV
9875         (getPackages): ditto
9876         (getMacros): ditto
9877         (getBabelOptions): ditto
9878         (getTClassPreamble): ditto
9879         (getLyXSGMLEntities): ditto
9880         (getIncludedFiles): ditto
9881
9882         * LaTeX.C: STRCONV
9883         (run): ditto
9884         (scanAuxFile): ditto
9885         (deplog): ditto
9886
9887         * LString.h: add the STRCONV macros
9888
9889         * BufferView_pimpl.C (savePosition): STRCONV
9890         (restorePosition): ditto
9891         (MenuInsertLyXFile): ditto
9892
9893         * vc-backend.C (scanMaster): change from submatch[...] to
9894         submatch.str(...)
9895
9896         * funcrequest.C: include config.h
9897
9898         * factory.C: include config.h
9899
9900         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9901
9902         * box.C: include config.h
9903
9904         * LaTeX.C (scanAuxFile): change from submatch[...] to
9905         submatch.str(...)
9906         (deplog): ditto
9907
9908 2002-10-25  Angus Leeming  <leeming@lyx.org>
9909
9910         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9911
9912         * ispell.[Ch] (setError): new method.
9913         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9914         Use setError() insetead of goto END.
9915
9916         * lyx_cb.C (AutoSave): move out child process into new class
9917         AutoSaveBuffer.
9918
9919 2002-10-30  John Levon  <levon@movementarian.org>
9920
9921         * text3.C: make start appendix undoable
9922
9923 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9924
9925         * lyxlength.C (inPixels): Fix returned value.
9926
9927         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9928         environment.
9929
9930 2002-10-24  Angus Leeming  <leeming@lyx.org>
9931
9932         * lyxgluelength.h: no need to forward declare BufferParams
9933         or BufferView, so don't.
9934
9935 2002-10-21  John Levon  <levon@movementarian.org>
9936
9937         * BufferView.C: menuUndo ->undo, redo
9938
9939         * BufferView.h: document, remove dead, make some methods private
9940
9941         * paragraph_funcs.h:
9942         * paragraph_funcs.C:
9943         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9944
9945         * buffer.h:
9946         * buffer.C:
9947         * sgml.h:
9948         * sgml.C: move sgml open/close tag into sgml.C
9949
9950         * bufferview_funcs.h: unused prototype
9951
9952         * lyxfunc.h:
9953         * lyxfunc.C: remove unused
9954
9955         * lyxtext.h:
9956         * text.C: remove unused
9957
9958 2002-10-21  John Levon  <levon@movementarian.org>
9959
9960         * BufferView.h:
9961         * BufferView.C:
9962         * BufferView_pimpl.h:
9963         * BufferView_pimpl.C: fix mouse wheel handling based on
9964           patch from Darren Freeman
9965
9966 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9967
9968         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9969
9970 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9971
9972         * lyxlength.C (inPixels): Fix hanfling of negative length.
9973         Fix LyXLength::MU case.
9974
9975 2002-10-16  John Levon  <levon@movementarian.org>
9976
9977         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9978
9979 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9980
9981         * converter.C (view): add support for $$i (file name) and $$p
9982         (file path) for the viewer command. If $$i is not specified, then
9983         it is appended to the command (for compatibility with old syntax)
9984
9985 2002-10-14  Juergen Vigna  <jug@sad.it>
9986
9987         * undo_funcs.C (textHandleUndo): alter the order in which the
9988         new undopar is added to the LyXText, as we have to set first
9989         the right prev/next and then add it as otherwise the rebuild of
9990         LyXText is not correct. Also reset the cursor to the right paragraph,
9991         with this IMO we could remove the hack in "redoParagraphs()".
9992
9993 2002-10-09  Angus Leeming  <leeming@lyx.org>
9994
9995         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9996         to turn off an optimisation if a new inset is to be inserted.
9997
9998 2002-10-11 André Pönitz <poenitz@gmx.net>
9999
10000         * lyxtext.h: make some functions public to allow access
10001         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10002
10003 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10004
10005         * text3.C (dispatch): when changing layout, avoid an infinite loop
10006         [bug #652]
10007
10008 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10009
10010         * lyxrc.C (read): treat a viewer or converter command of "none" as
10011         if it were empty.
10012
10013         * MenuBackend.C (expandFormats): for an update, also allow the
10014         formats that are not viewable
10015
10016         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10017         script if it is newer than the lyxrc.defaults in user directory
10018
10019 2002-10-07 André Pönitz <poenitz@gmx.net>
10020
10021         * text.C: Vitaly Lipatov's small i18n fix
10022
10023 2002-09-25  Angus Leeming  <leeming@lyx.org>
10024
10025         * ispell.h: doxygen fix.
10026
10027 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10028
10029         * buffer.h (readFile): Add a new argument to the method, to allow
10030         reading of old-format templates.
10031
10032 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10033
10034         * toc.C (getTocList): Get TOC from InsetWrap.
10035
10036 2002-09-16  John Levon  <levon@movementarian.org>
10037
10038         * lyxfunc.C: check tabular for cut/copy too
10039
10040 2002-09-12  John Levon  <levon@movementarian.org>
10041
10042         * LyXAction.C: tidy
10043
10044         * factory.h:
10045         * factory.C: add header
10046
10047         * paragraph_funcs.h:
10048         * paragraph_funcs.C: cleanup
10049
10050 2002-09-11  John Levon  <levon@movementarian.org>
10051
10052         * PrinterParams.h: odd/even default to true
10053
10054 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10055
10056         * PrinterParams.h: update printer parameters for new xforms dialog
10057
10058 2002-09-11  Angus Leeming  <leeming@lyx.org>
10059
10060         * lyxserver.C (read_ready): re-write to make it more transparent
10061         and to make it work in coherent fashion under Tru64 Unix.
10062
10063 2002-09-11  André Pönitz <poenitz@gmx.net>
10064
10065         * commandtags.h:
10066         * LyXAction.C:
10067         * text3.C: implement LFUN_WORDSEL
10068
10069 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10070
10071         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10072         make floatlist_ a boost::shared_ptr<FloatList>
10073
10074         * lyxtextclass.C: include FloatList.h
10075         (LyXTextClass): initialize floatlist_
10076         (TextClassTags): add TC_NOFLOAT
10077         (Read): match "nofloat" to TC_NOFLOAT and use it.
10078         (readFloat): modify call to floatlist_
10079         (floats): ditto
10080         (floats): ditto
10081
10082         * FloatList.[Ch] (FloatList): remove commented out float
10083         initialization.
10084         (erase): new function
10085
10086 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10087
10088         * MenuBackend.C (expandToc): fix crash when there is no document
10089         open
10090
10091 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10092
10093         * many files: Add insetwrap.
10094
10095 2002-09-09  John Levon  <levon@movementarian.org>
10096
10097         * text2.C: remove confusing and awkward depth wraparound
10098
10099 2002-09-09  John Levon  <levon@movementarian.org>
10100
10101         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10102
10103         * buffer.h:
10104         * buffer.C: remove getIncludeonlyList()
10105
10106         * paragraph.C:
10107         * lyxfunc.C: remove headers
10108
10109 2002-09-09  Juergen Vigna  <jug@sad.it>
10110
10111         * text.C (getColumnNearX): fix form Michael this is most
10112         probably a cut&paste bug.
10113
10114 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10115
10116         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10117
10118         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10119         references, ws changes.
10120
10121         * text2.C (init): update counters after init
10122         (insertParagraph): no need to set counter on idividual paragraphs.
10123         (setCounter): access the counters object in the textclass object
10124         on in the buffer object.
10125         (updateCounters): ditto
10126
10127         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10128         shared_ptr<Counters> to avoid loading counters.h in all
10129         compilation units.
10130         (LyXTextClass): initialize ctrs_
10131         (TextClassTags): add TC_COUNTER, and ...
10132         (Read): use it here.
10133         (CounterTags): new tags
10134         (readCounter): new function
10135         (counters): new funtion
10136         (defaultLayoutName): return a const reference
10137
10138         * counters.C (Counters): remove contructor
10139         (newCounter): remove a couple of unneeded statements.
10140         (newCounter): simplify a bit.
10141         (numberLabel): some small formatting changes.
10142
10143         * buffer.[Ch]: remove all traces of counters, move the Counters
10144         object to the LyXTextClass.
10145
10146 2002-09-06  Alain Castera  <castera@in2p3.fr>
10147
10148         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10149         package to set the horizontal alignment on fixed width columns.
10150
10151         * lyx_sty.C:
10152         * lyx_sty.h: added tabularnewline macro def.
10153
10154         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10155
10156 2002-09-06  John Levon  <levon@movementarian.org>
10157
10158         * LyXAction.C: tooltips for sub/superscript
10159
10160         * MenuBackend.C: a bit more verbose
10161
10162         * lyxfunc.C: tiny clean
10163
10164         * undo_funcs.C: document undo_frozen
10165
10166 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10167
10168         * counters.C (Counters): add missing algorithm counter.
10169
10170         * text2.C (setCounter): lookup the counter with layouts latexname
10171         instead of by section number.
10172         (setCounter): use a hackish way to lookup the correct enum
10173         counter.
10174         a float name->type change
10175         reset enum couners with counter name directly instead of depth value.
10176
10177         * counters.C (Counters): remove the push_backs, change to use the
10178         float type not the float name.
10179         (labelItem): remove unused string, float name->type change
10180
10181         * counters.h: don't include vector, loose the enums and sects vectors
10182
10183 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10184
10185         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10186         (Read): add float->TC_FLOAT to textclassTags
10187         (Read): and handle it in the switch
10188         (readFloat): new function
10189
10190         * FloatList.C (FloatList): comment out the hardcoded float
10191         definitions.
10192
10193         * lyxlayout.h: ws change.
10194
10195 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10196
10197         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10198
10199 2002-09-03  Angus Leeming  <leeming@lyx.org>
10200
10201         * BufferView_pimpl.h: qualified name is not allowed in member
10202         declaration: WorkArea & Pimpl::workarea() const;
10203
10204         * factory.C: added using std::endl directive.
10205
10206         * text3.C: added using std::find and std::vector directives.
10207
10208 2002-08-29  André Pönitz <poenitz@gmx.net>
10209
10210         * lyxtext.h:
10211         * text2.C: remove unused member number_of_rows
10212
10213         * Makefile.am:
10214         * BufferView2.C: remove file, move contents to...
10215         * BufferView.C: ... here
10216
10217         * BufferView_pimpl.C:
10218         * factory.C: move more inset creation to factory
10219
10220         * vspace.C: avoid direct usage of LyXText, ws changes
10221
10222         * BufferView.[Ch]:
10223                 don't provide direct access to WorkArea, use two simple
10224                 acessors haveSelction() and workHeight() instead
10225
10226
10227 2002-08-29  John Levon  <levon@movementarian.org>
10228
10229         * BufferView_pimpl.C (dispatch): do not continue when
10230           no buffer
10231
10232 2002-08-28  André Pönitz <poenitz@gmx.net>
10233
10234         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10235
10236         * BufferView.h:
10237         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10238
10239 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10240
10241         * buffer.C: increment LYX_FORMAT to 221
10242
10243         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10244         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10245
10246         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10247
10248         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10249
10250 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10251
10252         * factory.C (createInset): use LyXTextClass::floats
10253
10254         * MenuBackend.C (expandFloatListInsert):
10255         (expandFloatInsert):
10256         (expandToc):
10257
10258         * text2.C (setCounter):
10259
10260         * LaTeXFeatures.C (useFloat):
10261         (getFloatDefinitions):
10262
10263         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10264
10265         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10266         floatlist_, with accessor floats().
10267
10268         * FloatList.h: remove global FloatList
10269
10270 2002-08-26  André Pönitz <poenitz@gmx.net>
10271
10272         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10273
10274         * BufferView.h:
10275         * BufferView2.C:
10276         * BufferView_pimpl.C:
10277         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10278
10279 2002-08-25  John Levon  <levon@movementarian.org>
10280
10281         * LyXAction.C: fix margin note description
10282
10283 2002-08-24  John Levon  <levon@movementarian.org>
10284
10285         * buffer.C:
10286         * bufferlist.C:
10287         * bufferview_funcs.C:
10288         * lyxfont.C:
10289         * undo_funcs.C: cleanups
10290
10291         * lyxfunc.C: disable CUT/COPY when no selection
10292
10293 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10294
10295         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10296         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10297
10298         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10299         Add backward compatibility to "mono", "gray" and "no".
10300
10301 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10302
10303         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10304         (and file_format >= 200).
10305
10306 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10307
10308         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10309
10310 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10313
10314 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10315
10316         * BufferView_pimpl.C:
10317         * LyXAction.C:
10318         * buffer.C:
10319         * commandtags.h:
10320         * lyxfunc.C:
10321         * paragraph.[Ch]:
10322         * text2.C:
10323         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10324         inset and code to make it  work with the paragraph code. The inset
10325         can be anywhere in the paragraph, but will only do the expected
10326         thing in LaTeX if the layout file contains the parameter line
10327                         OptionalArgs    1
10328         (or more generally, a nonzero value) for that layout.
10329
10330 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10331
10332         * paragraph.h: remove the declaration of undefined counters class
10333         function.
10334
10335 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10336
10337         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10338         Dr. Richard Hawkins.
10339
10340 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * paragraph_funcs.h: remove some unneeded includes
10343
10344         * text.C (backspace): pasteParagraph now in global scipe
10345
10346         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10347         (pasteSelection): ditto
10348
10349         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10350         * paragraph_funcs.C (pasteParagraph): ... here
10351
10352 2002-08-20  André Pönitz <poenitz@gmx.net>
10353
10354         * commandtags.h: new LFUNs for swapping/copying table row/colums
10355
10356         * LyXAction.C:
10357         * lyxfunc.C: support for new lfuns
10358
10359 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10360
10361         * tabular.C:
10362         * buffer.[Ch]: remove NO_COMPABILITY stuff
10363
10364 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10365
10366         * boost.C (throw_exception): new file, with helper function for
10367         boost compiled without exceptions.
10368
10369         * paragraph.h:
10370         * lyxlength.C:
10371         * buffer.C:
10372         * ParameterStruct.h:
10373         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10374
10375         * bufferlist.C (emergencyWriteAll): use boost bind
10376
10377         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10378
10379         * text.C: include paragraph_funcs.h
10380         (breakParagraph): breakParagraph is now in global scope
10381
10382         * paragraph_funcs.[Ch]: new files
10383
10384         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10385         global scope
10386
10387         * buffer.C: include paragraph_funcs.h
10388         (insertStringAsLines): breakParagraph is now in global scope
10389
10390         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10391         paragraph_funcs.C
10392
10393         * CutAndPaste.C: include paragraph_funcs.h
10394         (cutSelection): breakParagraphConservative is now in global scope
10395         (pasteSelection): ditto
10396
10397         * buffer.h: declare oprator== and operator!= for
10398         Buffer::inset_iterator
10399
10400         * bufferlist.C (emergencyWrite): don't use fmt(...)
10401
10402         * text3.C: add using std::endl
10403
10404         * BufferView.C (moveCursorUpdate): remove default arg
10405
10406 2002-08-20  André Pönitz <poenitz@gmx.net>
10407
10408         * buffer.[Ch]: move inline functions to .C
10409
10410         * BufferView2.C:
10411         * BufferView_pimpl.C:
10412         * text.C:
10413         * buffer.[Ch]: use improved inset_iterator
10414
10415         * buffer.C:
10416         * paragraph.[Ch]: write one paragraph at a time
10417
10418 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10419
10420         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10421         style if style is not specified.
10422
10423 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * text2.C (setCounter): when searching for right label for a
10426         caption, make sure to recurse to parent insets (so that a caption
10427         in a minipage in a figure float works) (bug #568)
10428
10429 2002-08-20  André Pönitz <poenitz@gmx.net>
10430
10431         * text3.C: new file for LyXText::dispatch() and helpers
10432
10433         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10434
10435         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10436
10437 2002-08-19  André Pönitz <poenitz@gmx.net>
10438
10439         * lyxtext.h:
10440         * text.C: new LyXText::dispatch()
10441
10442         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10443
10444 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10445
10446         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10447
10448         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10449         Hebrew text.
10450
10451 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10452
10453         * Makefile.am: use $(variables) instead of @substitutions@
10454
10455 2002-08-15  André Pönitz <poenitz@gmx.net>
10456
10457         * lyxfunc.C:
10458         * BufferView_pimpl.C: streamlining mathed <-> outer world
10459         interaction
10460
10461         * commandtags.h:
10462         * LyXAction.C: remove unused LFUN_MATH
10463
10464 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10465
10466         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10467
10468 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10469
10470         * paragraph.C (Paragraph): reformat a bit
10471         (cutIntoMinibuffer): use builtin InsetList function instad of
10472         doing it manually.
10473         (getInset): ditto
10474
10475         * buffer.C: include boost/bind.hpp, add using std::for_each
10476         (writeFileAscii): use ParagraphList iterators
10477         (validate): use for_each for validate traversal of paragraphs
10478         (getBibkeyList): use ParagraphList iterators
10479         (resizeInsets): use for_each to resizeInsetsLyXText for all
10480         paragraphs.
10481         (getParFromID): use ParagraphList iterators
10482
10483         * BufferView2.C (lockInset): use paragraph list and iterators
10484
10485 2002-08-14  John Levon  <levon@movementarian.org>
10486
10487         * lyxserver.C: remove spurious xforms include
10488
10489 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10490
10491         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10492
10493 2002-08-13  André Pönitz <poenitz@gmx.net>
10494
10495         * LyXAction.[Ch]:
10496         * lyxfunc.C: further cleaning
10497
10498 2002-08-13  André Pönitz <poenitz@gmx.net>
10499
10500         * funcrequest.h: new constructor
10501
10502         * funcrequest.C: move stuff here from .h
10503
10504         * Makefile.am:
10505         * BufferView_pimpl.C:
10506         * LyXAction.C:
10507         * toc.C:
10508         * lyxfunc.C: subsequent changes
10509
10510         * lyxfunc.h: new view() member function
10511
10512         * lyxfunc.C: subsequent changes
10513
10514 2002-08-13  Angus Leeming  <leeming@lyx.org>
10515
10516         * BufferView2.C:
10517         * BufferView_pimpl.C:
10518         * buffer.C:
10519         * converter.C:
10520         * importer.C:
10521         * lyxfunc.C:
10522         * lyxvc.C:
10523         * toc.C:
10524         * vc-backend.C:
10525         changes due to the changed LyXView interface that now returns references
10526         to member variables not pointers.
10527
10528 2002-08-13  Angus Leeming  <leeming@lyx.org>
10529
10530         * WordLangTuple (word, lang_code): return references to strings,
10531         not strings.
10532
10533         * BufferView.h:
10534         * SpellBase.h:
10535         * lyxtext.h: forward-declare WordLangTuple.
10536
10537         * BufferView2.C:
10538         * ispell.C:
10539         * pspell.C:
10540         * text.C: #include "WordLangTuple.h".
10541
10542         * lyxtext.h:
10543         * text.C: (selectNextWordToSpellcheck): constify return type.
10544
10545 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10546
10547         * buffer.C:
10548         * buffer.h:
10549         * lyxtext.h:
10550         * paragraph.C:
10551         * paragraph_pimpl.h:
10552         * text.C:
10553         * text2.C:
10554         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10555         suggested by Angus.
10556         Made updateCounter always count from start of buffer, and removed
10557         second argument (par).
10558         Reverted floats number display to '#'. Perhaps I'll try again when the
10559         code base is sanitized a bit.
10560
10561 2002-08-12  Angus Leeming  <leeming@lyx.org>
10562
10563         * buffer.[Ch] (getLabelList): constify.
10564
10565 2002-08-07  André Pönitz <poenitz@gmx.net>
10566
10567         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10568
10569         * funcrequest.h: extension to keep mouse (x,y) position
10570
10571 2002-08-12  Juergen Vigna  <jug@sad.it>
10572
10573         * BufferView2.C (insertErrors): forbid undo when inserting error
10574         insets.
10575
10576         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10577
10578 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10579
10580         * ParagraphList.[Ch]: new files
10581
10582         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10583
10584         * BufferView2.C (lockInset): ParagraphList changes
10585         * toc.C: ditto
10586         * text2.C: ditto
10587         * bufferlist.C: ditto
10588         * buffer.h: ditto
10589         * buffer.C: ditto
10590
10591 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10592
10593         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10594         unused class variable counter_,
10595
10596         * paragraph.[Ch] (getFirstCounter): delete unused function
10597
10598         * counters.C: include LAssert.h
10599         (reset): add a new function with no arg, change other version to
10600         not have def. arg and to not allow empty arg.
10601
10602         * text2.C (setCounter): remove empty arg from call to Counters::reset
10603
10604 2002-08-11  John Levon  <levon@movementarian.org>
10605
10606         * Makefile.am: add WordLangTuple.h
10607
10608 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10609
10610         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10611         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10612
10613         * insets/insettext.C: InsetList changes
10614
10615         * graphics/GraphicsSupport.C (operator()): InsetList changes
10616
10617         * toc.C (getTocList): InsetList changes
10618
10619         * paragraph_pimpl.[Ch]: InsetList changes
10620
10621         * paragraph.[Ch]: InsetList changes
10622
10623         * buffer.C (inset_iterator): InsetList changes
10624         (setParagraph): ditto
10625         * buffer.h (inset_iterator): ditto
10626         * iterators.C (operator++): ditto
10627         * iterators.h: ditto
10628
10629         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10630
10631         * InsetList.[Ch]: new files, most InsetList handling moved out of
10632         paragraph.C.
10633
10634         * BufferView2.C (removeAutoInsets): InsetList changes
10635         (lockInset): ditto
10636         (ChangeInsets): ditto
10637
10638 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10639
10640         * paragraph_pimpl.h (empty): new function
10641
10642         * paragraph.[Ch] (empty): new function
10643
10644         * other files: use the new Paragraph::empty function
10645
10646 2002-08-09  John Levon  <levon@movementarian.org>
10647
10648         * lyxtext.h: remove unused refresh_height
10649
10650 2002-08-09  John Levon  <levon@movementarian.org>
10651
10652         * Makefile.am:
10653         * sgml.h:
10654         * sgml.C:
10655         * buffer.C:
10656         * paragraph.h:
10657         * paragraph.C: move sgml char escaping out of paragraph
10658
10659         * paragraph.h:
10660         * paragraph.C: remove id setter
10661
10662         * buffer.C:
10663         * paragraph.C:
10664         * paragraph_pimpl.C: remove dead tex_code_break_column
10665
10666         * bufferview_funcs.C: small cleanup
10667
10668         * lyxfunc.C: remove dead proto
10669
10670         * lyxtext.h: make some stuff private. Remove some dead stuff.
10671
10672         * lyxgluelength.C: make as[LyX]String() readable
10673
10674 2002-08-08  John Levon  <levon@movementarian.org>
10675
10676         * LyXAction.h:
10677         * LyXAction.C:
10678         * MenuBackend.C:
10679         * ToolbarDefaults.C:
10680         * lyxfunc.C:
10681         * lyxrc.C:
10682         * toc.C: lyxaction cleanup
10683
10684 2002-08-08  John Levon  <levon@movementarian.org>
10685
10686         * BufferView2.C: small cleanup
10687
10688         * lyxfind.h:
10689         * lyxfind.C: move unnecessary header into the .C
10690
10691 2002-08-08  John Levon  <levon@movementarian.org>
10692
10693         * funcrequest.h: just tedious nonsense
10694
10695         * lyx_main.h:
10696         * lyx_main.C: cleanups
10697
10698         * buffer.C:
10699         * vspace.C: remove dead header lyx_main.h
10700
10701 2002-08-07  Angus Leeming  <leeming@lyx.org>
10702
10703         * Paragraph.[Ch]:
10704         * paragraph_pimpl.h:
10705         Forward declare class Counters in paragraph.h by moving the ctrs member
10706         variable into Paragraph::Pimpl.
10707         (counters): new method, returning a reference to pimpl_->ctrs.
10708
10709         * text2.C: ensuing changes.
10710
10711 2002-08-07  John Levon  <levon@movementarian.org>
10712
10713         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10714
10715         * BufferView_pimpl.C: announce X selection on double/triple
10716           click
10717
10718         * lyx_main.C: use correct bool in batch dispatch
10719
10720         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10721
10722 2002-08-07  André Pönitz <poenitz@gmx.net>
10723
10724         * funcrequest.h: new class to wrap a kb_action and its argument
10725
10726         * BufferView.[Ch]:
10727         * BufferView_pimpl[Ch]:
10728         * LaTeX.C:
10729         * LyXAction.[Ch]:
10730         * lyxfunc.[Ch]:
10731         * lyxrc.C: subsequent changes
10732
10733
10734 2002-08-07  John Levon  <levon@movementarian.org>
10735
10736         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10737           document options change.
10738
10739 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10740
10741         * counters.[Ch]
10742         * text2.C
10743         * paragraph.[Ch]
10744         * makefile.am: move counters functionality over from
10745         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10746
10747 2002-08-06  John Levon  <levon@movementarian.org>
10748
10749         * WordLangTuple.h: new file for word + language code tuple
10750
10751         * SpellBase.h:
10752         * pspell.h:
10753         * pspell.C:
10754         * ispell.h:
10755         * ispell.C:
10756         * lyxtext.h:
10757         * text.C:
10758         * text2.C:
10759         * BufferView.h:
10760         * BufferView2.C: use WordLangTuple
10761
10762         * layout.h:
10763         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10764
10765 2002-08-06  John Levon  <levon@movementarian.org>
10766
10767         * lyx_main.C: fix cmdline batch handling
10768
10769 2002-08-06  André Pönitz <poenitz@gmx.net>
10770
10771         * lyxrc.C: set default for show_banner to true
10772
10773 2002-08-06  John Levon  <levon@movementarian.org>
10774
10775         * pspell.C: fix a crash, and allow new aspell to work
10776
10777 2002-08-06  John Levon  <levon@movementarian.org>
10778
10779         * lyxfunc.C:
10780         * kbmap.C: small cleanup
10781
10782         * vspace.h:
10783         * vspace.C: add const
10784
10785 2002-08-05  John Levon  <levon@movementarian.org>
10786
10787         * LyXAction.C: back to tabular-insert
10788
10789 2002-08-04  John Levon  <levon@movementarian.org>
10790
10791         * BufferView.h:
10792         * BufferView.C: cosmetic change
10793
10794         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10795
10796         * bufferlist.C:
10797         * buffer.h:
10798         * buffer.C:
10799         * lyxcb.h:
10800         * lyxcb.C:
10801         * lyxserver.C:
10802         * lyxvc.C:
10803         * vc-backend.C:
10804         * BufferView2.C: purge all "Lyx" not "LyX" strings
10805
10806         * lyxcursor.h:
10807         * lyxcursor.C: attempt to add some documentation
10808
10809         * lyxfunc.C:
10810         * commandtags.h:
10811         * LyXAction.C:
10812         * ToolbarDefaults.C:
10813         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10814           merge with LFUN_TABULAR_INSERT
10815
10816         * Makefile.am:
10817         * SpellBase.h:
10818         * ispell.h:
10819         * ispell.C:
10820         * pspell.h:
10821         * pspell.C: split up i/pspell implementations into separate
10822           files, many cleanups
10823
10824         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10825
10826         * text2.C: some cleanup
10827
10828         * lyxfunc.C: don't check for isp_command == "none" any more, it
10829           didn't make any sense
10830
10831 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10832
10833         * counters.[Ch]
10834         * text2.C
10835         * paragraph.[Ch]
10836         * makefile.am: move counters functionality over
10837         from text2.C/paragraph.[Ch] to counters.[Ch], and
10838         make proper C++.
10839 2002-08-02  John Levon  <levon@movementarian.org>
10840
10841         * buffer.C: s/lyxconvert/lyx2lyx/
10842
10843 2002-08-02  Angus Leeming  <leeming@lyx.org>
10844
10845         * lyxlex.C: revert John's change as it breaks reading of the user
10846         preamble.
10847
10848 2002-08-02  Angus Leeming  <leeming@lyx.org>
10849
10850         * importer.C (Import):
10851         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10852         changes due to LyXView::view() now returning a boost::shared_ptr.
10853
10854 2002-08-02  John Levon  <levon@movementarian.org>
10855
10856         * lyxlex.C: small cleanup
10857
10858 2002-08-02  John Levon  <levon@movementarian.org>
10859
10860         * text2.C (status): small cleanup, no logic change
10861
10862 2002-08-01  John Levon  <levon@movementarian.org>
10863
10864         * buffer.h:
10865         * buffer.C (writeFile): don't output alerts, caller
10866           handles this
10867
10868         * bufferlist.C:
10869         * lyx_cb.C: from above
10870
10871         * lyxfunc.C: allow to open non-existent files
10872
10873 2002-07-31  John Levon  <levon@movementarian.org>
10874
10875         * lyxserver.C: don't let incidental errors get
10876           in the way (errno)
10877
10878 2002-07-30  John Levon  <levon@movementarian.org>
10879
10880         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10881
10882 2002-07-30  John Levon  <levon@movementarian.org>
10883
10884         * lyxserver.h:
10885         * lyxserver.C: remove I/O callback too
10886
10887 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10888
10889         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10890         log.
10891
10892 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10893
10894         * many files: strip,frontStrip -> trim,ltrim,rtrim
10895
10896 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10897
10898         * PrinterParams.h: remove extern containsOnly, and include
10899         support/lstrings.h instead.
10900
10901         * LaTeX.C (scanAuxFile): modify because of strip changes
10902         (deplog): ditto
10903         * buffer.C (makeLaTeXFile): ditto
10904         * bufferparams.C (writeFile): ditt
10905         * lyxfont.C (stateText): ditto
10906         * lyxserver.C (read_ready): ditto
10907         * vc-backend.C (scanMaster): ditto
10908
10909         * BufferView_pimpl.h: ws changes
10910
10911         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10912
10913 2002-07-26  André Pönitz <poenitz@gmx.net>
10914
10915         * kb_sequence.C: remove unnedred usings
10916
10917 2002-07-26  Juergen Vigna  <jug@sad.it>
10918
10919         * lyxfind.C (LyXReplace): we have to check better if the returned
10920         text is not of theLockingInset()->getLockingInset().
10921
10922 2002-07-25  Juergen Vigna  <jug@sad.it>
10923
10924         * lyxfind.C (LyXReplace): don't replace if we don't get the
10925         right LyXText.
10926
10927         * undo_funcs.C (createUndo): remove debugging code.
10928
10929 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10930
10931         * buffer.C (parseSingleLyXformat2Token): Use default placement
10932         when reading old floats.
10933
10934         * FloatList.C (FloatList): Change the default placement of figure
10935         and tables to "tbp".
10936
10937 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * MenuBackend.C: using std::max
10940
10941 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10942
10943         * MenuBackend.C (expandToc):
10944         (expandToc2): code moved from xforms menu frontend. It is now
10945         generic and TOCs are transparent to menu frontends.
10946
10947 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10948
10949         * toc.C (getTocList): protect against buf=0
10950
10951         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10952         Menu as first parameter. Now, this calls itself recursively to
10953         expand a whole tree (this will be useful for TOC handling)
10954         (expandFloatInsert): remove 'wide' version of floats
10955
10956         * MenuBackend.h (submenuname): returns the name of the submenu.
10957         (submenu): returns the submenu itself, provided it has been
10958         created by MenuBackend::expand
10959
10960 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10963         insets which have noFontChange == true. (bug #172)
10964
10965 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10966
10967         * BufferView_pimpl.C: add connection objects and use them...
10968         (Pimpl): here.
10969
10970 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10971
10972         * MenuBackend.C (expandLastfiles):
10973         (expandDocuments):
10974         (expandFormats):
10975         (expandFloatListInsert):
10976         (expandFloatInsert):
10977         (expand): split expand in parts
10978
10979 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10980
10981         * lyx_gui.C: use lyx_gui::exit()
10982
10983 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * LyXAction.C: show the failing pseudo action
10986
10987 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10988
10989         * buffer.C (readFile): Run the lyxconvert script in order to read
10990         old files.
10991
10992 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * LyXAction.C:
10995         * commandtags.h:
10996         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10997
10998 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * LyXAction.C:
11001         * commandtags.h:
11002         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11003
11004 2002-07-22  Herbert Voss  <voss@lyx.org>
11005
11006         * lengthcommon.C:
11007         * lyxlength.[Ch]: add support for the vertical lengths
11008
11009 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * toc.[Ch]: std:: fixes
11012
11013 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11014
11015         * lyxrc.C: do not include lyx_main.h
11016
11017         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11018         for layouts
11019
11020         * lyxrc.C:
11021         * encoding.C:
11022         * bufferlist.C:
11023         * BufferView2.C: include "lyxlex.h"
11024
11025         * tabular.h:
11026         * bufferparams.h: do not #include "lyxlex.h"
11027
11028         * lyxtextclasslist.C (Add): remove method
11029         (classlist): renamed to classlist_
11030
11031         * paragraph_pimpl.C:
11032         * paragraph.C:
11033         * text2.C:
11034         * CutAndPaste.C:
11035         * bufferview_funcs.C:
11036         * bufferlist.C:
11037         * text.C:
11038         * LaTeXFeatures.C:
11039         * buffer.C:
11040         * toc.C (getTocList): use BufferParams::getLyXTextClass
11041
11042         * toc.C (getTocList): use InsetFloat::addToToc
11043
11044         * toc.[Ch]: new files, containing helper functions to handle table
11045         of contents
11046
11047         * lyxfunc.C (dispatch): no need to remove spaces around command
11048         given as a string
11049         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11050         first command of the sequence; it is not very clever, but I do not
11051         have a better idea, actually
11052
11053         * LyXAction.C (LookupFunc): make sure to remove space at the
11054         beginning and end of the command
11055
11056 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11057
11058         * MenuBackend.C (getMenubar): new method: return the menubar of
11059         this menu set
11060         (read): treat differently reading of menu and menubar (in
11061         particular, the menubar has no name now)
11062         (Menu::menubar): remove
11063
11064         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11065         saving is finished
11066
11067 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11068
11069         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11070         a bibitem inset in a RTL paragraph.
11071
11072 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * paragraph_pimpl.C: constify
11075
11076         * BufferView_pimpl.C:
11077         * LaTeX.C:
11078         * lyxfunc.C: fix dispatch in a nicer way
11079
11080 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11081
11082         * lyxfunc.C (dispatch):
11083         * BufferView_pimpl.C:
11084         * BufferView_pimpl.h:
11085         * BufferView.C:
11086         * BufferView.h: rename Dispatch() to dispatch()
11087
11088         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11089
11090         * lyxlayout.C (Read): honor DependsOn tag
11091
11092         * lyxlayout.[Ch] (depends_on): new method
11093
11094         * version.C.in: update lyx_docversion
11095
11096         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11097
11098         * paragraph.C (validate): remove from here...
11099         * paragraph_pimpl.C (validate): ... and move here
11100         (isTextAt): make it const
11101
11102         * buffer.C (getLists): ws cleanup
11103
11104 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11105
11106         * language.C (read): Use iso8859-1 encoding in latex_lang
11107         (this prevents LyX from crashing when using iso10646-1 encoding).
11108
11109 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * text2.C (toggleInset): if cursor is inside an inset, close the
11112         inset and leave cursor _after_ it
11113
11114 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11115
11116         * lyxfunc.C: move minibuffer completion handling out of here
11117
11118 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11119
11120         * BufferView_pimpl.C:
11121         * LaTeX.C: fix dispatch calls
11122
11123 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11124
11125         * text.C (drawChars): Fix Arabic text rendering.
11126
11127 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * LyXAction.C:
11130         * commandtags.h:
11131         * lyxfunc.C: remove message-push/pop
11132
11133         * lyxserver.C:
11134         * lyxfunc.h:
11135         * lyxfunc.C: rationalise some code by removing verboseDispatch
11136           in favour of a bool argument to dispatch()
11137
11138 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * lyx_main.C (init): make sure to read symlinks as absolute paths
11141
11142 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * lyxfunc.h:
11145         * lyxfunc.C: no need for commandshortcut to be a member
11146
11147 2002-07-15  André Pönitz <poenitz@gmx.net>
11148
11149         * converter.C: add support for $$s (scripts from lib/scripts dir)
11150         * lyx_main.C: white space
11151
11152 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11153
11154         * bufferlist.C:
11155         * lyxrc.h:
11156         * lyxrc.C: remove second exit confirmation
11157
11158 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11159
11160         * BufferView.h:
11161         * BufferView.C:
11162         * BufferView2.C:
11163         * BufferView_pimpl.h:
11164         * BufferView_pimpl.C:
11165         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11166
11167 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11168
11169         * MenuBackend.C (expand): add numeric shortcuts to document menu
11170
11171         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11172
11173 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * lyxfont.C (setLyXFamily):
11176         (setLyXSeries):
11177         (setLyXShape):
11178         (setLyXSize):
11179         (setLyXMisc):
11180         (lyxRead):
11181         * debug.C (value):
11182         * buffer.C (asciiParagraph): use ascii_lowercase
11183
11184 2002-07-15  Mike Fabian  <mfabian@suse.de>
11185
11186         * lyxlex_pimpl.C (search_kw):
11187         * lyxlex.C (getLongString):
11188         * converter.h (operator<):
11189         * converter.C (operator<):
11190         * buffer.C (parseSingleLyXformat2Token):
11191         (asciiParagraph):
11192         * ToolbarDefaults.C (read):
11193         * MenuBackend.C (checkShortcuts):
11194         (read):
11195         * LColor.C (getFromGUIName):
11196         (getFromLyXName): use the compare_ascii_no_case instead of
11197         compare_no_case, because in turkish, 'i' is not the lowercase
11198         version of 'I', and thus turkish locale breaks parsing of tags.
11199
11200 2002-07-16  Angus Leeming  <leeming@lyx.org>
11201
11202         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11203         now takes a Buffer const & argument.
11204
11205 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11206
11207         * BufferView.C (resize): check there's a buffer to resize
11208
11209 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11210
11211         * lyxfunc.C: remove dead code
11212
11213         * lyxserver.h:
11214         * lyxserver.C: use lyx_guii::set_read_callback
11215
11216 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11217
11218         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11219         an inset in a RTL paragraph.
11220
11221 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11222
11223         * lyxfunc.C: repaint after a font size update
11224
11225 2002-07-15  André Pönitz <poenitz@gmx.net>
11226
11227         * lyxlength.C: inBP should be able to return negative values
11228
11229 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11230
11231         * lyxfunc.C: use lyx_gui::update_fonts()
11232
11233 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11234
11235         * lyxfunc.C: use lyx_gui::update_color()
11236
11237 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11238
11239         * bufferlist.C:
11240         * lyxfunc.h:
11241         * lyxfunc.C:
11242         * lyxrc.h:
11243         * lyxrc.C: remove file->new asks for name option, and let
11244           buffer-new take an argument
11245
11246 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * BufferView_pimpl.C: remove unneeded extra repaint()
11249
11250 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * LyXAction.C: allow command-sequence with NoBuffer
11253
11254         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11255
11256 2002-07-10  Angus Leeming  <leeming@lyx.org>
11257
11258         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11259
11260 2002-07-09  Angus Leeming  <leeming@lyx.org>
11261
11262         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11263
11264 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * lengthcommon.h: whitespace
11267
11268         * lyxfunc.C: update scrollbar after goto paragraph
11269
11270         * lyxtext.h: factor out page break drawing, and fix it so
11271           page break/added space paints as selected nicely
11272
11273 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * BufferView_pimpl.C: add FIXMEs, clean up a little
11276
11277 2002-07-09  André Pönitz <poenitz@gmx.net>
11278
11279         * lyxfont.[Ch]: support for wasy symbols
11280
11281 2002-07-08  André Pönitz <poenitz@gmx.net>
11282
11283         * BufferView_pimpl.C: apply John's patch for #93.
11284
11285 2002-07-05  Angus Leeming  <leeming@lyx.org>
11286
11287         * BufferView_pimpl.C (buffer): generate previews if desired.
11288
11289         * LColor.h: add "preview" to the color enum.
11290
11291         * LColor.C (LColor): add a corresponding entry to the items array.
11292
11293         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11294         with this buffer.
11295
11296 2002-07-05  Angus Leeming  <leeming@lyx.org>
11297
11298         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11299         The body of the code is now in the method that is passed an ostream &
11300         rather than a file name.
11301         Pass an additional only_preamble parameter, useful for the forthcoming
11302         preview stuff.
11303
11304 2002-07-03  André Pönitz <poenitz@gmx.net>
11305
11306         * lyxfunc.C: simplify getStatus() a bit for math stuff
11307
11308 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11309
11310         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11311
11312 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11313
11314         * text.C (changeRegionCase): do not change case of all the
11315         document when region ends at paragraph end (bug #461)
11316
11317 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11318
11319         * paragraph.C (startTeXParParams):
11320         (endTeXParParams): add \protect when necessary
11321
11322 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * BufferView_pimpl.C (workAreaExpose): remove warning
11325
11326 2002-06-27  Angus Leeming  <leeming@lyx.org>
11327
11328         * Makefile.am: add lyxlayout_ptr_fwd.h.
11329
11330 2002-06-26  André Pönitz <poenitz@gmx.net>
11331
11332         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11333
11334 2002-06-25  Angus Leeming  <leeming@lyx.org>
11335
11336         * lyxfunc.C (dispatch): Comment out the call to
11337         grfx::GCache::changeDisplay. The method no longer exists now that the
11338         pixmap generation part of the graphics loader has been moved into
11339         InsetGraphics.
11340
11341 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11342
11343         * text2.C: layout as layout
11344
11345         * text.C: layout as layout
11346
11347         * tabular.C (OldFormatRead): layout as layout
11348
11349         * paragraph_pimpl.C (TeXDeeper): layout as layout
11350         (realizeFont): layout as layout
11351
11352         * paragraph.C (writeFile): layout as layout
11353         (validate): layout as layout
11354         (getFont): layout as layout
11355         (getLabelFont): layout as layout
11356         (getLayoutFont): layout as layout
11357         (breakParagraph): layout as layout
11358         (stripLeadingSpaces): layout as layout
11359         (getEndLabel): layout as layout
11360         (getMaxDepthAfter): layout as layout
11361         (applyLayout): layout as layout
11362         (TeXOnePar): layout as layout
11363         (simpleTeXOnePar): layout as layout
11364         (TeXEnvironment): layout as layout
11365         (layout): layout as layout
11366         (layout): layout as layout
11367
11368         * lyxtextclass.C (compare_name): new functor to work with
11369         shared_ptr, layout as layout
11370         (Read): layout as layout
11371         (hasLayout): layout as layout
11372         (operator): layout as layout
11373         (delete_layout): layout as layout
11374         (defaultLayout): layout as layout
11375
11376         * lyxlayout_ptr_fwd.h: new file
11377
11378         * lyxlayout.C (Read): layout as layout
11379
11380         * lyx_cb.C (MenuInsertLabel): layout as layout
11381
11382         * bufferlist.C (newFile): layout as layout
11383
11384         * buffer.C (readLyXformat2): layout as layout
11385         (parseSingleLyXformat2Token): layout as layout
11386         (insertStringAsLines): layout as layout
11387         (asciiParagraph): layout as layout
11388         (latexParagraphs): layout as layout
11389         (makeLinuxDocFile): layout as layout
11390         (simpleLinuxDocOnePar): layout as layout
11391         (makeDocBookFile): layout as layout
11392         (simpleDocBookOnePar): layout as layout
11393         (getLists): layout as layout
11394
11395         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11396
11397         * CutAndPaste.C (cutSelection): layout as layout
11398         (pasteSelection): layout as layout
11399         (SwitchLayoutsBetweenClasses): layout as layout
11400
11401         * BufferView_pimpl.C (Dispatch): layout as layout
11402         (smartQuote): layout as layout
11403
11404         * BufferView2.C (unlockInset): layout as layout
11405
11406 2002-06-24  André Pönitz <poenitz@gmx.net>
11407
11408         * lyxfunc.C: fix #487
11409
11410 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * lyxrc.h:
11413         * lyxrc.C:
11414         * lyxfunc.C: remove display_shortcuts, show_banner
11415
11416 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * Buffer_pimpl.C: oops, update on resize
11419
11420 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * buffer.C:
11423         * converter.C:
11424         * exporter.C:
11425         * lyxfunc.C:
11426         * BufferView.h:
11427         * BufferView.C: use repaint()
11428
11429         * BufferView_pimpl.h:
11430         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11431           as it's a clearer description. Remove superfluous
11432           redraws.
11433
11434 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11435
11436         * text.C: fix bug 488. Not ideal, but getting
11437           getWord() to work properly for the insets that
11438           matter is more difficult ...
11439
11440 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * BufferView_pimpl.C:
11443         * LyXAction.C:
11444         * commandtags.h:
11445         * lyxfunc.C: remove the six million index lyxfuncs to just
11446           one, and DTRT (bug 458)
11447
11448 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * BufferView.h:
11451         * BufferView.C:
11452         * BufferView_pimpl.h:
11453         * BufferView_pimpl.C: clean up resize() stuff,
11454           and unnecessary updateScreen()s
11455
11456 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * BufferView.h:
11459         * BufferView.C:
11460         * BufferView_pimpl.h:
11461         * BufferView_pimpl.C:
11462         * lyxfind.h:
11463         * lyxfind.C:
11464         * minibuffer.C: remove focus management of workarea,
11465           not needed. Use screen's greyOut()
11466
11467 2002-06-17  Herbert Voss  <voss@lyx.org>
11468
11469         * converter.C: (convert) do not post a message, when converting
11470         fails, let the calling function decide what to do in this case
11471
11472 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * lyxfunc.C: tidy up a little
11475
11476 2002-06-16    <alstrup@diku.dk>
11477
11478         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11479         Got rid of FORMS_H_LOCATION include. Now we are
11480         GUII.
11481
11482 2002-06-15  LyX Development team  <lyx@rilke>
11483
11484         * buffer.[Ch] (sgmlOpenTag):
11485         (sgmlCloseTag): Added support for avoiding pernicious mixed
11486         content. Return number of lines written.
11487
11488         (makeLinuxDocFile):
11489         (makeDocBookFile): Fixed calls to sgml*Tag.
11490         Simple white space clean.
11491
11492         (simpleDocBookOnePar): Simple white space clean.
11493
11494         * tabular.[Ch] (docBook): Renamed to docbook and got another
11495         argument to related with the pernicious mixed content.
11496
11497         (docbookRow): Fixed calls for docbook inset method.
11498
11499 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11500
11501         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11502         so it's X11 independent.
11503
11504         * kb*.[Ch]: ditto.
11505
11506         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11507
11508 2002-06-15  Lyx Development team  <lyx@electronia>
11509
11510         * intl.h: Renamed getTrans to getTransManager.
11511
11512 2002-06-14  Angus Leeming  <leeming@lyx.org>
11513
11514         * Makefile.am: nuke forgotten stl_string_fwd.h.
11515
11516 2002-06-12  Angus Leeming  <leeming@lyx.org>
11517
11518         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11519
11520 2002-06-13  Angus Leeming  <leeming@lyx.org>
11521
11522         * LaTeX.C:
11523         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11524
11525 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11526
11527         * kbmap.C (getiso): add support for cyrillic and greek
11528
11529 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * BufferView.h:
11532         * BufferView.C:
11533         * BufferView_pimpl.h:
11534         * BufferView_pimpl.C: move bogus scrolling logic
11535           to xforms
11536
11537 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * lyxfunc.C:
11540         * BufferView_pimpl.C: view->resize() change
11541
11542 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * BufferView_pimpl.C: topCursorVisible
11545           prototype change
11546
11547 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * Makefile.am:
11550         * lyx_gui.h:
11551         * lyx_gui.C: move to frontends/
11552
11553         * main.C:
11554         * lyx_main.h:
11555         * lyx_main.C: changes from above
11556
11557 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * intl.C:
11560         * intl.h:
11561         * kbmap.C:
11562         * kbsequence.C:
11563         * lyx_cb.C:
11564         * lyx_main.C: minor tidy
11565
11566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * BufferView_pimpl.h:
11569         * BufferView_pimpl.C:
11570         * BufferView.h:
11571         * BufferView.C: make painter() const,
11572           remove dead code
11573
11574         * BufferView2.C: use screen() accessor
11575
11576         * lyx_main.h:
11577         * lyx_main.C: some minor cleanup
11578
11579 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * BufferView_pimpl.h:
11582         * BufferView_pimpl.C: remove enter/leaveView,
11583           use workHeight()
11584
11585 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11586
11587         * BufferView.h:
11588         * BufferView.C:
11589         * BufferView2.C:
11590         * BufferView_pimpl.h:
11591         * BufferView_pimpl.C: only construct screen once,
11592           rename
11593
11594         * lyxrc.C: remove pointless comment
11595
11596 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * BufferView.h:
11599         * BufferView.C: remove active() and belowMouse()
11600
11601         * BufferView_pimpl.h:
11602         * BufferView_pimpl.C: use workarea() not workarea_,
11603           and make it use a scoped_ptr instead
11604
11605 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * lyx_gui.C: add debug message on BadWindow
11608
11609 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * sp_spell.C: fdopen is not part of the C++ standard.
11612
11613         * paragraph.C (InsetIterator): use >= instead of ==
11614
11615 2002-06-07  Angus Leeming  <leeming@lyx.org>
11616
11617         Fixes needed to compile with Compaq cxx 6.5.
11618         * BufferView_pimpl.C:
11619         * DepTable.C:
11620         * buffer.C:
11621         * converter.C:
11622         * encoding.C:
11623         * lyx_gui.C:
11624         * lyx_main.C:
11625         * lyxtextclasslist.C:
11626         * minibuffer.C:
11627         * sp_spell.C:
11628         * tabular_funcs.C:
11629         * vc-backend.C:
11630         all c-library variables have been moved into namespace std. Wrap
11631         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11632
11633         * lyxlength.C:
11634         * tabular-old.C:
11635         * tabular.C:
11636         Add a using std::abs declaration.
11637
11638         * kbmap.h (modifier_pair):
11639         * paragraph.h (InsetTable, InsetList):
11640         * lyxfont.h (FontBits):
11641         type definition made public.
11642
11643         * bufferlist.C (emergencyWriteAll): the compiler complains that
11644         there is more than one possible lyx::class_fun template to choose from.
11645         I re-named the void specialisation as lyx::void_class_fun.
11646
11647         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11648
11649         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11650         the compiler is is unable to find tostr in write_attribute.
11651
11652 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11653
11654         * buffer.C (sgmlError): hide #warning
11655
11656 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11657
11658         * xtl/*: get rid of xtl, which is not in use anyway
11659
11660         * LyXAction.C (init):
11661         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11662         were unimplemented xtl experimentation
11663
11664 2002-06-04  André Pönitz <poenitz@gmx.net>
11665
11666         * lyxfunc.C: disable array operation on simple formulae
11667
11668 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11669
11670         * converter.C: constify a bit
11671
11672 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * lyx_gui.C: check xforms version correctly
11675
11676 2002-04-30  Herbert Voss  <voss@lyx.org>
11677
11678         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11679         "keep" option
11680
11681 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11684           attempt to register it with a VCS)
11685
11686 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11687
11688         * lyx_main.C (init): honor variables LYX_DIR_13x and
11689         LYX_USERDIR_13x
11690
11691 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * buffer.h:
11694         * buffer.C:
11695         * lyx_main.C: fix a crash on bad command line,
11696           and give a useful exit status on error
11697
11698         * lyxfunc.C (doImport): allow -i lyx to work
11699
11700 2002-03-30  André Pönitz <poenitz@gmx.net>
11701
11702         * lyxfunc.C: mathed font changes
11703
11704 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * LaTeX.C:
11707         * importer.h:
11708         * importer.C:
11709         * lyx_sty.h:
11710         * lyx_sty.C:
11711         * lyxlex.C:
11712         * lyxrow.h:
11713         * lyxtext.h:
11714         * paragraph.h:
11715         * paragraph.C:
11716         * texrow.h:
11717         * texrow.C:
11718         * text.C:
11719         * trans_mgr.h: srcdocs, and some minor cleanups
11720
11721 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11722
11723         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11724         call getFont all the time)
11725
11726 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * switch from SigC signals to boost::signals
11729
11730 2002-05-29  André Pönitz <poenitz@gmx.net>
11731
11732         * paragraph_pimpl.C (getChar): don't call size() too often...
11733
11734 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11735
11736         * paragraph_pimpl.C (insertChar): do not try to update tables when
11737         appending (pos == size())
11738
11739         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11740         in order to reduce drastically the number of comparisons needed to
11741         parse a large document
11742
11743 2002-05-29  André Pönitz <poenitz@gmx.net>
11744
11745         * text.C:
11746         * text2.C:
11747         * lyxtextclass.C:
11748         * sp_pspell.h:
11749         * textclasslist.[Ch]:
11750         * sp_ispell.h: whitespace change
11751
11752 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11753
11754         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11755         lyxaction directly now.
11756
11757 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * trans.C:
11760         * lyxfont.C:
11761         * lyxvc.C: remove unused headers
11762
11763 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * Makefile.am:
11766         * buffer.h:
11767         * undostack.h:
11768         * undostack.C:
11769         * undo_funcs.h:
11770         * undo_funcs.C: some cleanups. Use shared_ptr
11771           and a template for the undo stacks.
11772
11773 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11774
11775         * BufferView_pimpl.h:
11776         * BufferView_pimpl.C:
11777         * kbmap.h:
11778         * kbmap.C:
11779         * kbsequence.h:
11780         * kbsequence.C:
11781         * lyxfunc.h:
11782         * lyxfunc.C:
11783         * text2.C: use key_state/mouse_state
11784
11785 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11788         and LSubstring
11789
11790         * chset.C: change include order
11791         (loadFile): use boost regex and get rid of LRegex and LSubstring
11792
11793         * Makefile.am (BOOST_LIBS): new variable
11794         (lyx_LDADD): use it
11795
11796         * LaTeX.C: change include order.
11797         (scanAuxFile): use boost regex and get rid of LRegex and
11798         LSubstring
11799         (deplog): ditto
11800
11801 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * ColorHandler.h:
11804         * ColorHandler.C:
11805         * FontInfo.h:
11806         * FontInfo.C: moved to frontends/xforms/
11807
11808         * FontLoader.h:
11809         * FontLoader.C: moved into frontends for GUIIzation
11810
11811         * Makefile.am:
11812         * lyx_gui.C:
11813         * lyxfont.C:
11814         * lyxfunc.C: changes from above
11815
11816 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * LColor.C: remove spurious X include
11819
11820         * BufferView_pimpl.C:
11821         * Makefile.am:
11822         * font.h:
11823         * font.C:
11824         * text.C:
11825         * text2.C: move font metrics to frontends/
11826
11827 2002-05-24  Juergen Vigna  <jug@sad.it>
11828
11829         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11830         setting the undo_cursor.
11831
11832         * ParagraphParameters.h: include local includes first.
11833
11834 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * BufferView_pimpl.C:
11837         * BufferView_pimpl.h:
11838         * Makefile.am:
11839         * WorkArea.h:
11840         * WorkArea.C:
11841         * screen.C: move WorkArea into frontends/
11842
11843         * lyxscreen.h:
11844         * screen.C:
11845         * text.C:
11846         * BufferView.C:
11847         * BufferView2.C: move LyXScreen into frontends/
11848
11849         * lyxlookup.h:
11850         * lyxlookup.C:
11851         * lyx_gui.C: move lyxlookup into frontends/xforms/
11852
11853 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * BufferView2.C:
11856         * BufferView_pimpl.C:
11857         * FontLoader.C:
11858         * LyXView.h:
11859         * LyXView.C:
11860         * Makefile.am:
11861         * WorkArea.C:
11862         * XFormsView.h:
11863         * XFormsView.C:
11864         * buffer.C:
11865         * bufferlist.C:
11866         * bufferview_funcs.C:
11867         * converter.C:
11868         * importer.C:
11869         * lyx_cb.C:
11870         * lyx_gui.C:
11871         * lyx_main.C:
11872         * lyx_find.C:
11873         * lyxfunc.C:
11874         * lyxvc.C:
11875         * minibuffer.C:
11876         * text.C:
11877         * text2.C:
11878         * trans.C:
11879         * vc-backend.C: move LyX/XFormsView into frontends/
11880
11881 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * Makefile.am:
11884         * PainterBase.C:
11885         * PainterBase.h:
11886         * Painter.C:
11887         * Painter.h:
11888         * WorkArea.C:
11889         * WorkArea.h:
11890         * screen.C:
11891         * tabular.C:
11892         * text.C:
11893         * text2.C: move Painter to frontends/
11894
11895 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * buffer.C: comment out some some code that depend upon lyx_format
11898         < 220
11899
11900         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11901         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11902
11903         * buffer.h (NO_COMPABILITY): turn off compability
11904
11905         * ColorHandler.C: include scoped_array.hpp
11906
11907         * font.C: Use more specific smart_ptr header.
11908         * Painter.C: ditto
11909         * gettext.C: ditto
11910         * ShareContainer.h: ditto
11911         * lyx_main.h: ditto
11912         * kbmap.h: ditto
11913         * FontInfo.h: ditto
11914         * BufferView_pimpl.h: ditto
11915         * ColorHandler.h: ditto
11916
11917         * kbmap.C (defkey): change call to shared_ptr::reset
11918
11919 2002-05-21  Juergen Vigna  <jug@sad.it>
11920
11921         * buffer.C (insertErtContents): fix to insert ert asis if it is
11922         non empty. Skip it completely if it contains only whitespaces.
11923
11924 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * BufferView_pimpl.C:
11927         * BufferView2.C: clear selection on paste (bug 393)
11928
11929 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * DepTable.C: include ctime
11932
11933 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11936
11937 2002-05-14  Juergen Vigna  <jug@sad.it>
11938
11939         * text.C (breakParagraph): fixed function to honor the keepempty
11940         layout in the right maner and also to permit the right breaking
11941         algorithm on empty or non empyt keepempty paragraphs.
11942
11943         * paragraph.C (breakParagraph): we have to check also if the par
11944         is really empty (!size()) for isempty otherwise we do the wrong
11945         paragraph break.
11946
11947 2002-05-10  Juergen Vigna  <jug@sad.it>
11948
11949         * buffer.[Ch] : The following are only changes to the ert
11950         compatibility read reading old LaTeX layout and font stuff and
11951         convert it to ERTInsets.
11952
11953         * buffer.h: added isErtInset().
11954
11955         * buffer.C (struct ErtComp): add a fromlayout bool to check
11956         if we're inside a LaTeX layout.
11957         (isErtInset): new helper function.
11958         (insertErtContents): look for other ert insets before this one
11959         and insert the contents there, so that we don't have subsequent
11960         ERT insets with nothing between them. This way we create only one
11961         inset with multiple paragraphs. Also check if we don't insert only
11962         spaces ' ' as they are ignored anyway afterwards in the .tex file
11963         so if we have only spaces we will ignore this latex part in the
11964         new file.
11965         (parseSingleLyXformat2Token \\layout): better compatibility when
11966         reading layout-latex stuff.
11967         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11968         language tag.
11969         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11970         stuff after reading the inset only get the information back from
11971         the stack.
11972
11973 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11974
11975         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11976
11977         * LaTeXFeatures.C (getBabelOptions): New method.
11978
11979 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * BufferView_pimpl.C (Dispatch): work around missing argument for
11982         'layout'
11983
11984 2002-05-08  Juergen Vigna  <jug@sad.it>
11985
11986         * text.C (leftMargin): handle paragraph leftindent.
11987
11988         * paragraph.C (writeFile): write the new \\leftindent tag.
11989         (validate): handle leftindent code.
11990         (TeXEnvironment): handle paragraphleftindent code again.
11991
11992         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11993
11994         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11995         for paragrap_extra indent code and new token \\leftindent.
11996         (latexParagraphs): handle the leftindent as environment.
11997
11998         * ParameterStruct.h: added leftindent support.
11999
12000         * ParagraphParameters.C (leftIndent): added support functions for
12001         the paragraph left indent.
12002
12003         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12004         more appropriate.
12005
12006 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12007
12008         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12009         inside insetERT.
12010
12011         * text.C (computeBidiTables): No bidi in insetERT.
12012
12013         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12014         in RTL documents.
12015
12016 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * version.C.in: pre 5
12019
12020 2002-05-02  José Matos  <jamatos@fep.up.pt>
12021         * buffer.C (makeDocBookFile): white space changes, add newline to
12022         command styles.
12023         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12024
12025         * tabular.C (docBook): fix typo.
12026
12027 2002-05-03  Juergen Vigna  <jug@sad.it>
12028
12029         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12030         change in LyXText as we can not be sure it was not freed.
12031         (drawOneRow): remove unused code.
12032
12033         * text.C (drawInset): redo the calculation of the need_break_row as
12034         it could have a row which was already freed.
12035         (draw): look at the return value of drawInset and return false if
12036         it also returned false.
12037         (paintRowText): look at the return value of draw and return false if
12038         it also returned false.
12039
12040         * lyxtext.h: added bool return type to drawInset() and draw() so that
12041         if we have a change in the row so that the rowbreak has to be redone
12042         we abort drawing as it will be called again.
12043
12044 2002-05-02  Juergen Vigna  <jug@sad.it>
12045
12046         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12047         a change in the maintext also if we're inside an inset.
12048         (Dispatch): set the cursor again after a break line and after the
12049         screen has been updated as it could be we're in a different row.
12050
12051         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12052         to set the cursor behind the pargraph with > size().
12053         (setCursor): check also for the same paragraph when checking where
12054         to put the cursor if we have a NFR inset.
12055
12056         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12057         parts of layout read further up as it still was in the wrong
12058         position.
12059
12060 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12061
12062         * screen.C (drawFromTo): change sine fullRebreak always return
12063         true.
12064
12065         * buffer.C (parseSingleLyXformat2Token): reindent some
12066
12067         * BufferView_pimpl.C (update): change since fullRebreak always
12068         return true.
12069         (Dispatch): git rid of the last hardcoded "Standard"s.
12070
12071 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12072
12073         * text2.[Ch] (fullRebreak): make it return void now that we always
12074         returned true.
12075
12076 2002-04-30  Juergen Vigna  <jug@sad.it>
12077
12078         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12079         ert compatibility check for "latex" layout.
12080
12081 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12082
12083         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12084         minipages: use col% instead of p%, and also use the current font.
12085         (makeLaTeXFile): Fix use babel condition.
12086         (parseSingleLyXformat2Token): Correct font when reading old floats.
12087
12088 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12089
12090         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12091         inserting list of floats.
12092
12093 2002-04-25  Herbert Voss  <voss@lyx.org>
12094
12095         * MenuBackend.C (expand): don't add the graphics extensions to the
12096         export menu
12097
12098 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12101         non-existing layout, do not complain if it was the default layout
12102         of the original class (bug #342)
12103
12104 2002-04-24  Juergen Vigna  <jug@sad.it>
12105
12106         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12107         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12108
12109 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12110
12111         * buffer.C (getBibkeyList): If using \bibliography, return the
12112         option field with the reference itself. Enables us to provide natbib
12113         support when using \bibliography.
12114
12115 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12116
12117         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12118
12119         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12120         natbib is provided by the LaTeX class.
12121
12122 2002-04-23  Juergen Vigna  <jug@sad.it>
12123
12124         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12125         Wakeup functions.
12126
12127         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12128
12129 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12130
12131         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12132
12133         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12134         ensuremath around textordmasculine, textordfeminine and
12135         textdegree.
12136
12137 2002-04-19  Juergen Vigna  <jug@sad.it>
12138
12139         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12140         reinitializing the buffer otherwise row-dimensions may be wrong.
12141         (update): reset also the selection cursors if they do exits otherwise
12142         their x/y positions may be wrong.
12143
12144         * text2.C (cursorDown): don't enter the inset if we came from a row
12145         above and are one row over the inset.
12146
12147         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12148         really leaving an inset.
12149
12150 2002-04-18  Juergen Vigna  <jug@sad.it>
12151
12152         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12153         of the selected paragraph does not have the selected layout also if
12154         the last one had!
12155
12156         * text2.C (setLayout): fixed bug which did not change last selected
12157         paragraph.
12158
12159         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12160         changed the read and substituted \\end_float with \\end_inset!
12161
12162         * BufferView_pimpl.C (cursorPrevious):
12163         (cursorNext): fixed to make it work with rows heigher than the work
12164         area without moving the cursor only the draw of the row.
12165         (workAreaMotionNotify): fix jumping over high rows.
12166
12167 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12170         Ressler.
12171
12172 2002-04-16  Juergen Vigna  <jug@sad.it>
12173
12174         * text2.C (setCursor): set also the irow().
12175         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12176         (cursorUp):
12177         (cursorDown): support for locking an inset if the x_fix value goes
12178         inside it. That way I can transverse insets too with cursor up/down.
12179
12180         * lyxrow.h: added irow helper function same as other (i) functions.
12181
12182         * BufferView_pimpl.C (cursorPrevious):
12183         (cursorNext): fixed for insets!
12184
12185 2002-04-15  Juergen Vigna  <jug@sad.it>
12186
12187         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12188         position otherwise it is wrong in some cases.
12189
12190         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12191         inside the inset before the call.
12192
12193 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * buffer.[Ch] (getBibkeyList): make it const.
12196
12197 2002-04-12  Juergen Vigna  <jug@sad.it>
12198
12199         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12200
12201         * text2.C (getCursorX): new helper function
12202         (setCursor): compute also ix_
12203         (setCursorFromCoordinates): set also ix.
12204
12205         * lyxcursor.h: added ix_ and helper functions.
12206
12207         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12208
12209         * buffer.C (insertStringAsLines): dont break paragraph if the this
12210         paragraph is inside an inset which does not permit it!
12211
12212         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12213         also with no chars on this paragraph.
12214         (paintRowText): only paint stuff if it's inside the workarea!
12215
12216         * paragraph.C (breakParagraph): honor keepempty flag and break the
12217         paragraph always below not above.
12218
12219         * BufferView2.C (unlockInset): update the paragraph layout on inset
12220         unlock as we changed paragraph in such a case.
12221
12222         * lyxfind.C (LyXFind): clear the former selection if not found!
12223
12224         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12225         again called in insertChar().
12226
12227         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12228         an inset which uses the whole row!
12229         (rightMargin): ditto.
12230         (insertChar): force a rebreak if we inserted an inset!
12231
12232 2002-03-28  Herbert Voss  <voss@lyx.org>
12233
12234         * lyxlength.[Ch]: add inBP() to get the right PS-point
12235         units (BigPoint). With inPixels we have rounding errors
12236
12237 2002-04-11  Juergen Vigna  <jug@sad.it>
12238
12239         * text2.C (setCursorFromCoordinates): set iy to the right value.
12240         (setCursor): add check if row->previous exists!
12241
12242         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12243         an old float_type as this was the case in the old code!
12244
12245         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12246
12247         * BufferView2.C (showLockedInsetCursor): use iy
12248         (fitLockedInsetCursor): ditto
12249
12250         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12251         locked insets as there we have the right value now.
12252
12253         * lyxcursor.C: added iy_ variable and iy functions to set to the
12254         baseline of cursor-y of the locked inset.
12255
12256         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12257         (setCursor): fixed for insets which need a full row.
12258
12259         * text.C (rowLastPrintable): don't ignore the last space when before
12260         an inset which needs a full row.
12261         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12262         as last character of a row when before a inset which needs a full row.
12263
12264 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12265
12266         * version.C.in: update date
12267
12268         * text2.C (fullRebreak): try to always return true and see what
12269         happens...
12270
12271 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12272
12273         * MenuBackend.C (expand): use Floating::listName
12274
12275         * FloatList.C (FloatList): add listName argument to the built-in
12276         floats
12277
12278         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12279         text associated with the float.
12280
12281 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12282
12283         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12284
12285 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * ShareContainer.h: add a couple of missing typenames.
12288
12289 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12290
12291         * lyxrc.C (getDescription): use _() correctly rather than N_().
12292
12293 2002-03-28  Herbert Voss  <voss@lyx.org>
12294
12295         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12296         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12297
12298 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12299
12300         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12301         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12302
12303 2002-03-29  Juergen Vigna  <jug@sad.it>
12304
12305         * lyxfunc.C (dispatch): add a missing fitCursor call.
12306
12307         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12308         it was scrolled by a cursor move, so return the bool status.
12309
12310         * BufferView.C (fitCursor): return the bool flag also to the outside
12311         world as this is needed.
12312
12313         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12314
12315         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12316         call the edit() as it is not needed (and wrong) IMO.
12317         (workAreaButtonPress): set the screen_first variable before evt.
12318         unlock the inset as this may change screen_first and then we have
12319         a wrong y position for the click!
12320
12321 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12322
12323         * MenuBackend.C (expand): another translation that I missed
12324
12325 2002-03-28  Juergen Vigna  <jug@sad.it>
12326
12327         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12328
12329         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12330
12331 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12332
12333         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12334
12335         * MenuBackend.C (expand): fix export/view/update when there is no
12336         document open.
12337
12338 2002-03-27  Herbert Voss  <voss@lyx.org>
12339
12340         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12341         and text%
12342
12343 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12344
12345         * bufferview_funcs.C (currentState): only show paragraph number
12346         for is DEVEL_VERSION is set.
12347
12348         * lyxfunc.C (dispatch): put warning in INFO channel
12349
12350         * MenuBackend.C (expand): translate the name of floats
12351
12352         * FloatList.C (FloatList): mark the float names for translation
12353
12354         * converter.C (convert): use LibScriptSearch
12355
12356 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12357
12358         * MenuBackend.C (defaults): fix default menu (we might as well get
12359         rid of it...)
12360
12361 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12362
12363         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12364         directory.
12365
12366 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12367
12368         * lyxvc.C: reorder includes.
12369
12370 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12373           properly
12374
12375 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12376
12377         * CutAndPaste.C: change layouts earlier on paste
12378           to avoid crashing when calling getFont()
12379
12380 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12381
12382         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12383         irritating #error.
12384
12385 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * WorkArea.C: remove 'Pending' debug message.
12388
12389         * most files: ws cleanup
12390
12391         * buffer.[Ch]: ws changes
12392
12393         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12394
12395 2002-03-21  Juergen Vigna  <jug@sad.it>
12396
12397         * tabular.C (SetMultiColumn): collapse also the contents of the
12398         cells and set the last border right. Added a Buffer const * param.
12399
12400 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12403         linking or not.
12404
12405 2002-03-19  Juergen Vigna  <jug@sad.it>
12406
12407         * text2.C (clearSelection): reset also xsel_cache.
12408
12409         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12410         where it needs to be called (John tells us to do so too :)
12411         (selectionLost): reset sel_cache.
12412
12413         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12414
12415 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12416
12417         * text2.C (setCursorIntern): put debuging code in INSETS channel
12418
12419 2002-03-19  André Pönitz <poenitz@gmx.net>
12420
12421         * lyxfunc.C: tiny whitespace change
12422
12423 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12424
12425         * ToolbarDefaults.C (init):
12426         * LyXAction.C (init):
12427         * commandtags.h:
12428         * BufferView_pimpl.C (Dispatch):
12429         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12430
12431 2002-03-19  Allan Rae  <rae@lyx.org>
12432
12433         * exporter.C (Export): removeAutoInsets before doing anything else.
12434         While I've just introduced a dependency on BufferView this really is
12435         the best place to clean the buffer otherwise you need to cleanup in
12436         a dozen places before calling export or cleanup in a dozen functions
12437         that export calls.
12438
12439         * converter.C (runLaTeX):
12440         (scanLog): Better handling of removeAutoInsets and screen updates.
12441
12442         * lyxfunc.C (dispatch): small whitespace changes
12443
12444 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * WorkArea.C (C_WorkAreaEvent): return a value.
12447         (event_cb): return 1 if we handled the event, 0 otherwise.
12448
12449         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12450
12451 2002-03-18  Juergen Vigna  <jug@sad.it>
12452
12453         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12454         (GetAdditionalWidth): ditto.
12455         (RightLine): ditto.
12456         (LeftLine): ditto.
12457
12458         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12459         inset if we're there actually (probably not used right now but this
12460         is the direction to go for unifying code).
12461         (paste): disable code to clear the selection.
12462
12463         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12464         inside an InsetText and move the check further up as it is in the
12465         wrong place.
12466
12467         * text2.C (pasteSelection): set a selection over the pasted text.
12468
12469 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12470
12471         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12472         and libgraphics to build on Cygwin.
12473
12474 2002-03-15  Juergen Vigna  <jug@sad.it>
12475
12476         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12477         inserting an Inset into the paragraph. I know this is not the best
12478         fix but we already use current_view in CutAndPaste so we will remove
12479         all of it's using at the same time.
12480
12481         * buffer.C (sgmlError): deactivated function till it is rewritten in
12482         the right mode, now it can create problems.
12483
12484         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12485         before accessing it.
12486
12487 2002-03-14  Juergen Vigna  <jug@sad.it>
12488
12489         * undo_funcs.C (textHandleUndo): do the right thing when updating
12490         the inset after the undo/redo.
12491
12492         * text2.C (setCursor): just some testcode for #44 not ready yet.
12493
12494         * undo_funcs.C (textHandleUndo): set the next() and previous()
12495         pointers of the paragraph to 0 before deleting otherwise we have
12496         problems with the Paragraph::[destructor].
12497
12498         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12499         on a paragraph insertion.
12500
12501 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12502
12503         * buffer.C (asciiParagraph): use += operator for char append to
12504         string.
12505
12506         * paragraph.C (getFontSettings): compare >= not just >
12507         (highestFontInRange): ditto
12508         (setFont): ditto
12509
12510 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * paragraph.C: change several algorithm to be more appripriate for
12513         the problem domain. This is lookip in FontList and in the InsetList.
12514
12515 2002-03-13  André Pönitz <poenitz@gmx.net>
12516
12517         * commandtags.h:
12518         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12519
12520 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * commandtags.h:
12523         * LyXAction.C:
12524         * lyxfunc.C:
12525         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12526
12527 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12528
12529         * Painter.C (display): anon helper function, adjust code for this
12530         change.
12531         (pixmap): remove function.
12532
12533         * Painter.h: remove private display variable.
12534
12535         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12536
12537 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12538
12539         * WorkArea.[Ch]: remove figinset_canvas cruft.
12540
12541 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12542
12543         * lyxtextclass.C (operator): add one item cache optimization.
12544
12545         * bufferlist.h: doxy changes
12546
12547         * bufferlist.C: ws changes
12548
12549         * DepTable.[Ch] (ext_exist): place const in the right spot.
12550
12551         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12552         call resizeInsets.
12553         (workAreaExpose): call resizeInsets when the with BufferView changes.
12554         (Dispatch): adjust for protectedBlank removal
12555         (specialChar): call updateInset if the insert went ok.
12556
12557         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12558         specialChar instead.
12559
12560         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12561
12562         * BufferView.h: doxy change
12563
12564         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12565
12566         * lyxtextclass.C (operator[]): remove non-const version
12567         (defaultLayout): remove non-const version
12568
12569 2002-03-12  Juergen Vigna  <jug@sad.it>
12570
12571         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12572         did resize the LyXText too.
12573
12574         * buffer.C (readLyXformat2): set layout information on newly allocated
12575         paragraphs.
12576
12577         * tabular.C (OldFormatRead): set layout information on the paragraph.
12578
12579 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12580
12581         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12582
12583 2002-03-11  Juergen Vigna  <jug@sad.it>
12584
12585         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12586         plainly wrong.
12587         (resizeCurrentBuffer): force also the insets to resize themselfes.
12588         (moveCursorUpdate): fixed up for InsetText.
12589
12590 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12591
12592         * commandtags.h:
12593         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12594         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12595         value of Dialogs::tooltipsEnabled().
12596         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12597
12598 2002-03-08  Juergen Vigna  <jug@sad.it>
12599
12600         * BufferView_pimpl.C (updateInset): update inset inside inset also
12601         if it isn't inside theLockingInset().
12602
12603 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * buffer.C (asciiParagraph): redo some of the word and line length
12606         handling.
12607         (getLists): look for Caption instead of caption.
12608
12609 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * buffer.C (Buffer): initialize niceFile to true
12612         (makeLaTeXFile):
12613         (makeLinuxDocFile):
12614         (makeDocBookFile): make sure niceFile is true on exit
12615
12616 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12617
12618         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12619
12620 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12621
12622         * LyXSendto.C: remove.
12623         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12624         * lyx_gui.C: remove now-redundant comment.
12625         * ColorHandler.h: remove forward declaration of class WorkArea.
12626         * lyxfunc.C: remove #include "WorkArea.h".
12627
12628 2002-03-07  Juergen Vigna  <jug@sad.it>
12629
12630         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12631         got moved away with the DEPM and also set the inset_owner always
12632         right which before could have been omitted.
12633
12634 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12637         wanted layout is not found.
12638
12639 2002-03-07  Juergen Vigna  <jug@sad.it>
12640
12641         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12642
12643 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * paragraph.C (breakParagraph): use default layout not layout of
12646         prev paragraph.
12647         (Paragraph): clear ParagraphParameters.
12648
12649 2002-03-06  Juergen Vigna  <jug@sad.it>
12650
12651         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12652         otherwise it would not be a valid lenght. Fixed a special case in
12653         the minipage compatibility read where we end the document with a
12654         minipage.
12655
12656         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12657         was set as it could be 0 for InsetTexts first entry.
12658
12659 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * paragraph.C (writeFile): if layout is empty write out
12662         defaultLayoutName().
12663
12664         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12665         file without named layout we set layout to defaultLayoutName().
12666
12667 2002-03-06  Juergen Vigna  <jug@sad.it>
12668
12669         * CutAndPaste.C (copySelection): set layout for new paragraph.
12670
12671         * text.C (prepareToPrint): leave ERT inset left aligned
12672         (leftMargin): don't indent paragraphs inside ERT insets
12673
12674 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * paragraph.C (breakParagraph): dont call clear do the work manually
12677
12678         * paragraph.[Ch] (clear): remove function
12679
12680 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12681
12682         * paragraph.C (Paragraph): dont call clear, the work has already
12683         been done.
12684
12685         * lyxtextclass.C (operator): assert if n is empty
12686
12687         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12688         work manually instead.
12689
12690 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * BufferView_pimpl.C: protect selectionLost against text == 0
12693
12694 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12695
12696         * text.C (breakParagraph): fix a setting layout to '0' problem.
12697
12698 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12699
12700         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12701         final location of file, for the included files, and graphics.
12702
12703 2002-03-05  Juergen Vigna  <jug@sad.it>
12704
12705         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12706
12707 2002-03-04  Juergen Vigna  <jug@sad.it>
12708
12709         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12710
12711         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12712         last column of multicolumn cells.
12713         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12714
12715 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12716
12717         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12718         file if it doesn't go to a temporary file.
12719
12720         * buffer.C (sgmlOpenTag):
12721         (sgmlCloseTag):  remove extra newline insertion.
12722
12723 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * text.C (getRowNearY): comment out debug msg
12726
12727 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * text2.C: first -> first_y
12730
12731         * text.C (getRowNearY): add some attemts at a possible
12732         optimization, not working.
12733
12734         * tabular.[Ch]: add BufferParams to several function so that newly
12735         created paragraph can be initialized to he default layotu for the
12736         buffers textclass.
12737
12738         * tabular-old.C (ReadOld): add buf->params to call of Init
12739
12740         * screen.C: rename text->first to text->first_y
12741
12742         * paragraph.C (breakParagraph): always set layout in the broken
12743         paragraph
12744
12745         * lyxtextclass.C (Read): remove lowercase
12746         (hasLayout): ditto
12747         (operator): ditto
12748         (delete_layout): ditto
12749
12750         * lyxtext.h: rename first -> first_y
12751
12752         * lyxlayout.C (Read): remove lowercase
12753         (name): ditto
12754         (setName): ditto
12755         (obsoleted_by): ditto
12756
12757         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12758
12759         * buffer.C (insertErtContents): add params are to InsetERT
12760         (parseSingleLyXformat2Token): add code to check if a paragraphs
12761         layout really exist.
12762         (parseSingleLyXformat2Token): add params to several inset
12763         constructors
12764         (asciiParagraph): remove lowercase, do the layout comparisons with
12765         no_case
12766
12767         * BufferView_pimpl.C (cursorNext): first -> first_y
12768         (resizeCurrentBuffer): first -> first_y
12769         (updateScrollbar): first -> first_y
12770         (scrollCB): first -> first_y
12771         (workAreaMotionNotify): first -> first_y
12772         (workAreaButtonPress): first -> first_y
12773         (checkInsetHit): first -> first_y
12774         (cursorPrevious): first -> first_y
12775         (cursorNext): first -> first_y
12776         (Dispatch): add buffer_->params to severl inset contructors
12777
12778 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * lyxlayout.C (Read): remove some debug info that I forgot.
12781
12782         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12783         clean up the code slightly.
12784         (makeLinuxDocFile): ditto
12785         (makeDocBookFile): ditto
12786
12787         * text2.C: layout as string
12788
12789         * text.C: layout as string
12790
12791         * paragraph_pimpl.C: layout as string
12792
12793         * paragraph.[Ch]: layout as string
12794
12795         * lyxtextclasslist.[Ch]: layout as string
12796
12797         * lyxtextclass.[Ch]: layout as string
12798
12799         * lyxtext.h: layout as string
12800
12801         * lyxlayout.[Ch]: layout as string
12802
12803         * lyx_cb.C: layout as string
12804
12805         * bufferview_funcs.C: layout as string
12806
12807         * bufferparams.C: layout as string
12808
12809         * buffer.C: layout as string
12810
12811         * LyXView.[Ch]: layout as string
12812
12813         * LaTeXFeatures.[Ch]: layout as string
12814
12815         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12816
12817         * BufferView_pimpl.C: change current_layout to string, remove
12818         lyx::layout_type.
12819         (Dispatch):
12820         (smartQuote):
12821         (insertInset):
12822         (workAreaButtonRelease): layout as string
12823
12824         * BufferView2.C (unlockInset): adjust
12825
12826         * vspace.C (asLatexCommand): use an explict temp variable.
12827
12828 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * Makefile.am: use FRONTEND_*
12831
12832 2002-03-01  Juergen Vigna  <jug@sad.it>
12833
12834         * tabular.C (SetWidthOfMulticolCell): changed to something better
12835         I hope but still work in progress.
12836         (recalculateMulticolumnsOfColumn): renamed function from
12837         recalculateMulticolCells as it is more appropriate now.
12838         (SetWidthOfCell): calculate multicols better.
12839
12840 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12841
12842         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12843
12844         * lyxfunc.C (processKeySym): print sequence also if it is
12845         `deleted' (complete)
12846
12847         * kbsequence.C (print): print sequence even if it is deleted
12848         (complete would be a better word, actually).
12849
12850         * lyxfunc.C (dispatch): print complete options after a prefix key
12851
12852         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12853
12854 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12855
12856         * text2.C (setCharFont): eliminate setCharFont code duplication.
12857
12858 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12859
12860         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12861         LFUN_TABULAR_FEATURE (bug #177)
12862
12863 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12864
12865         * Makefile.am: remove figure.h
12866
12867 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12868
12869         * Bufferview_pimpl.C:
12870         * CutAndPasteC:
12871         * LaTeX.C:
12872         * LyXSendto.C:
12873         * buffer.C:
12874         * bufferlist.C:
12875         * converter.C:
12876         * language.C:
12877         * lyxfunc.C:
12878         * lyxvc.C:
12879         * paragraph.C:
12880         * text.C:
12881         * text2.C: remove #include "lyx_gui_misc.h".
12882
12883         * LaTeX.C: added #include <cstdio>
12884
12885 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12886
12887         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12888         that the paragraph following this one can have.
12889
12890         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12891
12892         * vspace.C (asLatexCommand): fix bogus gcc warning
12893
12894         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12895
12896 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12897
12898         * text2.C (setLayout): get rid of redundant code
12899
12900 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12901
12902         * text2.C (incDepth): make sure depth cannot be increased beyond
12903         reasonable values.
12904
12905 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12906
12907         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12908         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12909
12910         * PainterBase.h (image):
12911         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12912         a LyXImage const *.
12913
12914 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * BufferView.C:
12917         * BufferView.h:
12918         * BufferView_pimpl.C:
12919         * BufferView_pimpl.h:
12920         * LaTeXFeatures.C:
12921         * LyXAction.C:
12922         * LyXView.C:
12923         * Makefile.am:
12924         * UpdateList.h:
12925         * UpdateList.C:
12926         * buffer.C:
12927         * figure.h:
12928         * figureForm.C:
12929         * figureForm.h:
12930         * figure_form.C:
12931         * figure_form.h:
12932         * lyx_cb.C:
12933         * lyx_gui.C:
12934         * lyx_gui_misc.C:
12935         * lyxfunc.C:
12936         * sp_base.h:
12937         * sp_ispell.h:
12938         * sp_pspell.h:
12939         * sp_spell.C: remove fig inset, and the crap house of
12940           cards that follows it
12941
12942 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * Makefile.am:
12945         * lyxserver.C:
12946         * os2_defines.h:
12947         * os2_errortable.h:
12948         * nt_defines.h: move .h into support/
12949
12950         * vms_defines.h: remove
12951
12952         * WorkArea.C: add space in debug output
12953
12954         * text2.C:
12955         * paragraph.C:
12956         * buffer.C: add WITH_WARNINGS
12957
12958         * vc-backend.h:
12959         * vc-backend.C:
12960         * bufferlist.C: s/retrive/retrieve/, add docs
12961
12962         * vspace.h:
12963         * vspace.C:
12964         * kbmap.h:
12965         * lyxlength.h:
12966         * lyxgluelength.h:
12967         * length_common.h:
12968         * chset.h:
12969         * chset.C: add docs
12970
12971         * lyxgui.C: add ID to X error handler
12972
12973         * lyxtestclass.c: fix typo
12974
12975 2002-02-26  Juergen Vigna  <jug@sad.it>
12976
12977         * tabular_funcs.C (write_attribute): changed so that some default
12978         attributes are not written at all.
12979         (getTokenValue): set default values before trying to read the
12980         value so we have the return value always set as default if we don't
12981         find the token we search for.
12982
12983         * tabular.C (Write): write bools as bools not as strings!
12984
12985 2002-02-22  Juergen Vigna  <jug@sad.it>
12986
12987         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12988         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12989
12990         * text.C (leftMargin): don't add an indent for paragraphs inside
12991         tabular cells (fix #208).
12992
12993 2002-02-21  José Matos  <jamatos@fep.up.pt>
12994
12995         * tabular.C (docBook): fixed support for long tables.
12996
12997 2002-02-20  Juergen Vigna  <jug@sad.it>
12998
12999         * text2.C (getFont): get the drawing font of the Inset if this
13000         paragraph is inside an inset (only important for InsetERT for now).
13001
13002         * buffer.C (insertErtContents): use new lanugage params in ERT
13003         constructor.
13004
13005         * CutAndPaste.C: commenting out seemingly uneeded code.
13006
13007 2002-02-19  Allan Rae  <rae@lyx.org>
13008
13009         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13010         Iterators might be simple to use but they also get invalidated.
13011         (removeAutoInsets): renamed saved cursor tracking variables and added
13012         some comments to clarify what everything does.
13013
13014 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13015
13016         * Chktex.C:
13017         * LaTeX.C:
13018         * LyXSendto.C:
13019         * converter.C:
13020         * lyx_cb.C:
13021         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13022         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13023
13024         * lyxfunc.C:
13025         * vc-backend.h: remove #include "support/syscall.h"
13026
13027         * LaTeX.C:
13028         * LyXSendto.C:
13029         * converter.C: rearrange #includes in Lars' approved fashion.
13030
13031         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13032         forward declare class Timeout in the header file.
13033
13034         * XFormsView.C: changes due to the above.
13035
13036         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13037         similar to LyXView.
13038
13039         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13040         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13041
13042 2002-02-18  José Matos  <jamatos@fep.up.pt>
13043
13044         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13045         insets contents.
13046
13047 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13048
13049         * a lot of small ws changes
13050         * add a lot of using std::XXX
13051         * use std construcs some places where approp.
13052         * use some exisint stuff from lyxfunctional where approp.
13053         * Make file changes to use partial linking (lets test this now...)
13054
13055 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13056
13057         * Chktex.C:
13058         * buffer.C:
13059         remove #include "support/syscontr.h" as it's redundant. Always has been.
13060
13061         * Chktex.C:
13062         * LaTeX.C:
13063         * LyXSendto.C:
13064         * converter.C:
13065         * lyx_cb.C:
13066         * vc-backend.C:
13067         change Systemcalls::System to Systemcalls::Wait and
13068         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13069         No change of functionality, just reflects the stripped down Systemcalls
13070         class.
13071
13072 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * debug.[Ch]: add a GRAPHICS type to the enum.
13075
13076 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13077
13078         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13079
13080         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13081         there is an inset.
13082
13083 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13086         match the changes below.
13087
13088         * text2.C (toggleInset): if there is not editable inset at cursor
13089         position, try to see if cursor is _inside_ a collapsable inset
13090         and close it.
13091
13092 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13093
13094         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13095         document menu has a nice checkbox
13096
13097 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13098
13099         * lyxlength.C (asLatexString): change PW to output as percent of
13100         \textwidth.
13101
13102         * lengthcommon.C: change '%' to 't%'
13103
13104         * lyxfunc.C (dispatch): a few comments from Martin
13105
13106 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13107
13108         * WorkArea.h:
13109         * WorkArea.C:
13110         * BufferView_pimpl.h:
13111         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13112           the X selection.
13113
13114 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13115
13116         * vspace.C (inPixels): fix compiler warning
13117
13118 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13119
13120         * lyxfunc.C (getStatus): fix status message for disabled commands.
13121
13122 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13123
13124         * BufferView_pimpl.C: fix crash on close buffer
13125         during selection (#227)
13126
13127 2002-01-27  Herbert Voss  <voss@lyx.org>
13128
13129         * buffer.C: link old Figure to new graphic inset
13130
13131 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13132
13133         * FontLoader.C (getFontinfo): Change the latex font names in order
13134         to match the names of type1inst.
13135
13136 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13139
13140         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13141         (extchanged): ditto
13142         (ext_exist): ditto
13143         (remove_files_with_extension): ditto
13144         (remove_file): ditto
13145         (write): ditto
13146
13147         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13148         document is smaller than the work area height. Do not initialize
13149         static variables to 0.
13150
13151 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13152
13153         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13154
13155         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13156         LFUN_LAYOUT_PARAGRAPHS.
13157
13158         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13159         tabular. It is possible to provide a possible cell, which will
13160         typically be the actcell from the corresponding insettabular
13161
13162         * lyxfunc.C (getStatus): small cleanup; disable
13163         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13164         true
13165
13166 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13167
13168         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13169
13170         * paragraph.C (startTeXParParams):
13171         (endTeXParParams): new methods. The LaTeX code to
13172         start/end paragraph formatting
13173         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13174         empty (fixes bug #200)
13175
13176         * vspace.C (inPixels): adapt to the change below
13177         (inPixels): [later] more cleanups (remove unused variables)
13178
13179         * lyxlength.C (inPixels): change to use a width and a height as
13180         parameter.
13181
13182 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13183
13184         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13185         Replaced with \paperwidth
13186
13187         * DepTable.C (insert): add std:: qualifier
13188
13189 2002-01-18  Allan Rae  <rae@lyx.org>
13190
13191         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13192         updated also?
13193
13194         * text.C (drawInset): Turned out I didn't know enough about how
13195         rebreaking worked.  This fixes most of the redraw problems.  I see
13196         an occasional cursor trail when a line is broken now and the cursor
13197         placement can seem out by a few pixels also after a rebreak.
13198
13199 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13200
13201         * buffer.C (parseSingleLyXformat2Token): update because minipage
13202         width is now a LyXLength
13203
13204         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13205
13206         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13207         math insets
13208
13209 2002-01-17  Juergen Vigna  <jug@sad.it>
13210
13211         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13212
13213         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13214         is set correctly and the inset is updated correctly.
13215
13216 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13217
13218         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13219         the beginning of the loop.
13220
13221 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13222
13223         * lyxrc.C: improve help for use_scalable_fonts
13224
13225 2002-01-17  Allan Rae  <rae@lyx.org>
13226
13227         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13228
13229 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13230
13231         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13232         make sure to set their inset_owner to the right value (bug #171)
13233
13234 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13235
13236         * DepTable.h
13237         * DepTable.C: Implement mtime checking to reduce time spent doing
13238         CRCs.
13239
13240 2002-01-16  Juergen Vigna  <jug@sad.it>
13241
13242         * tabular.C (GetAdditionalHeight): one of error fixed.
13243
13244         * lyxrc.C (output): small fix in writing use_pspell.
13245
13246 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13247
13248         * sp_base.h: #include LString.h
13249
13250 2002-01-16  Allan Rae  <rae@lyx.org>
13251
13252         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13253         Can someone check this please?
13254
13255         * text.C (drawInset): It was possible that p.row would be removed by
13256         breakAgainOneRow upsetting a few other settings.  There may be another
13257         small tweak possible by setting need_break_row = 0 when p.row has been
13258         removed but I don't know enough about the logic here.
13259
13260 2002-01-15  Allan Rae  <rae@lyx.org>
13261
13262         * text.C (insertChar): removed conditional truism.
13263
13264         * BufferView2.C (removeAutoInsets): More tweaks.
13265         cur_par_prev could be a stray pointer.  Check for trailing empty line
13266         in case last line was cur_par and only had an error inset on it.
13267
13268 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13269
13270         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13271         absolute
13272
13273         * vc-backend.C (most methods):
13274         * exporter.C (Export):
13275         * converter.C (convert):
13276         (runLaTeX):
13277         * LyXSendto.C (SendtoApplyCB):
13278         * lyxfunc.C (dispatch):
13279         (menuNew):
13280         (open):
13281         (doImport):
13282         * lyx_cb.C (AutoSave):
13283         (InsertAsciiFile):
13284         * BufferView_pimpl.C (MenuInsertLyXFile):
13285         * buffer.C (runChktex): use Buffer::filePath().
13286
13287         * buffer.h: rename filename to filename_; rename filepath to
13288         filepath_ and make it private
13289         (filePath): new method
13290
13291         * buffer.C (writeFile): use fileName()
13292         (getLatexName):
13293
13294         * lyx_main.C (init): fix starting  of LyX when the binary is a
13295         link from so,ewhere else.
13296
13297         * minibuffer.C: include <cctype> for isprint
13298
13299 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13300
13301         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13302         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13303         name clash with InsetCollapsable's width function.
13304
13305 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13306
13307         * lastfiles.C: include <iterator>
13308
13309 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13310
13311         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13312         std::count.
13313
13314         * buffer.C (makeLaTeXFile): ditto.
13315         Also make loop operation more transparent.
13316
13317 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13318
13319         * ToolbarDefaults.C: remove trailing comma closing namespace.
13320
13321         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13322
13323         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13324         as in WorkArea.
13325
13326         * trans.C (Load): comment out unused variable, allowed.
13327
13328 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13329
13330         * minibuffer.[Ch] (append_char): new method to recieve input from the
13331         drop-down completion browser. If a key was pressed, then recieve this
13332         char and append it to the existing string.
13333         (peek_event): modify the positioning data passed to the completion
13334         browser so that it can be placed above the minibuffer rather than below.
13335 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * LyXAction.C (init): alloe error-next for readonly documents.
13338
13339         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13340         count.
13341
13342 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13343
13344         * bufferlist.C (readFile): create the buffer _after_ checking that
13345         the file exists.
13346
13347         * lyxfunc.C (verboseDispatch): fix handling of arguments
13348
13349         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13350
13351         * lyxrc.C: use string::erase() instead of initializing to "".
13352
13353
13354 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * BufferView_pimpl.h:
13357         * BufferView_pimpl.C:
13358         * WorkArea.h:
13359         * WorkArea.C:
13360         * text2.C: tell X when we have made a selection for copying
13361
13362 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * BufferView_pimpl.C (MenuInsertLyXFile):
13365         * lyxfunc.C (menuNew):
13366         (open):
13367         (doImport): add shortcuts to directory buttons
13368
13369         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13370         open a float)
13371
13372         * lyxfunc.C (setStatusMessage):
13373         (getStatusMessage): new methods
13374         (getStatus):use setStatusMessage instead of setErrorMessage
13375         (dispatch): when function is disabled, set error message here
13376         [instead of in getStatus previously]
13377
13378         * BufferView_pimpl.C (workAreaButtonRelease): update
13379         toolbar/menubar here too.
13380
13381 2002-01-13  Allan Rae  <rae@lyx.org>
13382
13383         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13384         Now seems indestructible.  Remaining task is to audit all other
13385         code affected by deleteEmptyParagraphMechanism.  One small quirk
13386         left is that an empty document with an error in the preamble can
13387         be made to report an error but no error box appears.  I don't know
13388         where it goes.
13389         (removeAutoInsets): Improved comments.
13390
13391 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * Thesaurus.h:
13394         * Thesaurus.C: update for Aiksaurus 0.14
13395
13396 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13397
13398         * text2.C (firstParagraph): removed member function, all uses
13399         replaces with ownerParagraph
13400         (redoParagraphs): here
13401         (updateInset): here
13402         (toggleAppendix): here
13403         * BufferView2.C (insertErrors): here
13404         (setCursorFromRow): here
13405
13406 2002-01-13  Allan Rae  <rae@lyx.org>
13407
13408         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13409         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13410         There is still a way to segfault this although you may have to do this
13411         multiple times: Have an InsetERT with an unknown command in it.
13412         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13413         <down-arrow>, <Enter> again, View->DVI, BANG!
13414
13415         * text2.C (setCursor):
13416         (deleteEmptyParagraphMechanism):
13417         * lyxtext.h (setCursor):
13418         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13419         Making use of the return value may help fix other bugs.
13420
13421 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13422
13423         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13424
13425         * LyXView.C (updateMenubar): call MenuBar::update here
13426         (updateToolbar): but not here
13427         (showState): do not update toolbar/menubar
13428
13429         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13430         should need to care about that.
13431
13432         * lyxfunc.C (verboseDispatch): simplify a bit
13433         (getStatus): have a version which takes a pseudoaction, and
13434         another which requires a (kb_action,string).
13435
13436         * LyXAction.C (retrieveActionArg): make it work also when action
13437         is not a pseudo-action.
13438         (getActionName): simplify a bit
13439         (helpText):
13440
13441 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13442
13443         * lyxfunc.C (verboseDispatch): new families of methods with
13444         several ways to specify a command and a bool to indicate whether
13445         the command name and shortcut should be displayed in minibuffer
13446         (eventually, we could extend that to a finer bitmask like
13447         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13448         (dispatch): the pristine dispatch command which just, well,
13449         dispatchs! Note it still sets its result to minibuffer; I'm not
13450         sure we want that.
13451
13452         * lyxfunc.h: remove setHintMessage
13453
13454         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13455
13456 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13457
13458         * BufferView_pimpl.C (specialChar): delete new inset if we have
13459         not been able to insert it.
13460
13461         * kbmap.C: revert to using int instead of kb_action, since all we
13462         are dealing with is pseudo-actions.
13463
13464         * LyXAction.C (searchActionArg): change to return int instead of
13465         kb_action, since the result is a pseudoaction.
13466
13467 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13468
13469         * buffer.C (insertErtContents): Fix (partially) the font bug.
13470
13471 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13474         as the other one is broken on my machine!
13475
13476 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13477
13478         * commandtags.h:
13479         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13480
13481 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13482
13483         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13484         reflect their actual use. Provide compatibility code for older lyxrc
13485         files.
13486
13487         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13488         FL_NORMAL_STYLE.
13489         change names of popup font variables in line with the changes to lyxrc.C
13490
13491 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13492
13493         * buffer.C (asciiParagraph): avoid outputing a word twice after
13494         an inset.
13495
13496         * lyxrc.C (getDescription): document that document_path and
13497         template_path can be empty.
13498
13499 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13500
13501         * LaTeXFeatures.C (getMacros):
13502         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13503
13504         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13505
13506         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13507         getPackages.
13508         (getPackages): rename feature "floats" to "float". Use an array to
13509         iterate over 'simple' features (i.e. just a \usepackage). Add
13510         handling of "amsmath" (renamed from "amsstyle").
13511
13512 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13513
13514         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13515         features list.
13516
13517 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13520         FuncStaus::FuncStatus & FuncStaus::some_method().
13521
13522 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13523
13524         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13525         of the func_satus stuff. Edited and massaged in various ways by
13526         JMarc.
13527
13528         * lyxfunc.C (getStatus): use FuncStatus
13529
13530 2002-01-08  Juergen Vigna  <jug@sad.it>
13531
13532         * text.C (nextBreakPoint): use function Inset::isChar().
13533
13534         * paragraph.C (TeXOnePar): use function
13535         Inset::forceDefaultParagraphs.
13536
13537         * buffer.C (latexParagraphs): use function
13538         Inset::forceDefaultParagraphs.
13539
13540 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13541
13542         * lyx_gui.C (init): set the style of the menu popups to
13543         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13544
13545 2002-01-07  Juergen Vigna  <jug@sad.it>
13546
13547         * text.C (setHeightOfRow): small fix
13548         (prepareToPrint): don't look at alignment if we don't have the place
13549         for doing it.
13550
13551 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13552
13553         * box.C: New file. Move the Box methods and functions out of box.h,
13554         following Lars' suggestion.
13555
13556 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13557
13558         * box.h: #include "support/LOstream.h", needed for inlined function.
13559
13560         * lyxtextclass.C:
13561         * lyxtextclasslist.C: added some using std declarations.
13562
13563 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13564
13565         * box.h: make signed dimensions to allow insets wider than
13566           the screen (bug #162)
13567
13568         * BufferView_pimpl.C: add some insetHit debug
13569
13570 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * vc-backend.C: add FIXME
13573
13574 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13575
13576         * lyxfunc.C (getStatus): enable code for showing math font status
13577         in toolbar/menu.
13578
13579 2002-01-07  Juergen Vigna  <jug@sad.it>
13580
13581         * text.C (nextBreakPoint): removed debug output not needed anymore.
13582
13583 2002-01-06  Juergen Vigna  <jug@sad.it>
13584
13585         * text.C (nextBreakPoint): fixed up this function we had this bug
13586         since ever but now hopefully we break row better.
13587         (insertChar): we have to check if an inset is the next char as it
13588         could now happen that a large inset is causing a break.
13589
13590 2002-01-05  Juergen Vigna  <jug@sad.it>
13591
13592         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13593         if it doesn't like to be drawed.
13594
13595 2002-01-04  Juergen Vigna  <jug@sad.it>
13596
13597         * BufferView2.C (lockInset): forgot to set a cursor.
13598
13599         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13600
13601 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13602
13603         * FormMathsPanel.C:
13604         * FormMathsPanel.h
13605         * MathsSymbols.C:
13606         * form_maths_panel.C:
13607         * form_maths_panel.h:
13608         * form_maths_panel.fd: implemented sub- and super- buttons in math
13609         panel.
13610
13611         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13612         (or ^ space) to be used as in TeX (req'd by André).
13613
13614         * lyxfunc.C: Allow ^ and _ again to be used both as
13615         super/subscript (mathed) and as themselves (in text).
13616
13617 2002-01-03  Allan Rae  <rae@lyx.org>
13618
13619         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13620         "LyX" or the filename of the current buffer if it has one.  This is a
13621         modified form of John Levon's patch.
13622
13623         * XFormsView.C (setWindowTitle): also set icon title.
13624
13625         * LyXView.h (setWindowTitle): signature changed.
13626         * XFormsView.h (setWindowTitle): ditto.
13627
13628 2002-01-02  Juergen Vigna  <jug@sad.it>
13629
13630         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13631
13632 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * screen.C (topCursorVisible): introduce a temp var for
13635         text->cursor.row(), handle the case where this row is null. (kindo
13636         hachish)
13637
13638         * text2.C (setCursor): add a couple of asserts.
13639
13640         * paragraph.h (inset_iterator): add -> operator
13641
13642         * paragraph.[Ch] (autoDeleteInsets): remove member function
13643
13644         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13645         cursor pos correctly and handle inset deletion by itself.
13646         (insertErrors): move iterator declaration out of for expression
13647
13648         * lyxtextclass.C: add <algorithm>
13649
13650         * Makefile.am: added the new files to sources, removed layout.C
13651
13652         * layout.C: removed file
13653
13654         * layout.h: remove LYX_DUMMY_LAYOUT
13655
13656         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13657         layout.
13658
13659         * lyxlayout.[Ch]:
13660         * lyxtextclass.[Ch]:
13661         * lyxtextclasslist.[Ch]: new files
13662
13663         * include order changes to a lot of files, also changes because of
13664         the six new files.
13665
13666 2001-12-27  Juergen Vigna  <jug@sad.it>
13667
13668         * buffer.C (asciiParagraph): more fixes.
13669
13670         * tabular.C (ascii): make ascii export support export of only the
13671         data separated by a column-delimiter.
13672         (ascii): better support for ascii export.
13673
13674         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13675
13676 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * tabular_funcs.C: use a "using std::getline" instead of the
13679         previous fix from Angus (necessary for cxx + lyxstring)
13680
13681 2001-12-24  Juergen Vigna  <jug@sad.it>
13682
13683         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13684
13685         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13686         problems. First check a minipage also if we have some ert-contents
13687         (not only on par->size(), second set the right depth of the paragraph
13688         on the relink to the root-paragraph-list!
13689
13690         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13691         which then did not anymore update the main paragraphs on undo/redo!
13692
13693 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13694
13695         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13696         code. Support all font-changing funcs (even those which are not in
13697         menu currently). Support for reporting font settings in
13698         mathed (disabled until Andre provides a function on mathed's side).
13699
13700         * func_status.h (toggle): small helper function to set toggle
13701         state on a flag.
13702
13703 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * tabular_funcs.C: getline -> std::getline
13706
13707 2001-12-21  Juergen Vigna  <jug@sad.it>
13708
13709         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13710         accessed and could be 0 (I couldn't generate this but it seems
13711         Michael could!).
13712
13713 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13716         * tabular_funcs.h: here and include iosfwd
13717
13718 2001-12-20  Juergen Vigna  <jug@sad.it>
13719
13720         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13721         inside inset but undo_par was.
13722
13723 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13724
13725         * Thesaurus.C: always include <config.h> in sources.
13726
13727         * Painter.h:
13728         * lyxlookup.h:
13729         * box.h: do not include <config.h> in header files
13730
13731         * text.C (paintLastRow): remove unused variable
13732
13733         * text.C (transformChar):
13734         (insertChar):
13735         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13736
13737         * Painter.C (text):
13738         * font.C (width): rewrite to use uppercase() instead of
13739         islower/toupper.
13740
13741         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13742
13743 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * lyxfind.C: clean up of find failure position change
13746
13747 2001-12-20  Juergen Vigna  <jug@sad.it>
13748
13749         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13750
13751         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13752         (TeXRow): added to LaTeX a single tabular row.
13753         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13754         (Latex): simplified and finally good LT-h/f support.
13755         (various_functions): just small adaptions for LT-h/f support.
13756
13757         * tabular_funcs.[hC]: added and moved here all not classfunctions
13758         of LyXTabular.
13759
13760 2001-12-19  Juergen Vigna  <jug@sad.it>
13761
13762         * tabular.[Ch]: better support for longtabular options (not finished
13763         yet!)
13764
13765 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13766
13767         * text.C (paintLastRow): use the label font instead of the font of
13768         the last character to compute the size of *_BOX. This makes more
13769         sense and avoids a crash with empty paragraphs.
13770         Use Painter::rectangle to draw EMPTY_BOX.
13771
13772 2001-12-19  Juergen Vigna  <jug@sad.it>
13773
13774         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13775         the paragraphs if the replaced paragraph is not the first one!
13776         Tried to delete not used paragraphs but does not work yet so for
13777         now it's inside #ifdef's and by default off!
13778
13779 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13780
13781         * MenuBackend.C: include "lyx_main.h" instead of declaring
13782         lastfiles (actually was declared as LastFiles* instead of a
13783         scoped_ptr).
13784
13785 2001-12-17  Juergen Vigna  <jug@sad.it>
13786
13787         * tabular.C (AppendColumn): applied John's fix
13788
13789 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13790
13791         * BufferView.h:
13792         * BufferView.C:
13793         * BufferView_pimpl.h:
13794         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13795
13796         * Makefile.am:
13797         * box.h: new start of class for above
13798
13799         * lyxfunc.C: ignore space-only minibuffer dispatches.
13800           Show the command name when it doesn't exist
13801
13802         * minibuffer.C: don't add empty lines to the history
13803
13804         * minibuffer.C: add a space on dropdown completion
13805
13806 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13807
13808         * text.C: fix line above/below drawing in insets
13809
13810 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13811
13812         * lyxlength.C (LyXLength): Initialize private variables.
13813
13814 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13815
13816         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13817         when inserting error insets.
13818
13819 2001-12-13  Juergen Vigna  <jug@sad.it>
13820
13821         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13822         actually sometimes the before-paragraph.
13823         (setUndo): don't clear the redostack if we're not actually undoing!
13824
13825 2001-12-06  Juergen Vigna  <jug@sad.it>
13826
13827         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13828         and fixed redoing of main paragraph, so we can use it now ;)
13829
13830         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13831
13832 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13833
13834         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13835         Juergen's request
13836
13837 2001-12-13  André Pönitz <poenitz@gmx.net>
13838
13839         * undostack.[Ch]:
13840         * undo_func.C: minor cleanup
13841
13842 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13843
13844         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13845         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13846         font in urw-fonts package which is marked as -urw-fontspecific and
13847         does not work (incidentally, changing the encoding in the
13848         fonts.dir of this package to -adobe-fontspecific fixes the
13849         problem).
13850
13851         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13852         is a crash when undoing first paragraph (Juergen, please take a
13853         look). THis does not mean the undo fix is wrong, just that it
13854         uncovers problems.
13855
13856         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13857         the (Paragraph*) version when needed instead of duplicating the
13858         code.
13859
13860         * text.C (workWidth): use Inset::parOwner to find out where the
13861         inset has been inserted. This is a huge performance gain for large
13862         documents with lots of insets. If Inset::parOwner is not set, fall
13863         back on the brute force method
13864
13865         * paragraph_pimpl.C (insertInset):
13866         * paragraph.C (Paragraph):
13867         (cutIntoMinibuffer): set parOwner of insets when
13868         inserting/removing them
13869
13870         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13871
13872 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13873
13874         * commandtags.h:
13875         * LyXAction.C:
13876         * lyx_main.C:
13877         * lyxfunc.C:
13878         * mathed/formulabase.C:
13879         * mathed/math_cursor.[Ch]:
13880         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13881
13882
13883 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13884
13885         * lyxlength.[Ch] (operator!=): new function
13886
13887 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13888
13889         * text.C (workWidth): use Inset::parOwner to find out where the
13890         inset has been inserted. This is a huge performance gain for large
13891         documents with lots of insets. If Inset::parOwner is not set, fall
13892         back on the brute force method
13893
13894         * paragraph_pimpl.C (insertInset):
13895         * paragraph.C (Paragraph):
13896         (cutIntoMinibuffer): set parOwner of insets when
13897         inserting/removing them
13898
13899         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13900
13901 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13902
13903         * tabular-old.C (getTokenValue):
13904         * tabular.C (getTokenValue):
13905         (write_attribute): new versions for LyXLength
13906         (everywhere): adjust the use of widths
13907
13908         * tabular.h: change the type of widths from string to LyXLength
13909
13910 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13911
13912         * paragraph.C: fixed missing line number count when exporting
13913         Environments to LaTeX file
13914
13915         * buffer.C: added informational message for checking line numbers.
13916
13917 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13918
13919         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13920         paragraph, do the 'double space' part, but not the 'empty
13921         paragraph' one.
13922
13923         * text.C (workWidth): small optimization
13924         (getLengthMarkerHeight): use minimal size for negative lengths.
13925
13926 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13927
13928         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13929
13930         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13931
13932 2001-12-11  André Pönitz <poenitz@gmx.net>
13933
13934         * FontLoader.C:
13935         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13936
13937 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13938
13939         * text2.C: keep selection on a setFont()
13940
13941 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13942
13943         * lyx_cb.C: another bv->text misuse, from insert label
13944
13945 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13946
13947         * kbsequence.h:
13948         * kbsequence.C: re-instate nmodifier mask
13949
13950 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13951
13952         * lyx_main.h: make lyxGUI private.
13953
13954 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13955
13956         * lyxfind.C: place the cursor correctly on failed search
13957
13958 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13959
13960         * text.C (getLengthMarkerHeight): for small heights, the arrows
13961         are not always on top/bottom of the text
13962         (drawLengthMarker): smaller arrows; take the left margin in
13963         account; draw also vfills.
13964         (paintFirstRow):
13965         (paintLastRow): remove special code for vfill and standard spaces,
13966         since everything is handled in drawLengthMarker now.
13967
13968 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13969
13970         * buffer.C (insertErtContents): try to handle font and language
13971         interaction a bit better.g
13972
13973         * ColorHandler.C (updateColor): change the hash to cover the whole
13974         LColor enum, ws cleanup
13975         (getGCLinepars): ditto
13976         (getGCLinepars): only lookup in the linecache once.
13977
13978 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13979
13980         * iterators.C (operator++): Make the iterator more robust
13981
13982         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13983         (John's patch)
13984         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13985
13986 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13987
13988         * lyxtext.h:
13989         * text.C: better added space drawing
13990
13991 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13992
13993         * LyXView.C:
13994         * BufferView2.C: fix layout combo update on inset unlock
13995
13996 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13997
13998         * Makefile.am: don't compile unused files
13999
14000 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14001
14002         * lyxfunc.C:
14003         * commandtags.h:
14004         * LyXAction.C: remove old LFUN_LAYOUTNO
14005
14006 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14007
14008         * paragraph_pimpl.h:
14009         * paragraph_pimpl.C: isTextAt() doesn't need font param
14010
14011 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14012
14013         * lyxlex.h:
14014         * lyxlex.C: little cleanup
14015
14016 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14017
14018         * BufferView_pimpl.C: fix insertAscii for insets
14019
14020 2001-12-05  Juergen Vigna  <jug@sad.it>
14021
14022         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14023         set the right font on the "multi" paragraph paste!
14024
14025 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14026
14027         * trans_decl.h:
14028         * trans_mgr.[Ch]:
14029         * trans.[Ch]:
14030         * lyxgluelength.C:
14031         * lyxlength.C: remove out-commented code.
14032
14033         * BufferView_pimpl:
14034         * CutAndPaste.C:
14035         * DepTable.C:
14036         * buffer.C:
14037         * chset.C:
14038         * lastfiles.C:
14039         * lyxlex.C:
14040         * lyxlex_pimpl.C:
14041         * lyxserver.C:
14042         * screen.C:
14043         * tabular-old.C:
14044         * tabular.C:
14045         * text.C:
14046         * trans_mgr.C:
14047         * vc-backend.C: change "while(" to "while ("
14048
14049         * lyxlength.[Ch]: add zero function to check if length is zero or
14050         not
14051         * lyxgluelength.C: use it
14052
14053 2001-12-05  Allan Rae  <rae@lyx.org>
14054
14055         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14056         Works for 2.95.3, from what I understand of Garst's reports this should
14057         work for other g++ versions.  We're screwed if the abs(int) definition
14058         changed between bugfix releases of gcc.
14059
14060 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14061
14062         * text.C: fix chapter label offset !
14063
14064 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14065
14066         * lyxtext.h:
14067         * text.C: fix hfill at end of line, clean up
14068
14069 2001-12-04  Juergen Vigna  <jug@sad.it>
14070
14071         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14072         that we force an update of the inset and it's owners if neccessary.
14073
14074 2001-12-03  Juergen Vigna  <jug@sad.it>
14075
14076         * text.C (rowLast): simplified code
14077
14078 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14079
14080         * lyxfunc.C: fix show options on timeout
14081
14082 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14083
14084         * screen.C (topCursorVisible): scroll half a page when the cursor
14085         reached top of bottom of screen
14086
14087 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14088
14089         * minibuffer.C: deactivate on loss of focus
14090
14091 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * vspace.[Ch] (operator!=): add operator.
14094
14095 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14096
14097         * BufferView_pimpl.C: refuse to open an inset when
14098         there's a selection.
14099
14100 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14101
14102         * BufferView_pimpl.C: allow to click on RHS of full row insets
14103
14104 2001-11-30  Juergen Vigna  <jug@sad.it>
14105
14106         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14107         insets for undo reasons.
14108
14109 2001-11-28  André Pönitz <poenitz@gmx.net>
14110
14111         * vspace.[Ch]: cosmetical changes
14112
14113 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14114
14115         * LyXAction.h:
14116         * LyXAction.C:
14117         * lyxfunc.h:
14118         * lyxfunc.C:
14119         * kbmap.h:
14120         * kbmap.C:
14121         * lyxrc.C:
14122         * kbsequence.h:
14123         * kbsequence.C: part re-write of old kb code
14124
14125         * Painter.C:
14126         * WorkArea.C: remove Lgb_bug_find_hack
14127
14128 2001-11-30  José Matos <jamatos@fep.up.pt>
14129
14130         * buffer.C (makeDocBookFile): add a comment to point a hack.
14131         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14132         Fixed a double write of labels.
14133
14134 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14135
14136         * LaTeX.C:
14137         * LaTeX.h Fixed bug in LaTeX class where it would not
14138         re-run latex if no depfiles were changed, but the .dvi was removed.
14139
14140 2001-11-28  André Pönitz <poenitz@gmx.net>
14141
14142         * all the files from the change on 2001/11/26:
14143         use lyx::layout_type instead of LyXTextClass::size_type
14144         use lyx::textclass_type instead of LyXTextClassList::size_type
14145
14146 2001-11-29  Juergen Vigna  <jug@sad.it>
14147
14148         * text.C: added support for paragraph::isFreeSpacing()
14149
14150         * buffer.C: same as above
14151
14152         * paragraph.h: inserted isFreeSpacing() function to enable
14153         FreeSpacing inside InsetERT.
14154
14155         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14156         of the paragraph's in the cut/copy buffer to 0!
14157
14158         * text2.C (removeRow): remove the assert as it can!
14159
14160         * lyxtext.h: added helper function firstRow returning firstrow and
14161         made firstrow private again.
14162
14163         * BufferView2.C (lockInset): don't relock if we're already locked!
14164
14165         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14166         the only paragraph.
14167         (removeRow): added Assert::(firstrow)
14168
14169         * debug.C: forgot to add INSETTEXT here.
14170
14171 2001-11-28  Juergen Vigna  <jug@sad.it>
14172
14173         * sp_spell.C (initialize): changed error text to more general
14174         spellchecker command use (not only ispell!)
14175
14176         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14177
14178         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14179
14180 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14181
14182         * vspace.C: initialise lyxgluelength on failure
14183
14184 2001-11-28  Allan Rae  <rae@lyx.org>
14185
14186         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14187         declaration & definition that looks like a function declaration.
14188
14189 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14190
14191         * BufferView2.C (copy):
14192         (copyEnvironment): do not clear the selection when doing a copy.
14193
14194         * text.C (paintFirstRow): compilation fix
14195
14196 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14197
14198         * tabular.C (Latex): correct line count when writing latex.
14199
14200 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * paragraph_pimpl.h:
14203         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14204           bug a bit
14205
14206 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14207
14208         * text.C:
14209         * LColor.h:
14210         * LColor.C: change vfillline->added_space
14211
14212         * text.C: add markers and text for added space
14213
14214         * vspace.C: fix comment
14215
14216 2001-11-28  André Pönitz <poenitz@gmx.net>
14217
14218         * paragraph.C: whitespace changes
14219         * all the other files from the change on 2001/11/26:
14220         change *::pos_type into lyx::pos_type
14221
14222 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14223
14224         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14225         language of the document when inserting error insets.
14226
14227 2001-11-26  André Pönitz <poenitz@gmx.net>
14228
14229         * BufferView_pimpl.[Ch]:
14230         *       CutAndPaste.C:
14231         * buffer.[Ch]:
14232         * lyxcursor.[Ch]:
14233         * lyxfind.C:
14234         * lyxfunc.C:
14235         * lyxrow.[Ch]:
14236         * paragraph.[Ch]:
14237         * paragraph_pimpl.[Ch]:
14238         * sp_spell.C:
14239         * text.C:
14240         * text2.C: reduce header dependencies, introduce type for positions
14241
14242 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14243
14244         * <various>: change to use Alert.h
14245
14246 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14247
14248         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14249         when encountering an unknown token.
14250         (readLyXformat2): Show an error message if there were unknown tokens.
14251
14252 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14253
14254         * BufferView2.C:
14255         * BufferView_pimpl.C:
14256         * buffer.C:
14257         * paragraph.h:
14258         * text.C:
14259         * text2.C: use par->isInset()
14260
14261 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * paragraph_pimpl.h:
14264         * paragraph_pimpl.C: cleanup
14265
14266 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * text2.C (removeRow):
14269         * text.C (setHeightOfRow): remove useless (and costly) call to
14270         getRow.
14271
14272 2001-11-20  Allan Rae  <rae@lyx.org>
14273
14274         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14275         Now need Inset*::checkInsertChar() to return true for appropriate
14276         cases so that the characters in the minibuffer will actually be
14277         inserted.
14278
14279 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * text.C: change the order of the includes.
14282         (workWidth): initialize it at once.
14283         (workWidth): make maxw unsigned
14284         (setHeightOfRow): remove unused variable (inset)
14285         (selectSelectedWord): remove unused variable (inset)
14286         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14287
14288 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14291         server is not running.
14292         (openConnection):
14293         (closeConnection): add debug info when server is disabled.
14294
14295         * ColorHandler.C (getGCForeground): send debug message to GUI
14296         channel.
14297
14298         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14299
14300         * kbmap.C (bind): modify because return conventions of
14301         kb_sequence::parse have changed.
14302
14303         * kbsequence.C (parse): only ignore spaces and not any stupid
14304         control character. This avoids tests like s[i] <= ' ', which are
14305         guaranteed to fail with 8bit characters and signed chars.
14306         Change return code to string::npos when there have been no error
14307         (0 was a bad idea when error is at first character)
14308
14309 2001-11-14  José Matos  <jamatos@fep.up.pt>
14310
14311         * buffer.h:
14312         * buffer.C (simpleDocBookOnePar): removed unused argument.
14313
14314 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14315
14316         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14317         insets which are part of a word. Paragraph::isLetter takes care of
14318         that now. Use Paragraph::isInset to identify insets.
14319         (selectSelectedWord): do not test for hyphenation break.
14320
14321         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14322         that protected spaces are considered as spaces.
14323
14324         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14325         Inset::isLetter.
14326
14327 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * lyxserver.h:
14330         * lyxserver.C: fix it. and small cleanup.
14331
14332 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14333
14334         * BufferView_pimpl.C: use inline helpers
14335
14336         * LaTeXFeatures.h:
14337         * LaTeXFeatures.C: fix typos
14338
14339         * Spacing.h:
14340         * Spacing.C: move spacing_string into class
14341
14342         * ToolbarDefaults.C: move stuff into namespace anon
14343
14344         * layout.h: update enum
14345
14346         * lyxfunc.C: use better debug
14347
14348         * minibuffer.h: fix typo
14349
14350         * debug.h:
14351         * debug.C:
14352         * WorkArea.C: add and use Debug::WORKAREA
14353
14354         * lyxtext.h:
14355         * text.C:
14356         * text2.C: code re-organisation, inline helpers
14357
14358 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14359
14360         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14361         std::vector.empty().
14362
14363 2001-11-09  Allan Rae  <rae@lyx.org>
14364
14365         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14366         '\n's after tables.  Tabular and ERT inset work now makes this no
14367         longer necessary.
14368
14369 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14370
14371         * minibuffer.h:
14372         * minibuffer.C: fix crash, improve drop-down completion
14373
14374 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14375
14376         * lyxserver.h:
14377         * lyxserver.C: invalidate fd's when doing endPipe()
14378
14379 2001-11-08  José Matos  <jamatos@fep.up.pt>
14380
14381         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14382         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14383
14384         * paragraph.h:
14385         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14386
14387 2001-11-07  José Matos  <jamatos@fep.up.pt>
14388
14389         * buffer.h:
14390         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14391         const qualifier.
14392
14393         * buffer.C (sgmlOpenTag):
14394         * buffer.C (sgmlCloseTag): removed debug info.
14395
14396         * buffer.h (sgmlOpenTag):
14397         * buffer.h (sgmlCloseTag): made public.
14398
14399 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14400
14401         * buffer.C (saveParamsAsDefaults):
14402         * lyx_cb.C (MenuLayoutSave): remove
14403
14404         * LyXAction.C (init):
14405         * commandtags.h:
14406         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14407
14408 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14409
14410         * buffer.C (setPaperStuff): removed from here...
14411
14412         * bufferparams.C (setPaperStuff): ... and moved there.
14413
14414 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14415
14416         * minibuffer.h:
14417         * minibuffer.C:
14418         * XFormsView.C: add support for drop-down completion
14419
14420 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14423         commands.
14424
14425 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14426
14427         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14428         disabled.
14429
14430 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14431
14432         * lyx_main.C: change ref to known bugs
14433
14434 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14435
14436         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14437         to work around older babel problems.
14438
14439 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14440
14441         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14442
14443 2001-10-24  Juergen Vigna  <jug@sad.it>
14444
14445         * tabular-old.C (ReadOld): below variable changes reflected.
14446
14447         * tabular.[Ch]: added ltType struct for longtable header/footer
14448         defines and changed all instances where they are used. Added
14449         future support for double top/bottom rows.
14450
14451 2001-10-24  José Matos  <jamatos@fep.up.pt>
14452
14453         * buffer.h (docbookHandleCaption):
14454         * buffer.C (docbookHandleCaption): removed unused function.
14455         (makeDocBookFile): moved docbook supported version to v4.1.
14456
14457 2001-10-24  José Matos  <jamatos@fep.up.pt>
14458
14459         * tabular.h:
14460         * tabular.C (docbookRow): new function to export docbook code of a row.
14461         (DocBook): now honors the longtable flags.
14462
14463 2001-10-23  José Matos  <jamatos@fep.up.pt>
14464
14465         * LaTeXFeatures.h:
14466         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14467         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14468
14469         * buffer.C (makeLinuxDocFile):
14470         (makeDocBookFile): reworked the preamble, more clean, and with
14471         support for lyx defined entities. Changed the document declaration
14472         to be more XML friendly.
14473
14474         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14475         if we need to output XML that should be done with a filter.
14476
14477 2001-10-22  Juergen Vigna  <jug@sad.it>
14478
14479         * sp_pspell.h (class PSpell): add alive function needed in the
14480         controller to see if the spellchecker could be started.
14481
14482 2001-10-22  Juergen Vigna  <jug@sad.it>
14483
14484         * buffer.C (insertStringAsLines): modify the font for inserting
14485         chars in certain conditions by calling checkInsertChar(font).
14486
14487 2001-10-19  Juergen Vigna  <jug@sad.it>
14488
14489         * text.C (workWidth): use getRow instead of wrong algorithm.
14490         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14491
14492 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * lyxserver.h:
14495         * lyxserver.C:
14496         * lyx_main.h:
14497         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14498
14499 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14500
14501         * text.C (workWidth): do not search for the exact row when
14502         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14503         optimization for big documents.
14504
14505 2001-10-18  Juergen Vigna  <jug@sad.it>
14506
14507         * text.C (workWidth): new function with added Inset * parameter.
14508
14509 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14510
14511         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14512
14513         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14514         change return type of getColumnNearX.
14515
14516
14517         * text.C (changeRegionCase): use uppercase/lowercase instead of
14518         toupper/tolower.
14519         (leftMargin):
14520         (rightMargin): simplify code by factoring out the uses of
14521         textclasslist.
14522         (labelFill):
14523         (numberOfHfills):
14524         (setHeightOfRow):
14525         (appendParagraph): use Paragraph::size_type
14526
14527 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14528
14529         * vspace.C (asLatexString): add a missing break
14530
14531 2001-10-15  Herbert Voss  <voss@perce.de>
14532
14533         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14534
14535 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14536
14537         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14538         is not available.
14539
14540 2001-10-10  André Pönitz <poenitz@gmx.net>
14541
14542         * lyxfunc.C: removed greek_kb_flag.
14543
14544 2001-10-10  Herbert Voss  <voss@perce.de>
14545
14546         * lyx_main.C: delete global string help_lyxdir.
14547
14548 2001-10-09  Herbert Voss  <voss@perce.de>
14549
14550         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14551
14552         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14553
14554         * lyx_main.C: added global string help_lyxdir.
14555
14556         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14557
14558 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14559
14560         * lyxrc.C (set_font_norm_type): support iso8859-4
14561
14562 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14563
14564         * LaTeX.C (deplog): add another regex for MikTeX
14565
14566 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14567
14568         * lyxrc.C (set_font_norm_type): support iso8859-3
14569
14570 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14571
14572         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14573
14574         * LaTeXFeatures.C: remove special case of french and index
14575
14576         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14577         before \begin{document}). This solves several incompatibilities.
14578
14579 2001-10-03  Garst Reese  <reese@isn.net>
14580
14581         * lyx_cb.C: change CheckTex error msg.
14582
14583 2001-10-03  José Matos  <jamatos@fep.up.pt>
14584
14585         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14586
14587 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14588
14589         * .cvsignore: update
14590
14591         * lyx_main.C (commandLineVersionInfo): use new style version info.
14592
14593         * buffer.C (writeFile):
14594         (makeLaTeXFile):
14595         (makeLinuxDocFile):
14596         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14597
14598         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14599
14600         * version.h: update to use stuff in version.C
14601
14602         * version.C.in: new file. Contains version information determined
14603         at compile time. This is a merging of version.h and
14604         version_info.h.in.
14605
14606 2001-10-03  Juergen Vigna  <jug@sad.it>
14607
14608         * BufferView_pimpl.C (update): don't change "dirty" status in
14609         updateInset call.
14610
14611 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14612
14613         * WorkArea.C (c-tor): re-position version string slightly.
14614
14615 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14616
14617         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14618         revert to previous code.
14619
14620         WorkArea.[Ch]: (show, destroySplash): methods removed.
14621
14622         WorkArea.C: rework code so that it's an amalgam of the codes before and
14623         after the splash screen was moved to WorkArea.
14624
14625 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14626
14627         * lyxrc.C (read):
14628         * vspace.C (inPixels):
14629         (lyx_advance):
14630         * kbmap.C (bind):
14631         * buffer.C (insertStringAsLines):
14632         (asciiParagraph): fix types to be large enough
14633
14634         * lyxlex_pimpl.h: change member status from short to int
14635
14636         * layout.h: fix type of endlabeltype
14637
14638         * kbmap.C (bind):
14639         * kbsequence.C (parse): change return type to string::size_type
14640
14641         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14642         variable
14643
14644         * Bullet.C (bulletSize):
14645         (bulletEntry): do not use short ints as parameters
14646
14647         * BufferView2.C (insertLyXFile): change a char to an int.
14648
14649         * WorkArea.C (WorkArea): remove unneeded floats in computation
14650
14651 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14652
14653         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14654
14655         * paragraph.C (asString): Do not ignore newline/hfill chars when
14656         copying to the clipboard.
14657
14658 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14659
14660         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14661         after a multi-line inset.
14662
14663 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14664
14665         * paragraph.C (validate): Set NeedLyXFootnoteCode
14666
14667 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14668
14669         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14670         and decrease-error to decrease.
14671
14672 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14673
14674         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14675         it more readable (should be equivalent)
14676
14677 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14678
14679         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14680
14681 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14684         of a cursor (row, etc.) after a character has been deleted
14685         (deleteEmptyParagraphMechanism): call the method above on _all_
14686         cursors held by the LyXText when a double space has been
14687         detected/deleted.
14688
14689 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14690
14691         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14692         pixmap.
14693         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14694
14695         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14696         background. Use greyOut() and the new show() methods to toggle between
14697         the foreground and background. Add code to remove the splash after
14698         its initial showing.
14699
14700         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14701         (create_forms): no longer call Dialogs::showSplash.
14702
14703 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14704
14705         * .cvsignore: add version_info.h
14706
14707 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * version_info.h.in: new file
14710
14711         * Makefile.am: add version_info.h.in
14712
14713         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14714         version_info.h instead of VERSION_INFO
14715
14716 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14717
14718         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14719         The ERT inset now returns string().
14720
14721 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14722
14723         * lyxtext.h, text.C (selectNextWord): renamed as
14724         selectNextWordToSpellcheck.
14725
14726         * text.C (selectNextWordToSpellcheck): Modified to not select
14727         words inside an ERT inset.
14728
14729 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14730
14731         * lyx_cb.C (MenuLayoutSave): change a bit the question
14732
14733         * sp_base.h: include <sys/types.h>
14734
14735 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14736
14737         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14738
14739 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14740
14741         * several files: fix typos in user-visible strings
14742
14743 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * text2.C (pasteSelection): do not set the selection, since it
14746         will be cleared later. Actually, the intent was to fix the way the
14747         selection was set, but I figured rmoving the code was just as good.
14748
14749 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14750
14751         * FontLoader.C (available): Check if font is available without
14752         loading the font.
14753
14754 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14755
14756         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14757
14758 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14759
14760         * lyxrc.[Ch]: added display_graphics variable and associated code.
14761
14762 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * bufferparams.C (hasClassDefaults): new method. Returns true if
14765         the buffer parameters correspond to known class defaults
14766
14767 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14768
14769         * XFormsView.C (show): set minimum size to the main window.
14770
14771 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14772
14773         * text2.C (copySelection):
14774         (cutSelection):
14775         * lyxfind.C (LyXReplace):
14776         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14777         LyXText::selectionAsString.
14778
14779         * paragraph.C (asString): add "label" argument to the second form
14780
14781         * text2.C (selectionAsString): add "label" argument and pass it to
14782         Paragraph::asString.
14783
14784 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * lyx_main.C (commandLineHelp): remove version information
14787
14788 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14789
14790         * lyx_main.C: add -version commandline option
14791
14792 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14793
14794         * paragraph.h: make the optional constructor arg required instead.
14795         some modifications to other files because of this.
14796
14797         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14798
14799         * lyxserver.C (C_LyXComm_callback): make it static
14800
14801         * lyx_main.C (error_handler): make it static
14802
14803         * lyx_gui.C (LyX_XErrHandler): make it static
14804
14805         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14806
14807         * WorkArea.C: make the extern "C" methods static.
14808
14809         * Makefile.am (lyx_LDADD): simplify
14810
14811 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14812
14813         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14814         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14815
14816         * LyXAction.C (init):
14817         * lyxfunc.C (dispatch): associated code removal.
14818
14819 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14820
14821         * lyxfont.h (isSymbolFont): shut off warning
14822
14823         * text.C (setHeightOfRow):
14824         (getVisibleRow): fix crash with empty paragraphs which have a
14825         bottom line
14826
14827 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14828
14829         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14830         code.
14831
14832 2001-09-04  José Matos  <jamatos@fep.up.pt>
14833         * buffer.C
14834         * buffer.h
14835         * tabular.C (docbook): rename docBook method to docbook.
14836
14837 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14838
14839         * Makefile.am: add dependencies to main.o.
14840
14841 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14842
14843         * FontLoader.C (available): Return false if !lyxrc.use_gui
14844
14845 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14846
14847         * FontInfo.C (query):
14848         * converter.C (view):
14849         * importer.C (Import):
14850         * exporter.C (Export): Can not -> cannot.
14851
14852 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14853
14854         * BufferView_pimpl.C: allow to create index inset even if
14855           string is empty
14856
14857 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14858
14859         * buffer.C (getLists): replace boost::tie code with an explicit pair
14860         as boost::tie can break some compilers.
14861
14862         * iterators.h: Added a std:: declaration to the return type of
14863         ParIterator::size.
14864
14865 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14866
14867         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14868           case.
14869
14870 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14871
14872         * iterators.[Ch]: New files. Provide paragraph iterators.
14873
14874         * buffer.C (changeLanguage): Use paragraph iterators.
14875         (isMultiLingual): ditto
14876
14877         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14878
14879 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14880
14881         * FontLoader.C: Support for cmr font.
14882
14883 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14886         (available): New method.
14887
14888         * FontInfo.C (getFontname): Use scalable fonts even when
14889         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14890         found.
14891
14892 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14893
14894         * converter.C (Formats::view): reverted! Incorrect fix.
14895
14896 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14897
14898         * converter.C (Formats::view): only output the -paper option
14899         if the dvi viewer is xdvi, thereby fixing bug #233429.
14900
14901 2001-08-23  Herbert Voss  <voss@perce>
14902
14903         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14904
14905 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14906
14907         * Spacing.h (Spacing): Set space to Default on in the default
14908         constructor.
14909
14910 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14911
14912         * vc-backend.h (RCS::versionString): add RCS to version
14913         (CVS::versionString): add CVS to version
14914
14915         * vc-backend.C (scanMaster): do not add CVS to version.
14916         (scanMaster): do not add RCS to version
14917
14918         * lyxvc.C (versionString): new method
14919
14920         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14921
14922 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14923
14924         * Spacing.C (set): initialize fval
14925
14926 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14927
14928         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14929         " or \.
14930
14931 2001-08-16  Juergen Vigna  <jug@sad.it>
14932
14933         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14934
14935 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14936
14937         * BufferView_pimpl.C:
14938         * figureForm.C:
14939         * lyxtext.h:
14940         * text2.C: setParagraph takes linespacing now
14941
14942 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14943
14944         * LyxAction.C: add internal LFUN_CITATION_INSERT
14945
14946         * LyXView.C: actually apply fix
14947
14948         * bufferlist.C: fix open non-existent file
14949
14950         * lyxfind.C: fix indentation
14951
14952         * lyxfunc.C: remove unneeded assert, fix typo
14953
14954 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14955
14956         * MenuBackend.C: use "Floatname List"
14957
14958 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14959
14960         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14961         when converting LaTeX layout to insetERT.
14962         Generate a non-collapsed float when reading old float
14963
14964 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14965
14966         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14967         ERT insets.
14968
14969 2001-08-13  Juergen Vigna  <jug@sad.it>
14970
14971         * text.C (fill): return 0 instead of 20 as this seems to be the more
14972         correct value.
14973
14974 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14975
14976         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14977         lyxrc.font_norm.
14978
14979 2001-08-13  Juergen Vigna  <jug@sad.it>
14980
14981         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14982         casesensitive off.
14983         (SearchBackward): comment out the unlocking of the inset_owner this
14984         should not be needed!
14985
14986 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14987
14988         * Many files: Remove inherit_language, and add latex_language
14989
14990         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14991         collapsible insets.
14992
14993 2001-08-10  Juergen Vigna  <jug@sad.it>
14994
14995         * text.C (prepareToPrint): fixed hfill-width in draw!
14996
14997         * BufferView2.C (selectLastWord): save the selection cursor as this
14998         now is cleared in the function LyXText::clearSelection!
14999
15000 2001-08-08  Juergen Vigna  <jug@sad.it>
15001
15002         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15003         BACKSPACE type functions.
15004
15005         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15006         is only cutted from the document but not put in the cut-buffer, where
15007         still the old stuff should be.
15008
15009         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15010
15011         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15012
15013         * tabular.C (SetWidthOfCell): fixed special case where the width
15014         was not updated!
15015         (LeftLine): handle '|' in align_special.
15016         (RightLine): ditto
15017         (LeftAlreadyDrawed): ditto
15018         (SetWidthOfCell): ditto
15019
15020 2001-08-07  Juergen Vigna  <jug@sad.it>
15021
15022         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15023
15024 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15025
15026         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15027         * lyxlex.[hC]: ditto
15028
15029 2001-08-06  Juergen Vigna  <jug@sad.it>
15030
15031         * text.C (getVisibleRow): fix up row clearing a bit.
15032
15033 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15034
15035         * minibuffer.C: make sure the X server sees the changes in the input.
15036
15037 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15038
15039         * paragraph.C (getFont): split into...
15040         (getLabelFont): this
15041         (getLayoutFont): and this
15042         * paragraph_pimpl.C (realizeFont): calling this
15043
15044         * text2.C (getFont): split into...
15045         (getLayoutFont): this
15046         (getLabelFont): and this
15047         (realizeFont): all three calling this
15048
15049         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15050         files where used.
15051
15052 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15053
15054         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15055
15056 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15057
15058         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15059         layouts from the Quote inset insertion.
15060
15061 2001-08-03  Juergen Vigna  <jug@sad.it>
15062
15063         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15064
15065         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15066         only if status not is already CHANGED_IN_DRAW (second level).
15067
15068         * text.C (draw): don't set the need_break_row when inside an
15069         InsetText LyXText.
15070
15071 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * buffer.C (parseSingleLyXformat2Token): handle more latex
15074         conversion cases.
15075
15076         * bufferview_funcs.[hC]: change function names to
15077         begin with small char, adjust other files.
15078
15079 2001-08-02  André Pönitz <poenitz@gmx.net>
15080
15081         * lyxfunc.C:
15082         BufferView_pimpl.C: remove broken special code for math-greek
15083
15084 2001-08-02  Juergen Vigna  <jug@sad.it>
15085
15086         * BufferView_pimpl.C (update): redone this function so that we
15087         update the text again if there was a CHANGE_IN_DRAW.
15088
15089         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15090         (drawFromTo): added a new internal bool which is used by draw() and
15091         redraw() function.
15092         (general): some cursor drawing problems fixed.
15093
15094 2001-08-01  Juergen Vigna  <jug@sad.it>
15095
15096         * lyxfind.C (LyXFind): fixed
15097         (SearchForward): ditto
15098         (SearchBackward): ditto
15099
15100         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15101         spurius drawing of the cursor in the main area.
15102
15103         * text2.C (status): small fix which could lead to a segfault!
15104         (clearSelection): remove unneeded BufferView param.
15105
15106 2001-08-01  André Pönitz <poenitz@gmx.net>
15107
15108         * lyxfunc.C: small change due to changed mathed interface
15109
15110 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15111
15112         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15113
15114 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * lyxfunc.c: fail gracefully if file doesn't exist
15117
15118         * LyXSendto.C:
15119         * buffer.C:
15120         * lyxfunc.C:
15121         * BufferView_pimpl.C: IsDirWriteable() proto changed
15122
15123         * LyXView.C: fix updateWindowTitle() to store the last title
15124
15125 2001-07-31  Juergen Vigna  <jug@sad.it>
15126
15127         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15128         the font (wrong since using of Paragraph::highestFontInRange).
15129
15130         * paragraph.C (highestFontInRange): added a default_size parameter.
15131
15132         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15133         (setHeightOfRow): reformat
15134
15135 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * converter.[hC] + affected files: move to (inital-char)lowercase
15138         function names.
15139
15140         * ParagraphParameters.C (ParagraphParameters): remove commented code
15141
15142         * PainterBase.[Ch]: remove commented code
15143
15144         * LaTeXFeatures.h: add "bool floats" for float.sty
15145
15146         * LaTeXFeatures.C (LaTeXFeatures): init floats
15147         (require): handle float
15148         (getPackages): do it with floats
15149
15150 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15151
15152         * BufferView_pimpl.C (Dispatch): improve handling of
15153         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15154
15155         * commandtags.h: #include lyxfont.h here temporarily to avoid
15156         keybinding bug.
15157
15158         * bufferlist.h: include LString.h here.
15159
15160 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15161
15162         * text2.C (getStringToIndex): new method.
15163
15164 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15165
15166         * *: Reduced header file dependencies all over.
15167
15168 2001-07-30  Baruch Even  <baruch@lyx.org>
15169
15170         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15171
15172 2001-07-29  Baruch Even  <baruch@lyx.org>
15173
15174         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15175
15176 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15177
15178         * ParameterStruct.h (endif): add a default constructor to make
15179         sure that all variables is initialized.
15180
15181         * ParagraphParameters.C (ParagraphParameters): adjust
15182
15183 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15184
15185         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15186         index; also, check that there is something to index, and that it
15187         does not span over several paragraphs.
15188         (doubleClick): use WHOLE_WORD_STRICT for double click.
15189
15190         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15191
15192         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15193         scheme.
15194
15195 2001-07-26  Baruch Even  <baruch@lyx.org>
15196
15197         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15198         an InsetFig figure, backwards compatible reading of old figure code.
15199
15200 2001-07-27  Juergen Vigna  <jug@sad.it>
15201
15202         * text2.C: font.realize function adaption.
15203
15204         * text.C (draw): add a warnings lyxerr text if needed.
15205
15206         * layout.C: font.realize function adaption.
15207
15208         * language.C: add inherit_language and implement it's handlings
15209
15210         * bufferview_funcs.C (StyleReset): remove language parameter from
15211         font creation (should be language_inherit now).
15212
15213         * bufferparams.C (writeFile): handle ignore_language.
15214
15215         * paragraph.C (getFontSettings): the language has to be resolved
15216         otherwise we have problems in LyXFont!
15217
15218         * lyxfont.C (lyxWriteChanges): added document_language parameter
15219         (update): removed unneeded language parameter
15220
15221         * paragraph.C (validate): fixed wrong output of color-package when
15222         using interface colors for certain fonts in certain environments,
15223         which should not seen as that on the final output.
15224
15225 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15226
15227         * BufferView_pimpl.C:
15228         * Thesaurus.h:
15229         * Thesaurus.C:
15230         * Makefile.am:
15231         * commandtags.h:
15232         * LyXAction.C: add thesaurus support
15233
15234         * lyxfind.h:
15235         * lyxfind.C: add "once" parameter, for thesaurus, to not
15236           move to the next match
15237
15238 2001-07-26  Juergen Vigna  <jug@sad.it>
15239
15240         * lyxfont.C (realize): honor ignore_language too!
15241         (resolved): ditto.
15242
15243         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15244
15245         * text.C (draw): one place more for ignore_language to not draw
15246         itself!
15247
15248 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15249
15250         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15251
15252 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15253
15254         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15255         the minipage conversion problem.
15256
15257 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15260         insert an inset.
15261
15262 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15263
15264         * BufferView.h: don't forward declare WorkArea
15265
15266         * BufferView.C: don't include WorkArea.h
15267
15268 2001-07-25  André Pönitz <poenitz@gmx.net>
15269
15270         * commandtags.h:
15271         * LyXAction.C:
15272         * lyxfunc.C:  new LFUN 'math-space'
15273
15274         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15275
15276 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15277
15278         * text2.C (toggleInset): call open/close
15279
15280 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15281
15282         * lyxfunc.C (dispatch): add debug for the disabled case
15283
15284         * font.C (buttonText): make similar to rectText
15285
15286         * buffer.C (readInset): comment out parsing of insetlist and
15287         insttheorem
15288
15289         * PainterBase.C (rectText): small correction
15290
15291         * BufferView_pimpl.C: comment out insettheorem and insetlist
15292         * LyXAction.C: ditto
15293         * commandtags.h: ditto
15294
15295 2001-07-24  Juergen Vigna  <jug@sad.it>
15296
15297         * text.C (draw): honor the ignore_language.
15298
15299         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15300
15301 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15304         char inset.
15305
15306 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15307
15308         * lyxtext.h: remove unused (and unimplemented) methods
15309
15310 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15311
15312         * text.C (getVisibleRow): honor background color
15313
15314         * PainterBase.h:
15315         * Painter.h: remove default color argument for fillRectangle
15316
15317         * text.C (backgroundColor): new method
15318
15319 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15320
15321         * text.C (getVisibleRow): adjust
15322
15323         * font.[Ch] (rectText): new method, metrics
15324         (buttonText): new method, metrics
15325
15326         * PainterBase.[hC]: make rectText and buttonText always draw and take
15327         fewer paramteres.
15328
15329 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15330
15331         * ToolbarDefaults.C (read):
15332         * MenuBackend.C (read): allow escaping in all strings
15333
15334         * BufferView_pimpl.C (insertAndEditInset): new method.
15335         (Dispatch): use insertAndEditInset whenever appropriate.
15336
15337         * BufferView_pimpl.C (insertNote): removed
15338
15339         * BufferView_pimpl.C (smartQuote): new method, moved from
15340         BufferView; if an insetquote cannot be inserted, insert a '"'
15341         character instead.
15342
15343         * BufferView2.C: remove insertCorrectQuote();
15344
15345         * lyxfunc.C (getStatus): Add support for all remaingin
15346         inset-insert lfuns.
15347
15348         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15349
15350         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15351         command (necessary to pass " as parameter of self-insert.
15352
15353         * text.C (selectWordWhenUnderCursor):
15354         (selectWord): add word_location parameter
15355         (selectWordWhenUnderCursor): same + remove special code for word
15356         boundary.
15357         (selectNextWord): use kind() to guess type of insetspecialchar,
15358         not latex().
15359
15360         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15361         (insertErtContents): create ert insets as collapsed.
15362         (readInset): better compatibility code for Info inset.
15363
15364 2001-07-20  Juergen Vigna  <jug@sad.it>
15365
15366         * lyxfunc.C (dispatch): use always LyXFind now!
15367
15368         * text2.C (init): add a reinit flag so that the LyXText can be
15369         reinited instead of deleted and reallocated (used in InsetText).
15370
15371         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15372
15373         * text.C: ditto
15374
15375         * text2.C: ditto
15376
15377 2001-07-18  Juergen Vigna  <jug@sad.it>
15378
15379         * text.C (selectNextWord): handle insets inside inset by calling
15380         always the bv->text functions so that we can go up the_locking_inset!
15381
15382         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15383         in strange locations when inside an inset!
15384
15385         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15386         handling to include insets.
15387
15388         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15389
15390 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * LyXAction.C (init):
15393         * commandtags.h:
15394         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15395         LIGATURE_BREAK, since the name is so stupid.
15396
15397 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15398
15399         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15400         InsetInfos.
15401
15402         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15403
15404         * sp_form.[Ch]: remove.
15405
15406         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15407
15408         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15409         InsetInfo.
15410
15411         * src/buffer.C (readInset): ditto.
15412
15413 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15414
15415         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15416         menuSeparator(), endOfSentenceDot(), ldots() and
15417         hyphenationPoint(), which are therefore removed.
15418         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15419
15420         * LyXAction.C (init):
15421         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15422
15423         * paragraph.C (getWord): removed.
15424
15425         * BufferView_pimpl.C (Dispatch): use last word or selection for
15426         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15427
15428         * lyx_main.C (queryUserLyXDir): do not ask before creating
15429         user_dir, except if it has been named explicitely.
15430
15431 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15432
15433         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15434         a document of zero size.
15435
15436 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15437
15438         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15439         approriately in the c-tor and in require().
15440         (getPackages): output the appropriate LaTeX for natbib support.
15441
15442         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15443         variables "use_natbib" and "use_numerical_citations" when reading the
15444         LyX file.
15445         (readInset): read the various natbib cite commands.
15446         (validate): white-space change.
15447
15448         * bufferparams.[Ch]: new variables "bool use_natbib" and
15449         "bool use_numerical_citations".
15450         (writeFile): output them in the LyX file.
15451
15452 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15453
15454         * lyxfunc.C (getStatus): add support for all the inset insertion
15455         commands.
15456
15457         * text2.C (insertInset):
15458         * paragraph.C (insetAllowed):
15459         * BufferView_pimpl.C (insertInset): update to take in account the
15460         renaming of insertInsetAllowed
15461
15462         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15463
15464         * text2.C (getInset): new method. returns inset at cursor position.
15465
15466         * BufferView_pimpl.C (Dispatch): changes because of this.
15467
15468         * LyXAction.C (init): rename open-stuff to inset-toggle.
15469
15470         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15471
15472         * text2.C (toggleInset): renamed from openStuff; use
15473         Inset::open().
15474
15475 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15476
15477         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15478
15479         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15480
15481 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15482
15483         * buffer.C (readLyXformat2): Add filename to the error dialog
15484
15485 2001-07-18  Juergen Vigna  <jug@sad.it>
15486
15487         * tabular.C (GetCellNumber): put an assert here instead of the check!
15488
15489 2001-07-17  Juergen Vigna  <jug@sad.it>
15490
15491         * BufferView_pimpl.C (toggleSelection): adapted too.
15492
15493         * text.C (selectNextWord): adapted for use with insets.
15494         (selectSelectedWord): ditto
15495
15496 2001-07-17  Juergen Vigna  <jug@sad.it>
15497
15498         * sp_spell.C (PSpell): fix initialitation order.
15499
15500 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15501
15502         * paragraph.C: spacing
15503
15504 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15505
15506         * sp_spell.C: repair language selection for pspell
15507
15508 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15509
15510         * lyxfunc.h: change more methods to begin with lower char.
15511
15512 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15513
15514         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15515         for unknown layouts.
15516
15517 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15518
15519         * buffer.C (readLyXformat2): Generate an error dialog if there are
15520         unknown layouts.
15521
15522 2001-07-16  Juergen Vigna  <jug@sad.it>
15523
15524         * sp_spell.C: always compile ISpell part.
15525
15526         * lyxrc.C: added use_pspell entry and it's handling.
15527
15528 2001-07-13  Juergen Vigna  <jug@sad.it>
15529
15530         * sp_spell.C: removed double includes.
15531
15532 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15533
15534         Consistent use of Lsstream.h:
15535         * Lsstream.h: added using std::stringstream for consistencies sake.
15536
15537         * buffer.C: removed using std::stringstream
15538
15539         * lyxfont.C (stateText):
15540         * paragraph.C (asString):
15541         * text.C (selectNextWord, selectSelectedWord):
15542         * text2.C (setCounter):
15543         * vspace.C (asString, asLatexString):
15544         std::ostringstream -> ostringstream.
15545
15546 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15547
15548         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15549         * commandtags.h: add LFUN_HELP_ABOUTLYX
15550         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15551
15552 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15553
15554         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15555         cursorToggle()
15556         * lyx_gui_misc.C: remove spellchecker
15557         * lyxfunc.C: showSpellchecker
15558         * sp_base.h: added
15559         * sp_ispell.h: added
15560         * sp_pspell.h: added
15561         * sp_spell.C: added
15562         * sp_form.[Ch]: removed
15563         * spellchecker.[Ch]: removed
15564
15565 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15566
15567         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15568         is set.
15569         (simpleTeXSpecialChars): Simply print the input character without
15570         any special translation if pass_thru is set.
15571
15572         * layout.h: Added bool pass_thru to layout class for being able to
15573         implement pass through of a paragraph for Literate Programming.
15574
15575         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15576         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15577         * layout.C (Read): add "passthru" to list of layout tags and add
15578         code to set the pass_thru boolean when it is read.
15579
15580 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15581
15582         * trans_decl.h: remove allowed from KmodInfo
15583
15584         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15585         remove allowed code
15586         (Load): adjust
15587
15588         * paragraph_pimpl.C (erase): use boost::prior
15589
15590         * Painter.C (text): use data() instead of c_str() when length is
15591         also provided.
15592         * WorkArea.C (putClipboard): ditto
15593         * font.h (width): ditto
15594
15595         * BufferView2.C: use it-> instead of (*it). for iterators
15596         * texrow.C: ditto
15597         * paragraph_pimpl.C: ditto
15598         * paragraph.C: ditto
15599         * minibuffer.C: ditto
15600         * language.C: ditto
15601         * kbmap.C: ditto
15602         * encoding.C: ditto
15603         * counters.C: ditto
15604         * converter.C: ditto
15605         * chset.C: ditto
15606         * Variables.C: ditto
15607         * TextCache.C: ditto
15608         * MenuBackend.C: ditto
15609         * LyXAction.C: ditto
15610         * LColor.C: ditto
15611         * FloatList.C: ditto
15612         * DepTable.C: ditto
15613         * ColorHandler.C (LyXColorHandler): ditto
15614
15615 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15616
15617         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15618
15619         * text2.C (openStuff): reintroduce this method (which had been
15620         nuked in NEW_INSETS frenzy).
15621
15622         * lyxfunc.C (Dispatch): when an action has not been handled, use
15623         its name in the error message, not its number.
15624
15625         * paragraph.C (inInset): change method name to begin with lowercase.
15626
15627         * undo_funcs.C:
15628         * text2.C: updates because of this.
15629
15630 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15631
15632         * ToolbarDefaults.C (add): add spaces in error message
15633
15634 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15635
15636         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15637         (readLyXformat2): rename return_par to first_par, use lyxlex's
15638         pushToken and remove the manual push handling.
15639         (parseSingleLyXformat2Token): add another ert comp. variable:
15640         in_tabular, rename return_par to first_par. handle newlines better
15641
15642 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15643
15644         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15645
15646 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15647
15648         * text2.C (getParFromID): removed
15649
15650         * buffer.C (getParFromID): new method moved form lyxtext.
15651         * BufferView2.C (insertErrors): adjust
15652         (setCursorFromRow): adjust
15653         * BufferView_pimpl.C (restorePosition): adjust
15654         * lyxfunc.C (Dispatch): adjust
15655         * undo_funcs.C (textUndo): adjust
15656         (textRedo): adjust
15657         (textHandleUndo): adjust
15658         (textHandleUndo): adjust
15659
15660 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15661
15662         * buffer.C: up' the LYX_FORMAT
15663
15664         * lyxfont.h: turn NO_LATEX on as default
15665
15666         * buffer.C (insertErtContents): new methods of tex style compability.
15667         (parseSingleLyXformat2Token): use it several places.
15668         * tabular.C (OldFormatRead): and here
15669
15670 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * text2.C: remove some commented code.
15673         reindent file.
15674
15675         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15676         * trans.C: changes because of the above.
15677
15678 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15679
15680         * text2.C (setCounter): Fix counters bug with bibliography layout.
15681
15682 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15683
15684         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15685         own member functions
15686         (simpleTeXSpecialChars): ditto
15687
15688 2001-07-06  Juergen Vigna  <jug@sad.it>
15689
15690         * a lot of files: changed the access to LyXText::status and the
15691         call of undo-functions.
15692
15693         * undo.[Ch]: added a inset_id to the undo informations.
15694
15695         * undo_funcs.[Ch]: added and moved here all undo functions.
15696
15697         * lyxtext.h: give the status enum a weight, made status_ a private
15698         variable and made accessor functions for it, removed the whole bunch
15699         of undo-functions as they are now in their own file, make some
15700         functions publically available. Added function ownerParagraph with
15701         int parameter.
15702
15703         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15704         made InInset() a const function, added getParFromID() function.
15705
15706         * buffer.[Ch]: added const version for inset_iterator functions,
15707         added getInsetFromID() function.
15708
15709         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15710         changed undo functions for new version.
15711
15712 2001-07-05  Juergen Vigna  <jug@sad.it>
15713
15714         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15715         unknow mechanism does not call the proper constructor but only this
15716         one also if I request the other!?
15717
15718 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15719
15720         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15721
15722         * text2.C (LyXText): use initialization lists.
15723
15724         * lyxtext.h (Selection): initialize set_ and mark_
15725         (init): remove method
15726
15727 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15728
15729         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15730
15731 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15732
15733         * screen.[Ch]: change method names to begin with lowercase
15734
15735         * BufferView_pimpl.C (updateScrollbar): simplify further and
15736         hopefully make it a bit faster.
15737
15738 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15739
15740         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15741         calling directly xforms functions.
15742
15743         * Painter.C (Painter):
15744         * lyx_cb.C (MenuWrite):
15745         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15746         fl_display.
15747
15748         * lyx_gui.C: remove bogus guiruntime extern declaration.
15749
15750 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15751
15752         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15753         in NEW_INSETS
15754         (redoDrawingOfParagraph): ditto
15755         (redoParagraphs): ditto
15756         (cutSelection): don't create a object for CutAndPaste use the
15757         static method directly
15758         (pasteSelection): ditto
15759
15760         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15761         LyXview (+ rename)
15762
15763 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15764
15765         * modifications to some other files because of this.
15766
15767         * Makefile.am (lyx_SOURCES): add XFormsView
15768
15769         * XFormsView.[Ch]: new files
15770
15771         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15772         the main window. Move the gui dependent stuff to XFormsView
15773
15774 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15775
15776         * tabular.C (GetCellInset): update cur_cell also in the row/col
15777         version of this function.
15778
15779         * lyxfunc.C: no need to include figure_form.h here.
15780
15781         * FontLoader.h:
15782         * lyxfunc.h:
15783         * lyxscreen.h:
15784         * text2.C:
15785         * lyxvc.C: no need to include forms.h here.
15786
15787 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15788
15789         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15790
15791         * lyxfunc.C (Dispatch):
15792         * Spacing.C (set):
15793         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15794         constructor argument.
15795
15796 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15797
15798         * paragraph.C (Paragraph): dont't clear, and just set layout.
15799         (makeSameLayout): use params's copy contructor.
15800
15801         * ParagraphParameters.[Ch] (makeSame): delete method
15802
15803 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15804
15805         * Variables.[Ch]: fix indentation, rename set to isSet
15806
15807 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15808
15809         * lyxfunc.C (Dispatch): fix typo
15810
15811 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15812
15813         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15814         upper_bound.
15815
15816         * bufferlist.C: include assert.h for emergencyWrite().
15817
15818 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15819
15820         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15821           give up at last (bug #425202) !
15822
15823 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15824
15825         * lyx_gui_misc.C:
15826         * sp_form.h:
15827         * sp_form.C:
15828         * spellchecker.h:
15829         * spellchecker.C: strip spellchecker options and bring up
15830           preferences tab instead
15831
15832 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15833
15834         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15835         the istringstream constructor
15836
15837 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15838
15839         * paragraph.C (getLayout): fix return value
15840
15841         * paragraph.h: do not declare getLayout as inline.
15842
15843         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15844
15845 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15846
15847         * lyxcursor.h (operator<): new func
15848         (operator>): new func
15849         (operator>=): new func
15850         (operator<=): new func
15851
15852         * text.C (changeCase): use selection.start and selection.end
15853         (changeRegionCase): require from to be <= to. Require par to be a
15854         valid paragraph.
15855
15856         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15857
15858 2001-06-27  Juergen Vigna  <jug@sad.it>
15859
15860         * text.C (cursorLeftOneWord): changed to return the cursor and added
15861         overlay with BufferView * parameter which calls this one.
15862         (getWord): added
15863         (selectWord): use new getWord function.
15864         (changeCase): renamed from changeWordCase as and extended to work
15865         also on selections.
15866
15867         * lyxtext.h: added enum word_location
15868
15869         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15870         changeCase as this operates now also on selections.
15871
15872 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15873
15874         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15875
15876         * many files: send debug output to Debug::INFO instead of
15877         Debug::ANY.
15878
15879         * converter.C (View):
15880         (Convert):
15881         (Move): send debug output to Debug::FILES instead of console.
15882
15883 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15884
15885         * lyxfunc.C (getStatus): use func_status
15886
15887         * func_status.h: new header, describing the results of
15888         LyXFunc::getStatus;
15889
15890         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15891         LFUN_MATH_HALIGN.
15892
15893 2001-06-25  The LyX Project  <jug@sad.it>
15894
15895         * buffer.C (sgmlOpenTag):
15896         (sgmlCloseTag):
15897         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15898
15899 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15900
15901         * text2.C: remove some dead code
15902
15903         * tabular.C (GetCellInset): store the last cell checked (gotten)
15904
15905         * tabular.h: add the helper for the speedup
15906
15907         * lyxtext.h: remove some dead code
15908
15909 2001-06-26  The LyX Project  <Asger>
15910
15911         * paragraph.C: Change export to LaTeX of alignment to
15912         \begin{center} and family for better roundtrip work with reLyX.
15913
15914         * Tune the math drawing a bit.
15915
15916 2001-06-25  The LyX Project  <Asger>
15917
15918         * LColor.C (LColor): New color for math background. New color
15919         for buttons.
15920
15921 2001-06-25  The LyX Project  <jug@sad.it>
15922
15923         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15924
15925         * lyxfunc.C (Open):
15926         * bufferlist.C (newFile): do not restrict to files ending with
15927         .lyx
15928
15929         * BufferView_pimpl.C (MenuInsertLyXFile):
15930
15931 2001-06-24  The LyX Project  <jug@sad.it>
15932
15933         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15934         of compare_no_case
15935
15936 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * lyxtext.h: rename most methods to begin with a small char.
15939         Lots of changes because of this.
15940
15941         * paragraph.C (Paragraph): do not call fitToSize
15942         (erase): call Pimpl::erase
15943         (insertChar): call Pimpl::insertChar
15944         (insertInset): call Pipl::insertInset
15945         (breakParagraph): do not call fitToSize
15946         (breakParagraphConservative): do not call fitToSize
15947         (fitToSize): remove method
15948
15949         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15950
15951 2001-06-24  The LyX Project  <Asger>
15952
15953         * Fix Qt compilation^2
15954
15955 2001-06-24  The LyX Project  <jug@sad.it>
15956
15957         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15958         depthHook(getDepth()-1).
15959
15960         * paragraph.h:
15961         * ParagraphParameters.h:
15962         * ParameterStruct.h: change type of depth to unsigned int ==
15963         depth_type. Many adaptations to other files before of that.
15964
15965 2001-06-24  The LyX Project  <Asger>
15966
15967         * Fix Qt compilation.
15968
15969 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15970
15971         * paragraph.h: renamed several methods to begin with small letter.
15972         several changes to many parts of the code because of this.
15973
15974 2001-06-23  The LyX Project  <jug@sad.it>
15975
15976         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15977         rewritten to discard all double spaces when KeepEmpty is off
15978         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15979         to only handle newlines but not fiddle with spaces and friends.
15980
15981         * lyxfunc.C (MenuNew): when doing 'new from template', use
15982         template_path as default directory
15983
15984 2001-06-23  The LyX Project  <Asger>
15985
15986         * Clean-up of header file includes all over
15987         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15988
15989 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15990
15991         * paragraph.h: renamed from lyxparagraph.h
15992
15993 2001-06-23  Asger  <lyx@violet.home.sad.it>
15994
15995         * Buffer.h: Removed Buffer::resize
15996         * BufferList.h: Removed BufferList::resize
15997         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15998         the document lazily when we change the width, or the font settings.
15999
16000 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16001
16002         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16003
16004 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * buffer.h: remove out of date comment
16007
16008 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16009
16010         * lyxscreen.h:
16011         * screen.C: fix "theoretical" GC leak
16012
16013 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16014
16015         * LaTeX.C (scanAuxFile):
16016         (deplog): remove trailing \r when reading stream (useful under
16017         win32)
16018
16019 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16020
16021         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16022         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16023         and BufferView::theLockingInset(Inset*), so should use them and not
16024         access bv_->text->the_locking_inset directly.
16025
16026         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16027
16028 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16029
16030         * Makefile.am:
16031         * tex-defs.h: remove old unused file
16032
16033 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16034
16035         * BufferView_pimpl.C: fix typo, remove minibuffer message
16036           when buffer has loaded
16037
16038 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16039
16040         * lyxfunc.C (Dispatch): use stringstream
16041         (MenuNew): use stringstream
16042         (Open): use stringstream
16043
16044         * importer.C (Import): use stringstream
16045
16046         * bufferview_funcs.C (CurrentState): use stringstream
16047
16048         * LaTeX.C (run): use stringstream
16049
16050         * BufferView_pimpl.C (savePosition): use stringstream
16051         (restorePosition): use stringstream
16052         (MenuInsertLyXFile): use stringstream
16053
16054 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16055
16056         * BufferView.C:
16057         * Bullet.C:
16058         * ColorHandler.C:
16059         * FontInfo.C:
16060         * FontLoader.C:
16061         * LColor.C:
16062         * LaTeXFeatures.C:
16063         * Painter.C:
16064         * gettext.C:
16065         * lyx_gui_misc.C:
16066         * lyxserver.C:
16067         * vspace.C: removed // -*- C++ -*- as first line.
16068
16069         * lyxfind.h:
16070         * version.h: added // -*- C++ -*- as first line.
16071
16072 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16073
16074         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16075
16076         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16077         of string
16078
16079 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16080
16081         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16082         of floats.
16083
16084 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16085
16086         * gettext.C: include LString.h even when --disable-nls is on.
16087
16088 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16089
16090         * converter.h (Get): changed argument type from int to
16091         FormatList::size_type to avoid unnecessary conversion.
16092
16093         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16094         before using it.
16095
16096 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16097
16098         * gettext.h: include LString.h even when --disable-nls is on.
16099
16100 2001-06-07  Juergen Vigna  <jug@sad.it>
16101
16102         * text.C (BreakAgain): subst spaces with tabs.
16103
16104         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16105         (resizeInsetsLyXText): set force on resizeLyXText.
16106
16107 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * gettext.h (gettext_init):
16110         (locale_init): use a real definition instead of a macro
16111
16112 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16113
16114         * Bufferview_pimpl.C:
16115         * LColor.h:
16116         * LColor.C: further lcolor tidies
16117
16118 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16119
16120         * BufferView_pimpl.C (updateScrollbar): simplify.
16121
16122         * BufferView2.C: don't include insets/insetinfo.h, change
16123         prototype for insertInset and call the Pimpl version. let
16124         updateInset call Pimpl version.
16125
16126         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16127         gotoInset to BufferView::Pimpl
16128
16129 2001-06-01  Juergen Vigna  <jug@sad.it>
16130
16131         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16132         inside a LockingInset (is the update needed at all?).
16133
16134 2001-05-31  Juergen Vigna  <jug@sad.it>
16135
16136         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16137         here not the old one otherwise how should we compare it afterwards
16138         if it's the same!
16139
16140 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16141
16142         * lyxfont.C:
16143         * tabular.C:
16144         * tabular-old.C:
16145         * FontInfo.C: bring C functions into global namespace when
16146         necessary
16147
16148 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16149
16150         * LString.h: make sure config.h has been loaded before LString.h.
16151
16152         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16153         (one for each char read by EatLine!).
16154
16155         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16156         variables.
16157
16158 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16159
16160         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16161         to the same as the par we break from
16162
16163 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16164
16165         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16166
16167         * MenuBackend.C (expand): also create menu entries for wide
16168         versions of the floats.
16169
16170         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16171
16172         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16173
16174         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16175         frontends/Makefile.am
16176
16177         * text2.C: adjust
16178         * text.C: adjust
16179
16180
16181         * tabular.C (getTokenValue): add std::
16182
16183         * tabular-old.C (getTokenValue): add std::
16184         (getTokenValue): ditto
16185         (getTokenValue): ditto
16186
16187         * screen.C (ToggleSelection): adjust
16188
16189         * lyxtext.h: put selection cursors inside a Selection struct.
16190
16191         * lyxfunc.C (moveCursorUpdate): adjust
16192
16193         * lyxfont.C (latexWriteStartChanges): add std::
16194
16195         * lyxfind.C: adjust
16196
16197         * font.h: delete with(char const *, LyXFont const &)
16198
16199         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16200
16201         * FontInfo.C (getFontname): add std::
16202
16203         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16204         (workAreaButtonPress): adjust
16205         (tripleClick): adjust
16206         (update): adjust
16207         (moveCursorUpdate): adjust
16208         (Dispatch): adjust
16209
16210         * BufferView2.C (gotoInset): adjust
16211
16212 2001-05-30  Juergen Vigna  <jug@sad.it>
16213
16214         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16215         to check pspell I add this as default as I now have new pspell
16216         libraries and they seem to use this.
16217
16218 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16219
16220         * text2.C (CutSelection): make the cursor valid before the call to
16221         ClearSelection.
16222
16223 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16224
16225         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16226         relied on 0 terminated strings and other horrors. Bug found due to
16227         the new assert in lyxstring!
16228
16229         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16230         KP_ keys.
16231
16232 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16233
16234         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16235         to latinkeys.bind.
16236
16237         * lyxfunc.C (processKeySym): change method of getting to the
16238         self-insert char.
16239
16240         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16241         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16242         * BufferView_pimpl.[Ch]: here as private methods.
16243
16244 2001-05-28  Juergen Vigna  <jug@sad.it>
16245
16246         * text.C (SetHeightOfRow): added the update() call again as it is
16247         needed to initialize inset dimensions!
16248
16249 2001-05-16  Juergen Vigna  <jug@sad.it>
16250
16251         * text2.C (SetCharFont): Add new function with BufferView * and
16252         bool toggleall parameters for setting insets internal fonts.
16253         (SetFont): Freeze the undo as we may change fonts in Insets and
16254         all this change should be inside only one Undo!
16255
16256         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16257         setting font's in insets as for them we have the SetFont function!
16258
16259 2001-05-15  Juergen Vigna  <jug@sad.it>
16260
16261         * text2.C (ClearSelection): to be sure we REALLY don't have any
16262         selection anymore!
16263
16264         * tabular.C (TeXCellPreamble): fixed the left border problem for
16265         multicolumn cells.
16266
16267 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16268
16269         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16270         dependancy file
16271
16272 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16273
16274         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16275         LFUN_BREAKPARAGRAPH.
16276
16277         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16278         help test to "internal only", similar for LFUN_INSERT_URL
16279
16280         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16281         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16282         auto_region_delete and deadkeys.
16283
16284 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16285
16286         * LColor.h:
16287         * LColor.C: remove some dead entries, tidy a little
16288
16289 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16290
16291         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16292         commented code.
16293         (Dispatch): implement LFUN_ESCAPE
16294
16295         * commandtags.h: add LFUN_ESCAPE
16296
16297         * LyXAction.C (init): add entry for LFUN_ESCAPE
16298
16299         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16300         Remove commented code.
16301         (insertNote): moved here
16302         (open_new_inset): moved here
16303
16304         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16305         BufferView_pimpl
16306
16307 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16308
16309         * kbmap.C (findbinding): clean it up and make it work correctly.
16310
16311         * lyx_main.C (init): do not pass argc and argv as parameters
16312
16313 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16314
16315         * buffer.C: fix path for OS/2 & Win32
16316
16317         * lyx_gui.C:
16318         * lyx_main:
16319         * lyx_main.C: Added os:: class.
16320
16321         * os2_defines.h: update
16322
16323 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16324
16325         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16326         better by trying again with reduced state.
16327
16328 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16329
16330         * lyxrc.C (read): print error about invalid key sequence only when
16331         debugging (because not all latinX keysyms are known to some X
16332         servers)
16333
16334         * kbsequence.C (getiso): add a few std:: qualifiers
16335         (getiso): comment out extra return statement.
16336
16337 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16338
16339         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16340         handling.
16341         (Dispatch): enhance the accent inset a bit. (not perfect)
16342
16343 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16344
16345         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16346
16347 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16348
16349         * bufferlist.C (emergencyWrite): fix assert() call
16350
16351 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16352
16353         * text.C (InsertChar): Added trivial patch to only send the "you
16354         can not do multiple spaces this way" message once during a
16355         session.
16356
16357 2001-05-08  Baruch Even  <baruch@lyx.org>
16358
16359         * Makefile.am: Changed order of libraries to get LyX to link properly
16360         with the gnome frontend.
16361
16362 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * LaTeXFeatures.h: add a std:: qualifier
16365
16366 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16367
16368         * paragraph.C (String): use stringstream
16369
16370 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16371
16372         * paragraph.C (writeFile): remove footflag arg
16373
16374         * buffer.C (makeLaTeXFile): use stringstream
16375         (latexParagraphs): remove footnot gurba
16376
16377         * LaTeXFeatures.C (getPackages): use stringstream
16378         (getMacros): likewise
16379         (getTClassPreamble): likewise
16380         (getFloatDefinitions): new method
16381
16382         * paragraph.C (writeFile): reindent
16383         (Erase): reindent
16384
16385         * WorkArea.h: revert the xpos + etc changes.
16386
16387         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16388
16389         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16390
16391         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16392         (pasteSelection): likewise
16393         * text2.C (CreateUndo): likewise
16394
16395 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16396
16397         * minibuffer.C (peek_event): temporarily reduce the functionality
16398         of the minibuffer (to allow args on lfuns)
16399
16400         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16401         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16402
16403         * buffer.C (readInset): add compability reading of old float
16404         lists, add reading of new style float list.
16405         (readInset): avoid reevaluation of inscmd.getCmdName()
16406         (getLists): reindent
16407
16408         * MenuBackend.C (MenuItem): implement parsing of
16409         md_floatlistinsert and md_floatinsert.
16410         (expand::LastFiles): move initalizaton of iterators out of loop,
16411         avoid reevaluation.
16412         (expand::Documents): introduce typdedef vector<string> Strings,
16413         and use it.
16414         (expand::ExportFormats): introduce typedef vector<Format const *>
16415         Formats, and use it.
16416         (expand): implement FloatListInsert and FloatInsert.
16417
16418         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16419         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16420         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16421
16422         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16423         handling.
16424         (Dispatch::LFUN_FLOAT_LIST): implement
16425
16426 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16427
16428         * LaTeX.C (run): Fix problem with --export code.
16429
16430 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16431
16432         * BufferView.[Ch] (workarea): removed.
16433         (getClipboard) new method; wrapper for workarea()->getClipboard()
16434
16435         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16436         bug.
16437
16438         * WorkArea.h (width, height, xpos, ypos): These methods all
16439         returned the dimensions of the work_area sub-area of WorkArea,
16440         resulting in a position error if the WorkArea were resized. Now
16441         return the dimensions of the entire WorkArea.
16442
16443         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16444
16445 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16446
16447         * LaTeX.C (deplog): correct the syntax of regex reg1
16448
16449 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16450
16451         * undo.C: remove !NEW_INSETS cruft
16452
16453 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * text2.C: remove !NEW_INSETS cruft
16456
16457         * text.C: remove !NEW_INSETS cruft
16458
16459         * tabular.C: remove !NEW_INSETS cruft
16460
16461         * spellchecker.C: remove !NEW_INSETS cruft
16462
16463         * lyxtext.h: remove !NEW_INSETS cruft
16464
16465         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16466
16467         * lyxfunc.C: remove !NEW_INSETS cruft
16468
16469         * lyxfind.C: remove !NEW_INSETS cruft
16470
16471         * lyx_cb.C: remove !NEW_INSETS cruft
16472
16473         * figureForm.C: remove  !NEW_INSETS cruft
16474
16475         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16476
16477         * buffer.[Ch]: remove !NEW_INSETS cruft
16478
16479         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16480
16481         * CutAndPaste.C: remove !NEW_INSETS cruft
16482
16483         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16484
16485         * BufferView2.C: remove !NEW_INSETS cruft
16486
16487         * BufferView.h: remove !NEW_INSETS cruft
16488
16489 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16490
16491         * Lsstream.h: include LString.h before the sstream headers to
16492         fix problem with gcc 2.95.3 and lyxstring
16493
16494 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16495
16496         * lyx_main.C: add using directives when needed for C functions
16497         declared in std:: namespace.
16498
16499 2001-04-27  Juergen Vigna  <jug@sad.it>
16500
16501         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16502         (SetHeightOfRow): comment out the update call should not be needed!
16503
16504 2001-04-13  Juergen Vigna  <jug@sad.it>
16505
16506         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16507         (LyXTabular): tried to minimize operator= operations (and realized
16508         hopfully Lars wish).
16509
16510 2001-04-27  Juergen Vigna  <jug@sad.it>
16511
16512         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16513
16514 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16517
16518         * buffer.C (readInset): hack to make listof algorithm work
16519
16520         * BufferView_pimpl.C: hack to make listof algorithm work
16521
16522 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16523
16524         * LyXAction.C: removed all !NEW_INSETS cruft
16525         (init): moved lfun_item in method
16526
16527         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16528
16529 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16530
16531         * BufferView2.C (theLockingInset): white space.
16532
16533 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16534
16535         * minibuffer.C: include <iostream>
16536
16537         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16538
16539         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16540
16541         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16542
16543         * text.[Ch] (TransposeChars): new method
16544
16545 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16546
16547         * call message directly through LyXView instead of through LyXFunc
16548         * BufferView2.C: adjust
16549         * BufferView_pimpl.C: adjust
16550         * FontLoader.C: adjust
16551         * buffer.C: adjust
16552         * bufferview_funcs.C: adjust
16553         * converter.C: adjust
16554         * figureForm.C: adjust
16555         * importer.C: adjust
16556         * lyx_cb.C: adjust
16557         * lyx_gui_misc.C: adjust
16558         * lyxfunc.C: adjust
16559         * lyxvc.C: adjust
16560         * text2.C: adjust
16561         + more files in subdirs
16562
16563         * lyxparagraph.h (size): move up int file
16564         (GetLayout): ditto
16565
16566         * adjust all uses of Assert to lyx::Assert.
16567
16568         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16569         lyxfunctional in namespace lyx
16570         * layout.C (hasLayout): ditto
16571         (GetLayout): ditto
16572         (GetLayout): ditto
16573         (delete_layout): ditto
16574         (NumberOfClass): ditto
16575         * converter.C (GetFormat): ditto
16576         (GetNumber): ditto
16577         (Add): ditto
16578         (Delete): ditto
16579         (SetViewer): ditto
16580         * bufferlist.C (getFileNames): ditto
16581         (emergencyWriteAll): ditto
16582         (exists): ditto
16583         (getBuffer): ditto
16584         * MenuBackend.C (hasSubmenu): ditto
16585         (hasMenu): ditto
16586         (getMenu): ditto
16587         * BufferView_pimpl.C (getInsetByCode): ditto
16588
16589 2001-04-18  Juergen Vigna  <jug@sad.it>
16590
16591         * vspace.C (asLatexString): fixed the 100% problem.
16592
16593 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16594
16595         * lyxfunc.C (Dispatch):
16596         * minibuffer.C:
16597         * minibuffer.h: add a few std:: qualifiers
16598
16599 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * minibuffer.[Ch]: reimplement so that commands is initiated and
16602         run from lyxfunc, simplified som handling, and made the completion
16603         and history code for complete. wip.
16604
16605         * lyxfunc.C (processKeySym): call message
16606         (miniDispatch): new temporary method
16607         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16608         (LFUN_MESSAGE): implement
16609         (LFUN_MESSAGE_PUSH): implement
16610         (LFUN_MESSAGE_POP): implement
16611         (initMiniBuffer): the initial/defualt minibuffer message.
16612
16613         * lyxfont.[Ch]: inline some more getters
16614
16615         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16616
16617         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16618
16619         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16620         (AutoSave): use LFUN_MESSAGE
16621         (Reconfigure): ditto
16622
16623         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16624
16625         * figureForm.C: use LFUN_MESSAGE
16626
16627         * converter.C (runLaTeX): use LFUN_MESSAGE
16628
16629         * bufferview_funcs.C: use LFUN_MESSAGE
16630         (Melt): ditto
16631         (changeDepth): ditto
16632
16633         * bufferparams.h: use boost::
16634
16635         * bufferlist.h: inherit privately from noncopyable
16636
16637         * bufferlist.C (loadLyXFile): remove some commented code.
16638
16639         * buffer.C (runChktex): use LFUN_MESSAGE
16640
16641         * ShareContainer.h: inherit privately from noncopyable
16642
16643         * ParagraphParameters.[hC] (depth): inline it.
16644
16645         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16646         methods.
16647         (message): new method
16648         (messagePush): ditto
16649         (messagePop): ditto
16650         (show): init minibuffer
16651         (showState): direct call
16652
16653         * LaTeX.[Ch]: inherit privately from noncopyable
16654         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16655         instead of WriteStatus.
16656
16657         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16658
16659         * BufferView_pimpl.C (buffer): don't init minibuffer
16660         (workAreaButtonPress): use LFUN_MESSAGE
16661         (workAreaButtonRelease): ditto
16662         (savePosition): ditto
16663         (restorePosition): ditto
16664         (MenuInsertLyXFile): ditto
16665         (workAreaExpose): don't init minibuffer
16666         (update): remove commented code, simplify
16667
16668         * BufferView2.C (openStuff): use LFUN_MESSAGE
16669         (toggleFloat): ditto
16670         (menuUndo): ditto
16671         (menuRedo): ditto
16672         (copyEnvironment): ditto
16673         (pasteEnvironment): ditto
16674         (copy): ditto
16675         (cut): ditto
16676         (paste): ditto
16677         (gotoInset): ditto
16678         (updateInset): remove some commented code
16679
16680         * lastfiles.h: inherit privately from noncopyable
16681         * layout.h: ditto
16682         * lyx_gui.h: ditto
16683         * lyx_main.h: ditto
16684         * lyxlex.h: ditto
16685         * lyxlex_pimpl.h: ditto
16686
16687         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16688         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16689         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16690
16691         * LyXAction.h: inherit privately from noncopyable, add methods
16692         func_begin, func_end, returning iterators to the func map.
16693
16694         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16695         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16696         (func_begin): new method
16697         (func_end): new method
16698
16699         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16700         and not)
16701         (copySelection): ditto
16702         (pasteSelection): ditto
16703
16704         * BufferView.C: whitespace change
16705         * BufferView.h: inherit privately from noncopyable
16706
16707 2001-04-16  Allan Rae  <rae@lyx.org>
16708
16709         * tabular-old.C (l_getline):
16710         * spellchecker.C (sc_check_word):
16711         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16712         an unrecognised preprocessor directive.  So ensure they're wrapped.
16713
16714 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16715
16716         * src/exporter.C (Export): Give an error message when path to file
16717         contains spaces.
16718
16719 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16720
16721         * LaTeX.C (deplog): Always check that foundfile exists.
16722
16723 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16724
16725         * lyx_main.h:
16726         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16727
16728 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16729
16730         * tabular.[Ch] (getLabelList): implement new method
16731
16732         * minibuffer.h: comment ouf setTiimer
16733
16734         * minibuffer.C (ExecutingCB): constify res
16735         (peek_event): constify s
16736         (Set): constify ntext
16737         (Init): constify nicename
16738
16739         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16740
16741         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16742         (savePosition): use two params to Minibuffer::Set
16743         (restorePosition): ditto
16744
16745 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16746
16747         * lyx_main.C: include language.h
16748
16749         * Makefile.am (lyx_main.o): add language.h
16750
16751 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16752
16753         * exporter.C:
16754         * paragraph.C:
16755         * screen.C:
16756         * tabular.C:
16757         * CutAndPaste.C: include gettext.h
16758
16759         * lyxfont.h: remove old hack with ON and OFF.
16760
16761         * lyxparagraph.h:
16762         * lyxfont.h: do not include language.h...
16763
16764         * BufferView2.C:
16765         * LaTeXFeatures.C:
16766         * Painter.C:
16767         * bufferview_funcs.C:
16768         * font.C:
16769         * lyxfont.C:
16770         * text.C:
16771         * text2.C:
16772         * trans_mgr.C:
16773         * paragraph.C: ... but do it here instead
16774
16775 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16776
16777         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16778
16779         * tabular.C: small reformat
16780
16781         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16782         NEW_INSETS version
16783         (GetChar): ditto
16784         (BreakParagraph): ditto
16785         (SetOnlyLayout): ditto
16786         (SetLayout): ditto
16787
16788         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16789         with one arg less.
16790
16791         * lastfiles.C: removed most using decl, add std:: where needed
16792
16793         * buffer.C: ws changes
16794
16795         * MenuBackend.C (class compare_format): put into anon namespace
16796         (expand): constify label, names, action, action2
16797         (expand):
16798
16799         * text.C (SingleWidth): constify font
16800         (IsBoundary): constify rtl2
16801         (GetVisibleRow): constify ww
16802
16803         * LaTeX.C (deplog): constify logfile
16804
16805         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16806         start_x, end_x
16807         (workAreaExpose): constify widthChange, heightChange
16808
16809         * lyxrow.C (par): moved
16810         (height): moved
16811         (next): moved
16812         * lyxrow.h: as inlines here
16813
16814         * lyxfont.h (shape): moved from lyxfont.C
16815         (emph): moved from lyxfont.C
16816
16817         * lyxfont.C (LyXFont): use initialization list for all
16818         constructors
16819         (shape): move to lyxfont.h as inline
16820         (emph): move to lyxfont.h as inline
16821
16822
16823 2001-04-04  Juergen Vigna  <jug@sad.it>
16824
16825         * vspace.C: had to include stdio.h for use of sscanf
16826
16827 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16828
16829         * BufferView.h:
16830         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16831         independent of xforms.
16832
16833 2001-04-02  Juergen Vigna  <jug@sad.it>
16834
16835         * spellchecker.C: fixed namespace placing!
16836
16837 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16838
16839         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16840         the LyXParagraph * is 0.
16841
16842 2001-03-29  Juergen Vigna  <jug@sad.it>
16843
16844         * vspace.C: added support for %, c%, p%, l%.
16845         (stringFromUnit): added helper function.
16846         (asLatexString): changed to give right results for the %-values.
16847
16848         * buffer.C: convert the widthp in a width%.
16849
16850 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16851
16852         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16853         figureForm.[Ch].
16854
16855         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16856         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16857
16858         * lyx_cb.[Ch]: see above.
16859
16860         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16861         form1.[Ch].
16862
16863         * form1.[Ch]:
16864         * lyx.[Ch]: replaced by figure_form.[Ch].
16865
16866         * lyx_gui.C:
16867         * lyx_gui_misc.C:
16868         * lyxfunc.C: changed headers associated with above changes.
16869
16870 2001-03-27  Juergen Vigna  <jug@sad.it>
16871
16872         * BufferView_pimpl.C: set the temporary cursor right!
16873
16874 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16875
16876         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16877
16878 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16879
16880         * LString.h: removed "using std::getline"!
16881
16882         * BufferView_pimpl.C (Dispatch): changes due to changes in
16883         InsetInclude::Params.
16884
16885         * buffer.C (tag_name): removed redundant break statements as they were
16886         producing lots of warnings with my compiler.
16887
16888 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16889
16890         * LString.h: add "using std::getline" when using the real <string>.
16891
16892 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16893
16894         * buffer.C: removed bitset usage.
16895         PAR_TAG moved to an anonymous name space.
16896         (tag_name): new funtion, also in the anonymous namespace.
16897         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16898         (makeDocBookFile): clean code. Completed transition from string arrays
16899         to string vectors.
16900         (SimpleDocBookOnePar): code clean.
16901
16902 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16903
16904         * tabular.C: add some comments.
16905
16906 2001-03-22  Juergen Vigna  <jug@sad.it>
16907
16908         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16909         compatibility read a bit and fixed bug with minipage in different
16910         depth.
16911
16912 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16913
16914         * buffer.C (pop_tag): removed.
16915         (push_tag): removed.
16916         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16917         array replaced with vector. Added support for CDATA sections.
16918         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16919         at any nest level.
16920         (makeDocBookFile): XML conformant declaration of CDATA section,
16921         fixed bug related to <emphasis> in the first paragraph char.
16922         (sgmlOpenTag): exclude empty tags.
16923         (sgmlCloseTag): ditto.
16924
16925         * buffer.h (pop_tag): removed.
16926         (push_tag): removed.
16927
16928 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16929
16930         * language.h (Languages): added size_type and size().
16931
16932 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16933
16934         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16935         response on compability reading of minipages. One probliem is that
16936         the old usage of minipages was «flertydig»
16937
16938         * several files here and in subdirs: don't use static at file
16939         scope use anon namespaces instead.
16940
16941 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16942
16943         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16944         LaTeX output. This is necessary for Literate document
16945         processing.
16946
16947 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16948
16949         * buffer.C: insert hfill when needed.
16950
16951         * tabular.C (l_getline): use string::erase, small whitespace change.
16952
16953         * BufferView_pimpl.C: try the anon namespace.
16954         * WorkArea.C: ditto
16955
16956 2001-03-16  Juergen Vigna  <jug@sad.it>
16957
16958         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16959         otherwise it won't open options-dialogs.
16960
16961         * buffer.C: honor pextraWidth(p) on converting minipages.
16962
16963         * tabular.C (l_getline): changed the functions to strip trailing \r.
16964
16965 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16966
16967         * BufferView_pimpl.C:
16968         * minibuffer..C: added "using SigC::slot" declaration.
16969
16970 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16971
16972         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16973
16974         * text2.C: ditto
16975
16976         * text.C: ditto
16977
16978         * paragraph.C: ditto
16979
16980         * lyxtext.h: NO_PEXTRA
16981
16982         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16983
16984         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16985         * ParameterStruct.h: ditto
16986         * ParagraphParameters.h: ditto
16987         * lyxparagraph.h: ditto
16988
16989 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16990
16991         * buffer.C: add compability for minipage alignment.
16992         (latexParagraphs): remove unwanted pextra check.
16993
16994         * several files: remove CXX_WORKING_NAMESPACES
16995
16996         * buffer.C (pop_tag): tie is in namespace boost
16997
16998         * BufferView.h: noncopyable is in namespace boost
16999         * lyxlex.h: ditto
17000         * lyx_main.h: ditto
17001         * lyx_gui.h: ditto
17002         * layout.h: ditto
17003         * lastfiles.h: ditto
17004         * bufferlist.h: ditto
17005         * ShareContainer.h: ditto
17006         * LyXView.h: ditto
17007         * LyXAction.h: ditto
17008         * LaTeX.h: ditto
17009
17010 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17011
17012         * Merging changes from BRANCH_MVC back into HEAD.
17013
17014         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17015
17016 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17017
17018         * BufferView_pimpl.C: change from intl.C
17019
17020         * combox.h:
17021         * combox.C:
17022         * Makefile.am: move combox.*
17023
17024         * form1.h:
17025         * form1.C:
17026         * lyx_gui.C:
17027         * intl.h:
17028         * intl.C: remove dialog (covered by prefs)
17029
17030 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17031
17032         * lyxfunc.C (Dispatch): removed redundant break statement.
17033
17034 2001-03-14  Juergen Vigna  <jug@sad.it>
17035
17036         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17037
17038 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17039
17040         * buffer.C: add hack to fix compability reading of minipages.
17041
17042 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17043
17044         * buffer.C (getLists): Cleanup.
17045
17046 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17047
17048         * lyxfont.C (update): don't honor toggleall on font size.
17049
17050 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17051
17052         * bmtable.c:
17053         * bmtable.h:
17054         * Makefile.am: moved to frontends/xforms/
17055
17056         * lyx_gui_misc.C:
17057         * lyxfunc.C:
17058         * BufferView_pimpl.C: changes for moved mathpanel
17059
17060 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17061
17062         * gettext.h: fix gettext_init() in --disable-nls
17063
17064 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17065
17066         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17067
17068 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17069
17070         * lyx.C:
17071         * lyx.h: strip external form
17072
17073 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17074
17075         * BufferView_pimpl.C: add comment, destroySplash()
17076
17077 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17078
17079         * BufferView_pimpl.C:
17080         * LyXAction.C:
17081         * buffer.C:
17082         * commandtags.h:
17083         * lyxfunc.C: use re-worked insetinclude
17084
17085 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17086
17087         * buffer.C: add using std::stringstream.
17088
17089         * lyx_cb.C: readd using std::ios.
17090
17091         * buffer.C: add using std::map.
17092
17093         * BufferView_pimpl.C: add using std::vector.
17094
17095         * ShareContainer.h: add std:: to swap.
17096
17097         * buffer.h: add some typedefs
17098         * buffer.C (getLists): use them
17099         (getLists): renamed from getTocList.
17100         add a counter for the different float types and use it in the
17101         generated string.
17102         (getLists): use the same counter for the NEW_INSETS and the "non"
17103         NEW_INSETS
17104
17105         * lyx_cb.h: remove unused items, includes, using etc.
17106
17107         * ShareContainer.h: remove some commented code, add more comments
17108         and "documentation".
17109
17110 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17111
17112         * buffer.C (getTocList): make the list also when NEW_INSETS is
17113         defined.
17114
17115         * buffer.h: remove TocType
17116
17117         * buffer.C (getTocList): change to return a map<string,
17118         vector<TocItem> >, implement for dynamic number of list.
17119
17120         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17121         * text2.C (PasteSelection): adjust
17122         * CutAndPaste.C (pasteSelection): adjust
17123
17124         * FloatList.C (FloatList): update from the new_insets branch.
17125         * Floating.[Ch]: ditto
17126         * LaTeXFeatures.C: ditto
17127         * buffer.C: ditto
17128         * lyxlex_pimpl.C: ditto
17129
17130         * paragraph.C (Last): remove when NEW_INSETS is defined.
17131
17132         * other file: changes because of the above.
17133
17134 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17135
17136         * lyxparagraph.h: rename next to next_, previous to previous_,
17137         make them private for NEW_INSETS. Rename Next() to next(),
17138         Previous() to previous().
17139
17140         * other files: changes because of the above.
17141
17142 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17143
17144         * BufferView.h:
17145         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17146         problem.
17147
17148 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * main.C (main): pass lyx_localedir to gettext_init().
17151
17152         * gettext.h: remove locale_init and gettext_init macros
17153
17154         * gettext.C (locale_init): new function
17155         (gettext_init): new function
17156
17157         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17158         setlocale().
17159
17160 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17161
17162         * Moved credits to frontends:
17163         * credits.[Ch]: removed
17164         * credits_form.[Ch]: removed
17165         * lyx_gui_misc.C: remove credits stuff
17166         * Makefile.am:
17167
17168 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17169
17170         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17171
17172         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17173         unneeded destructor.
17174
17175         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17176         a standalone pointer again.
17177
17178         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17179
17180 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17181
17182         * Makefile.am:
17183         * filedlg.h:
17184         * filedlg.C:
17185         * LyXAction.C:
17186         * ToolbarDefaults.C:
17187         * bufferlist.C:
17188         * commandtags.h:
17189         * form1.C:
17190         * form1.h:
17191         * lyx_cb.C:
17192         * lyx_cb.h:
17193         * lyxfunc.h:
17194         * lyxfunc.C:
17195         * BufferView_pimpl.C: use new file dialog in GUII
17196
17197         * lyx_cb.h:
17198         * lyx_cb.C: remove LayoutsCB to Toolbar
17199
17200 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17201
17202         * ShareContainer.h (get): add std:: qualifier
17203
17204 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17205
17206         * ShareContainer.h: define a proper ShareContainer::value_type
17207         type (and use typename to please compaq cxx)
17208
17209 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17210
17211         * lyxparagraph.h: move serveral local vars to
17212         ParameterStruct/ParagraphParameters., use ShareContainer in
17213         FontTable., make vars in FontTable private and add getter and
17214         setter.
17215
17216         * paragraph.C: changes because of the above.
17217
17218         * lyxfont.h: remove copy constructor and copy assignment. (the
17219         default ones is ok), move number inside FontBits. move inlines to
17220         lyxfont.C
17221
17222         * lyxfont.C: add number to initializaton of statics, move several
17223         inlines here. constify several local vars. some whitespace
17224         cleanup. Dont hide outerscope variables.
17225
17226         * Spacing.h: add two new constructors to match the set methods.
17227
17228         * ShareContainer.h: new file, will perhaps be moved to support
17229
17230         * ParameterStruct.h: new file
17231
17232         * ParagraphParameters.h: new file
17233
17234         * ParagraphParameters.C: new file
17235
17236         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17237         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17238
17239         * BufferView_pimpl.C: ParagraphParameter changes.
17240         * buffer.C: Likewise.
17241         * bufferview_funcs.C: Likewise.
17242         * text.C: Likewise.
17243         * text2.C: Likewise.
17244
17245 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17246
17247         * lyxfind.C (LyXReplace): do not redefine default argument in
17248         implementation.
17249         (IsStringInText): ditto
17250         (SearchForward): ditto
17251         (SearchBackward): ditto
17252
17253 2001-03-06  Juergen Vigna  <jug@sad.it>
17254
17255         * lyxfind.C (IsStringInText): put parentes around expressions.
17256
17257 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17258
17259         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17260
17261 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17262
17263         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17264
17265         * stl_string_fwd.h: add comment
17266
17267         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17268
17269         * tabular.h:
17270         * tabular.C: remove unused DocBook methods
17271
17272         * intl.C:
17273         * language.C:
17274         * paragraph.C:
17275         * buffer.C:
17276         killed DO_USE_DEFAULT_LANGUAGE
17277
17278 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17279
17280         * lyx_gui.C: do not include language.h.
17281
17282         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17283         arguments in function implementation.
17284
17285 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17286
17287         * BufferView_pimpl.C: add <ctime>
17288
17289 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17290
17291         * BufferView_pimpl.C: add using std::find_if
17292
17293 2001-02-27  José Matos  <jamatos@fep.up.pt>
17294
17295         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17296         by OnlyPath.
17297
17298 2001-02-11  José Matos  <jamatos@fep.up.pt>
17299
17300         * buffer.C (makeDocBookFile): command styles now have a parameter as
17301         "title" by default.
17302
17303 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17304
17305         * layout_forms.[Ch]: removed
17306         * lyx_cb.[Ch]: out character
17307         * lyx_gui.C: out character
17308         * lyx_gui_misc.C: out character
17309         * bufferview_funcs.C: : out character,
17310         added toggleall as parameter in ToggleAndShow
17311
17312 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17313
17314         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17315
17316         * text2.C (SetCurrentFont): Disable number property at boundary.
17317
17318 2001-02-26  Juergen Vigna  <jug@sad.it>
17319
17320         * lyxfunc.C (getStatus): added a string argument override function so
17321         that this is correctly called from LyXFunc::Dispatch if it contains a
17322         do_not_use_argument which is used!
17323         (Dispatch): added check for "custom" export and call appropriate func.
17324
17325 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17326
17327         * lyxrc.C: Add language_command_local, language_use_babel and
17328         language_global_options.
17329
17330         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17331
17332         * buffer.C (makeLaTeXFile): Use language_use_babel and
17333         language_global_options.
17334
17335 2001-02-23  Juergen Vigna  <jug@sad.it>
17336
17337         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17338         which works with LyXText and putted it inside BufferView. Here now we
17339         only call for that part the BufferView::Dispatch() function.
17340
17341         * BufferView.C (Dispatch): added.
17342
17343         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17344         functions which needs to use a LyXText over from LyXFunc.
17345         (MenuInsertLyXFile): added
17346         (getInsetByCode): added
17347         (moveCursorUpdate): added
17348         (static TEXT): added
17349
17350 2001-02-22  Juergen Vigna  <jug@sad.it>
17351
17352         * BufferView_pimpl.C (update): call a status update to see if LyXText
17353         needs it.
17354
17355 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17356
17357         * vc-backend.C (revert): implement for CVS
17358         (getLog): implement for CVS
17359
17360 2001-02-20  Juergen Vigna  <jug@sad.it>
17361
17362         * text2.C (ClearSelection): added BufferView param for inset_owner call
17363
17364         * lyxfunc.C (TEXT): added this function and use it instead of
17365         directly owner->view()-text of getLyXText().
17366
17367 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17368
17369         * src/layout_forms.C: out preamble
17370         * src/layout_forms.h: out preamble
17371         * src/lyx_cb.C: out preamble
17372         * src/lyx_cb.h: out preamble
17373         * src/lyx_gui.C: out preamble
17374         * src/lyx_gui_misc.C: out preamble
17375         * src/lyxfunc.C: connect with guii preamble
17376
17377 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17378
17379         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17380
17381 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17382
17383         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17384         whether to run bibtex.
17385
17386 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17387
17388         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17389
17390 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17391
17392         * Makefile.am (lyx_SOURCES): removed bibforms.h
17393
17394         * vspace.h: doxygen
17395
17396         * text.C (GetVisibleRow): make several local vars const
17397
17398         * tabular.C: small cleanup.
17399
17400         * lyxserver.C (callback): use compare instead of strncmp
17401
17402         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17403         inlines to after class or to paragraph.C
17404
17405         * lyxfont.h: remove friend operator!=
17406
17407         * converter.h: move friend bool operator< to non friend and after
17408         class def.
17409
17410         * combox.h: small cleanup
17411
17412         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17413         to inlines after class def.
17414
17415         * buffer.C (pop_tag): use string operations instead of strcmp
17416
17417         * bmtable.c: doxygen, small cleanup
17418
17419         * LaTeX.h: remove friend operator==
17420
17421 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17422
17423         * screen.C:
17424         * lyxrc.[Ch]:
17425         * lyxfunc.C:
17426         * lyxfont.[Ch]:
17427         * lyx_cb.C:
17428         * intl.[Ch]:
17429         * commandtags.h:
17430         * buffer.C:
17431         * WorkArea.[Ch]:
17432         * LyXAction.C:
17433         * BufferView_pimpl.C:
17434         * BufferView.[Ch]: remove cruft
17435
17436 2001-02-14  Juergen Vigna  <jug@sad.it>
17437
17438         * lyxfunc.C: removed #if 0 unused code
17439
17440         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17441
17442         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17443
17444         * text2.C (SetSelection): added a BufferView * parameter
17445
17446 2001-02-13  Juergen Vigna  <jug@sad.it>
17447
17448         * lyxfunc.C (Dispatch): fixed protected blank problem.
17449         * BufferView2.C (protectedBlank): added LyxText * parameter.
17450
17451         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17452         (AppendColumn): same as above for column_info.
17453
17454         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17455         (moveCursorUpdate): use a LyXText param for support of InsetText.
17456
17457         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17458         (tripleClick): ditto
17459
17460         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17461
17462         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17463
17464         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17465
17466         * text2.C (SetSelection): set correct update status if inset_owner
17467         (ToggleFree): ditto
17468
17469 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17470
17471         * tabular.C: remove some commented code.
17472
17473 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17474
17475         * BufferView_pimpl.C: call hideSplash()
17476
17477         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17478
17479         * include_form.h:
17480         * bibforms.h: remove
17481
17482         * lyxfunc.C:
17483         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17484           add LFUN_CHILD_CREATE
17485
17486         * counters.h: fix tiny typo
17487
17488         * lyx_cb.C:
17489         * lyx.h:
17490         * lyx_gui.C:
17491         * lyx.C: move splash to frontends/xforms/
17492
17493         * lyx_gui_misc.C: move Include and Bibform to frontends
17494
17495         * lyxvc.h: clarify comment
17496
17497         * vspace.C: tiny housekeeping
17498
17499 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17500
17501         * text.C (PrepareToPrint): RTL Fix.
17502
17503         * paragraph.C (GetUChar): New method.
17504         (String):  Use GetUChar.
17505
17506         * buffer.C (asciiParagraph): Use GetUChar.
17507
17508 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17509
17510         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17511
17512 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17513
17514         * buffer.h:
17515         * buffer.C: rename to getLogName(), handle
17516           build log / latex log nicely
17517
17518 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17519
17520         * MenuBackend.C:
17521         * MenuBackend.h: remove support for reference menuitem type.
17522
17523 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17524
17525         * BufferView_pimpl.C: housekeeping
17526         * BufferView_pimpl.h:
17527         * LyXView.h:
17528         * Makefile.am:
17529         * Timeout.C:
17530         * Timeout.h:
17531         * minibuffer.h: move Timeout GUI-I
17532
17533 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17534
17535         * lyxrc.C (read): Update converters data-structures.
17536
17537 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17538
17539         * LaTeX.h (operator!=): add operator != for Aux_Info
17540
17541 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17542
17543         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17544
17545         * LaTeXLog.C: deleted, useful code moved to Buffer
17546
17547         * buffer.h:
17548         * buffer.C: new function getLatexLogName()
17549
17550         * lyx_gui_misc.C:
17551         * lyx_gui.C:
17552         * lyxvc.C:
17553         * lyxvc.h:
17554         * lyxfunc.C: use frontends for LaTeX and VC logs
17555
17556 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17557
17558         * LaTeX.h: yet another std:: that Allan forgot.
17559
17560         * Variables.C (set): renamed from isset(), because this clashes
17561         with some HP-UX macros (grr).
17562
17563 2001-02-06  Allan Rae  <rae@lyx.org>
17564
17565         * LaTeX.h: Another bug fix.  Missing std:: this time.
17566
17567 2001-02-04  Allan Rae  <rae@lyx.org>
17568
17569         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17570         floats problem. I've left it commented out because it's not quite
17571         correct.  It should also test that the current object is a table or
17572         figure inset.  But I haven't gotten around to figuring out how to do
17573         that.  I *think* it'll be something like: "table" == inset.type()
17574
17575         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17576         bool.
17577
17578 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17579
17580         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17581         all the citation/databases/styles in the auxilary file.
17582         (run): Rerun latex if there was a babel language error.
17583
17584 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17585
17586         * text.C (Backspace): Preserve the font when changing newline char
17587         with a space.
17588         (BreakParagraph): If the cursor is before a space, delete the space.
17589
17590         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17591
17592 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17593
17594         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17595         new argument (code).
17596         (ChangeCitationsIfUnique): New method.
17597
17598         * paragraph.C (GetPositionOfInset): Handle bibkey.
17599
17600 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17601
17602         * BufferView_pimpl.h: change type of Position::par_pos to
17603         LyXParagraph::size_type.
17604
17605 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17606
17607         * BufferView_pimpl.C (savePosition, restorePosition): Write
17608         messages to minibuffer.
17609
17610 2001-01-28  José Matos  <jamatos@fep.up.pt>
17611
17612         * buffer.C (makeDocBookFile): adds support for document language.
17613         A silly restriction on the name of LatexCommand types where removed.
17614         Added support for CDATA sections, allows to chars unescaped, used
17615         among others in code, to avoid escape < and >.
17616
17617 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17618
17619         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17620         saved positions instrad of a stack. Furthermore, a position is
17621         stored using paragraph id/paragraph position.
17622
17623         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17624         Remove LFUN_REF_BACK.
17625
17626 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17627
17628         * converter.C (dvipdfm_options): New method.
17629
17630 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17631
17632         * vspace.C (isValidLength): Fix for empty input string.
17633
17634 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17635
17636         * LyXAction.C (init): change description of LFUN_FIGURE to
17637         "Insert Graphics"
17638
17639 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17640
17641         * LaTeX.C: add using directive
17642
17643 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17644
17645         * MenuBackend.C (expand): Fix the sorting of the formats.
17646
17647 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17648
17649         * lyx_main.C: tiny error message fix
17650
17651 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17652
17653         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17654         calling fl_initialize(). This fixes the problem with ',' as
17655         decimal separator in text files.
17656
17657 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17658
17659         * trans.C (process): Fix the keymap bug.
17660
17661 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17662
17663         * LaTeX.C (scanAuxFiles): New method. Provides support for
17664         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17665         (scanLogFile) Scan for "run BibTeX" messages.
17666
17667         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17668         OT1 font encoding. Also, load the aecompl package if the ae
17669         package is loaded.
17670
17671         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17672
17673 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17674
17675         * texrow.C (increasePos): turn two error messages into debug
17676         messages.
17677
17678 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17679
17680         * LaTeX.C (scanAux): Handle the \@input macro.
17681         (runBibTeX): Use scanAux().
17682
17683         * language.C (latex_options_): New field.
17684
17685         * LaTeXFeatures.C (getMacros): Add language macros.
17686
17687         * buffer.C (makeLaTeXFile): Small fix.
17688
17689 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17690
17691         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17692
17693         * text2.C: add a using directive.
17694
17695 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17696
17697         * BufferView2.C:
17698         * lyx_gui_misc.h:
17699         * lyxfr1.C:
17700         * lyxfunc.C: kill LyXBell.
17701
17702 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17703
17704         * text.C (IsBoundary): Remove the error message
17705
17706         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17707
17708         * lyxrc.C (setDefaults): Correct initialization value for
17709         font_norm_type.
17710
17711 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17712
17713         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17714         gotoError().
17715
17716         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17717         and GotoNextNote().
17718
17719         * src/LyXAction.C: Added reference-next.
17720
17721         * text.C (InsertChar): Use contains instead of strchr.
17722
17723         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17724
17725 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17726
17727         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17728         alignment commands (when needed).
17729
17730         * text.C (InsertChar): Add ':' to number separator chars.