]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
rename a function
[lyx.git] / src / ChangeLog
index 82642f22c87e8b3d2e6bc82aa8ef899e95201915..da9c31955db901f9070c23e0a642258ae5d29842 100644 (file)
@@ -1,4 +1,537 @@
-2003-12-12  Alfredo Braunstein  <abraunst@libero.it>
+
+2004-02-20  André Pönitz  <poenitz@gmx.net>
+
+       * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
+
+2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text2.C (setCursorFromCoordinates): switch to absolute coords
+       (cursorUp): adjust
+       (cursorDown): adjust
+       * text3.C (dispatch): adjust
+
+2004-02-16  André Pönitz  <poenitz@gmx.net>
+
+       * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
+         insets/ChangeLog)
+
+       * cursor_slice.[Ch]: remove unneeded acessor function
+
+       * lyxtext.h: rename rtl() to isRTL()
+
+       * rowpainter.C:
+       * tabular.C:
+       * text.C:
+       * text2.C:
+       * text3.C: adjust
+
+
+2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * rowpainter.C (paintSelection): coord fix
+
+2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+       * Spacing.C: compile fix
+
+2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * cursor.C (dispatch): restore current_ before returning
+
+2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text2.C (cursorUp, cursorDown): fix coords
+       (moveUp): fix crash
+
+2004-02-12  André Pönitz  <poenitz@gmx.net>
+
+       * lyxtext.h:
+       * text.C:
+       * text2.C:
+       * text3.C: add LCursor & parameter to most cursor movement functions
+         remove usage of LyXText::cursorRow() and cursorPar()
+
+       * cursor.[Ch]: add textRow() needed members
+
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * paragraph.[Ch]:
+       * BufferView.C:
+       * BufferView_pimpl.C: adjust
+
+2004-02-11  André Pönitz  <poenitz@gmx.net>
+
+       * lyxfunc.C:
+       * BufferView.[Ch]:
+       * BufferView_pimpl.C: shift undo/redo handling
+
+       * cursor.[Ch]: fix mathed crash
+
+       * lyxfind.C:
+       * lyxtext.h: move selectionAsText to LCursor
+
+       * output_latex.C:
+       * paragraph.C:
+       * text.C:
+       * text2.C:
+       * text3.C: adjust
+
+       * rowpainter.C: fix excessive drawing
+
+2004-02-06  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]:
+       * text3.C: move some text specific LFUN handling
+
+2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text3.C (checkInsetHit): adjust coords
+       * text2.C (getColumnNearX): adjust coords
+       (edit): adjust coords
+       * text.C (getRowNearY): add two asserts
+
+2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * converter.C:
+       * format.C: add using std::distance to compile on gcc 2.95/stlport
+
+2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
+
+2004-02-04  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch] (insertInset):
+       * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
+
+       * text2.C:
+       * text3.C: adjust
+
+2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
+       on the default clause of the switch
+       * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
+       wasn't catched by LCursor::dispatch
+
+2004-02-03  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * cursor.[Ch]: some additional asserts
+
+       * undo.[Ch]: remove LyXText dependency in interface
+
+       * lyxfunc.C: adjust
+
+       * lyxtext.h (firstPar, lastPar): remove dead functions 
+
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * paragraph.[Ch]: adjust
+
+2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyxfind.C (find): fix argument order in call to ::find
+
+2004-02-02  André Pönitz  <poenitz@gmx.net>
+
+       * cursor.[Ch]: remove direct access to anchor
+
+       * text.C: remove findText() hack
+
+2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * iterators.[Ch] (lockPath): remove in favour of...
+       * BufferView.[Ch] (setCursor): this addition
+       * BufferView.C (putSelectionAt): adjust
+       * undo.C (performUndoOrRedo): adjust
+       * lyxfunc.C (dispatch): adjust
+
+2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * iterators.C (lockPath): add a missing slice
+       * undo.C (performUndoOrRedo): remove redundant positioning code
+
+2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * vc-backend.C (scanMaster): ";" -> ';'
+
+2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
+       std::binary_function
+
+       * lyxtextclass.C (compare_name): rename to...
+       (LayoutNamesEqual): ...this
+
+       * lyxlex_pimpl.C (compare_tags): inherit from
+       std::binary_function, put back into anon namespace
+
+       * lyxfind.C (MatchString): inherig from std::binary_function
+       (findChange): use empty() istead of !size()
+
+       * format.C (FormatNamesEqual): new functor
+       (getFormat): use it
+       (getNumber): use it
+       (add): use it
+       (erase): use it
+       (setViewer): use it
+
+       * converter.C (compare_Converter): rename to...
+       (ConverterEqual): ...this, and fixup a bit.
+       (getConverter): use it, and make function const
+       (getNumber): use it, and make function const
+       (add): use it
+       (erase): use it:
+
+       * bufferlist.C: add using boost::bind
+
+       * MenuBackend.C (MenuNamesEqual): new functor
+       (hasMenu): use it, and make function const
+       (hasSubmenu): use nested bind to get rid of compare_memfun.
+
+2004-01-30  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView_pimpl.C:
+       * cursor.C:
+       * cursor.h:
+       * cursor_slice.[Ch]:
+       * lyxfunc.C:
+       * lyxtext.h:
+       * paragraph_funcs.C:
+       * paragraph_funcs.h:
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C: move some of the edit(x,y) handling to the insets
+       some coordinate changes.
+
+2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * text.C: add using statements for std::advance and std::distance
+
+       * paragraph.C: add using statement for std::distance
+
+       * lyxfind.C: add using statement for std::advance
+
+       * cursor.C (region): remove std:: from swap
+       (openable): use nucleus in stead of operator->
+
+       * BufferView.C: add using statements for std::distance and std::swap
+
+2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * iterators.C: Remove the pimple, move the needed structures to
+       the header file. Create accessor for the positions stack.
+       (asPosIterator): remove function
+
+       * PosIterator.C (PosIterator): move constructors to top of file
+       (PosIterator): reimplement the constructor taking a ParIterator in
+       terms of setFrom.
+       (setFrom): new function
+       (operator!=): inline it
+
+2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * lyxfind.C (replaceAll): use std::advance
+
+       * iterators.h: inherit from std::iterator.
+
+       * PosIterator.C (advance, distance): remove
+       * PosIterator.h: interit from std::iterator.
+
+2004-01-26  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]:
+       * InsetList.[Ch]:
+       * PosIterator.[Ch]:
+       * buffer.h:
+       * bufferview_funcs.C:
+       * cursor.[Ch]:
+       * cursor_slice.h:
+       * factory.[Ch]:
+       * iterators.[Ch]:
+       * lyxfind.C:
+       * lyxfunc.C:
+       * lyxtext.h:
+       * output_docbook.C:
+       * output_latex.C:
+       * output_linuxdoc.C:
+       * output_plaintext.C:
+       * paragraph.[Ch]:
+       * paragraph_funcs.[Ch]:
+       * paragraph_pimpl.[Ch]:
+       * rowpainter.C:
+       * tabular.C:
+       * tabular.h:
+       * text.C:
+       * text2.C:
+       * text3.C: more IU:  dumps most of the rest of the mathcursor
+    implementation into cursor.[Ch]; "globalize" a bit of it.
+
+2004-01-25  Angus Leeming  <leeming@lyx.org>
+
+       * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
+
+2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * LaTeXFeatures.h: add nice_ and nice() const
+       * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
+
+2004-01-20  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.C:
+       * PosIterator.C:
+       * bufferview_funcs.C:
+       * cursor.[Ch]:
+       * cursor_slice.[Ch]:
+       * factory.C:
+       * iterators.C:
+       * lyx_cb.C:
+       * lyxfind.C:
+       * lyxfunc.C:
+       * lyxtext.h:
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
+         LCursor and mathcursor parts to LCursor and InsetBase.
+
+2004-01-15  André Pönitz  <poenitz@gmx.net>
+
+       * cursor_slice.[Ch]: add a few covienience functions
+
+       * funcrequest.[Ch]: remove BufferView * member
+
+       * BufferView_pimpl.C:
+       * cursor.C:
+       * factory.[Ch]:
+       * lyxfind.[Ch]:
+       * lyxfunc.C:
+       * lyxtext.h:
+       * text3.C:
+       * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
+
+2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
+       * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
+
+2004-01-13  André Pönitz  <poenitz@gmx.net>
+
+       * textcursor.[Ch]:
+       * lyxtext.h: hide cursor and selection anchor behind accessor function
+
+       * BufferView.C:
+       * BufferView_pimpl.[Ch]:
+       * PosIterator.C:
+       * bufferview_funcs.C:
+       * cursor.h:
+       * lyxfind.C:
+       * lyxfunc.C:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * undo.C: adjust
+
+       * cursor.h:
+       * cursor_slice.[Ch]: some integer type changes for inset unification
+
+       * lyxcursor.[hC]: remove, it's CursorSlice now.
+
+       * Makefile.am:
+       * BufferView_pimpl.[Ch]:
+       * bufferview_funcs.C:
+       * cursor_slice.C:
+       * lyxtext.h:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * textcursor.[Ch]: adjust
+
+2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text2.C (undoSpan): add and use
+       * text.C (breakParagraph): use undoSpan (fix bug 578)
+       * lyxtext.h: adjust
+
+2004-01-08  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C (MenuInsertLyXFile):
+       * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
+       * lyxfunc.C (menuNew, open, doImport):
+       FileFilterList change to the FileDialog open and save functions.
+
+2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * ShareContainer.h: make isEqual and isUnique adaptable
+
+       * CutAndPaste.C: make resetOwnerAndChanges adaptable
+
+2004-01-07  Angus Leeming  <leeming@lyx.org>
+
+       * LyXAction.C:
+       * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
+
+       * BufferView_pimpl.C (dispatch): act on these LFUNs.
+
+       * lyxfind.[Ch] (find2string, replace2string, find, replace): new
+       functions replacing find, replace and replaceAll.
+
+       * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
+       LFUN_WORDFIND(FORWARD|BACKWARD).
+
+2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text.C (breakParagraph): remove an outdated #warning
+
+2004-01-07  André Pönitz  <poenitz@gmx.net>
+
+       * lyxfind.C: somewhat clearer logic
+
+       * text.C: prevent crash in cursorX on unitialized row cache
+
+2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyxcursor.[Ch] (operator>): add
+       * textcursor.C (selStart, selEnd): use std::min and std::max
+
+2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * Chktex.C: include boost/format.hpp
+
+2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * InsetList.C: replace functor MathcIt with adaptable functor
+       InsetTablePosLess
+       (insetIterator): modify accordingly
+
+       * BranchList.h: move the BranchNamesEqual functor here from...
+       * BranchList.C: ... to here
+
+       * BranchList.C: new BranchListEqual fuctor, use it. Remove
+       SameName and match.
+       (add): replace a finding loop with std::find_if.
+
+2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * output_docbook.C: moving LatexParam functionality into
+       .layout files
+
+2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * buffer.C: increment format to 229.
+
+2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * LaTeXFeatures.C:
+       * lyx_sty.[Ch]: remove minipageindent_def
+
+       * LyXAction.C:
+       * factory.C:
+       * lfuns.h:
+       * lyxfunc.C:
+       * text3.C: remove LFUN_INSET_MINIPAGE
+
+2003-12-28  Angus Leeming  <leeming@lyx.org>
+
+       * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
+
+2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text2.C (setParagraph): fix off-by-one crash
+
+2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * output_docbook.C: header stuff for AGU
+
+2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text2.C (redoCursor): remove
+       * text.C:
+       * text3.C:
+       * BufferView_pimpl.C: remove calls to redoCursor and
+       setCursor(cursor.par(), cursor.pos()) all around
+
+2003-12-15  Angus Leeming  <leeming@lyx.org>
+
+       * buffer.C: up the format to 228.
+
+2003-12-15  André Pönitz  <poenitz@gmx.net>
+
+       * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
+       slices
+
+       * Makefile.am:
+
+       * BufferView_pimpl.C:
+       * cursor.[Ch]:
+       * lyxcursor.[Ch]:
+       * rowpainter.[Ch]:
+       * lyxtext.h:
+       * text.C:
+       * text2.C:
+       * text3.C: adjust
+
+2003-12-15  Angus Leeming  <leeming@lyx.org>
+
+       * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
+       than getFromGUIName to manipulate the color.
+
+2003-12-14  Angus Leeming  <leeming@lyx.org>
+
+       * BranchList.[Ch]: minimize the API.
+       (Branch::getBranch, getColor): now return a 'const &'.
+       (Branch::setSelected) now returns a bool set to true if the
+       selection status changes.
+       (BranchList::clear, size, getColor, setColor, setSelected,
+       allBranches, allSelected, separator): removed.
+       (BranchList::find): new functions, returning the Branch with
+       the given name.
+       (BranchList::add, remove): return a bool indicating that
+       the operation was successful.
+
+       * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
+       new InsetBranch::isBranchSlected member function.
+
+       * LColor.[Ch]: mimimize the API.
+       (fill): renamed as addColor and made private.
+       (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
+       versions of these functions taking a string arg have been removed.
+
+       * bufferparams.C (readToken):
+       * lyxfunc.C (dispatch):
+       * lyxrc.C (read): changes due to the altered BranchList and
+       LColor APIs.
+
+       * factory.C (createInset, readInset): changes due to altered
+       InsetBranch c-tor.
+
+2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * factory.C:
+       * lyxfunc.C: remove insetminipage. "minipage-insert"
+       now produces a frameless minipage box inset.
+
+2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * textcursor.[Ch] (selStart,selEnd): add new methods
+       remove selection::start, end, use LyXCursor::operator<
+       * lyxcursor.[Ch] (operator<): add
+       * BufferView_pimpl.[Ch]: add new struct xsel_cache_
+       * BufferView.[Ch] (unsetXSel): add
+       * text2.C (clearSelection): use unsetXSel,adjust
+       * text.C: adjust
+       * text3.C: adjust
+       * rowpainter.C: adjust
+       * bufferview_funcs.C (put_selection_at): adjust
+
+2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
 
        * BufferView_pimpl.C: small coord. correction
 
 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
 
        * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
-       when a pit is enough. Standarize a couple of loops. 
+       when a pit is enough. Standarize a couple of loops.
 
 2003-12-05  Angus Leeming  <leeming@lyx.org>
 
        * lyxtext.h:
        * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
        InsetText::read() as LyXText::read()
-       
+
 2003-12-02  Angus Leeming  <leeming@lyx.org>
 
        * lyxlex.[Ch] (operator void const *): add the 'const' to the return
 
        * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
 
-       * undo.C: fix cursor positioning 
+       * undo.C: fix cursor positioning
 
 2003-12-01  John Levon  <levon@movementarian.org>
 
 
 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
 
-       * buffer.C: 
+       * buffer.C:
        * lyxtextclass.[Ch]: parametrize SGML document header
 
 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
 
        * text2.C (setFont): rework using PosIterator (no more recursive)
-       (setCharFont): no more needed 
+       (setCharFont): no more needed
        (setLayout): no more selection cursors fiddling (done by redoCursor)
        * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
        destroy remaining ones)
 
        * rowpainter.C: simplification
 
-       * text2.C (updateCounters): remove call to redoParagraph on 
+       * text2.C (updateCounters): remove call to redoParagraph on
        changed labels as this is far too expensive.
 
 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>