]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
The "I want this in now" patch.
[lyx.git] / src / ChangeLog
index ae0036fe94e09a0e1c12321e4953d7208c290edb..d7af305af00521b61eb3e1d5339df2195967a2fc 100644 (file)
+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 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
+
+       * undo_funcs.C:
+       * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
+         linked lists
+
+       * text2.C: tiny whitespace
+
+2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * undo_funcs.C: almost only ws changes.
+
+       * ParagraphList.C (splice): just return if pl is empty.
+
+2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * ParagraphList.C (splice): new function.
+
+       * CutAndPaste.C (pasteSelection): use it
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (pasteSelection): remove the last next and
+       previous from this file.
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (pasteSelection): more clean up, user proper
+       ParagraphList functions for pasteing.
+
+       * ParagraphList.C (insert): new function, three arg insert
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * ParagraphList.C (insert): new function, three arg insert
+
+       * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
+       not on paragraphs.
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (pasteSelection): remove some unneeded code.
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (resetOwnerAndChanges): new helper functor
+       (copySelection): clean up a bit.
+       (pasteSelection): use make_pair
+
+       * ParagraphList.C (ParagraphList): implement copy constructor
+       (operator=): implement, base on copy constructor.
+       (assign): new func
+
+       * paragraph.C (erase): return a bool
+
+       * paragraph_pimpl.C (erasePos): remove function, move contents...
+       (erase): ... here. Return a bool.
+       (erase): call erase instead of erasePos.
+
+2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
+
+       * ParagraphList.h: define PitPosPair
+       * CutAndPaste.C (copySelection, pasteSelection): big rework, use
+       ParagraphList, fix a bug on pasting multiple pars
+       * text2.C: change interface to C&P
+
+2003-04-30  André Pönitz  <poenitz@gmx.net>
+
+       * undo_func.C: revert part of yesterday's patch 2
+
+2003-04-30  John Levon  <levon@movementarian.org>
+
+       * LColor.C: s/tabular/table/
+
+2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text3.C (dispatch): do not convert iterator -> pointer
+       * undo_funcs.C (setCursorParUndo): ditto
+       * text_funcs.C (transposeChars): ditto
+
+       * text2.C (setLayout): ws changes only
+
+       * text.C (breakParagraph): do not convert iterator -> pointer
+       (insertChar): ditto
+       (acceptChange): ditto
+       (rejectChange): ditto
+       (changeCase): ditto
+       (Delete): ditto
+       (backspace): ditto
+
+       * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
+       pointer
+
 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
 
-       * CutAndPaste.C (cutSelection): big rework, some bugs fixed
-2003-04-29 André Pönitz <poenitz@gmx.net>
+       * text3.C (gotoInset): YABG (yet another bad getChar)
+
+2003-04-29  André Pönitz  <poenitz@gmx.net>
+
+       * paragraph.h: make operator= private unimplemented as long as
+         it is unusable
 
        * ParagraphList.C: whitespace
 
        * paragraph.[Ch]:
-         paragraph_pimpl.[Ch]:
-         paragraph_funcs.C:
-         undo_funcs.C: Paragraph *  -> Paragraph (const) &
+       * paragraph_pimpl.[Ch]:
+       * paragraph_funcs.C:
+       * CutAndPaste.C:
+       * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
+
+       * text2.C:
+         undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
+
+2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
+
+       * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
+       * paragraph.[Ch] (erase):
+       * paragraph_pimpl.[Ch] (erase): change return type and value
+       * text2.C (cutSelection): some rework
 
 2003-04-28  John Levon  <levon@movementarian.org>
 
 
        * buffer.C (readFile): ws changes only.
 
-2003-04-28 André Pönitz <poenitz@gmx.net>
+2003-04-28  André Pönitz  <poenitz@gmx.net>
 
        * undo_funcs.C:
        * lyxfunc.C:
        * BufferView_pimpl.C:
        * BufferView.C: getParFromID related ParagraphList::iterator changes
 
-2003-04-28 André Pönitz <poenitz@gmx.net>
+2003-04-28  André Pönitz  <poenitz@gmx.net>
 
        * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
          Changes