1 2005-07-15 <lgb@tandberg.net>
3 * paragraph_funcs.C (breakParagraph): dont reset the layout on
6 * text.C (setCursorFromCoordinates): add a debug statement
8 * text2.C (getColumnNearX): bug 1825 make sure that we don't
9 return a pos that is not on the row
11 * output_latex.C (TeXDeeper): get rid of potential dereferencing
12 of past the end iterator
14 2005-07-14 André Pönitz <poenitz@gmx.net>
16 * undo.C (recordUndoFullBuffer): implement undo for
19 2005-07-14 André Pönitz <poenitz@gmx.net>
21 * cursor.C (setSelection): open insets when selection is set there
22 to avoid crashs with cold coord cache
24 2005-07-14 André Pönitz <poenitz@gmx.net>
26 * trans_mgr.C (insert): move cursor to the right after inserting
29 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
31 * BufferView_pimpl.C (update): dampen some of the debug blabbering
32 * factory.C (readInset): ditto
33 * text.C, text2.C: ditto
35 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * buffer.C: format incremented to 242. There is no file format per
38 se, but the "frenchb" language has been removed from lib/language
39 and has to be translated to "french" by lyx2lyx.
41 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * cursor_slice.h, dociterator.h: add some documentation
44 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
46 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * text.C (leftMargin): do not add identation to display() style
49 insets, because they are always centered (bug 1293).
51 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
53 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
54 formatted_time methods in support/lyxtime.
56 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
58 * toc.[Ch]: new method getGuiName, which is used by the frontends
59 to set the toc combo (fixes bug 1870). Make TOC string translatable.
61 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
63 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
64 StableDocIterator const &)
65 * undo.C (recordUndo): use the above instead of cell.size() comparison
66 (fixes bug 1808; instructed by André).
68 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
71 * dociterator.h: Fix the assert when copying rows/cols in math
73 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
77 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
79 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
80 (findInset): new functions, refactored from goto Inset that return
81 the position of a certain inset without setting the buffer's cursor
83 (gotoInset): rewrite to call findInset and then set the cursor
86 2005-06-16 Angus Leeming <leeming@lyx.org>
88 * lyxrc.C (output, read): wrap all input and output of paths with
89 calls to os::internal_path and os::external_path, respectively.
90 (output): wrap bind_file inside quotes.
92 * format.C (view): enable the viewer to use the '$$s' placeholder.
94 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
96 * LColor.[Ch] (getFromLaTeXName): new
98 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
100 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
102 2005-06-14 Angus Leeming <leeming@lyx.org>
104 * lyx_main.C (init): ensure that the LyX binary dir is the first
105 element in the PATH on non-POSIX builds.
107 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
111 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * rowpainter.C (paintInset, paintHebrewComposeChar)
114 (paintArabicComposeChar, paintChars): add a LyXFont argument.
115 (paintChars): use getFontSpan to reduce calls to getFont to a
116 minimum; use Paragraph::lookupChange instead of isXXXText.
117 (paintForeignMark): rename LyXFont argument.
118 (paintFromPos): pass a LyXFont object to the various paintXXX
121 * FontIterator.C (FontIterator, operator++): use
122 Paragraph::getFontSpan
124 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
125 version that returns the font span as a pair.
127 2005-06-09 Angus Leeming <leeming@lyx.org>
129 * converter.C (convert): Don't forget "outfile = real_outfile" as
130 the final step in a conversion where the input and output file names
131 are the same. Otherwise, future conversion steps won't work...
133 2005-06-09 Angus Leeming <leeming@lyx.org>
135 * lyxsocket.C: remove stub code as it isn't needed by
136 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
138 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
141 effectively disabled -x
143 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
146 when it actually makes sense.
148 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
150 * BufferView_pimpl.C: revert to showCursor in connection with
151 Lars's front-end stack
153 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
155 * text.C (redoParagraph): move cursor right after a bibitem
158 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
160 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * buffer_funcs.C (bufferErrors): fix computation of the end of an
165 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
167 * BufferView.[Ch] (update):
168 * BufferView_pimpl.[Ch] (update, metrics):
169 * dimension.h (operator==):
170 * lyxfunc.C (dispatch):
171 * metricsinfo.h (ViewMetricsInfo):
172 * rowpainter.C (paintText):
174 * text.C (redoParagraph):
175 * text3.C (dispatch): Make LyX only repaint current paragraph in
176 case of character insert --> speedup. Also fix cursor draw
179 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
182 avoid a crash (bug 1891)
184 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * text2.C (getStringToIndex): constify cur argument.
190 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
191 argument has been given
192 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
193 try to invoke LFUN_INSET_APPLY).
195 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
196 if no inset was created by doInsertInset
197 (doInsertInset): return true if an inset has been inserted.
199 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * vspace.C (asGUIName): new method. A version of the space
202 suitable for showing on screen.
204 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
207 * lyxrc.C: rename "ASCII" to "Plain Text"
209 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * buffer_funcs.C (expandLabel): take a Buffer as argument;
212 translate the labelstring.
213 (setCounter): translate labelstring as needed.
215 * output_docbook.C (makeCommand): fix expandLabel invokation
217 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
219 * BufferView.C: fix dialog title
221 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
223 * lyx_main.C (priv_exec): fix logic error with help from Angus
224 * lyx_main.C (parse_execute): set is_gui = false and remove now
225 obsolete comment about a segfault
227 2005-05-18 Angus Leeming <leeming@lyx.org>
229 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
231 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
233 * tabular.[hC]: added setCellInset to fix tabular paste.
235 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
237 * buffer.C (save): check if destination is writable before trying
240 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
242 * BufferView_pimpl.C (update): fix processEvents -caused update
245 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
247 * buffer_funcs.C (setCounter): fix test for numbering of
250 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
251 depth correctly; use optional argument when it exists
253 * lyxtextclass.C: remove unused MaxCounterTags enum
254 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
255 (max_toclevel, min_toclevel): new methods.
257 * MenuBackend.C (expandToc2): fix case where depth is smaller than
258 the smallest depth in toc.
260 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
261 layouts that should not appear in a table of contents.
263 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * cursor.h (undispatched, noUpdate): add comments from André
267 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
271 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
273 2005-05-07 André Pönitz <poenitz@gmx.net>
275 * cursor.[Ch] (leaveInset): new function
277 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
279 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
281 2005-05-04 Angus Leeming <leeming@lyx.org>
283 * lyxfunc.C (getStatus): disable the spell checker dialog if
284 none of USE_[AIP]SPELL are defined.
286 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
288 * tabular.C (setWidthOfCell): remove obsolete comment
290 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
292 * paragraph.C (bibitem):
293 * buffer_funcs.C (setCounter):
294 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
296 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298 * text3.C (getStatus): immediately return after setOnOff
300 * rowpainter.C: fix drawing of appendix start
302 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
304 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
305 SwitchBetweenClasses and remove the unused return value.
306 Handle character styles, too
308 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
310 * factory.C (createInset): handle undefined character styles
312 2005-05-02 Angus Leeming <leeming@lyx.org>
314 * buffer.C: protect the #include of utime.h with a preprocessor
317 2005-05-02 Angus Leeming <leeming@lyx.org>
319 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
320 function so that auto-saving works, albeit in a blocking manner.
322 * Makefile.am: make compilation of the client sub directory, of
323 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
324 on conditionals set at configure time.
326 * SpellBase.[Ch]: no longer an abstract base class. Instead,
327 it can be compiled in its own right but has no-op functionality.
329 * aspell.C, pspell.C: remove preprocessor guards. The files should
330 be compiled only if the necessary functionality exists.
332 * lyxserver.C, lyxsocket.C: disable on Windows.
334 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
336 * text.C (leftMargin): Fix the parindent use bug (1764)
339 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
341 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
344 2005-04-25 Angus Leeming <leeming@lyx.org>
352 include <config.h> in .C files, not .h ones.
354 protect headers inside preprocessor guards.
356 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
358 * FuncStatus.h (StatusCodes): document
360 2005-04-21 André Pönitz <poenitz@gmx.net>
362 * FuncStatus.h (enabled, onoff): document
364 2005-04-19 Angus Leeming <leeming@lyx.org>
366 * BufferView_pimpl.C (cursorToggle): no longer test whether
367 any child processes have been reaped before calling
368 handleCompletedProcesses().
370 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
372 * text3.C (dispatch): fix, finally fix, the language problem in
373 new lyxtexts, without disabling on-the-fly font changes (Helge's
376 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
378 * text3.C (dispatch): set cursor on double/triple click events
381 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
383 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
384 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
386 * rowpainter.C (paintFirst): simplify the code a little bit. In
387 particular, remove the test for secnumdepth.
388 * text.C (setHeightOfRow): only allocate space for chapter number
389 when updateCounters provided an actual label, instead of looking
390 at secnumdepth directly.
392 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
394 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
395 paragraphs when secnumdepth is large enough or, for environments,
396 when they are not the first in a sequence.
398 2005-04-17 Angus Leeming <leeming@lyx.org>
400 * buffer.C (makeLaTeXFile): replace code to manipulate a path
401 containing space and '~' characters with a call to latex_path().
403 2005-04-17 Angus Leeming <leeming@lyx.org>
405 * converter.C (convert): protect all args of convertDefault.sh
408 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * text3.C (dispatch): change the layout to "Caption" after inserting
413 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
415 * text3.C (dispatch): fix language problem in newly created
416 textinsets (and main text) in non-english docs
418 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
420 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
421 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
422 * text3.C (getStatus): disable LFUN_INSET_MODIFY
424 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
429 * rowpainter.C (getFont): Fix metrics bug introduced by inset
432 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
435 output of \item arguments without trailing text.
437 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * FontIterator.C (operator*): avoid a copy of the font.
441 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
443 * rowpainter.C (getFont): fix language bug from previous fix
445 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
447 * rowpainter.C (RowPainter, getFont): fix font inside inset
450 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
452 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
453 preventing inserted font, deco, delim insets jumping to start of
456 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * lyxfunc.C (dispatch): translate message before sending it to the
461 2005-03-29 Angus Leeming <leeming@lyx.org>
463 * lyx_main.C (priv_exec): call os::internal_path on each file passed
464 to LyX on the command line.
466 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
468 * vc-backend.C: use QuoteName to protect file names wherever
471 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
474 * BranchList.h: fix bugs 1844,1845: document settings don't
477 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
479 * lyxrc.C (setDefaults, read, output, getDescription): add support
480 for tex_allows_spaces.
482 * exporter.C (Export): allows files in directory containing spaces
483 if tex_allows_spaces is true.
485 * buffer.C (makeLaTeXFile): if the document path contains spaces,
486 output it in double quotes.
488 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
490 * rowpainter.C: use default text height for drawing change tracker
493 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
495 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
497 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
500 directory is missing.
502 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
504 * text2.C: fixed the fix, extended to other case.
506 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
508 * text2.C: fix for cursor up/down stuck in math [bug 1792]
510 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
512 * text2.C (cursorUp): get rid of a crash
513 * text.C (x2pos): add an assert
515 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * lyxfunc.C (getStatus): fix warning when assertions are disabled
521 * dociterator.C: include <boost/current_function.hpp>, which is
522 needed when assertions are disabled.
524 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
526 * text2.C: fix for stuck cursor when traversing two
527 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
529 2005-02-25 Andreas Vox <avox@arcor.de>
531 * output_docbook.C (makeParagraph): suppress trailing newline
532 after a run of paragraphs
534 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
536 * paragraph.C: fix for confused change tracker when pasting
537 text that begins with a lineseparator. [bug 1827]
538 (setChange(0, Change::INSERTED);)
540 * paragraph_funcs.C: fix for lost changes on triple-paste
541 in change tracking mode [bug 1827] (par.setChange()).
543 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * text2.C (updateCounters, setCounter, expandLabel): move to
548 * buffer_funcs.C (updateCounters): turn into a free standing
549 function and add a buffer parameter. Remove dead code for tracking
551 (setCounter): change into a free-standing function which gets a
552 dociterator as argument. Use this iterator to fix captions in a
553 simple way. When no float is found above the caption, use the
554 labelstring of the caption layout as default.
556 * text.C (breakParagraph, backspace):
557 * text2.C (init, setLayout, changeDepth):
558 * text3.C (dispatch):
559 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
562 * dociterator.C (forwardPar): make it much faster by calling
563 forwardPos() only when really necessary.
565 * output_docbook.C (makeCommand): adapt to expandLabel move.
567 * cursor.C: remove unused variable
569 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
571 * paragraph_funcs.C: fix crash when pasting insets in change
572 tracking mode [bug 1277] (honour change type in moveItem).
574 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
576 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
578 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * BufferView.C (setCursor): change to use a DocIterator.
581 (gotoLabel): use BufferView::setCursor (other part of bug 781).
582 (putSelectionAt): adapt to BufferView::setCursor change.
584 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
585 moved here from LyXText and rewritten to use proper cursor
586 methods. Fixes bug 1787, 616 and 835.
588 * BufferView_pimpl.C (restorePosition): set the cursor correctly
589 when inside an inset (part of bug 781).
590 (dispatch): adapt to change of BufferView::setCursor.
591 (getStatus, dispatch): handle LFUN_GOTOERROR,
592 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
594 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
595 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
596 * text3.C (gotoNextInset, gotoInset): removed.
598 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
602 2005-02-15 Angus Leeming <leeming@lyx.org>
604 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
605 can be used meaningfully in a comparison.
607 2005-02-13 André Pönitz <poenitz@gmx.net>
609 * bufferview_funcs.C (coordOffset): improve cursor drawing
611 2005-02-13 André Pönitz <poenitz@gmx.net>
613 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
614 * Cursor.C (dispatch): use fixIfBroken
615 * lyxfunc.C (getStatus): use fixIfBroken
617 2005-02-15 Angus Leeming <leeming@lyx.org>
619 * lyx_main.C (error_handler):
621 * lyxrc.C (setDefaults):
623 #include "environment.h".
625 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
627 2005-02-15 Angus Leeming <leeming@lyx.org>
629 * lyxserver.C (startPipe): squash MSVC warning "local variable
630 'fd' used without having been initialized".
632 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * BufferView_pimpl.C: revert accidental commit.
636 2005-02-14 André Pönitz <poenitz@gmx.net>
638 * dociterator.[Ch]: new member forwardPosNoDescent(),
639 which doesn't enter nested insets.
640 * text2.C (setFont): use forwardPosNoDescent() instead
641 of ForwardPos() (fixes crash on font change).
643 2005-02-13 Angus Leeming <leeming@lyx.org>
645 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
646 only if lyxrc.path_prefix is not empty.
648 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
650 * bufferparams.C (readGraphicsDriver): prevent crash
652 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
654 * text2.C (setCounter): check for inInset() == 0
656 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
659 but use update() to get correct screen display; use convert
660 instead of istringstream.
661 (getStatus): handle LFUN_GOTO_PARAGRAPH
663 * lyxfunc.C (dispatch, getStatus): do not handle
664 LFUN_GOTO_PARAGRAPH here.
666 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
668 * text3.C (dispatch): size() -> depth()
670 * text2.C: remove some debug output
672 * paragraph.C: ws changes only
674 * lyxfunc.C (getStatus): size() -> depth()
676 * dociterator.h (clear, push_back, pop_back, internalData,
677 operator[], resize, empty): new functions
678 Make StableDocIterator and operator== be friends. Don't inherit
679 from std::vector use a privat class variable slices_ instead.
682 * dociterator.C: update because of not inheriting from std::vector
683 anymore. Call explictly to slices_ instead. Use depth() instead of
684 size() and top() instead of back()
686 * cursor.C: chagne size() -> depth and back() -> top(). Also
687 remove some direct operator[](i) calls in favour of foo[i]
688 (getFont): remove some dead code
690 * bufferview_funcs.C (coordOffset): size() -> depth()
692 * buffer.C: ws changes only
694 * CutAndPaste.C (eraseSelection): back() -> top()
696 * BufferView_pimpl.C (selectionRequested): back() -> top()
698 * BufferView.C (setCursor): size() -> depth()
700 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
702 * text3.C (cursorPrevious): return true if depm changed something
704 (dispatch): rename sl to oldTopSlice, remove moving use the new
705 NoUpdate func attrib instead. Make sure that needsUpdate is set
706 for function that have NoUpdate, but where depm might have changed
709 * text2.C (cursorLeft): make us return true if depm changed
712 (cursorUpParagraph): ditto
713 (curosrDownParagraph): ditto
714 (cursorUp, cursorDown): ditto, make sure to read comments in code
715 (deleteEmptyParagraphMechanism): remove an assert, also return
716 true if just a single char was deleted.
718 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
719 cursor that we modify, to avoid modifying an active cursor before
720 we call setCursor. This allows depm to run. Also return true if
721 depm deleted something.
723 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
724 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
725 cursorDownParagraph, cursorPrevious and cursorNext, return true if
726 something was changed in the buffer because of them (ie. depm run)
728 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
729 debug messages. Make update by default be false. Make sure that
730 the result of update is retained throught several calls down to
733 * LyXAction.h: add a new func_attrib: NoUpdate
735 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
736 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
737 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
739 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
741 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
744 bv_->owner(), bv_->buffer() by direct references to the private
746 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
747 (getStatus): isSavedPosition() is in BufferView::Pimpl.
748 (fitCursor): center() is in BufferView::Pimpl.
749 (getStatus, trackChanges, dispatch): no need for a temporary buf
751 (fitCursor, workAreaDispatch): use workarea().workheight()
753 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
755 * CutAndPaste.C (pasteSelectionHelper): fix a crash
757 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
759 * buffer.C: format up to 241.
760 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
761 break if pasting into ERT
762 * lyxfunc.C (getStatus): suppress mathpanel and
763 LFUN_DIALOG_SHOW_NEW_INSET in ERT
765 2005-02-01 Angus Leeming <leeming@lyx.org>
767 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
769 2005-02-01 Angus Leeming <leeming@lyx.org>
771 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
772 calling fs::is_directory().
774 2005-01-31 Angus Leeming <leeming@lyx.org>
776 * lyx_main.C (priv_exec): specify explicitly the relative location
777 of the top level build directory when run in-place.
779 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
781 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
782 LyXText containing the cursor, not the top-level one.
784 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
786 (insertStringAsLines): rename par to pit; use temporary variable
787 par to hold a Paragraph; do not store par.layout() in a variable,
788 since the pointer may die when breaking paragraphs; pass pars to
789 breakParagraph() instead of Buffer::paragraphs().
791 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
793 * lyxlex_pimpl.h: #include <fstream>.
795 * BufferView.[Ch] (getLyXText): add a const version.
797 * BufferView_pimpl.C: add debug aids.
802 * paragraph_funcs.h: add commentary explaining what the class does.
805 * coordcache.[Ch]: add lots of commentary.
806 (startUpdating, doneUpdating): debug aids.
807 (arrays, insets, parPos, getParPos): accessors to private data.
809 * cursor_slice.[Ch] (text): add a const version.
810 * dociterator.[Ch] (text, innerText): add const versions.
812 * lyxtext.h (breakParagraph): change the keep_layout arg to a
815 * paragraph.C (getRow, pos2ros): add asserts.
817 * paragraph.h: add commentary. Lots of.
819 * paragraph.[Ch] (metrucs, draw): removed.
822 * rowpainter.[Ch]: const-correct changes.
824 * text.C: various obvious clean-ups. Removal of ancient cruft.
827 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
829 * vc-backend.C (find_file): rewrite to use boost.filesystem
832 * main.C (main): set default name check for boost.filesystem to
835 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
838 (actOnUpdatedPrefs): ditto
840 * lyx_main.C (init): rewrite to use boost.filesystem
841 (queryUserLyXDir): ditto
843 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
844 (getContentsOfAsciiFile): ditto
846 * lastfiles.C (readFile): rewrite to use boost.filesystem
848 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
850 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
853 * buffer.C (Buffer): adjust for destroydir
854 (getLogName): rewrite to use boost.filesystem
856 (save): use fs::copy_file (from fs_extras)
858 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
860 * LaTeX.C (run): rewrite to use boost.filesystem
861 (scanAuxFiles): ditto
862 (handleFoundFile): ditto
864 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
866 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
868 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
870 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
872 * lyxlayout.[Ch]: change some vars from float to double
874 * buffer.C (readFile): make a local var const
876 * Several files: use convert<> instead of atoi,strToXXX and friends
878 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
880 * LaTeXFeatures.[Ch]: Add a static list packages_ that
881 holds the contents of packages.lst. New functions getAvailable
882 and isAvailable to parse and check that list, resp.
886 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
888 * bufferparams.[Ch]: new param output_changes.
890 * Buffer.C: increase file format to 240.
891 Use output_changes and isVailable.
895 * paragraph_pimpl.C: Use output_changes and isVailable.
897 2005-01-23 Angus Leeming <leeming@lyx.org>
899 * output_latex.C: #include "insetbibitem.h", rather than
900 forward declare function bibitemWidest.
902 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
904 * lyx_main.C (init): make it compile on the Mac.
906 2005-01-20 Angus Leeming <leeming@lyx.org>
908 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
909 (setLyXMisc): (char string literal) != (char string literal) is
910 performing a comparison on the addresses. Convert one operand
911 explicitly to string to guarantee expected behaviour.
914 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
917 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
919 * output_plaintext.C: remove unneeded #include gzstream.h.
921 2005-01-20 Angus Leeming <leeming@lyx.org>
923 * SpellBase.h: rename some of the elements of the Result enum.
930 * pspell.C (check): ditto
932 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
934 * buffer.C: add #include <fstream>.
936 * lyx_main.C (init): Compile fix.
938 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
940 2005-01-20 Angus Leeming <leeming@lyx.org>
942 * mover.h: change commentary to reflect the changed meaning of
945 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
947 * output_linuxdoc.C (linuxdocParagraphs): silence warning
949 * lyxfind.C (MatchString::operator()): remove bogus semicolon
951 2005-01-20 Angus Leeming <leeming@lyx.org>
953 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
954 printing diagnostic data by not dereferecing an iterator past the
957 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
959 * buffer.C (readHeader): use "&&" rather than "and".
961 * lyxserver.h (inPipeName, outPipeName): make these const.
963 2005-01-19 Angus Leeming <leeming@lyx.org>
965 * lyx_main.C (error_handler, init): protect SIGHUP with
966 #ifdef SIGHUP guards.
968 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
970 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
972 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
974 * text.C (setHeightOfRow): add a margin at the top and bottom of
975 the document (bug 1761)
977 2005-01-17 Angus Leeming <leeming@lyx.org>
979 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
980 with "python ". Workaround for a brain-dead Windows.
982 2005-01-16 Angus Leeming <leeming@lyx.org>
984 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
985 for MacOSX and Windows to use prependEnvPath.
986 Strip out the hard-coded block to add elements to the PATH for
987 MacOSX and replace it with a call to prependEnvPath using the
988 contents of LyXRC::path_prefix.
989 (queryUserLyXDir): strip out the code to run reconfigure, instead
990 returning a boolean indicating the necessity to do so.
991 (reconfigureUserLyXDir): contains the code to reconfigure the
992 user support directory. Is now called after the various LyXRC data
993 files have been read.
995 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
997 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
999 * converter.[Ch] (convert): take a new parameter try_default. Use
1000 a default converter (imagemagick) if try_default is true.
1002 2005-01-13 Angus Leeming <leeming@lyx.org>
1004 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1005 os::cygwin_path_fix.
1006 (write): output LyXRC::cygwin_path_fix as necessary.
1008 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1011 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1013 2005-01-12 Angus Leeming <leeming@lyx.org>
1015 * lyx_main.C (init): set the PATH variable to include the
1016 directory containing the LyX binary when running on Mac or Windows.
1018 2005-01-12 Angus Leeming <leeming@lyx.org>
1020 * lyx_main.C (init): remove cruft that purports to set the locale
1021 dir. It doesn't and is not needed anyway.
1023 2005-01-10 Angus Leeming <leeming@lyx.org>
1025 * Makefile.am: remove the lyx_main.C special casing.
1027 * BufferView_pimpl.C:
1033 * messages.C: use support/package.h to provide the paths to the
1034 various directories used by LyX.
1036 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1038 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1039 layout if pasting into an empty paragraph)
1041 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1043 * tex-accent.C: add <string>
1045 2005-01-06 José Matos <jamatos@lyx.org>
1047 * ParagraphParameters.C (write): put every parameter in its own line.
1048 * paragraph.C (write): reduce number of consecutive empty lines exported.
1049 * buffer.C (LYX_FORMAT): increase file format to 239.
1051 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1053 * everywhere: change support/tostr.h -> support/convert.h
1055 * tabular.C: make all write_attributes templates, tostr -> convert
1057 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1058 (emptyTag): and -> &&, and fix type for ret from getChar
1059 (getFirstWord): fix type for ret from getChar
1060 (onlyText): and -> &&
1061 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1064 * toc.C (goTo, action):
1065 * text3.C (dispatch):
1066 * text.C (currentState):
1067 * tex-accent.C (DoAccent):
1070 * lyxfunc.C (menuNew):
1071 * lyxfinc.C (replace):
1072 * counters.C (laberItem):
1073 * bufferview_funcs.C (font2string):
1074 * bufferparams.C (writeFile):
1075 * buffer.C (readFile):
1077 * MenuBackend.C: tostr -> convert
1079 * LaTeX.C (runMessage): fix format
1080 (scanAuxFiles): tostr -> convert
1082 * BufferView_pimpl.C (savePosition): fix format
1083 (restorePosition): ditto
1086 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1088 * Spacing.[Ch]: New method getValueAsString().
1092 * ParagraphParameters.C:
1095 * text3.C: store/read spacing value as string.
1097 * rowpainter.C: change float value (spacing_val) to double.
1099 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1100 broken custom document spacing).
1102 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1104 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1105 namespace, also more use of temp references and const
1107 * cursor.[Ch] (getStatus): move to lyxfunc.C
1109 * bufferparams.C: reformat slightly
1111 * bufferview_funcs.C (font2string): constify arg
1117 * buffer_funcs.C: (many funcs): constify arg on function
1118 definitions, also make more local vars const, also add ASSERTS on
1121 * buffer.C (LYX_FORMAT): put const in correct place
1122 (many funcs): constify arg on function definitions, also make
1123 more local vars const
1125 * aspell_local.h: remove "struct" from typdef setup
1127 * aspell.C (check): make word_ok const
1128 (nextMiss): simplify slightly
1131 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1133 * lyxrc.[Ch]: store all float values as strings.
1134 use int (not float) for lyxrc.dpi.
1136 2005-01-04 Angus Leeming <leeming@lyx.org>
1138 * lyx_cb.C (Reconfigure):
1139 * lyx_main.C (queryUserLyXDir):
1140 to run the <system_lyxdir>/configure correctly on Windows, prefix
1141 the path to the script with "sh " when generating the string that
1142 is passed to system().
1144 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1146 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1148 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1150 * lyxlength.C (asLatexString): get rid of setprecision
1152 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1154 * text2.C (setLayout): remove unused variable endpit.
1155 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1157 * paragraph.C (onlyText): remove unused variable style.
1159 * cursor.C (bruteFind): remove unused variables beg and end.
1161 * Makefile.am (dist_noinset_DATA): not needed anymore
1163 * cheaders/*: remove.
1165 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1167 * text3.C: fix LFUN_MATH_MODE.
1169 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1171 * buffer_funcs.C (countWords): new function. Counts words between
1174 * BufferView_pimpl.C (getStatus, dispatch): handle
1177 * LyXAction.C (init):
1178 * lfuns.h: add LFUN_WORDS_COUNT.
1180 2004-12-19 Angus Leeming <leeming@lyx.org>
1182 * buffer.C (save): s/slashify_path/internal_path/.
1184 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1186 * lyxfind.C (findChange): do not search for end of pars, because
1187 the change tracker cannot handle this (fixes bug 1719).
1189 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1191 * paragraph.[Ch] (autoBreakRows): remove
1193 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1195 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1196 avoid using the paragraph one
1198 * text2.C (LyXText, insertStringAsLines): adjust
1200 2004-12-16 Angus Leeming <leeming@lyx.org>
1204 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1206 2004-12-14 Angus Leeming <leeming@lyx.org>
1208 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1210 * bufferlist.C (emergencyWrite):
1211 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1214 2004-12-14 Angus Leeming <leeming@lyx.org>
1216 * main.C: (main): no longer pass pointers to os::init.
1218 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1220 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1221 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1223 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1226 * text3.C: remove selection_possible global flag
1228 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1230 * text2.C (getSelectionSpan): remove
1231 (changeDepth, changeDepthAllowed): adjust
1233 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1235 * Makefile.am (BOOST_LIBS): use boost variables
1237 2004-12-03 José Matos <jamatos@lyx.org>
1239 * buffer.C: format up to 238.
1241 2004-12-03 José Matos <jamatos@lyx.org>
1243 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1245 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1247 * cursor.C (goUpDown): remove call to idxUpDown2
1249 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1251 * tabular.[Ch]: use size_t-like types for cell, row and column
1254 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1256 * lyxfunc.C (getStatus): do not lose previous information when
1257 calling BufferView::getStatus; do not set a default "Command
1258 disabled" message at the beginning, but just before returning.
1260 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1262 * cursor.h (getStatus): add better comment from src/cursor.C
1264 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1266 * text3.C (getStatus): return false when the lfun is not handled
1268 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1270 * broken_headers.h: remove
1272 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1274 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1276 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1277 offset_ref accessors
1279 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1280 top_y_, merge fitcursor with update
1281 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1283 (metrics): introduce
1284 (workAreaDispatch): adapt to new coord scheme
1285 (redoCurrentBuffer): remove
1287 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1289 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1292 * coordcache.[Ch]: add paragraph cache and helpers
1294 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1297 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1298 (targetX, setTargetX): introduce
1300 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1301 baseline -> ascent, as the rest of lyx
1303 * lyxtext.h: remove redoParagraphs, updateParPositions,
1304 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1305 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1306 have ascent/descent (ascent is ascent of first par)
1308 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1311 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1313 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1315 * pariterator.C: fix infinite loop introduced in par->pit renaming
1317 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1318 in insets and LyXText, draw two off-screen paragraphs using
1319 NullPainter, and adapt to new coord scheme
1323 * text3.C: adapt lfun handlers to the new coord scheme, which
1324 means: there's only guaranteed coord information for onscreen pars
1325 plus one above and one below. This implies that one can do search
1326 from y coordinates in the range [-1,workHeight]
1328 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1330 * rename a lot of InsetOld to InsetBase
1332 2004-11-25 Angus Leeming <leeming@lyx.org>
1334 * BufferView_pimpl.C:
1336 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1338 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1340 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1341 call BufferView::getStatus if LCursor::getStatus did nothing
1342 (setStatusMessage, getStatusMessage): removed.
1344 * FuncStatus.C (message): new methods. Used to provide an error
1345 message indicating why a command is disabled.
1346 (clear, |=, FuncStatus): update for message.
1348 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1350 * lyxfunc.C (dispatch): always call sendDispatchMessage
1352 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1355 * BufferView_pimpl.C:
1360 * cursor_slice.[Ch]:
1363 * paragraph_funcs.C:
1369 * undo.C: par->pit renaming
1371 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1373 * tabular.C (cellstruct): use initialization, store a shared_ptr
1374 to insettext instead of the insettext directly, adjust to fit.
1375 (operator=): new function
1376 (swap): new function
1377 (rowstruct): use initialization
1378 (columnstruct): use initialization
1379 (ltType): use initialization
1382 * lyxlength.h (swap): new function
1384 * LColor.[Ch] (operator=): use the common semantics
1386 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * lyxfind.C (findNextChange): update the bufferview after setting
1391 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1393 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1394 number of InsetOptArgs has already been inserted.
1396 * output_latex.C (latexOptArgInsets): new method. This outputs all
1397 the optarg insets, up to the limit defined in the layout file.
1398 (optArgInset): removed
1399 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1401 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * paragraph.C (isLetter): remove special spellchecker-related
1404 code; return true also for digits
1405 (isWord, isKomma): remove
1407 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1408 * lyxfind.C (MatchString()): use isLetter instead of isWord
1410 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1412 * pariterator.h (operatir=): comment out un-implemented member
1415 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1418 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1420 * lyxfont.h: include LColor.h to satisfy concept checks.
1422 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1424 * pariterator.h: add typdefs for value_type, difference_type,
1425 pointer and reference to satisfy concept checks. Also add default
1426 constructor for same reason.
1428 * pariterator.C (operator++): add post-increment operator to
1429 satisfy concept checks.
1431 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1434 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1436 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1437 checks. Also rename base_type to BaseType to follow naming
1440 * FloatList.h: include Floating.h to satisfy concept checks.
1442 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1444 * lyxfunc.C (getStatus): when the origin of the request is menu or
1445 toolbar, and the LyXView does not have focus, do as if there was
1446 no buffer (bug 1720)
1448 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1449 FuncRequest to individual entries of LFUN_SEQUENCE
1451 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * output_latex.C (TeXOnePar): override runparams.moving_arg
1454 according to the needprotect value of the current paragraph (bug
1457 * paragraph.C (simpleTeXOnePar): no need to override
1458 runparams.moving_args here
1460 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1462 * vspace.C: fix off-by-one-error, related to fix #1682
1464 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1466 * lengthcommon.C: a more general fix for bug 1682
1468 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1470 * text.C (backspace): fix crash
1472 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1474 * format.[Ch] (getFormatFromFile): new method
1475 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1477 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1479 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1481 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1483 * lyxfunc.C (dispatch): remove the verbose argument
1484 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1487 * kbmap.C (defkey): set the origin of func to KEYBOARD
1489 * MenuBackend.C (MenuItem):
1490 * ToolbarBackend.C (add): set the origin of func to UI
1492 * funcrequest.[Ch]: add origin member, which indicates which part
1493 of LyX requests an action
1495 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1497 * converter.C (move): don't lie in the error message
1498 * converter.h (isReachable, move): document
1500 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1502 * buffer.C: remove unused using lyx::support::atoi
1503 * paragraph_funcs.C: ditto
1505 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1507 * bufferlist.C (exists): use bind and equal_to instead of
1510 * lyxtextclasslist.C (NumberOfClass): ditto
1512 * cursor.C (insert): use for_each instead of explicit for loop
1514 * bufferlist.C (getFileNames): use std::transform and
1515 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1517 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1520 * buffer.C (changeLanguage): use for_each instead of explicit for
1522 (hasParWithID): implement using getParFromID
1524 * LaTeXFeatures.C: ws change only
1526 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1529 * BufferView_pimpl.C (trackChanges): use for_each instead of
1532 2004-11-04 André Pönitz <poenitz@gmx.net>
1535 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1537 * dociterator.C (asDocIterator): use hard assert again.
1539 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 * lyxlength.C (asLatexString): rewrite so that it does not use
1544 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1546 * text3.C (specialChar, dispatch): make sure cursor moves to the
1547 right after inserting an inset
1549 2004-11-02 José Matos <jamatos@lyx.org>
1551 * output_docbook.C (docbook):
1552 * paragraph.C (getID):
1553 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1554 garantee that the output is always legal.
1556 * tabular.C (docbook):
1557 * outputprams.[Ch]: remove mixed contents.
1559 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1561 * text2.C (setCounter): prevent endless loop
1563 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1565 * exporter.C (copyFile): use the mover instead of support::copy()
1566 * exporter.C (Export): pass format and latex name to copyFile()
1567 * exporter.h (addExternalFile): document
1568 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1570 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1572 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1574 2004-10-30 José Matos <jamatos@lyx.org>
1576 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1577 text and no inset or font change. This allows to use CDATA
1578 sections just for the whole paragraph.
1580 2004-10-30 José Matos <jamatos@lyx.org>
1582 * paragraph.C (getFirstWord): remove unused variable.
1584 2004-10-30 José Matos <jamatos@lyx.org>
1586 * paragraph.C (getFirstWord): the content should always be escaped
1588 (simpleDocBookOnePar):
1589 * output_docbook.C (makeEnvironment): replace reference to CDATA
1592 2004-10-30 José Matos <jamatos@lyx.org>
1594 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1596 2004-10-30 José Matos <jamatos@lyx.org>
1598 * output_docbook.C (makeParagraphs):
1599 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1600 standard paragraph has only a given type of content drop the wrapper.
1602 2004-10-29 José Matos <jamatos@lyx.org>
1604 * output_docbook.C (makeEnvironment):
1606 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1608 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1610 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1611 (cleanID): sanitize any id.
1613 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1615 * buffer.C, lyxlex_pimpl.C:
1616 * lyxlex_pimpl.C (setFile):
1617 s/getExtFromContents/getFormatFromContents/
1619 2004-10-28 José Matos <jamatos@lyx.org>
1621 * output_docbook.C (makeEnvironment): move id to broadest possible
1624 * sgml.C (openTag): apply substitution of <> for all attributes.
1626 2004-10-28 José Matos <jamatos@lyx.org>
1628 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1629 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1630 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1632 * sgml.[Ch]: new version for open and closeTag for paragraph and
1633 for strings. Now they handle the ids of paragraphs.
1635 2004-10-26 Angus Leeming <leeming@lyx.org>
1637 * Makefile.am: add mover.[Ch].
1639 * converter.C (convert, move): use the new Movers to move external
1640 files to the temp directory.
1642 * lyx_main.C (init): ensure that the global system_movers data
1645 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1648 * mover.[Ch]: new files, defining a Mover as a utility to move an
1649 external file between directories and, if necessary, manipulate this
1650 file using a helper script.
1652 2004-10-25 José Matos <jamatos@lyx.org>
1654 * output_docbook.C (makeCommand): merge two if's that tested the
1657 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1659 * sgml.C (escapeString): fix warning in a better way
1661 2004-10-25 José Matos <jamatos@lyx.org>
1663 * sgml.C (escapeString): import the require boosts header file for
1664 tie, and avoid a signed unsigned comparison.
1666 2004-10-25 José Matos <jamatos@lyx.org>
1668 * sgml.h: add #include <string>
1670 2004-10-25 José Matos <jamatos@lyx.org>
1672 * sgml.[Ch] (escapeString): new function to escape all the string.
1674 2004-10-24 José Matos <jamatos@lyx.org>
1676 * paragraph.[Ch] (getFirstWord): new function to get the first
1677 word. Useful for description.
1678 (simpleDocBookOnePar): remove depth argument, add another that
1679 says where to start the paragraph.
1681 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1682 use the new functions to fix cleanly the support for descriptions.
1684 2004-10-24 José Matos <jamatos@lyx.org>
1686 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1687 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1688 * output_linuxdoc.C (linuxdocParagraphs):
1689 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1690 add buffer as argument.
1692 2004-10-24 José Matos <jamatos@lyx.org>
1694 * output_docbook.C (makeEnvironment, searchEnvironment): place
1695 CDATA inside paragraphs and fix scope for listitems.
1697 2004-10-24 José Matos <jamatos@lyx.org>
1699 * output_docbook.C: remove using statement for stack.
1701 2004-10-23 José Matos <jamatos@lyx.org>
1703 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1704 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1705 docbook. The new scheme is recursive and makes use of iterators, the
1706 same as latex export works.
1707 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1708 directly with the paragraph contents. This code was moved up to
1709 output_docbook.C (docbookParagraphs).
1710 * sgml.C (openTag, closeTag): removed unneeded newlines.
1711 (closeEnvTags) removed.
1713 2004-10-23 André Pönitz <poenitz@gmx.net>
1715 * undo.C (textUndoOrRedo):
1716 * dociterator.C (asDocIterator): work around crash
1718 * cursor.C (getStatus): replace ASSERT by more verbose error message
1719 and manual correction of the problem. Should increase stability
1720 while providing more sensible information.
1722 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1724 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1726 * bufferlist.C (previous, next): new methods
1729 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1731 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1733 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1734 entities to preamble.
1736 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1738 * messages.C (Pimpl): strip off translation context information
1740 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1742 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1743 the cursor is correct (bug 1694)
1745 2004-10-13 José Matos <jamatos@lyx.org>
1747 * output_docbook.C (docbookParagraphs): fix closing tags in the
1748 end of the document.
1750 2004-10-09 José Matos <jamatos@lyx.org>
1752 * buffer.C: format up to 237.
1753 * bufferparams.C (write): use tostr to convert booleans to strings.
1755 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1757 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1759 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1761 * LaTeX.C: implement use of babel language in xindy.
1763 2004-10-05 José Matos <jamatos@lyx.org>
1765 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1766 Add new translators to help reading and writing the lyx file.
1768 2004-10-05 José Matos <jamatos@lyx.org>
1770 * ParagraphParameters.C (read):
1771 * text.C (readParToken): replace nexToken by more appropriate lex
1774 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1776 * LaTeX.C (runMakeIndex):
1777 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1778 (usually 'makeindex') configurable.
1780 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1781 with a variable rather than with a number.
1783 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1785 * output_latex.C (TeXOnePar): make sure font setting is the first
1786 thing that gets output (and the last at the end). Should fix bug
1789 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1791 * pch.h: use proper signal include
1793 * LaTeX.h: Use preferred calling of Boost.Signal
1796 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1798 * pch.h: dont include <boost/function/function0.hpp>
1800 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1802 * paragraph_pimpl.h: remove usage of ShareContainer
1804 * paragraph_pimpl.C: remove initialization of ShareContainer.
1806 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1810 * BufferView.C (putSelectionAt): change the semantics when
1811 backwards == true: now, this just swaps cursor and anchor wrt the
1814 * BufferView.h (putSelectionAt): add some documentation
1816 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1817 make sure backwardChar is done at least once (to avoid getting
1819 (findNextChange): use putSelectionAt in the forward direction
1820 (operator()): use Paragraph::isWord
1822 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1824 * Spacing.C (set): c_str fix
1826 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1828 * lyx_cb.C (Reconfigure): quote the name of configure script in
1829 case it contains spaces
1831 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1835 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1836 (BOOST_LIBS): use top_buildir when looking for the file
1838 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1840 * pch.h: do not use include boost/format.hpp, multiple symbols
1841 will result (gcc bug)
1844 2004-08-23 José Matos <jamatos@lyx.org>
1846 * bufferparams.C (readToken): fix reading of the author field.
1848 2004-08-20 José Matos <jamatos@lyx.org>
1850 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1852 2004-08-20 José Matos <jamatos@lyx.org>
1854 * lyxlex.[Ch] (findToken): remove function.
1856 * ParagraphParameters.C (findToken):
1857 * bufferparams.C (findToken): replace call for previous function
1858 with local copy. This local function has one more argument, the
1859 read string argument.
1861 2004-08-16 José Matos <jamatos@lyx.org>
1863 * ParagraphParameters.C (write):
1864 * Spacing.C (writeFile):
1865 * bufferparams.C (writeLaTeX):
1866 * lyx_cb.C (Reconfigure):
1867 * paragraph.C (write):
1868 * tabular.C (write): remove unnecessary space at end of line.
1871 2004-08-16 José Matos <jamatos@lyx.org>
1873 * text.C (readParagraph): remove debug message.
1875 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1877 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1880 * output_plaintext.C (asciiParagraph): set depth correctly
1882 * outputparams.h: add member depth
1884 * paragraph_funcs.C (ownerPar): remove.
1886 * text2.C (setCounter): remove first_pit; comment out some
1887 non-working code that uses ownerPar
1889 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1892 2004-08-16 José Matos <jamatos@lyx.org>
1894 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1895 For the same level of importance use the same chanel to report problems.
1896 (read): add code to deal with \begin_body and \end_body.
1899 2004-08-15 José Matos <jamatos@lyx.org>
1901 * lyxlex.C (getString): fix comment, buffer::readBody is now
1902 buffer:readDocument.
1904 * tex-strings.C (string_papersize): Default -> default,
1905 Custom -> custom, for consistency with other options.
1907 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1911 * Makefile.am: support pch
1913 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1915 * text.C (readParToken): remove the static LyXFont variable and
1916 pass it as a parameter instead. This fixes a nasty bug where an
1917 inset will be inserted with a bad font in some situations
1918 (readParagraph): adapt
1920 * text2.C (setCounter): reduce number of calls to pars_[pit]
1922 * text.C (singleWidth): add an assert, fix a test
1924 * rowpainter.C (paintText): reduce number of calls to singleWidth
1926 * paragraph.C (isHfill):
1927 (isNewline): ws only
1929 2004-08-14 André Pönitz <poenitz@gmx.net>
1934 * lyxtext.h (several functions): use a Paragraph & argument
1937 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1939 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1941 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1943 * text.C (singleWidth): remove useless test
1945 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1947 * tabular.h: remove bogus comments
1949 * tabular.C (getDescentOfRow):
1950 (isPartOfMultiColumn): add assertions
1952 * lyxlength.C (inPixels): remove #warning
1954 2004-08-14 André Pönitz <poenitz@gmx.net>
1956 * paragraph.h: inline getChar()
1958 * BufferView.h: remove unused declarations
1960 2004-08-14 José Matos <jamatos@lyx.org>
1962 * Buffer.[Ch] (readDocument): new name for old readBody.
1963 * Buffer.C: new file format, new keywords: \begin_document,
1964 \begin_header, \begin_body, \end_body.
1966 * bufferparams.C (readToken): replace all calls to lex.nextToken
1967 by lex.next(). Do the same to eatLine except where really needed.
1969 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1970 line when writing to the lyx file.
1972 * output_plaintext.C (asciiParagraph): fix Bibliography style
1975 * text.C (read): fix end of file handling.
1977 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1979 * MenuBackend.C (Menu::operator[]): new method to access
1980 individual menu items
1981 (Menu::hasFunc): new method. search for an item that corresponds
1983 (MenuBackend::specialMenu): new method
1984 (MenuBackend::expand): if a special menu has been set, skip
1985 entries whose func() appears in this menu
1987 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1989 * text3.C: use Debug::DEBUG a bit more
1991 * text.C (leftMargin): try to simplify a tiny bit change var x to
1992 l_margin. Dont output the wide margins always.
1993 (rightMargin): no margin in inner texts
1995 * rowpainter.h (nestMargin): new func
1996 (changebarMargin): new func
1997 (rightMargin): new func
1999 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2003 * factory.C (createInset): modify setDrawFrame
2005 * cursor.C: use Debug::DEBUG a bit more
2007 2004-08-14 André Pönitz <poenitz@gmx.net>
2010 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2011 cache for all insets in (at least partially) visible (top-level)
2014 * BufferView_pimpl.C: reset external coord cache before every update.
2015 This means the coord cache only contains valid entries.
2017 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2020 * BufferView_pimpl.C (getInsetByCode): move function out of class
2021 and change in to a template in anon namespace. Also fix to do what
2024 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2027 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2029 (breakParagraph): rename par to par_offset and use a local
2030 reference. Add code to keep the language over a rebreak.
2031 (breakParagraphConservative): rename par to par_offset, use a
2033 (mergeParagraph): ditto
2035 (isFirstInSequence): ditto
2036 (outerFont): rename pit to par_offset
2038 * paragraph.C: ws change
2039 * paragraph.h: ditto
2043 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2048 * paragraph.C (simpleTeXOnePar): when we have a \item with
2049 optional argument, enclose the argument with curly brackets (in
2050 case it contains a closing square bracket)
2054 * text3.C (checkInsetHit): constify
2056 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2058 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2059 documents (bug 1629)
2061 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2063 Fix toggling of collapsable insets with the mouse (bug 1558)
2065 * lyxfunc.C (dispatch): adapt to LCursor changes
2067 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2068 make sure that dispatch is not invoked twice
2070 * cursor.C (needsUpdate): new method
2071 (dispatch): return void
2072 (result): new method, to access the DispatchResult of the cursor.
2074 2004-08-13 José Matos <jamatos@lyx.org>
2076 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2078 2004-08-13 André Pönitz <poenitz@gmx.net>
2080 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2082 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2085 2004-08-12 André Pönitz <poenitz@gmx.net>
2087 * text3.C: take out the 'cursor right' form insertInset and only
2088 do it in those places when it is really needed. Fixes crash on
2091 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2095 * BufferView_pimpl.C (setBuffer): initialize the current font of
2096 the underlying LyXText
2098 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2100 * kbsequence.C (print): use UI native formatting for menu
2103 * text.C (insertChar): call Paragraph::insertChar with a font
2106 * paragraph.C (insertInset, insertChar): the version that takes a
2107 LyXFont argument is now a wrapper around the other one (the
2108 opposite used to be true).
2110 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2111 argument. Font setting is done in Paragraph now.
2113 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * outputparams.h: add new members intitle and lang.
2117 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2118 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2120 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2122 * text3.C (dispatch): remove special handling of button 4 and 5,
2123 it is now taken care of in the frontend code.
2125 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2127 * Spacing.h: add <string> (STLPort compile fix)
2129 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2131 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2133 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2135 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2138 * converter.C (showMessage): inherit from unary_function, make
2141 * buffer.C (writeFile): initialize retval
2143 * InsetList.h: rename private variable list to list_
2144 * InsetList.[Ch]: adjust accordingly.
2146 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2148 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2149 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2150 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2151 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2152 * ParagraphParameters.C, LaTeXFeatures.C: replace
2153 "support/std_sstream.h" with <sstream>
2155 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2157 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2158 * lyxsocket.C (LyXServerSocket): ditto
2159 (serverCallback): ditto
2161 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2163 * LaTeXFeatures.C: check release date when loading jurabib.
2165 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2167 * lyxserver.C (startPipe): call register_socket_callback
2168 (endPipe): call unregister_socket_callback
2170 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2172 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2173 (LyXServerSocket): register the callback
2174 (LyXServerSocket): unregister the callback
2175 (fd): delete function
2176 (serverCallback): improve error checking and setup the callbacks.
2177 (dataCallback): change arg to fd.
2178 (writeln): new func (copied fro the client socket) used for server
2180 (LyXDataSocket): simplify
2181 (~LyXDataSocket): close ann unregiser callback
2182 (server): delete function
2183 (fd): delete function
2184 (readln): small changes, improve some std::string usage
2185 (writeln): constify a bit
2187 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2189 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2192 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2194 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2195 after it has been populated
2197 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2199 * text2.C (insertInset): move cursor when inserting inset.
2201 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2203 * kbmap.C (findbindings): a couple of new methods. returns a
2204 container of kb_sequence objects. The real work is done by the
2205 private recursive version
2206 (printbindings): uses findbindings to print out a bracketed list
2207 of bindings (renamed from findbinding).
2209 * MenuBackend.C (binding): use kb_keymap::findbindings
2211 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2213 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2215 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2217 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2219 * paragraph.C (isWord): return true on insets that report
2222 * text.C (getWord): use Paragraph::isWord to decide what is in a
2223 word and what is not; fix bug 1609.
2225 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2227 * tex-strings.C: add "none" to string_paperpackages[], fixes
2228 off-by-one-error in the paperpackage selection.
2231 * tex-strings.[Ch]: char const * string[n]
2232 -> char const * const string[]
2234 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2236 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2237 command, return early.
2239 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2241 * debug.h: add DEBUG to enum and fix size of ANY.
2243 * debug.C: add support for Debug::DEBUG
2244 (showTags): cast errorTags.level to unsigned int
2246 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2247 (redoCurrentBuffer): ditto
2248 (updateScrollbar): ditto
2249 * cursor.C (dispatch): ditto
2250 * text2.C (setLayout): ditto
2252 (updateCounters): ditto
2254 (deleteEmptyParagraphMechanism): ditto
2256 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2258 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2259 annotations to cleanup the Makefile slightly.
2261 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2263 * lyxrc.C: do not set user_email to a default value but use empty
2264 instead. The entry used to be translated, which does not work
2265 since at the point where lyxrc is constructed there is no
2266 translation service available
2268 * messages.C (getLocaleDir): remove and use directly
2269 lyx_localedir() instead
2271 2004-06-02 Angus Leeming <leeming@lyx.org>
2273 Fix crash caused by dereferencing null pointer 'exportdata' in
2274 OutputParams by creating a new ExportData variable on the heap,
2275 storing it in a boost::shared_ptr.
2276 The crash was triggered when generating an Instant Preview
2277 of an external inset.
2279 * Makefile.am: add outputparams.C
2281 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2282 (c-tor): allocate memory to it.
2284 * exporter.C (c-tor): associated changes.
2286 2004-06-01 Angus Leeming <leeming@lyx.org>
2288 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2289 contains data before calling isInset(0). (Bug 1513.)
2291 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2293 * exporter.C (checkOverwrite): new method
2294 * exporter.C (copyFile): new method
2295 * exporter.C (Export): copy referenced files to the document dir
2296 * exporter.[Ch]: new class ExportedFile
2297 * exporter.[Ch]: new class ExportData. Contains currently the
2298 names of referenced external files
2299 * outputparams.h: add exportdata member.
2301 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2303 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2306 2004-05-19 Angus Leeming <leeming@lyx.org>
2311 * lyxfunc.C: small changes due to the introduction of namespace
2312 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2314 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2316 * text3.C (dispatch): supress update when only moving the cursor
2317 * cursor.C (selHandle): remove commented code
2319 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2321 * paragraph.C (startTeXParParams): correct column count
2322 * CutAndPaste.C (pasteSelection): remove const_cast
2323 * output_docbook.C (docbookParagraphs): remove const_cast
2324 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2325 const_cast and return ParagraphList::const_iterator
2326 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2327 * output_plaintext.C (writeFileAscii): remove const_cast
2328 * paragraph.[Ch] (simpleTeXOnePar): make const
2329 * paragraph_funcs.C (outerPar): use const iterators
2330 * paragraph_pimpl.C (validate): use const iterators
2331 * text.C (setHeightOfRow): use const iterators
2333 2004-05-17 Angus Leeming <leeming@lyx.org>
2336 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2338 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2339 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2340 if the citation engine has changed.
2342 2004-05-14 José Matos <jamatos@lyx.org>
2344 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2345 if the textclass does not provide it. Have it different for sgml and
2347 support the language of document.
2348 * output_docbook.C (docbookParagraphs):
2349 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2350 first anchor as the id of the paragraph, remove special case code.
2351 * sgml.C (escapeChar): escape only < & >.
2353 2004-05-14 Angus Leeming <leeming@lyx.org>
2355 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2356 dependencies on src/frontends/controllers/biblio.h. Define a
2357 CiteEngine_enum wrapper class to enable the enum to be forward
2360 2004-05-12 Angus Leeming <leeming@lyx.org>
2362 * buffer.C: up LYX_FORMAT to 234.
2363 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2364 use_numerical_citations with a single biblio::CiteEngine cite_engine
2366 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2368 2004-05-13 José Matos <jamatos@lyx.org>
2371 * converter.C (Converter, readFlags): add xml member.
2372 * outputparams.h: add XML flavor.
2373 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2375 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2377 * lyxfunc.C (dispatch):
2378 (getStatus): fix handling of LFUN_SEQUENCE
2380 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2382 * debug.C (showLevel): do not forget the end-of-line marker
2384 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2386 * kbmap.C (read): do not stop parsing a bind file when an error
2389 2004-04-29 Angus Leeming <leeming@lyx.org>
2394 * text2.C: wrap a bunch of #warning statements
2395 inside #ifdef WITH_WARNINGS blocks.
2397 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2399 * buffer.C: increment format to 233.
2401 2004-04-28 Angus Leeming <leeming@lyx.org>
2403 * BufferView_pimpl.C:
2406 s/updateToolbar()/updateToolbars()/
2407 s/Toolbar.h/Toolbars.h/
2409 2004-04-28 Angus Leeming <leeming@lyx.org>
2411 * BufferView.[Ch] (c-tor):
2412 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2413 No longer passes these data to the WorkArea generator.
2415 2004-04-28 Angus Leeming <leeming@lyx.org>
2417 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2419 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2421 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2423 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2425 * output_latex.C (TeXEnvironment): make sure that there is a line
2426 break before \end{foo} for the last paragraph of a document
2427 (TeXOnePar): if the paragraph is at the end of the document (or
2428 inset) and the language has to be reset, then make sure that the
2429 line break is _before_ the language command, not after (fixes bug
2430 1225); also make sure that the language reset command is the first
2431 thing after the paragraph (to ensure proper nesting of
2432 environments and thus fix bug 1404)
2434 2004-04-21 John Levon <levon@movementarian.org>
2437 * ToolbarBackend.C: make "name" be a programmatic name
2438 and a gui_name field.
2440 * lyxfunc.C: display the minibuffer on M-x
2442 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2444 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2447 2004-04-19 Angus Leeming <leeming@lyx.org>
2449 * BufferView_pimpl.C (setBuffer): changed preview interface.
2451 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2454 2004-04-19 John Levon <levon@movementarian.org>
2456 * BufferView_pimpl.C:
2457 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2459 2004-04-05 Angus Leeming <leeming@lyx.org>
2461 * text.C (redoParagraphs): add call to updateCounters(), thereby
2462 fixing the missing "Figure #:" label from the caption of a
2465 2004-04-13 Angus Leeming <leeming@lyx.org>
2467 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2468 cursor is clicked out of an inset.
2470 2004-04-13 Angus Leeming <leeming@lyx.org>
2472 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2473 than an InsetOld one.
2475 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2477 * format.[Ch]: add editor to Format
2478 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2479 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2481 2004-04-08 André Pönitz <poenitz@gmx.net>
2483 * metricsinfo.h: remove PainterInfo::width member
2485 2004-04-08 Angus Leeming <leeming@lyx.org>
2487 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2488 "\providecommand" rather than "\newcommand", thereby preventing
2489 clashes with packages that define "\boldsymbol" themselves.
2492 2004-04-08 Angus Leeming <leeming@lyx.org>
2494 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2495 thereby squashing an unnecessary warning.
2497 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2499 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2502 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2504 * BufferView.C (setCursor): call redoParagraph (some insets could
2506 (putSelectionAt): remove the 'double update' trick
2508 * BufferView_pimpl.C (fitCursor): call refreshPar
2509 (workAreaDispatch): remove an uneeded update call
2510 (dispatch): remove some manual update calls
2512 * cursor.[Ch]: remove cached_y_, updatePos
2513 (selHandle): set noUpdate when appropriate
2515 * lyxfunc.C (dispatch): track if we need an update
2517 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2519 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2520 (paintSelection): cheap optimization, do not call cursorX when not
2522 (paintPars): change signature
2525 (paintTextInset): adjust
2529 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2531 * lengthcommon.C: compilation fix: remove explicit array size from
2532 unit_name[] and friends
2534 2004-04-05 Angus Leeming <leeming@lyx.org>
2536 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2538 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2539 present only for the preferences dialog.
2540 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2542 2004-04-05 Angus Leeming <leeming@lyx.org>
2544 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2545 to enable the frontends to export changes to lyxrc correctly.
2547 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2549 2004-04-07 André Pönitz <poenitz@gmx.net>
2551 * cursor.[Ch] (selClear, adjust): remove math
2553 * cursor_slice.C: more agressive assert
2556 * BufferView_pimpl.C: rework mouse event dispatch
2563 2004-04-05 André Pönitz <poenitz@gmx.net>
2565 * cursor.[Ch] (valign, halign...): remove unneeded functions
2567 2004-04-05 Angus Leeming <leeming@lyx.org>
2569 * lyxlength.[Ch] (unit_name et al.): const-correct.
2571 2004-04-05 Angus Leeming <leeming@lyx.org>
2573 * BufferView_pimpl.C:
2582 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2584 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2586 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2588 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2590 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2591 * BufferView_pimpl.[Ch] (getStatus)
2592 * BufferView.[Ch] (getStatus): add
2593 * lyxfunc.C (getStatus): move lfuns handled in
2594 BufferView::dispatch to te function above
2595 * Cursor.C (setSelection): set selection() = true
2597 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2599 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2601 2004-03-31 Angus Leeming <leeming@lyx.org>
2603 * lyxfunc.C (dispatch): Fall through to the generic
2604 Dialogs::show("preamble").
2606 2004-03-31 Angus Leeming <leeming@lyx.org>
2608 * lyxfunc.C (dispatch): Fall through to the generic
2609 Dialogs::show("spellchecker").
2611 2004-03-31 Angus Leeming <leeming@lyx.org>
2613 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2616 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2621 * insetiterator.[Ch]:
2626 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2628 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2630 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2631 insets where we are putting the cursor.
2633 2004-03-31 Angus Leeming <leeming@lyx.org>
2636 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2638 * lyxrc.[Ch] (read, write): overloaded member functions taking
2639 a std::[io]stream arguments.
2641 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2643 2004-03-31 Angus Leeming <leeming@lyx.org>
2645 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2646 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2648 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2649 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2651 2004-03-31 Angus Leeming <leeming@lyx.org>
2653 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2654 the LFUN_ALL_INSETS_TOGGLE code.
2656 2004-03-30 Angus Leeming <leeming@lyx.org>
2658 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2659 has died. Fall through to the generic Dialogs::show("document").
2661 2004-03-30 Angus Leeming <leeming@lyx.org>
2664 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2665 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2667 * lyxfunc.C (getStatus, dispatch): define the actions for these
2668 lfuns. Little more than a cut and pste job from ControlDocument.C
2670 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2672 2004-03-30 Angus Leeming <leeming@lyx.org>
2675 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2676 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2678 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2679 open/closed state of ollapsable insets. Usage:
2681 all-inset-toggle <state> <name>, where
2682 <state> == "open" || "closed" || "toggle" and
2683 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2685 * lyxtext.h, text2.C (toggleInset): removed.
2687 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2688 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2689 now passes LFUN_INSET_TOGGLE to the found inset.
2691 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2692 is now invoked as "all-insets-toggle toggle branch".
2694 2004-03-30 Angus Leeming <leeming@lyx.org>
2698 * pariterator.[Ch]: added/corrected header blurb.
2700 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2702 * dociterator.[Ch]: add an inset_ member
2703 (backwardPos): implemented
2704 (backwardPos, forwardPos): use inset_ when the stack is empty.
2705 (doc_iterator_begin, doc_iterator_end): implemented
2706 * pariterator.[Ch]: adjust, add begin, end
2707 * insetiterator.[Ch]: adjust, add begin, end
2711 * BufferView_pimpl.C:
2712 * CutAndPaste.C: adjust
2714 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2716 * buffer.C: increment file format to 232.
2717 * LaTeXFeatures.C: add bibtopic package.
2718 * bufferparams.[Ch]: param \use_bibtopic.
2720 * lyxrc.[Ch]: add lyxrc bibtex_command
2721 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2723 * buffer.C: increment file format to 231.
2725 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2727 * dociterator.C: implement forwardPar
2728 * iterators.[Ch]: remove, replaced by
2729 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2731 * BufferView_pimpl.C:
2734 * bufferview_funcs.C:
2740 * Makefile.am: adjust
2742 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2744 * CutAndPaste.C (pasteSelection): fix 2 crashes
2745 (eraseSelection): fix a crash
2746 * paragraph_funcs.C: remove a warning
2748 2004-03-28 Angus Leeming <leeming@lyx.org>
2751 * LyXAction.C (init): new LFUN_PRINT.
2753 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2755 2004-03-27 Angus Leeming <leeming@lyx.org>
2758 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2760 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2762 2004-03-27 Angus Leeming <leeming@lyx.org>
2764 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2765 insetlist always contains non-null pointers to insets.
2767 2004-03-26 Angus Leeming <leeming@lyx.org>
2769 * src/BufferView_pimpl.C:
2770 * src/CutAndPaste.C:
2773 * src/output_plaintext.C:
2774 * src/outputparams.h:
2775 * src/paragraph_funcs.C:
2779 * src/frontends/controllers/ControlErrorList.C:
2780 * src/frontends/gtk/FileDialogPrivate.C:
2781 * src/frontends/gtk/GPainter.C:
2782 * src/frontends/gtk/GToolbar.C:
2783 * src/frontends/qt2/QRef.C:
2784 * src/mathed/math_scriptinset.C: squash compiler warnings.
2786 2004-03-26 Angus Leeming <leeming@lyx.org>
2788 * ispell.C (LaunchIspell::start):
2789 * lyx_cb.C (AutoSaveBuffer::start):
2790 invoke run(DontWait) rather than runNonBlocking().
2792 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2794 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2796 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2798 * kbsequence.C (print): adjust
2800 * kbmap.C (printKeySym): rename and change signature
2801 (printKey): use LyXKeySym::print()
2803 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2805 * undo.C: add using std::advance to compile for stlport
2807 2004-03-24 Angus Leeming <leeming@lyx.org>
2809 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2810 it leads to a crash when no buffer is present.
2812 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2813 Martin Vermeer <martin.vermeer@hut.fi>
2815 * lyxfunc.C (dispatch):
2816 * bufferparams.C (readToken): use the new LColor::setColor
2818 * LColor.[Ch] (setColor): new version that takes two strings as
2819 argument and creates a new color entry if necessary
2821 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2823 * buffer.C (makeLaTeXFile): if the main latex file that is
2824 processed is usually a subdocument of some master, then pretend
2825 for a while that it is actually the master
2827 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2829 * buffer.C (getLabelList):
2830 (getBibkeyList): use getMasterBuffer()
2831 (getMasterBuffer): new method. Returns the main document in the
2832 case where one is using included documents.
2834 2004-03-25 André Pönitz <poenitz@gmx.net>
2838 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2840 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2842 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2843 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2845 * ParameterStruct.h: merge with ParagraphParameters
2847 * lyxtext.h: remove LyXText::parOffset() and getPar()
2849 * text3.C: Remove all 'manual' update calls. We do now one per user
2850 interaction which is completely sufficient.
2854 * BufferView_pimpl.C:
2855 * FontIterator.[Ch]:
2857 * ParagraphParameters.[Ch]:
2862 * cursor_slice.[Ch]:
2869 * output_docbook.[Ch]:
2870 * output_latex.[Ch]:
2871 * output_linuxdoc.[Ch]:
2872 * output_plaintext.[Ch]:
2874 * paragraph_funcs.[Ch]:
2875 * paragraph_pimpl.[Ch]:
2883 * frontends/controllers/ControlDocument.C:
2884 * frontends/controllers/ControlErrorList.C:
2885 * frontends/controllers/ControlSpellchecker.C:
2888 * insets/insetbase.h:
2889 * insets/insetbibitem.C:
2890 * insets/insetbox.C:
2891 * insets/insetbranch.C:
2892 * insets/insetcaption.C:
2893 * insets/insetcharstyle.C:
2894 * insets/insetcharstyle.h:
2895 * insets/insetcollapsable.C:
2896 * insets/insetcollapsable.h:
2897 * insets/insetert.C:
2898 * insets/insetfloat.C:
2899 * insets/insetfoot.C:
2900 * insets/insetmarginal.C:
2901 * insets/insetnote.C:
2902 * insets/insetoptarg.C:
2903 * insets/insettabular.C:
2904 * insets/insettext.C:
2905 * insets/insettext.h:
2906 * insets/insetwrap.C:
2907 * mathed/math_mboxinset.C:
2908 * mathed/math_nestinset.C:
2909 * mathed/math_scriptinset.C:
2910 * mathed/math_scriptinset.h:
2913 2004-03-24 Angus Leeming <leeming@lyx.org>
2915 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2916 deal with any child processes that have finished but are waiting to
2917 communicate this fact to the rest of LyX.
2919 2004-03-24 Angus Leeming <leeming@lyx.org>
2921 64-bit compile fixes.
2923 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2924 (c-tor): pass lyx::pos_types rather than ints.
2926 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2929 * text.C (Delete): compile fix.
2930 (getPar): ensure that function declaration is the same as that in
2933 2004-03-23 Angus Leeming <leeming@lyx.org>
2935 * ispell.C (LaunchIspell):
2936 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2937 a boost::shred_ptr rather than a std::auto_ptr.
2939 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2941 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2942 handle LFUN_FILE_INSERT_*
2944 * lyxrc.C (setDefaults, getDescription, output, read):
2945 * lyxrc.h: remove ps_command
2947 2004-03-22 Angus Leeming <leeming@lyx.org>
2949 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2950 Ensure that error_handler is processed once only and that all data
2951 is saved before attempting to output any warning messages.
2953 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2955 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2957 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2959 2004-03-19 André Pönitz <poenitz@gmx.net>
2961 * cursor.[Ch] (reset): take main text inset as argument
2963 * BufferView: adjust
2964 * BufferView_pimpl.C: adjust
2966 * paragraph.[Ch]: fix completely broken operator=()
2968 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2970 * LColor.C (getFromLyXName): make sure that the color name is used
2973 2004-03-17 Angus Leeming <leeming@lyx.org>
2976 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2978 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2979 dialog and to kill a forked process.
2981 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2983 * text2.C (setCursorFromCoordinates): fix font problem
2985 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2987 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2988 bogus "rebuild cursor" code
2990 2004-03-11 André Pönitz <poenitz@gmx.net>
2992 * buffer.[Ch]: use InsetText instead of LyXText as container for
2995 * dociterator.[Ch]: drop the BufferView * member which is not needed
2996 anymore after the change to buffer.C
2998 * paragraph_funcs.C:
3002 * BufferView_pimpl.[Ch]:
3004 * cursor_slice.[Ch]: adjust
3006 * text3.C: fix bug in mathDispatch
3008 2004-03-08 André Pönitz <poenitz@gmx.net>
3010 * undo.[Ch]: use 'StableDocumentIterator' as base for
3013 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3016 * bufferparams.[Ch]: add jurabib support and param.
3018 * LaTeX.C: add FIXME/comment.
3020 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3022 * buffer.C: increment file format to 230.
3024 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3026 * cursor.C (dispatch): avoid infinite loops
3028 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3030 * rowpainter.C (paintSelection): fix x coordinates
3032 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3034 * text.C (rowBreakPoint): fix breaking before displayed insets
3036 2004-03-01 André Pönitz <poenitz@gmx.net>
3038 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3040 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3044 * BufferView_pimpl.C:
3052 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3058 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3059 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3061 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3063 * Bidi.[Ch] (computeTables): const correctness
3064 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3065 fill_hfill, fill_label_hfill and x from Row
3066 * lyxtext.h: prepareToPrint returns a RowMetrics
3067 * rowPainter.C: adjust
3068 * text.C (prepareToPrint): use width, not textWidth. adjust
3069 (redoParagraphInternal, cursorX): adjust
3070 * text2.C (getColumnNearX): adjust
3071 (init): put a default value to the top LyXText::width
3073 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3075 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3077 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3079 * lyxtext.h: add FontIterator class
3081 * text.C (FontIterator, operator*, operator->, operator++): add
3082 (rowBreakPoint, setRowWidth): adjust (fixing a
3085 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3087 * BufferView_pimpl.C (workAreaDispatch): allow also
3088 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3090 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3092 * text.C (rowBreakPoint): fix a bug showing with very large insets
3094 2004-02-25 André Pönitz <poenitz@gmx.net>
3097 * cursor.[Ch]: move some mathed specific code to mathed
3099 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3101 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3102 use_tempdir in preferences
3103 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3105 * lyx_main.C: ensure that tempdir is valid
3106 * lyxlex.h: correct typo
3107 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3108 * paragraph.[Ch] (isMultiLingual): make const
3109 * cursor.[Ch] (openable): make const
3111 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3113 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3115 2004-02-20 André Pönitz <poenitz@gmx.net>
3117 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3119 * cursor.[Ch]: prepare for localized getStatus()
3125 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3127 2004-02-20 André Pönitz <poenitz@gmx.net>
3129 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3131 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3133 * text2.C (setCursorFromCoordinates): switch to absolute coords
3135 (cursorDown): adjust
3136 * text3.C (dispatch): adjust
3138 2004-02-16 André Pönitz <poenitz@gmx.net>
3140 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3143 * cursor_slice.[Ch]: remove unneeded acessor function
3145 * lyxtext.h: rename rtl() to isRTL()
3153 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3155 * rowpainter.C (paintSelection): coord fix
3157 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3159 * Spacing.C: compile fix
3161 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3163 * cursor.C (dispatch): restore current_ before returning
3165 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3167 * text2.C (cursorUp, cursorDown): fix coords
3170 2004-02-12 André Pönitz <poenitz@gmx.net>
3175 * text3.C: add LCursor & parameter to most cursor movement functions
3176 remove usage of LyXText::cursorRow() and cursorPar()
3178 * cursor.[Ch]: add textRow() needed members
3181 * BufferView_pimpl.C:
3184 * BufferView_pimpl.C: adjust
3186 2004-02-11 André Pönitz <poenitz@gmx.net>
3190 * BufferView_pimpl.C: shift undo/redo handling
3192 * cursor.[Ch]: fix mathed crash
3195 * lyxtext.h: move selectionAsText to LCursor
3203 * rowpainter.C: fix excessive drawing
3205 2004-02-06 André Pönitz <poenitz@gmx.net>
3208 * BufferView_pimpl.[Ch]:
3209 * text3.C: move some text specific LFUN handling
3211 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3213 * text3.C (checkInsetHit): adjust coords
3214 * text2.C (getColumnNearX): adjust coords
3215 (edit): adjust coords
3216 * text.C (getRowNearY): add two asserts
3218 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3221 * format.C: add using std::distance to compile on gcc 2.95/stlport
3223 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3225 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3227 2004-02-04 André Pönitz <poenitz@gmx.net>
3229 * BufferView.[Ch] (insertInset):
3230 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3235 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3237 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3238 on the default clause of the switch
3239 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3240 wasn't catched by LCursor::dispatch
3242 2004-02-03 André Pönitz <poenitz@gmx.net>
3245 * cursor.[Ch]: some additional asserts
3247 * undo.[Ch]: remove LyXText dependency in interface
3251 * lyxtext.h (firstPar, lastPar): remove dead functions
3256 * paragraph.[Ch]: adjust
3258 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3260 * lyxfind.C (find): fix argument order in call to ::find
3262 2004-02-02 André Pönitz <poenitz@gmx.net>
3264 * cursor.[Ch]: remove direct access to anchor
3266 * text.C: remove findText() hack
3268 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3270 * iterators.[Ch] (lockPath): remove in favour of...
3271 * BufferView.[Ch] (setCursor): this addition
3272 * BufferView.C (putSelectionAt): adjust
3273 * undo.C (performUndoOrRedo): adjust
3274 * lyxfunc.C (dispatch): adjust
3276 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3278 * iterators.C (lockPath): add a missing slice
3279 * undo.C (performUndoOrRedo): remove redundant positioning code
3281 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3283 * vc-backend.C (scanMaster): ";" -> ';'
3285 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3287 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3288 std::binary_function
3290 * lyxtextclass.C (compare_name): rename to...
3291 (LayoutNamesEqual): ...this
3293 * lyxlex_pimpl.C (compare_tags): inherit from
3294 std::binary_function, put back into anon namespace
3296 * lyxfind.C (MatchString): inherig from std::binary_function
3297 (findChange): use empty() istead of !size()
3299 * format.C (FormatNamesEqual): new functor
3306 * converter.C (compare_Converter): rename to...
3307 (ConverterEqual): ...this, and fixup a bit.
3308 (getConverter): use it, and make function const
3309 (getNumber): use it, and make function const
3313 * bufferlist.C: add using boost::bind
3315 * MenuBackend.C (MenuNamesEqual): new functor
3316 (hasMenu): use it, and make function const
3317 (hasSubmenu): use nested bind to get rid of compare_memfun.
3319 2004-01-30 André Pönitz <poenitz@gmx.net>
3321 * BufferView_pimpl.C:
3324 * cursor_slice.[Ch]:
3327 * paragraph_funcs.C:
3328 * paragraph_funcs.h:
3332 * text3.C: move some of the edit(x,y) handling to the insets
3333 some coordinate changes.
3335 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3337 * text.C: add using statements for std::advance and std::distance
3339 * paragraph.C: add using statement for std::distance
3341 * lyxfind.C: add using statement for std::advance
3343 * cursor.C (region): remove std:: from swap
3344 (openable): use nucleus in stead of operator->
3346 * BufferView.C: add using statements for std::distance and std::swap
3348 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3350 * iterators.C: Remove the pimple, move the needed structures to
3351 the header file. Create accessor for the positions stack.
3352 (asPosIterator): remove function
3354 * PosIterator.C (PosIterator): move constructors to top of file
3355 (PosIterator): reimplement the constructor taking a ParIterator in
3357 (setFrom): new function
3358 (operator!=): inline it
3360 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3362 * lyxfind.C (replaceAll): use std::advance
3364 * iterators.h: inherit from std::iterator.
3366 * PosIterator.C (advance, distance): remove
3367 * PosIterator.h: interit from std::iterator.
3369 2004-01-26 André Pönitz <poenitz@gmx.net>
3372 * BufferView_pimpl.[Ch]:
3376 * bufferview_funcs.C:
3386 * output_linuxdoc.C:
3387 * output_plaintext.C:
3389 * paragraph_funcs.[Ch]:
3390 * paragraph_pimpl.[Ch]:
3396 * text3.C: more IU: dumps most of the rest of the mathcursor
3397 implementation into cursor.[Ch]; "globalize" a bit of it.
3399 2004-01-25 Angus Leeming <leeming@lyx.org>
3401 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3403 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3405 * LaTeXFeatures.h: add nice_ and nice() const
3406 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3408 2004-01-20 André Pönitz <poenitz@gmx.net>
3411 * BufferView_pimpl.C:
3413 * bufferview_funcs.C:
3415 * cursor_slice.[Ch]:
3426 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3427 LCursor and mathcursor parts to LCursor and InsetBase.
3429 2004-01-15 André Pönitz <poenitz@gmx.net>
3431 * cursor_slice.[Ch]: add a few covienience functions
3433 * funcrequest.[Ch]: remove BufferView * member
3435 * BufferView_pimpl.C:
3442 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3444 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3446 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3447 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3449 2004-01-13 André Pönitz <poenitz@gmx.net>
3452 * lyxtext.h: hide cursor and selection anchor behind accessor function
3455 * BufferView_pimpl.[Ch]:
3457 * bufferview_funcs.C:
3467 * cursor_slice.[Ch]: some integer type changes for inset unification
3469 * lyxcursor.[hC]: remove, it's CursorSlice now.
3472 * BufferView_pimpl.[Ch]:
3473 * bufferview_funcs.C:
3479 * textcursor.[Ch]: adjust
3481 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3483 * text2.C (undoSpan): add and use
3484 * text.C (breakParagraph): use undoSpan (fix bug 578)
3487 2004-01-08 Angus Leeming <leeming@lyx.org>
3489 * BufferView_pimpl.C (MenuInsertLyXFile):
3490 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3491 * lyxfunc.C (menuNew, open, doImport):
3492 FileFilterList change to the FileDialog open and save functions.
3494 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3496 * ShareContainer.h: make isEqual and isUnique adaptable
3498 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3500 2004-01-07 Angus Leeming <leeming@lyx.org>
3503 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3505 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3507 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3508 functions replacing find, replace and replaceAll.
3510 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3511 LFUN_WORDFIND(FORWARD|BACKWARD).
3513 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3515 * text.C (breakParagraph): remove an outdated #warning
3517 2004-01-07 André Pönitz <poenitz@gmx.net>
3519 * lyxfind.C: somewhat clearer logic
3521 * text.C: prevent crash in cursorX on unitialized row cache
3523 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3525 * lyxcursor.[Ch] (operator>): add
3526 * textcursor.C (selStart, selEnd): use std::min and std::max
3528 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3530 * Chktex.C: include boost/format.hpp
3532 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3534 * InsetList.C: replace functor MathcIt with adaptable functor
3536 (insetIterator): modify accordingly
3538 * BranchList.h: move the BranchNamesEqual functor here from...
3539 * BranchList.C: ... to here
3541 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3543 (add): replace a finding loop with std::find_if.
3545 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3547 * output_docbook.C: moving LatexParam functionality into
3550 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3552 * buffer.C: increment format to 229.
3554 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3557 * lyx_sty.[Ch]: remove minipageindent_def
3563 * text3.C: remove LFUN_INSET_MINIPAGE
3565 2003-12-28 Angus Leeming <leeming@lyx.org>
3567 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3569 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3571 * text2.C (setParagraph): fix off-by-one crash
3573 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3575 * output_docbook.C: header stuff for AGU
3577 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3579 * text2.C (redoCursor): remove
3582 * BufferView_pimpl.C: remove calls to redoCursor and
3583 setCursor(cursor.par(), cursor.pos()) all around
3585 2003-12-15 Angus Leeming <leeming@lyx.org>
3587 * buffer.C: up the format to 228.
3589 2003-12-15 André Pönitz <poenitz@gmx.net>
3591 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3596 * BufferView_pimpl.C:
3605 2003-12-15 Angus Leeming <leeming@lyx.org>
3607 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3608 than getFromGUIName to manipulate the color.
3610 2003-12-14 Angus Leeming <leeming@lyx.org>
3612 * BranchList.[Ch]: minimize the API.
3613 (Branch::getBranch, getColor): now return a 'const &'.
3614 (Branch::setSelected) now returns a bool set to true if the
3615 selection status changes.
3616 (BranchList::clear, size, getColor, setColor, setSelected,
3617 allBranches, allSelected, separator): removed.
3618 (BranchList::find): new functions, returning the Branch with
3620 (BranchList::add, remove): return a bool indicating that
3621 the operation was successful.
3623 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3624 new InsetBranch::isBranchSlected member function.
3626 * LColor.[Ch]: mimimize the API.
3627 (fill): renamed as addColor and made private.
3628 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3629 versions of these functions taking a string arg have been removed.
3631 * bufferparams.C (readToken):
3632 * lyxfunc.C (dispatch):
3633 * lyxrc.C (read): changes due to the altered BranchList and
3636 * factory.C (createInset, readInset): changes due to altered
3639 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3642 * lyxfunc.C: remove insetminipage. "minipage-insert"
3643 now produces a frameless minipage box inset.
3645 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3647 * textcursor.[Ch] (selStart,selEnd): add new methods
3648 remove selection::start, end, use LyXCursor::operator<
3649 * lyxcursor.[Ch] (operator<): add
3650 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3651 * BufferView.[Ch] (unsetXSel): add
3652 * text2.C (clearSelection): use unsetXSel,adjust
3655 * rowpainter.C: adjust
3656 * bufferview_funcs.C (put_selection_at): adjust
3658 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3660 * BufferView_pimpl.C: small coord. correction
3662 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3664 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3665 dragging over the splash screen.
3667 2003-12-11 Angus Leeming <leeming@lyx.org>
3669 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3670 as it is now handled in LyXText::dispatch.
3672 * text3.C (doInsertInset): remove a level of nesting.
3674 2003-12-11 Angus Leeming <leeming@lyx.org>
3676 * factory.C (createInset): changes due to the changed interface to
3677 InsetCommandMailer::string2params.
3679 2003-12-10 Angus Leeming <leeming@lyx.org>
3681 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3682 'dialog-show-new-inset <inset name>'
3684 2003-12-10 Angus Leeming <leeming@lyx.org>
3686 * buffer.C: up the format to 227.
3688 * factory.C: the box inset is now identified simply by 'Box'.
3690 2003-12-10 Angus Leeming <leeming@lyx.org>
3692 * buffer.C: up the format to 226.
3694 * factory.C: the note inset is now identified simply by 'Note'.
3696 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3698 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3699 when a pit is enough. Standarize a couple of loops.
3701 2003-12-05 Angus Leeming <leeming@lyx.org>
3703 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3704 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3705 data to the re-worked "log" dialog.
3707 2003-12-03 André Pönitz <poenitz@gmx.net>
3713 * paragraph_funcs.C:
3715 * text2.C: use Inset::getText instead of Inset::getParagraph
3717 2003-12-03 André Pönitz <poenitz@gmx.net>
3721 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3722 InsetText::read() as LyXText::read()
3724 2003-12-02 Angus Leeming <leeming@lyx.org>
3726 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3727 type. Add a comment in the implementation that the function uses
3728 the stream's bad() function rather than fail() as the std::streams
3731 2003-12-02 André Pönitz <poenitz@gmx.net>
3733 * lyxlex.[Ch]: make interface more similar to std::stream
3735 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3737 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3739 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3741 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3743 * vspace.[Ch]: remove VSpace::NONE
3745 2003-12-01 André Pönitz <poenitz@gmx.net>
3748 * lyxtext.h: move ParagraphList member to LyXText
3749 rename LyXText::ownerParagraphs to LyXText::paragraph
3752 * bufferview_funcs.C:
3762 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3764 * undo.C: fix cursor positioning
3766 2003-12-01 John Levon <levon@movementarian.org>
3768 * BufferView_pimpl.C: fix a crash on exit with
3771 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3773 * BranchList.C: fix setSelected() method.
3775 2003-11-28 André Pönitz <poenitz@gmx.net>
3777 * ParagraphParameters.[Ch]:
3778 * ParameterStruct.h: remove space above/below from Paragraph to
3781 * BufferView_pimpl.C:
3787 * paragraph_funcs.C:
3793 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3795 * factory.C: Syntax change for CharStyles
3797 2003-11-28 André Pönitz <poenitz@gmx.net>
3802 * buffer.[Ch]: move LyXText member
3804 2003-11-28 André Pönitz <poenitz@gmx.net>
3806 * BufferView.[Ch]: make LyXText * text a private member
3808 * BufferView_pimpl.C:
3819 * output_plaintext.C: cleanup
3821 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3824 * lyxtextclass.[Ch]: parametrize SGML document header
3826 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3829 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3832 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3834 * text2.C (setFont): rework using PosIterator (no more recursive)
3835 (setCharFont): no more needed
3836 (setLayout): no more selection cursors fiddling (done by redoCursor)
3837 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3838 destroy remaining ones)
3840 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3842 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3844 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3847 * text3.C: adjust + re-allow multi par depth changes
3848 * textcursor.C: simplify a bit
3850 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3856 * src/output_docbook.C:
3857 * src/output_latex.C:
3862 * src/text2.C: Introducing a number of tags parametrizing various
3863 XML formats that we may want to support
3865 2003-11-25 André Pönitz <poenitz@gmx.net>
3867 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3869 * lyxtext.h (leftMargin/rightMargin): simplify interface
3876 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3878 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3879 master file to any child files. Fixes bug 546.
3881 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3883 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3885 2003-11-24 André Pönitz <poenitz@gmx.net>
3887 * rowpainter.C: simplification
3889 * text2.C (updateCounters): remove call to redoParagraph on
3890 changed labels as this is far too expensive.
3892 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3894 * converter.C (convert): fix a crash: this function gets
3895 called with buffer == 0 from importer code.
3897 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3899 * text3.C (cursorPrevious): make sure that we do not compare
3900 iterators form different containers.
3903 * rowpainter.C (paintSelection): make sure that we do not compare
3904 iterators from different containers.
3906 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3907 iterators from different ParagraphList containers.
3910 * text2.C (LyXText): change order of initialization slightly
3911 (operator=): new function. copy all variables except cache_par_
3912 (moveUp): make sure that we do not compare iterators from
3913 different ParagraphList constainers.
3916 * text.C (firstPar): new function
3917 (lastPar): new function
3918 (endPar): new function
3920 * lyxtext.h: move things around and group public functions, public
3921 variables, private functions, private variables
3923 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3925 * factory.C: change call to InsetERT constructor to avoid
3926 additional invocation of method status
3927 * text2.C (toggleInset): remove redundant update() call
3928 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3929 instead of a Bufferview pointer
3931 2003-11-21 André Pönitz <poenitz@gmx.net>
3933 * rowpainter.C: simplification
3935 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3937 * text3.C (dispatch): make possible to extend a word/row selection
3940 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3942 * lyxtext.h: x0_,y0_ -> xo_,yo_
3943 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3944 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3945 * rowpainter.C (paintRows): paint full paragraphs
3947 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3949 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3952 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3954 * lyxtext.h: add x0_, y0_
3955 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3956 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3958 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3960 * text2.C (setCursorIntern): move the x_target update here *
3961 * text3.C: change some bv() to true/false in calls to
3962 cursorUp/Down/Right/Left
3963 * cursor.C: use helper function.
3965 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3967 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3968 * paragraph_funcs.[Ch]: correct comment
3969 * rowpainter.C: do not paint selections away from bv->cursor()
3970 Fix a long standing selection painting bug.
3971 * text3.C: generalize mouse-selection code to LyXTexts other that
3973 * textcursor.C: do not use y coords if we can use par offsets
3975 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3977 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3978 cursor position after e.g. inset insert)
3980 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3982 * lyxfind.C (replace): adjust to locking removal + some
3985 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3987 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3990 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3993 * output_docbook.C: XML sanitation: new layout
3994 parameters InnerTag and CommandDepth
3996 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3998 * BufferView_pimpl.C:
4000 * text3.C: Fix the insertion and modification of button-style
4003 2003-11-13 André Pönitz <poenitz@gmx.net>
4005 * InsetList.[Ch]: remove deleteLyXText
4007 * paragraph.[Ch]: cache beginOfBody position
4012 * text3.C: remove superfluous update() calls
4016 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4018 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4019 * BufferView.C (fitLockedInsetCursor): remove
4020 * cursor.[Ch] (getDim): add
4021 * text.C (getRowNearY): add faster version
4022 * text3.C: remove some update calls
4024 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4036 * text3.C: The Character Style /XML short element patch.
4038 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4041 * factory.C: Small step to solving 'unable to insert some insets'
4044 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4046 * cursor.[Ch] (updatePos): new function for updating the y
4047 position of the tip inset
4048 * bufferview_funcs.C (put_selection_at):
4049 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4051 2003-11-11 André Pönitz <poenitz@gmx.net>
4053 * text.C: remove big comment on invalid Paragraph pointers as it is
4056 2003-11-11 André Pönitz <poenitz@gmx.net>
4058 * text_funcs.[Ch]: merge with ...
4066 * Makefile.am: remove text_funcs.[Ch]
4068 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4070 * cursor.C (getPos): return absolute cached y coord
4072 * BufferView_pimpl.C (fitCursor): new simplistic code
4073 (workAreaDispatch): add a fitCursor call
4075 2003-11-10 André Pönitz <poenitz@gmx.net>
4078 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4080 2003-11-10 André Pönitz <poenitz@gmx.net>
4082 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4083 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4084 indicate that the cursor needs to leave an inset
4086 * lyxtext.h: remove inset locking
4088 * cursor.[Ch]: re-implement functionality provided by inset locking
4091 * BufferView_pimpl.[Ch]:
4093 * bufferview_funcs.[Ch]:
4105 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4107 * PosIterator.[Ch]: replace the stack with a vector, add inset
4109 * iterators.[C]: adjust
4111 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4113 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4115 * paragraph_funcs.C (readParToken): put the correct id in the
4116 error item, not the id of the top paragraph
4118 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4120 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4121 * bufferview_funcs.C (put_selection_at): use the above
4123 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4125 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4127 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4129 * output_linuxdoc.h:
4130 * output_plaintext.h:
4132 * output_docbook.h: add #include statements
4134 2003-11-05 José Matos <jamatos@lyx.org>
4136 * output_docbook.[Ch]:
4137 * output_latex.[Ch]:
4138 * output_linuxdoc.[Ch]:
4139 * output_plaintext.[Ch]: New files for output formats.
4140 * output.[Ch]: New file for helper functions.
4143 * paragraph_funcs.[Ch]: output functions moved to new files.
4145 * outputparams.h: rename of latexrunparams.h
4153 * paragraph_funcs.[Ch]:
4154 * paragraph_pimpl.[Ch]:
4155 * tabular.[Ch]: rename ascii to plaintext
4156 and LatexRunParams to OutputParams.
4158 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4160 * iterators.[Ch] (text): require bv argument
4161 * undo.C (recordUndo):
4162 * lyxfunc.C (dispatch):
4163 * bufferview_funcs.C (put_selection_at): adjust
4165 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4167 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4169 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4171 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4174 2003-11-04 André Pönitz <poenitz@gmx.net>
4176 * cursor.[Ch]: restructure
4179 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4181 * iterators.[Ch] (asCursor): remove
4183 * lfuns.h: remove LFUN_INSET_EDIT
4189 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4191 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4193 * lyxfind.[Ch]: complete overhaul
4194 * BufferView_pimpl.C:
4196 * paragraph.[Ch] (insert): add
4198 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4202 * text.C: remove dead spellcheck code
4204 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * dispatchresult.h: add a val setter
4208 * cursor.C (dispatch): use a tempvar for data_[i]
4210 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4212 * PosIterator.[Ch]: compile fix
4214 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4216 * text.C (cursorPar): deactivate the cursor cache
4218 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4220 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4222 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * text3.C (dispatch): adjust for new DisptchResult semantics.
4226 * lyxfunc.C (dispatch): handle update when return from
4227 Cursor::dispatch, adjust for new DispatchResult semantics.
4229 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4230 DispatchResult(true) mean to not update. Add class functions for
4231 setting dispatched and update, as well as reading.
4233 * cursor.C (dispatch): don't handle update here
4235 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4237 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4238 * trans_mgr.C: adjust
4240 * paragraph_funcs.C (readParToken): exception safety
4242 * lyxvc.h: store the vcs pointer in a scoped_ptr
4245 * lyxsocket.C (serverCallback): exception safety
4247 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4249 * ispell.C (clone): make it return a auto_ptr
4251 * factory.C (createInset): exception safety
4252 (readInset): exception safety
4254 * bufferlist.C (newBuffer): exception safety
4256 * Thesaurus.C (Thesaurus): use initialization for aik_
4258 * MenuBackend.C (expandToc): exception safety.
4260 2003-11-03 André Pönitz <poenitz@gmx.net>
4264 * bufferview_funcs.C: remove getInsetFromId()
4267 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4273 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4275 * PosIterator.C (distance, advance): new
4276 * bufferview_funcs.[Ch] (put_selection_at): new
4277 * iterators.[Ch] (lockPath): new
4279 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4281 * iterators.[Ch] (asPosIterator): added
4282 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4283 * PosIterator.[Ch]: added
4285 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * cursor.C (dispatch):
4290 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4292 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4293 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4294 contructor, add a class function dispatched. Remove operator>=
4296 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * debug.C: only use the default constructor for debugstream
4301 * main.C (main): include debug.h and setup the lyxerr streambuf
4304 2003-10-31 José Matos <jamatos@lyx.org>
4306 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4308 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4309 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4310 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4311 * paragraph_pimpl.C (simpleTeXSpecialC):
4312 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4313 add LatexRunParams argument.
4315 * exporter.C (Export): change call accordingly.
4317 * latexrunparams.h: add new member to take care of the other backends.
4318 2003-10-30 José Matos <jamatos@lyx.org>
4320 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4321 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4322 factorise code for paragraph output.
4324 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4327 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * text3.C (dispatch):
4330 * lyxfunc.C (dispatch):
4331 * cursor.C (dispatch):
4332 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4334 * dispatchresult.h: make the dispatch_result_t ctor explicit
4336 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4339 * buffer.C: small refactoring of docbook stuff
4341 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4346 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4349 operator dispatch_result_t, and operators for == != and >=
4351 * cursor.C (dispatch): adjust for operator dispatch_result_t
4352 removal. comment out call to update
4354 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4356 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4367 * dispatchresult.h: new file, DispatchResult broken out of
4370 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4372 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4374 * text.C (rowBreakPoint): put a hack inside #if 0
4376 2003-10-28 André Pönitz <poenitz@gmx.net>
4380 * paragraph_funcs.C:
4383 * text2.C: general cleanup (lots of small stuff)
4385 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4387 * text2.C (cursorEnd): simple fix to the "end key goes to one
4388 before the end on last row" bug
4390 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4392 * text.C (backspace): fix the "zombie characters"
4394 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4396 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4398 2003-10-27 André Pönitz <poenitz@gmx.net>
4400 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4402 * factory.C: handle new InsetPagebreak, InsetLine
4404 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4405 and move handling into new InsetPagebreak, InsetLine
4407 * BufferView_pimpl.C:
4409 * ParagraphParameters.C:
4410 * ParameterStruct.h:
4415 * paragraph_funcs.C:
4416 * paragraph_pimpl.C:
4422 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4425 * lyxrow_funcs.[Ch]:
4431 * text3.C: remove lastPos uses in favour of Row::endpos
4433 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4435 * undo.C (performUndoOrRedo): fix two crashes by setting a
4436 cursor by hand and reordering some calls. Use bv->lockInset instead
4437 of inset->edit because the latter loses cursor information
4439 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4441 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4443 (rowBreakPoint): fix width. change point to point + 1.
4444 Add a missing check.
4446 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4449 * lyxfunc.C: fix (at least partly) the problems
4450 with the Nav menu and headers inside branch insets
4453 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4455 * paragraph.C (getChar): add strong asserts
4457 * lyxrow_funcs.C (lastPos): remove hideous hack
4459 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4460 (fill): adjust to that (avoid an infinite loop)
4462 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4464 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4466 2003-10-23 André Pönitz <poenitz@gmx.net>
4468 * RowList_fwd.h: change list<> to vector<> to gain speed
4469 after suggestion from Alfredo
4471 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4473 * lyxtext.h: move the bidi stuff from here...
4476 * Bidi.[Ch]: ... to here
4478 2003-10-23 André Pönitz <poenitz@gmx.net>
4481 * text.C (isLastRow, isFirstRow): new functions
4483 * paragraph.h: new width cache member
4485 * rowpainter.C: replace RowList::iterator with Row & where possible
4487 * lyxfunc.C: replace several view()->text with a single call
4489 * toc.C: fix 'unused' warning
4491 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4494 when woring with stream::pos_type
4495 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4497 2003-10-22 André Pönitz <poenitz@gmx.net>
4500 * text.C: use Row & instead of RowList::iterator
4502 * lyxrow.h: rename end() to endpos()
4508 2003-10-22 Angus Leeming <leeming@lyx.org>
4510 * buffer.[Ch] (fully_loaded): new member function, returning true
4511 only when the file has been loaded fully.
4512 Used to prevent the premature generation of previews and by the
4513 citation inset to prevent computation of the natbib-style label.
4515 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4516 templates are all set up.
4518 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4520 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4522 * text.C: fixed an "oops" in the "is a bit silly"
4525 2003-10-21 André Pönitz <poenitz@gmx.net>
4527 * FuncStatus.[Ch]: small stuff, whitespace
4529 * lyxfont.[Ch]: operator<<() for debug reasons
4533 * lyxtext.h: whitespace, spelling
4535 * paragraph.C: naming of variables
4538 * text2.C: small stuff
4541 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4543 * text.C: (1) finish off the inset display() work;
4544 (2) fix the "is a bit silly" bug (accessing char
4547 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4549 * text.C: re-introduce display() for insets, fixing the
4550 various bugs (stretch of line above, math inset
4553 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4555 * text.C (rightMargin): remove spurious semicolon
4557 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4560 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4562 * text3.C: fix one crash due to wrong cursor def
4564 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * vc-backend.C (scanMaster): make the regex static
4568 * LaTeX.C (scanAuxFile): make the regexs static
4570 * text3.C (doInsertInset, dispatch, dispatch):
4571 * text2.C (cursorUp, cursorDown):
4572 * text.C (selectNextWordToSpellcheck):
4573 * BufferView_pimpl.C (dispatch):
4574 * lyxfunc.C (dispatch): localDispatch -> dispatch
4576 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4578 * lyxsocket.C: include <cerrno>
4580 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * lyxfunc.C (dispatch): remove textcache stuff
4584 * bufferlist.C (release): remove textcache stuff
4587 * TextCache.C: delete file
4588 * TextCache.h: delete file
4590 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4592 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4593 delete of the bv_->text.
4594 (resizeCurrentBuffer): remove texcache stuff
4595 (workAreaResize): ditto
4597 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4602 2003-10-16 André Pönitz <poenitz@gmx.net>
4609 * text3.C: speed up by storing y positions per paragraph plus per-row
4610 offset instead of having a 'full' y position in the row.
4612 2003-10-15 André Pönitz <poenitz@gmx.net>
4616 * undo.[Ch]: make undo aware of inner insets
4618 2003-10-14 Angus Leeming <leeming@lyx.org>
4620 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4621 static member functions LyX::ref() and LyX::cref.
4622 (lastfiles): new accessor functions for the new lastfiles_ member var.
4623 (addLyXView, views_): add a new LyXView to the list of views_.
4624 (updateInset): loop over all LyXViews to call their own updateInset
4625 member function, returning a pointer to the Buffer owning the inset.
4627 * BufferView_pimpl.C (loadLyXFile):
4628 * MenuBackend.C (expandLastfiles):
4629 * bufferlist.C (MenuWrite, QuitLyX):
4630 lastfiles is no longer a global variable.
4631 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4633 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4634 static function. Access through LyX::cref().emergencyCleanup().
4636 2003-10-14 André Pönitz <poenitz@gmx.net>
4638 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4640 * undo.[Ch]: restoring part of 'undo in insets'
4643 * undo_funcs.[Ch]: merge with undo.[Ch]
4645 * tabular.C: small cleansing stuff
4647 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4649 * paragraph_funcs.C (readParToken): report unknown insets as error
4650 boxes. Use the outer paragraph as location (also for unknown
4653 * factory.C (readInset): do not abort on reading an unknown inset.
4654 Eat it and return 0.
4656 2003-10-13 Angus Leeming <leeming@lyx.org>
4658 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4660 * lyxrc.C: displayTranslator is now a function,
4661 declared in GraphicsTypes.h.
4663 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4665 * format.C: new placeholder $$a to pass the socket address.
4667 * bufferlist.[Ch]: new function getBufferFromTmp.
4669 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4670 files in the temporary dir.
4672 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4674 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4676 * Makefile.am: add lyxsocket.[Ch].
4678 * lyx_main.C (error_handler): handle SIGPIPE.
4680 2003-10-13 André Pönitz <poenitz@gmx.net>
4682 * BufferView_pimpl.C:
4687 * undo_funcs.[Ch]: use paroffset_type instead of
4688 ParagraphList::iterators to prevent multiple conversion
4689 (and get a more robust interface)
4691 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4695 * text3.C (dispatch): ditto
4697 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4700 move the onlyfile, use onlyfile instead of foundfile in a couple
4703 * DepTable.C (update): flush the error stream a bit more
4705 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * lyxserver.C (callback): adjust
4709 * lyxfunc.C (getStatus): add a missing brace in commented code
4710 (ensureBufferClean): reindent
4711 (dispatch): delete version taking a string
4713 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * LaTeX.C (deplog): move found file handlig from here...
4716 (handleFoundFile): .. to new function here.
4717 (deplog): make sure to discover several files mentioned on the
4720 2003-10-10 André Pönitz <poenitz@gmx.net>
4727 * text3.C: fix some of the tabular crashes
4729 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4731 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4733 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4735 2003-10-09 André Pönitz <poenitz@gmx.net>
4737 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4740 * BufferView_pimpl.C:
4741 * bufferview_funcs.C:
4752 * undo_funcs.C: adjust
4754 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4756 * text2.C (incrementItemDepth): new function, use a backtracking
4757 algorithm to discover the correct item depth.
4758 (resetEnumCounterIfNeeded): new function, use a backtracking
4759 algorithm to discover if counter reset is needed.
4760 (setCounter): use them. Simplify a bit. Add different labels for
4761 different item depths for itemize.
4763 * paragraph.C (Paragraph): remove initialization of enumdepth
4766 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4767 enumerate and itemize. Change the type of itemdepth to signed char.
4769 2003-10-08 André Pönitz <poenitz@gmx.net>
4771 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4776 * tabular.[Ch]: fix crash after 'row-insert'
4778 2003-10-08 Angus Leeming <leeming@lyx.org>
4780 Fix doxygen warnings.
4782 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4783 Remove CutAndPaste:: prefix from header file declaration.
4785 * LColor.h (fill): remove LColor:: prefix from declaration.
4787 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4788 use lyx::depth_type rather than Paragraph::depth_type so that
4789 header file and .C file match.
4791 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4793 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4794 * aspell.C: \file aspell_local.C -> \file aspell.C
4795 * gettext.C: \file gettext.C -> \file src/gettext.C
4796 * gettext.h: \file gettext.h -> \file src/gettext.h
4797 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4798 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4799 * text.C: \file text.C -> \file src/text.C
4801 * toc.C: move comment so that doxygen is not confused.
4803 2003-10-07 Angus Leeming <leeming@lyx.org>
4805 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4807 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4810 * aspell_local.h: add forgotten std::string's.
4812 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4819 * text3.C: The Box patch. Fancybox support, minipage, parbox
4821 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4827 * ParagraphParameters.h:
4837 * lyxtextclasslist.h:
4840 * paragraph_pimpl.C:
4841 * textcursor.h: add <string> and other small fixes to make Lars'
4842 std::string patch compile with STLport.
4844 2003-10-06 Angus Leeming <leeming@lyx.org>
4846 * LColor.h: Add missing #include <string>.
4848 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * All most all file in all subdirs: Make <string> be the prefered
4851 way of getting to std::string, add using declarations.
4853 2003-10-06 André Pönitz <poenitz@gmx.net>
4855 * metricsinfo.C: initialize LyXFont before changing attribute.
4856 (fixes the 'math in \emph is upright' bug)
4858 2003-10-06 André Pönitz <poenitz@gmx.net>
4860 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4862 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4865 * paragraph_pimpl.C: Small fixes to build using STLport
4867 2003-10-02 André Pönitz <poenitz@gmx.net>
4870 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4872 2003-10-01 André Pönitz <poenitz@gmx.net>
4874 * factory.C: assert early
4876 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4878 * lyx_main.C: remove the global debug object
4880 * debug.h: adjust for new debugstream
4882 * debug.C: adjust for new debugstream and keep the global debug
4885 2003-09-22 Angus Leeming <leeming@lyx.org>
4887 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4888 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4889 an incomplete class LyXFont.
4891 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4893 * factory.C: bug fix in branches
4895 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * lyxfunc.C (processKeySym): adjust
4899 (dispatch): change arg name from ev to func, adjust
4900 (sendDispatchMessage): ditto
4902 * lyx_main.C (defaultKeyBindings): adjust keybindings
4903 (deadKeyBindings): ditto
4905 * kbsequence.C (addkey): return a FuncRequest
4907 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4909 * kbmap.C (bind): take a FuncRequest as arg, adjust
4912 (defkey): change to take a FuncRequest as arg, adjust
4913 (findbinding): take a FuncRequest as arg, adjust.
4915 * funcrequest.h (operator=): added
4917 * funcrequest.C (FuncRequest): default kb_action changed from
4918 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4920 * buffer.C (dispatch): simplify
4921 (dispatch): adjust to take a FuncRequest as arg, adjust
4923 * boost.C (assertion_failed): change assertion message slightly
4925 * ToolbarBackend.C (read): simplify
4927 * MenuBackend.C (binding): adjust call to findbinding, add a
4928 message if no binding is found.
4930 (expandToc): correct by adding a empty FuncRequest
4932 * LyXAction.C: include <boost/assert.hpp>
4933 (isPseudoAction): delete function
4934 (LookupFunc): change name to...
4935 (lookupFunc): this. change return type to FuncRequest.
4936 (getActionName): take kb_action as arg, simplify
4937 (funcHasFlag): add an assert, simplify.
4939 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * toc.C (action): return a FuncRequest, simplify
4943 * lyxfunc.C (processKeySym): adjust
4944 (getStatus): delete version that takes an int.
4946 (dispatch): delete version that takes action as int
4948 (sendDispatchMessage): simplify and adjust
4950 * funcrequest.C (getArg): take unsigned int as arg
4952 * ToolbarBackend.C (read): adjust
4953 (add): delete version that takes func as a string.
4954 (getIton): take a FuncRequest as arg
4956 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4959 * MenuBackend.C (MenuItem): add a new construct that only takes a
4960 Kind, simplify the constructor use for submenus.
4962 (expandLastfiles): adjust
4963 (expandDocuments): adjust
4964 (expandFormats): adjust
4965 (expandFloatListInsert): adjust
4966 (expandFloatInsert): adjust
4967 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4969 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4970 Remove class variables lyx_pseudo_map and lyx_arg_map
4972 * LyXAction.C (searchActionArg): delete function
4973 (getPseudoAction): delete function
4974 (retrieveActionArg): delete function
4975 (LookupFunc): make it return kb_action, simplify.
4976 (getActionName): simplify
4978 * factory.C (createInset): fix new bug
4980 2003-09-19 Angus Leeming <leeming@lyx.org>
4982 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4983 masterFilename_ parameter in the include inset.
4985 * factory.C (createInset): changes due to the changes to InsetInclude.
4987 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4989 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4991 2003-09-18 Angus Leeming <leeming@lyx.org>
4994 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4995 Inset::fillWithBibKeys.
4996 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4998 2003-09-18 Angus Leeming <leeming@lyx.org>
5000 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5002 (ctor): pass and store a 'Buffer const &'
5003 (buffer): new member function.
5005 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5006 '*this' to the LaTeXFeatures ctor.
5008 2003-09-18 Angus Leeming <leeming@lyx.org>
5014 * text.C: rename EnumLColor as LColor_color.
5016 2003-09-18 Angus Leeming <leeming@lyx.org>
5018 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5019 remove #include "insets/insetbase.h" from cursor.h.
5021 2003-09-18 Angus Leeming <leeming@lyx.org>
5023 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5024 InsetOld_code to remove #include "inset.h".
5026 * iterators.C: add #include "insets/inset.h"
5028 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5030 * BufferView.C: remove more locking stuff that apparently doesn't
5031 do anything sensible.
5033 2003-09-16 André Pönitz <poenitz@gmx.net>
5036 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5039 2003-09-16 Angus Leeming <leeming@lyx.org>
5041 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5043 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5046 * paragraph.h: remove #include "lyxfont.h". Forward declare
5049 2003-09-16 Angus Leeming <leeming@lyx.org>
5051 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5052 of support/textutils.h.
5053 (isWord): move the contents of support/textutils.h's IsWordChar here.
5059 * text2.C: add #include "paragraph.h".
5062 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5064 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5070 * LaTeX.C: use namespace alias for lyx::support::os
5072 2003-09-16 Angus Leeming <leeming@lyx.org>
5075 * bufferview_funcs.C:
5078 * paragraph_pimpl.C:
5080 * text.C: add #include "LColor.h".
5082 2003-09-16 Angus Leeming <leeming@lyx.org>
5084 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5085 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5087 Store the FontBits::color variable as an int rather than as an
5088 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5091 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5092 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5093 string calls together.
5095 * lyxrc.C: add #include "LColor.h".
5097 2003-09-15 Angus Leeming <leeming@lyx.org>
5099 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5102 2003-09-15 Angus Leeming <leeming@lyx.org>
5104 * LColor.h: add an EnumLColor wrapper for LColor::color.
5106 * lyxfont.[Ch] (color, setColor, realColor):
5107 * lyxtext.h, text.C (backgroundColor):
5108 pass EnumLColor args to/from the functions, rather than LColor::color
5112 * lyxtext.h: forward declare EnumLColor.
5114 * lyx_main.C: add #include "LColor.h".
5116 2003-09-15 Angus Leeming <leeming@lyx.org>
5118 * .cvsignore: add lyx-gtk.
5120 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * ParagraphParameters.C
5129 * bufferview_funcs.C
5139 * vc-backend.C: remove usage of STRCONV
5141 2003-09-15 Angus Leeming <leeming@lyx.org>
5143 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5144 explicitly define the color passed to the painter.
5146 2003-09-15 Angus Leeming <leeming@lyx.org>
5148 * bufferparams.C (BufferParams): reorder member initializers to avoid
5151 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5153 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5154 * text.C (updateRowPositions): remove an unusual nop
5156 2003-09-12 André Pönitz <poenitz@gmx.net>
5158 * BufferView_pimpl.C:
5167 * Counters.[Ch]: finish the 'automatic counters' job
5169 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5171 * aspell.C: include <boost/assert.cpp> (compile fix)
5173 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5175 * boost.C (assertion_failed): use lyx::support::abort instead of
5178 2003-09-10 Angus Leeming <leeming@lyx.org>
5180 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5181 with their _fwd progeny.
5183 2003-09-09 Angus Leeming <leeming@lyx.org>
5185 134 files throughtout the source tree: replace 'using namespace abc;'
5186 directives with the appropriate 'using abc::xyz;' declarations.
5188 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5190 * boost.C (emergencyCleanup): moved here from LAssert.c
5191 (assertion_failed): new function, called by BOOST_ASSERT
5193 * several files: change Assert to BOOST_ASSERT
5195 2003-09-09 Angus Leeming <leeming@lyx.org>
5197 * buffer.[Ch]: Add an Impl class and move Buffer's member
5198 variables into it. As a result move several header files out of
5201 Add header files to lots of .C files all over the tree as a result.
5203 2003-09-09 Angus Leeming <leeming@lyx.org>
5205 * buffer.[Ch]: make Buffer's member variables private. Add
5208 Lots of changes all over the tree as a result.
5210 2003-09-08 Angus Leeming <leeming@lyx.org>
5212 * graph.C: #include <config.h>.
5214 2003-09-08 Angus Leeming <leeming@lyx.org>
5218 * BufferView_pimpl.C:
5247 * toc.C: remove redundant using directives.
5249 2003-09-07 Angus Leeming <leeming@lyx.org>
5251 * LaTeXFeatures.h: remove #include "support/types.h".
5252 * ToolbarBackend.h: remove #include <algorithm>.
5253 * changes.h: remove #include <ctime>.
5254 * debug.h: remove #include <iosfwd>.
5255 * graph.h: remove #include "support/std_string.h".
5256 * lyx_main.h: remove #include <csignal>.
5257 * lyxlex_pimpl.h: remove #include <fstream>.
5258 * sgml.h: remove #include <algorithm>, <utility>.
5259 * toc.h: remove #include "support/std_ostream.h".
5260 Add #include <iosfwd>.
5262 2003-09-07 Angus Leeming <leeming@lyx.org>
5264 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5266 * converter.h: forward declare LatexRunParams.
5267 * encoding.h: remove #include "lyxrc.h".
5268 * lyxtext.h: remove #include "LColor.h".
5269 * lyxtextclass.h: remove #include "support/types.h".
5270 * trans.h: remove #include "tex-accent.h".
5271 * trans_mgr.h: remove #include "tex-accent.h".
5272 * insets/inset.h: remove #include "support/types.h", <vector>.
5273 * insets/insetcollapsable.h: remove #include "LColor.h".
5274 * insets/insetinclude.h: remove #include "dimension.h".
5275 * insets/insetlatexaccent.h: remove #include "dimension.h".
5276 * insets/insetoptarg.h:: remove #include "insettext.h".
5277 * insets/insettext.h: remove #include "dimension.h",
5278 <boost/shared_ptr.hpp>
5280 * insets/renderers.h: add #include "dimension.h".
5281 * insets/updatableinset.h: add #include "support/types.h".
5283 * many .C files: Associated changes.
5285 2003-09-06 Angus Leeming <leeming@lyx.org>
5287 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5288 one, inside testInvariant.
5290 * PrinterParams.C: new file.
5291 * PrinterParams.[Ch]: move the function bodies out of line.
5293 2003-09-06 Angus Leeming <leeming@lyx.org>
5295 * ParagraphParameters.h: forward declare ParameterStruct rather than
5296 including its header file.
5297 (depth): moved out-of-line.
5299 2003-09-06 Angus Leeming <leeming@lyx.org>
5301 * BufferView_pimpl.h:
5304 * lyxfunc.h: forward declare LyXKeySym rather than
5305 #include "frontends/LyXKeySym.h".
5307 * BufferView_pimpl.C:
5310 * lyxfunc.C: associated changes.
5312 2003-09-06 Angus Leeming <leeming@lyx.org>
5314 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5315 As a result, can remove the #include "insets/inset.h" from BufferView.h
5317 2003-09-06 Angus Leeming <leeming@lyx.org>
5319 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5320 As a result, can remove the #include "insets/inset.h" from BufferView.h
5322 2003-09-06 Angus Leeming <leeming@lyx.org>
5328 * bufferview_funcs.C:
5329 * BufferView_pimpl.C:
5334 * ParagraphParameters.C:
5339 * frontends/controllers/ControlDocument.C:
5340 * insets/insetcaption.C: rearrange the #includes into some sort of
5343 * buffer.h: remove #includes ErrorList.h, undo.h
5345 2003-09-06 Angus Leeming <leeming@lyx.org>
5347 * support/types.h: add a 'depth_type' typedef, used to store the
5348 nesting depth of a paragraph.
5351 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5352 defining explicitly.
5355 * paragraph_funcs.h:
5356 * ParagraphParameters.h:
5357 * sgml.h: use lyx::depth_type rather than Paragraph or
5358 ParameterStruct's depth_type.
5361 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5364 * BufferView_pimpl.C:
5366 * ParagraphParameters.C:
5369 * bufferview_funcs.C:
5376 * frontends/LyXView.C:
5377 * frontends/controllers/ControlDocument.C:
5378 * frontends/controllers/ControlErrorList.C:
5379 * insets/insetbibitem.C:
5380 * insets/insetbranch.C:
5381 * insets/insetcaption.C:
5382 * insets/insetcollapsable.C:
5383 * insets/insetenv.C:
5384 * insets/insetert.C:
5385 * insets/insetfloat.C:
5386 * insets/insetfoot.C:
5387 * insets/insetfootlike.C:
5388 * insets/insetnewline.C:
5389 * insets/insetquotes.C:
5390 * insets/insettabular.C:
5391 * insets/insettext.C:
5392 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5394 * frontends/controllers/ControlChanges.C: #include "changes.h".
5396 2003-09-06 Angus Leeming <leeming@lyx.org>
5398 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5399 than #including paragraph.h.
5402 * RowList.h: deleted. Superfluous.
5412 * insets/insettext.h: use ParagraphList_fwd.h rather than
5415 * paragraph.h: don't forward declare ParagraphList.
5418 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5419 rather than ParagraphList.h. paragraph.h is still needed for the
5420 Paragraph::depth_type parameters.
5422 * textcursor.h: enable it to compile stand-alone in light of the
5425 * bufferview_funcs.C:
5437 * frontends/controllers/ControlParagraph.C:
5438 * frontends/controllers/ControlTabular.C:
5439 * insets/insetmarginal.C:
5440 * insets/insetminipage.C:
5441 * insets/insetnote.C:
5442 * insets/insetoptarg.C: add header files needed to compile again.
5444 2003-09-06 Angus Leeming <leeming@lyx.org>
5446 * RowList_fwd.h: new file, forward-declaring Row rather than
5447 #including lyxrow.h.
5452 * insets/insettext.h: use it instead of RowList.h
5454 * bufferview_funcs.C:
5461 * text3.C: #include "RowList.h".
5463 2003-09-05 Angus Leeming <leeming@lyx.org>
5465 * factory.C (createInset):
5466 * vspace.C (c-tor): replace sscanf call with an istringstream.
5467 * ispell.C: re-add missing HP/UX headers.
5468 * lyxserver.C: re-add missing os2 headers.
5470 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5479 * text3.C: re-add missing system headers, needed for 2.95.2.
5481 2003-09-05 Angus Leeming <leeming@lyx.org>
5483 Changes most place everywhere due to the removal of using directives
5484 from support/std_sstream.h.
5486 2003-09-05 Angus Leeming <leeming@lyx.org>
5488 Replace LString.h with support/std_string.h,
5489 Lsstream.h with support/std_sstream.h,
5490 support/LIstream.h with support/std_istream.h,
5491 support/LOstream.h with support/std_ostream.h.
5493 Changes resulting throughout the tree.
5495 2003-09-05 Angus Leeming <leeming@lyx.org>
5497 * sgml.h: ensure that the header file can be compiled stand-alone.
5498 * *.C: strip out redundant #includes. (320 in total.)
5500 2003-09-04 Angus Leeming <leeming@lyx.org>
5502 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5503 here (from getPackages).
5505 * debug.[Ch]: add a new EXTERNAL tag.
5507 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5509 * text2.C (cursorEnd): simplify
5511 (getColumnNearX): adjust
5513 * text.C (computeBidiTables): adjust
5516 * rowpainter.C (paintChars): adjust
5517 (paintSelection): adjust
5518 (paintChangeBar): adjust
5521 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5523 (numberOfSeparators): adjust
5525 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5531 * text3.C: Restricts the mouse click functionality
5532 of insets like bibtex, include, toc and floatlist to the visible
5533 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5534 up the dialogs. Cursor has to be in front of the inset (i.e.
5535 start of row) for this to function.
5537 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5539 * bufferview_funcs.C (currentState): output row information
5541 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5543 * bufferview_funcs.C (currentState): output paragraph position
5545 2003-09-04 Angus Leeming <leeming@lyx.org>
5547 * FloatList.h: move out #include "Floating.h".
5548 * LaTeX.h: move out #include "DepTable.h".
5549 * LyXAction.h: move out #include "funcrequest.h".
5550 * buffer.h: move out #include "author.h", "iterators.h".
5551 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5552 * lyx_main.h: move out #include "errorlist.h".
5553 * lyxfunc.h: move out #include "FuncStatus.h".
5554 * lyxtext: move out #include "lyxcursor.h".
5555 * paragraph_pimpl.h: move out #include "counters.h".
5557 2003-09-03 Angus Leeming <leeming@lyx.org>
5559 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5560 preamble_snippets list, enabling us to add snippets to the preamble
5561 only if the snippet was not there already.
5563 2003-09-04 Angus Leeming <leeming@lyx.org>
5565 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5567 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5572 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5574 * BranchList.C: point fix, earlier forgotten
5576 2003-09-02 Angus Leeming <leeming@lyx.org>
5578 * box.C (contains): renamed from 'contained' after a fantastic
5581 2003-09-02 John Levon <levon@movementarian.org>
5587 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5589 2003-09-02 John Levon <levon@movementarian.org>
5591 * text2.C: simplification of cursorEnd(), including partial
5594 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * buffer.C (readFile): add a space
5598 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5600 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5602 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * buffer.C (readFile): new function, take a filename and a
5605 ParagraphList::iterator
5607 (readFile): adjust, make it private. don't use setStream, make
5608 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5609 always contain the filename.
5611 * BufferView.C (insertLyXFile): simplify and make it work for
5614 2003-08-30 John Levon <levon@movementarian.org>
5616 * Makefile.am: fix dist (from Kayvan)
5618 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * most files: change to use const Buffer refs
5622 2003-08-27 André Pönitz <poenitz@gmx.net>
5624 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5625 on top of ownerPar().
5627 2003-08-27 John Levon <levon@movementarian.org>
5629 * funcrequest.C: properly initialise POD members
5631 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5633 * lyxtext.h (top_y): move top_y from here
5638 * BufferView_pimpl.[Ch]: to here
5639 * frontends/screen.C:
5640 * insets/insettabular.C:
5641 * insets/insettext.C: adjust
5642 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5644 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5647 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5649 2003-08-26 André Pönitz <poenitz@gmx.net>
5651 * paragraph_func.[Ch] (outerPar): new function
5654 * paragraph_funcs.C:
5655 * paragraph_funcs.h:
5656 * paragraph_pimpl.C:
5657 * text2.C: remove Inset::par_owner
5659 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5664 * text2.C: eliminates the needFullRow/display() stuff
5665 altogether, putting the logic in metrics/draw in the insets.
5667 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5669 * text2.C (redoParagraphInternal, redoParagraphs):
5670 * text.C (redoParagraph): add a call to updateRowPositions at the
5671 end of each 'metrics-like' call. Remove all others.
5672 (getRow): remove the 'y-computing' version.
5673 (getRowNearY): do not compute nor return the real y. Solve the
5674 'y < 0' problem and simplify.
5676 2003-08-22 Angus Leeming <leeming@lyx.org>
5678 * *.[Ch]: clean-up of licence and author blurbs.
5679 Also move config.h out of a few .h files and into a few .C files.
5681 2003-08-22 André Pönitz <poenitz@gmx.net>
5683 * lyxrow.[Ch]: add x_ and *fill_ members
5688 * text2.C: adjust/remove prepareToPrint() calls
5690 2003-08-22 André Pönitz <poenitz@gmx.net>
5692 * lyxrow.[Ch]: add end_ member
5694 * lyxrow_funcs.C: use LyXRow::end_
5696 * lyxtext.h (singleWidth): add LyXFont parameter
5699 * text2.C: adjust LyXText::singleWidth() calls
5701 * text.C (redoParagraph): simplify row breaking logic
5704 2003-08-19 André Pönitz <poenitz@gmx.net>
5706 * funcrequest.C: initialize button_ member
5709 * rowpainter.[Ch]: interface consolidation
5711 2003-08-18 André Pönitz <poenitz@gmx.net>
5714 * BufferView_pimpl.C:
5716 * paragraph_funcs.C:
5718 * text3.C: remove LyXScreen::draw() and fitCursor calls
5720 * BranchList.h: remove spurious semicolons
5722 * MenuBackend.C: fix branchlist related crash
5724 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5732 * bufferparams.[Ch]:
5736 * text3.C: implements the 'branch inset'
5737 idea. This allows the output of various versions of a document
5738 from a single source version, selectively outputing or suppressing
5739 output of parts of the text.
5740 This implementation contains a 'branch list editor' in a separate
5741 tab of the document settings dialog. Branches are user definable
5742 and have a "display colour" to distinguish them on-screen.
5744 ColorHandler was somewhat cleaned up.
5745 (1) make possible a dynamically growing LColor list by allowing
5746 the graphic context cache to grow along (vector);
5747 (2) eliminate an IMHO unnecessary step in colour allocation.
5749 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5751 * BufferView_pimpl.C: compile fix
5753 2003-08-15 André Pönitz <poenitz@gmx.net>
5755 * rowpainter.C: remove extra metrics calls
5757 * lyxtext.h: merge the two constructors into a single one,
5758 pass reference to owner's par list
5760 * BufferView_pimpl.C:
5764 2003-08-15 André Pönitz <poenitz@gmx.net>
5766 * lyxrow_funcs.[Ch]:
5769 * paragraph_funcs.C:
5774 * text_funcs.C: split LyXText::rowlist_ into individual
5775 Paragraph::rows_ chunks
5778 * BufferView_pimpl.[Ch]:
5781 * text3.C: remove toggleSelection()
5783 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5785 * bufferlist.C: beautify two alerts (shorter text of buttons)
5786 * buffer.C: Remove redundant ' ' from message
5788 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5789 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5790 rename VALIGN_CENTER to VALIGN_MIDDLE
5792 2003-08-11 André Pönitz <poenitz@gmx.net>
5794 * lyxtext.h (getPar):
5795 * text.C: new function
5797 2003-08-11 André Pönitz <poenitz@gmx.net>
5800 * tracer.[Ch]: remove unneeded files
5802 * InsetList.[Ch]: remove resizeInsetsLyXText()
5807 * text3.C: merge insertParagraphs() and appendParagraph()
5808 remove breakAgain(), update()
5810 * BufferView_pimpl.[Ch]:
5811 * bufferview_funcs.[Ch]:
5815 * tabular.C: adjust after text & InsetList changes.
5817 2003-08-08 André Pönitz <poenitz@gmx.net>
5819 * text.C (insertChar, backspace): replace rowlist fiddling
5820 with rebreak of full par
5823 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5824 checkParagraph, updateInset): removed
5826 2003-08-07 André Pönitz <poenitz@gmx.net>
5829 * text3.C: merge some LFUN handlers, remove dead code
5831 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5833 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5835 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5837 * text2.C (DEPM): fix part of bug 1255 and 1256
5839 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5841 * BufferView_pimpl.C (workAreaDispatch): change to use
5842 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5843 that are no mouse related.
5845 2003-08-05 André Pönitz <poenitz@gmx.net>
5848 * BufferView_pimpl.[Ch]:
5849 * bufferview_funcs.C:
5851 * text3.C: rip out "deep update"
5853 * textcursor.[Ch] (last_sel_cursor): remove unused member
5855 2003-08-04 André Pönitz <poenitz@gmx.net>
5858 * BufferView_pimpl.[Ch]:
5859 * ParagraphParameters.C:
5860 * bufferview_funcs.C:
5866 * text3.C: replace "complicated" BufferView::update(...) calls with
5869 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5871 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5873 * Makefile.am (lyx_SOURCES): add paper.h
5875 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5877 * Makefile.am: move things around so that both lyx-qt and
5878 lyx-xforms can be built (according to --with-frontend). Then lyx
5879 is a symbolic link to lyx-[firstfrontend]
5881 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5883 * Always use std::endl with lyxerr
5885 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5887 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5889 2003-08-01 André Pönitz <poenitz@gmx.net>
5892 * BufferView_pimpl.[Ch]:
5894 * text3.C: merge BufferView::repaint() and BufferView::update()
5896 2003-08-01 José Matos <jamatos@lyx.org>
5898 * buffer.[Ch]: file_format is no longer a buffer data element.
5900 2003-08-01 André Pönitz <poenitz@gmx.net>
5905 * text2.C: make redoParagraph more independent of current cursor
5907 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5909 * text2.C: remove unneeded members
5911 2003-07-30 André Pönitz <poenitz@gmx.net>
5913 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5915 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5916 create a single function...
5918 * paragraph_funcs.C (moveItem): ... here.
5921 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5923 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5925 * LColor.[Ch]: Add comment and greyedout logical colors.
5927 2003-07-30 André Pönitz <poenitz@gmx.net>
5929 * tabular.C: don't use Assert too heavily. This crashes where it
5932 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5934 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5935 is disabled (bug 1232)
5937 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5939 * factory.C: limited 'arg' scope
5941 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5943 * factory.C: fixed Note submenu issues
5945 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5947 * factory.C: submenu for Note/Comment/Greyedout
5949 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5952 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5954 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5957 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5958 greyedout. Patch provided by Jürgen Spitzmüller.
5960 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5962 * kbmap.C (read): fix error message when reading bind files
5964 2003-07-29 Angus Leeming <leeming@lyx.org>
5966 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5967 certainly does not do what it purports to do. I am doing it, and
5968 us, a favour by killing it.
5970 2003-07-28 José Matos <jamatos@lyx.org>
5972 * buffer.C (readBody, do_writeFile):
5973 * paragraph.C(readParagraph): \end_document replaces \the_end.
5975 2003-07-29 André Pönitz <poenitz@gmx.net>
5978 * BufferView_pimpl.[Ch]:
5982 * textcursor.[Ch]: remove toggleToggle & Co
5984 2003-07-28 José Matos <jamatos@fep.up.pt>
5986 * buffer.C (readParagraph):
5987 * params_func (readParToken, readParagraph):
5988 * paragraph.C (write): \layout -> \begin_layout.
5990 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * lyxlex_pimpl.C (setFile): clean up slightly.
5994 * bufferparams.h: add compressed var
5996 * buffer_funcs.C (readFile): adjust for LyXLex change
5997 (newFile): ditto + simplify
5999 * buffer.C (writeFile): handle writing of compressed files
6001 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6002 Check if the file is compressed and set a bufferparm if so.
6004 * Makefile.am (lyx_LDADD): remove explicit -lz
6006 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6008 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6009 makeDocBookFile): put the real LyX version in the first line of
6013 * version.C.in: remove lyx_docversion
6015 * tabular.C (write_attribute): add a template-based version to
6016 write enums properly
6018 2003-07-28 André Pönitz <poenitz@gmx.net>
6023 * text3.C: use doubles again for x-coordinates. They are needed.
6025 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6027 * messages.C (getLocaleDir): use lyx_localedir()
6029 * lyxlex_pimpl.C (setFile): compress stuff
6031 * buffer.C (writeFile): add some compression stuff
6032 (do_writeFile): new func, dont call expliti close... will this
6035 * Makefile.am (lyx_LDADD): add -lz
6037 2003-07-28 José Matos <jamatos@fep.up.pt>
6039 * buffer.C: increment file format.
6040 * paragraph_funcs (readParagraph, readParToken):
6041 * paragraph.C (readParagraph): add \end_layout.
6043 2003-07-27 Angus Leeming <leeming@lyx.org>
6045 * Makefile.am: remove special casing for configure-time setting of
6046 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6048 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6049 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6051 2003-07-26 André Pönitz <poenitz@gmx.net>
6053 * paragraph_func.[Ch]:
6054 * paragraph.C (realizeFont): inline it whereever it is used
6059 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6062 2003-07-26 André Pönitz <poenitz@gmx.net>
6066 * text2.C: get rid of LyXText::need_break_row
6068 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6070 * toc.[Ch]: put namespace toc inside namespace lyx
6072 * MenuBackend.C (expandToc2): adjust for lyx::toc
6075 * lyxfunc.C (dispatch): adjust for lyx::find
6077 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6078 lyx::find instead. Reorganize a bit.
6079 (LyXReplace): rename to replace
6080 (LyXFind): rename to find
6082 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6085 2003-07-26 André Pönitz <poenitz@gmx.net>
6087 * text.C (setHeightOfRow): restrict scope of temporary variable
6089 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6090 code (never has been used?)
6092 2003-07-27 Asger Alstrup <alstrup@local>
6094 * text.C (fill): Optimise algorithm to exploit that we can reuse
6095 the LyXFont for many characters.
6096 (setHeightOfRow): Same thing.
6097 (rowBreakPoint): Same thing.
6099 2003-07-26 Asger Alstrup <alstrup@local>
6101 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6103 * text.C (singleWidth): Spurious font copying in hot-spot
6104 singleWidth avoided. Reorder tests for arabic for efficiency.
6106 * text.C (fill): handle empty paragraphs better.
6108 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6111 * encoding.h: add includes
6113 * lyxrc.C: remove reading of bind files
6115 * lyx_main.C (init): setup bindings and menus only if we have a
6118 * kbmap.C (read): new method. Do the actual reading of bind
6121 * converter.C (dvipdfm_options):
6124 (output): adapt PAPER_* enums.
6126 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6128 * bufferparams.h: remove paper-related enums from there
6130 * paper.h: New file. A trivial header file to hold paper-related
6131 enums. It should later expand to contain many paper-related
6134 * lyxrc.C: declare extern displayTranslator
6136 2003-07-27 José Matos <jamatos@fep.up.pt>
6138 * tabular.[Ch] (linuxdoc): add support for tables and figures
6141 2003-07-27 José Matos <jamatos@fep.up.pt>
6143 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6144 consistency in both functions.
6145 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6147 2003-07-26 Asger Alstrup <alstrup@local>
6149 * rowpainter.C (paintRows): Change algorithm to work directly on
6150 the insets rather than asking every character in the document
6151 whether its an inset.
6153 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6155 * buffer.C (openFileWrite): factorize some code
6157 2003-07-26 Angus Leeming <leeming@lyx.org>
6160 * lyx_main.[Ch]: replace occurances of system_tempdir with
6163 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6165 * rename Inset to InsetOld
6167 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6169 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6170 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6171 which I think is a bit clearer. EDIT is gone, since it was
6172 premature optimisation, and broken for mathed anyway.
6173 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6174 with cursor positioning in insets as well (math insets still do not
6175 work, but that's a different story anyway.) It mysteriously
6176 crashes sometimes with undo in the first paragraph, but I'm fairly
6177 confident that this is a compiler bug.
6179 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * paragraph.C (Paragraph): adjust for new clone return type
6183 (copyIntoMinibuffer): ditto
6185 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6187 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6188 by not having a special case, and always doing a full rebreak of
6189 the document after undo.
6191 2003-07-23 Angus Leeming <leeming@lyx.org>
6193 * factory.C (createInset): InsetExternal::setParams now takes a
6196 2003-07-23 Angus Leeming <leeming@lyx.org>
6198 * factory.C (createInset): changed interface to the external and
6199 graphics mailers' string2params functions.
6201 2003-07-23 Angus Leeming <leeming@lyx.org>
6203 * factory.C (createInset): pass a
6204 Buffer const * parameter to InsetExternalMailer's string2params.
6206 2003-07-22 John Levon <levon@movementarian.org>
6208 * Thesaurus.h: include the right aiksaurus header
6210 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6212 * MenuBackend.C (expand): check menu shortcuts unconditionally
6214 2003-07-21 Angus Leeming <leeming@lyx.org>
6216 * factory.C (createInset): pass a
6217 buffer_path parameter to InsetGraphicsMailer's string2params.
6219 2003-07-21 Angus Leeming <leeming@lyx.org>
6221 * BufferView_pimpl.C (buffer):
6224 * lyxfunc.C (dispatch):
6225 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6226 rather than the grfx shortcut.
6228 2003-07-21 André Pönitz <poenitz@gmx.net>
6230 * rowpainter.C: remove unused variables
6233 * tabular_funcs.h: move to tabular.C
6234 * Makefile.am: adjust
6236 * tabular.[Ch]: basic optical cleaning
6238 * author.h: pass references, not values
6240 2003-07-18 André Pönitz <poenitz@gmx.net>
6248 * text3.C: two-phase drawing for InsetText and InsetTabular
6249 some float -> int changes.
6251 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6253 * lyx_main.C: fix the fix
6255 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6257 * lyx_main.C: fix a crash in batch mode if no files specified
6260 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6262 * format.[Ch] (papersize): moved to BufferParams
6263 * converter.[Ch] (dvips_options): moved to BufferParams
6264 (dvipdfm_options): moved to anon namespace
6265 * bufferparams.[Ch]: added above functions.
6267 2003-07-17 André Pönitz <poenitz@gmx.net>
6271 * text2.C: don't call inset->update() anymore
6273 * metricsinfo.[Ch]: add convenience constructor
6275 2003-07-16 André Pönitz <poenitz@gmx.net>
6280 * text2.C: replace the LyXCursor::irow_ member with
6281 on-demand computation of the value
6283 2003-07-16 John Levon <levon@movementarian.org>
6285 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6287 2003-07-15 André Pönitz <poenitz@gmx.net>
6290 * text2.C: remove no more needed refresh_row
6292 2003-07-15 André Pönitz <poenitz@gmx.net>
6297 * text3.C: refresh_status tristate -> need_update bool
6299 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6301 * lyxtext.h (init): remove reinit argument (act as if always true)
6302 * text2.C: adjust to that
6304 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6306 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6307 * text3.C: use it to delete selections in some cases
6308 (bugs 441, 673, 702, 954).
6310 2003-07-14 André Pönitz <poenitz@gmx.net>
6312 * rowpainter.[Ch]: reduce interface
6314 2003-07-14 André Pönitz <poenitz@gmx.net>
6316 * BufferView_pimpl.C:
6317 * text2.C: adjust after removing unused BufferView * argument
6319 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6321 * text2.C (init): fix a crash fired on resize
6323 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6325 * buffer.[Ch]: added new closing signal
6326 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6327 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6328 BufferView::Pimpl via the closing the signal
6330 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6332 * buffer.[Ch]: take out all bv-related from buffer
6334 * BufferView_pimpl.[Ch]: connect to new signals
6335 * CutAndPaste.C: removed useless asserts
6336 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6339 * lyxfunc.C: moved view-related funciontality from vc here
6340 * paragraph.C: removed outdated comments
6343 2003-07-10 André Pönitz <poenitz@gmx.net>
6345 * BufferView_pimpl.C:
6349 * text2.C: remove InsetText::InnerCache, clean up consequences
6351 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6353 * ispell.C: fix two typos in error messages
6355 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6357 * Extend Note inset to other forms of annotation like Comment
6358 and Greyedout. Right button click gives dialog.
6360 Files modified or added (+):
6364 * ControlNote.[Ch] +
6366 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6367 frontends/controllers
6371 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6373 * aspell.C: add missing namespace lyx::support
6375 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6377 * BufferView.[Ch] (newFile): Add
6378 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6379 * LaTeX.[Ch] (message): added this signal and use it
6380 * buffer.[Ch] (busy, message): added these signals and use them
6381 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6385 * importer.C: use buffer signals instead of direct bv calling
6386 * lyx_cb.[Ch] (ShowMessage): removed
6389 * paragraph_funcs.C:
6390 * text2.C: use buffer signals
6392 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6394 * introduce namespace lyx::graphics
6396 2003-07-02 André Pönitz <poenitz@gmx.net>
6398 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6400 2003-07-01 André Pönitz <poenitz@gmx.net>
6407 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6408 text*.C to text_func.C
6410 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6412 * introduce namespace lyx::support
6414 2003-06-30 André Pönitz <poenitz@gmx.net>
6419 * text.C: re-enable --with-included-string
6421 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * textcursor.C: add <config.h>
6425 * text.C (getWord): remove const from word_location arg
6427 * lyxvc.C (getLogFile): fix const type order
6429 * lyxtext.h: remove const from word_location arg, add arg name
6431 * lyxlayout.h: currect type on labeltype.
6433 * importer.C: correct \file
6435 * converter.C (intToFormat): use std:: on ret val, ws changes
6437 * bufferlist.h: correct \file
6439 * buffer.C (makeLinuxDocFile): fix const type order
6440 (makeDocBookFile): ditto
6441 (fillWithBibKeys): use std:: on stdlib args.
6443 * CutAndPaste.C: fix authors.
6444 (availableSelections): use std:: on return vector
6446 2003-06-27 André Pönitz <poenitz@gmx.net>
6448 * BufferView_pimpl.C:
6449 * bufferview_funcs.C:
6457 * text3.C: remove LyXCursor::row_ member
6460 * text.C: rename fullRebreak() to partialRebreak() and implement
6461 a fullRebreak() that really bereks fully
6463 * textcursor.h: new struct for cursor-related data
6465 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6467 * lyx_main.C (LyX): get full path of document loaded on the
6470 2003-06-26 André Pönitz <poenitz@gmx.net>
6472 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6473 remove unused/broken operator>,<,>=.
6475 * text.C: remove only use of broken operator<= in an Assert().
6477 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6479 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6480 moved errorlist_.clear to showErrorList
6482 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6484 * converter.C (scanLog, runLaTeX):
6485 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6486 move the bv->showErrorList call to the callers
6487 * lyxfunc.C: i.e. here...
6489 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6490 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6491 namespace, the second to...
6492 * buffer_funcs (BufferFormat, parseErrors): added
6493 * errorlist.C (ErrorList(TeXErrors const &)): removed
6495 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6497 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6499 2003-06-24 "Garst R. Reese" <reese@isn.net>
6503 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6505 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6507 * version.C.in: change docversion to 1.4
6509 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6511 * buffer.C: fix a bug just introduced
6513 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6515 * buffer.[Ch]: added the parseError signal and use it, removed
6517 * BufferView.[Ch] (addError): moved to ...
6518 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6519 to the Buffer::parseError signal to catch (guess what) parse errors
6520 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6522 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6524 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6525 ability to create a buffer and to return an existing one from
6526 the list. Moved these functions to...
6527 * buffer_funcs.[Ch]: added
6528 * BufferView.[Ch] (loadLyXFile): added
6529 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6530 job removed from bufferlist::loadLyXFile.
6531 * buffer.C (setReadOnly): make it work without view
6532 (i.e added an if (users))
6534 2003-06-19 Angus Leeming <leeming@lyx.org>
6537 * LyXAction.C (init):
6538 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6539 with LFUN_DIALOG_SHOW <name> <data>.
6541 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6543 * CutAndPaste.C (availableSelections): small compilation fix for
6544 ancient (gcc 2.9x) compilers
6546 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6548 * text3.C (cursorNext): add tmp var
6550 * text2.C (updateCounters): for function calling out of for clause
6551 (replaceSelectionWithString): ditto
6552 (insertStringAsParagraphs): ditto
6553 (getColumnNearX): add tmp var
6554 (setCursorFromCoordinates): add tmp var
6555 (cursorDownParagraph): add tmp var
6556 (deleteEmptyParagraphMechanism): add tmp var
6558 * text.C (insertChar): add tmp var
6560 * rowpainter.C (paintDepthBar): add tmp var
6562 * CutAndPaste.C (availableSelections): potentially check all
6563 paragraphs in a cut to fill the shown strings.
6565 2003-06-18 André Pönitz <poenitz@gmx.net>
6567 * kbmap.[Ch]: use vector<> instead of list<>
6569 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6571 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6572 pasteSelection with index
6574 * text2.C (pasteSelection): modify, call pasteSelection with index
6576 * paragraph.C (asString): reimplement version with no interval to
6577 call the one with interval.
6579 * lyxtext.h: add index arg to pasteSelection
6581 * MenuBackend.C (MenuItem): handle PasteRecent
6582 (Menu::read::Menutags): add md_pasterecent
6584 (expandPasteRecent): new function
6587 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6589 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6591 (availableSelections): new function
6593 2003-06-17 Angus Leeming <leeming@lyx.org>
6595 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6597 2003-06-17 Angus Leeming <leeming@lyx.org>
6600 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6602 * lyxfunc.C (dispatch): invoke it.
6604 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6606 * iterators.C (operator++, ParPosition): reintroduce some
6607 const_cast for the benefit of older compilers.
6609 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6611 * text3.C (dispatch): do not modify clipboard when doing
6612 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6613 LFUN_DELETE_SKIP on a selection selection
6615 2003-06-16 André Pönitz <poenitz@gmx.net>
6621 * tabular.[Ch]: IU of clone() and getLabelList();
6623 2003-06-13 André Pönitz <poenitz@gmx.net>
6625 * tabular.h: compactification
6627 2003-06-12 André Pönitz <poenitz@gmx.net>
6631 * tabular_funcs.h: some renaming plus whitespace
6633 2003-06-12 André Pönitz <poenitz@gmx.net>
6636 * BufferView_pimpl.C:
6642 * toc.C: Return a Paragraph & for ParIterator::operator*()
6644 2003-06-11 John Levon <levon@movementarian.org>
6648 * ToolbarBackend.C: add "Toolbars" section and
6651 2003-06-10 Angus Leeming <leeming@lyx.org>
6654 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6656 * lyxfunc.C (dispatch): invoke it.
6658 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * main.C: protect <ios> with HAVE_IOS
6661 (main): protect sync_with_stdio with HAVE_IOS
6663 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6665 * text2.C (cutSelection): adjust
6666 (pasteSelection): adjust
6668 * messages.C: handle get of empty string
6670 * main.C (main): use sync_with_stdio(false)
6672 * lyxfunc.C (dispatch): adjust
6674 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6675 (WriteAs): remove unneeded BufferView arg.
6677 * bufferparams.h: use correct types on papersize, papersize2 and
6680 * bufferparams.C (readToken): adjust for type
6681 (writeLaTeX): add missing cases to switch.
6683 * bufferlist.C (quitWriteBuffer): adjust
6686 * buffer.C (asciiParagraph): remove some commented code.
6688 * CutAndPaste.C: remove current_view extern variable.
6689 (cutSelection): add BufferParams arg.
6690 (eraseSelection): add BufferParams arg.
6691 (pasteSelection): add Buffer const & arg
6693 2003-06-07 John Levon <levon@movementarian.org>
6696 * paragraph_funcs.C:
6697 * paragraph_pimpl.C:
6701 * paragraph.C: allow InsetERT to freely space lines,
6702 and some consolidation of code
6704 2003-06-06 José Matos <jamatos@fep.up.pt>
6706 * buffer.C (makeDocBookFile): fix bug #821
6708 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6710 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6712 2003-06-04 Angus Leeming <leeming@lyx.org>
6714 * buffer.C: bump format to 224.
6716 2003-06-05 André Pönitz <poenitz@gmx.net>
6718 * text2.C (redoParagraphs): remove two const_cast<>
6720 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6722 * ParagraphList.h: remove last remnants of NO_STD_LIST
6724 2003-06-03 Angus Leeming <leeming@lyx.org>
6726 * factory.C (createInset): small change to the way InsetExternal's params
6729 2003-06-04 André Pönitz <poenitz@gmx.net>
6731 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6733 * paragraph_pimpl.h:
6734 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6736 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6738 * undo_funcs.C: make some simple cases of undo work again
6740 2003-06-03 John Levon <levon@movementarian.org>
6742 * ispell.C: HPUX doesn't have sys/select.h
6745 2003-06-03 John Levon <levon@movementarian.org>
6747 * CutAndPaste.C: update tabular and include inset
6752 * paragraph.C: remove owningBuffer(), don't pass Buffer
6755 * factory.C: insetGraphicsParams changed
6757 2003-06-02 John Levon <levon@movementarian.org>
6763 * text3.C: remove insetparent
6765 2003-06-02 John Levon <levon@movementarian.org>
6768 * buffer.C: fix inset_iterator.end(), move out of line
6771 2003-06-01 John Levon <levon@movementarian.org>
6773 * text3.C: use a proper cut/paste when doing inset
6774 insert (from Jürgen Spitzmüller)
6776 2003-06-01 John Levon <levon@movementarian.org>
6778 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6780 2003-05-30 André Pönitz <poenitz@gmx.net>
6782 * rowpainter.C: unify second drawing phase
6784 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6786 * trans_mgr.C: remove one case of current_view
6788 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6790 * paragraph_funcs.h: remove paragraph.h include
6792 * paragraph.h: delete NO_STD_LIST stuff
6794 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6796 * buffer.h: remove paragraph.h include
6798 * ParagraphList.C: delete file
6800 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6802 * toc.C (getTocList): adjust
6804 * paragraph_pimpl.C (validate): adjust
6806 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6808 * paragraph.C (Paragraph): adjust
6809 (getPositionOfInset): use const_iterator, adjust
6810 (bibitem): use const_iterator, adjust
6811 (setInsetOwner): adjust
6813 * iterators.C (operator++): adjust
6815 * InsetList.[Ch]: Replace selfmade iterator with standard
6816 vector::iterator also introduce const_iterator. Remove getPos,
6817 getInset and setInset from InsetTable. Adjust accordingly.
6819 * BufferView.C (lockInset): adjust
6820 (ChangeInsets): adjust
6822 * tabular.[Ch]: delete commented same_id functions
6824 2003-05-28 John Levon <levon@movementarian.org>
6826 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6828 2003-05-28 André Pönitz <poenitz@gmx.net>
6830 * metricsinfo.[Ch]: remove 'fullredraw' member
6832 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6834 * lyxtextclass.C (operator): remove caching.
6836 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6840 * text2.C (cursorBottom): adjust
6841 (setCounter): use ParagraphList::find, adjust
6843 * text.C (workWidth): use ParagraphList::find, adjust
6845 * lyxcursor.C (LyXCursor): adjust
6847 * buffer.C (inset_iterator): adjust
6849 * ParagraphList.h: make iterator(value_type) private, make
6850 ParagraphList a friend of iterator.
6852 * ParagraphList.C (find): new function
6854 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6856 2003-05-27 André Pönitz <poenitz@gmx.net>
6858 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6860 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6862 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6864 2003-05-26 John Levon <levon@movementarian.org>
6866 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6868 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6870 * remove same_id from function signatures, adjust.
6872 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6876 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6878 * paragraph.C (Paragraph): get rid of same_ids parameter
6880 * ParagraphList.C (insert): adjust
6883 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6885 * paragraph_funcs.C (breakParagraph): adjust
6886 (breakParagraphConservative): adjust
6888 * buffer.C (readParagraph): adjust
6890 * ParagraphList.C (insert): take a reference instead of a pointer
6893 * paragraph.[Ch] (id): new function
6895 * bufferlist.C (newFile): adjust
6897 * ParagraphList.C (ParagraphList): adjust
6899 (push_back): take a reference instead of a pointer.
6901 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6903 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6906 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6907 set else use old code.
6909 * ParagraphList.C: remove all NO_NEXT code and only compile this
6910 code of NO_STD_LIST is set.
6912 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6914 * BufferView_pimpl.C:
6924 * graphics/GraphicsConverter.C:
6925 * graphics/PreviewLoader.C: header adjustment
6927 2003-05-23 Angus Leeming <leeming@lyx.org>
6929 * LaTeXFeatures.[Ch] (useBabel): new method.
6930 * bufferparams.C (writeLaTeX): use it.
6932 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6934 * ParagraphList.h (set): remove unused function.
6936 2003-05-23 André Pönitz <poenitz@gmx.net>
6939 * BufferView_pimpl.C:
6943 * undo_funcs.C: setUndo reworked
6945 * iterators.[Ch]: add access to topmost ParagraphList
6947 * lyxtext.[Ch] (workWidth): add a const
6949 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6951 * texrow.[Ch] (increasePos): remove function
6952 * exporter.C (export): removed unused var and outdated comment
6954 2003-05-23 Angus Leeming <leeming@lyx.org>
6956 * latexrunparams.h: rename fragile as moving_arg.
6957 * paragraph.C (simpleTeXOnePar): ditto.
6958 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6960 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6964 (textUndoOrRedo): comment out a currently unused var.
6966 * paragraph.h (NO_NEXT): enable NO_NEXT
6968 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6970 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6972 * exporter.C (Export): adjust for removeAutoInsets removal.
6974 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6976 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6978 * BufferView.[Ch] (removeAutoInsets): delete function
6980 2003-05-22 Angus Leeming <leeming@lyx.org>
6982 * latexrunparams.h: add a free_spacing variable.
6984 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6985 to pass moving_arg, as the data is stored in runparams.fragile.
6987 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6988 to Inset::latexOptional or to simpleTeXOnePar.
6990 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6991 free_spacing arg to Inset::latexOptional.
6993 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6996 2003-05-22 Angus Leeming <leeming@lyx.org>
6998 * latexrunparams.h: add fragile and use_babel variables.
7000 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7001 * buffer.C (makeLaTeXFile): store this returned value in
7002 runparams.use_babel, thus passing it to the inset::latex methods.
7004 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7005 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7007 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7008 longer has a fragile arg, as it is stored in runparams.fragile.
7010 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7011 moving_arg parameter as the data is stored in runparams.fragile.
7013 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7014 a fragile parameter as the data is stored in runparams.fragile.
7016 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7018 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7020 2003-05-22 Angus Leeming <leeming@lyx.org>
7022 * latexrunparams.h: add a 'bool nice' which defaults to false.
7024 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7025 now encapsulated within runparams.
7027 * bufferlist.C (updateIncludedTeXfiles):
7028 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7030 2003-05-22 Angus Leeming <leeming@lyx.org>
7032 * latexrunparams.h: new file containing struct LatexRunParams.
7033 * Makefile.am: add new file.
7035 * LaTeX.[Ch] (c-tor, run):
7036 * buffer.[Ch] (makeLaTeXFile):
7037 * bufferlist.[Ch] (updateIncludedTeXfiles):
7038 * converter.C (convert, scanLog):
7039 * converter.[Ch] (runLaTeX):
7040 * exporter.C (Export):
7041 * paragraph.[Ch] (simpleTeXOnePar):
7042 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7043 * paragraph_funcs.[Ch] (latexParagraphs):
7044 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7045 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7046 pass around a LatexRunParams parameter.
7048 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * paragraph.[Ch]: remove unused constructor
7052 * ParagraphList.C (erase): new function, taking two iterators
7054 2003-05-22 André Pönitz <poenitz@gmx.net>
7056 * undo_funcs.C: remove duplicated code
7058 * iterator.[Ch]: operator=
7060 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * tabular.C (SetMultiColumn): ws changes
7064 * rowpainter.C (paintFirst): get rid of a ->previous
7066 * lyx_cb.C (getPossibleLabel): parlist simplification
7068 * BufferView.C (ChangeInsets): simplify slightly.
7070 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7072 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7073 * lfuns.h: new LFUN_SPACE
7074 * lyxfunc.C: protected space has a new lfun
7075 * paragraph_funcs.C: read new space insets
7077 * factory.C: handle new space insets
7079 2003-05-22 André Pönitz <poenitz@gmx.net>
7082 * BufferView_pimpl.C:
7085 * undo_funcs.C: return a ParIterator from getParFromID.
7087 * iterators.[Ch]: add two const's
7089 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * toc.C (getTocList): adjust
7093 * iterators.[Ch]: rework for parlist
7095 * buffer.C (par_iterator_begin): adjust
7096 (par_iterator_end): adjust
7098 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7100 * BufferView.C (removeAutoInsets): adjust
7101 (ChangeInsets): adjust
7103 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7105 * text.C (top_y): fix bug 1110
7107 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7109 * errorlist.[Ch]: added
7112 * BufferView_pimpl.C:
7113 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7116 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * Makefile.am: ensure that lyx is relinked upon changes to the
7119 various "convenience" libs.
7121 2003-05-20 Angus Leeming <leeming@lyx.org>
7123 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7124 files are compiled in alphabetical order again.
7126 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7128 2003-05-19 Angus Leeming <leeming@lyx.org>
7130 * gettext.[Ch]: remove "char const * _(char const *)".
7132 2003-05-19 André Pönitz <poenitz@gmx.net>
7134 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7143 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7145 2003-05-19 André Pönitz <poenitz@gmx.net>
7149 * lyxtextclass.[Ch]:
7151 * paragraph_funcs.[Ch]:
7153 * text3.C: more insetenv work
7155 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7157 * ParagraphParameters.C (params2string): small bug fixed
7159 2003-05-16 André Pönitz <poenitz@gmx.net>
7162 * bufferview_funcs.C: patch from Kornel Benko to prevent
7163 crash when _(...) is called twice in a statement
7165 2003-05-16 André Pönitz <poenitz@gmx.net>
7172 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7174 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7176 * lyx_main.C (init): remove spurious static_cast
7178 2003-05-14 André Pönitz <poenitz@gmx.net>
7180 * BufferView.C: fix format string
7182 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7184 * BufferView.[Ch] (insertErrors): removed
7185 * BufferView.[Ch] (showErrorList): added
7186 * buffer.C (runChkTeX):
7187 * converter.C (scanLog): call showErrorList instead of inserterrors
7189 2003-05-13 André Pönitz <poenitz@gmx.net>
7191 * BufferView_pimpl.C:
7193 * bufferview_func.C:
7200 * tabular_funcs.h: tostr() from its own header
7202 * ParagraphParameters.C:
7207 * text3.C: STRCONV()
7209 2003-05-12 André Pönitz <poenitz@gmx.net>
7212 * BufferView_pimpl.C:
7216 * ParagraphParameters.C:
7220 * bufferview_funcs.C:
7233 * paragraph_funcs.C:
7237 * text3.C: boost::format -> bformat all over the place
7240 2003-05-09 André Pönitz <poenitz@gmx.net>
7242 * LColor.[Ch]: Pimpl the #include <map> away
7244 2003-05-09 John Levon <levon@movementarian.org>
7246 * bufferlist.C: never remove emergency saves
7248 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * Makefile.am: better lib building
7252 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7256 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7257 (simpleTeXSpecialChars): adjust
7258 (simpleTeXSpecialChars): adjust
7259 * paragraph.C (simpleTeXOnePar): adjust
7260 * buffer.C (makeLaTeXFile): adjust
7262 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7264 * text2.C (changeDepth): parlist cleanup
7265 (getColumnNearX): ditto
7267 * rowpainter.C (getLabelFont): parlist cleanup
7269 * bufferlist.C (newFile): parlist cleanup
7271 * CutAndPaste.C (eraseSelection): parlist cleanup
7273 * BufferView_pimpl.C (trackChanges): parlist cleanup
7276 * BufferView.C (lockInset): parlist cleanup.
7277 (ChangeInsets): ditto
7279 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * CutAndPaste.h: Update file header.
7283 * CutAndPaste.C: Update file header.
7284 Store the parts cut out of the Document in a limited_stack.
7285 (copySelection): adjust
7286 (pasteSelection): new function, takes the index in the limited stack.
7287 (nrOfParagraphs): adjust
7288 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7289 simplify error inset insertion.
7290 (checkPastePossible): adjust
7292 2003-05-06 John Levon <levon@movementarian.org>
7294 * text2.C: don't cast wrap inset to float
7296 2003-05-05 André Pönitz <poenitz@gmx.net>
7299 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7301 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7302 few naked Paragraph *.
7304 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7306 * bufferparams.C: Output warning if a document with missing
7307 TeX document class is loaded
7308 * exporter.C: Disable TeX exports if the document class is missing
7311 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7312 isTeXClassAvailable()
7314 2003-05-03 John Levon <levon@movementarian.org>
7317 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7318 explicit cursor show/hide
7320 * BufferView_pimpl.h:
7321 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7322 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7324 * lyxfunc.C: hide cursor before dispatching.
7329 * text3.C: remove explicit cursor hides
7331 2003-05-02 André Pönitz <poenitz@gmx.net>
7333 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7336 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7339 * text2.C: tiny whitespace
7341 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * undo_funcs.C: almost only ws changes.
7345 * ParagraphList.C (splice): just return if pl is empty.
7347 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * ParagraphList.C (splice): new function.
7351 * CutAndPaste.C (pasteSelection): use it
7353 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7355 * CutAndPaste.C (pasteSelection): remove the last next and
7356 previous from this file.
7358 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * CutAndPaste.C (pasteSelection): more clean up, user proper
7361 ParagraphList functions for pasteing.
7363 * ParagraphList.C (insert): new function, three arg insert
7365 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7367 * ParagraphList.C (insert): new function, three arg insert
7369 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7372 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7374 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7376 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7380 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7383 (copySelection): clean up a bit.
7384 (pasteSelection): use make_pair
7386 * ParagraphList.C (ParagraphList): implement copy constructor
7387 (operator=): implement, base on copy constructor.
7390 * paragraph.C (erase): return a bool
7392 * paragraph_pimpl.C (erasePos): remove function, move contents...
7393 (erase): ... here. Return a bool.
7394 (erase): call erase instead of erasePos.
7396 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7398 * ParagraphList.h: define PitPosPair
7399 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7400 ParagraphList, fix a bug on pasting multiple pars
7401 * text2.C: change interface to C&P
7403 2003-04-30 André Pönitz <poenitz@gmx.net>
7405 * undo_func.C: revert part of yesterday's patch 2
7407 2003-04-30 John Levon <levon@movementarian.org>
7409 * LColor.C: s/tabular/table/
7411 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7413 * text3.C (dispatch): do not convert iterator -> pointer
7414 * undo_funcs.C (setCursorParUndo): ditto
7415 * text_funcs.C (transposeChars): ditto
7417 * text2.C (setLayout): ws changes only
7419 * text.C (breakParagraph): do not convert iterator -> pointer
7421 (acceptChange): ditto
7422 (rejectChange): ditto
7427 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7430 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7432 * text3.C (gotoInset): YABG (yet another bad getChar)
7434 2003-04-29 André Pönitz <poenitz@gmx.net>
7436 * paragraph.h: make operator= private unimplemented as long as
7439 * ParagraphList.C: whitespace
7442 * paragraph_pimpl.[Ch]:
7443 * paragraph_funcs.C:
7445 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7448 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7450 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7452 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7453 * paragraph.[Ch] (erase):
7454 * paragraph_pimpl.[Ch] (erase): change return type and value
7455 * text2.C (cutSelection): some rework
7457 2003-04-28 John Levon <levon@movementarian.org>
7459 * bufferlist.C: changes for unsaved changes dialog
7461 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7463 * bufferlist.C (newFile): set language (messages_) for new
7466 * buffer.C (readFile): ws changes only.
7468 2003-04-28 André Pönitz <poenitz@gmx.net>
7473 * BufferView_pimpl.C:
7474 * BufferView.C: getParFromID related ParagraphList::iterator changes
7476 2003-04-28 André Pönitz <poenitz@gmx.net>
7478 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7481 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * messages.C: remove one more localedir class variable.
7485 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * messages.C (getLocaleDir): singleton generation function
7489 (Messages): add a default constructor.
7491 * main.C (main): do not setup localedir here, do not call
7494 * gettext.C (_): use it.
7495 (gettext_init): delete funciton
7497 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * gettext.C (getLyXMessages): new singleton generating function.
7501 * buffer.C (updateDocLang): adjust
7503 * Makefile.am (messages.o): add target
7504 (main.o): remove target
7506 2003-04-27 John Levon <levon@movementarian.org>
7511 * lyxvc.C: specify cancel button in Alert::prompt
7513 2003-04-26 John Levon <levon@movementarian.org>
7518 * LyXAction.C: add LFUN_INSET_SETTINGS
7520 * lyxfunc.C: don't enable tabular-feature when there's
7521 just any locking inset
7523 2003-04-26 John Levon <levon@movementarian.org>
7525 * bufferlist.C: re-add Cancel to buffer close question
7527 * lyxfunc.C: fix import UI a bit
7529 2003-04-25 John Levon <levon@movementarian.org>
7531 * gettext.C: remove the broken asserts for now
7533 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * messages.C: make case where setlocale cannot comply work better.
7537 * buffer.C (updateDocLang): new function
7538 (changeLanguage): use it
7541 * text2.C (setCounter): use B_ a bit.
7543 * lyxlayout.C (Read): be sure to trim the label strings.
7545 * messages.C (Messages): fix typo in comment
7547 * buffer.C (readFile): set message_ after file is loaded.
7548 (makeDocBookFile): remove double return
7549 (changeLanguage): reset message_ upon language change.
7550 (B_): new func, use this to get translated buffer strings.
7552 * main.C: add myself and Jean Marc as authors.
7554 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7556 * messages.[hC]: pimplify Messages, and three different pimpls to be
7557 used in different circumstances.
7559 * gettext.[Ch]: change for use with new message code.
7561 2003-04-24 André Pönitz <poenitz@gmx.net>
7563 * factory.C: support for eqref
7565 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7567 * messages.[Ch]: add missing char
7569 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7571 * messages.[Ch]: New files
7573 2003-04-18 John Levon <levon@movementarian.org>
7577 * BufferView_pimpl.C:
7581 * text2.C: remove layout-copy/paste (bug 778)
7583 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7585 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7587 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7589 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7590 if they succeed. Act accordingly.
7592 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7594 * text2.C (setCharFont): adjust
7595 (setCounter): adjust
7596 (insertStringAsLines): adjust
7598 * text.C (leftMargin): adjust
7599 (setHeightOfRow): adjust
7601 * rowpainter.C (paintFirst): adjust
7604 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7606 (isFirstInSequence): ditto
7607 (getEndLabel): ditto
7610 * paragraph.C (getParLanguage): comment out some hard stuff.
7612 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7614 (simpleDocBookOnePar): ditto
7615 (makeDocBookFile): use ParagraphList::iterator
7617 * CutAndPaste.C (pasteSelection): adjust
7619 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7621 * text2.C (getFont): adjust
7622 (getLayoutFont): adjust
7623 (getLabelFont): adjust
7625 * paragraph_funcs.C (TeXOnePar): adjust
7627 * buffer.C (simpleLinuxDocOnePar): adjust
7628 (simpleDocBookOnePar): adjust
7630 * CutAndPaste.C (pasteSelection): adjust
7632 * BufferView.C (getEncoding): adjust
7634 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7636 2003-04-16 John Levon <levon@movementarian.org>
7638 * lyxfind.C: use parlist stuff for search/changes
7640 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7644 * text2.C (deleteEmptyParagraphMechanism): adjust
7646 * text2.[Ch] (ownerParagraph): delete func (both of them
7648 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7652 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7654 * ParagraphList.C: prepare for NO_NEXT
7656 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * text2.C (getFont): adjust
7659 (getLayoutFont): adjust
7660 (getLabelFont): adjust
7662 * paragraph.C (getFont): adjust
7663 (getLabelFont): adjust
7664 (getLayoutFont): adjust
7666 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7668 2003-04-15 John Levon <levon@movementarian.org>
7672 * lyx_main.C: handle Include in .ui files
7674 2003-04-15 John Levon <levon@movementarian.org>
7676 * MenuBackend.C: make the doc files length shorter
7679 * ToolbarBackend.C: handle toolbar placement flags,
7682 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7684 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7687 * paragraph_funcs.C (TeXOnePar): adjust
7689 * paragraph.C (getLabelFont): add outerfont arg, adjust
7690 (getLayoutFont): ditto
7691 (simpleTeXOnePar): adjust
7693 * paragraph_pimpl.C (realizeFont): delete func
7695 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7697 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7698 row argument, constify cur argument.
7700 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * text2.C (getFont): adjust
7703 (getLayoutFont): adjust
7704 (getLabelFont): adjust
7706 * paragraph_funcs.C (TeXOnePar): adjust
7707 (outerFont): new func...
7708 (realizeFont): ...moved out from here, changed this to facilitate
7711 * paragraph.C (getFont): take outerfont as arg, adjust
7712 (simpleTeXOnePar): add outerfont arg, adjust
7714 * buffer.C (simpleLinuxDocOnePar): adjust
7715 (simpleDocBookOnePar): adjust
7717 * CutAndPaste.C (pasteSelection): adjust
7719 * BufferView.C (getEncoding): adjust
7721 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * text2.C (setCharFont): adjust
7724 (setCounter): adjust
7726 * text.C (leftMargin): adjust
7727 (setHeightOfRow): adjust
7729 * rowpainter.C (paintFirst): adjust
7732 * paragraph_pimpl.C (realizeFont): adjust
7734 * paragraph.C (isFirstInSequence): move from here...
7735 * paragraph_funcs.C (isFirstInSequence): ...to here
7737 * paragraph.C (outerHook): move from here...
7738 * paragraph_funcs.C (outerHook): ...to here
7740 * paragraph.C (depthHook): move from here...
7741 * paragraph_funcs.C (depthHook): ...to here
7743 * paragraph.C (getEndLabel): move from here...
7744 * paragraph_funcs.C (getEndLabel): ...to here
7746 * text2.C (realizeFont): move from here...
7747 * paragraph_funcs.C (realizeFont): ...to here
7749 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7753 2003-04-14 Angus Leeming <leeming@lyx.org>
7755 * LColor.[Ch]: scrap LColor mathcursor.
7757 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * lyxlex.[Ch] (text): delete function
7760 * trans.C (Load): adjust
7761 * paragraph_funcs.C (readParToken): adjust
7763 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7766 vector<char> instead of a char[].
7768 * lyxlex_pimpl.C (getString): adjust
7770 (lex): use getString
7774 * lyxlex.C (text): use pimpl_->getString()
7778 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7780 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7781 (makeFontEntriesLayoutSpecific): temp var for par.size()
7782 (setLayout): temp var for ownerParagraphs().end()
7783 (fullRebreak): temp var for rows().end()
7784 (selectionAsString): temp var for boost::next(startpit), realize
7785 that the while really is a regular for loop.
7786 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7787 setCursor in one place.
7788 (setParagraph): temp vr for ownerParagraphs().end()
7789 (updateCounters): make the while loop a for loop
7790 (cutSelection): temp var for ownerParagraphs().end()
7791 (updateInset): make the do {} while() a regular for loop
7792 (getCursorX): use temp vars
7793 (setCurrentFont): use temp vars
7794 (getColumnNearX): use temp vars
7796 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * text.C (transformChar): use temp var for getChar
7799 (computeBidiTables): use temp var for row->par()
7800 (fill): move temp vars for row->par() and pit->layout() earlier in
7802 (labelFill): use temp var for row->par()
7803 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7804 asc and desc, realize that pit never changes and that firstpit is
7805 just a duplicate and not needed. Exchange rit->par() with pit in a
7807 (breakAgain): use a temp var for boost::next(rit)
7808 (breakAgainOneRow): ditto
7809 (breakParagraph): use a temp var for rows().begin()
7810 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7811 (cursorRightOneWord): use temp var for cursor.par() and
7812 cursor.pos(), remove usage of tmpcursor.
7813 (cursorLeftOneWord): use temp var for cursor.par() and
7814 cursor.pos() only set cur at end of function.
7816 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7818 * text.C, text2.C: exchange all usage of Paragraph::next with
7819 boost::next(ParagraphList::iterator)
7821 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7823 * text2.C (cursorTop): simplify implementation
7824 (cursorBottom): ditto
7825 (setParagraph): use ParagraphList::iterator
7826 (setCurrentFont): adjust
7827 (getColumnNearX): adjust
7828 (cursorRight): adjust
7829 (cursorLeft): remove usage of Paragraph::previous
7830 (cursorUpParagraph): ditto
7831 (deleteEmptyParagraphMechanism): slight cleanup
7833 * text.C (isBoundary): take a Paragraph const & instead of a
7835 (addressBreakPoint): ditto
7836 (leftMargin): remove usage of Paragraph::previous.
7837 (setHeightOfRow): ditto
7838 (cursorLeftOneWord): ditto
7839 (selectNextWordToSpellcheck): ditto
7842 (breakParagraph): remove one usage of Paragraph::next
7843 (redoParagraph): ditto
7844 (acceptChange): ditto
7845 (insertChar): adjust
7846 (rowBreakPoint): adjust
7848 * bufferview_funcs.C (toggleAndShow): adjust
7850 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7852 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7853 methods to access it.
7855 * text.C: Added updateRowPositions to compute all row positions.
7856 Make top_y and getRowNearY() to use the cached y position
7858 2003-04-11 John Levon <levon@movementarian.org>
7860 * text.C (rowBreakPoint): reintroduce the labelEnd
7861 checks, code copied from the row fill stuff. Deep voodoo.
7863 * text.C (fill): add a comment and debugging for the
7866 2003-04-11 John Levon <levon@movementarian.org>
7868 * text.C: make sure fullrow insets get wrapped to the next line,
7869 even when they're in a manual label
7871 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7873 * text2.C (insertParagraph): make it take ParagraphList::iterator
7875 (setLayout): make it return ParagraphList::iterator
7876 (redoParagraphs): ditto
7878 (checkParagraph): ditto
7880 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7882 * text2.C: adjust several funcs.
7883 (realizeFont): take a ParagraphList::iterator as arg.
7884 (getLayoutFont): ditto
7885 (getLabelFont): ditto
7886 (setCharFont): ditto
7888 * text.C: adjust several funcs.
7890 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7892 * text.C (selectNextWordToSpellcheck): don't accidentally
7895 2003-04-10 John Levon <levon@movementarian.org>
7897 * ToolbarBackend.C (getIcon): special handling for
7900 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7902 * text2.C (cursorRight): a getChar assert fixed
7904 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7906 * text2.C (getFont): change to take a ParagraphList::iterator
7907 instead of Paragraph*
7908 Adjust several functions.
7910 * text.C (transformChar): change to take a ParagraphList::iterator
7911 instead of Paragraph*
7912 (singleWidth): ditto
7913 Adjust several functions.
7915 * rowpainter.C: adjust several functions
7916 * rowpainter.h:store a ParagraphList::iterator and not a
7920 2003-04-09 John Levon <levon@movementarian.org>
7925 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7926 and the "help" bits as well
7928 2003-04-09 John Levon <levon@movementarian.org>
7931 * ToolbarBackend.C: allow multiple toolbars
7933 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * undo_funcs.C (setCursorParUndo): adjust
7937 * text_funcs.C (transposeChars): adjust
7939 * text3.C (gotoNextInset): adjust
7942 * text2.C (setLayout): adjust
7943 (changeDepth): adjust
7945 (redoParagraphs): adjust
7946 (selectionAsString): adjust
7947 (setParagraph): adjust
7948 (insertInset): adjust
7949 (cutSelection): adjust
7950 (copySelection): adjust
7951 (pasteSelection): adjust
7952 (insertStringAsLines): adjust
7953 (updateInset): adjust
7954 (setCursor): change to take a ParagraphList::iterator parameter
7955 (setCursorIntern): change to take a ParagraphList::iterator parameter
7956 (setCurrentFont): adjust
7957 (cursorLeft): adjust
7958 (cursorRight): adjust
7959 (deleteEmptyParagraphMechanism): adjust
7961 * text.C (breakParagraph): adjust
7962 (insertChar): adjust
7963 (acceptChange): adjust
7964 (rejectChange): adjust
7965 (selectNextWordToSpellcheck): adjust
7966 (changeCase): adjust
7970 * lyxfind.C (SearchForward): adjust
7971 (SearchBackward): adjust
7972 (nextChange): adjust
7974 * lyxcursor.C (par): adjust
7976 * lyxcursor.h: store a ParagraphList::iterator instead of a
7979 * lyx_cb.C (getPossibleLabel): adjust
7981 * bufferview_funcs.C (toggleAndShow): adjust
7983 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7986 * BufferView.C (removeAutoInsets): adjust
7987 (lockedInsetStoreUndo): adjust
7989 2003-04-09 John Levon <levon@movementarian.org>
7991 * ToolbarBackend.C: try icon without argument
7992 if with argument fails
7994 2003-04-08 John Levon <levon@movementarian.org>
7997 * ToolbarBackend.C: add getIcon(), handle tooltip,
7998 and change from "Icon" to "Item".
8000 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8002 * BufferView.C (lockInset): another bad getchar crunched
8004 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8006 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8009 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8011 * lyxfind.C (searchForward, searchBackwards): bug 782
8013 2003-04-07 John Levon <levon@movementarian.org>
8015 * paragraph.C: remove dead comment
8017 * text.C: remove troublesome depth-fiddling code
8018 in leftMargin() and rightMargin() (bug 1017)
8020 * text.C: fix breaking of rows in nested lists
8023 * text2.C (updateCounters): fix up depth values
8026 2003-04-07 John Levon <levon@movementarian.org>
8028 * BufferView_pimpl.C: clear message when doc finishes resizing,
8029 and after a mouse event
8031 * lyxfunc.C: clear message after exiting inset
8033 2003-04-07 John Levon <levon@movementarian.org>
8035 * bufferview_funcs.C: show math status not outside
8036 status in the statusbar
8038 2003-04-07 John Levon <levon@movementarian.org>
8040 * lyxfunc.C: note status changed after a depth change
8042 2003-04-04 Angus Leeming <leeming@lyx.org>
8044 * LaTeX.h: move AuxInfo operator==, != out of line.
8045 Remove LaTeX virtual destructor; nothing derives from it.
8046 Move operator()() out of public area and rename it startscript().
8047 Change protected for private.
8049 2003-04-04 Angus Leeming <leeming@lyx.org>
8052 * text2.C: remove unneeded #includes.
8054 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8056 * text2.C (dEPM): fix the heigth of the next row
8058 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8060 * text.C: squashed an invalid getChar requester + some ws changes
8062 2003-04-03 John Levon <levon@movementarian.org>
8064 * bufferview_funcs.h:
8065 * bufferview_funcs.C:
8068 * text2.C: make getStatus work for the env depth lfuns
8070 2003-04-03 John Levon <levon@movementarian.org>
8072 * bufferview_funcs.h:
8073 * bufferview_funcs.C:
8076 * text2.C: parlistize decDepth(), by merging it with incDepth()
8078 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8080 * lyxrow.h: store a ParagraphList::iterator instead of a
8081 Paragraph* and adjust other class functions to suit.
8083 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8086 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8088 * text2.C (setCursor): do not anchor to cursor row for the time being
8090 2003-04-02 John Levon <levon@movementarian.org>
8097 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8099 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * paragraph.h: make ParagraphList and ParagraphList::iterator
8102 friends of Paragraph.
8104 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8106 * ParagraphList.C: Use the private next_ and previous_ from
8109 2003-04-01 John Levon <levon@movementarian.org>
8113 * Makefile.am: rename, remove defaults gunk
8116 * MenuBackend.C: remove defaults gunk
8119 * Languages.C: remove defaults gunk
8122 * lyx_main.C: error out if files couldn't be found.
8124 2003-04-02 John Levon <levon@movementarian.org>
8126 * text2.C: make incDepth() use parlist
8128 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8130 * undo_funcs.C (firstUndoParagraph): adjust
8132 * text3.C (gotoInset): adjust
8133 (dispatch): adjust, and rewrite loop.
8135 * text2.C (init): adjust, and rewrite loop.
8136 (redoParagraphs): adjust
8137 (updateInset): adjust, and rewrite loop.
8138 (deleteEmptyParagraphMechanism): adjust
8140 * tabular.C (LyXTabular): adjust
8141 (SetMultiColumn): adjust
8144 * lyxtext.[Ch] (ownerParagraph): delete function
8145 (ownerParagraphs): new function returns a ParagraphList.
8147 * BufferView.C (removeAutoInsets): adjust
8148 (insertErrors): adjust
8149 (setCursorFromRow): adjust
8151 2003-04-01 Angus Leeming <leeming@lyx.org>
8153 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8156 2003-04-02 John Levon <levon@movementarian.org>
8162 * text_funcs.C: make transposeChars a free function
8164 * lyxrow_funcs.C: remove wrong comment
8166 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8169 * rowpainter.C: adjust
8174 * lyxrow_funcs. [Ch]: new files
8176 * lyxrow.[Ch]: remove next and previous pointers
8177 (next,previous): remove accessor functions
8178 (isParEnd): move to lyxrow_funcs
8179 (lastPos): move to lyxrow_funcs
8180 (nextRowIsAllInset): move to lyxrow_funcs
8181 (lastPrintablePos): move to lyxrow_funcs
8182 (numberOfSeparators): move to lyxrow_funcs
8183 (numberOfHfills): move to lyxrow_funcs
8184 (numberOfLabelHfills): move to lyxrow_funcs
8185 (hfillExpansion): move to lyxrow_funcs
8189 * bufferview_funcs.C (toggleAndShow): adjust
8191 * RowList.h: Remove class RowList from file leave just a
8194 * RowList.C: delete file
8196 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8199 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * text3.C (cursorPrevious): adjust
8202 (cursorNext): adjust
8205 * text2.C (redoHeightOfParagraph): adjust
8206 (redoDrawingOfParagraph): adjust
8209 * text.C (breakParagraph): adjust
8210 (insertChar): adjust
8213 * rowpainter.C (RowPainter): adjust
8214 (leftMargin): simplify and adjust
8215 (most rowpainter functions): adjust.
8217 * rowpainter.h: store the row as RowList::iterator not as Row*
8219 * lyxcursor.C (row): taka RowList::iterator as arg
8222 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8225 2003-04-01 Angus Leeming <leeming@lyx.org>
8227 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8228 stuff like bool Bool.
8230 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8232 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8235 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8240 * lyxtext.h (rows): drop one version and leve a const variant that
8241 returns a RowList::iterator.
8243 2003-03-31 Angus Leeming <leeming@lyx.org>
8245 * text.C (fill): ensure that the signature is the same as that in the
8248 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * text2.C (redoParagraphs): adjust
8251 (updateCounters): adjust
8252 (checkParagraph): adjust
8253 (getColumnNearX): adjust and reformat a bit.
8255 * text.C (top_y): adjust
8257 (leftMargin): adjust
8258 (prepareToPrint): adjust
8260 (getRowNearY): adjust
8262 * lyxtext.h: make rowlist_ mutable.
8264 * RowList.h: add const_iterator
8265 * RowList.C: adjust for RowList::const_iterator.
8267 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8270 2003-03-31 John Levon <levon@movementarian.org>
8273 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8275 * lyx_main.C: set default fonts from using lyx_gui funcs
8277 * exporter.C: pdf_mode moved from lyxrc
8280 * lyxfunc.C: changes from above
8282 2003-03-31 John Levon <levon@movementarian.org>
8284 * lyx_main.C: fix to the last fix
8286 2003-03-31 John Levon <levon@movementarian.org>
8288 * bufferlist.C: "Load original" -> "Load Original"
8294 * format.C: more Alert cleanups
8296 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8298 * text2.C (removeParagraph): make it take a RowList::iterator as
8300 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8301 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8303 * text.C (anchor_row): make it take a RowList::iterator as arg,
8305 (computeBidiTables): make it take a const reference to Row instead
8306 of Row pointer, adjust.
8307 (leftMargin): make it take a RowList::iterator as arg, adjust.
8308 (rowBreakPoint): adjust
8309 (breakAgainOneRow): make it take a RowList::iterator as arg,
8311 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8313 * bufferview_funcs.C (toggleAndShow): adjust
8315 2003-03-30 John Levon <levon@movementarian.org>
8319 * boost-inst.C: moved to support
8321 * several files: changes as a result
8323 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * text2.C (LyXText): adjust.
8327 (removeRow): make it take a RowList::iterator as arg, adjust.
8328 (fullRebreak): adjust
8329 (deleteEmptyParagraphMechanism): adjust
8330 (clearPaint): adjust
8333 * text.C (top_y): adjust
8334 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8335 (breakAgain): make it take a RowList::iterator as arg, adjust.
8336 (breakParagraph): adjust
8337 (insertChar): adjust
8340 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8341 need_break_row, and refresh_row.
8343 * text3.C (dispatch): adjust
8345 * text2.C (checkParagraph): adjust
8347 (setCursorFromCoordinates): adjust
8349 * text.C (top_y): adjust
8351 (getRow): make it return a RowList::iterator, adjust
8352 (getRowNearY): make it return a RowList::iterator, adjust
8354 * text2.C (init): adjust
8355 (insertRow): remove function
8356 (insertParagraph): adjust
8357 (redoParagraphs): adjust
8358 (fullRebreak): adjust
8359 (updateCounters): adjust
8361 * text.C (top_y): rewrite to use RowList iterators.
8363 (setHeightOfRow): rewrite to sue RowList iterators.
8364 (appendParagraph): adjust
8365 (breakAgain): adjust
8366 (breakAgainOneRow): adjust
8367 (breakParagraph): adjust
8369 (getRowNearY): adjust, and remove commented code.
8371 * lyxtext.h (firstRow): delete function
8372 (lastRow): delete function
8373 (rows): new function (const and non-const versions.)
8374 (insertRow): delete function
8376 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8378 2003-03-29 John Levon <levon@movementarian.org>
8380 * BufferView_pimpl.C: always update scrollbar top
8381 because pasting text when we're anchored could mean we
8382 miss an update altogether
8384 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * text2.C (init): use rowlist_.end() and not 0.
8387 (insertRow): change to take a RowList::iterator as arg, adjust
8389 (insertParagraph): change to take a RowList::iterator as arg,
8391 (redoParagraphs): remove some debug msgs.
8393 * text.C (appendParagraph): change to take a RowList::iterator
8394 arg, adjust for this.
8395 (breakAgain): add an assert
8396 (breakAgainOneRow): ditto
8398 2003-03-29 John Levon <levon@movementarian.org>
8400 * text2.C: do not clear selection after inc/decDepth
8403 2003-03-29 John Levon <levon@movementarian.org>
8406 * buffer.C: fix broken strerrors according to Lars
8408 2003-03-29 John Levon <levon@movementarian.org>
8410 * converters.C: more Alert cleanups
8412 2003-03-29 John Levon <levon@movementarian.org>
8414 * bufferview_funcs.C: remove pointless Alert
8416 * buffer.C: fix confusing error message when
8417 a template is chmoded 000
8419 2003-03-29 John Levon <levon@movementarian.org>
8423 * BufferView_pimpl.C: Alert fixes
8427 * tabular-old.C: remove unused table compat reading
8429 2003-03-29 John Levon <levon@movementarian.org>
8434 * lyx_cb.C: more Alert cleanups
8436 * lyxfunc.C: don't allow chktex if not latex document
8438 2003-03-29 John Levon <levon@movementarian.org>
8442 * buffer.C: warnings pushed down from support/,
8445 2003-03-29 John Levon <levon@movementarian.org>
8447 * lyxfunc.C: safety check for C-r (revert)
8449 2003-03-29 John Levon <levon@movementarian.org>
8452 * bufferlist.C: several UI fixes using Alert::prompt.
8453 Fix the pointless looping quit code. Fix stupid revert
8458 * lyx_cb.C: use Alert::prompt
8460 * lyx_main.C: remove a silly question
8462 * lyxfunc.C: remove a couple of silly questions,
8465 2003-03-28 John Levon <levon@movementarian.org>
8467 * text2.C: fix bug 974 (End on empty par)
8469 2003-03-28 John Levon <levon@movementarian.org>
8471 * BufferView_pimpl.C:
8473 * lfuns.h: remove do-nothing math greek lfuns
8475 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8477 * lyxgluelength.h (isValidGlueLength): add default arg on
8478 parameter 2. Remove default arg from friend in class.
8480 * lyxlength.h (isValidLength): add default arg on parameter 2.
8481 Remove default arg from friend in class.
8483 * text2.C (LyXText): adjust, initialize refresh_row.
8487 (insertParagraph): adjst
8488 (redoParagraphs): adjust
8489 (fullRebreak): adjust
8490 (updateCounters): adjust
8491 (deleteEmptyParagraphMechanism): first attempt at fixing a
8494 * text.C (top_y): adjust
8495 (setHeightOfRow): adjust
8497 (getRowNearY): adjust
8499 * lyxtext.h: include RowList.h
8500 (~LyXText): not needed anymore, deleted.
8501 (firstRow): modify for RowList
8502 (lastRow): new function
8503 Delete firstrow and lastrow class variables, add a Rowlist
8504 rowlist_ class variable.
8506 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8509 * RowList.C (insert): fix case where it == begin().
8511 2003-03-26 Angus Leeming <leeming@lyx.org>
8513 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8514 the thesaurus dialog.
8516 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8518 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8520 * RowList.[Ch]: new files
8522 * ParagraphList.C (erase): handle the case where it == begin
8525 2003-03-25 John Levon <levon@movementarian.org>
8529 * aspell.C: add new aspell support
8532 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8535 2003-03-25 Angus Leeming <leeming@lyx.org>
8538 * LyXAction.C (init): new LFUN_INSET_INSERT.
8540 * BufferView_pimpl.C (dispatch): split out part of the
8541 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8543 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8546 2003-03-25 Angus Leeming <leeming@lyx.org>
8548 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8550 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8553 * text3.C: remove useless row->height(0)
8555 2003-03-25 John Levon <levon@movementarian.org>
8559 * text3.C: rename the refreshing stuff to better names
8561 2003-03-24 John Levon <levon@movementarian.org>
8563 * BufferView_pimpl.h:
8564 * BufferView_pimpl.C: update layout choice on a mouse
8567 2003-03-23 John Levon <levon@movementarian.org>
8569 * Makefile.am: fix commandtags.h reference
8571 2003-03-22 John Levon <levon@movementarian.org>
8573 * BufferView_pimpl.C:
8578 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8580 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8583 * text.C: take the rtl methods out of line
8585 2003-03-21 André Pönitz <poenitz@gmx.net>
8587 * metricsinfo.[Ch]: new files containing structures to be passed around
8588 during the two-phase-drawing...
8590 2003-03-21 André Pönitz <poenitz@gmx.net>
8592 * lyxtextclass.C: read 'environment' tag.
8594 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8596 * text2.C (removeRow): fix bug 964
8598 2003-03-20 John Levon <levon@movementarian.org>
8602 * text2.C: paint cleanups. Inset::update() dropped font
8605 2003-03-19 John Levon <levon@movementarian.org>
8607 * lyxfunc.C: only fitcursor/markDirty if available()
8609 2003-03-19 John Levon <levon@movementarian.org>
8611 * commandtags.h: rename to ...
8613 * lfuns.h: ... this, and renumber / cleanup
8615 2003-03-19 John Levon <levon@movementarian.org>
8617 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8618 fit the cursor after an lfun
8622 * BufferView_pimpl.h:
8623 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8625 * LyXAction.C: layout-character should have ReadOnly
8627 * ParagraphParameters.C:
8629 * bufferview_funcs.C:
8636 * undo_funcs.C: changes from above
8638 2003-03-18 John Levon <levon@movementarian.org>
8640 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8641 remove it from update()
8643 * lyxfunc.C: update layout choice after an lfun
8645 * text3.C: remove extra updateLayoutChoice()s
8647 2003-03-18 John Levon <levon@movementarian.org>
8649 * text.C: top_y change means full repaint, fix
8650 a drawing bug with cursor movement
8652 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8656 * text2.C: anchor row on setCursor
8658 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8660 * lyxtext.h: remove almost all mutable keywords
8663 * text3.C: remove const keywords accordingly
8665 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8667 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8669 (TeXEnvironment): ditto
8672 2003-03-17 John Levon <levon@movementarian.org>
8674 * text.C (rowBreakPoint): remove attempt to fix displayed
8675 math insets inside a manual label
8677 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8679 * lyxtext.h: remove BufferView* as first arg from almost all class
8681 * other files: adjust.
8683 2003-03-17 John Levon <levon@movementarian.org>
8687 * text2.C: more paint cleanups
8689 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8692 * rowpainter.C: remove "smart" background painting code
8694 2003-03-16 John Levon <levon@movementarian.org>
8699 * text3.C: add helper functions for setting refresh_row/y
8701 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8703 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8704 newline inset which *can* get inserted in the pass_thru layouts.
8705 This is primarily for literate documents.
8707 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8709 * buffer.C: increment LYX_FORMAT to 223
8711 2003-03-14 André Pönitz <poenitz@gmx.net>
8713 * textclass.h: prepare for environment handling, ws changes
8714 * lyxlayout.C: read latexheader and latexfooter tags
8716 2003-03-14 John Levon <levon@movementarian.org>
8718 * text2.C: rewrite ::status() a bit
8720 2003-03-13 John Levon <levon@movementarian.org>
8722 * lyxtext.h: add some docs
8724 2003-03-13 John Levon <levon@movementarian.org>
8729 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8731 2003-03-13 John Levon <levon@movementarian.org>
8733 * text3.C: fix appendix redrawing
8735 2003-03-13 John Levon <levon@movementarian.org>
8737 * text.C (setHeightOfRow):
8739 * rowpainter.C: make appendix mark have the text
8740 "Appendix" so the user knows what it is
8743 * LColor.C: s/appendixline/appendix/ from above
8745 2003-03-13 John Levon <levon@movementarian.org>
8747 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8749 * text.C: fix a getChar(pos) bug properly
8751 2003-03-13 Angus Leeming <leeming@lyx.org>
8754 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8755 Probably only temporary. Let's see how things pan out.
8757 * BufferView.C (unlockInset):
8758 * BufferView_pimpl.C (fitCursor):
8759 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8761 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8762 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8764 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8765 new functions that convert ParagraphParameters to and from a string.
8767 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8768 BufferView::Pimpl's dispatch.
8769 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8771 2003-03-13 André Pönitz <poenitz@gmx.net>
8775 * factory.C: make it aware of InsetEnv
8777 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8779 * text2.C (setCursor): never ask for one past last
8780 (setCursor): add some debugging messages.
8782 * text.C (singleWidth): never ask for one past last
8783 (singleWidth): ditto
8785 (rightMargin): ditto
8786 (rowBreakPoint): ditto
8787 (setHeightOfRow): ditto
8788 (prepareToPrint): ditto
8790 * rowpainter.C (paintBackground): never ask for one past last
8791 (paintText): never ask for one past last
8793 * paragraph_pimpl.C (getChar): make the assert stricter, never
8794 allow the one past last pos to be taken
8796 * paragraph.C (getChar): ws changes only
8798 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8799 (numberOfSeparators): ditto
8800 (numberOfHfills): ditto
8802 2003-03-12 John Levon <levon@movementarian.org>
8808 * paragraph_funcs.C: fix per-buffer authorlists
8810 2003-03-12 John Levon <levon@movementarian.org>
8812 * text.C: fix newline in right address
8814 2003-03-12 Angus Leeming <leeming@lyx.org>
8816 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8817 duplicate those in LyXFunc::dispatch.
8821 * ToolbarDefaults.C:
8822 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8823 Add LFUN_FONTFREE_UPDATE.
8825 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8826 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8828 * bufferview_func.[Ch]: several new functions to facilliate
8829 transfer of data to and from the character dialog.
8831 2003-03-12 John Levon <levon@movementarian.org>
8836 * paragraph_funcs.C:
8837 * paragraph_pimpl.C:
8841 * text3.C: remove META_NEWLINE in favour of an inset
8844 * rowpainter.C: remove paintNewline (done by inset)
8846 2003-03-12 John Levon <levon@movementarian.org>
8848 * paragraph_pimpl.C: complain about bad getChar()s
8849 for a while at least
8851 2003-03-12 John Levon <levon@movementarian.org>
8854 * buffer.C: move paragraph read into a separate function,
8855 a little renaming to reflect that.
8858 * bufferparams.C: remove the author_ids map, not necessary now
8861 * factory.C: moved Buffer::readInset to here
8863 * paragraph_funcs.h:
8864 * paragraph_funcs.C: readParagraph free function moved from
8867 * tabular.C: name change
8869 2003-03-12 John Levon <levon@movementarian.org>
8872 * ParagraphParameters.C: move par params input to
8875 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8876 behave like a normal read from the stream wrt reading
8877 a line vs. a \\token
8879 2003-03-12 John Levon <levon@movementarian.org>
8882 * ParagraphParameters.h:
8883 * ParagraphParameters.C: move output code to a
8886 2003-03-12 John Levon <levon@movementarian.org>
8888 * BufferView.C (insertLyXFile):
8891 * tabular.C: use a parlist iterator for creating the
8894 2003-03-12 John Levon <levon@movementarian.org>
8896 * buffer.C: make current_change static local not
8899 2003-03-12 John Levon <levon@movementarian.org>
8901 * buffer.C: fix insertStringAsLines for change tracking
8903 2003-03-12 John Levon <levon@movementarian.org>
8910 * bufferparams.C: move author list into params. Rename some
8911 functions. Move the header reading into a separate token
8912 loop. Move the header token reading into BufferParams.
8914 2003-03-12 John Levon <levon@movementarian.org>
8916 * changes.C: put debug inside lyxerr.debugging() checks
8918 2003-03-11 André Pönitz <poenitz@gmx.net>
8920 * factory.C: make it aware of InsetHFill
8922 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * buffer.C (latexParagraphs): move function from here...
8925 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8928 2003-03-10 Angus Leeming <leeming@lyx.org>
8930 * LyXAction.C (init): fix bug in poplating array with multiple entries
8931 with the same LFUN (spotted by JMarc).
8933 2003-03-10 John Levon <levon@movementarian.org>
8936 * text2.C: move getColumnNearX() near its
8939 2003-03-10 John Levon <levon@movementarian.org>
8941 * text.C: fix break before a minipage
8943 2003-03-10 John Levon <levon@movementarian.org>
8945 * text.C: fix the last commit
8947 2003-03-09 John Levon <levon@movementarian.org>
8951 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8952 bug 365 (don't break before insets unless needed). Don't
8953 return a value > last under any circumstances.
8955 2003-03-09 Angus Leeming <leeming@lyx.org>
8957 * BufferView_pimpl.C (trackChanges, dispatch): call
8958 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8960 2003-03-09 Angus Leeming <leeming@lyx.org>
8962 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8963 than Dialogs::showAboutlyx().
8965 2003-03-09 Angus Leeming <leeming@lyx.org>
8967 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8968 than Dialogs::showTabularCreate().
8970 2003-03-09 John Levon <levon@movementarian.org>
8974 * text2.C: 3rd arg to nextBreakPoint was always the same.
8977 2003-03-08 John Levon <levon@movementarian.org>
8984 * text2.C: Remove the "main" bit from the "main body"
8987 2003-03-08 John Levon <levon@movementarian.org>
8989 * text.C (leftMargin): The left margin of an empty
8990 manual label paragraph should not include the label width
8993 * text.C (prepareToPrint): don't attempt to measure hfills
8994 for empty manual label paragraphs - the answer should be 0
8996 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8998 * CutAndPaste.C: remove commented code and reindent.
9000 2003-03-08 John Levon <levon@movementarian.org>
9003 * lyxfunc.C: move reloadBuffer()
9006 * BufferView.C: to here
9008 * lyxvc.C: add comment
9011 * vc-backend.C: call bv->reload() to avoid
9012 getStatus() check on MENURELOAD
9014 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9016 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9017 to an old format .dep file.
9019 2003-03-07 Angus Leeming <leeming@lyx.org>
9021 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9022 when the LFUN_MOUSE_RELEASE should have been handled by
9023 inset->localDispatch.
9025 2003-03-07 Angus Leeming <leeming@lyx.org>
9027 * BufferView_pimpl.C (dispatch):
9028 * LyXAction.C (init):
9029 * ToolbarDefaults.C (init):
9031 * lyxfunc.C (getStatus):
9032 remove LFUN_INSET_GRAPHICS.
9034 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9036 2003-03-07 Angus Leeming <leeming@lyx.org>
9039 * LyXAction.C (init):
9040 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9042 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9045 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9047 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9048 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9050 2003-03-07 Angus Leeming <leeming@lyx.org>
9052 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9055 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9057 * ParagraphList.C (front): new function
9060 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9062 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9063 and top_row_offset_. removed var first_y.
9065 * text2.C (LyXText, removeRow):
9067 * BufferView_pimpl.C:
9068 use these methods instead of using first_y
9070 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9072 * text2.C (pasteSelection): adjust for checkPastePossible
9074 * CutAndPaste.C: remove Paragraph * buf and replace with
9075 ParagraphList paragraphs.
9076 (DeleteBuffer): delete
9077 (cutSelection): change the tc type to textclass_type
9078 (copySelection): change the tc type to textclass_type
9079 (copySelection): adjust for ParagraphList
9080 (pasteSelection): change the tc type to textclass_type
9081 (pasteSelection): adjust for Paragraphlist
9082 (nrOfParagraphs): simplify for ParagraphList
9083 (checkPastePossible): simplify for ParagraphList
9084 (checkPastePossible): remove unused arg
9086 * ParagraphList.C (insert): handle the case where there are no
9089 * CutAndPaste.h: make CutAndPaste a namespace.
9091 * text3.C (dispatch): adjust
9093 * text.C (breakParagraph): add a ParagraphList as arg
9095 * paragraph_funcs.C (breakParagraph): change to take a
9096 BufferParams and a ParagraphList as args.
9097 (breakParagraphConservative): ditto
9098 (mergeParagraph): ditto
9099 (TeXDeeper): add a ParagraphList arg
9100 (TeXEnvironment): ditto
9103 * buffer.C (readLyXformat2): adjust
9104 (insertStringAsLines): adjust
9105 (latexParagraphs): adjust
9107 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9108 (cutSelection): adjust
9109 (pasteSelection): adjust
9111 * BufferView_pimpl.C (insertInset): adjust
9113 2003-03-05 Angus Leeming <leeming@lyx.org>
9116 * LyXAction.C (init):
9117 * BufferView_pimpl.C (dispatch):
9118 * lyxfunc.C (getStatus):
9119 remove LFUN_CHILD_INSERT.
9121 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9123 2003-03-05 Angus Leeming <leeming@lyx.org>
9126 * LyXAction.C (init):
9127 * src/factory.C (createInset):
9128 * lyxfunc.C (getStatus):
9129 * text3.C (dispatch):
9130 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9132 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9134 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9136 * ParagraphList.C (insert): handle insert right before end()
9137 (erase): fix cases where it can be first or last paragraph.
9139 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9141 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9142 Paragraph::next and Paragraph::previous
9145 * text.C (breakParagraph): adjust
9147 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9148 BufferParams& as arg.
9149 (breakParagraph): use ParagraphList::insert
9150 (breakParagraphConservative): take a Buffer* instead of a
9151 BufferParams& as arg.
9152 (breakParagraphConservative): use ParagraphList::insert.
9154 * buffer.C (insertStringAsLines): un-const it
9155 (insertStringAsLines): adjust
9157 * ParagraphList.C (insert): new function
9159 * CutAndPaste.C (pasteSelection): adjust
9161 * text.C (backspace): adjust
9163 * tabular.C (SetMultiColumn): adjust
9165 * CutAndPaste.C (cutSelection): adjust
9166 (pasteSelection): adjust
9168 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9169 Buffer const * as arg
9171 * ParagraphList.C (erase): new function
9172 * paragraph_funcs.C (mergeParagraph): use it
9173 (mergeParagraph): make it take a Buffer* instead of a
9174 BufferParams* as arg
9176 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9178 (breakParagraphConservative): ditto
9180 * paragraph.h: remove the breakParagraph friend
9182 * paragraph.C (eraseIntern): new function
9183 (setChange): new function
9185 * paragraph_funcs.C (mergeParagraph): make it take a
9186 ParagraphList::iterator instead of a Paragraph *, adjust
9189 * paragraph.h: move an #endif so that the change tracking stuff
9190 also works in the NO_NEXT case.
9192 2003-03-04 Angus Leeming <leeming@lyx.org>
9195 * LyXAction.C: new LFUN_INSET_MODIFY.
9197 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9198 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9200 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9202 * several files: ws changes only
9204 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9205 (TeXEnvironment): ditto
9208 * buffer.C (makeLaTeXFile): adjust
9209 (latexParagraphs): make it take ParagraphList::iterator as args
9211 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9213 * buffer.C (latexParagraphs): adjust
9215 * paragraph.C (TeXOnePar): move function...
9216 (optArgInset): move function...
9217 (TeXEnvironment): move function...
9218 * paragraph_pimpl.C (TeXDeeper): move function...
9219 * paragraph_funcs.C: ...here
9221 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9223 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9225 * buffer.C (readInset): remove compability code for old Figure and
9228 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9230 * buffer.C: ws changes
9233 * BufferView_pimpl.C: ditto
9236 * bufferlist.h: ditto
9240 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9242 * converter.[Ch]: split into itself +
9245 * Makefile.am: += graph.[Ch] + format.[Ch]
9252 * lyxrc.C: added #include "format.h"
9254 2003-02-27 Angus Leeming <leeming@lyx.org>
9256 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9259 * factory.C (createInset): add "label" to the factory.
9261 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9262 string and do no more.
9264 2003-02-27 Angus Leeming <leeming@lyx.org>
9267 * LyXAction.C (init):
9268 * factory.C (createInset):
9269 * BufferView_pimpl.C (dispatch):
9270 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9272 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9274 * lyxfunc.C (dispatch):
9275 * text3.C (dispatch): pass name to params2string.
9277 2003-02-26 Angus Leeming <leeming@lyx.org>
9279 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9281 Rearrange the ~includes. Strip out the unnecessary ones.
9283 * factory.C (createInset): reformat.
9284 create new insets for the various LFUN_XYZ_APPLY lfuns.
9286 2003-02-26 John Levon <levon@movementarian.org>
9289 * lyxrow.C: add isParStart,isParEnd helpers
9291 * paragraph.h: make isInserted/DeletedText take refs
9293 * paragraph_funcs.h:
9294 * paragraph_funcs.C: remove #if 0'd code
9299 * text.C: use lyxrow helpers above.
9300 Move draw and paint routines to RowPainter.
9301 Make several methods use refs not pointers.
9302 Make backgroundColor() const.
9303 Add markChangeInDraw(), isInInset().
9304 Merge changeRegionCase into changeCase.
9305 Make workWidth() shouldn't-happen code into an Assert.
9308 * rowpainter.C: new class for painting a row.
9311 * vspace.C: make inPixels take a ref
9313 2003-02-26 Angus Leeming <leeming@lyx.org>
9315 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9318 2003-02-25 John Levon <levon@movementarian.org>
9320 * ispell.C: give the forked command a more accurate name
9322 2003-02-22 John Levon <levon@movementarian.org>
9325 * toc.C: make TocItem store an id not a Paragraph *
9328 2003-02-21 Angus Leeming <leeming@lyx.org>
9330 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9331 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9332 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9333 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9334 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9335 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9337 * BufferView_pimpl.C (dispatch):
9338 * LyXAction.C (init):
9339 * factory.C (createInset):
9340 * lyxfunc.C (getStatus, dispatch):
9341 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9343 2003-02-21 Angus Leeming <leeming@lyx.org>
9345 * BufferView_pimpl.C (MenuInsertLyXFile):
9346 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9347 * lyxfunc.C (menuNew, open, doImport):
9348 no longer pass a LyXView & to fileDlg.
9350 2003-02-21 Angus Leeming <leeming@lyx.org>
9352 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9353 * LyXAction.C: change, BIBKEY to BIBITEM.
9354 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9355 Change InsetBibKey to InsetBibitem.
9356 Change BIBKEY_CODE to BIBITEM_CODE.
9357 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9358 * factory.C: replace insetbib.h with insetbibitem.h.
9359 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9360 * paragraph.C: replace insetbib.h with insetbibitem.h.
9361 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9362 Change bibkey() to bibitem().
9363 * text.C: remove insetbib.h.
9364 * text2.C: replace insetbib.h with insetbibitem.h.
9365 change bibkey() to bibitem().
9366 * text3.C: remove insetbib.h.
9367 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9369 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9371 * lyxrc.C (output): enclose user email in quotes (in case there are
9374 2003-02-18 John Levon <levon@movementarian.org>
9376 * buffer.h: add std::
9378 2003-02-17 John Levon <levon@movementarian.org>
9384 * pspell.C: reworking. Especially in ispell, a large
9385 number of clean ups and bug fixes.
9387 * lyxfunc.C: fix revert to behave sensibly
9389 2003-02-17 André Pönitz <poenitz@gmx.net>
9392 * commandtags.h: new LFUN_INSERT_BIBKEY
9402 * paragraph_func.C: remove special bibkey handling
9404 2003-02-17 John Levon <levon@movementarian.org>
9406 * text.C (Delete): fix case where delete at the end of
9407 the very first paragraph would not merge the pars
9409 2003-02-17 John Levon <levon@movementarian.org>
9411 * lyxrow.C: fix lastPrintablePos()
9413 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9415 * bufferparams.C (writeLaTeX): add a std:here
9417 * buffer.C: and remove a using directive there
9419 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9421 * buffer.C (makeLaTeXFile): move the code that generates the
9424 * bufferparams.C (writeLaTeX): ... in this new method
9426 * LaTeXFeatures.C (getEncodingSet): make const
9427 (getLanguages): make const
9429 * MenuBackend.C (binding): returns the binding associated to this
9431 (add): sets the status of each item by calling getStatus. Adds
9433 (read): add support for OptSubMenu
9434 (expand): remove extra separator at the end of expanded menu
9436 2003-02-15 John Levon <levon@movementarian.org>
9439 * BufferView_pimpl.C:
9441 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9442 inset code that had no actual effect. Remove unneeded status
9445 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9447 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9450 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9452 * text.C (drawLengthMarker): also draw an arrow marker for
9453 symbolic lengths (medskip...)
9455 2003-02-14 John Levon <levon@movementarian.org>
9458 * tabular.C: better method names
9460 2003-02-14 John Levon <levon@movementarian.org>
9462 * BufferView_pimpl.C:
9467 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9468 it's a more accurate name. Remove some pointless uses.
9470 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9472 * text2.C (LyXText): change order of initilizers to shut off
9475 2003-02-14 John Levon <levon@movementarian.org>
9477 * buffer.C: use ParIterator for getParFromID()
9481 * paragraph_pimpl.h:
9482 * paragraph_pimpl.C: remove unused getParFromID()
9484 2003-02-14 John Levon <levon@movementarian.org>
9486 * buffer.C: remove some very old #if 0'd parse code
9488 2003-02-13 John Levon <levon@movementarian.org>
9492 * text2.C: move hfillExpansion(), numberOfSeparators(),
9493 rowLast(), rowLastPrintable(), numberofHfills(),
9494 numberOfLabelHfills() ...
9497 * lyxrow.C: ... to member functions here.
9502 * text.C: remove LyXText::beginningOfMainBody(), and call
9503 p->beginningOfMainBody() directly. Move the check for
9504 LABEL_MANUAL into the latter.
9511 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9517 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9518 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9520 2003-02-13 John Levon <levon@movementarian.org>
9522 * CutAndPaste.C: remove debug
9524 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9526 * paragraph.C (asString): remove two unused variables
9528 * lyxtextclass.C (readTitleType):
9530 (LyXTextClass): handle new members titletype_ and titlename_
9532 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9534 2003-02-09 John Levon <levon@movementarian.org>
9537 * buffer.C: replace hand-coded list with a map for the dep clean
9539 2003-02-08 John Levon <levon@movementarian.org>
9541 * LaTeX.C: consolidate code into showRunMessage() helper
9543 2003-02-08 John Levon <levon@movementarian.org>
9548 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9549 and pass the size in explicitly
9551 * BufferView_pimpl.h:
9552 * BufferView_pimpl.C:
9554 * BufferView.C: add getCurrentChange()
9556 * BufferView_pimpl.h:
9557 * BufferView_pimpl.C: handle change lfuns
9559 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9560 for changes. Mark pasted paragraphs as new.
9562 * support/lyxtime.h:
9563 * support/lyxtime.C:
9564 * DepTable.C: abstract time_t as lyx::time_type
9567 * LColor.C: add colours for new text, deleted text, changebars
9569 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9570 package use "usenames" option.
9574 * LyXAction.C: add change lfuns
9578 * author.C: author handling
9581 * buffer.C: add a per-buffer author list, with first entry as
9582 current author. Handle new .lyx tokens for change tracking. Output
9583 author list to .lyx file. Output dvipost stuff to .tex preamble.
9584 Bump lyx format to 222.
9587 * bufferlist.C: add setCurrentAuthor() to reset current author details
9591 * bufferparams.C: add param for tracking
9593 * bufferview_funcs.C: output change info in minibuffer
9597 * changes.C: add change-tracking structure
9600 * debug.C: add CHANGES debug flag
9603 * lyxfind.C: add code for finding the next change piece
9606 * lyxrc.C: add user_name and user_email
9609 * lyxrow.C: add a metric for the top of the text line
9612 * text.C: implement accept/rejectChange()
9615 * text.C: paint changebars. Paint new/deleted text in the chosen
9616 colours. Strike through deleted text.
9620 * paragraph_pimpl.h:
9621 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9622 in the current change to the insert functions. Rework erase to
9623 mark text as deleted, adding an eraseIntern() and a range-based
9624 erase(). Implement per-paragraph change lookup and
9627 * paragraph_funcs.C: Fixup paste for change tracking.
9629 * tabular.C: mark added row/columns as new.
9631 * text.C: fix rowLast() to never return -1. Don't allow
9632 spellchecking of deleted text. Track transpose changes. Don't
9633 allow paragraph break or merge where appropriate.
9635 * text2.C: leave cursor at end of selection after a cut.
9637 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9639 * text.C (getLengthMarkerHeight):
9640 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9641 visible on screen too.
9643 2003-02-07 John Levon <levon@movementarian.org>
9645 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9647 2003-02-05 Angus Leeming <leeming@lyx.org>
9649 * lyxserver.C (read_ready): revert my patch of 11 September last year
9650 as it sends PC cpu through the roof. Presumably this means that
9651 the lyxserver will no longer run on an Alpha...
9653 2003-01-30 Angus Leeming <leeming@lyx.org>
9655 * factory.C (createInset): create an InsetCommandParam of type "index"
9656 and use it to 'do the right thing'.
9658 * text2.C (getStringToIndex): ensure that cursor position is always
9659 reset to the reset_cursor position.
9661 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9663 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9666 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9670 * lyxfunc.C: Output messages with identical spelling, punctuation,
9673 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9675 * MenuBackend.C (expandFormats): List only viewable export formats
9678 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9681 * lyxfunc.C (getStatus): Make sure that formats other than
9682 "fax" can also be disabled
9684 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9686 * text3.C (dispatch): put the lfuns that insert insets in 3
9687 groups, and call doInsertInset with appropriate arguments.
9688 (doInsertInset): new function, that creates an inset and inserts
9689 it according to some boolean parameters.
9691 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9693 * buffer.C (readFile): remember to pass on 'par' when calling
9694 readFile recursively.
9696 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9698 * MenuBackend.C (expandFormats): add "..." to import formats.
9700 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9702 * paragraph.C (asString): Remove XForms RTL hacks.
9704 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9705 * buffer.C: fix typo
9707 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9709 * Makefile.am (LIBS): delete var
9710 (lyx_LDADD): add @LIBS@ here instead.
9712 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9714 * Clarify the meaning of "wheel mouse jump"
9716 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9718 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9721 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9723 * importer.C (Loaders): do not preallocate 3 elements in the
9724 vector, since one ends up with 6 elements otherwise
9726 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9728 * DepTable.C (write): write the file name as last element of the
9729 .dep file (because it may contain spaces)
9730 (read): read info in the right order
9732 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9734 * paragraph_pimpl.C (simpleTeXBlanks):
9735 (simpleTeXSpecialChars):
9736 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9738 * tabular.C (latex): add some missing case statements. Reindent.
9740 * MenuBackend.C (expandToc): remove unused variable.
9742 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9751 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9754 2003-01-05 John Levon <levon@movementarian.org>
9757 * BufferView.C: add getEncoding()
9760 * kbsequence.C: do not store last keypress
9763 * lyxfunc.C: store last keypress here instead. Pass encoding
9766 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9768 * lyx_main.C (init): remove annoying error message when following
9769 symbolic links (bug #780)
9771 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9773 * text.C (insertChar):
9774 * lyxrc.C (getDescription): remove extra spaces
9776 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9778 * lyxrc.C (getDescription): remove extra spaces
9780 2002-12-20 John Levon <levon@movementarian.org>
9782 * text3.C: hack fix for page up/down across tall rows
9784 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9786 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9789 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9791 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9792 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9793 thesaurus is not compiled in
9795 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9797 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9799 2002-12-16 Angus Leeming <leeming@lyx.org>
9802 * lyx_main.C (init): remove override_x_deadkeys stuff.
9804 2002-12-12 John Levon <levon@movementarian.org>
9806 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9807 insert. Only remove shift modifier under strict
9810 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9812 * MenuBackend.C (expandToc): fix crash.
9814 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9816 * MenuBackend.C (expandToc): gettext on float names.
9818 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9820 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9821 implement bool empty() [bug 490]
9823 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9825 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9827 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9829 * several files: ws changes
9831 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9833 * text2.C (setCounter): clean up a bit, use boost.format.
9834 (updateCounters): initialize par upon declaration.
9836 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9837 if the layout exists. We do not just store the layout any more.
9838 (SwitchLayoutsBetweenClasses): use boost.format
9840 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9842 * converter.C (convert): if from and to files are the same, use a
9843 temporary files as intermediary
9845 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9848 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9850 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9852 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9854 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9856 * tabular.C (asciiPrintCell): use string(size, char) instead of
9859 * sgml.C (openTag): fix order of arguments to string constructor
9862 * lyxfunc.C (dispatch): use boost.format
9864 * lots of files: change "c" -> 'c'
9866 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9868 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9870 2002-11-25 Angus Leeming <leeming@lyx.org>
9872 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9874 * lyx_main.C (init): compile fix.
9876 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9878 * lyx_cb.C (start): boost.formatify
9879 do not include <iostream>
9881 * lengthcommon.C: ws only
9883 * boost-inst.C,BoostFormat.h: add more explict instantations
9885 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9887 * lots of files: handle USE_BOOST_FORMAT
9889 2002-11-21 John Levon <levon@movementarian.org>
9891 * pspell.C: fix compile
9893 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9895 * lyxfunc.C (dispatch): use boost::format
9899 * lyxfont.C (stateText): use boost::format
9901 * lyx_main.C (LyX): use boost::format
9903 (queryUserLyXDir): ditto
9906 (typedef boost::function): use the recommened syntax.
9908 * importer.C (Import): use boost::format
9910 * debug.C (showLevel): use boost::format
9912 * converter.C (view): use boost::format
9917 * bufferview_funcs.C (currentState): use boost::format
9919 * bufferlist.C (emergencyWrite): use boost::format
9921 * buffer.C (readLyXformat2): use boost::format
9922 (parseSingleLyXformat2Token): ditto
9924 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9926 * LaTeX.C (run): use boost::format
9928 * Chktex.C (scanLogFile): use boost::format
9930 * BufferView_pimpl.C (savePosition): use boost::format
9931 (restorePosition): ditto
9932 (MenuInsertLyXFile): ditto
9934 * BoostFormat.h: help file for explicit instation.
9936 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9938 * tabular.C (latex): Support for block alignment in fixed width
9941 2002-11-17 John Levon <levon@movementarian.org>
9943 * BufferView_pimpl.C:
9945 * lyxfunc.C: split filedialog into open/save
9947 2002-11-08 Juergen Vigna <jug@sad.it>
9949 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9950 by my last patch (hopefully).
9952 2002-11-08 John Levon <levon@movementarian.org>
9961 * toc.C: ParConstIterator, and use it (from Lars)
9963 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9965 * lyxtextclass.[Ch]: revise and add doxygen comments
9967 2002-11-07 John Levon <levon@movementarian.org>
9969 * text.C: fix progress value for spellchecker
9971 * toc.C: fix navigate menu for insetwrap inside minipage
9973 * paragraph_funcs.C: added FIXME for suspect code
9975 2002-11-07 John Levon <levon@movementarian.org>
9977 * BufferView_pimpl.C: fix redrawing of insets
9980 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9982 * text2.C (updateCounters): fix bug 668
9984 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9986 * text3.C (dispatch): Do not make the buffer dirty when moving the
9989 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9991 * vc-backend.C: STRCONV
9994 * text2.C (setCounter): STRCONV
9996 * paragraph.C (asString): STRCONV
9998 * lyxlength.C (asString): STRCONV
9999 (asLatexString): ditto
10001 * lyxgluelength.C (asString): STRCONV
10002 (asLatexString): ditto
10004 * lyxfunc.C (dispatch): STRCONV
10007 * lyxfont.C (stateText): STRCONV
10009 * importer.C (Import): STRCONV
10011 * counters.C (labelItem): STRCONV
10012 (numberLabel): ditto
10013 (numberLabel): remove unused ostringstream o
10018 * bufferview_funcs.C (currentState): STRCONV
10020 * buffer.C (readFile): STRCONV
10021 (asciiParagraph): ditto
10022 (makeLaTeXFile): ditto
10024 * Spacing.C (writeEnvirBegin): STRCONV
10026 * LaTeXFeatures.C (getLanguages): STRCONV
10027 (getPackages): ditto
10029 (getBabelOptions): ditto
10030 (getTClassPreamble): ditto
10031 (getLyXSGMLEntities): ditto
10032 (getIncludedFiles): ditto
10036 (scanAuxFile): ditto
10039 * LString.h: add the STRCONV macros
10041 * BufferView_pimpl.C (savePosition): STRCONV
10042 (restorePosition): ditto
10043 (MenuInsertLyXFile): ditto
10045 * vc-backend.C (scanMaster): change from submatch[...] to
10048 * funcrequest.C: include config.h
10050 * factory.C: include config.h
10052 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10054 * box.C: include config.h
10056 * LaTeX.C (scanAuxFile): change from submatch[...] to
10060 2002-10-25 Angus Leeming <leeming@lyx.org>
10062 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10064 * ispell.[Ch] (setError): new method.
10065 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10066 Use setError() insetead of goto END.
10068 * lyx_cb.C (AutoSave): move out child process into new class
10071 2002-10-30 John Levon <levon@movementarian.org>
10073 * text3.C: make start appendix undoable
10075 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10077 * lyxlength.C (inPixels): Fix returned value.
10079 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10082 2002-10-24 Angus Leeming <leeming@lyx.org>
10084 * lyxgluelength.h: no need to forward declare BufferParams
10085 or BufferView, so don't.
10087 2002-10-21 John Levon <levon@movementarian.org>
10089 * BufferView.C: menuUndo ->undo, redo
10091 * BufferView.h: document, remove dead, make some methods private
10093 * paragraph_funcs.h:
10094 * paragraph_funcs.C:
10095 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10100 * sgml.C: move sgml open/close tag into sgml.C
10102 * bufferview_funcs.h: unused prototype
10105 * lyxfunc.C: remove unused
10108 * text.C: remove unused
10110 2002-10-21 John Levon <levon@movementarian.org>
10114 * BufferView_pimpl.h:
10115 * BufferView_pimpl.C: fix mouse wheel handling based on
10116 patch from Darren Freeman
10118 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10120 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10122 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10124 * lyxlength.C (inPixels): Fix hanfling of negative length.
10125 Fix LyXLength::MU case.
10127 2002-10-16 John Levon <levon@movementarian.org>
10129 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10131 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10133 * converter.C (view): add support for $$i (file name) and $$p
10134 (file path) for the viewer command. If $$i is not specified, then
10135 it is appended to the command (for compatibility with old syntax)
10137 2002-10-14 Juergen Vigna <jug@sad.it>
10139 * undo_funcs.C (textHandleUndo): alter the order in which the
10140 new undopar is added to the LyXText, as we have to set first
10141 the right prev/next and then add it as otherwise the rebuild of
10142 LyXText is not correct. Also reset the cursor to the right paragraph,
10143 with this IMO we could remove the hack in "redoParagraphs()".
10145 2002-10-09 Angus Leeming <leeming@lyx.org>
10147 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10148 to turn off an optimisation if a new inset is to be inserted.
10150 2002-10-11 André Pönitz <poenitz@gmx.net>
10152 * lyxtext.h: make some functions public to allow access
10153 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10155 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10157 * text3.C (dispatch): when changing layout, avoid an infinite loop
10160 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10162 * lyxrc.C (read): treat a viewer or converter command of "none" as
10165 * MenuBackend.C (expandFormats): for an update, also allow the
10166 formats that are not viewable
10168 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10169 script if it is newer than the lyxrc.defaults in user directory
10171 2002-10-07 André Pönitz <poenitz@gmx.net>
10173 * text.C: Vitaly Lipatov's small i18n fix
10175 2002-09-25 Angus Leeming <leeming@lyx.org>
10177 * ispell.h: doxygen fix.
10179 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10181 * buffer.h (readFile): Add a new argument to the method, to allow
10182 reading of old-format templates.
10184 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10186 * toc.C (getTocList): Get TOC from InsetWrap.
10188 2002-09-16 John Levon <levon@movementarian.org>
10190 * lyxfunc.C: check tabular for cut/copy too
10192 2002-09-12 John Levon <levon@movementarian.org>
10194 * LyXAction.C: tidy
10197 * factory.C: add header
10199 * paragraph_funcs.h:
10200 * paragraph_funcs.C: cleanup
10202 2002-09-11 John Levon <levon@movementarian.org>
10204 * PrinterParams.h: odd/even default to true
10206 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10208 * PrinterParams.h: update printer parameters for new xforms dialog
10210 2002-09-11 Angus Leeming <leeming@lyx.org>
10212 * lyxserver.C (read_ready): re-write to make it more transparent
10213 and to make it work in coherent fashion under Tru64 Unix.
10215 2002-09-11 André Pönitz <poenitz@gmx.net>
10219 * text3.C: implement LFUN_WORDSEL
10221 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10223 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10224 make floatlist_ a boost::shared_ptr<FloatList>
10226 * lyxtextclass.C: include FloatList.h
10227 (LyXTextClass): initialize floatlist_
10228 (TextClassTags): add TC_NOFLOAT
10229 (Read): match "nofloat" to TC_NOFLOAT and use it.
10230 (readFloat): modify call to floatlist_
10234 * FloatList.[Ch] (FloatList): remove commented out float
10236 (erase): new function
10238 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10240 * MenuBackend.C (expandToc): fix crash when there is no document
10243 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10245 * many files: Add insetwrap.
10247 2002-09-09 John Levon <levon@movementarian.org>
10249 * text2.C: remove confusing and awkward depth wraparound
10251 2002-09-09 John Levon <levon@movementarian.org>
10253 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10256 * buffer.C: remove getIncludeonlyList()
10259 * lyxfunc.C: remove headers
10261 2002-09-09 Juergen Vigna <jug@sad.it>
10263 * text.C (getColumnNearX): fix form Michael this is most
10264 probably a cut&paste bug.
10266 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10268 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10270 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10271 references, ws changes.
10273 * text2.C (init): update counters after init
10274 (insertParagraph): no need to set counter on idividual paragraphs.
10275 (setCounter): access the counters object in the textclass object
10276 on in the buffer object.
10277 (updateCounters): ditto
10279 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10280 shared_ptr<Counters> to avoid loading counters.h in all
10282 (LyXTextClass): initialize ctrs_
10283 (TextClassTags): add TC_COUNTER, and ...
10284 (Read): use it here.
10285 (CounterTags): new tags
10286 (readCounter): new function
10287 (counters): new funtion
10288 (defaultLayoutName): return a const reference
10290 * counters.C (Counters): remove contructor
10291 (newCounter): remove a couple of unneeded statements.
10292 (newCounter): simplify a bit.
10293 (numberLabel): some small formatting changes.
10295 * buffer.[Ch]: remove all traces of counters, move the Counters
10296 object to the LyXTextClass.
10298 2002-09-06 Alain Castera <castera@in2p3.fr>
10300 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10301 package to set the horizontal alignment on fixed width columns.
10304 * lyx_sty.h: added tabularnewline macro def.
10306 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10308 2002-09-06 John Levon <levon@movementarian.org>
10310 * LyXAction.C: tooltips for sub/superscript
10312 * MenuBackend.C: a bit more verbose
10314 * lyxfunc.C: tiny clean
10316 * undo_funcs.C: document undo_frozen
10318 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10320 * counters.C (Counters): add missing algorithm counter.
10322 * text2.C (setCounter): lookup the counter with layouts latexname
10323 instead of by section number.
10324 (setCounter): use a hackish way to lookup the correct enum
10326 a float name->type change
10327 reset enum couners with counter name directly instead of depth value.
10329 * counters.C (Counters): remove the push_backs, change to use the
10330 float type not the float name.
10331 (labelItem): remove unused string, float name->type change
10333 * counters.h: don't include vector, loose the enums and sects vectors
10335 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10337 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10338 (Read): add float->TC_FLOAT to textclassTags
10339 (Read): and handle it in the switch
10340 (readFloat): new function
10342 * FloatList.C (FloatList): comment out the hardcoded float
10345 * lyxlayout.h: ws change.
10347 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10349 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10351 2002-09-03 Angus Leeming <leeming@lyx.org>
10353 * BufferView_pimpl.h: qualified name is not allowed in member
10354 declaration: WorkArea & Pimpl::workarea() const;
10356 * factory.C: added using std::endl directive.
10358 * text3.C: added using std::find and std::vector directives.
10360 2002-08-29 André Pönitz <poenitz@gmx.net>
10363 * text2.C: remove unused member number_of_rows
10366 * BufferView2.C: remove file, move contents to...
10367 * BufferView.C: ... here
10369 * BufferView_pimpl.C:
10370 * factory.C: move more inset creation to factory
10372 * vspace.C: avoid direct usage of LyXText, ws changes
10375 don't provide direct access to WorkArea, use two simple
10376 acessors haveSelction() and workHeight() instead
10379 2002-08-29 John Levon <levon@movementarian.org>
10381 * BufferView_pimpl.C (dispatch): do not continue when
10384 2002-08-28 André Pönitz <poenitz@gmx.net>
10386 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10389 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10391 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10393 * buffer.C: increment LYX_FORMAT to 221
10395 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10396 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10398 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10400 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10402 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10404 * factory.C (createInset): use LyXTextClass::floats
10406 * MenuBackend.C (expandFloatListInsert):
10407 (expandFloatInsert):
10410 * text2.C (setCounter):
10412 * LaTeXFeatures.C (useFloat):
10413 (getFloatDefinitions):
10415 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10417 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10418 floatlist_, with accessor floats().
10420 * FloatList.h: remove global FloatList
10422 2002-08-26 André Pönitz <poenitz@gmx.net>
10424 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10428 * BufferView_pimpl.C:
10429 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10431 2002-08-25 John Levon <levon@movementarian.org>
10433 * LyXAction.C: fix margin note description
10435 2002-08-24 John Levon <levon@movementarian.org>
10439 * bufferview_funcs.C:
10441 * undo_funcs.C: cleanups
10443 * lyxfunc.C: disable CUT/COPY when no selection
10445 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10447 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10448 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10450 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10451 Add backward compatibility to "mono", "gray" and "no".
10453 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10455 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10456 (and file_format >= 200).
10458 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10460 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10462 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10464 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10466 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10468 * BufferView_pimpl.C:
10475 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10476 inset and code to make it work with the paragraph code. The inset
10477 can be anywhere in the paragraph, but will only do the expected
10478 thing in LaTeX if the layout file contains the parameter line
10480 (or more generally, a nonzero value) for that layout.
10482 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10484 * paragraph.h: remove the declaration of undefined counters class
10487 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10489 * text2.C (setCounter): fixed enumeration mis-count as reported by
10490 Dr. Richard Hawkins.
10492 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10494 * paragraph_funcs.h: remove some unneeded includes
10496 * text.C (backspace): pasteParagraph now in global scipe
10498 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10499 (pasteSelection): ditto
10501 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10502 * paragraph_funcs.C (pasteParagraph): ... here
10504 2002-08-20 André Pönitz <poenitz@gmx.net>
10506 * commandtags.h: new LFUNs for swapping/copying table row/colums
10509 * lyxfunc.C: support for new lfuns
10511 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10514 * buffer.[Ch]: remove NO_COMPABILITY stuff
10516 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10518 * boost.C (throw_exception): new file, with helper function for
10519 boost compiled without exceptions.
10524 * ParameterStruct.h:
10525 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10527 * bufferlist.C (emergencyWriteAll): use boost bind
10529 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10531 * text.C: include paragraph_funcs.h
10532 (breakParagraph): breakParagraph is now in global scope
10534 * paragraph_funcs.[Ch]: new files
10536 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10539 * buffer.C: include paragraph_funcs.h
10540 (insertStringAsLines): breakParagraph is now in global scope
10542 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10545 * CutAndPaste.C: include paragraph_funcs.h
10546 (cutSelection): breakParagraphConservative is now in global scope
10547 (pasteSelection): ditto
10549 * buffer.h: declare oprator== and operator!= for
10550 Buffer::inset_iterator
10552 * bufferlist.C (emergencyWrite): don't use fmt(...)
10554 * text3.C: add using std::endl
10556 * BufferView.C (moveCursorUpdate): remove default arg
10558 2002-08-20 André Pönitz <poenitz@gmx.net>
10560 * buffer.[Ch]: move inline functions to .C
10563 * BufferView_pimpl.C:
10565 * buffer.[Ch]: use improved inset_iterator
10568 * paragraph.[Ch]: write one paragraph at a time
10570 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10572 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10573 style if style is not specified.
10575 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10577 * text2.C (setCounter): when searching for right label for a
10578 caption, make sure to recurse to parent insets (so that a caption
10579 in a minipage in a figure float works) (bug #568)
10581 2002-08-20 André Pönitz <poenitz@gmx.net>
10583 * text3.C: new file for LyXText::dispatch() and helpers
10585 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10587 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10589 2002-08-19 André Pönitz <poenitz@gmx.net>
10592 * text.C: new LyXText::dispatch()
10594 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10596 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10598 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10600 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10603 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10605 * Makefile.am: use $(variables) instead of @substitutions@
10607 2002-08-15 André Pönitz <poenitz@gmx.net>
10610 * BufferView_pimpl.C: streamlining mathed <-> outer world
10614 * LyXAction.C: remove unused LFUN_MATH
10616 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10618 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10620 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10622 * paragraph.C (Paragraph): reformat a bit
10623 (cutIntoMinibuffer): use builtin InsetList function instad of
10627 * buffer.C: include boost/bind.hpp, add using std::for_each
10628 (writeFileAscii): use ParagraphList iterators
10629 (validate): use for_each for validate traversal of paragraphs
10630 (getBibkeyList): use ParagraphList iterators
10631 (resizeInsets): use for_each to resizeInsetsLyXText for all
10633 (getParFromID): use ParagraphList iterators
10635 * BufferView2.C (lockInset): use paragraph list and iterators
10637 2002-08-14 John Levon <levon@movementarian.org>
10639 * lyxserver.C: remove spurious xforms include
10641 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10643 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10645 2002-08-13 André Pönitz <poenitz@gmx.net>
10648 * lyxfunc.C: further cleaning
10650 2002-08-13 André Pönitz <poenitz@gmx.net>
10652 * funcrequest.h: new constructor
10654 * funcrequest.C: move stuff here from .h
10657 * BufferView_pimpl.C:
10660 * lyxfunc.C: subsequent changes
10662 * lyxfunc.h: new view() member function
10664 * lyxfunc.C: subsequent changes
10666 2002-08-13 Angus Leeming <leeming@lyx.org>
10669 * BufferView_pimpl.C:
10677 changes due to the changed LyXView interface that now returns references
10678 to member variables not pointers.
10680 2002-08-13 Angus Leeming <leeming@lyx.org>
10682 * WordLangTuple (word, lang_code): return references to strings,
10687 * lyxtext.h: forward-declare WordLangTuple.
10692 * text.C: #include "WordLangTuple.h".
10695 * text.C: (selectNextWordToSpellcheck): constify return type.
10697 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10703 * paragraph_pimpl.h:
10706 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10707 suggested by Angus.
10708 Made updateCounter always count from start of buffer, and removed
10709 second argument (par).
10710 Reverted floats number display to '#'. Perhaps I'll try again when the
10711 code base is sanitized a bit.
10713 2002-08-12 Angus Leeming <leeming@lyx.org>
10715 * buffer.[Ch] (getLabelList): constify.
10717 2002-08-07 André Pönitz <poenitz@gmx.net>
10719 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10721 * funcrequest.h: extension to keep mouse (x,y) position
10723 2002-08-12 Juergen Vigna <jug@sad.it>
10725 * BufferView2.C (insertErrors): forbid undo when inserting error
10728 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10730 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10732 * ParagraphList.[Ch]: new files
10734 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10736 * BufferView2.C (lockInset): ParagraphList changes
10739 * bufferlist.C: ditto
10743 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10745 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10746 unused class variable counter_,
10748 * paragraph.[Ch] (getFirstCounter): delete unused function
10750 * counters.C: include LAssert.h
10751 (reset): add a new function with no arg, change other version to
10752 not have def. arg and to not allow empty arg.
10754 * text2.C (setCounter): remove empty arg from call to Counters::reset
10756 2002-08-11 John Levon <levon@movementarian.org>
10758 * Makefile.am: add WordLangTuple.h
10760 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10762 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10763 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10765 * insets/insettext.C: InsetList changes
10767 * graphics/GraphicsSupport.C (operator()): InsetList changes
10769 * toc.C (getTocList): InsetList changes
10771 * paragraph_pimpl.[Ch]: InsetList changes
10773 * paragraph.[Ch]: InsetList changes
10775 * buffer.C (inset_iterator): InsetList changes
10776 (setParagraph): ditto
10777 * buffer.h (inset_iterator): ditto
10778 * iterators.C (operator++): ditto
10779 * iterators.h: ditto
10781 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10783 * InsetList.[Ch]: new files, most InsetList handling moved out of
10786 * BufferView2.C (removeAutoInsets): InsetList changes
10788 (ChangeInsets): ditto
10790 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10792 * paragraph_pimpl.h (empty): new function
10794 * paragraph.[Ch] (empty): new function
10796 * other files: use the new Paragraph::empty function
10798 2002-08-09 John Levon <levon@movementarian.org>
10800 * lyxtext.h: remove unused refresh_height
10802 2002-08-09 John Levon <levon@movementarian.org>
10809 * paragraph.C: move sgml char escaping out of paragraph
10812 * paragraph.C: remove id setter
10816 * paragraph_pimpl.C: remove dead tex_code_break_column
10818 * bufferview_funcs.C: small cleanup
10820 * lyxfunc.C: remove dead proto
10822 * lyxtext.h: make some stuff private. Remove some dead stuff.
10824 * lyxgluelength.C: make as[LyX]String() readable
10826 2002-08-08 John Levon <levon@movementarian.org>
10831 * ToolbarDefaults.C:
10834 * toc.C: lyxaction cleanup
10836 2002-08-08 John Levon <levon@movementarian.org>
10838 * BufferView2.C: small cleanup
10841 * lyxfind.C: move unnecessary header into the .C
10843 2002-08-08 John Levon <levon@movementarian.org>
10845 * funcrequest.h: just tedious nonsense
10848 * lyx_main.C: cleanups
10851 * vspace.C: remove dead header lyx_main.h
10853 2002-08-07 Angus Leeming <leeming@lyx.org>
10856 * paragraph_pimpl.h:
10857 Forward declare class Counters in paragraph.h by moving the ctrs member
10858 variable into Paragraph::Pimpl.
10859 (counters): new method, returning a reference to pimpl_->ctrs.
10861 * text2.C: ensuing changes.
10863 2002-08-07 John Levon <levon@movementarian.org>
10865 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10867 * BufferView_pimpl.C: announce X selection on double/triple
10870 * lyx_main.C: use correct bool in batch dispatch
10872 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10874 2002-08-07 André Pönitz <poenitz@gmx.net>
10876 * funcrequest.h: new class to wrap a kb_action and its argument
10879 * BufferView_pimpl[Ch]:
10883 * lyxrc.C: subsequent changes
10886 2002-08-07 John Levon <levon@movementarian.org>
10888 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10889 document options change.
10891 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10896 * makefile.am: move counters functionality over from
10897 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10899 2002-08-06 John Levon <levon@movementarian.org>
10901 * WordLangTuple.h: new file for word + language code tuple
10912 * BufferView2.C: use WordLangTuple
10915 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10917 2002-08-06 John Levon <levon@movementarian.org>
10919 * lyx_main.C: fix cmdline batch handling
10921 2002-08-06 André Pönitz <poenitz@gmx.net>
10923 * lyxrc.C: set default for show_banner to true
10925 2002-08-06 John Levon <levon@movementarian.org>
10927 * pspell.C: fix a crash, and allow new aspell to work
10929 2002-08-06 John Levon <levon@movementarian.org>
10932 * kbmap.C: small cleanup
10935 * vspace.C: add const
10937 2002-08-05 John Levon <levon@movementarian.org>
10939 * LyXAction.C: back to tabular-insert
10941 2002-08-04 John Levon <levon@movementarian.org>
10944 * BufferView.C: cosmetic change
10946 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10956 * BufferView2.C: purge all "Lyx" not "LyX" strings
10959 * lyxcursor.C: attempt to add some documentation
10964 * ToolbarDefaults.C:
10965 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10966 merge with LFUN_TABULAR_INSERT
10973 * pspell.C: split up i/pspell implementations into separate
10974 files, many cleanups
10976 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10978 * text2.C: some cleanup
10980 * lyxfunc.C: don't check for isp_command == "none" any more, it
10981 didn't make any sense
10983 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10988 * makefile.am: move counters functionality over
10989 from text2.C/paragraph.[Ch] to counters.[Ch], and
10991 2002-08-02 John Levon <levon@movementarian.org>
10993 * buffer.C: s/lyxconvert/lyx2lyx/
10995 2002-08-02 Angus Leeming <leeming@lyx.org>
10997 * lyxlex.C: revert John's change as it breaks reading of the user
11000 2002-08-02 Angus Leeming <leeming@lyx.org>
11002 * importer.C (Import):
11003 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11004 changes due to LyXView::view() now returning a boost::shared_ptr.
11006 2002-08-02 John Levon <levon@movementarian.org>
11008 * lyxlex.C: small cleanup
11010 2002-08-02 John Levon <levon@movementarian.org>
11012 * text2.C (status): small cleanup, no logic change
11014 2002-08-01 John Levon <levon@movementarian.org>
11017 * buffer.C (writeFile): don't output alerts, caller
11021 * lyx_cb.C: from above
11023 * lyxfunc.C: allow to open non-existent files
11025 2002-07-31 John Levon <levon@movementarian.org>
11027 * lyxserver.C: don't let incidental errors get
11030 2002-07-30 John Levon <levon@movementarian.org>
11032 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11034 2002-07-30 John Levon <levon@movementarian.org>
11037 * lyxserver.C: remove I/O callback too
11039 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11041 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11044 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11046 * many files: strip,frontStrip -> trim,ltrim,rtrim
11048 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11050 * PrinterParams.h: remove extern containsOnly, and include
11051 support/lstrings.h instead.
11053 * LaTeX.C (scanAuxFile): modify because of strip changes
11055 * buffer.C (makeLaTeXFile): ditto
11056 * bufferparams.C (writeFile): ditt
11057 * lyxfont.C (stateText): ditto
11058 * lyxserver.C (read_ready): ditto
11059 * vc-backend.C (scanMaster): ditto
11061 * BufferView_pimpl.h: ws changes
11063 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11065 2002-07-26 André Pönitz <poenitz@gmx.net>
11067 * kb_sequence.C: remove unnedred usings
11069 2002-07-26 Juergen Vigna <jug@sad.it>
11071 * lyxfind.C (LyXReplace): we have to check better if the returned
11072 text is not of theLockingInset()->getLockingInset().
11074 2002-07-25 Juergen Vigna <jug@sad.it>
11076 * lyxfind.C (LyXReplace): don't replace if we don't get the
11079 * undo_funcs.C (createUndo): remove debugging code.
11081 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11083 * buffer.C (parseSingleLyXformat2Token): Use default placement
11084 when reading old floats.
11086 * FloatList.C (FloatList): Change the default placement of figure
11087 and tables to "tbp".
11089 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11091 * MenuBackend.C: using std::max
11093 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11095 * MenuBackend.C (expandToc):
11096 (expandToc2): code moved from xforms menu frontend. It is now
11097 generic and TOCs are transparent to menu frontends.
11099 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11101 * toc.C (getTocList): protect against buf=0
11103 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11104 Menu as first parameter. Now, this calls itself recursively to
11105 expand a whole tree (this will be useful for TOC handling)
11106 (expandFloatInsert): remove 'wide' version of floats
11108 * MenuBackend.h (submenuname): returns the name of the submenu.
11109 (submenu): returns the submenu itself, provided it has been
11110 created by MenuBackend::expand
11112 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11115 insets which have noFontChange == true. (bug #172)
11117 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11119 * BufferView_pimpl.C: add connection objects and use them...
11122 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11124 * MenuBackend.C (expandLastfiles):
11127 (expandFloatListInsert):
11128 (expandFloatInsert):
11129 (expand): split expand in parts
11131 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11133 * lyx_gui.C: use lyx_gui::exit()
11135 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11137 * LyXAction.C: show the failing pseudo action
11139 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11141 * buffer.C (readFile): Run the lyxconvert script in order to read
11144 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11148 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11150 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11154 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11156 2002-07-22 Herbert Voss <voss@lyx.org>
11159 * lyxlength.[Ch]: add support for the vertical lengths
11161 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11163 * toc.[Ch]: std:: fixes
11165 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11167 * lyxrc.C: do not include lyx_main.h
11169 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11175 * BufferView2.C: include "lyxlex.h"
11178 * bufferparams.h: do not #include "lyxlex.h"
11180 * lyxtextclasslist.C (Add): remove method
11181 (classlist): renamed to classlist_
11183 * paragraph_pimpl.C:
11187 * bufferview_funcs.C:
11192 * toc.C (getTocList): use BufferParams::getLyXTextClass
11194 * toc.C (getTocList): use InsetFloat::addToToc
11196 * toc.[Ch]: new files, containing helper functions to handle table
11199 * lyxfunc.C (dispatch): no need to remove spaces around command
11201 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11202 first command of the sequence; it is not very clever, but I do not
11203 have a better idea, actually
11205 * LyXAction.C (LookupFunc): make sure to remove space at the
11206 beginning and end of the command
11208 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11210 * MenuBackend.C (getMenubar): new method: return the menubar of
11212 (read): treat differently reading of menu and menubar (in
11213 particular, the menubar has no name now)
11214 (Menu::menubar): remove
11216 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11219 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11221 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11222 a bibitem inset in a RTL paragraph.
11224 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11226 * paragraph_pimpl.C: constify
11228 * BufferView_pimpl.C:
11230 * lyxfunc.C: fix dispatch in a nicer way
11232 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11234 * lyxfunc.C (dispatch):
11235 * BufferView_pimpl.C:
11236 * BufferView_pimpl.h:
11238 * BufferView.h: rename Dispatch() to dispatch()
11240 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11242 * lyxlayout.C (Read): honor DependsOn tag
11244 * lyxlayout.[Ch] (depends_on): new method
11246 * version.C.in: update lyx_docversion
11248 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11250 * paragraph.C (validate): remove from here...
11251 * paragraph_pimpl.C (validate): ... and move here
11252 (isTextAt): make it const
11254 * buffer.C (getLists): ws cleanup
11256 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11258 * language.C (read): Use iso8859-1 encoding in latex_lang
11259 (this prevents LyX from crashing when using iso10646-1 encoding).
11261 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11263 * text2.C (toggleInset): if cursor is inside an inset, close the
11264 inset and leave cursor _after_ it
11266 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11268 * lyxfunc.C: move minibuffer completion handling out of here
11270 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11272 * BufferView_pimpl.C:
11273 * LaTeX.C: fix dispatch calls
11275 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11277 * text.C (drawChars): Fix Arabic text rendering.
11279 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11283 * lyxfunc.C: remove message-push/pop
11287 * lyxfunc.C: rationalise some code by removing verboseDispatch
11288 in favour of a bool argument to dispatch()
11290 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * lyx_main.C (init): make sure to read symlinks as absolute paths
11294 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11297 * lyxfunc.C: no need for commandshortcut to be a member
11299 2002-07-15 André Pönitz <poenitz@gmx.net>
11301 * converter.C: add support for $$s (scripts from lib/scripts dir)
11302 * lyx_main.C: white space
11304 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11308 * lyxrc.C: remove second exit confirmation
11310 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11315 * BufferView_pimpl.h:
11316 * BufferView_pimpl.C:
11317 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11319 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * MenuBackend.C (expand): add numeric shortcuts to document menu
11323 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11325 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11327 * lyxfont.C (setLyXFamily):
11334 * buffer.C (asciiParagraph): use ascii_lowercase
11336 2002-07-15 Mike Fabian <mfabian@suse.de>
11338 * lyxlex_pimpl.C (search_kw):
11339 * lyxlex.C (getLongString):
11340 * converter.h (operator<):
11341 * converter.C (operator<):
11342 * buffer.C (parseSingleLyXformat2Token):
11344 * ToolbarDefaults.C (read):
11345 * MenuBackend.C (checkShortcuts):
11347 * LColor.C (getFromGUIName):
11348 (getFromLyXName): use the compare_ascii_no_case instead of
11349 compare_no_case, because in turkish, 'i' is not the lowercase
11350 version of 'I', and thus turkish locale breaks parsing of tags.
11352 2002-07-16 Angus Leeming <leeming@lyx.org>
11354 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11355 now takes a Buffer const & argument.
11357 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11359 * BufferView.C (resize): check there's a buffer to resize
11361 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11363 * lyxfunc.C: remove dead code
11366 * lyxserver.C: use lyx_guii::set_read_callback
11368 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11370 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11371 an inset in a RTL paragraph.
11373 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11375 * lyxfunc.C: repaint after a font size update
11377 2002-07-15 André Pönitz <poenitz@gmx.net>
11379 * lyxlength.C: inBP should be able to return negative values
11381 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11383 * lyxfunc.C: use lyx_gui::update_fonts()
11385 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11387 * lyxfunc.C: use lyx_gui::update_color()
11389 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11395 * lyxrc.C: remove file->new asks for name option, and let
11396 buffer-new take an argument
11398 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11400 * BufferView_pimpl.C: remove unneeded extra repaint()
11402 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11404 * LyXAction.C: allow command-sequence with NoBuffer
11406 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11408 2002-07-10 Angus Leeming <leeming@lyx.org>
11410 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11412 2002-07-09 Angus Leeming <leeming@lyx.org>
11414 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11416 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11418 * lengthcommon.h: whitespace
11420 * lyxfunc.C: update scrollbar after goto paragraph
11422 * lyxtext.h: factor out page break drawing, and fix it so
11423 page break/added space paints as selected nicely
11425 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11427 * BufferView_pimpl.C: add FIXMEs, clean up a little
11429 2002-07-09 André Pönitz <poenitz@gmx.net>
11431 * lyxfont.[Ch]: support for wasy symbols
11433 2002-07-08 André Pönitz <poenitz@gmx.net>
11435 * BufferView_pimpl.C: apply John's patch for #93.
11437 2002-07-05 Angus Leeming <leeming@lyx.org>
11439 * BufferView_pimpl.C (buffer): generate previews if desired.
11441 * LColor.h: add "preview" to the color enum.
11443 * LColor.C (LColor): add a corresponding entry to the items array.
11445 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11448 2002-07-05 Angus Leeming <leeming@lyx.org>
11450 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11451 The body of the code is now in the method that is passed an ostream &
11452 rather than a file name.
11453 Pass an additional only_preamble parameter, useful for the forthcoming
11456 2002-07-03 André Pönitz <poenitz@gmx.net>
11458 * lyxfunc.C: simplify getStatus() a bit for math stuff
11460 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11462 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11464 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11466 * text.C (changeRegionCase): do not change case of all the
11467 document when region ends at paragraph end (bug #461)
11469 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11471 * paragraph.C (startTeXParParams):
11472 (endTeXParParams): add \protect when necessary
11474 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * BufferView_pimpl.C (workAreaExpose): remove warning
11478 2002-06-27 Angus Leeming <leeming@lyx.org>
11480 * Makefile.am: add lyxlayout_ptr_fwd.h.
11482 2002-06-26 André Pönitz <poenitz@gmx.net>
11484 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11486 2002-06-25 Angus Leeming <leeming@lyx.org>
11488 * lyxfunc.C (dispatch): Comment out the call to
11489 grfx::GCache::changeDisplay. The method no longer exists now that the
11490 pixmap generation part of the graphics loader has been moved into
11493 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11495 * text2.C: layout as layout
11497 * text.C: layout as layout
11499 * tabular.C (OldFormatRead): layout as layout
11501 * paragraph_pimpl.C (TeXDeeper): layout as layout
11502 (realizeFont): layout as layout
11504 * paragraph.C (writeFile): layout as layout
11505 (validate): layout as layout
11506 (getFont): layout as layout
11507 (getLabelFont): layout as layout
11508 (getLayoutFont): layout as layout
11509 (breakParagraph): layout as layout
11510 (stripLeadingSpaces): layout as layout
11511 (getEndLabel): layout as layout
11512 (getMaxDepthAfter): layout as layout
11513 (applyLayout): layout as layout
11514 (TeXOnePar): layout as layout
11515 (simpleTeXOnePar): layout as layout
11516 (TeXEnvironment): layout as layout
11517 (layout): layout as layout
11518 (layout): layout as layout
11520 * lyxtextclass.C (compare_name): new functor to work with
11521 shared_ptr, layout as layout
11522 (Read): layout as layout
11523 (hasLayout): layout as layout
11524 (operator): layout as layout
11525 (delete_layout): layout as layout
11526 (defaultLayout): layout as layout
11528 * lyxlayout_ptr_fwd.h: new file
11530 * lyxlayout.C (Read): layout as layout
11532 * lyx_cb.C (MenuInsertLabel): layout as layout
11534 * bufferlist.C (newFile): layout as layout
11536 * buffer.C (readLyXformat2): layout as layout
11537 (parseSingleLyXformat2Token): layout as layout
11538 (insertStringAsLines): layout as layout
11539 (asciiParagraph): layout as layout
11540 (latexParagraphs): layout as layout
11541 (makeLinuxDocFile): layout as layout
11542 (simpleLinuxDocOnePar): layout as layout
11543 (makeDocBookFile): layout as layout
11544 (simpleDocBookOnePar): layout as layout
11545 (getLists): layout as layout
11547 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11549 * CutAndPaste.C (cutSelection): layout as layout
11550 (pasteSelection): layout as layout
11551 (SwitchLayoutsBetweenClasses): layout as layout
11553 * BufferView_pimpl.C (Dispatch): layout as layout
11554 (smartQuote): layout as layout
11556 * BufferView2.C (unlockInset): layout as layout
11558 2002-06-24 André Pönitz <poenitz@gmx.net>
11560 * lyxfunc.C: fix #487
11562 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11566 * lyxfunc.C: remove display_shortcuts, show_banner
11568 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11570 * Buffer_pimpl.C: oops, update on resize
11572 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11579 * BufferView.C: use repaint()
11581 * BufferView_pimpl.h:
11582 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11583 as it's a clearer description. Remove superfluous
11586 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11588 * text.C: fix bug 488. Not ideal, but getting
11589 getWord() to work properly for the insets that
11590 matter is more difficult ...
11592 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11594 * BufferView_pimpl.C:
11597 * lyxfunc.C: remove the six million index lyxfuncs to just
11598 one, and DTRT (bug 458)
11600 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11604 * BufferView_pimpl.h:
11605 * BufferView_pimpl.C: clean up resize() stuff,
11606 and unnecessary updateScreen()s
11608 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11612 * BufferView_pimpl.h:
11613 * BufferView_pimpl.C:
11616 * minibuffer.C: remove focus management of workarea,
11617 not needed. Use screen's greyOut()
11619 2002-06-17 Herbert Voss <voss@lyx.org>
11621 * converter.C: (convert) do not post a message, when converting
11622 fails, let the calling function decide what to do in this case
11624 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11626 * lyxfunc.C: tidy up a little
11628 2002-06-16 <alstrup@diku.dk>
11630 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11631 Got rid of FORMS_H_LOCATION include. Now we are
11634 2002-06-15 LyX Development team <lyx@rilke>
11636 * buffer.[Ch] (sgmlOpenTag):
11637 (sgmlCloseTag): Added support for avoiding pernicious mixed
11638 content. Return number of lines written.
11640 (makeLinuxDocFile):
11641 (makeDocBookFile): Fixed calls to sgml*Tag.
11642 Simple white space clean.
11644 (simpleDocBookOnePar): Simple white space clean.
11646 * tabular.[Ch] (docBook): Renamed to docbook and got another
11647 argument to related with the pernicious mixed content.
11649 (docbookRow): Fixed calls for docbook inset method.
11651 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11653 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11654 so it's X11 independent.
11658 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11660 2002-06-15 Lyx Development team <lyx@electronia>
11662 * intl.h: Renamed getTrans to getTransManager.
11664 2002-06-14 Angus Leeming <leeming@lyx.org>
11666 * Makefile.am: nuke forgotten stl_string_fwd.h.
11668 2002-06-12 Angus Leeming <leeming@lyx.org>
11670 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11672 2002-06-13 Angus Leeming <leeming@lyx.org>
11675 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11677 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11679 * kbmap.C (getiso): add support for cyrillic and greek
11681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11685 * BufferView_pimpl.h:
11686 * BufferView_pimpl.C: move bogus scrolling logic
11689 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11692 * BufferView_pimpl.C: view->resize() change
11694 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11696 * BufferView_pimpl.C: topCursorVisible
11699 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11703 * lyx_gui.C: move to frontends/
11707 * lyx_main.C: changes from above
11709 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11716 * lyx_main.C: minor tidy
11718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11720 * BufferView_pimpl.h:
11721 * BufferView_pimpl.C:
11723 * BufferView.C: make painter() const,
11726 * BufferView2.C: use screen() accessor
11729 * lyx_main.C: some minor cleanup
11731 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11733 * BufferView_pimpl.h:
11734 * BufferView_pimpl.C: remove enter/leaveView,
11737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11742 * BufferView_pimpl.h:
11743 * BufferView_pimpl.C: only construct screen once,
11746 * lyxrc.C: remove pointless comment
11748 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11751 * BufferView.C: remove active() and belowMouse()
11753 * BufferView_pimpl.h:
11754 * BufferView_pimpl.C: use workarea() not workarea_,
11755 and make it use a scoped_ptr instead
11757 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11759 * lyx_gui.C: add debug message on BadWindow
11761 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * sp_spell.C: fdopen is not part of the C++ standard.
11765 * paragraph.C (InsetIterator): use >= instead of ==
11767 2002-06-07 Angus Leeming <leeming@lyx.org>
11769 Fixes needed to compile with Compaq cxx 6.5.
11770 * BufferView_pimpl.C:
11777 * lyxtextclasslist.C:
11782 all c-library variables have been moved into namespace std. Wrap
11783 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11788 Add a using std::abs declaration.
11790 * kbmap.h (modifier_pair):
11791 * paragraph.h (InsetTable, InsetList):
11792 * lyxfont.h (FontBits):
11793 type definition made public.
11795 * bufferlist.C (emergencyWriteAll): the compiler complains that
11796 there is more than one possible lyx::class_fun template to choose from.
11797 I re-named the void specialisation as lyx::void_class_fun.
11799 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11801 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11802 the compiler is is unable to find tostr in write_attribute.
11804 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * buffer.C (sgmlError): hide #warning
11808 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11810 * xtl/*: get rid of xtl, which is not in use anyway
11812 * LyXAction.C (init):
11813 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11814 were unimplemented xtl experimentation
11816 2002-06-04 André Pönitz <poenitz@gmx.net>
11818 * lyxfunc.C: disable array operation on simple formulae
11820 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11822 * converter.C: constify a bit
11824 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11826 * lyx_gui.C: check xforms version correctly
11828 2002-04-30 Herbert Voss <voss@lyx.org>
11830 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11833 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11835 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11836 attempt to register it with a VCS)
11838 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11840 * lyx_main.C (init): honor variables LYX_DIR_13x and
11843 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11847 * lyx_main.C: fix a crash on bad command line,
11848 and give a useful exit status on error
11850 * lyxfunc.C (doImport): allow -i lyx to work
11852 2002-03-30 André Pönitz <poenitz@gmx.net>
11854 * lyxfunc.C: mathed font changes
11856 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11871 * trans_mgr.h: srcdocs, and some minor cleanups
11873 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11875 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11876 call getFont all the time)
11878 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * switch from SigC signals to boost::signals
11882 2002-05-29 André Pönitz <poenitz@gmx.net>
11884 * paragraph_pimpl.C (getChar): don't call size() too often...
11886 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11888 * paragraph_pimpl.C (insertChar): do not try to update tables when
11889 appending (pos == size())
11891 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11892 in order to reduce drastically the number of comparisons needed to
11893 parse a large document
11895 2002-05-29 André Pönitz <poenitz@gmx.net>
11901 * textclasslist.[Ch]:
11902 * sp_ispell.h: whitespace change
11904 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11906 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11907 lyxaction directly now.
11909 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11913 * lyxvc.C: remove unused headers
11915 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11922 * undo_funcs.C: some cleanups. Use shared_ptr
11923 and a template for the undo stacks.
11925 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11927 * BufferView_pimpl.h:
11928 * BufferView_pimpl.C:
11935 * text2.C: use key_state/mouse_state
11937 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11939 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11942 * chset.C: change include order
11943 (loadFile): use boost regex and get rid of LRegex and LSubstring
11945 * Makefile.am (BOOST_LIBS): new variable
11946 (lyx_LDADD): use it
11948 * LaTeX.C: change include order.
11949 (scanAuxFile): use boost regex and get rid of LRegex and
11953 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11958 * FontInfo.C: moved to frontends/xforms/
11961 * FontLoader.C: moved into frontends for GUIIzation
11966 * lyxfunc.C: changes from above
11968 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11970 * LColor.C: remove spurious X include
11972 * BufferView_pimpl.C:
11977 * text2.C: move font metrics to frontends/
11979 2002-05-24 Juergen Vigna <jug@sad.it>
11981 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11982 setting the undo_cursor.
11984 * ParagraphParameters.h: include local includes first.
11986 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11988 * BufferView_pimpl.C:
11989 * BufferView_pimpl.h:
11993 * screen.C: move WorkArea into frontends/
11999 * BufferView2.C: move LyXScreen into frontends/
12003 * lyx_gui.C: move lyxlookup into frontends/xforms/
12005 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12008 * BufferView_pimpl.C:
12018 * bufferview_funcs.C:
12031 * vc-backend.C: move LyX/XFormsView into frontends/
12033 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12045 * text2.C: move Painter to frontends/
12047 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * buffer.C: comment out some some code that depend upon lyx_format
12052 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12053 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12055 * buffer.h (NO_COMPABILITY): turn off compability
12057 * ColorHandler.C: include scoped_array.hpp
12059 * font.C: Use more specific smart_ptr header.
12062 * ShareContainer.h: ditto
12063 * lyx_main.h: ditto
12065 * FontInfo.h: ditto
12066 * BufferView_pimpl.h: ditto
12067 * ColorHandler.h: ditto
12069 * kbmap.C (defkey): change call to shared_ptr::reset
12071 2002-05-21 Juergen Vigna <jug@sad.it>
12073 * buffer.C (insertErtContents): fix to insert ert asis if it is
12074 non empty. Skip it completely if it contains only whitespaces.
12076 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12078 * BufferView_pimpl.C:
12079 * BufferView2.C: clear selection on paste (bug 393)
12081 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12083 * DepTable.C: include ctime
12085 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12087 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12089 2002-05-14 Juergen Vigna <jug@sad.it>
12091 * text.C (breakParagraph): fixed function to honor the keepempty
12092 layout in the right maner and also to permit the right breaking
12093 algorithm on empty or non empyt keepempty paragraphs.
12095 * paragraph.C (breakParagraph): we have to check also if the par
12096 is really empty (!size()) for isempty otherwise we do the wrong
12099 2002-05-10 Juergen Vigna <jug@sad.it>
12101 * buffer.[Ch] : The following are only changes to the ert
12102 compatibility read reading old LaTeX layout and font stuff and
12103 convert it to ERTInsets.
12105 * buffer.h: added isErtInset().
12107 * buffer.C (struct ErtComp): add a fromlayout bool to check
12108 if we're inside a LaTeX layout.
12109 (isErtInset): new helper function.
12110 (insertErtContents): look for other ert insets before this one
12111 and insert the contents there, so that we don't have subsequent
12112 ERT insets with nothing between them. This way we create only one
12113 inset with multiple paragraphs. Also check if we don't insert only
12114 spaces ' ' as they are ignored anyway afterwards in the .tex file
12115 so if we have only spaces we will ignore this latex part in the
12117 (parseSingleLyXformat2Token \\layout): better compatibility when
12118 reading layout-latex stuff.
12119 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12121 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12122 stuff after reading the inset only get the information back from
12125 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12127 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12129 * LaTeXFeatures.C (getBabelOptions): New method.
12131 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * BufferView_pimpl.C (Dispatch): work around missing argument for
12136 2002-05-08 Juergen Vigna <jug@sad.it>
12138 * text.C (leftMargin): handle paragraph leftindent.
12140 * paragraph.C (writeFile): write the new \\leftindent tag.
12141 (validate): handle leftindent code.
12142 (TeXEnvironment): handle paragraphleftindent code again.
12144 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12146 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12147 for paragrap_extra indent code and new token \\leftindent.
12148 (latexParagraphs): handle the leftindent as environment.
12150 * ParameterStruct.h: added leftindent support.
12152 * ParagraphParameters.C (leftIndent): added support functions for
12153 the paragraph left indent.
12155 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12158 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12160 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12163 * text.C (computeBidiTables): No bidi in insetERT.
12165 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12168 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12170 * version.C.in: pre 5
12172 2002-05-02 José Matos <jamatos@fep.up.pt>
12173 * buffer.C (makeDocBookFile): white space changes, add newline to
12175 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12177 * tabular.C (docBook): fix typo.
12179 2002-05-03 Juergen Vigna <jug@sad.it>
12181 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12182 change in LyXText as we can not be sure it was not freed.
12183 (drawOneRow): remove unused code.
12185 * text.C (drawInset): redo the calculation of the need_break_row as
12186 it could have a row which was already freed.
12187 (draw): look at the return value of drawInset and return false if
12188 it also returned false.
12189 (paintRowText): look at the return value of draw and return false if
12190 it also returned false.
12192 * lyxtext.h: added bool return type to drawInset() and draw() so that
12193 if we have a change in the row so that the rowbreak has to be redone
12194 we abort drawing as it will be called again.
12196 2002-05-02 Juergen Vigna <jug@sad.it>
12198 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12199 a change in the maintext also if we're inside an inset.
12200 (Dispatch): set the cursor again after a break line and after the
12201 screen has been updated as it could be we're in a different row.
12203 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12204 to set the cursor behind the pargraph with > size().
12205 (setCursor): check also for the same paragraph when checking where
12206 to put the cursor if we have a NFR inset.
12208 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12209 parts of layout read further up as it still was in the wrong
12212 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * screen.C (drawFromTo): change sine fullRebreak always return
12217 * buffer.C (parseSingleLyXformat2Token): reindent some
12219 * BufferView_pimpl.C (update): change since fullRebreak always
12221 (Dispatch): git rid of the last hardcoded "Standard"s.
12223 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12225 * text2.[Ch] (fullRebreak): make it return void now that we always
12228 2002-04-30 Juergen Vigna <jug@sad.it>
12230 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12231 ert compatibility check for "latex" layout.
12233 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12235 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12236 minipages: use col% instead of p%, and also use the current font.
12237 (makeLaTeXFile): Fix use babel condition.
12238 (parseSingleLyXformat2Token): Correct font when reading old floats.
12240 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12242 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12243 inserting list of floats.
12245 2002-04-25 Herbert Voss <voss@lyx.org>
12247 * MenuBackend.C (expand): don't add the graphics extensions to the
12250 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12252 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12253 non-existing layout, do not complain if it was the default layout
12254 of the original class (bug #342)
12256 2002-04-24 Juergen Vigna <jug@sad.it>
12258 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12259 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12261 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12263 * buffer.C (getBibkeyList): If using \bibliography, return the
12264 option field with the reference itself. Enables us to provide natbib
12265 support when using \bibliography.
12267 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12269 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12271 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12272 natbib is provided by the LaTeX class.
12274 2002-04-23 Juergen Vigna <jug@sad.it>
12276 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12279 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12281 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12283 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12285 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12286 ensuremath around textordmasculine, textordfeminine and
12289 2002-04-19 Juergen Vigna <jug@sad.it>
12291 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12292 reinitializing the buffer otherwise row-dimensions may be wrong.
12293 (update): reset also the selection cursors if they do exits otherwise
12294 their x/y positions may be wrong.
12296 * text2.C (cursorDown): don't enter the inset if we came from a row
12297 above and are one row over the inset.
12299 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12300 really leaving an inset.
12302 2002-04-18 Juergen Vigna <jug@sad.it>
12304 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12305 of the selected paragraph does not have the selected layout also if
12308 * text2.C (setLayout): fixed bug which did not change last selected
12311 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12312 changed the read and substituted \\end_float with \\end_inset!
12314 * BufferView_pimpl.C (cursorPrevious):
12315 (cursorNext): fixed to make it work with rows heigher than the work
12316 area without moving the cursor only the draw of the row.
12317 (workAreaMotionNotify): fix jumping over high rows.
12319 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12324 2002-04-16 Juergen Vigna <jug@sad.it>
12326 * text2.C (setCursor): set also the irow().
12327 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12329 (cursorDown): support for locking an inset if the x_fix value goes
12330 inside it. That way I can transverse insets too with cursor up/down.
12332 * lyxrow.h: added irow helper function same as other (i) functions.
12334 * BufferView_pimpl.C (cursorPrevious):
12335 (cursorNext): fixed for insets!
12337 2002-04-15 Juergen Vigna <jug@sad.it>
12339 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12340 position otherwise it is wrong in some cases.
12342 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12343 inside the inset before the call.
12345 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12347 * buffer.[Ch] (getBibkeyList): make it const.
12349 2002-04-12 Juergen Vigna <jug@sad.it>
12351 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12353 * text2.C (getCursorX): new helper function
12354 (setCursor): compute also ix_
12355 (setCursorFromCoordinates): set also ix.
12357 * lyxcursor.h: added ix_ and helper functions.
12359 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12361 * buffer.C (insertStringAsLines): dont break paragraph if the this
12362 paragraph is inside an inset which does not permit it!
12364 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12365 also with no chars on this paragraph.
12366 (paintRowText): only paint stuff if it's inside the workarea!
12368 * paragraph.C (breakParagraph): honor keepempty flag and break the
12369 paragraph always below not above.
12371 * BufferView2.C (unlockInset): update the paragraph layout on inset
12372 unlock as we changed paragraph in such a case.
12374 * lyxfind.C (LyXFind): clear the former selection if not found!
12376 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12377 again called in insertChar().
12379 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12380 an inset which uses the whole row!
12381 (rightMargin): ditto.
12382 (insertChar): force a rebreak if we inserted an inset!
12384 2002-03-28 Herbert Voss <voss@lyx.org>
12386 * lyxlength.[Ch]: add inBP() to get the right PS-point
12387 units (BigPoint). With inPixels we have rounding errors
12389 2002-04-11 Juergen Vigna <jug@sad.it>
12391 * text2.C (setCursorFromCoordinates): set iy to the right value.
12392 (setCursor): add check if row->previous exists!
12394 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12395 an old float_type as this was the case in the old code!
12397 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12399 * BufferView2.C (showLockedInsetCursor): use iy
12400 (fitLockedInsetCursor): ditto
12402 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12403 locked insets as there we have the right value now.
12405 * lyxcursor.C: added iy_ variable and iy functions to set to the
12406 baseline of cursor-y of the locked inset.
12408 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12409 (setCursor): fixed for insets which need a full row.
12411 * text.C (rowLastPrintable): don't ignore the last space when before
12412 an inset which needs a full row.
12413 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12414 as last character of a row when before a inset which needs a full row.
12416 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * version.C.in: update date
12420 * text2.C (fullRebreak): try to always return true and see what
12423 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12425 * MenuBackend.C (expand): use Floating::listName
12427 * FloatList.C (FloatList): add listName argument to the built-in
12430 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12431 text associated with the float.
12433 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12435 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12437 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12439 * ShareContainer.h: add a couple of missing typenames.
12441 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12443 * lyxrc.C (getDescription): use _() correctly rather than N_().
12445 2002-03-28 Herbert Voss <voss@lyx.org>
12447 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12448 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12450 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12453 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12455 2002-03-29 Juergen Vigna <jug@sad.it>
12457 * lyxfunc.C (dispatch): add a missing fitCursor call.
12459 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12460 it was scrolled by a cursor move, so return the bool status.
12462 * BufferView.C (fitCursor): return the bool flag also to the outside
12463 world as this is needed.
12465 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12467 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12468 call the edit() as it is not needed (and wrong) IMO.
12469 (workAreaButtonPress): set the screen_first variable before evt.
12470 unlock the inset as this may change screen_first and then we have
12471 a wrong y position for the click!
12473 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12475 * MenuBackend.C (expand): another translation that I missed
12477 2002-03-28 Juergen Vigna <jug@sad.it>
12479 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12481 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12483 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12487 * MenuBackend.C (expand): fix export/view/update when there is no
12490 2002-03-27 Herbert Voss <voss@lyx.org>
12492 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12495 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12497 * bufferview_funcs.C (currentState): only show paragraph number
12498 for is DEVEL_VERSION is set.
12500 * lyxfunc.C (dispatch): put warning in INFO channel
12502 * MenuBackend.C (expand): translate the name of floats
12504 * FloatList.C (FloatList): mark the float names for translation
12506 * converter.C (convert): use LibScriptSearch
12508 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12510 * MenuBackend.C (defaults): fix default menu (we might as well get
12513 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12515 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12518 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12520 * lyxvc.C: reorder includes.
12522 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12524 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12527 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12529 * CutAndPaste.C: change layouts earlier on paste
12530 to avoid crashing when calling getFont()
12532 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12534 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12537 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * WorkArea.C: remove 'Pending' debug message.
12541 * most files: ws cleanup
12543 * buffer.[Ch]: ws changes
12545 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12547 2002-03-21 Juergen Vigna <jug@sad.it>
12549 * tabular.C (SetMultiColumn): collapse also the contents of the
12550 cells and set the last border right. Added a Buffer const * param.
12552 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12557 2002-03-19 Juergen Vigna <jug@sad.it>
12559 * text2.C (clearSelection): reset also xsel_cache.
12561 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12562 where it needs to be called (John tells us to do so too :)
12563 (selectionLost): reset sel_cache.
12565 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12567 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12569 * text2.C (setCursorIntern): put debuging code in INSETS channel
12571 2002-03-19 André Pönitz <poenitz@gmx.net>
12573 * lyxfunc.C: tiny whitespace change
12575 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12577 * ToolbarDefaults.C (init):
12578 * LyXAction.C (init):
12580 * BufferView_pimpl.C (Dispatch):
12581 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12583 2002-03-19 Allan Rae <rae@lyx.org>
12585 * exporter.C (Export): removeAutoInsets before doing anything else.
12586 While I've just introduced a dependency on BufferView this really is
12587 the best place to clean the buffer otherwise you need to cleanup in
12588 a dozen places before calling export or cleanup in a dozen functions
12591 * converter.C (runLaTeX):
12592 (scanLog): Better handling of removeAutoInsets and screen updates.
12594 * lyxfunc.C (dispatch): small whitespace changes
12596 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12598 * WorkArea.C (C_WorkAreaEvent): return a value.
12599 (event_cb): return 1 if we handled the event, 0 otherwise.
12601 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12603 2002-03-18 Juergen Vigna <jug@sad.it>
12605 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12606 (GetAdditionalWidth): ditto.
12607 (RightLine): ditto.
12610 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12611 inset if we're there actually (probably not used right now but this
12612 is the direction to go for unifying code).
12613 (paste): disable code to clear the selection.
12615 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12616 inside an InsetText and move the check further up as it is in the
12619 * text2.C (pasteSelection): set a selection over the pasted text.
12621 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12623 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12624 and libgraphics to build on Cygwin.
12626 2002-03-15 Juergen Vigna <jug@sad.it>
12628 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12629 inserting an Inset into the paragraph. I know this is not the best
12630 fix but we already use current_view in CutAndPaste so we will remove
12631 all of it's using at the same time.
12633 * buffer.C (sgmlError): deactivated function till it is rewritten in
12634 the right mode, now it can create problems.
12636 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12637 before accessing it.
12639 2002-03-14 Juergen Vigna <jug@sad.it>
12641 * undo_funcs.C (textHandleUndo): do the right thing when updating
12642 the inset after the undo/redo.
12644 * text2.C (setCursor): just some testcode for #44 not ready yet.
12646 * undo_funcs.C (textHandleUndo): set the next() and previous()
12647 pointers of the paragraph to 0 before deleting otherwise we have
12648 problems with the Paragraph::[destructor].
12650 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12651 on a paragraph insertion.
12653 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12655 * buffer.C (asciiParagraph): use += operator for char append to
12658 * paragraph.C (getFontSettings): compare >= not just >
12659 (highestFontInRange): ditto
12662 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * paragraph.C: change several algorithm to be more appripriate for
12665 the problem domain. This is lookip in FontList and in the InsetList.
12667 2002-03-13 André Pönitz <poenitz@gmx.net>
12670 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12672 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12677 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12679 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * Painter.C (display): anon helper function, adjust code for this
12683 (pixmap): remove function.
12685 * Painter.h: remove private display variable.
12687 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12689 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12691 * WorkArea.[Ch]: remove figinset_canvas cruft.
12693 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12695 * lyxtextclass.C (operator): add one item cache optimization.
12697 * bufferlist.h: doxy changes
12699 * bufferlist.C: ws changes
12701 * DepTable.[Ch] (ext_exist): place const in the right spot.
12703 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12705 (workAreaExpose): call resizeInsets when the with BufferView changes.
12706 (Dispatch): adjust for protectedBlank removal
12707 (specialChar): call updateInset if the insert went ok.
12709 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12710 specialChar instead.
12712 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12714 * BufferView.h: doxy change
12716 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12718 * lyxtextclass.C (operator[]): remove non-const version
12719 (defaultLayout): remove non-const version
12721 2002-03-12 Juergen Vigna <jug@sad.it>
12723 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12724 did resize the LyXText too.
12726 * buffer.C (readLyXformat2): set layout information on newly allocated
12729 * tabular.C (OldFormatRead): set layout information on the paragraph.
12731 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12733 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12735 2002-03-11 Juergen Vigna <jug@sad.it>
12737 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12739 (resizeCurrentBuffer): force also the insets to resize themselfes.
12740 (moveCursorUpdate): fixed up for InsetText.
12742 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12745 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12746 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12747 value of Dialogs::tooltipsEnabled().
12748 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12750 2002-03-08 Juergen Vigna <jug@sad.it>
12752 * BufferView_pimpl.C (updateInset): update inset inside inset also
12753 if it isn't inside theLockingInset().
12755 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * buffer.C (asciiParagraph): redo some of the word and line length
12759 (getLists): look for Caption instead of caption.
12761 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12763 * buffer.C (Buffer): initialize niceFile to true
12765 (makeLinuxDocFile):
12766 (makeDocBookFile): make sure niceFile is true on exit
12768 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12770 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12772 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12774 * LyXSendto.C: remove.
12775 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12776 * lyx_gui.C: remove now-redundant comment.
12777 * ColorHandler.h: remove forward declaration of class WorkArea.
12778 * lyxfunc.C: remove #include "WorkArea.h".
12780 2002-03-07 Juergen Vigna <jug@sad.it>
12782 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12783 got moved away with the DEPM and also set the inset_owner always
12784 right which before could have been omitted.
12786 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12789 wanted layout is not found.
12791 2002-03-07 Juergen Vigna <jug@sad.it>
12793 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12795 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12797 * paragraph.C (breakParagraph): use default layout not layout of
12799 (Paragraph): clear ParagraphParameters.
12801 2002-03-06 Juergen Vigna <jug@sad.it>
12803 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12804 otherwise it would not be a valid lenght. Fixed a special case in
12805 the minipage compatibility read where we end the document with a
12808 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12809 was set as it could be 0 for InsetTexts first entry.
12811 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * paragraph.C (writeFile): if layout is empty write out
12814 defaultLayoutName().
12816 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12817 file without named layout we set layout to defaultLayoutName().
12819 2002-03-06 Juergen Vigna <jug@sad.it>
12821 * CutAndPaste.C (copySelection): set layout for new paragraph.
12823 * text.C (prepareToPrint): leave ERT inset left aligned
12824 (leftMargin): don't indent paragraphs inside ERT insets
12826 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * paragraph.C (breakParagraph): dont call clear do the work manually
12830 * paragraph.[Ch] (clear): remove function
12832 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * paragraph.C (Paragraph): dont call clear, the work has already
12837 * lyxtextclass.C (operator): assert if n is empty
12839 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12840 work manually instead.
12842 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12844 * BufferView_pimpl.C: protect selectionLost against text == 0
12846 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * text.C (breakParagraph): fix a setting layout to '0' problem.
12850 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12852 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12853 final location of file, for the included files, and graphics.
12855 2002-03-05 Juergen Vigna <jug@sad.it>
12857 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12859 2002-03-04 Juergen Vigna <jug@sad.it>
12861 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12863 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12864 last column of multicolumn cells.
12865 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12867 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12869 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12870 file if it doesn't go to a temporary file.
12872 * buffer.C (sgmlOpenTag):
12873 (sgmlCloseTag): remove extra newline insertion.
12875 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12877 * text.C (getRowNearY): comment out debug msg
12879 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12881 * text2.C: first -> first_y
12883 * text.C (getRowNearY): add some attemts at a possible
12884 optimization, not working.
12886 * tabular.[Ch]: add BufferParams to several function so that newly
12887 created paragraph can be initialized to he default layotu for the
12890 * tabular-old.C (ReadOld): add buf->params to call of Init
12892 * screen.C: rename text->first to text->first_y
12894 * paragraph.C (breakParagraph): always set layout in the broken
12897 * lyxtextclass.C (Read): remove lowercase
12900 (delete_layout): ditto
12902 * lyxtext.h: rename first -> first_y
12904 * lyxlayout.C (Read): remove lowercase
12907 (obsoleted_by): ditto
12909 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12911 * buffer.C (insertErtContents): add params are to InsetERT
12912 (parseSingleLyXformat2Token): add code to check if a paragraphs
12913 layout really exist.
12914 (parseSingleLyXformat2Token): add params to several inset
12916 (asciiParagraph): remove lowercase, do the layout comparisons with
12919 * BufferView_pimpl.C (cursorNext): first -> first_y
12920 (resizeCurrentBuffer): first -> first_y
12921 (updateScrollbar): first -> first_y
12922 (scrollCB): first -> first_y
12923 (workAreaMotionNotify): first -> first_y
12924 (workAreaButtonPress): first -> first_y
12925 (checkInsetHit): first -> first_y
12926 (cursorPrevious): first -> first_y
12927 (cursorNext): first -> first_y
12928 (Dispatch): add buffer_->params to severl inset contructors
12930 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12932 * lyxlayout.C (Read): remove some debug info that I forgot.
12934 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12935 clean up the code slightly.
12936 (makeLinuxDocFile): ditto
12937 (makeDocBookFile): ditto
12939 * text2.C: layout as string
12941 * text.C: layout as string
12943 * paragraph_pimpl.C: layout as string
12945 * paragraph.[Ch]: layout as string
12947 * lyxtextclasslist.[Ch]: layout as string
12949 * lyxtextclass.[Ch]: layout as string
12951 * lyxtext.h: layout as string
12953 * lyxlayout.[Ch]: layout as string
12955 * lyx_cb.C: layout as string
12957 * bufferview_funcs.C: layout as string
12959 * bufferparams.C: layout as string
12961 * buffer.C: layout as string
12963 * LyXView.[Ch]: layout as string
12965 * LaTeXFeatures.[Ch]: layout as string
12967 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12969 * BufferView_pimpl.C: change current_layout to string, remove
12974 (workAreaButtonRelease): layout as string
12976 * BufferView2.C (unlockInset): adjust
12978 * vspace.C (asLatexCommand): use an explict temp variable.
12980 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12982 * Makefile.am: use FRONTEND_*
12984 2002-03-01 Juergen Vigna <jug@sad.it>
12986 * tabular.C (SetWidthOfMulticolCell): changed to something better
12987 I hope but still work in progress.
12988 (recalculateMulticolumnsOfColumn): renamed function from
12989 recalculateMulticolCells as it is more appropriate now.
12990 (SetWidthOfCell): calculate multicols better.
12992 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12994 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12996 * lyxfunc.C (processKeySym): print sequence also if it is
12997 `deleted' (complete)
12999 * kbsequence.C (print): print sequence even if it is deleted
13000 (complete would be a better word, actually).
13002 * lyxfunc.C (dispatch): print complete options after a prefix key
13004 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13006 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13008 * text2.C (setCharFont): eliminate setCharFont code duplication.
13010 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13012 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13013 LFUN_TABULAR_FEATURE (bug #177)
13015 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13017 * Makefile.am: remove figure.h
13019 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13021 * Bufferview_pimpl.C:
13033 * text2.C: remove #include "lyx_gui_misc.h".
13035 * LaTeX.C: added #include <cstdio>
13037 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13039 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13040 that the paragraph following this one can have.
13042 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13044 * vspace.C (asLatexCommand): fix bogus gcc warning
13046 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13048 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13050 * text2.C (setLayout): get rid of redundant code
13052 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13054 * text2.C (incDepth): make sure depth cannot be increased beyond
13057 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13059 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13060 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13062 * PainterBase.h (image):
13063 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13064 a LyXImage const *.
13066 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13070 * BufferView_pimpl.C:
13071 * BufferView_pimpl.h:
13091 * sp_spell.C: remove fig inset, and the crap house of
13092 cards that follows it
13094 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13099 * os2_errortable.h:
13100 * nt_defines.h: move .h into support/
13102 * vms_defines.h: remove
13104 * WorkArea.C: add space in debug output
13108 * buffer.C: add WITH_WARNINGS
13112 * bufferlist.C: s/retrive/retrieve/, add docs
13121 * chset.C: add docs
13123 * lyxgui.C: add ID to X error handler
13125 * lyxtestclass.c: fix typo
13127 2002-02-26 Juergen Vigna <jug@sad.it>
13129 * tabular_funcs.C (write_attribute): changed so that some default
13130 attributes are not written at all.
13131 (getTokenValue): set default values before trying to read the
13132 value so we have the return value always set as default if we don't
13133 find the token we search for.
13135 * tabular.C (Write): write bools as bools not as strings!
13137 2002-02-22 Juergen Vigna <jug@sad.it>
13139 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13140 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13142 * text.C (leftMargin): don't add an indent for paragraphs inside
13143 tabular cells (fix #208).
13145 2002-02-21 José Matos <jamatos@fep.up.pt>
13147 * tabular.C (docBook): fixed support for long tables.
13149 2002-02-20 Juergen Vigna <jug@sad.it>
13151 * text2.C (getFont): get the drawing font of the Inset if this
13152 paragraph is inside an inset (only important for InsetERT for now).
13154 * buffer.C (insertErtContents): use new lanugage params in ERT
13157 * CutAndPaste.C: commenting out seemingly uneeded code.
13159 2002-02-19 Allan Rae <rae@lyx.org>
13161 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13162 Iterators might be simple to use but they also get invalidated.
13163 (removeAutoInsets): renamed saved cursor tracking variables and added
13164 some comments to clarify what everything does.
13166 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13173 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13174 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13177 * vc-backend.h: remove #include "support/syscall.h"
13181 * converter.C: rearrange #includes in Lars' approved fashion.
13183 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13184 forward declare class Timeout in the header file.
13186 * XFormsView.C: changes due to the above.
13188 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13189 similar to LyXView.
13191 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13192 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13194 2002-02-18 José Matos <jamatos@fep.up.pt>
13196 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13199 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13201 * a lot of small ws changes
13202 * add a lot of using std::XXX
13203 * use std construcs some places where approp.
13204 * use some exisint stuff from lyxfunctional where approp.
13205 * Make file changes to use partial linking (lets test this now...)
13207 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13211 remove #include "support/syscontr.h" as it's redundant. Always has been.
13219 change Systemcalls::System to Systemcalls::Wait and
13220 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13221 No change of functionality, just reflects the stripped down Systemcalls
13224 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13226 * debug.[Ch]: add a GRAPHICS type to the enum.
13228 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13230 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13232 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13235 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13237 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13238 match the changes below.
13240 * text2.C (toggleInset): if there is not editable inset at cursor
13241 position, try to see if cursor is _inside_ a collapsable inset
13244 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13246 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13247 document menu has a nice checkbox
13249 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13251 * lyxlength.C (asLatexString): change PW to output as percent of
13254 * lengthcommon.C: change '%' to 't%'
13256 * lyxfunc.C (dispatch): a few comments from Martin
13258 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13262 * BufferView_pimpl.h:
13263 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13266 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13268 * vspace.C (inPixels): fix compiler warning
13270 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13272 * lyxfunc.C (getStatus): fix status message for disabled commands.
13274 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13276 * BufferView_pimpl.C: fix crash on close buffer
13277 during selection (#227)
13279 2002-01-27 Herbert Voss <voss@lyx.org>
13281 * buffer.C: link old Figure to new graphic inset
13283 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13285 * FontLoader.C (getFontinfo): Change the latex font names in order
13286 to match the names of type1inst.
13288 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13292 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13293 (extchanged): ditto
13295 (remove_files_with_extension): ditto
13296 (remove_file): ditto
13299 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13300 document is smaller than the work area height. Do not initialize
13301 static variables to 0.
13303 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13305 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13307 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13308 LFUN_LAYOUT_PARAGRAPHS.
13310 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13311 tabular. It is possible to provide a possible cell, which will
13312 typically be the actcell from the corresponding insettabular
13314 * lyxfunc.C (getStatus): small cleanup; disable
13315 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13318 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13320 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13322 * paragraph.C (startTeXParParams):
13323 (endTeXParParams): new methods. The LaTeX code to
13324 start/end paragraph formatting
13325 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13326 empty (fixes bug #200)
13328 * vspace.C (inPixels): adapt to the change below
13329 (inPixels): [later] more cleanups (remove unused variables)
13331 * lyxlength.C (inPixels): change to use a width and a height as
13334 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13336 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13337 Replaced with \paperwidth
13339 * DepTable.C (insert): add std:: qualifier
13341 2002-01-18 Allan Rae <rae@lyx.org>
13343 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13346 * text.C (drawInset): Turned out I didn't know enough about how
13347 rebreaking worked. This fixes most of the redraw problems. I see
13348 an occasional cursor trail when a line is broken now and the cursor
13349 placement can seem out by a few pixels also after a rebreak.
13351 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13353 * buffer.C (parseSingleLyXformat2Token): update because minipage
13354 width is now a LyXLength
13356 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13358 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13361 2002-01-17 Juergen Vigna <jug@sad.it>
13363 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13365 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13366 is set correctly and the inset is updated correctly.
13368 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13370 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13371 the beginning of the loop.
13373 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13375 * lyxrc.C: improve help for use_scalable_fonts
13377 2002-01-17 Allan Rae <rae@lyx.org>
13379 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13381 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13383 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13384 make sure to set their inset_owner to the right value (bug #171)
13386 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13389 * DepTable.C: Implement mtime checking to reduce time spent doing
13392 2002-01-16 Juergen Vigna <jug@sad.it>
13394 * tabular.C (GetAdditionalHeight): one of error fixed.
13396 * lyxrc.C (output): small fix in writing use_pspell.
13398 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13400 * sp_base.h: #include LString.h
13402 2002-01-16 Allan Rae <rae@lyx.org>
13404 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13405 Can someone check this please?
13407 * text.C (drawInset): It was possible that p.row would be removed by
13408 breakAgainOneRow upsetting a few other settings. There may be another
13409 small tweak possible by setting need_break_row = 0 when p.row has been
13410 removed but I don't know enough about the logic here.
13412 2002-01-15 Allan Rae <rae@lyx.org>
13414 * text.C (insertChar): removed conditional truism.
13416 * BufferView2.C (removeAutoInsets): More tweaks.
13417 cur_par_prev could be a stray pointer. Check for trailing empty line
13418 in case last line was cur_par and only had an error inset on it.
13420 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13422 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13425 * vc-backend.C (most methods):
13426 * exporter.C (Export):
13427 * converter.C (convert):
13429 * LyXSendto.C (SendtoApplyCB):
13430 * lyxfunc.C (dispatch):
13434 * lyx_cb.C (AutoSave):
13436 * BufferView_pimpl.C (MenuInsertLyXFile):
13437 * buffer.C (runChktex): use Buffer::filePath().
13439 * buffer.h: rename filename to filename_; rename filepath to
13440 filepath_ and make it private
13441 (filePath): new method
13443 * buffer.C (writeFile): use fileName()
13446 * lyx_main.C (init): fix starting of LyX when the binary is a
13447 link from so,ewhere else.
13449 * minibuffer.C: include <cctype> for isprint
13451 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13453 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13454 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13455 name clash with InsetCollapsable's width function.
13457 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13459 * lastfiles.C: include <iterator>
13461 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13463 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13466 * buffer.C (makeLaTeXFile): ditto.
13467 Also make loop operation more transparent.
13469 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13471 * ToolbarDefaults.C: remove trailing comma closing namespace.
13473 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13475 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13478 * trans.C (Load): comment out unused variable, allowed.
13480 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13482 * minibuffer.[Ch] (append_char): new method to recieve input from the
13483 drop-down completion browser. If a key was pressed, then recieve this
13484 char and append it to the existing string.
13485 (peek_event): modify the positioning data passed to the completion
13486 browser so that it can be placed above the minibuffer rather than below.
13487 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * LyXAction.C (init): alloe error-next for readonly documents.
13491 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13494 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13496 * bufferlist.C (readFile): create the buffer _after_ checking that
13499 * lyxfunc.C (verboseDispatch): fix handling of arguments
13501 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13503 * lyxrc.C: use string::erase() instead of initializing to "".
13506 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13508 * BufferView_pimpl.h:
13509 * BufferView_pimpl.C:
13512 * text2.C: tell X when we have made a selection for copying
13514 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13516 * BufferView_pimpl.C (MenuInsertLyXFile):
13517 * lyxfunc.C (menuNew):
13519 (doImport): add shortcuts to directory buttons
13521 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13524 * lyxfunc.C (setStatusMessage):
13525 (getStatusMessage): new methods
13526 (getStatus):use setStatusMessage instead of setErrorMessage
13527 (dispatch): when function is disabled, set error message here
13528 [instead of in getStatus previously]
13530 * BufferView_pimpl.C (workAreaButtonRelease): update
13531 toolbar/menubar here too.
13533 2002-01-13 Allan Rae <rae@lyx.org>
13535 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13536 Now seems indestructible. Remaining task is to audit all other
13537 code affected by deleteEmptyParagraphMechanism. One small quirk
13538 left is that an empty document with an error in the preamble can
13539 be made to report an error but no error box appears. I don't know
13541 (removeAutoInsets): Improved comments.
13543 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13546 * Thesaurus.C: update for Aiksaurus 0.14
13548 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * text2.C (firstParagraph): removed member function, all uses
13551 replaces with ownerParagraph
13552 (redoParagraphs): here
13553 (updateInset): here
13554 (toggleAppendix): here
13555 * BufferView2.C (insertErrors): here
13556 (setCursorFromRow): here
13558 2002-01-13 Allan Rae <rae@lyx.org>
13560 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13561 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13562 There is still a way to segfault this although you may have to do this
13563 multiple times: Have an InsetERT with an unknown command in it.
13564 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13565 <down-arrow>, <Enter> again, View->DVI, BANG!
13567 * text2.C (setCursor):
13568 (deleteEmptyParagraphMechanism):
13569 * lyxtext.h (setCursor):
13570 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13571 Making use of the return value may help fix other bugs.
13573 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13575 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13577 * LyXView.C (updateMenubar): call MenuBar::update here
13578 (updateToolbar): but not here
13579 (showState): do not update toolbar/menubar
13581 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13582 should need to care about that.
13584 * lyxfunc.C (verboseDispatch): simplify a bit
13585 (getStatus): have a version which takes a pseudoaction, and
13586 another which requires a (kb_action,string).
13588 * LyXAction.C (retrieveActionArg): make it work also when action
13589 is not a pseudo-action.
13590 (getActionName): simplify a bit
13593 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13595 * lyxfunc.C (verboseDispatch): new families of methods with
13596 several ways to specify a command and a bool to indicate whether
13597 the command name and shortcut should be displayed in minibuffer
13598 (eventually, we could extend that to a finer bitmask like
13599 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13600 (dispatch): the pristine dispatch command which just, well,
13601 dispatchs! Note it still sets its result to minibuffer; I'm not
13604 * lyxfunc.h: remove setHintMessage
13606 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13608 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13610 * BufferView_pimpl.C (specialChar): delete new inset if we have
13611 not been able to insert it.
13613 * kbmap.C: revert to using int instead of kb_action, since all we
13614 are dealing with is pseudo-actions.
13616 * LyXAction.C (searchActionArg): change to return int instead of
13617 kb_action, since the result is a pseudoaction.
13619 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13621 * buffer.C (insertErtContents): Fix (partially) the font bug.
13623 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13625 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13626 as the other one is broken on my machine!
13628 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13631 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13633 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13635 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13636 reflect their actual use. Provide compatibility code for older lyxrc
13639 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13641 change names of popup font variables in line with the changes to lyxrc.C
13643 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13645 * buffer.C (asciiParagraph): avoid outputing a word twice after
13648 * lyxrc.C (getDescription): document that document_path and
13649 template_path can be empty.
13651 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13653 * LaTeXFeatures.C (getMacros):
13654 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13656 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13658 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13660 (getPackages): rename feature "floats" to "float". Use an array to
13661 iterate over 'simple' features (i.e. just a \usepackage). Add
13662 handling of "amsmath" (renamed from "amsstyle").
13664 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13666 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13669 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13671 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13672 FuncStaus::FuncStatus & FuncStaus::some_method().
13674 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13676 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13677 of the func_satus stuff. Edited and massaged in various ways by
13680 * lyxfunc.C (getStatus): use FuncStatus
13682 2002-01-08 Juergen Vigna <jug@sad.it>
13684 * text.C (nextBreakPoint): use function Inset::isChar().
13686 * paragraph.C (TeXOnePar): use function
13687 Inset::forceDefaultParagraphs.
13689 * buffer.C (latexParagraphs): use function
13690 Inset::forceDefaultParagraphs.
13692 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13694 * lyx_gui.C (init): set the style of the menu popups to
13695 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13697 2002-01-07 Juergen Vigna <jug@sad.it>
13699 * text.C (setHeightOfRow): small fix
13700 (prepareToPrint): don't look at alignment if we don't have the place
13703 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13705 * box.C: New file. Move the Box methods and functions out of box.h,
13706 following Lars' suggestion.
13708 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13710 * box.h: #include "support/LOstream.h", needed for inlined function.
13713 * lyxtextclasslist.C: added some using std declarations.
13715 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13717 * box.h: make signed dimensions to allow insets wider than
13718 the screen (bug #162)
13720 * BufferView_pimpl.C: add some insetHit debug
13722 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13724 * vc-backend.C: add FIXME
13726 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13728 * lyxfunc.C (getStatus): enable code for showing math font status
13731 2002-01-07 Juergen Vigna <jug@sad.it>
13733 * text.C (nextBreakPoint): removed debug output not needed anymore.
13735 2002-01-06 Juergen Vigna <jug@sad.it>
13737 * text.C (nextBreakPoint): fixed up this function we had this bug
13738 since ever but now hopefully we break row better.
13739 (insertChar): we have to check if an inset is the next char as it
13740 could now happen that a large inset is causing a break.
13742 2002-01-05 Juergen Vigna <jug@sad.it>
13744 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13745 if it doesn't like to be drawed.
13747 2002-01-04 Juergen Vigna <jug@sad.it>
13749 * BufferView2.C (lockInset): forgot to set a cursor.
13751 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13753 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13755 * FormMathsPanel.C:
13758 * form_maths_panel.C:
13759 * form_maths_panel.h:
13760 * form_maths_panel.fd: implemented sub- and super- buttons in math
13763 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13764 (or ^ space) to be used as in TeX (req'd by André).
13766 * lyxfunc.C: Allow ^ and _ again to be used both as
13767 super/subscript (mathed) and as themselves (in text).
13769 2002-01-03 Allan Rae <rae@lyx.org>
13771 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13772 "LyX" or the filename of the current buffer if it has one. This is a
13773 modified form of John Levon's patch.
13775 * XFormsView.C (setWindowTitle): also set icon title.
13777 * LyXView.h (setWindowTitle): signature changed.
13778 * XFormsView.h (setWindowTitle): ditto.
13780 2002-01-02 Juergen Vigna <jug@sad.it>
13782 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13784 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13786 * screen.C (topCursorVisible): introduce a temp var for
13787 text->cursor.row(), handle the case where this row is null. (kindo
13790 * text2.C (setCursor): add a couple of asserts.
13792 * paragraph.h (inset_iterator): add -> operator
13794 * paragraph.[Ch] (autoDeleteInsets): remove member function
13796 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13797 cursor pos correctly and handle inset deletion by itself.
13798 (insertErrors): move iterator declaration out of for expression
13800 * lyxtextclass.C: add <algorithm>
13802 * Makefile.am: added the new files to sources, removed layout.C
13804 * layout.C: removed file
13806 * layout.h: remove LYX_DUMMY_LAYOUT
13808 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13812 * lyxtextclass.[Ch]:
13813 * lyxtextclasslist.[Ch]: new files
13815 * include order changes to a lot of files, also changes because of
13818 2001-12-27 Juergen Vigna <jug@sad.it>
13820 * buffer.C (asciiParagraph): more fixes.
13822 * tabular.C (ascii): make ascii export support export of only the
13823 data separated by a column-delimiter.
13824 (ascii): better support for ascii export.
13826 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13828 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13830 * tabular_funcs.C: use a "using std::getline" instead of the
13831 previous fix from Angus (necessary for cxx + lyxstring)
13833 2001-12-24 Juergen Vigna <jug@sad.it>
13835 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13837 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13838 problems. First check a minipage also if we have some ert-contents
13839 (not only on par->size(), second set the right depth of the paragraph
13840 on the relink to the root-paragraph-list!
13842 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13843 which then did not anymore update the main paragraphs on undo/redo!
13845 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13847 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13848 code. Support all font-changing funcs (even those which are not in
13849 menu currently). Support for reporting font settings in
13850 mathed (disabled until Andre provides a function on mathed's side).
13852 * func_status.h (toggle): small helper function to set toggle
13855 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13857 * tabular_funcs.C: getline -> std::getline
13859 2001-12-21 Juergen Vigna <jug@sad.it>
13861 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13862 accessed and could be 0 (I couldn't generate this but it seems
13865 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13868 * tabular_funcs.h: here and include iosfwd
13870 2001-12-20 Juergen Vigna <jug@sad.it>
13872 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13873 inside inset but undo_par was.
13875 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13877 * Thesaurus.C: always include <config.h> in sources.
13881 * box.h: do not include <config.h> in header files
13883 * text.C (paintLastRow): remove unused variable
13885 * text.C (transformChar):
13887 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13889 * Painter.C (text):
13890 * font.C (width): rewrite to use uppercase() instead of
13893 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13895 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13897 * lyxfind.C: clean up of find failure position change
13899 2001-12-20 Juergen Vigna <jug@sad.it>
13901 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13903 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13904 (TeXRow): added to LaTeX a single tabular row.
13905 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13906 (Latex): simplified and finally good LT-h/f support.
13907 (various_functions): just small adaptions for LT-h/f support.
13909 * tabular_funcs.[hC]: added and moved here all not classfunctions
13912 2001-12-19 Juergen Vigna <jug@sad.it>
13914 * tabular.[Ch]: better support for longtabular options (not finished
13917 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13919 * text.C (paintLastRow): use the label font instead of the font of
13920 the last character to compute the size of *_BOX. This makes more
13921 sense and avoids a crash with empty paragraphs.
13922 Use Painter::rectangle to draw EMPTY_BOX.
13924 2001-12-19 Juergen Vigna <jug@sad.it>
13926 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13927 the paragraphs if the replaced paragraph is not the first one!
13928 Tried to delete not used paragraphs but does not work yet so for
13929 now it's inside #ifdef's and by default off!
13931 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13933 * MenuBackend.C: include "lyx_main.h" instead of declaring
13934 lastfiles (actually was declared as LastFiles* instead of a
13937 2001-12-17 Juergen Vigna <jug@sad.it>
13939 * tabular.C (AppendColumn): applied John's fix
13941 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13945 * BufferView_pimpl.h:
13946 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13949 * box.h: new start of class for above
13951 * lyxfunc.C: ignore space-only minibuffer dispatches.
13952 Show the command name when it doesn't exist
13954 * minibuffer.C: don't add empty lines to the history
13956 * minibuffer.C: add a space on dropdown completion
13958 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13960 * text.C: fix line above/below drawing in insets
13962 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * lyxlength.C (LyXLength): Initialize private variables.
13966 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13969 when inserting error insets.
13971 2001-12-13 Juergen Vigna <jug@sad.it>
13973 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13974 actually sometimes the before-paragraph.
13975 (setUndo): don't clear the redostack if we're not actually undoing!
13977 2001-12-06 Juergen Vigna <jug@sad.it>
13979 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13980 and fixed redoing of main paragraph, so we can use it now ;)
13982 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13984 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13986 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13989 2001-12-13 André Pönitz <poenitz@gmx.net>
13992 * undo_func.C: minor cleanup
13994 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13996 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13997 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13998 font in urw-fonts package which is marked as -urw-fontspecific and
13999 does not work (incidentally, changing the encoding in the
14000 fonts.dir of this package to -adobe-fontspecific fixes the
14003 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14004 is a crash when undoing first paragraph (Juergen, please take a
14005 look). THis does not mean the undo fix is wrong, just that it
14008 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14009 the (Paragraph*) version when needed instead of duplicating the
14012 * text.C (workWidth): use Inset::parOwner to find out where the
14013 inset has been inserted. This is a huge performance gain for large
14014 documents with lots of insets. If Inset::parOwner is not set, fall
14015 back on the brute force method
14017 * paragraph_pimpl.C (insertInset):
14018 * paragraph.C (Paragraph):
14019 (cutIntoMinibuffer): set parOwner of insets when
14020 inserting/removing them
14022 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14024 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14030 * mathed/formulabase.C:
14031 * mathed/math_cursor.[Ch]:
14032 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14035 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14037 * lyxlength.[Ch] (operator!=): new function
14039 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14041 * text.C (workWidth): use Inset::parOwner to find out where the
14042 inset has been inserted. This is a huge performance gain for large
14043 documents with lots of insets. If Inset::parOwner is not set, fall
14044 back on the brute force method
14046 * paragraph_pimpl.C (insertInset):
14047 * paragraph.C (Paragraph):
14048 (cutIntoMinibuffer): set parOwner of insets when
14049 inserting/removing them
14051 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14053 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14055 * tabular-old.C (getTokenValue):
14056 * tabular.C (getTokenValue):
14057 (write_attribute): new versions for LyXLength
14058 (everywhere): adjust the use of widths
14060 * tabular.h: change the type of widths from string to LyXLength
14062 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14064 * paragraph.C: fixed missing line number count when exporting
14065 Environments to LaTeX file
14067 * buffer.C: added informational message for checking line numbers.
14069 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14071 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14072 paragraph, do the 'double space' part, but not the 'empty
14075 * text.C (workWidth): small optimization
14076 (getLengthMarkerHeight): use minimal size for negative lengths.
14078 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14080 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14082 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14084 2001-12-11 André Pönitz <poenitz@gmx.net>
14087 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14089 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14091 * text2.C: keep selection on a setFont()
14093 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14095 * lyx_cb.C: another bv->text misuse, from insert label
14097 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14100 * kbsequence.C: re-instate nmodifier mask
14102 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14104 * lyx_main.h: make lyxGUI private.
14106 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14108 * lyxfind.C: place the cursor correctly on failed search
14110 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14112 * text.C (getLengthMarkerHeight): for small heights, the arrows
14113 are not always on top/bottom of the text
14114 (drawLengthMarker): smaller arrows; take the left margin in
14115 account; draw also vfills.
14117 (paintLastRow): remove special code for vfill and standard spaces,
14118 since everything is handled in drawLengthMarker now.
14120 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14122 * buffer.C (insertErtContents): try to handle font and language
14123 interaction a bit better.g
14125 * ColorHandler.C (updateColor): change the hash to cover the whole
14126 LColor enum, ws cleanup
14127 (getGCLinepars): ditto
14128 (getGCLinepars): only lookup in the linecache once.
14130 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14132 * iterators.C (operator++): Make the iterator more robust
14134 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14136 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14138 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14141 * text.C: better added space drawing
14143 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14146 * BufferView2.C: fix layout combo update on inset unlock
14148 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14150 * Makefile.am: don't compile unused files
14152 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14156 * LyXAction.C: remove old LFUN_LAYOUTNO
14158 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14160 * paragraph_pimpl.h:
14161 * paragraph_pimpl.C: isTextAt() doesn't need font param
14163 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14166 * lyxlex.C: little cleanup
14168 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14170 * BufferView_pimpl.C: fix insertAscii for insets
14172 2001-12-05 Juergen Vigna <jug@sad.it>
14174 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14175 set the right font on the "multi" paragraph paste!
14177 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14183 * lyxlength.C: remove out-commented code.
14185 * BufferView_pimpl:
14199 * vc-backend.C: change "while(" to "while ("
14201 * lyxlength.[Ch]: add zero function to check if length is zero or
14203 * lyxgluelength.C: use it
14205 2001-12-05 Allan Rae <rae@lyx.org>
14207 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14208 Works for 2.95.3, from what I understand of Garst's reports this should
14209 work for other g++ versions. We're screwed if the abs(int) definition
14210 changed between bugfix releases of gcc.
14212 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14214 * text.C: fix chapter label offset !
14216 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14219 * text.C: fix hfill at end of line, clean up
14221 2001-12-04 Juergen Vigna <jug@sad.it>
14223 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14224 that we force an update of the inset and it's owners if neccessary.
14226 2001-12-03 Juergen Vigna <jug@sad.it>
14228 * text.C (rowLast): simplified code
14230 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14232 * lyxfunc.C: fix show options on timeout
14234 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14236 * screen.C (topCursorVisible): scroll half a page when the cursor
14237 reached top of bottom of screen
14239 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14241 * minibuffer.C: deactivate on loss of focus
14243 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * vspace.[Ch] (operator!=): add operator.
14247 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14249 * BufferView_pimpl.C: refuse to open an inset when
14250 there's a selection.
14252 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14254 * BufferView_pimpl.C: allow to click on RHS of full row insets
14256 2001-11-30 Juergen Vigna <jug@sad.it>
14258 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14259 insets for undo reasons.
14261 2001-11-28 André Pönitz <poenitz@gmx.net>
14263 * vspace.[Ch]: cosmetical changes
14265 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14275 * kbsequence.C: part re-write of old kb code
14278 * WorkArea.C: remove Lgb_bug_find_hack
14280 2001-11-30 José Matos <jamatos@fep.up.pt>
14282 * buffer.C (makeDocBookFile): add a comment to point a hack.
14283 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14284 Fixed a double write of labels.
14286 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14289 * LaTeX.h Fixed bug in LaTeX class where it would not
14290 re-run latex if no depfiles were changed, but the .dvi was removed.
14292 2001-11-28 André Pönitz <poenitz@gmx.net>
14294 * all the files from the change on 2001/11/26:
14295 use lyx::layout_type instead of LyXTextClass::size_type
14296 use lyx::textclass_type instead of LyXTextClassList::size_type
14298 2001-11-29 Juergen Vigna <jug@sad.it>
14300 * text.C: added support for paragraph::isFreeSpacing()
14302 * buffer.C: same as above
14304 * paragraph.h: inserted isFreeSpacing() function to enable
14305 FreeSpacing inside InsetERT.
14307 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14308 of the paragraph's in the cut/copy buffer to 0!
14310 * text2.C (removeRow): remove the assert as it can!
14312 * lyxtext.h: added helper function firstRow returning firstrow and
14313 made firstrow private again.
14315 * BufferView2.C (lockInset): don't relock if we're already locked!
14317 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14318 the only paragraph.
14319 (removeRow): added Assert::(firstrow)
14321 * debug.C: forgot to add INSETTEXT here.
14323 2001-11-28 Juergen Vigna <jug@sad.it>
14325 * sp_spell.C (initialize): changed error text to more general
14326 spellchecker command use (not only ispell!)
14328 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14330 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14332 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14334 * vspace.C: initialise lyxgluelength on failure
14336 2001-11-28 Allan Rae <rae@lyx.org>
14338 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14339 declaration & definition that looks like a function declaration.
14341 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * BufferView2.C (copy):
14344 (copyEnvironment): do not clear the selection when doing a copy.
14346 * text.C (paintFirstRow): compilation fix
14348 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14350 * tabular.C (Latex): correct line count when writing latex.
14352 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14354 * paragraph_pimpl.h:
14355 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14358 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14362 * LColor.C: change vfillline->added_space
14364 * text.C: add markers and text for added space
14366 * vspace.C: fix comment
14368 2001-11-28 André Pönitz <poenitz@gmx.net>
14370 * paragraph.C: whitespace changes
14371 * all the other files from the change on 2001/11/26:
14372 change *::pos_type into lyx::pos_type
14374 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14376 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14377 language of the document when inserting error insets.
14379 2001-11-26 André Pönitz <poenitz@gmx.net>
14381 * BufferView_pimpl.[Ch]:
14389 * paragraph_pimpl.[Ch]:
14392 * text2.C: reduce header dependencies, introduce type for positions
14394 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14396 * <various>: change to use Alert.h
14398 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14400 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14401 when encountering an unknown token.
14402 (readLyXformat2): Show an error message if there were unknown tokens.
14404 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14407 * BufferView_pimpl.C:
14411 * text2.C: use par->isInset()
14413 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14415 * paragraph_pimpl.h:
14416 * paragraph_pimpl.C: cleanup
14418 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14420 * text2.C (removeRow):
14421 * text.C (setHeightOfRow): remove useless (and costly) call to
14424 2001-11-20 Allan Rae <rae@lyx.org>
14426 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14427 Now need Inset*::checkInsertChar() to return true for appropriate
14428 cases so that the characters in the minibuffer will actually be
14431 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14433 * text.C: change the order of the includes.
14434 (workWidth): initialize it at once.
14435 (workWidth): make maxw unsigned
14436 (setHeightOfRow): remove unused variable (inset)
14437 (selectSelectedWord): remove unused variable (inset)
14438 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14440 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14443 server is not running.
14445 (closeConnection): add debug info when server is disabled.
14447 * ColorHandler.C (getGCForeground): send debug message to GUI
14450 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14452 * kbmap.C (bind): modify because return conventions of
14453 kb_sequence::parse have changed.
14455 * kbsequence.C (parse): only ignore spaces and not any stupid
14456 control character. This avoids tests like s[i] <= ' ', which are
14457 guaranteed to fail with 8bit characters and signed chars.
14458 Change return code to string::npos when there have been no error
14459 (0 was a bad idea when error is at first character)
14461 2001-11-14 José Matos <jamatos@fep.up.pt>
14464 * buffer.C (simpleDocBookOnePar): removed unused argument.
14466 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14468 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14469 insets which are part of a word. Paragraph::isLetter takes care of
14470 that now. Use Paragraph::isInset to identify insets.
14471 (selectSelectedWord): do not test for hyphenation break.
14473 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14474 that protected spaces are considered as spaces.
14476 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14479 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14482 * lyxserver.C: fix it. and small cleanup.
14484 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14486 * BufferView_pimpl.C: use inline helpers
14489 * LaTeXFeatures.C: fix typos
14492 * Spacing.C: move spacing_string into class
14494 * ToolbarDefaults.C: move stuff into namespace anon
14496 * layout.h: update enum
14498 * lyxfunc.C: use better debug
14500 * minibuffer.h: fix typo
14504 * WorkArea.C: add and use Debug::WORKAREA
14508 * text2.C: code re-organisation, inline helpers
14510 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14512 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14513 std::vector.empty().
14515 2001-11-09 Allan Rae <rae@lyx.org>
14517 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14518 '\n's after tables. Tabular and ERT inset work now makes this no
14521 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14524 * minibuffer.C: fix crash, improve drop-down completion
14526 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14529 * lyxserver.C: invalidate fd's when doing endPipe()
14531 2001-11-08 José Matos <jamatos@fep.up.pt>
14533 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14534 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14537 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14539 2001-11-07 José Matos <jamatos@fep.up.pt>
14542 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14545 * buffer.C (sgmlOpenTag):
14546 * buffer.C (sgmlCloseTag): removed debug info.
14548 * buffer.h (sgmlOpenTag):
14549 * buffer.h (sgmlCloseTag): made public.
14551 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14553 * buffer.C (saveParamsAsDefaults):
14554 * lyx_cb.C (MenuLayoutSave): remove
14556 * LyXAction.C (init):
14558 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14560 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14562 * buffer.C (setPaperStuff): removed from here...
14564 * bufferparams.C (setPaperStuff): ... and moved there.
14566 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14570 * XFormsView.C: add support for drop-down completion
14572 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14574 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14577 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14579 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14582 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14584 * lyx_main.C: change ref to known bugs
14586 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14588 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14589 to work around older babel problems.
14591 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14593 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14595 2001-10-24 Juergen Vigna <jug@sad.it>
14597 * tabular-old.C (ReadOld): below variable changes reflected.
14599 * tabular.[Ch]: added ltType struct for longtable header/footer
14600 defines and changed all instances where they are used. Added
14601 future support for double top/bottom rows.
14603 2001-10-24 José Matos <jamatos@fep.up.pt>
14605 * buffer.h (docbookHandleCaption):
14606 * buffer.C (docbookHandleCaption): removed unused function.
14607 (makeDocBookFile): moved docbook supported version to v4.1.
14609 2001-10-24 José Matos <jamatos@fep.up.pt>
14612 * tabular.C (docbookRow): new function to export docbook code of a row.
14613 (DocBook): now honors the longtable flags.
14615 2001-10-23 José Matos <jamatos@fep.up.pt>
14618 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14619 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14621 * buffer.C (makeLinuxDocFile):
14622 (makeDocBookFile): reworked the preamble, more clean, and with
14623 support for lyx defined entities. Changed the document declaration
14624 to be more XML friendly.
14626 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14627 if we need to output XML that should be done with a filter.
14629 2001-10-22 Juergen Vigna <jug@sad.it>
14631 * sp_pspell.h (class PSpell): add alive function needed in the
14632 controller to see if the spellchecker could be started.
14634 2001-10-22 Juergen Vigna <jug@sad.it>
14636 * buffer.C (insertStringAsLines): modify the font for inserting
14637 chars in certain conditions by calling checkInsertChar(font).
14639 2001-10-19 Juergen Vigna <jug@sad.it>
14641 * text.C (workWidth): use getRow instead of wrong algorithm.
14642 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14644 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14649 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14651 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14653 * text.C (workWidth): do not search for the exact row when
14654 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14655 optimization for big documents.
14657 2001-10-18 Juergen Vigna <jug@sad.it>
14659 * text.C (workWidth): new function with added Inset * parameter.
14661 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14665 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14666 change return type of getColumnNearX.
14669 * text.C (changeRegionCase): use uppercase/lowercase instead of
14672 (rightMargin): simplify code by factoring out the uses of
14677 (appendParagraph): use Paragraph::size_type
14679 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14681 * vspace.C (asLatexString): add a missing break
14683 2001-10-15 Herbert Voss <voss@perce.de>
14685 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14687 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14689 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14692 2001-10-10 André Pönitz <poenitz@gmx.net>
14694 * lyxfunc.C: removed greek_kb_flag.
14696 2001-10-10 Herbert Voss <voss@perce.de>
14698 * lyx_main.C: delete global string help_lyxdir.
14700 2001-10-09 Herbert Voss <voss@perce.de>
14702 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14704 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14706 * lyx_main.C: added global string help_lyxdir.
14708 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14710 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14712 * lyxrc.C (set_font_norm_type): support iso8859-4
14714 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14716 * LaTeX.C (deplog): add another regex for MikTeX
14718 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14720 * lyxrc.C (set_font_norm_type): support iso8859-3
14722 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14724 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14726 * LaTeXFeatures.C: remove special case of french and index
14728 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14729 before \begin{document}). This solves several incompatibilities.
14731 2001-10-03 Garst Reese <reese@isn.net>
14733 * lyx_cb.C: change CheckTex error msg.
14735 2001-10-03 José Matos <jamatos@fep.up.pt>
14737 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14739 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14741 * .cvsignore: update
14743 * lyx_main.C (commandLineVersionInfo): use new style version info.
14745 * buffer.C (writeFile):
14747 (makeLinuxDocFile):
14748 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14750 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14752 * version.h: update to use stuff in version.C
14754 * version.C.in: new file. Contains version information determined
14755 at compile time. This is a merging of version.h and
14758 2001-10-03 Juergen Vigna <jug@sad.it>
14760 * BufferView_pimpl.C (update): don't change "dirty" status in
14763 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14765 * WorkArea.C (c-tor): re-position version string slightly.
14767 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14769 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14770 revert to previous code.
14772 WorkArea.[Ch]: (show, destroySplash): methods removed.
14774 WorkArea.C: rework code so that it's an amalgam of the codes before and
14775 after the splash screen was moved to WorkArea.
14777 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14780 * vspace.C (inPixels):
14783 * buffer.C (insertStringAsLines):
14784 (asciiParagraph): fix types to be large enough
14786 * lyxlex_pimpl.h: change member status from short to int
14788 * layout.h: fix type of endlabeltype
14791 * kbsequence.C (parse): change return type to string::size_type
14793 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14796 * Bullet.C (bulletSize):
14797 (bulletEntry): do not use short ints as parameters
14799 * BufferView2.C (insertLyXFile): change a char to an int.
14801 * WorkArea.C (WorkArea): remove unneeded floats in computation
14803 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14805 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14807 * paragraph.C (asString): Do not ignore newline/hfill chars when
14808 copying to the clipboard.
14810 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14812 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14813 after a multi-line inset.
14815 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14817 * paragraph.C (validate): Set NeedLyXFootnoteCode
14819 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14821 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14822 and decrease-error to decrease.
14824 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14826 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14827 it more readable (should be equivalent)
14829 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14831 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14833 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14835 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14836 of a cursor (row, etc.) after a character has been deleted
14837 (deleteEmptyParagraphMechanism): call the method above on _all_
14838 cursors held by the LyXText when a double space has been
14841 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14843 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14845 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14847 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14848 background. Use greyOut() and the new show() methods to toggle between
14849 the foreground and background. Add code to remove the splash after
14850 its initial showing.
14852 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14853 (create_forms): no longer call Dialogs::showSplash.
14855 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14857 * .cvsignore: add version_info.h
14859 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * version_info.h.in: new file
14863 * Makefile.am: add version_info.h.in
14865 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14866 version_info.h instead of VERSION_INFO
14868 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14870 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14871 The ERT inset now returns string().
14873 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14875 * lyxtext.h, text.C (selectNextWord): renamed as
14876 selectNextWordToSpellcheck.
14878 * text.C (selectNextWordToSpellcheck): Modified to not select
14879 words inside an ERT inset.
14881 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * lyx_cb.C (MenuLayoutSave): change a bit the question
14885 * sp_base.h: include <sys/types.h>
14887 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14889 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14891 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14893 * several files: fix typos in user-visible strings
14895 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * text2.C (pasteSelection): do not set the selection, since it
14898 will be cleared later. Actually, the intent was to fix the way the
14899 selection was set, but I figured rmoving the code was just as good.
14901 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14903 * FontLoader.C (available): Check if font is available without
14906 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14908 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14910 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14912 * lyxrc.[Ch]: added display_graphics variable and associated code.
14914 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14916 * bufferparams.C (hasClassDefaults): new method. Returns true if
14917 the buffer parameters correspond to known class defaults
14919 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14921 * XFormsView.C (show): set minimum size to the main window.
14923 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14925 * text2.C (copySelection):
14927 * lyxfind.C (LyXReplace):
14928 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14929 LyXText::selectionAsString.
14931 * paragraph.C (asString): add "label" argument to the second form
14933 * text2.C (selectionAsString): add "label" argument and pass it to
14934 Paragraph::asString.
14936 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14938 * lyx_main.C (commandLineHelp): remove version information
14940 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14942 * lyx_main.C: add -version commandline option
14944 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14946 * paragraph.h: make the optional constructor arg required instead.
14947 some modifications to other files because of this.
14949 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14951 * lyxserver.C (C_LyXComm_callback): make it static
14953 * lyx_main.C (error_handler): make it static
14955 * lyx_gui.C (LyX_XErrHandler): make it static
14957 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14959 * WorkArea.C: make the extern "C" methods static.
14961 * Makefile.am (lyx_LDADD): simplify
14963 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14965 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14966 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14968 * LyXAction.C (init):
14969 * lyxfunc.C (dispatch): associated code removal.
14971 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14973 * lyxfont.h (isSymbolFont): shut off warning
14975 * text.C (setHeightOfRow):
14976 (getVisibleRow): fix crash with empty paragraphs which have a
14979 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14981 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14984 2001-09-04 José Matos <jamatos@fep.up.pt>
14987 * tabular.C (docbook): rename docBook method to docbook.
14989 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14991 * Makefile.am: add dependencies to main.o.
14993 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14995 * FontLoader.C (available): Return false if !lyxrc.use_gui
14997 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14999 * FontInfo.C (query):
15000 * converter.C (view):
15001 * importer.C (Import):
15002 * exporter.C (Export): Can not -> cannot.
15004 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15006 * BufferView_pimpl.C: allow to create index inset even if
15009 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15011 * buffer.C (getLists): replace boost::tie code with an explicit pair
15012 as boost::tie can break some compilers.
15014 * iterators.h: Added a std:: declaration to the return type of
15017 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15019 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15022 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15024 * iterators.[Ch]: New files. Provide paragraph iterators.
15026 * buffer.C (changeLanguage): Use paragraph iterators.
15027 (isMultiLingual): ditto
15029 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15031 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15033 * FontLoader.C: Support for cmr font.
15035 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15037 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15038 (available): New method.
15040 * FontInfo.C (getFontname): Use scalable fonts even when
15041 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15044 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15046 * converter.C (Formats::view): reverted! Incorrect fix.
15048 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15050 * converter.C (Formats::view): only output the -paper option
15051 if the dvi viewer is xdvi, thereby fixing bug #233429.
15053 2001-08-23 Herbert Voss <voss@perce>
15055 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15057 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15059 * Spacing.h (Spacing): Set space to Default on in the default
15062 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15064 * vc-backend.h (RCS::versionString): add RCS to version
15065 (CVS::versionString): add CVS to version
15067 * vc-backend.C (scanMaster): do not add CVS to version.
15068 (scanMaster): do not add RCS to version
15070 * lyxvc.C (versionString): new method
15072 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15074 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15076 * Spacing.C (set): initialize fval
15078 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15080 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15083 2001-08-16 Juergen Vigna <jug@sad.it>
15085 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15087 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15089 * BufferView_pimpl.C:
15092 * text2.C: setParagraph takes linespacing now
15094 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15096 * LyxAction.C: add internal LFUN_CITATION_INSERT
15098 * LyXView.C: actually apply fix
15100 * bufferlist.C: fix open non-existent file
15102 * lyxfind.C: fix indentation
15104 * lyxfunc.C: remove unneeded assert, fix typo
15106 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15108 * MenuBackend.C: use "Floatname List"
15110 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15112 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15113 when converting LaTeX layout to insetERT.
15114 Generate a non-collapsed float when reading old float
15116 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15118 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15121 2001-08-13 Juergen Vigna <jug@sad.it>
15123 * text.C (fill): return 0 instead of 20 as this seems to be the more
15126 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15128 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15131 2001-08-13 Juergen Vigna <jug@sad.it>
15133 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15135 (SearchBackward): comment out the unlocking of the inset_owner this
15136 should not be needed!
15138 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15140 * Many files: Remove inherit_language, and add latex_language
15142 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15143 collapsible insets.
15145 2001-08-10 Juergen Vigna <jug@sad.it>
15147 * text.C (prepareToPrint): fixed hfill-width in draw!
15149 * BufferView2.C (selectLastWord): save the selection cursor as this
15150 now is cleared in the function LyXText::clearSelection!
15152 2001-08-08 Juergen Vigna <jug@sad.it>
15154 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15155 BACKSPACE type functions.
15157 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15158 is only cutted from the document but not put in the cut-buffer, where
15159 still the old stuff should be.
15161 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15163 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15165 * tabular.C (SetWidthOfCell): fixed special case where the width
15167 (LeftLine): handle '|' in align_special.
15169 (LeftAlreadyDrawed): ditto
15170 (SetWidthOfCell): ditto
15172 2001-08-07 Juergen Vigna <jug@sad.it>
15174 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15176 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15178 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15179 * lyxlex.[hC]: ditto
15181 2001-08-06 Juergen Vigna <jug@sad.it>
15183 * text.C (getVisibleRow): fix up row clearing a bit.
15185 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15187 * minibuffer.C: make sure the X server sees the changes in the input.
15189 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15191 * paragraph.C (getFont): split into...
15192 (getLabelFont): this
15193 (getLayoutFont): and this
15194 * paragraph_pimpl.C (realizeFont): calling this
15196 * text2.C (getFont): split into...
15197 (getLayoutFont): this
15198 (getLabelFont): and this
15199 (realizeFont): all three calling this
15201 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15204 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15206 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15208 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15210 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15211 layouts from the Quote inset insertion.
15213 2001-08-03 Juergen Vigna <jug@sad.it>
15215 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15217 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15218 only if status not is already CHANGED_IN_DRAW (second level).
15220 * text.C (draw): don't set the need_break_row when inside an
15223 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15225 * buffer.C (parseSingleLyXformat2Token): handle more latex
15228 * bufferview_funcs.[hC]: change function names to
15229 begin with small char, adjust other files.
15231 2001-08-02 André Pönitz <poenitz@gmx.net>
15234 BufferView_pimpl.C: remove broken special code for math-greek
15236 2001-08-02 Juergen Vigna <jug@sad.it>
15238 * BufferView_pimpl.C (update): redone this function so that we
15239 update the text again if there was a CHANGE_IN_DRAW.
15241 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15242 (drawFromTo): added a new internal bool which is used by draw() and
15244 (general): some cursor drawing problems fixed.
15246 2001-08-01 Juergen Vigna <jug@sad.it>
15248 * lyxfind.C (LyXFind): fixed
15249 (SearchForward): ditto
15250 (SearchBackward): ditto
15252 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15253 spurius drawing of the cursor in the main area.
15255 * text2.C (status): small fix which could lead to a segfault!
15256 (clearSelection): remove unneeded BufferView param.
15258 2001-08-01 André Pönitz <poenitz@gmx.net>
15260 * lyxfunc.C: small change due to changed mathed interface
15262 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15266 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15268 * lyxfunc.c: fail gracefully if file doesn't exist
15273 * BufferView_pimpl.C: IsDirWriteable() proto changed
15275 * LyXView.C: fix updateWindowTitle() to store the last title
15277 2001-07-31 Juergen Vigna <jug@sad.it>
15279 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15280 the font (wrong since using of Paragraph::highestFontInRange).
15282 * paragraph.C (highestFontInRange): added a default_size parameter.
15284 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15285 (setHeightOfRow): reformat
15287 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15289 * converter.[hC] + affected files: move to (inital-char)lowercase
15292 * ParagraphParameters.C (ParagraphParameters): remove commented code
15294 * PainterBase.[Ch]: remove commented code
15296 * LaTeXFeatures.h: add "bool floats" for float.sty
15298 * LaTeXFeatures.C (LaTeXFeatures): init floats
15299 (require): handle float
15300 (getPackages): do it with floats
15302 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15304 * BufferView_pimpl.C (Dispatch): improve handling of
15305 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15307 * commandtags.h: #include lyxfont.h here temporarily to avoid
15310 * bufferlist.h: include LString.h here.
15312 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * text2.C (getStringToIndex): new method.
15316 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15318 * *: Reduced header file dependencies all over.
15320 2001-07-30 Baruch Even <baruch@lyx.org>
15322 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15324 2001-07-29 Baruch Even <baruch@lyx.org>
15326 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15328 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15330 * ParameterStruct.h (endif): add a default constructor to make
15331 sure that all variables is initialized.
15333 * ParagraphParameters.C (ParagraphParameters): adjust
15335 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15338 index; also, check that there is something to index, and that it
15339 does not span over several paragraphs.
15340 (doubleClick): use WHOLE_WORD_STRICT for double click.
15342 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15344 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15347 2001-07-26 Baruch Even <baruch@lyx.org>
15349 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15350 an InsetFig figure, backwards compatible reading of old figure code.
15352 2001-07-27 Juergen Vigna <jug@sad.it>
15354 * text2.C: font.realize function adaption.
15356 * text.C (draw): add a warnings lyxerr text if needed.
15358 * layout.C: font.realize function adaption.
15360 * language.C: add inherit_language and implement it's handlings
15362 * bufferview_funcs.C (StyleReset): remove language parameter from
15363 font creation (should be language_inherit now).
15365 * bufferparams.C (writeFile): handle ignore_language.
15367 * paragraph.C (getFontSettings): the language has to be resolved
15368 otherwise we have problems in LyXFont!
15370 * lyxfont.C (lyxWriteChanges): added document_language parameter
15371 (update): removed unneeded language parameter
15373 * paragraph.C (validate): fixed wrong output of color-package when
15374 using interface colors for certain fonts in certain environments,
15375 which should not seen as that on the final output.
15377 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15379 * BufferView_pimpl.C:
15384 * LyXAction.C: add thesaurus support
15387 * lyxfind.C: add "once" parameter, for thesaurus, to not
15388 move to the next match
15390 2001-07-26 Juergen Vigna <jug@sad.it>
15392 * lyxfont.C (realize): honor ignore_language too!
15395 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15397 * text.C (draw): one place more for ignore_language to not draw
15400 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15402 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15404 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15406 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15407 the minipage conversion problem.
15409 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15411 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15414 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15416 * BufferView.h: don't forward declare WorkArea
15418 * BufferView.C: don't include WorkArea.h
15420 2001-07-25 André Pönitz <poenitz@gmx.net>
15424 * lyxfunc.C: new LFUN 'math-space'
15426 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15428 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15430 * text2.C (toggleInset): call open/close
15432 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15434 * lyxfunc.C (dispatch): add debug for the disabled case
15436 * font.C (buttonText): make similar to rectText
15438 * buffer.C (readInset): comment out parsing of insetlist and
15441 * PainterBase.C (rectText): small correction
15443 * BufferView_pimpl.C: comment out insettheorem and insetlist
15444 * LyXAction.C: ditto
15445 * commandtags.h: ditto
15447 2001-07-24 Juergen Vigna <jug@sad.it>
15449 * text.C (draw): honor the ignore_language.
15451 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15453 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15455 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15458 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15460 * lyxtext.h: remove unused (and unimplemented) methods
15462 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15464 * text.C (getVisibleRow): honor background color
15467 * Painter.h: remove default color argument for fillRectangle
15469 * text.C (backgroundColor): new method
15471 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15473 * text.C (getVisibleRow): adjust
15475 * font.[Ch] (rectText): new method, metrics
15476 (buttonText): new method, metrics
15478 * PainterBase.[hC]: make rectText and buttonText always draw and take
15481 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15483 * ToolbarDefaults.C (read):
15484 * MenuBackend.C (read): allow escaping in all strings
15486 * BufferView_pimpl.C (insertAndEditInset): new method.
15487 (Dispatch): use insertAndEditInset whenever appropriate.
15489 * BufferView_pimpl.C (insertNote): removed
15491 * BufferView_pimpl.C (smartQuote): new method, moved from
15492 BufferView; if an insetquote cannot be inserted, insert a '"'
15495 * BufferView2.C: remove insertCorrectQuote();
15497 * lyxfunc.C (getStatus): Add support for all remaingin
15498 inset-insert lfuns.
15500 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15502 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15503 command (necessary to pass " as parameter of self-insert.
15505 * text.C (selectWordWhenUnderCursor):
15506 (selectWord): add word_location parameter
15507 (selectWordWhenUnderCursor): same + remove special code for word
15509 (selectNextWord): use kind() to guess type of insetspecialchar,
15512 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15513 (insertErtContents): create ert insets as collapsed.
15514 (readInset): better compatibility code for Info inset.
15516 2001-07-20 Juergen Vigna <jug@sad.it>
15518 * lyxfunc.C (dispatch): use always LyXFind now!
15520 * text2.C (init): add a reinit flag so that the LyXText can be
15521 reinited instead of deleted and reallocated (used in InsetText).
15523 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15529 2001-07-18 Juergen Vigna <jug@sad.it>
15531 * text.C (selectNextWord): handle insets inside inset by calling
15532 always the bv->text functions so that we can go up the_locking_inset!
15534 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15535 in strange locations when inside an inset!
15537 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15538 handling to include insets.
15540 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15542 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15544 * LyXAction.C (init):
15546 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15547 LIGATURE_BREAK, since the name is so stupid.
15549 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15551 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15554 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15556 * sp_form.[Ch]: remove.
15558 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15560 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15563 * src/buffer.C (readInset): ditto.
15565 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15567 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15568 menuSeparator(), endOfSentenceDot(), ldots() and
15569 hyphenationPoint(), which are therefore removed.
15570 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15572 * LyXAction.C (init):
15573 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15575 * paragraph.C (getWord): removed.
15577 * BufferView_pimpl.C (Dispatch): use last word or selection for
15578 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15580 * lyx_main.C (queryUserLyXDir): do not ask before creating
15581 user_dir, except if it has been named explicitely.
15583 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15585 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15586 a document of zero size.
15588 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15590 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15591 approriately in the c-tor and in require().
15592 (getPackages): output the appropriate LaTeX for natbib support.
15594 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15595 variables "use_natbib" and "use_numerical_citations" when reading the
15597 (readInset): read the various natbib cite commands.
15598 (validate): white-space change.
15600 * bufferparams.[Ch]: new variables "bool use_natbib" and
15601 "bool use_numerical_citations".
15602 (writeFile): output them in the LyX file.
15604 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15606 * lyxfunc.C (getStatus): add support for all the inset insertion
15609 * text2.C (insertInset):
15610 * paragraph.C (insetAllowed):
15611 * BufferView_pimpl.C (insertInset): update to take in account the
15612 renaming of insertInsetAllowed
15614 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15616 * text2.C (getInset): new method. returns inset at cursor position.
15618 * BufferView_pimpl.C (Dispatch): changes because of this.
15620 * LyXAction.C (init): rename open-stuff to inset-toggle.
15622 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15624 * text2.C (toggleInset): renamed from openStuff; use
15627 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15629 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15631 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15633 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15635 * buffer.C (readLyXformat2): Add filename to the error dialog
15637 2001-07-18 Juergen Vigna <jug@sad.it>
15639 * tabular.C (GetCellNumber): put an assert here instead of the check!
15641 2001-07-17 Juergen Vigna <jug@sad.it>
15643 * BufferView_pimpl.C (toggleSelection): adapted too.
15645 * text.C (selectNextWord): adapted for use with insets.
15646 (selectSelectedWord): ditto
15648 2001-07-17 Juergen Vigna <jug@sad.it>
15650 * sp_spell.C (PSpell): fix initialitation order.
15652 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15654 * paragraph.C: spacing
15656 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15658 * sp_spell.C: repair language selection for pspell
15660 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15662 * lyxfunc.h: change more methods to begin with lower char.
15664 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15666 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15667 for unknown layouts.
15669 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15671 * buffer.C (readLyXformat2): Generate an error dialog if there are
15674 2001-07-16 Juergen Vigna <jug@sad.it>
15676 * sp_spell.C: always compile ISpell part.
15678 * lyxrc.C: added use_pspell entry and it's handling.
15680 2001-07-13 Juergen Vigna <jug@sad.it>
15682 * sp_spell.C: removed double includes.
15684 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15686 Consistent use of Lsstream.h:
15687 * Lsstream.h: added using std::stringstream for consistencies sake.
15689 * buffer.C: removed using std::stringstream
15691 * lyxfont.C (stateText):
15692 * paragraph.C (asString):
15693 * text.C (selectNextWord, selectSelectedWord):
15694 * text2.C (setCounter):
15695 * vspace.C (asString, asLatexString):
15696 std::ostringstream -> ostringstream.
15698 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15700 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15701 * commandtags.h: add LFUN_HELP_ABOUTLYX
15702 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15704 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15706 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15708 * lyx_gui_misc.C: remove spellchecker
15709 * lyxfunc.C: showSpellchecker
15711 * sp_ispell.h: added
15712 * sp_pspell.h: added
15713 * sp_spell.C: added
15714 * sp_form.[Ch]: removed
15715 * spellchecker.[Ch]: removed
15717 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15719 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15721 (simpleTeXSpecialChars): Simply print the input character without
15722 any special translation if pass_thru is set.
15724 * layout.h: Added bool pass_thru to layout class for being able to
15725 implement pass through of a paragraph for Literate Programming.
15727 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15728 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15729 * layout.C (Read): add "passthru" to list of layout tags and add
15730 code to set the pass_thru boolean when it is read.
15732 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15734 * trans_decl.h: remove allowed from KmodInfo
15736 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15737 remove allowed code
15740 * paragraph_pimpl.C (erase): use boost::prior
15742 * Painter.C (text): use data() instead of c_str() when length is
15744 * WorkArea.C (putClipboard): ditto
15745 * font.h (width): ditto
15747 * BufferView2.C: use it-> instead of (*it). for iterators
15749 * paragraph_pimpl.C: ditto
15750 * paragraph.C: ditto
15751 * minibuffer.C: ditto
15752 * language.C: ditto
15754 * encoding.C: ditto
15755 * counters.C: ditto
15756 * converter.C: ditto
15758 * Variables.C: ditto
15759 * TextCache.C: ditto
15760 * MenuBackend.C: ditto
15761 * LyXAction.C: ditto
15763 * FloatList.C: ditto
15764 * DepTable.C: ditto
15765 * ColorHandler.C (LyXColorHandler): ditto
15767 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15769 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15771 * text2.C (openStuff): reintroduce this method (which had been
15772 nuked in NEW_INSETS frenzy).
15774 * lyxfunc.C (Dispatch): when an action has not been handled, use
15775 its name in the error message, not its number.
15777 * paragraph.C (inInset): change method name to begin with lowercase.
15780 * text2.C: updates because of this.
15782 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15784 * ToolbarDefaults.C (add): add spaces in error message
15786 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15788 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15789 (readLyXformat2): rename return_par to first_par, use lyxlex's
15790 pushToken and remove the manual push handling.
15791 (parseSingleLyXformat2Token): add another ert comp. variable:
15792 in_tabular, rename return_par to first_par. handle newlines better
15794 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15796 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15798 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15800 * text2.C (getParFromID): removed
15802 * buffer.C (getParFromID): new method moved form lyxtext.
15803 * BufferView2.C (insertErrors): adjust
15804 (setCursorFromRow): adjust
15805 * BufferView_pimpl.C (restorePosition): adjust
15806 * lyxfunc.C (Dispatch): adjust
15807 * undo_funcs.C (textUndo): adjust
15809 (textHandleUndo): adjust
15810 (textHandleUndo): adjust
15812 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15814 * buffer.C: up' the LYX_FORMAT
15816 * lyxfont.h: turn NO_LATEX on as default
15818 * buffer.C (insertErtContents): new methods of tex style compability.
15819 (parseSingleLyXformat2Token): use it several places.
15820 * tabular.C (OldFormatRead): and here
15822 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15824 * text2.C: remove some commented code.
15827 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15828 * trans.C: changes because of the above.
15830 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15832 * text2.C (setCounter): Fix counters bug with bibliography layout.
15834 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15836 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15837 own member functions
15838 (simpleTeXSpecialChars): ditto
15840 2001-07-06 Juergen Vigna <jug@sad.it>
15842 * a lot of files: changed the access to LyXText::status and the
15843 call of undo-functions.
15845 * undo.[Ch]: added a inset_id to the undo informations.
15847 * undo_funcs.[Ch]: added and moved here all undo functions.
15849 * lyxtext.h: give the status enum a weight, made status_ a private
15850 variable and made accessor functions for it, removed the whole bunch
15851 of undo-functions as they are now in their own file, make some
15852 functions publically available. Added function ownerParagraph with
15855 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15856 made InInset() a const function, added getParFromID() function.
15858 * buffer.[Ch]: added const version for inset_iterator functions,
15859 added getInsetFromID() function.
15861 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15862 changed undo functions for new version.
15864 2001-07-05 Juergen Vigna <jug@sad.it>
15866 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15867 unknow mechanism does not call the proper constructor but only this
15868 one also if I request the other!?
15870 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15872 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15874 * text2.C (LyXText): use initialization lists.
15876 * lyxtext.h (Selection): initialize set_ and mark_
15877 (init): remove method
15879 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15881 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15883 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15885 * screen.[Ch]: change method names to begin with lowercase
15887 * BufferView_pimpl.C (updateScrollbar): simplify further and
15888 hopefully make it a bit faster.
15890 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15892 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15893 calling directly xforms functions.
15895 * Painter.C (Painter):
15896 * lyx_cb.C (MenuWrite):
15897 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15900 * lyx_gui.C: remove bogus guiruntime extern declaration.
15902 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15904 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15906 (redoDrawingOfParagraph): ditto
15907 (redoParagraphs): ditto
15908 (cutSelection): don't create a object for CutAndPaste use the
15909 static method directly
15910 (pasteSelection): ditto
15912 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15915 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15917 * modifications to some other files because of this.
15919 * Makefile.am (lyx_SOURCES): add XFormsView
15921 * XFormsView.[Ch]: new files
15923 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15924 the main window. Move the gui dependent stuff to XFormsView
15926 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * tabular.C (GetCellInset): update cur_cell also in the row/col
15929 version of this function.
15931 * lyxfunc.C: no need to include figure_form.h here.
15937 * lyxvc.C: no need to include forms.h here.
15939 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15941 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15943 * lyxfunc.C (Dispatch):
15945 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15946 constructor argument.
15948 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15950 * paragraph.C (Paragraph): dont't clear, and just set layout.
15951 (makeSameLayout): use params's copy contructor.
15953 * ParagraphParameters.[Ch] (makeSame): delete method
15955 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15957 * Variables.[Ch]: fix indentation, rename set to isSet
15959 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15961 * lyxfunc.C (Dispatch): fix typo
15963 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15965 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15968 * bufferlist.C: include assert.h for emergencyWrite().
15970 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15972 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15973 give up at last (bug #425202) !
15975 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15981 * spellchecker.C: strip spellchecker options and bring up
15982 preferences tab instead
15984 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15986 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15987 the istringstream constructor
15989 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15991 * paragraph.C (getLayout): fix return value
15993 * paragraph.h: do not declare getLayout as inline.
15995 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15997 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15999 * lyxcursor.h (operator<): new func
16000 (operator>): new func
16001 (operator>=): new func
16002 (operator<=): new func
16004 * text.C (changeCase): use selection.start and selection.end
16005 (changeRegionCase): require from to be <= to. Require par to be a
16008 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16010 2001-06-27 Juergen Vigna <jug@sad.it>
16012 * text.C (cursorLeftOneWord): changed to return the cursor and added
16013 overlay with BufferView * parameter which calls this one.
16015 (selectWord): use new getWord function.
16016 (changeCase): renamed from changeWordCase as and extended to work
16017 also on selections.
16019 * lyxtext.h: added enum word_location
16021 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16022 changeCase as this operates now also on selections.
16024 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16026 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16028 * many files: send debug output to Debug::INFO instead of
16031 * converter.C (View):
16033 (Move): send debug output to Debug::FILES instead of console.
16035 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16037 * lyxfunc.C (getStatus): use func_status
16039 * func_status.h: new header, describing the results of
16040 LyXFunc::getStatus;
16042 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16045 2001-06-25 The LyX Project <jug@sad.it>
16047 * buffer.C (sgmlOpenTag):
16049 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16051 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16053 * text2.C: remove some dead code
16055 * tabular.C (GetCellInset): store the last cell checked (gotten)
16057 * tabular.h: add the helper for the speedup
16059 * lyxtext.h: remove some dead code
16061 2001-06-26 The LyX Project <Asger>
16063 * paragraph.C: Change export to LaTeX of alignment to
16064 \begin{center} and family for better roundtrip work with reLyX.
16066 * Tune the math drawing a bit.
16068 2001-06-25 The LyX Project <Asger>
16070 * LColor.C (LColor): New color for math background. New color
16073 2001-06-25 The LyX Project <jug@sad.it>
16075 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16077 * lyxfunc.C (Open):
16078 * bufferlist.C (newFile): do not restrict to files ending with
16081 * BufferView_pimpl.C (MenuInsertLyXFile):
16083 2001-06-24 The LyX Project <jug@sad.it>
16085 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16088 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16090 * lyxtext.h: rename most methods to begin with a small char.
16091 Lots of changes because of this.
16093 * paragraph.C (Paragraph): do not call fitToSize
16094 (erase): call Pimpl::erase
16095 (insertChar): call Pimpl::insertChar
16096 (insertInset): call Pipl::insertInset
16097 (breakParagraph): do not call fitToSize
16098 (breakParagraphConservative): do not call fitToSize
16099 (fitToSize): remove method
16101 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16103 2001-06-24 The LyX Project <Asger>
16105 * Fix Qt compilation^2
16107 2001-06-24 The LyX Project <jug@sad.it>
16109 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16110 depthHook(getDepth()-1).
16113 * ParagraphParameters.h:
16114 * ParameterStruct.h: change type of depth to unsigned int ==
16115 depth_type. Many adaptations to other files before of that.
16117 2001-06-24 The LyX Project <Asger>
16119 * Fix Qt compilation.
16121 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16123 * paragraph.h: renamed several methods to begin with small letter.
16124 several changes to many parts of the code because of this.
16126 2001-06-23 The LyX Project <jug@sad.it>
16128 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16129 rewritten to discard all double spaces when KeepEmpty is off
16130 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16131 to only handle newlines but not fiddle with spaces and friends.
16133 * lyxfunc.C (MenuNew): when doing 'new from template', use
16134 template_path as default directory
16136 2001-06-23 The LyX Project <Asger>
16138 * Clean-up of header file includes all over
16139 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16141 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16143 * paragraph.h: renamed from lyxparagraph.h
16145 2001-06-23 Asger <lyx@violet.home.sad.it>
16147 * Buffer.h: Removed Buffer::resize
16148 * BufferList.h: Removed BufferList::resize
16149 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16150 the document lazily when we change the width, or the font settings.
16152 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16154 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16156 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16158 * buffer.h: remove out of date comment
16160 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16163 * screen.C: fix "theoretical" GC leak
16165 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16167 * LaTeX.C (scanAuxFile):
16168 (deplog): remove trailing \r when reading stream (useful under
16171 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16173 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16174 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16175 and BufferView::theLockingInset(Inset*), so should use them and not
16176 access bv_->text->the_locking_inset directly.
16178 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16180 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16183 * tex-defs.h: remove old unused file
16185 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16187 * BufferView_pimpl.C: fix typo, remove minibuffer message
16188 when buffer has loaded
16190 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16192 * lyxfunc.C (Dispatch): use stringstream
16193 (MenuNew): use stringstream
16194 (Open): use stringstream
16196 * importer.C (Import): use stringstream
16198 * bufferview_funcs.C (CurrentState): use stringstream
16200 * LaTeX.C (run): use stringstream
16202 * BufferView_pimpl.C (savePosition): use stringstream
16203 (restorePosition): use stringstream
16204 (MenuInsertLyXFile): use stringstream
16206 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16219 * vspace.C: removed // -*- C++ -*- as first line.
16222 * version.h: added // -*- C++ -*- as first line.
16224 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16226 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16228 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16231 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16233 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16236 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16238 * gettext.C: include LString.h even when --disable-nls is on.
16240 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16242 * converter.h (Get): changed argument type from int to
16243 FormatList::size_type to avoid unnecessary conversion.
16245 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16248 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16250 * gettext.h: include LString.h even when --disable-nls is on.
16252 2001-06-07 Juergen Vigna <jug@sad.it>
16254 * text.C (BreakAgain): subst spaces with tabs.
16256 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16257 (resizeInsetsLyXText): set force on resizeLyXText.
16259 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16261 * gettext.h (gettext_init):
16262 (locale_init): use a real definition instead of a macro
16264 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16266 * Bufferview_pimpl.C:
16268 * LColor.C: further lcolor tidies
16270 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16272 * BufferView_pimpl.C (updateScrollbar): simplify.
16274 * BufferView2.C: don't include insets/insetinfo.h, change
16275 prototype for insertInset and call the Pimpl version. let
16276 updateInset call Pimpl version.
16278 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16279 gotoInset to BufferView::Pimpl
16281 2001-06-01 Juergen Vigna <jug@sad.it>
16283 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16284 inside a LockingInset (is the update needed at all?).
16286 2001-05-31 Juergen Vigna <jug@sad.it>
16288 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16289 here not the old one otherwise how should we compare it afterwards
16292 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16297 * FontInfo.C: bring C functions into global namespace when
16300 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16302 * LString.h: make sure config.h has been loaded before LString.h.
16304 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16305 (one for each char read by EatLine!).
16307 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16310 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16312 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16313 to the same as the par we break from
16315 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16317 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16319 * MenuBackend.C (expand): also create menu entries for wide
16320 versions of the floats.
16322 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16324 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16326 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16327 frontends/Makefile.am
16333 * tabular.C (getTokenValue): add std::
16335 * tabular-old.C (getTokenValue): add std::
16336 (getTokenValue): ditto
16337 (getTokenValue): ditto
16339 * screen.C (ToggleSelection): adjust
16341 * lyxtext.h: put selection cursors inside a Selection struct.
16343 * lyxfunc.C (moveCursorUpdate): adjust
16345 * lyxfont.C (latexWriteStartChanges): add std::
16347 * lyxfind.C: adjust
16349 * font.h: delete with(char const *, LyXFont const &)
16351 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16353 * FontInfo.C (getFontname): add std::
16355 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16356 (workAreaButtonPress): adjust
16357 (tripleClick): adjust
16359 (moveCursorUpdate): adjust
16362 * BufferView2.C (gotoInset): adjust
16364 2001-05-30 Juergen Vigna <jug@sad.it>
16366 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16367 to check pspell I add this as default as I now have new pspell
16368 libraries and they seem to use this.
16370 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16372 * text2.C (CutSelection): make the cursor valid before the call to
16375 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16377 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16378 relied on 0 terminated strings and other horrors. Bug found due to
16379 the new assert in lyxstring!
16381 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16384 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16386 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16389 * lyxfunc.C (processKeySym): change method of getting to the
16392 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16393 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16394 * BufferView_pimpl.[Ch]: here as private methods.
16396 2001-05-28 Juergen Vigna <jug@sad.it>
16398 * text.C (SetHeightOfRow): added the update() call again as it is
16399 needed to initialize inset dimensions!
16401 2001-05-16 Juergen Vigna <jug@sad.it>
16403 * text2.C (SetCharFont): Add new function with BufferView * and
16404 bool toggleall parameters for setting insets internal fonts.
16405 (SetFont): Freeze the undo as we may change fonts in Insets and
16406 all this change should be inside only one Undo!
16408 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16409 setting font's in insets as for them we have the SetFont function!
16411 2001-05-15 Juergen Vigna <jug@sad.it>
16413 * text2.C (ClearSelection): to be sure we REALLY don't have any
16416 * tabular.C (TeXCellPreamble): fixed the left border problem for
16419 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16421 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16424 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16426 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16427 LFUN_BREAKPARAGRAPH.
16429 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16430 help test to "internal only", similar for LFUN_INSERT_URL
16432 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16433 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16434 auto_region_delete and deadkeys.
16436 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16439 * LColor.C: remove some dead entries, tidy a little
16441 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16443 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16445 (Dispatch): implement LFUN_ESCAPE
16447 * commandtags.h: add LFUN_ESCAPE
16449 * LyXAction.C (init): add entry for LFUN_ESCAPE
16451 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16452 Remove commented code.
16453 (insertNote): moved here
16454 (open_new_inset): moved here
16456 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16459 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16461 * kbmap.C (findbinding): clean it up and make it work correctly.
16463 * lyx_main.C (init): do not pass argc and argv as parameters
16465 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16467 * buffer.C: fix path for OS/2 & Win32
16471 * lyx_main.C: Added os:: class.
16473 * os2_defines.h: update
16475 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16477 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16478 better by trying again with reduced state.
16480 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16482 * lyxrc.C (read): print error about invalid key sequence only when
16483 debugging (because not all latinX keysyms are known to some X
16486 * kbsequence.C (getiso): add a few std:: qualifiers
16487 (getiso): comment out extra return statement.
16489 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16491 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16493 (Dispatch): enhance the accent inset a bit. (not perfect)
16495 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16497 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16499 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16501 * bufferlist.C (emergencyWrite): fix assert() call
16503 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16505 * text.C (InsertChar): Added trivial patch to only send the "you
16506 can not do multiple spaces this way" message once during a
16509 2001-05-08 Baruch Even <baruch@lyx.org>
16511 * Makefile.am: Changed order of libraries to get LyX to link properly
16512 with the gnome frontend.
16514 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16516 * LaTeXFeatures.h: add a std:: qualifier
16518 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16520 * paragraph.C (String): use stringstream
16522 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16524 * paragraph.C (writeFile): remove footflag arg
16526 * buffer.C (makeLaTeXFile): use stringstream
16527 (latexParagraphs): remove footnot gurba
16529 * LaTeXFeatures.C (getPackages): use stringstream
16530 (getMacros): likewise
16531 (getTClassPreamble): likewise
16532 (getFloatDefinitions): new method
16534 * paragraph.C (writeFile): reindent
16537 * WorkArea.h: revert the xpos + etc changes.
16539 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16541 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16543 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16544 (pasteSelection): likewise
16545 * text2.C (CreateUndo): likewise
16547 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16549 * minibuffer.C (peek_event): temporarily reduce the functionality
16550 of the minibuffer (to allow args on lfuns)
16552 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16553 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16555 * buffer.C (readInset): add compability reading of old float
16556 lists, add reading of new style float list.
16557 (readInset): avoid reevaluation of inscmd.getCmdName()
16558 (getLists): reindent
16560 * MenuBackend.C (MenuItem): implement parsing of
16561 md_floatlistinsert and md_floatinsert.
16562 (expand::LastFiles): move initalizaton of iterators out of loop,
16563 avoid reevaluation.
16564 (expand::Documents): introduce typdedef vector<string> Strings,
16566 (expand::ExportFormats): introduce typedef vector<Format const *>
16567 Formats, and use it.
16568 (expand): implement FloatListInsert and FloatInsert.
16570 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16571 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16572 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16574 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16576 (Dispatch::LFUN_FLOAT_LIST): implement
16578 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16580 * LaTeX.C (run): Fix problem with --export code.
16582 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16584 * BufferView.[Ch] (workarea): removed.
16585 (getClipboard) new method; wrapper for workarea()->getClipboard()
16587 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16590 * WorkArea.h (width, height, xpos, ypos): These methods all
16591 returned the dimensions of the work_area sub-area of WorkArea,
16592 resulting in a position error if the WorkArea were resized. Now
16593 return the dimensions of the entire WorkArea.
16595 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16597 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16599 * LaTeX.C (deplog): correct the syntax of regex reg1
16601 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16603 * undo.C: remove !NEW_INSETS cruft
16605 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16607 * text2.C: remove !NEW_INSETS cruft
16609 * text.C: remove !NEW_INSETS cruft
16611 * tabular.C: remove !NEW_INSETS cruft
16613 * spellchecker.C: remove !NEW_INSETS cruft
16615 * lyxtext.h: remove !NEW_INSETS cruft
16617 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16619 * lyxfunc.C: remove !NEW_INSETS cruft
16621 * lyxfind.C: remove !NEW_INSETS cruft
16623 * lyx_cb.C: remove !NEW_INSETS cruft
16625 * figureForm.C: remove !NEW_INSETS cruft
16627 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16629 * buffer.[Ch]: remove !NEW_INSETS cruft
16631 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16633 * CutAndPaste.C: remove !NEW_INSETS cruft
16635 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16637 * BufferView2.C: remove !NEW_INSETS cruft
16639 * BufferView.h: remove !NEW_INSETS cruft
16641 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16643 * Lsstream.h: include LString.h before the sstream headers to
16644 fix problem with gcc 2.95.3 and lyxstring
16646 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16648 * lyx_main.C: add using directives when needed for C functions
16649 declared in std:: namespace.
16651 2001-04-27 Juergen Vigna <jug@sad.it>
16653 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16654 (SetHeightOfRow): comment out the update call should not be needed!
16656 2001-04-13 Juergen Vigna <jug@sad.it>
16658 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16659 (LyXTabular): tried to minimize operator= operations (and realized
16660 hopfully Lars wish).
16662 2001-04-27 Juergen Vigna <jug@sad.it>
16664 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16666 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16668 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16670 * buffer.C (readInset): hack to make listof algorithm work
16672 * BufferView_pimpl.C: hack to make listof algorithm work
16674 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16676 * LyXAction.C: removed all !NEW_INSETS cruft
16677 (init): moved lfun_item in method
16679 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16681 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16683 * BufferView2.C (theLockingInset): white space.
16685 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16687 * minibuffer.C: include <iostream>
16689 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16691 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16693 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16695 * text.[Ch] (TransposeChars): new method
16697 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16699 * call message directly through LyXView instead of through LyXFunc
16700 * BufferView2.C: adjust
16701 * BufferView_pimpl.C: adjust
16702 * FontLoader.C: adjust
16704 * bufferview_funcs.C: adjust
16705 * converter.C: adjust
16706 * figureForm.C: adjust
16707 * importer.C: adjust
16709 * lyx_gui_misc.C: adjust
16710 * lyxfunc.C: adjust
16713 + more files in subdirs
16715 * lyxparagraph.h (size): move up int file
16718 * adjust all uses of Assert to lyx::Assert.
16720 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16721 lyxfunctional in namespace lyx
16722 * layout.C (hasLayout): ditto
16725 (delete_layout): ditto
16726 (NumberOfClass): ditto
16727 * converter.C (GetFormat): ditto
16732 * bufferlist.C (getFileNames): ditto
16733 (emergencyWriteAll): ditto
16736 * MenuBackend.C (hasSubmenu): ditto
16739 * BufferView_pimpl.C (getInsetByCode): ditto
16741 2001-04-18 Juergen Vigna <jug@sad.it>
16743 * vspace.C (asLatexString): fixed the 100% problem.
16745 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16747 * lyxfunc.C (Dispatch):
16749 * minibuffer.h: add a few std:: qualifiers
16751 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16753 * minibuffer.[Ch]: reimplement so that commands is initiated and
16754 run from lyxfunc, simplified som handling, and made the completion
16755 and history code for complete. wip.
16757 * lyxfunc.C (processKeySym): call message
16758 (miniDispatch): new temporary method
16759 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16760 (LFUN_MESSAGE): implement
16761 (LFUN_MESSAGE_PUSH): implement
16762 (LFUN_MESSAGE_POP): implement
16763 (initMiniBuffer): the initial/defualt minibuffer message.
16765 * lyxfont.[Ch]: inline some more getters
16767 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16769 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16771 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16772 (AutoSave): use LFUN_MESSAGE
16773 (Reconfigure): ditto
16775 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16777 * figureForm.C: use LFUN_MESSAGE
16779 * converter.C (runLaTeX): use LFUN_MESSAGE
16781 * bufferview_funcs.C: use LFUN_MESSAGE
16783 (changeDepth): ditto
16785 * bufferparams.h: use boost::
16787 * bufferlist.h: inherit privately from noncopyable
16789 * bufferlist.C (loadLyXFile): remove some commented code.
16791 * buffer.C (runChktex): use LFUN_MESSAGE
16793 * ShareContainer.h: inherit privately from noncopyable
16795 * ParagraphParameters.[hC] (depth): inline it.
16797 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16799 (message): new method
16800 (messagePush): ditto
16801 (messagePop): ditto
16802 (show): init minibuffer
16803 (showState): direct call
16805 * LaTeX.[Ch]: inherit privately from noncopyable
16806 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16807 instead of WriteStatus.
16809 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16811 * BufferView_pimpl.C (buffer): don't init minibuffer
16812 (workAreaButtonPress): use LFUN_MESSAGE
16813 (workAreaButtonRelease): ditto
16814 (savePosition): ditto
16815 (restorePosition): ditto
16816 (MenuInsertLyXFile): ditto
16817 (workAreaExpose): don't init minibuffer
16818 (update): remove commented code, simplify
16820 * BufferView2.C (openStuff): use LFUN_MESSAGE
16821 (toggleFloat): ditto
16824 (copyEnvironment): ditto
16825 (pasteEnvironment): ditto
16830 (updateInset): remove some commented code
16832 * lastfiles.h: inherit privately from noncopyable
16835 * lyx_main.h: ditto
16837 * lyxlex_pimpl.h: ditto
16839 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16840 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16841 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16843 * LyXAction.h: inherit privately from noncopyable, add methods
16844 func_begin, func_end, returning iterators to the func map.
16846 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16847 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16848 (func_begin): new method
16849 (func_end): new method
16851 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16853 (copySelection): ditto
16854 (pasteSelection): ditto
16856 * BufferView.C: whitespace change
16857 * BufferView.h: inherit privately from noncopyable
16859 2001-04-16 Allan Rae <rae@lyx.org>
16861 * tabular-old.C (l_getline):
16862 * spellchecker.C (sc_check_word):
16863 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16864 an unrecognised preprocessor directive. So ensure they're wrapped.
16866 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16868 * src/exporter.C (Export): Give an error message when path to file
16871 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16873 * LaTeX.C (deplog): Always check that foundfile exists.
16875 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16878 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16880 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16882 * tabular.[Ch] (getLabelList): implement new method
16884 * minibuffer.h: comment ouf setTiimer
16886 * minibuffer.C (ExecutingCB): constify res
16887 (peek_event): constify s
16888 (Set): constify ntext
16889 (Init): constify nicename
16891 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16893 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16894 (savePosition): use two params to Minibuffer::Set
16895 (restorePosition): ditto
16897 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16899 * lyx_main.C: include language.h
16901 * Makefile.am (lyx_main.o): add language.h
16903 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16909 * CutAndPaste.C: include gettext.h
16911 * lyxfont.h: remove old hack with ON and OFF.
16914 * lyxfont.h: do not include language.h...
16919 * bufferview_funcs.C:
16925 * paragraph.C: ... but do it here instead
16927 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16929 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16931 * tabular.C: small reformat
16933 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16936 (BreakParagraph): ditto
16937 (SetOnlyLayout): ditto
16940 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16943 * lastfiles.C: removed most using decl, add std:: where needed
16945 * buffer.C: ws changes
16947 * MenuBackend.C (class compare_format): put into anon namespace
16948 (expand): constify label, names, action, action2
16951 * text.C (SingleWidth): constify font
16952 (IsBoundary): constify rtl2
16953 (GetVisibleRow): constify ww
16955 * LaTeX.C (deplog): constify logfile
16957 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16959 (workAreaExpose): constify widthChange, heightChange
16961 * lyxrow.C (par): moved
16964 * lyxrow.h: as inlines here
16966 * lyxfont.h (shape): moved from lyxfont.C
16967 (emph): moved from lyxfont.C
16969 * lyxfont.C (LyXFont): use initialization list for all
16971 (shape): move to lyxfont.h as inline
16972 (emph): move to lyxfont.h as inline
16975 2001-04-04 Juergen Vigna <jug@sad.it>
16977 * vspace.C: had to include stdio.h for use of sscanf
16979 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16982 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16983 independent of xforms.
16985 2001-04-02 Juergen Vigna <jug@sad.it>
16987 * spellchecker.C: fixed namespace placing!
16989 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16991 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16992 the LyXParagraph * is 0.
16994 2001-03-29 Juergen Vigna <jug@sad.it>
16996 * vspace.C: added support for %, c%, p%, l%.
16997 (stringFromUnit): added helper function.
16998 (asLatexString): changed to give right results for the %-values.
17000 * buffer.C: convert the widthp in a width%.
17002 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17004 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17007 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17008 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17010 * lyx_cb.[Ch]: see above.
17012 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17016 * lyx.[Ch]: replaced by figure_form.[Ch].
17020 * lyxfunc.C: changed headers associated with above changes.
17022 2001-03-27 Juergen Vigna <jug@sad.it>
17024 * BufferView_pimpl.C: set the temporary cursor right!
17026 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17028 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17030 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17032 * LString.h: removed "using std::getline"!
17034 * BufferView_pimpl.C (Dispatch): changes due to changes in
17035 InsetInclude::Params.
17037 * buffer.C (tag_name): removed redundant break statements as they were
17038 producing lots of warnings with my compiler.
17040 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17042 * LString.h: add "using std::getline" when using the real <string>.
17044 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17046 * buffer.C: removed bitset usage.
17047 PAR_TAG moved to an anonymous name space.
17048 (tag_name): new funtion, also in the anonymous namespace.
17049 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17050 (makeDocBookFile): clean code. Completed transition from string arrays
17052 (SimpleDocBookOnePar): code clean.
17054 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17056 * tabular.C: add some comments.
17058 2001-03-22 Juergen Vigna <jug@sad.it>
17060 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17061 compatibility read a bit and fixed bug with minipage in different
17064 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17066 * buffer.C (pop_tag): removed.
17067 (push_tag): removed.
17068 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17069 array replaced with vector. Added support for CDATA sections.
17070 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17072 (makeDocBookFile): XML conformant declaration of CDATA section,
17073 fixed bug related to <emphasis> in the first paragraph char.
17074 (sgmlOpenTag): exclude empty tags.
17075 (sgmlCloseTag): ditto.
17077 * buffer.h (pop_tag): removed.
17078 (push_tag): removed.
17080 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17082 * language.h (Languages): added size_type and size().
17084 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17086 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17087 response on compability reading of minipages. One probliem is that
17088 the old usage of minipages was «flertydig»
17090 * several files here and in subdirs: don't use static at file
17091 scope use anon namespaces instead.
17093 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17095 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17096 LaTeX output. This is necessary for Literate document
17099 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17101 * buffer.C: insert hfill when needed.
17103 * tabular.C (l_getline): use string::erase, small whitespace change.
17105 * BufferView_pimpl.C: try the anon namespace.
17106 * WorkArea.C: ditto
17108 2001-03-16 Juergen Vigna <jug@sad.it>
17110 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17111 otherwise it won't open options-dialogs.
17113 * buffer.C: honor pextraWidth(p) on converting minipages.
17115 * tabular.C (l_getline): changed the functions to strip trailing \r.
17117 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17119 * BufferView_pimpl.C:
17120 * minibuffer..C: added "using SigC::slot" declaration.
17122 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17124 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17130 * paragraph.C: ditto
17132 * lyxtext.h: NO_PEXTRA
17134 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17136 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17137 * ParameterStruct.h: ditto
17138 * ParagraphParameters.h: ditto
17139 * lyxparagraph.h: ditto
17141 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17143 * buffer.C: add compability for minipage alignment.
17144 (latexParagraphs): remove unwanted pextra check.
17146 * several files: remove CXX_WORKING_NAMESPACES
17148 * buffer.C (pop_tag): tie is in namespace boost
17150 * BufferView.h: noncopyable is in namespace boost
17152 * lyx_main.h: ditto
17155 * lastfiles.h: ditto
17156 * bufferlist.h: ditto
17157 * ShareContainer.h: ditto
17159 * LyXAction.h: ditto
17162 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17164 * Merging changes from BRANCH_MVC back into HEAD.
17166 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17168 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17170 * BufferView_pimpl.C: change from intl.C
17174 * Makefile.am: move combox.*
17180 * intl.C: remove dialog (covered by prefs)
17182 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17184 * lyxfunc.C (Dispatch): removed redundant break statement.
17186 2001-03-14 Juergen Vigna <jug@sad.it>
17188 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17190 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17192 * buffer.C: add hack to fix compability reading of minipages.
17194 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17196 * buffer.C (getLists): Cleanup.
17198 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17200 * lyxfont.C (update): don't honor toggleall on font size.
17202 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17206 * Makefile.am: moved to frontends/xforms/
17210 * BufferView_pimpl.C: changes for moved mathpanel
17212 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17214 * gettext.h: fix gettext_init() in --disable-nls
17216 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17218 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17220 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17223 * lyx.h: strip external form
17225 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17227 * BufferView_pimpl.C: add comment, destroySplash()
17229 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17231 * BufferView_pimpl.C:
17235 * lyxfunc.C: use re-worked insetinclude
17237 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17239 * buffer.C: add using std::stringstream.
17241 * lyx_cb.C: readd using std::ios.
17243 * buffer.C: add using std::map.
17245 * BufferView_pimpl.C: add using std::vector.
17247 * ShareContainer.h: add std:: to swap.
17249 * buffer.h: add some typedefs
17250 * buffer.C (getLists): use them
17251 (getLists): renamed from getTocList.
17252 add a counter for the different float types and use it in the
17254 (getLists): use the same counter for the NEW_INSETS and the "non"
17257 * lyx_cb.h: remove unused items, includes, using etc.
17259 * ShareContainer.h: remove some commented code, add more comments
17260 and "documentation".
17262 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17264 * buffer.C (getTocList): make the list also when NEW_INSETS is
17267 * buffer.h: remove TocType
17269 * buffer.C (getTocList): change to return a map<string,
17270 vector<TocItem> >, implement for dynamic number of list.
17272 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17273 * text2.C (PasteSelection): adjust
17274 * CutAndPaste.C (pasteSelection): adjust
17276 * FloatList.C (FloatList): update from the new_insets branch.
17277 * Floating.[Ch]: ditto
17278 * LaTeXFeatures.C: ditto
17280 * lyxlex_pimpl.C: ditto
17282 * paragraph.C (Last): remove when NEW_INSETS is defined.
17284 * other file: changes because of the above.
17286 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17288 * lyxparagraph.h: rename next to next_, previous to previous_,
17289 make them private for NEW_INSETS. Rename Next() to next(),
17290 Previous() to previous().
17292 * other files: changes because of the above.
17294 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17297 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17300 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17302 * main.C (main): pass lyx_localedir to gettext_init().
17304 * gettext.h: remove locale_init and gettext_init macros
17306 * gettext.C (locale_init): new function
17307 (gettext_init): new function
17309 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17312 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17314 * Moved credits to frontends:
17315 * credits.[Ch]: removed
17316 * credits_form.[Ch]: removed
17317 * lyx_gui_misc.C: remove credits stuff
17320 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17322 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17324 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17325 unneeded destructor.
17327 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17328 a standalone pointer again.
17330 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17332 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17338 * ToolbarDefaults.C:
17347 * BufferView_pimpl.C: use new file dialog in GUII
17350 * lyx_cb.C: remove LayoutsCB to Toolbar
17352 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17354 * ShareContainer.h (get): add std:: qualifier
17356 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17358 * ShareContainer.h: define a proper ShareContainer::value_type
17359 type (and use typename to please compaq cxx)
17361 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17363 * lyxparagraph.h: move serveral local vars to
17364 ParameterStruct/ParagraphParameters., use ShareContainer in
17365 FontTable., make vars in FontTable private and add getter and
17368 * paragraph.C: changes because of the above.
17370 * lyxfont.h: remove copy constructor and copy assignment. (the
17371 default ones is ok), move number inside FontBits. move inlines to
17374 * lyxfont.C: add number to initializaton of statics, move several
17375 inlines here. constify several local vars. some whitespace
17376 cleanup. Dont hide outerscope variables.
17378 * Spacing.h: add two new constructors to match the set methods.
17380 * ShareContainer.h: new file, will perhaps be moved to support
17382 * ParameterStruct.h: new file
17384 * ParagraphParameters.h: new file
17386 * ParagraphParameters.C: new file
17388 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17389 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17391 * BufferView_pimpl.C: ParagraphParameter changes.
17392 * buffer.C: Likewise.
17393 * bufferview_funcs.C: Likewise.
17394 * text.C: Likewise.
17395 * text2.C: Likewise.
17397 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17399 * lyxfind.C (LyXReplace): do not redefine default argument in
17401 (IsStringInText): ditto
17402 (SearchForward): ditto
17403 (SearchBackward): ditto
17405 2001-03-06 Juergen Vigna <jug@sad.it>
17407 * lyxfind.C (IsStringInText): put parentes around expressions.
17409 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17411 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17413 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17415 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17417 * stl_string_fwd.h: add comment
17419 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17422 * tabular.C: remove unused DocBook methods
17428 killed DO_USE_DEFAULT_LANGUAGE
17430 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17432 * lyx_gui.C: do not include language.h.
17434 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17435 arguments in function implementation.
17437 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17439 * BufferView_pimpl.C: add <ctime>
17441 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17443 * BufferView_pimpl.C: add using std::find_if
17445 2001-02-27 José Matos <jamatos@fep.up.pt>
17447 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17450 2001-02-11 José Matos <jamatos@fep.up.pt>
17452 * buffer.C (makeDocBookFile): command styles now have a parameter as
17453 "title" by default.
17455 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17457 * layout_forms.[Ch]: removed
17458 * lyx_cb.[Ch]: out character
17459 * lyx_gui.C: out character
17460 * lyx_gui_misc.C: out character
17461 * bufferview_funcs.C: : out character,
17462 added toggleall as parameter in ToggleAndShow
17464 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17466 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17468 * text2.C (SetCurrentFont): Disable number property at boundary.
17470 2001-02-26 Juergen Vigna <jug@sad.it>
17472 * lyxfunc.C (getStatus): added a string argument override function so
17473 that this is correctly called from LyXFunc::Dispatch if it contains a
17474 do_not_use_argument which is used!
17475 (Dispatch): added check for "custom" export and call appropriate func.
17477 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17479 * lyxrc.C: Add language_command_local, language_use_babel and
17480 language_global_options.
17482 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17484 * buffer.C (makeLaTeXFile): Use language_use_babel and
17485 language_global_options.
17487 2001-02-23 Juergen Vigna <jug@sad.it>
17489 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17490 which works with LyXText and putted it inside BufferView. Here now we
17491 only call for that part the BufferView::Dispatch() function.
17493 * BufferView.C (Dispatch): added.
17495 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17496 functions which needs to use a LyXText over from LyXFunc.
17497 (MenuInsertLyXFile): added
17498 (getInsetByCode): added
17499 (moveCursorUpdate): added
17500 (static TEXT): added
17502 2001-02-22 Juergen Vigna <jug@sad.it>
17504 * BufferView_pimpl.C (update): call a status update to see if LyXText
17507 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17509 * vc-backend.C (revert): implement for CVS
17510 (getLog): implement for CVS
17512 2001-02-20 Juergen Vigna <jug@sad.it>
17514 * text2.C (ClearSelection): added BufferView param for inset_owner call
17516 * lyxfunc.C (TEXT): added this function and use it instead of
17517 directly owner->view()-text of getLyXText().
17519 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17521 * src/layout_forms.C: out preamble
17522 * src/layout_forms.h: out preamble
17523 * src/lyx_cb.C: out preamble
17524 * src/lyx_cb.h: out preamble
17525 * src/lyx_gui.C: out preamble
17526 * src/lyx_gui_misc.C: out preamble
17527 * src/lyxfunc.C: connect with guii preamble
17529 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17531 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17533 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17535 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17536 whether to run bibtex.
17538 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17540 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17542 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17544 * Makefile.am (lyx_SOURCES): removed bibforms.h
17546 * vspace.h: doxygen
17548 * text.C (GetVisibleRow): make several local vars const
17550 * tabular.C: small cleanup.
17552 * lyxserver.C (callback): use compare instead of strncmp
17554 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17555 inlines to after class or to paragraph.C
17557 * lyxfont.h: remove friend operator!=
17559 * converter.h: move friend bool operator< to non friend and after
17562 * combox.h: small cleanup
17564 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17565 to inlines after class def.
17567 * buffer.C (pop_tag): use string operations instead of strcmp
17569 * bmtable.c: doxygen, small cleanup
17571 * LaTeX.h: remove friend operator==
17573 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17585 * BufferView_pimpl.C:
17586 * BufferView.[Ch]: remove cruft
17588 2001-02-14 Juergen Vigna <jug@sad.it>
17590 * lyxfunc.C: removed #if 0 unused code
17592 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17594 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17596 * text2.C (SetSelection): added a BufferView * parameter
17598 2001-02-13 Juergen Vigna <jug@sad.it>
17600 * lyxfunc.C (Dispatch): fixed protected blank problem.
17601 * BufferView2.C (protectedBlank): added LyxText * parameter.
17603 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17604 (AppendColumn): same as above for column_info.
17606 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17607 (moveCursorUpdate): use a LyXText param for support of InsetText.
17609 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17610 (tripleClick): ditto
17612 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17614 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17616 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17618 * text2.C (SetSelection): set correct update status if inset_owner
17619 (ToggleFree): ditto
17621 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17623 * tabular.C: remove some commented code.
17625 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17627 * BufferView_pimpl.C: call hideSplash()
17629 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17632 * bibforms.h: remove
17635 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17636 add LFUN_CHILD_CREATE
17638 * counters.h: fix tiny typo
17643 * lyx.C: move splash to frontends/xforms/
17645 * lyx_gui_misc.C: move Include and Bibform to frontends
17647 * lyxvc.h: clarify comment
17649 * vspace.C: tiny housekeeping
17651 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17653 * text.C (PrepareToPrint): RTL Fix.
17655 * paragraph.C (GetUChar): New method.
17656 (String): Use GetUChar.
17658 * buffer.C (asciiParagraph): Use GetUChar.
17660 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17662 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17664 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17667 * buffer.C: rename to getLogName(), handle
17668 build log / latex log nicely
17670 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17673 * MenuBackend.h: remove support for reference menuitem type.
17675 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17677 * BufferView_pimpl.C: housekeeping
17678 * BufferView_pimpl.h:
17683 * minibuffer.h: move Timeout GUI-I
17685 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17687 * lyxrc.C (read): Update converters data-structures.
17689 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17691 * LaTeX.h (operator!=): add operator != for Aux_Info
17693 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17695 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17697 * LaTeXLog.C: deleted, useful code moved to Buffer
17700 * buffer.C: new function getLatexLogName()
17706 * lyxfunc.C: use frontends for LaTeX and VC logs
17708 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17710 * LaTeX.h: yet another std:: that Allan forgot.
17712 * Variables.C (set): renamed from isset(), because this clashes
17713 with some HP-UX macros (grr).
17715 2001-02-06 Allan Rae <rae@lyx.org>
17717 * LaTeX.h: Another bug fix. Missing std:: this time.
17719 2001-02-04 Allan Rae <rae@lyx.org>
17721 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17722 floats problem. I've left it commented out because it's not quite
17723 correct. It should also test that the current object is a table or
17724 figure inset. But I haven't gotten around to figuring out how to do
17725 that. I *think* it'll be something like: "table" == inset.type()
17727 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17730 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17732 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17733 all the citation/databases/styles in the auxilary file.
17734 (run): Rerun latex if there was a babel language error.
17736 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17738 * text.C (Backspace): Preserve the font when changing newline char
17740 (BreakParagraph): If the cursor is before a space, delete the space.
17742 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17744 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17746 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17747 new argument (code).
17748 (ChangeCitationsIfUnique): New method.
17750 * paragraph.C (GetPositionOfInset): Handle bibkey.
17752 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17754 * BufferView_pimpl.h: change type of Position::par_pos to
17755 LyXParagraph::size_type.
17757 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17759 * BufferView_pimpl.C (savePosition, restorePosition): Write
17760 messages to minibuffer.
17762 2001-01-28 José Matos <jamatos@fep.up.pt>
17764 * buffer.C (makeDocBookFile): adds support for document language.
17765 A silly restriction on the name of LatexCommand types where removed.
17766 Added support for CDATA sections, allows to chars unescaped, used
17767 among others in code, to avoid escape < and >.
17769 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17771 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17772 saved positions instrad of a stack. Furthermore, a position is
17773 stored using paragraph id/paragraph position.
17775 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17776 Remove LFUN_REF_BACK.
17778 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17780 * converter.C (dvipdfm_options): New method.
17782 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17784 * vspace.C (isValidLength): Fix for empty input string.
17786 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17788 * LyXAction.C (init): change description of LFUN_FIGURE to
17791 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17793 * LaTeX.C: add using directive
17795 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17797 * MenuBackend.C (expand): Fix the sorting of the formats.
17799 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17801 * lyx_main.C: tiny error message fix
17803 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17805 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17806 calling fl_initialize(). This fixes the problem with ',' as
17807 decimal separator in text files.
17809 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17811 * trans.C (process): Fix the keymap bug.
17813 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17815 * LaTeX.C (scanAuxFiles): New method. Provides support for
17816 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17817 (scanLogFile) Scan for "run BibTeX" messages.
17819 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17820 OT1 font encoding. Also, load the aecompl package if the ae
17823 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17825 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17827 * texrow.C (increasePos): turn two error messages into debug
17830 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17832 * LaTeX.C (scanAux): Handle the \@input macro.
17833 (runBibTeX): Use scanAux().
17835 * language.C (latex_options_): New field.
17837 * LaTeXFeatures.C (getMacros): Add language macros.
17839 * buffer.C (makeLaTeXFile): Small fix.
17841 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17843 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17845 * text2.C: add a using directive.
17847 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17852 * lyxfunc.C: kill LyXBell.
17854 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17856 * text.C (IsBoundary): Remove the error message
17858 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17860 * lyxrc.C (setDefaults): Correct initialization value for
17863 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17865 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17868 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17869 and GotoNextNote().
17871 * src/LyXAction.C: Added reference-next.
17873 * text.C (InsertChar): Use contains instead of strchr.
17875 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17877 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17879 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17880 alignment commands (when needed).
17882 * text.C (InsertChar): Add ':' to number separator chars.