]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
merge CursorItem and MathPos
[lyx.git] / src / ChangeLog
index 42db2fcd4eb95c7bd754b8ef02e42d63b13bde51..7a4510e9cacb1e778532013e801d253414214731 100644 (file)
@@ -1,3 +1,372 @@
+
+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-12  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
+       dragging over the splash screen.
+
+2003-12-11  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
+       as it is now handled in LyXText::dispatch.
+
+       * text3.C (doInsertInset): remove a level of nesting.
+
+2003-12-11  Angus Leeming  <leeming@lyx.org>
+
+       * factory.C (createInset): changes due to the changed interface to
+       InsetCommandMailer::string2params.
+
+2003-12-10  Angus Leeming  <leeming@lyx.org>
+
+       * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
+       'dialog-show-new-inset <inset name>'
+
+2003-12-10  Angus Leeming  <leeming@lyx.org>
+
+       * buffer.C: up the format to 227.
+
+       * factory.C: the box inset is now identified simply by 'Box'.
+
+2003-12-10  Angus Leeming  <leeming@lyx.org>
+
+       * buffer.C: up the format to 226.
+
+       * factory.C: the note inset is now identified simply by 'Note'.
+
+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. 
+
+2003-12-05  Angus Leeming  <leeming@lyx.org>
+
+       * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
+       "vclog" explicitly, passing the appropriate "<logtype> <filename>"
+       data to the re-worked "log" dialog.
+
+2003-12-03  André Pönitz  <poenitz@gmx.net>
+
+       * PosIterator.C:
+       * iterators.C:
+       * lyxtext.h:
+       * output_latex.C:
+       * paragraph_funcs.C:
+       * text.C:
+       * text2.C: use Inset::getText instead of Inset::getParagraph
+
+2003-12-03  André Pönitz  <poenitz@gmx.net>
+
+       * buffer.[Ch]:
+       * 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
+       type. Add a comment in the implementation that the function uses
+       the stream's bad() function rather than fail() as the std::streams
+       would do.
+
+2003-12-02  André Pönitz  <poenitz@gmx.net>
+
+       * lyxlex.[Ch]: make interface more similar to std::stream
+
+       * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
+
+2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * lyxtextclass.[Ch]: add latexparam to CharStyle inset
+
+2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * vspace.[Ch]: remove VSpace::NONE
+
+2003-12-01  André Pönitz  <poenitz@gmx.net>
+
+       * buffer.[Ch]:
+       * lyxtext.h: move ParagraphList member to LyXText
+       rename LyXText::ownerParagraphs to LyXText::paragraph
+
+       * CutAndPaste.C:
+       * bufferview_funcs.C:
+       * iterators.[Ch]:
+       * lyx_cb.C:
+       * paragraph.C:
+       * rowpainter.C:
+       * tabular.C:
+       * text.C:
+       * text2.C:
+       * text3.C: adjust
+
+       * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
+
+       * undo.C: fix cursor positioning 
+
+2003-12-01  John Levon  <levon@movementarian.org>
+
+       * BufferView_pimpl.C: fix a crash on exit with
+       a buffer open
+
+2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * BranchList.C: fix setSelected() method.
+
+2003-11-28  André Pönitz  <poenitz@gmx.net>
+
+       * ParagraphParameters.[Ch]:
+       * ParameterStruct.h: remove space above/below from Paragraph to
+        InsetVSpace
+
+       * BufferView_pimpl.C:
+       * factory.C:
+       * lyxfunc.C:
+       * lyxtext.h:
+       * output_latex.C:
+       * paragraph.C:
+       * paragraph_funcs.C:
+       * rowpainter.[Ch]:
+       * text.C:
+       * text2.C:
+       * text3.C: adjust
+
+2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * factory.C: Syntax change for CharStyles
+
+2003-11-28  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView.[Ch]:
+       * buffer.[Ch]:
+       * buffer.[Ch]: move LyXText member
+
+2003-11-28  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]: make LyXText * text a private member
+
+       * BufferView_pimpl.C:
+       * cursor.C:
+       * iterators.C:
+       * lyx_cb.C:
+       * lyxfind.C:
+       * lyxtext.h:
+       * rowpainter.[Ch]:
+       * text.C:
+       * text2.C:
+       * undo.C: adjust
+
+       * output_plaintext.C: cleanup
+
+2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * buffer.C: 
+       * lyxtextclass.[Ch]: parametrize SGML document header
+
+2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * converter.[Ch]:
+       * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
+       getFlavor().
+
+2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text2.C (setFont): rework using PosIterator (no more recursive)
+       (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)
+
+2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
+       * lyxtext.h: ditto
+       * text2.C: same thing + updateCounters fix + redoCursor also adjusts
+       selection cursors
+       * lyxfunc.C: adjust
+       * text3.C: adjust + re-allow multi par depth changes
+       * textcursor.C: simplify a bit
+
+2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * src/buffer.C:
+       * src/lyxlayout.C:
+       * src/lyxlayout.h:
+       * src/lyxtext.h:
+       * src/output_docbook.C:
+       * src/output_latex.C:
+       * src/paragraph.C:
+       * src/paragraph.h:
+       * src/sgml.C:
+       * src/sgml.h:
+       * src/text2.C: Introducing a number of tags parametrizing various
+       XML formats that we may want to support
+
+2003-11-25  André Pönitz  <poenitz@gmx.net>
+
+       * InsetList.[Ch] (begein, end): inline as suggested by profiler
+
+       * lyxtext.h (leftMargin/rightMargin): simplify interface
+
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C: adjust
+
+2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * lyxfunc.C (dispatch): propogate the bibtex databases from the
+       master file to any child files. Fixes bug 546.
+
+2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyxfind.C (findNextChange): remove unneeded bv->text->init call
+
+2003-11-24  André Pönitz  <poenitz@gmx.net>
+
+       * rowpainter.C: simplification
+
+       * text2.C (updateCounters): remove call to redoParagraph on 
+       changed labels as this is far too expensive.
+
+2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * converter.C (convert): fix a crash: this function gets
+       called with buffer == 0 from importer code.
+
+2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * text3.C (cursorPrevious): make sure that we do not compare
+       iterators form different containers.
+       (cursorNext): ditto
+
+       * rowpainter.C (paintSelection): make sure that we do not compare
+       iterators from different containers.
+
+       * text3.C (dispatch): [PRIOR] make sure that we do not compare
+       iterators from different ParagraphList containers.
+       [NEXT] ditto
+
+       * text2.C (LyXText): change order of initialization slightly
+       (operator=): new function. copy all variables except cache_par_
+       (moveUp): make sure that we do not compare iterators from
+       different ParagraphList constainers.
+       (moveDown): ditto
+
+       * text.C (firstPar): new function
+       (lastPar): new function
+       (endPar): new function
+
+       * lyxtext.h: move things around and group public functions, public
+       variables, private functions, private variables
+
+2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * factory.C: change call to InsetERT constructor to avoid
+       additional invocation of method status
+       * text2.C (toggleInset): remove redundant update() call
+       * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
+       instead of a Bufferview pointer
+
+2003-11-21  André Pönitz  <poenitz@gmx.net>
+
+       * rowpainter.C: simplification
+
+2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text3.C (dispatch): make possible to extend a word/row selection
+       with the mouse
+
+2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyxtext.h: x0_,y0_ -> xo_,yo_
+       * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
+       * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
+       * rowpainter.C (paintRows): paint full paragraphs
+
+2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
+       screen coordinates)
+
+2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyxtext.h: add x0_, y0_
+       * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
+       * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
+
 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
 
        * text2.C (setCursorIntern): move the x_target update here *
 
 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
 
-       * lyxlayout.[Ch]: 
-       * output_docbook.C: XML sanitation: new layout 
+       * lyxlayout.[Ch]:
+       * output_docbook.C: XML sanitation: new layout
        parameters InnerTag and CommandDepth
 
 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * cursor.[Ch] (updatePos): new function for updating the y
        position of the tip inset
-       * bufferview_funcs.C (put_selection_at): 
+       * bufferview_funcs.C (put_selection_at):
        * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
 
 2003-11-11  André Pönitz  <poenitz@gmx.net>
 
 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
 
-       * PosIterator.[Ch]: replace the stack with a vector, add inset 
+       * PosIterator.[Ch]: replace the stack with a vector, add inset
        accesor
        * iterators.[C]: adjust
 
 
 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
-       * output_linuxdoc.h: 
-       * output_plaintext.h: 
-       * output.h: 
+       * output_linuxdoc.h:
+       * output_plaintext.h:
+       * output.h:
        * output_docbook.h: add #include statements
 
 2003-11-05  José Matos  <jamatos@lyx.org>
        * paragraph_pimpl.[Ch]:
        * tabular.[Ch]: rename ascii to plaintext
        and LatexRunParams to OutputParams.
-       
+
 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
 
        * iterators.[Ch] (text): require bv argument
-       * undo.C (recordUndo): 
-       * lyxfunc.C (dispatch): 
+       * undo.C (recordUndo):
+       * lyxfunc.C (dispatch):
        * bufferview_funcs.C (put_selection_at): adjust
 
 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
        * BufferView.[Ch]:
        * lyxtext.h:
        * text.C: remove dead spellcheck code
-       
+
 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * dispatchresult.h: add a val setter