]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
move some selection related stuff over to textcursor.C
[lyx.git] / src / ChangeLog
index 03adbb5a699eae86ef748b9dbb80a9a30f5cbfdd..bd94f766be66bbfecf39e16a3d5ab0f99cfc343c 100644 (file)
@@ -1,7 +1,588 @@
+
+2003-06-27  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView_pimpl.C:
+       * bufferview_funcs.C:
+       * lyxcursor.C:
+       * lyxcursor.h:
+       * lyxfunc.C:
+       * lyxtext.h:
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C: remove LyXCursor::row_ member
+
+       * lyxtext.h:
+       * text.C: rename fullRebreak() to partialRebreak() and implement
+         a fullRebreak() that really bereks fully
+
+       * textcursor.h: new struct for cursor-related data
+
+2003-06-26  Alfredo Brauntein  <abraunst@lyx.org>
+
+       * lyx_main.C (LyX): get full path of document loaded on the 
+       command line    
+
+2003-06-26  André Pönitz  <poenitz@gmx.net>
+
+       * lyxcursor.[Ch]: move rarely used operator==,!= out of line
+         remove unused/broken operator>,<,>=.
+       
+       *       text.C: remove only use of broken operator<= in an Assert().
+
+2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
+
+       * BufferView.[Ch] (getErrorList): removed unneeded forward declare, 
+       moved errorlist_.clear to showErrorList
+       
+2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
+
+       * converter.C (scanLog, runLaTeX):
+       * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
+       move the bv->showErrorList call to the callers
+       * lyxfunc.C: i.e. here...
+       * text2.C: and here
+       * BufferView.[Ch] (setErrorList, resetErrorList): both removed
+       * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
+       namespace, the second to...
+       * buffer_funcs (BufferFormat, parseErrors): added
+       * errorlist.C (ErrorList(TeXErrors const &)): removed
+       
+2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * ToolbarBackend.C (getIcon): complain when icon cannot be found
+
+2003-06-24  "Garst R. Reese" <reese@isn.net>
+
+       * debug.C: fix typo
+
+2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
+
+       * version.C.in: change docversion to 1.4
+
+2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
+
+       * buffer.C: fix a bug just introduced
+       
+2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
+
+       * buffer.[Ch]: added the parseError signal and use it, removed 
+       sgmlError
+       * BufferView.[Ch] (addError): moved to ...
+       * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach 
+       to the Buffer::parseError signal to catch (guess what) parse errors
+       * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
+       
+2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
+
+       * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the 
+       ability to create a buffer and to return an existing one from 
+       the list. Moved these functions to...
+       * buffer_funcs.[Ch]: added
+       * BufferView.[Ch] (loadLyXFile): added
+       * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing 
+       job removed from bufferlist::loadLyXFile.
+       * buffer.C (setReadOnly): make it work without view 
+       (i.e added an if (users))
+       
+2003-06-19  Angus Leeming  <leeming@lyx.org>
+
+       * lfuns.h:
+       * LyXAction.C (init):
+       * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
+       with LFUN_DIALOG_SHOW <name> <data>.
+
+2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * CutAndPaste.C (availableSelections): small compilation fix for
+       ancient (gcc 2.9x) compilers
+
+2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text3.C (cursorNext): add tmp var
+
+       * text2.C (updateCounters): for function calling out of for clause
+       (replaceSelectionWithString): ditto
+       (insertStringAsParagraphs): ditto
+       (getColumnNearX): add tmp var
+       (setCursorFromCoordinates): add tmp var
+       (cursorDownParagraph): add tmp var
+       (deleteEmptyParagraphMechanism): add tmp var
+
+       * text.C (insertChar): add tmp var
+
+       * rowpainter.C (paintDepthBar): add tmp var
+
+       * CutAndPaste.C (availableSelections): potentially check all
+       paragraphs in a cut to fill the shown strings.
+
+2003-06-18  André Pönitz  <poenitz@gmx.net>
+
+       * kbmap.[Ch]: use vector<> instead of list<>
+
+2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * text3.C (dispatch): handle arg to LFUN_PASTE, call
+       pasteSelection with index
+
+       * text2.C (pasteSelection): modify, call pasteSelection with index
+
+       * paragraph.C (asString): reimplement version with no interval to
+       call the one with interval.
+
+       * lyxtext.h: add index arg to pasteSelection
+
+       * MenuBackend.C (MenuItem): handle PasteRecent
+       (Menu::read::Menutags): add md_pasterecent
+       (read): handle it
+       (expandPasteRecent): new function
+       (expand): use it
+
+       * MenuBackend.h: add PasteRecent to MenuItem::Kind
+
+       * CutAndPaste.C: get rid of some stale comments. Add typdefe for
+       the limited stack
+       (availableSelections): new function
+
+2003-06-17  Angus Leeming  <leeming@lyx.org>
+
+       * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
+
+2003-06-17  Angus Leeming  <leeming@lyx.org>
+
+       * lfuns.h:
+       * LyXAction.C (init): new LFUN_DIALOG_SHOW.
+
+       * lyxfunc.C (dispatch): invoke it.
+
+2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * iterators.C (operator++, ParPosition): reintroduce some
+       const_cast for the benefit of older compilers.
+
+2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text3.C (dispatch): do not modify clipboard when doing
+       LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
+       LFUN_DELETE_SKIP on a selection selection
+
+2003-06-16  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * buffer.C:
+       * buffer.h:
+       * paragraph.C:
+       * tabular.[Ch]: IU of clone() and getLabelList();
+
+2003-06-13  André Pönitz  <poenitz@gmx.net>
+
+       * tabular.h: compactification
+
+2003-06-12  André Pönitz  <poenitz@gmx.net>
+
+       * tabular.C:
+       * tabular.h:
+       * tabular_funcs.h: some renaming plus whitespace
+
+2003-06-12  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * CutAndPaste.C:
+       * buffer.C:
+       * iterators.[Ch]:
+       * lyxfunc.C:
+       * text.C:
+       * toc.C: Return a Paragraph & for ParIterator::operator*()
+
+2003-06-11  John Levon  <levon@movementarian.org>
+
+       * lyx_main.C:
+       * ToolbarBackend.h:
+       * ToolbarBackend.C: add "Toolbars" section and
+       put the flags there
+
+2003-06-10  Angus Leeming  <leeming@lyx.org>
+
+       * lfuns.h:
+       * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
+
+       * lyxfunc.C (dispatch): invoke it.
+
+2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * main.C: protect <ios> with HAVE_IOS
+       (main): protect sync_with_stdio with HAVE_IOS
+
+2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * text2.C (cutSelection): adjust
+       (pasteSelection): adjust
+
+       * messages.C: handle get of empty string
+
+       * main.C (main): use sync_with_stdio(false)
+
+       * lyxfunc.C (dispatch): adjust
+
+       * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
+       (WriteAs): remove unneeded BufferView arg.
+
+       * bufferparams.h: use correct types on papersize, papersize2 and
+       paperpackage.
+
+       * bufferparams.C (readToken): adjust for type
+       (writeLaTeX): add missing cases to switch.
+
+       * bufferlist.C (quitWriteBuffer): adjust
+       (close): adjust
+
+       * buffer.C (asciiParagraph): remove some commented code.
+
+       * CutAndPaste.C: remove current_view extern variable.
+       (cutSelection): add BufferParams arg.
+       (eraseSelection): add BufferParams arg.
+       (pasteSelection): add Buffer const & arg
+
+2003-06-07  John Levon  <levon@movementarian.org>
+
+       * buffer.C:
+       * paragraph_funcs.C:
+       * paragraph_pimpl.C:
+       * text.C:
+       * text2.C:
+       * paragraph.h:
+       * paragraph.C: allow InsetERT to freely space lines,
+       and some consolidation of code
+
+2003-06-06  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.C (makeDocBookFile): fix bug #821
+
+2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
+
+       * BufferView_pimpl.C (dispatch): use Dialogs::visible
+
+2003-06-04  Angus Leeming  <leeming@lyx.org>
+
+       * buffer.C: bump format to 224.
+
+2003-06-05  André Pönitz  <poenitz@gmx.net>
+
+       * text2.C (redoParagraphs): remove two const_cast<>
+
+2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * ParagraphList.h: remove last remnants of NO_STD_LIST
+
+2003-06-03  Angus Leeming  <leeming@lyx.org>
+
+       * factory.C (createInset): small change to the way InsetExternal's params
+       are set.
+
+2003-06-04  André Pönitz  <poenitz@gmx.net>
+
+       * buffer.h: use Undo directly instead of shared_ptr<Undo>
+
+       * paragraph_pimpl.h:
+       * paragraph.[Ch]: some Inset -> UpdatableInset changes
+
+       * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
+
+       * undo_funcs.C: make some simple cases of undo work again
+
+2003-06-03  John Levon  <levon@movementarian.org>
+
+       * ispell.C: HPUX doesn't have sys/select.h
+       (from Albert Chin)
+
+2003-06-03  John Levon  <levon@movementarian.org>
+
+       * CutAndPaste.C: update tabular and include inset
+       buffer references
+
+       * buffer.h:
+       * paragraph.h:
+       * paragraph.C: remove owningBuffer(), don't pass Buffer
+       to clone()
+
+       * factory.C: insetGraphicsParams changed
+
+2003-06-02  John Levon  <levon@movementarian.org>
+
+       * LyXAction.C:
+       * factory.C:
+       * lfuns.h:
+       * lyxfunc.C:
+       * text3.C: remove insetparent
+
+2003-06-02  John Levon  <levon@movementarian.org>
+
+       * buffer.h:
+       * buffer.C: fix inset_iterator.end(), move out of line
+       (bug 1149)
+
+2003-06-01  John Levon  <levon@movementarian.org>
+
+       * text3.C: use a proper cut/paste when doing inset
+       insert (from Jürgen Spitzmüller)
+
+2003-06-01  John Levon  <levon@movementarian.org>
+
+       * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
+
+2003-05-30  André Pönitz  <poenitz@gmx.net>
+
+       * rowpainter.C: unify second drawing phase
+
+2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * trans_mgr.C: remove one case of current_view
+
+       * text2.C (cursorBottom): delete NO_STD_LIST stuff
+
+       * paragraph_funcs.h: remove paragraph.h include
+
+       * paragraph.h: delete NO_STD_LIST stuff
+
+       * paragraph.C (Paragraph): delete NO_STD_LIST stuff
+
+       * buffer.h: remove paragraph.h include
+
+       * ParagraphList.C: delete file
+
+       * Makefile.am (lyx_SOURCES): remove ParagraphList.C
+
+       * toc.C (getTocList): adjust
+
+       * paragraph_pimpl.C (validate): adjust
+
+       * paragraph_funcs.C (optArgInset): use const_iterator, adjust
+
+       * paragraph.C (Paragraph): adjust
+       (getPositionOfInset): use const_iterator, adjust
+       (bibitem): use const_iterator, adjust
+       (setInsetOwner): adjust
+
+       * iterators.C (operator++): adjust
+
+       * InsetList.[Ch]: Replace selfmade iterator with standard
+       vector::iterator also introduce const_iterator. Remove getPos,
+       getInset and setInset from InsetTable. Adjust accordingly.
+
+       * BufferView.C (lockInset): adjust
+       (ChangeInsets): adjust
+
+       * tabular.[Ch]: delete commented same_id functions
+
+2003-05-28  John Levon  <levon@movementarian.org>
+
+       * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
+
+2003-05-28  André Pönitz  <poenitz@gmx.net>
+
+       * metricsinfo.[Ch]: remove 'fullredraw' member
+
+2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * lyxtextclass.C (operator): remove caching.
+
+2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text3.C: adjust
+
+       * text2.C (cursorBottom): adjust
+       (setCounter): use ParagraphList::find, adjust
+
+       * text.C (workWidth): use ParagraphList::find, adjust
+
+       * lyxcursor.C (LyXCursor): adjust
+
+       * buffer.C (inset_iterator): adjust
+
+       * ParagraphList.h: make iterator(value_type) private, make
+       ParagraphList a friend of iterator.
+
+       * ParagraphList.C (find): new function
+
+       * BufferView_pimpl.C (resizeCurrentBuffer): adjust
+
+2003-05-27  André Pönitz  <poenitz@gmx.net>
+
+       * dimension.[Ch]: a -> asc, d -> des, w -> wid
+
+2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfont.C (latexWriteStartChanges): fix character count for \noun
+
+2003-05-26  John Levon  <levon@movementarian.org>
+
+       * LyXAction.C: LFUN_ESCAPE should be ReadOnly
+
+2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * remove same_id from function signatures, adjust.
+
+2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * undo_funcs.C (createUndo): use the id functions directly, adjust.
+
+       * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
+
+       * paragraph.C (Paragraph): get rid of same_ids parameter
+
+       * ParagraphList.C (insert): adjust
+       (push_back): adjust
+
+2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * paragraph_funcs.C (breakParagraph): adjust
+       (breakParagraphConservative): adjust
+
+       * buffer.C (readParagraph): adjust
+
+       * ParagraphList.C (insert): take a reference instead of a pointer
+       (insert): adjust
+
+       * paragraph.[Ch] (id): new function
+
+       * bufferlist.C (newFile): adjust
+
+       * ParagraphList.C (ParagraphList): adjust
+       (assign): adjust
+       (push_back): take a reference instead of a pointer.
+
+       * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
+
+       * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
+       instead.
+
+       * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
+       set else use old code.
+
+       * ParagraphList.C: remove all NO_NEXT code and only compile this
+       code of NO_STD_LIST is set.
+
+2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
+
+       * BufferView_pimpl.C:
+       * TextCache.C:
+       * TextCache.h:
+       * bufferlist.C:
+       * errorlist.h:
+       * format.C:
+       * format.h:
+       * graph.C:
+       * lyxfunc.C:
+       * lyxrc.C:
+       * graphics/GraphicsConverter.C:
+       * graphics/PreviewLoader.C: header adjustment
+
+2003-05-23  Angus Leeming  <leeming@lyx.org>
+
+       * LaTeXFeatures.[Ch] (useBabel): new method.
+       * bufferparams.C (writeLaTeX): use it.
+
+2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * ParagraphList.h (set): remove unused function.
+
+2003-05-23  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * buffer.C:
+       * buffer.h:
+       * lyxfunc.C:
+       * undo_funcs.C: setUndo reworked
+
+       * iterators.[Ch]: add access to topmost ParagraphList
+
+       * lyxtext.[Ch] (workWidth): add a const
+
+2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
+
+       * texrow.[Ch] (increasePos): remove function
+       * exporter.C (export): removed unused var and outdated comment
+
+2003-05-23  Angus Leeming  <leeming@lyx.org>
+
+       * latexrunparams.h: rename fragile as moving_arg.
+       * paragraph.C (simpleTeXOnePar): ditto.
+       * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
+
+2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * undo_funcs.C (textHandleUndo): comment out next/previous stuff
+       (createUndo): ditto
+       (textUndoOrRedo): comment out a currently unused var.
+
+       * paragraph.h (NO_NEXT): enable NO_NEXT
+
+       * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
+
+       * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
+
+       * exporter.C (Export): adjust for removeAutoInsets removal.
+
+       * buffer.C (runChktex): adjust for removeAutoInsets removal.
+
+       * LyXAction.C (init): remove LFUN_REMOVEERRORS
+
+       * BufferView.[Ch] (removeAutoInsets): delete function
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * latexrunparams.h: add a free_spacing variable.
+
+       * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
+       to pass moving_arg, as the data is stored in runparams.fragile.
+
+       * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
+       to Inset::latexOptional or to simpleTeXOnePar.
+
+       * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
+       free_spacing arg to Inset::latexOptional.
+
+       * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
+       free_spacing arg.
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * latexrunparams.h: add fragile and use_babel variables.
+
+       * bufferparams.[Ch] (writeLaTeX): return use_babel.
+       * buffer.C (makeLaTeXFile): store this returned value in
+       runparams.use_babel, thus passing it to the inset::latex methods.
+
+       * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
+       simpleTeXSpecialChars as it is now stored in runparams.fragile.
+
+       * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
+       longer has a fragile arg, as it is stored in runparams.fragile.
+
+       * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
+       moving_arg parameter as the data is stored in runparams.fragile.
+
+       * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
+       a fragile parameter as the data is stored in runparams.fragile.
+
 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * paragraph.C (Paragraph): initialize next_par_ and prev_par_
 
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * latexrunparams.h: add a 'bool nice' which defaults to false.
+
+       * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
+       now encapsulated within runparams.
+
+       * bufferlist.C (updateIncludedTeXfiles):
+       * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
+
 2003-05-22  Angus Leeming  <leeming@lyx.org>
 
        * latexrunparams.h: new file containing struct LatexRunParams.
        * text.C: implement accept/rejectChange()
 
        * lyxtext.h:
-       * text.C: paint changebars. Paint new/deleted text in the chosen colours.
-         Strike through deleted text.
+       * text.C: paint changebars. Paint new/deleted text in the chosen
+       colours. Strike through deleted text.
 
        * paragraph.h:
        * paragraph.C:
        * paragraph_pimpl.h:
-       * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
-         to the insert functions. Rework erase to mark text as deleted, adding
-         an eraseIntern() and a range-based erase(). Implement
-         per-paragraph change lookup and accept/reject.
+       * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
+         in the current change to the insert functions. Rework erase to
+         mark text as deleted, adding an eraseIntern() and a range-based
+         erase(). Implement per-paragraph change lookup and
+         accept/reject.
 
        * paragraph_funcs.C: Fixup paste for change tracking.
 
        * tabular.C: mark added row/columns as new.
 
-       * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
-         text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
+       * text.C: fix rowLast() to never return -1. Don't allow
+         spellchecking of deleted text. Track transpose changes. Don't
+         allow paragraph break or merge where appropriate.
 
        * text2.C: leave cursor at end of selection after a cut.