]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
remove unneeded const_casts
[lyx.git] / src / ChangeLog
index 523559305d1138b797dad003c5474e1851677c3a..cfffdcbc3004c4e1654ff5183a02a71870f04d44 100644 (file)
@@ -1,5 +1,620 @@
 
-2003-05-02 André Pönitz <poenitz@gmx.net>
+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.
+       * Makefile.am: add new file.
+
+       * LaTeX.[Ch] (c-tor, run):
+       * buffer.[Ch] (makeLaTeXFile):
+       * bufferlist.[Ch] (updateIncludedTeXfiles):
+       * converter.C (convert, scanLog):
+       * converter.[Ch] (runLaTeX):
+       * exporter.C (Export):
+       * paragraph.[Ch] (simpleTeXOnePar):
+       * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
+       * paragraph_funcs.[Ch] (latexParagraphs):
+       * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
+       * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
+       pass around a LatexRunParams parameter.
+
+2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * paragraph.[Ch]: remove unused constructor
+
+       * ParagraphList.C (erase): new function, taking two iterators
+
+2003-05-22  André Pönitz  <poenitz@gmx.net>
+
+       * undo_funcs.C: remove duplicated code
+
+       * iterator.[Ch]: operator=
+
+2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * tabular.C (SetMultiColumn): ws changes
+
+       * rowpainter.C (paintFirst): get rid of a ->previous
+
+       * lyx_cb.C (getPossibleLabel): parlist simplification
+
+       * BufferView.C (ChangeInsets): simplify slightly.
+
+2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * LyXAction.C: new lfun space-insert, kill protected-space-insert
+       * lfuns.h: new LFUN_SPACE
+       * lyxfunc.C: protected space has a new lfun
+       * paragraph_funcs.C: read new space insets
+       * text3.C:
+       * factory.C: handle new space insets
+
+2003-05-22  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * buffer.[Ch]:
+       * lyxfunc.C:
+       * undo_funcs.C: return a ParIterator from getParFromID.
+
+       * iterators.[Ch]: add two const's
+
+2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * toc.C (getTocList): adjust
+
+       * iterators.[Ch]: rework for parlist
+
+       * buffer.C (par_iterator_begin): adjust
+       (par_iterator_end): adjust
+
+       * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
+
+       * BufferView.C (removeAutoInsets): adjust
+       (ChangeInsets): adjust
+
+2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
+
+       * text.C (top_y): fix bug 1110
+
+2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
+
+       * errorlist.[Ch]: added
+       * buffer.C:
+       * BufferView.[Ch]:
+       * BufferView_pimpl.C:
+       * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
+       instead
+
+2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Makefile.am: ensure that lyx is relinked upon changes to the
+       various "convenience" libs.
+
+2003-05-20  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
+       files are compiled in alphabetical order again.
+
+       * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
+
+2003-05-19  Angus Leeming  <leeming@lyx.org>
+
+       * gettext.[Ch]: remove "char const * _(char const *)".
+
+2003-05-19  André Pönitz  <poenitz@gmx.net>
+
+       * dimension.[Ch]: promote from mathed/dimension.[Ch]
+
+       * Makefile.am:
+       * BufferView.C:
+       * DepTable.h:
+       * LaTeXFeatures.C:
+       * buffer.C:
+       * lyxfont.C:
+       * lyxlex.h:
+       * paragraph_funcs.C: dimensions() instead of ascend/descend/width
+
+2003-05-19  André Pönitz  <poenitz@gmx.net>
+
+       * buffer.C:
+       * lyxlayout.[Ch]:
+       * lyxtextclass.[Ch]:
+       * paragraph.C:
+       * paragraph_funcs.[Ch]:
+       * text2.C:
+       * text3.C: more insetenv work
+
+2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
+
+       * ParagraphParameters.C (params2string): small bug fixed
+
+2003-05-16  André Pönitz  <poenitz@gmx.net>
+
+       * debug.C:
+       * bufferview_funcs.C: patch from Kornel Benko to prevent
+         crash when _(...) is called twice in a statement
+
+2003-05-16  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * lyxfunc.C:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * undo_funcs.C: edit() -> LFUN_INSET_EDIT
+
+2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
+
+       * lyx_main.C (init): remove spurious static_cast
+
+2003-05-14  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C: fix format string
+
+2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
+
+       * BufferView.[Ch] (insertErrors): removed
+       * BufferView.[Ch] (showErrorList): added
+       * buffer.C (runChkTeX):
+       * converter.C (scanLog): call showErrorList instead of inserterrors
+
+2003-05-13  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView_pimpl.C:
+       * buffer.C:
+       * bufferview_func.C:
+       * MenuBackend.C:
+       * lyxfunc.C:
+       * lyxrc.C:
+       * tex-accent.C:
+       * text3.C:
+       * toc.C:
+       * tabular_funcs.h: tostr() from its own header
+
+       * ParagraphParameters.C:
+       * ToolbarBackend.C:
+       * bufferparams.C:
+       * format.C:
+       * lyxlex_pimpl.C:
+       * text3.C: STRCONV()
+
+2003-05-12  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * CutAndPaste.C:
+       * LaTeX.C:
+       * LaTeXFeatures.C:
+       * ParagraphParameters.C:
+       * buffer.C:
+       * bufferlist.C:
+       * bufferparams.C:
+       * bufferview_funcs.C:
+       * converter.C:
+       * counters.C:
+       * debug.C:
+       * exporter.C:
+       * format.C:
+       * importer.C:
+       * lyx_cb.C:
+       * lyx_main.C:
+       * lyxfont.C:
+       * lyxfunc.C:
+       * lyxvc.C:
+       * paragraph.C:
+       * paragraph_funcs.C:
+       * tabular.C:
+       * tabular_funcs.C:
+       * text2.C:
+       * text3.C:  boost::format -> bformat  all over the place
+
+
+2003-05-09  André Pönitz  <poenitz@gmx.net>
+
+       * LColor.[Ch]: Pimpl the #include <map> away
+
+2003-05-09  John Levon  <levon@movementarian.org>
+
+       * bufferlist.C: never remove emergency saves
+
+2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Makefile.am: better lib building
+
+2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * texrow.[Ch]: remove dependency on Paragraph and just store a id
+       instead.
+       * paragraph_pimpl.C (simpleTeXBlanks): adjust
+       (simpleTeXSpecialChars): adjust
+       (simpleTeXSpecialChars): adjust
+       * paragraph.C (simpleTeXOnePar): adjust
+       * buffer.C (makeLaTeXFile): adjust
+
+       * Makefile.am (BOOST_LIBS): allow boost as system lib.
+
+       * text2.C (changeDepth): parlist cleanup
+       (getColumnNearX): ditto
+
+       * rowpainter.C (getLabelFont): parlist cleanup
+
+       * bufferlist.C (newFile): parlist cleanup
+
+       * CutAndPaste.C (eraseSelection): parlist cleanup
+
+       * BufferView_pimpl.C (trackChanges): parlist cleanup
+       (dispatch): ditto
+
+       * BufferView.C (lockInset): parlist cleanup.
+       (ChangeInsets): ditto
+
+2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.h: Update file header.
+
+       * CutAndPaste.C: Update file header.
+       Store the parts cut out of the Document in a limited_stack.
+       (copySelection): adjust
+       (pasteSelection): new function, takes the index in the limited stack.
+       (nrOfParagraphs): adjust
+       (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
+       simplify error inset insertion.
+       (checkPastePossible): adjust
+
+2003-05-06  John Levon  <levon@movementarian.org>
+
+       * text2.C: don't cast wrap inset to float
+
+2003-05-05  André Pönitz  <poenitz@gmx.net>
+
+       * iterator.C:
+       * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
+
+       * buffer.[Ch]: new function hasParWithId() to help to get rid of a
+         few naked Paragraph *.
+
+2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * bufferparams.C: Output warning if a document with missing
+       TeX document class is loaded
+       * exporter.C: Disable TeX exports if the document class is missing
+       * lyxtextclass.C:
+       * lyxtextclass.h:
+       * lyxtextclasslist.C: Handle new textclass.lst format; new method
+       isTeXClassAvailable()
+
+2003-05-03  John Levon  <levon@movementarian.org>
+
+       * BufferView.h:
+       * BufferView.C: remove showLockedInsetCursor(), showCursor(),
+       explicit cursor show/hide
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
+       after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
+
+       * lyxfunc.C: hide cursor before dispatching.
+
+       * lyx_cb.C:
+       * lyxfind.C:
+       * text.C:
+       * text3.C: remove explicit cursor hides
+
+2003-05-02  André Pönitz  <poenitz@gmx.net>
 
        * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator