]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
move space above/below from Paragraph into a separate vspace inset.
[lyx.git] / src / ChangeLog
index 4388d917c5cc3fffc6a690319723520c28643677..5729bcd7c6299b1a57801d656cda45f534d5073b 100644 (file)
@@ -1,7 +1,537 @@
+
+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 *
+       * text3.C: change some bv() to true/false in calls to
+       cursorUp/Down/Right/Left
+       * cursor.C: use helper function.
+
+2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
+       * paragraph_funcs.[Ch]: correct comment
+       * rowpainter.C: do not paint selections away from bv->cursor()
+       Fix a long standing selection painting bug.
+       * text3.C: generalize mouse-selection code to LyXTexts other that
+       top one
+       * textcursor.C: do not use y coords if we can use par offsets
+
+2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
+       cursor position after e.g. inset insert)
+
+2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyxfind.C (replace): adjust to locking removal + some
+       code simplification
+
+2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
+       of the path
+
+2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * lyxlayout.[Ch]:
+       * output_docbook.C: XML sanitation: new layout
+       parameters InnerTag and CommandDepth
+
+2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * BufferView_pimpl.C:
+       * factory.C:
+       * text3.C: Fix the insertion and modification of button-style
+       insets
+
+2003-11-13  André Pönitz  <poenitz@gmx.net>
+
+       * InsetList.[Ch]: remove deleteLyXText
+
+       * paragraph.[Ch]: cache beginOfBody position
+
+       * Bidi.C:
+       * text.C:
+       * text2.C:
+       * text3.C: remove superfluous update() calls
+
+       * vspace.C: cleanup
+
+2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
+       * BufferView.C (fitLockedInsetCursor): remove
+       * cursor.[Ch] (getDim): add
+       * text.C (getRowNearY): add faster version
+       * text3.C: remove some update calls
+
+2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * LaTeXFeatures.C:
+       * LyXAction.C:
+       * MenuBackend.C:
+       * MenuBackend.h:
+       * dispatchresult.h:
+       * factory.C:
+       * lfuns.h:
+       * lyxfunc.C:
+       * lyxtextclass.C:
+       * lyxtextclass.h:
+       * text3.C: The Character Style /XML short element patch.
+
+2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text3.C:
+       * factory.C: Small step to solving 'unable to insert some insets'
+       problem
+
+2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * cursor.[Ch] (updatePos): new function for updating the y
+       position of the tip inset
+       * bufferview_funcs.C (put_selection_at):
+       * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
+
+2003-11-11  André Pönitz  <poenitz@gmx.net>
+
+       * text.C: remove big comment on invalid Paragraph pointers as it is
+       not valid anymore
+
+2003-11-11  André Pönitz  <poenitz@gmx.net>
+
+       * text_funcs.[Ch]: merge with ...
+
+       * text.C: ... this
+
+       * lyxtext.h:
+       * text2.C:
+       * text3.C: adjust
+
+       * Makefile.am: remove text_funcs.[Ch]
+
+2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
+
+       * cursor.C (getPos): return absolute cached y coord
+
+       * BufferView_pimpl.C (fitCursor): new simplistic code
+       (workAreaDispatch): add a fitCursor call
+
+2003-11-10  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]: merge update() and updateInset()
+
+2003-11-10  André Pönitz  <poenitz@gmx.net>
+
+       * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
+       LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
+       indicate that the cursor needs to leave an inset
+
+       * lyxtext.h: remove inset locking
+
+       * cursor.[Ch]: re-implement functionality provided by inset locking
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]:
+       * LyXAction.C:
+       * bufferview_funcs.[Ch]:
+       * factory.C:
+       * funcrequest.[Ch]:
+       * iterators.C:
+       * lyx_cb.C:
+       * lyxfind.C:
+       * lyxfunc.C:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * undo.C: adjust
+
+2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
+
+       * PosIterator.[Ch]: replace the stack with a vector, add inset
+       accesor
+       * iterators.[C]: adjust
+
+2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
+
+       * lyxfind.C (replaceAll): mark the buffer dirty if something was
+       replaced
+       * paragraph_funcs.C (readParToken): put the correct id in the
+       error item, not the id of the top paragraph
+
+2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
+
+       * iterators.[Ch] (ParIterator): new PosIterator-based ctor
+       * bufferview_funcs.C (put_selection_at): use the above
+
+2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
+
+       * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
+
+2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * output_linuxdoc.h:
+       * output_plaintext.h:
+       * output.h:
+       * output_docbook.h: add #include statements
+
+2003-11-05  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.[Ch]:
+       * output_latex.[Ch]:
+       * output_linuxdoc.[Ch]:
+       * output_plaintext.[Ch]: New files for output formats.
+       * output.[Ch]: New file for helper functions.
+
+       * buffer.[Ch]:
+       * paragraph_funcs.[Ch]: output functions moved to new files.
+
+       * outputparams.h: rename of latexrunparams.h
+
+       * LaTeX.[Ch]:
+       * buffer.[Ch]:
+       * bufferlist.[Ch]:
+       * converter.[Ch]:
+       * exporter.C:
+       * paragraph.[Ch]:
+       * paragraph_funcs.[Ch]:
+       * 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):
+       * bufferview_funcs.C (put_selection_at): adjust
+
+2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
+
+       * lyxsocket.C: export variables XEDITOR and LYXSOCKET
+
+2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
+
+       * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
+       nestings
+
+2003-11-04  André Pönitz  <poenitz@gmx.net>
+
+       * cursor.[Ch]: restructure
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]: new LCursor cursor_ member
+
+       * iterators.[Ch] (asCursor): remove
+
+       * lfuns.h: remove LFUN_INSET_EDIT
+
+       * lyxfunc.C:
+       * tabular.C:
+       * text.C:
+       * text2.C:
+       * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
+
+2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
+
+       * lyxfind.[Ch]: complete overhaul
+       * BufferView_pimpl.C:
+       * lyxfunc.C: adjust
+       * paragraph.[Ch] (insert): add
+
+2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
+
+       * 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
+
+       * cursor.C (dispatch): use a tempvar for data_[i]
+
+2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
+
+       * PosIterator.[Ch]: compile fix
+
+2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
+
+       * text.C (cursorPar): deactivate the cursor cache
+
+2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
+
+       * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
+
+2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text3.C (dispatch): adjust for new DisptchResult semantics.
+
+       * lyxfunc.C (dispatch): handle update when return from
+       Cursor::dispatch, adjust for new DispatchResult semantics.
+
+       * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
+       DispatchResult(true) mean to not update. Add class functions for
+       setting dispatched and update, as well as reading.
+
+       * cursor.C (dispatch): don't handle update here
+
+2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * trans_mgr.h: store t1_ and t2_ in scoped_ptr
+       * trans_mgr.C: adjust
+
+       * paragraph_funcs.C (readParToken): exception safety
+
+       * lyxvc.h: store the vcs pointer in a scoped_ptr
+       * lyxvc.C: adjust
+
+       * lyxsocket.C (serverCallback): exception safety
+
+       * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
+
+       * ispell.C (clone): make it return a auto_ptr
+
+       * factory.C (createInset): exception safety
+       (readInset): exception safety
+
+       * bufferlist.C (newBuffer): exception safety
+
+       * Thesaurus.C (Thesaurus): use initialization for aik_
+
+       * MenuBackend.C (expandToc): exception safety.
+
+2003-11-03  André Pönitz  <poenitz@gmx.net>
+
+       * buffer.C:
+       * buffer.h:
+       * bufferview_funcs.C: remove getInsetFromId()
+
+       * lyxcursor.[Ch]:
+       * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
+
+       * lyxfunc.C:
+       * text2.C:
+       * text3.C: adjust
+
+2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
+
+       * PosIterator.C (distance, advance): new
+       * bufferview_funcs.[Ch] (put_selection_at): new
+       * iterators.[Ch] (lockPath): new
+
+2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
+
+       * iterators.[Ch] (asPosIterator): added
+       * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
+       * PosIterator.[Ch]: added
+
+2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text3.C:
+       * lyxfunc.C:
+       * cursor.C (dispatch):
+       * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
+
+       * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
+       DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
+       contructor, add a class function dispatched. Remove operator>=
+
+2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * debug.C: only use the default constructor for debugstream
+       (lyxerr) here.
+
+       * main.C (main): include debug.h and setup the lyxerr streambuf
+       here.
+
 2003-10-31  José Matos  <jamatos@lyx.org>
 
        * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
-       
+
        * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
        * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
        * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
 
 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
-       * text3.C (dispatch): 
-       * lyxfunc.C (dispatch): 
-       * cursor.C (dispatch): 
+       * text3.C (dispatch):
+       * lyxfunc.C (dispatch):
+       * cursor.C (dispatch):
        * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
 
        * dispatchresult.h: make the dispatch_result_t ctor explicit