X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=f0684241066e0cd34de8511d6e213c37ea2b3308;hb=6719871884adb665b63e46c58893bf13423f4bea;hp=21118ccdbe187993bd68636ed63b533977440727;hpb=1f9d992ce0b5d33341215dc8dece45fe1b5bccf0;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 21118ccdbe..81d2d86d4e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,1416 @@ +2005-07-15 + + * output_latex.C (TeXDeeper): get rid of potential dereferencing + of past the end iterator + +2005-07-14 André Pönitz + + * undo.C (recordUndoFullBuffer): implement undo for + textclass switches + +2005-07-14 André Pönitz + + * cursor.C (setSelection): open insets when selection is set there + to avoid crashs with cold coord cache + +2005-07-14 André Pönitz + + * trans_mgr.C (insert): move cursor to the right after inserting + a char. + +2005-07-14 Lars Gullik Bjønnes + + * BufferView_pimpl.C (update): dampen some of the debug blabbering + * factory.C (readInset): ditto + * text.C, text2.C: ditto + +2005-06-21 Jean-Marc Lasgouttes + + * buffer.C: format incremented to 242. There is no file format per + se, but the "frenchb" language has been removed from lib/language + and has to be translated to "french" by lyx2lyx. + +2005-07-06 Georg Baum + + * cursor_slice.h, dociterator.h: add some documentation + * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove + +2005-07-06 Jürgen Spitzmüller + + * text.C (leftMargin): do not add identation to display() style + insets, because they are always centered (bug 1293). + +2005-07-05 Jürgen Spitzmüller + + * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew + formatted_time methods in support/lyxtime. + +2005-07-04 Jürgen Spitzmüller + + * toc.[Ch]: new method getGuiName, which is used by the frontends + to set the toc combo (fixes bug 1870). Make TOC string translatable. + +2005-07-01 Jürgen Spitzmüller + + * dociterator.[Ch]: implement operator==(StableDocIterator const &, + StableDocIterator const &) + * undo.C (recordUndo): use the above instead of cell.size() comparison + (fixes bug 1808; instructed by André). + +2005-06-29 Martin Vermeer + + * cursor_slice.h: + * dociterator.h: Fix the assert when copying rows/cols in math + +2005-06-25 Jürgen Spitzmüller + + * BufferView_pimpl.C: + * LyXAction.C: + * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961) + + * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset; + (findInset): new functions, refactored from goto Inset that return + the position of a certain inset without setting the buffer's cursor + (by Jean-Marc); + (gotoInset): rewrite to call findInset and then set the cursor + (by Jean-Marc). + +2005-06-16 Angus Leeming + + * lyxrc.C (output, read): wrap all input and output of paths with + calls to os::internal_path and os::external_path, respectively. + (output): wrap bind_file inside quotes. + + * format.C (view): enable the viewer to use the '$$s' placeholder. + +2005-06-16 Georg Baum + + * LColor.[Ch] (getFromLaTeXName): new + +2005-06-16 Martin Vermeer + + * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX) + +2005-06-14 Angus Leeming + + * lyx_main.C (init): ensure that the LyX binary dir is the first + element in the PATH on non-POSIX builds. + +2005-06-11 Georg Baum + + * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict + +2005-06-09 Jean-Marc Lasgouttes + + * rowpainter.C (paintInset, paintHebrewComposeChar) + (paintArabicComposeChar, paintChars): add a LyXFont argument. + (paintChars): use getFontSpan to reduce calls to getFont to a + minimum; use Paragraph::lookupChange instead of isXXXText. + (paintForeignMark): rename LyXFont argument. + (paintFromPos): pass a LyXFont object to the various paintXXX + methods. + + * FontIterator.C (FontIterator, operator++): use + Paragraph::getFontSpan + + * paragraph.C (getFontSpan): replace getEndOfFontSpan with a + version that returns the font span as a pair. + +2005-06-09 Angus Leeming + + * converter.C (convert): Don't forget "outfile = real_outfile" as + the final step in a conversion where the input and output file names + are the same. Otherwise, future conversion steps won't work... + +2005-06-09 Angus Leeming + + * lyxsocket.C: remove stub code as it isn't needed by + MinGW/MinSYS anyway. Let's see if the MSVC people scream... + +2005-06-07 Georg Baum + + * lyx_main.C (parse_execute): Fix last fix: is_gui = false + effectively disabled -x + +2005-06-06 Jürgen Spitzmüller + + * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only + when it actually makes sense. + +2005-06-06 Martin Vermeer + + * BufferView_pimpl.C: revert to showCursor in connection with + Lars's front-end stack + +2005-06-06 Jürgen Spitzmüller + + * text.C (redoParagraph): move cursor right after a bibitem + has been inserted. + + * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography. + +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. + +2005-02-14 André Pönitz + + * dociterator.[Ch]: new member forwardPosNoDescent(), + which doesn't enter nested insets. + * text2.C (setFont): use forwardPosNoDescent() instead + of ForwardPos() (fixes crash on font change). + +2005-02-13 Angus Leeming + + * lyx_main.C (init): invoke prependEnvPath to adjust the PATH + only if lyxrc.path_prefix is not empty. + +2005-02-12 Georg Baum + + * bufferparams.C (readGraphicsDriver): prevent crash + +2005-02-10 Georg Baum + + * text2.C (setCounter): check for inInset() == 0 + +2005-02-09 Jean-Marc Lasgouttes + + * 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 + + * lyxfunc.C (dispatch, getStatus): do not handle + LFUN_GOTO_PARAGRAPH here. + +2005-02-08 Lars Gullik Bjonnes + + * text3.C (dispatch): size() -> depth() + + * text2.C: remove some debug output + + * paragraph.C: ws changes only + + * lyxfunc.C (getStatus): size() -> depth() + + * dociterator.h (clear, push_back, pop_back, internalData, + operator[], resize, empty): new functions + Make StableDocIterator and operator== be friends. Don't inherit + from std::vector use a privat class variable slices_ instead. + Modify to fit. + + * dociterator.C: update because of not inheriting from std::vector + anymore. Call explictly to slices_ instead. Use depth() instead of + size() and top() instead of back() + + * cursor.C: chagne size() -> depth and back() -> top(). Also + remove some direct operator[](i) calls in favour of foo[i] + (getFont): remove some dead code + + * bufferview_funcs.C (coordOffset): size() -> depth() + + * buffer.C: ws changes only + + * CutAndPaste.C (eraseSelection): back() -> top() + + * BufferView_pimpl.C (selectionRequested): back() -> top() + + * BufferView.C (setCursor): size() -> depth() + +2005-02-08 Lars Gullik Bjonnes + + * text3.C (cursorPrevious): return true if depm changed something + (cursorNext): ditto + (dispatch): rename sl to oldTopSlice, remove moving use the new + NoUpdate func attrib instead. Make sure that needsUpdate is set + for function that have NoUpdate, but where depm might have changed + the buffer anyway. + + * text2.C (cursorLeft): make us return true if depm changed + something + (cursorRight): ditto + (cursorUpParagraph): ditto + (curosrDownParagraph): ditto + (cursorUp, cursorDown): ditto, make sure to read comments in code + (deleteEmptyParagraphMechanism): remove an assert, also return + true if just a single char was deleted. + + * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp + cursor that we modify, to avoid modifying an active cursor before + we call setCursor. This allows depm to run. Also return true if + depm deleted something. + + * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight, + cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph, + cursorDownParagraph, cursorPrevious and cursorNext, return true if + something was changed in the buffer because of them (ie. depm run) + + * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some + debug messages. Make update by default be false. Make sure that + the result of update is retained throught several calls down to + dispatch. + + * LyXAction.h: add a new func_attrib: NoUpdate + + * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT, + LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH, + LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT + and LFUN_WORDLEFT + (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_* + +2005-02-07 Jean-Marc Lasgouttes + + * BufferView_pimpl.C: replace all occurences of bv_->cursor(), + bv_->owner(), bv_->buffer() by direct references to the private + members. + (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer. + (getStatus): isSavedPosition() is in BufferView::Pimpl. + (fitCursor): center() is in BufferView::Pimpl. + (getStatus, trackChanges, dispatch): no need for a temporary buf + variable + (fitCursor, workAreaDispatch): use workarea().workheight() + +2005-02-07 Georg Baum + + * CutAndPaste.C (pasteSelectionHelper): fix a crash + +2005-02-03 Georg Baum + + * buffer.C: format up to 241. + * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph + break if pasting into ERT + * lyxfunc.C (getStatus): suppress mathpanel and + LFUN_DIALOG_SHOW_NEW_INSET in ERT + +2005-02-01 Angus Leeming + + * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX. + +2005-02-01 Angus Leeming + + * lyx_main.C (init, queryUserLyXDir): use fs::exists() before + calling fs::is_directory(). + +2005-01-31 Angus Leeming + + * lyx_main.C (priv_exec): specify explicitly the relative location + of the top level build directory when run in-place. + +2005-01-27 Jean-Marc Lasgouttes + + * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the + LyXText containing the cursor, not the top-level one. + + * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_ + true. + (insertStringAsLines): rename par to pit; use temporary variable + par to hold a Paragraph; do not store par.layout() in a variable, + since the pointer may die when breaking paragraphs; pass pars to + breakParagraph() instead of Buffer::paragraphs(). + +2005-01-31 Asger Ottar Alstrup + + * lyxlex_pimpl.h: #include . + + * BufferView.[Ch] (getLyXText): add a const version. + + * BufferView_pimpl.C: add debug aids. + + * RowList_fwd.h: + * buffer.h: + * lyxrow.h: + * paragraph_funcs.h: add commentary explaining what the class does. + + + * coordcache.[Ch]: add lots of commentary. + (startUpdating, doneUpdating): debug aids. + (arrays, insets, parPos, getParPos): accessors to private data. + + * cursor_slice.[Ch] (text): add a const version. + * dociterator.[Ch] (text, innerText): add const versions. + + * lyxtext.h (breakParagraph): change the keep_layout arg to a + bool. + + * paragraph.C (getRow, pos2ros): add asserts. + + * paragraph.h: add commentary. Lots of. + + * paragraph.[Ch] (metrucs, draw): removed. + + * cursor.C: + * rowpainter.[Ch]: const-correct changes. + + * text.C: various obvious clean-ups. Removal of ancient cruft. + Bug fixes, even. + +2005-01-31 Lars Gullik Bjonnes + + * vc-backend.C (find_file): rewrite to use boost.filesystem + (scanMaster): ditto + + * main.C (main): set default name check for boost.filesystem to + no check + + * lyxfunc.C (menuNew): rewrite to use boost.filesystem + (open): ditto + (doImport): ditto + (actOnUpdatedPrefs): ditto + + * lyx_main.C (init): rewrite to use boost.filesystem + (queryUserLyXDir): ditto + + * lyx_cb.C (WriteAs): rewrite to use boost.filesystem + (getContentsOfAsciiFile): ditto + + * lastfiles.C (readFile): rewrite to use boost.filesystem + + * exporter.C (checkOverwrite): rewrite to use boost.filesystem + + * buffer_funcs.C (readFile): rewrite to use boost.filesystem + (loadLyXFile): ditto + + * buffer.C (Buffer): adjust for destroydir + (getLogName): rewrite to use boost.filesystem + (setFileName): ditto + (save): use fs::copy_file (from fs_extras) + + * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM + + * LaTeX.C (run): rewrite to use boost.filesystem + (scanAuxFiles): ditto + (handleFoundFile): ditto + +2005-01-28 Jürgen Spitzmüller + + * LaTeXFeatures.C (getAvailable): always clear packages_ list. + + * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable() + +2005-01-27 Lars Gullik Bjonnes + + * lyxlayout.[Ch]: change some vars from float to double + + * buffer.C (readFile): make a local var const + + * Several files: use convert<> instead of atoi,strToXXX and friends + +2005-01-24 Jürgen Spitzmüller + + * LaTeXFeatures.[Ch]: Add a static list packages_ that + holds the contents of packages.lst. New functions getAvailable + and isAvailable to parse and check that list, resp. + + * LyXAction.C: + * lfuns.h: + * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES. + + * bufferparams.[Ch]: new param output_changes. + + * Buffer.C: increase file format to 240. + Use output_changes and isVailable. + + * changes.[Ch]: + * paragraph.C: + * paragraph_pimpl.C: Use output_changes and isVailable. + +2005-01-23 Angus Leeming + + * output_latex.C: #include "insetbibitem.h", rather than + forward declare function bibitemWidest. + +2005-01-21 Andreas Vox + + * lyx_main.C (init): make it compile on the Mac. + +2005-01-20 Angus Leeming + + * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize) + (setLyXMisc): (char string literal) != (char string literal) is + performing a comparison on the addresses. Convert one operand + explicitly to string to guarantee expected behaviour. + From MSVC warning. + +2005-01-20 Asger Ottar Alstrup + + * buffer.C: + * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard. + + * output_plaintext.C: remove unneeded #include gzstream.h. + +2005-01-20 Angus Leeming + + * SpellBase.h: rename some of the elements of the Result enum. + + * aspell_local.h: + * ispell.h: + * pspell.h: + * aspell.C (check): + * ispell.C (check): + * pspell.C (check): ditto + +2005-01-20 Asger Ottar Alstrup + + * buffer.C: add #include . + + * lyx_main.C (init): Compile fix. + + * lyxserver.[Ch] (inPipeName, outPipeName): move out of line. + +2005-01-20 Angus Leeming + + * mover.h: change commentary to reflect the changed meaning of + the $$s placeholder. + +2005-01-20 Jean-Marc Lasgouttes + + * output_linuxdoc.C (linuxdocParagraphs): silence warning + + * lyxfind.C (MatchString::operator()): remove bogus semicolon + +2005-01-20 Angus Leeming + + * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when + printing diagnostic data by not dereferecing an iterator past the + end. + +2005-01-19 Asger Ottar Alstrup + + * buffer.C (readHeader): use "&&" rather than "and". + + * lyxserver.h (inPipeName, outPipeName): make these const. + +2005-01-19 Angus Leeming + + * lyx_main.C (error_handler, init): protect SIGHUP with + #ifdef SIGHUP guards. + +2005-01-19 Jean-Marc Lasgouttes + + * LaTeXFeatures.C: rename feature "wasy" to "wasysym". + +2005-01-11 Jean-Marc Lasgouttes + + * text.C (setHeightOfRow): add a margin at the top and bottom of + the document (bug 1761) + +2005-01-17 Angus Leeming + + * buffer.C (readFile): prepend the name of the "lyx2lyx" script + with "python ". Workaround for a brain-dead Windows. + +2005-01-16 Angus Leeming + + * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH + for MacOSX and Windows to use prependEnvPath. + Strip out the hard-coded block to add elements to the PATH for + MacOSX and replace it with a call to prependEnvPath using the + contents of LyXRC::path_prefix. + (queryUserLyXDir): strip out the code to run reconfigure, instead + returning a boolean indicating the necessity to do so. + (reconfigureUserLyXDir): contains the code to reconfigure the + user support directory. Is now called after the various LyXRC data + files have been read. + + * lyxrc.[Ch]: add path_prefix var and code to read/write it. + +2005-01-14 Georg Baum + + * converter.[Ch] (convert): take a new parameter try_default. Use + a default converter (imagemagick) if try_default is true. + +2005-01-13 Angus Leeming + + * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of + os::cygwin_path_fix. + (write): output LyXRC::cygwin_path_fix as necessary. + +2005-01-02 Kayvan Sylvan + + * lyxrc.h: + * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix. + +2005-01-12 Angus Leeming + + * lyx_main.C (init): set the PATH variable to include the + directory containing the LyX binary when running on Mac or Windows. + +2005-01-12 Angus Leeming + + * lyx_main.C (init): remove cruft that purports to set the locale + dir. It doesn't and is not needed anyway. + +2005-01-10 Angus Leeming + + * Makefile.am: remove the lyx_main.C special casing. + + * BufferView_pimpl.C: + * bufferlist.C: + * exporter.C: + * lyx_cb.C: + * lyx_main.C: + * lyxfunc.C: + * messages.C: use support/package.h to provide the paths to the + various directories used by LyX. + +2005-01-09 Georg Baum + + * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the + layout if pasting into an empty paragraph) + +2005-01-07 Lars Gullik Bjonnes + + * tex-accent.C: add + +2005-01-06 José Matos + + * ParagraphParameters.C (write): put every parameter in its own line. + * paragraph.C (write): reduce number of consecutive empty lines exported. + * buffer.C (LYX_FORMAT): increase file format to 239. + +2005-01-06 Lars Gullik Bjonnes + + * everywhere: change support/tostr.h -> support/convert.h + + * tabular.C: make all write_attributes templates, tostr -> convert + + * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar + (emptyTag): and -> &&, and fix type for ret from getChar + (getFirstWord): fix type for ret from getChar + (onlyText): and -> && + (simpleDocBookOnePar): and not -> && !, fix type for ret from + getChar + + * toc.C (goTo, action): + * text3.C (dispatch): + * text.C (currentState): + * tex-accent.C (DoAccent): + * sgml.C: + * lyxrc.C: + * lyxfunc.C (menuNew): + * lyxfinc.C (replace): + * counters.C (laberItem): + * bufferview_funcs.C (font2string): + * bufferparams.C (writeFile): + * buffer.C (readFile): + * Spacing.C (set): + * MenuBackend.C: tostr -> convert + + * LaTeX.C (runMessage): fix format + (scanAuxFiles): tostr -> convert + + * BufferView_pimpl.C (savePosition): fix format + (restorePosition): ditto + (dispatch): ditto + +2005-01-06 Jürgen Spitzmüller + + * Spacing.[Ch]: New method getValueAsString(). + + * Spacing.[Ch]: + * bufferparams.C: + * ParagraphParameters.C: + * lyxlayout.C: + * text.C: + * text3.C: store/read spacing value as string. + + * rowpainter.C: change float value (spacing_val) to double. + + * bufferparams.C: add Spacing::Other to spacetranslator (fixes + broken custom document spacing). + +2005-01-05 Lars Gullik Bjonnes + + * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon + namespace, also more use of temp references and const + + * cursor.[Ch] (getStatus): move to lyxfunc.C + + * bufferparams.C: reformat slightly + + * bufferview_funcs.C (font2string): constify arg + + * changes.C: + * converter.C: + * counters.C: + * bufferlist.C: + * buffer_funcs.C: (many funcs): constify arg on function + definitions, also make more local vars const, also add ASSERTS on + pointer args. + + * buffer.C (LYX_FORMAT): put const in correct place + (many funcs): constify arg on function definitions, also make + more local vars const + + * aspell_local.h: remove "struct" from typdef setup + + * aspell.C (check): make word_ok const + (nextMiss): simplify slightly + (error): ditto + +2005-01-05 Jürgen Spitzmüller + + * lyxrc.[Ch]: store all float values as strings. + use int (not float) for lyxrc.dpi. + +2005-01-04 Angus Leeming + + * lyx_cb.C (Reconfigure): + * lyx_main.C (queryUserLyXDir): + to run the /configure correctly on Windows, prefix + the path to the script with "sh " when generating the string that + is passed to system(). + +2005-01-04 Jürgen Spitzmüller + + * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT. + +2004-12-29 Jean-Marc Lasgouttes + + * lyxlength.C (asLatexString): get rid of setprecision + +2004-12-28 Jean-Marc Lasgouttes + + * text2.C (setLayout): remove unused variable endpit. + (deleteEmptyParagraphMechanism): remove unused variable tmpcursor. + + * paragraph.C (onlyText): remove unused variable style. + + * cursor.C (bruteFind): remove unused variables beg and end. + + * Makefile.am (dist_noinset_DATA): not needed anymore + + * cheaders/*: remove. + +2004-12-27 Jürgen Spitzmüller + + * text3.C: fix LFUN_MATH_MODE. + +2004-12-22 Jean-Marc Lasgouttes + + * buffer_funcs.C (countWords): new function. Counts words between + two iterators. + + * BufferView_pimpl.C (getStatus, dispatch): handle + LFUN_WORDS_COUNT. + + * LyXAction.C (init): + * lfuns.h: add LFUN_WORDS_COUNT. + +2004-12-19 Angus Leeming + + * buffer.C (save): s/slashify_path/internal_path/. + +2004-12-20 Jürgen Spitzmüller + + * lyxfind.C (findChange): do not search for end of pars, because + the change tracker cannot handle this (fixes bug 1719). + +2004-12-17 Alfredo Braunstein + + * paragraph.[Ch] (autoBreakRows): remove + + * lyxtext.h: move autoBreakRows_ flag from InsetText to here. + + * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to + avoid using the paragraph one + + * text2.C (LyXText, insertStringAsLines): adjust + +2004-12-16 Angus Leeming + + * bufferlist.C: + * lyx_main.C: + * messages.C: remove redundant "using lyx::support::GetEnvPath;" + +2004-12-14 Angus Leeming + + * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null". + + * bufferlist.C (emergencyWrite): + * lyx_main.C (queryUserLyXDir): use os::homepath(), not + GetEnvPath("HOME"). + +2004-12-14 Angus Leeming + + * main.C: (main): no longer pass pointers to os::init. + +2004-12-06 Alfredo Braunstein + + * undo.C (textUndoOrRedo): simplify logic, fix a crash + (performUndoOrRedo): set the inset owner of paragraphs (fix a crash) + +2004-12-06 Alfredo Braunstein + + * lyxfunc.C: + * text3.C: remove selection_possible global flag + +2004-12-06 Alfredo Braunstein + + * text2.C (getSelectionSpan): remove + (changeDepth, changeDepthAllowed): adjust + +2004-12-05 Lars Gullik Bjønnes + + * Makefile.am (BOOST_LIBS): use boost variables + +2004-12-03 José Matos + + * buffer.C: format up to 238. + +2004-12-03 José Matos + + * tabular.[Ch]: remove setHeaderFooterRows as this code is never called. + +2004-12-03 Lars Gullik Bjonnes + + * cursor.C (goUpDown): remove call to idxUpDown2 + +2004-12-02 Georg Baum + + * tabular.[Ch]: use size_t-like types for cell, row and column + indices + +2004-12-01 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): do not lose previous information when + calling BufferView::getStatus; do not set a default "Command + disabled" message at the beginning, but just before returning. + +2004-11-30 Georg Baum + + * cursor.h (getStatus): add better comment from src/cursor.C + +2004-11-30 Jean-Marc Lasgouttes + + * text3.C (getStatus): return false when the lfun is not handled + +2004-11-29 Jean-Marc Lasgouttes + + * broken_headers.h: remove + + * Makefile.am (lyx_SOURCES): remove broken_headers.h + +2004-11-24 Alfredo Braunstein + + * BufferView.[Ch]: remove top_y, introduce anchor_ref, + offset_ref accessors + + * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove + top_y_, merge fitcursor with update + (updateScrollbar, scrollDocView, fitCursor, center, update): new + coord scheme + (metrics): introduce + (workAreaDispatch): adapt to new coord scheme + (redoCurrentBuffer): remove + + * FontIterator.[Ch]: Use Paragraph & instead of pit_type + + * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status, + CurStatus enum. + + * coordcache.[Ch]: add paragraph cache and helpers + + * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit, + adjust everywhere + + * cursor.[Ch] (getDim): fix, (getPos) use coordOffset + (targetX, setTargetX): introduce + + * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename + baseline -> ascent, as the rest of lyx + + * lyxtext.h: remove redoParagraphs, updateParPositions, + fullRebreak, redoParagraphInternal. move dist to anon namespace in + tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it + have ascent/descent (ascent is ascent of first par) + + * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics + step of BufferView + + * paragraph.[Ch]: unify dimension handling with the rest of lyx + + * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove. + + * pariterator.C: fix infinite loop introduced in par->pit renaming + + * rowPainter.[Ch]: big rewrite: separate drawSelection from draw + in insets and LyXText, draw two off-screen paragraphs using + NullPainter, and adapt to new coord scheme + + * text.C: + * text2.C: + * text3.C: adapt lfun handlers to the new coord scheme, which + means: there's only guaranteed coord information for onscreen pars + plus one above and one below. This implies that one can do search + from y coordinates in the range [-1,workHeight] + +2004-11-25 Lars Gullik Bjonnes + + * rename a lot of InsetOld to InsetBase + +2004-11-25 Angus Leeming + + * BufferView_pimpl.C: + * lyx_cb.C: + * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes. + +2004-11-24 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only + call BufferView::getStatus if LCursor::getStatus did nothing + (setStatusMessage, getStatusMessage): removed. + + * FuncStatus.C (message): new methods. Used to provide an error + message indicating why a command is disabled. + (clear, |=, FuncStatus): update for message. + +2004-11-23 Georg Baum + + * lyxfunc.C (dispatch): always call sendDispatchMessage + +2004-11-24 Alfredo Braunstein + + * BufferView.C: + * BufferView_pimpl.C: + * CutAndPaste.C: + * FontIterator.C: + * buffer.C: + * cursor.C: + * cursor_slice.[Ch]: + * dociterator.[Ch]: + * lyxfind.C: + * paragraph_funcs.C: + * pariterator.C: + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: + * undo.C: par->pit renaming + +2004-11-23 Lars Gullik Bjonnes + + * tabular.C (cellstruct): use initialization, store a shared_ptr + to insettext instead of the insettext directly, adjust to fit. + (operator=): new function + (swap): new function + (rowstruct): use initialization + (columnstruct): use initialization + (ltType): use initialization + + + * lyxlength.h (swap): new function + + * LColor.[Ch] (operator=): use the common semantics + +2004-11-22 Jean-Marc Lasgouttes + + * lyxfind.C (findNextChange): update the bufferview after setting + the selection. + +2004-11-16 Jean-Marc Lasgouttes + + * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max + number of InsetOptArgs has already been inserted. + + * output_latex.C (latexOptArgInsets): new method. This outputs all + the optarg insets, up to the limit defined in the layout file. + (optArgInset): removed + (TeXOnePar): call latexOptArgInsets; correctly update texrow + +2004-11-16 Jean-Marc Lasgouttes + + * paragraph.C (isLetter): remove special spellchecker-related + code; return true also for digits + (isWord, isKomma): remove + + * text.C (cursorRightOneWord, cursorLeftOneWord, getWord): + * lyxfind.C (MatchString()): use isLetter instead of isWord + +2004-11-17 Lars Gullik Bjonnes + + * pariterator.h (operatir=): comment out un-implemented member + function. + + * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a + static cast. + +2004-11-17 Lars Gullik Bjonnes + + * lyxfont.h: include LColor.h to satisfy concept checks. + 2004-11-16 Lars Gullik Bjonnes * pariterator.h: add typdefs for value_type, difference_type,