X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FChangeLog;h=4b6ef263f90a083c32bd16f8327f2e6c65e57380;hb=4fb36820b2ff1f3dba36a38b3f05dde256c7bb4e;hp=eb246b261a0a10720f17447a25c39582b8906323;hpb=df0b5405bf0ef9a3973745934ff6e8148e4bf6e8;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index eb246b261a..4b6ef263f9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,475 @@ +2005-06-02 Jean-Marc Lasgouttes + + * buffer_funcs.C (bufferErrors): fix computation of the end of an + error range. + +2005-05-31 Martin Vermeer + + * BufferView.[Ch] (update): + * BufferView_pimpl.[Ch] (update, metrics): + * dimension.h (operator==): + * lyxfunc.C (dispatch): + * metricsinfo.h (ViewMetricsInfo): + * rowpainter.C (paintText): + * lyxtext.h: + * text.C (redoParagraph): + * text3.C (dispatch): Make LyX only repaint current paragraph in + case of character insert --> speedup. Also fix cursor draw + artifacts + +2005-05-31 Jean-Marc Lasgouttes + + * bufferview_funcs.C (gotoInset): fix the wrap-around code to + avoid a crash (bug 1891) + +2005-05-27 Jean-Marc Lasgouttes + + Fix bug 1892: + + * text2.C (getStringToIndex): constify cur argument. + + * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no + argument has been given + (createInset/LFUN_INDEX_INSERT): just return a new inset (do not + try to invoke LFUN_INSET_APPLY). + + * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog + if no inset was created by doInsertInset + (doInsertInset): return true if an inset has been inserted. + +2005-05-23 Jean-Marc Lasgouttes + + * vspace.C (asGUIName): new method. A version of the space + suitable for showing on screen. + +2005-05-20 Michael Schmitt + + * MenuBackend.C: + * lyxrc.C: rename "ASCII" to "Plain Text" + +2005-05-18 Jean-Marc Lasgouttes + + * buffer_funcs.C (expandLabel): take a Buffer as argument; + translate the labelstring. + (setCounter): translate labelstring as needed. + + * output_docbook.C (makeCommand): fix expandLabel invokation + +2005-05-14 Michael Schmitt + + * BufferView.C: fix dialog title + +2005-05-18 Georg Baum + + * lyx_main.C (priv_exec): fix logic error with help from Angus + * lyx_main.C (parse_execute): set is_gui = false and remove now + obsolete comment about a segfault + +2005-05-18 Angus Leeming + + * buffer.C (readFile): Quote all file names passed to lyx2lyx. + +2005-05-12 Martin Vermeer + + * tabular.[hC]: added setCellInset to fix tabular paste. + +2005-05-11 Lars Gullik Bjonnes + + * buffer.C (save): check if destination is writable before trying + to copy a file + +2005-05-11 Martin Vermeer + + * BufferView_pimpl.C (update): fix processEvents -caused update + recursion bug + +2005-05-10 Jean-Marc Lasgouttes + + * buffer_funcs.C (setCounter): fix test for numbering of + environments. + + * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc + depth correctly; use optional argument when it exists + + * lyxtextclass.C: remove unused MaxCounterTags enum + (Read): compute min_toclevel_ and max_toclevel_ after reading class. + (max_toclevel, min_toclevel): new methods. + + * MenuBackend.C (expandToc2): fix case where depth is smaller than + the smallest depth in toc. + + * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for + layouts that should not appear in a table of contents. + +2005-05-09 Georg Baum + + * cursor.h (undispatched, noUpdate): add comments from André + +2005-05-07 Michael Schmitt + + * lfuns.h: + * LyXAction.C: + * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO + +2005-05-07 André Pönitz + + * cursor.[Ch] (leaveInset): new function + +2005-05-06 Jürgen Spitzmüller + + * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY. + +2005-05-04 Angus Leeming + + * lyxfunc.C (getStatus): disable the spell checker dialog if + none of USE_[AIP]SPELL are defined. + +2005-05-05 Martin Vermeer + + * tabular.C (setWidthOfCell): remove obsolete comment + +2005-05-05 Martin Vermeer + + * paragraph.C (bibitem): + * buffer_funcs.C (setCounter): + * src/text.C (redoParagraph): Ungoose bibliography (bug 940) + +2005-05-05 Jürgen Spitzmüller + + * text3.C (getStatus): immediately return after setOnOff + + * rowpainter.C: fix drawing of appendix start + +2005-05-03 Georg Baum + + * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to + SwitchBetweenClasses and remove the unused return value. + Handle character styles, too + +2005-05-03 Martin Vermeer + + * factory.C (createInset): handle undefined character styles + +2005-05-02 Angus Leeming + + * buffer.C: protect the #include of utime.h with a preprocessor + guard. + +2005-05-02 Angus Leeming + + * lyx_cb.C: artificially define fork() on Windows as a no-op failing + function so that auto-saving works, albeit in a blocking manner. + + * Makefile.am: make compilation of the client sub directory, of + aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent + on conditionals set at configure time. + + * SpellBase.[Ch]: no longer an abstract base class. Instead, + it can be compiled in its own right but has no-op functionality. + + * aspell.C, pspell.C: remove preprocessor guards. The files should + be compiled only if the necessary functionality exists. + + * lyxserver.C, lyxsocket.C: disable on Windows. + +2005-05-01 Martin Vermeer + + * text.C (leftMargin): Fix the parindent use bug (1764) + by dirty trick + +2005-04-28 Michael Schmitt + + * lyxlayout.C (Read): transform underscores to spaces in CopyStyle + argument. + +2005-04-25 Angus Leeming + + * Bidi.[Ch]: + * coordcache.[Ch]: + * ispell.C: + * lyxserver.C: + * mover.C: + * pch.h: + include in .C files, not .h ones. + add licence blurb. + protect headers inside preprocessor guards. + +2005-04-21 Georg Baum + + * FuncStatus.h (StatusCodes): document + +2005-04-21 André Pönitz + + * FuncStatus.h (enabled, onoff): document + +2005-04-19 Angus Leeming + + * BufferView_pimpl.C (cursorToggle): no longer test whether + any child processes have been reaped before calling + handleCompletedProcesses(). + +2005-04-19 Martin Vermeer + + * text3.C (dispatch): fix, finally fix, the language problem in + new lyxtexts, without disabling on-the-fly font changes (Helge's + bug report) + +2005-04-19 Jürgen Spitzmüller + + * text3.C (dispatch): set cursor on double/triple click events + (bug 1811) + +2005-04-14 Jean-Marc Lasgouttes + + * lyxfunc.C (actOnUpdatedPrefs): avoid warning + (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY. + + * rowpainter.C (paintFirst): simplify the code a little bit. In + particular, remove the test for secnumdepth. + * text.C (setHeightOfRow): only allocate space for chapter number + when updateCounters provided an actual label, instead of looking + at secnumdepth directly. + + * lyxlayout.C (LyXLayout): set toclevel to -2 by default. + + * buffer_funcs.C (setCounter): only number LABEL_COUNTER + paragraphs when secnumdepth is large enough or, for environments, + when they are not the first in a sequence. + +2005-04-17 Angus Leeming + + * buffer.C (makeLaTeXFile): replace code to manipulate a path + containing space and '~' characters with a call to latex_path(). + +2005-04-17 Angus Leeming + + * converter.C (convert): protect all args of convertDefault.sh + script with quotes. + +2005-04-11 Jean-Marc Lasgouttes + + * text3.C (dispatch): change the layout to "Caption" after inserting + a float. + +2005-04-12 Martin Vermeer + + * text3.C (dispatch): fix language problem in newly created + textinsets (and main text) in non-english docs + +2005-04-13 Georg Baum + + * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY + * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore + * text3.C (getStatus): disable LFUN_INSET_MODIFY + +2005-04-12 Martin Vermeer + + * lyxtext.h: + * text.C (metrics): + * text2.C (getFont): + * rowpainter.C (getFont): Fix metrics bug introduced by inset + fonts fix + +2005-04-11 Jürgen Spitzmüller + + * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX + output of \item arguments without trailing text. + +2005-04-06 Jean-Marc Lasgouttes + + * FontIterator.C (operator*): avoid a copy of the font. + +2005-04-10 Martin Vermeer + + * rowpainter.C (getFont): fix language bug from previous fix + +2005-04-10 Martin Vermeer + + * rowpainter.C (RowPainter, getFont): fix font inside inset + (bugs 1766, 1809) + +2005-04-06 Martin Vermeer + + * CutAndPaste.C (eraseSelection): more precise fix for bug 1654, + preventing inserted font, deco, delim insets jumping to start of + surrounding inset. + +2005-03-30 Jean-Marc Lasgouttes + + * lyxfunc.C (dispatch): translate message before sending it to the + minibuffer. + +2005-03-29 Angus Leeming + + * lyx_main.C (priv_exec): call os::internal_path on each file passed + to LyX on the command line. + +2005-03-25 Stephan Witt + + * vc-backend.C: use QuoteName to protect file names wherever + necessary. + +2005-03-27 Martin Vermeer + + * buffer.[Ch]: + * BranchList.h: fix bugs 1844,1845: document settings don't + stick + +2005-03-14 Jean-Marc Lasgouttes + + * lyxrc.C (setDefaults, read, output, getDescription): add support + for tex_allows_spaces. + + * exporter.C (Export): allows files in directory containing spaces + if tex_allows_spaces is true. + + * buffer.C (makeLaTeXFile): if the document path contains spaces, + output it in double quotes. + +2005-03-22 Jürgen Spitzmüller + + * rowpainter.C: use default text height for drawing change tracker + strikeout lines. + +2005-03-21 Jürgen Spitzmüller + + * lyx_main.C: fix binding of tabulator key (especially S-Tab). + +2005-03-18 Jean-Marc Lasgouttes + + * lyx_main.C (queryUserLyXDir): fix logic when LyX support + directory is missing. + +2005-03-11 Martin Vermeer + + * text2.C: fixed the fix, extended to other case. + +2005-03-08 Martin Vermeer + + * text2.C: fix for cursor up/down stuck in math [bug 1792] + +2005-03-07 Alfredo Braunstein + + * text2.C (cursorUp): get rid of a crash + * text.C (x2pos): add an assert + +2005-03-07 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): fix warning when assertions are disabled + + * text3.C: + * lyxfunc.C: + * dociterator.C: include , which is + needed when assertions are disabled. + +2005-03-05 Johnathan Burchill + + * text2.C: fix for stuck cursor when traversing two + consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) + +2005-02-25 Andreas Vox + + * output_docbook.C (makeParagraph): suppress trailing newline + after a run of paragraphs + +2005-02-28 Johnathan Burchill + + * paragraph.C: fix for confused change tracker when pasting + text that begins with a lineseparator. [bug 1827] + (setChange(0, Change::INSERTED);) + + * paragraph_funcs.C: fix for lost changes on triple-paste + in change tracking mode [bug 1827] (par.setChange()). + +2005-02-24 Jean-Marc Lasgouttes + + * text2.C (updateCounters, setCounter, expandLabel): move to + buffer_funcs. + + * buffer_funcs.C (updateCounters): turn into a free standing + function and add a buffer parameter. Remove dead code for tracking + labelstring change. + (setCounter): change into a free-standing function which gets a + dociterator as argument. Use this iterator to fix captions in a + simple way. When no float is found above the caption, use the + labelstring of the caption layout as default. + + * text.C (breakParagraph, backspace): + * text2.C (init, setLayout, changeDepth): + * text3.C (dispatch): + * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to + updateCounters. + + * dociterator.C (forwardPar): make it much faster by calling + forwardPos() only when really necessary. + + * output_docbook.C (makeCommand): adapt to expandLabel move. + + * cursor.C: remove unused variable + +2005-02-24 Johnathan Burchill + + * paragraph_funcs.C: fix crash when pasting insets in change + tracking mode [bug 1277] (honour change type in moveItem). + +2005-02-23 Georg Baum + + * LaTeX.C (scanLogFile): recognize pdfTeX warnings + +2005-02-14 Jean-Marc Lasgouttes + + * BufferView.C (setCursor): change to use a DocIterator. + (gotoLabel): use BufferView::setCursor (other part of bug 781). + (putSelectionAt): adapt to BufferView::setCursor change. + + * bufferview_funcs.C (gotoNextInset, gotoInset): new functions, + moved here from LyXText and rewritten to use proper cursor + methods. Fixes bug 1787, 616 and 835. + + * BufferView_pimpl.C (restorePosition): set the cursor correctly + when inside an inset (part of bug 781). + (dispatch): adapt to change of BufferView::setCursor. + (getStatus, dispatch): handle LFUN_GOTOERROR, + LFUN_GOTONOTE and LFUN_REFERENCE_GOTO. + + * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR, + LFUN_GOTONOTE and LFUN_REFERENCE_GOTO. + * text3.C (gotoNextInset, gotoInset): removed. + +2005-02-20 Jean-Marc Lasgouttes + + * lyx_main.C (queryUserLyXDir): fix test for rerunning configure + +2005-02-15 Angus Leeming + + * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1" + can be used meaningfully in a comparison. + +2005-02-13 André Pönitz + + * bufferview_funcs.C (coordOffset): improve cursor drawing + +2005-02-13 André Pönitz + + * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor + * Cursor.C (dispatch): use fixIfBroken + * lyxfunc.C (getStatus): use fixIfBroken + +2005-02-15 Angus Leeming + + * lyx_main.C (error_handler): + * lyxfunc.C: + * lyxrc.C (setDefaults): + s/GetEnv/getEnv/. + #include "environment.h". + + * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/. + +2005-02-15 Angus Leeming + + * lyxserver.C (startPipe): squash MSVC warning "local variable + 'fd' used without having been initialized". + 2005-02-14 Jürgen Spitzmüller * BufferView_pimpl.C: revert accidental commit. @@ -26,8 +498,8 @@ * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here, but use update() to get correct screen display; use convert - instead of istringstream. - (getStatus): handle LFUN_GOTO_PARAGRAPH + instead of istringstream. + (getStatus): handle LFUN_GOTO_PARAGRAPH * lyxfunc.C (dispatch, getStatus): do not handle LFUN_GOTO_PARAGRAPH here.