]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
remove unneeded const_casts
[lyx.git] / src / ChangeLog
index 1af9be28677820c94bfc1e5b47fe2f2496ff426c..cfffdcbc3004c4e1654ff5183a02a71870f04d44 100644 (file)
@@ -1,3 +1,304 @@
+
+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_