]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
more ParagraphList::iterator usage
[lyx.git] / src / ChangeLog
index a210f6d77904ec99e1d102e37718c14ac74395f4..9b7e289a15c6f6ca3d34455f39b70b4d26387bfa 100644 (file)
@@ -1,3 +1,238 @@
+2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
+       as arg
+       (breakParagraphConservative): ditto
+
+       * paragraph.h: remove the breakParagraph friend
+
+       * paragraph.C (eraseIntern): new function
+       (setChange): new function
+
+       * paragraph_funcs.C (mergeParagraph): make it take a
+       ParagraphList::iterator instead of a Paragraph *, adjust
+       accordingly.
+
+       * paragraph.h: move an #endif so that the change tracking stuff
+       also works in the NO_NEXT case.
+
+2003-03-04  Angus Leeming  <leeming@lyx.org>
+
+       * commandtags.h:
+       * LyXAction.C: new LFUN_INSET_MODIFY.
+
+       * BufferView_pimpl.C (dispatch): if an inset is found to be open
+       on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
+
+2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * several files: ws changes only
+
+       * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
+       (TeXEnvironment): ditto
+       (TeXDeeper): ditto
+
+       * buffer.C (makeLaTeXFile): adjust
+       (latexParagraphs): make it take ParagraphList::iterator as args
+
+2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * buffer.C (latexParagraphs): adjust
+
+       * paragraph.C (TeXOnePar): move function...
+       (optArgInset): move function...
+       (TeXEnvironment): move function...
+       * paragraph_pimpl.C (TeXDeeper): move function...
+       * paragraph_funcs.C: ...here
+
+       * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
+
+2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * buffer.C (readInset): remove compability code for old Figure and
+       InsetInfo insets
+
+2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * buffer.C: ws changes
+       (readInset):
+
+       * BufferView_pimpl.C: ditto
+       * author.C: ditto
+       * buffer.h: ditto
+       * bufferlist.h: ditto
+       * changes.h: ditto
+       * lyxfunc.C: ditto
+
+2003-02-28  Alfredo Braunstein <abraunst@libero.it>
+
+       * converter.[Ch]: split into itself +
+       * graph.[Ch]
+       * format.[Ch]
+       * Makefile.am: += graph.[Ch] + format.[Ch]
+       * MenuBackend.C
+       * buffer.C
+       * exporter.C
+       * importer.C
+       * lyx_main.C
+       * lyxfunc.C
+       * lyxrc.C: added #include "format.h"
+
+2003-02-27  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
+         a label.
+
+       * factory.C (createInset): add "label" to the factory.
+
+       * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
+         string and do no more.
+
+2003-02-27  Angus Leeming  <leeming@lyx.org>
+
+       * commandtags.h:
+       * LyXAction.C (init):
+       * factory.C (createInset):
+       * BufferView_pimpl.C (dispatch):
+         collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
+
+       * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
+
+       * lyxfunc.C (dispatch):
+       * text3.C (dispatch): pass name to params2string.
+
+2003-02-26  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
+         blocks together.
+         Rearrange the ~includes. Strip out the unnecessary ones.
+
+       * factory.C (createInset): reformat.
+         create new insets for the various LFUN_XYZ_APPLY lfuns.
+
+2003-02-26  John Levon  <levon@movementarian.org>
+
+       * lyxrow.h:
+       * lyxrow.C: add isParStart,isParEnd helpers
+
+       * paragraph.h: make isInserted/DeletedText take refs
+
+       * paragraph_funcs.h:
+       * paragraph_funcs.C: remove #if 0'd code
+
+       * lyxtext.h:
+       * text3.C:
+       * text2.C:
+       * text.C: use lyxrow helpers above.
+         Move draw and paint routines to RowPainter.
+         Make several methods use refs not pointers.
+         Make backgroundColor() const.
+         Add markChangeInDraw(), isInInset().
+         Merge changeRegionCase into changeCase.
+         Make workWidth() shouldn't-happen code into an Assert.
+
+       * rowpainter.h:
+       * rowpainter.C: new class for painting a row.
+
+       * vspace.h:
+       * vspace.C: make inPixels take a ref
+
+2003-02-26  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
+       LFUN_REF_APPLY.
+
+2003-02-25  John Levon  <levon@movementarian.org>
+
+       * ispell.C: give the forked command a more accurate name
+
+2003-02-22  John Levon  <levon@movementarian.org>
+
+       * toc.h:
+       * toc.C: make TocItem store an id not a Paragraph *
+         (bug #913)
+
+2003-02-21  Angus Leeming  <leeming@lyx.org>
+
+       * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
+         LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
+         Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
+         LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
+         LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
+         LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
+
+       * BufferView_pimpl.C (dispatch):
+       * LyXAction.C (init):
+       * factory.C (createInset):
+       * lyxfunc.C (getStatus, dispatch):
+       * text3.C (dispatch): retire old LFUNs and bring new ones to life.
+
+2003-02-21  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C (MenuInsertLyXFile):
+       * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
+       * lyxfunc.C (menuNew, open, doImport):
+         no longer pass a LyXView & to fileDlg.
+
+2003-02-21  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
+       * LyXAction.C: change, BIBKEY to BIBITEM.
+       * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
+       Change InsetBibKey to InsetBibitem.
+       Change BIBKEY_CODE to BIBITEM_CODE.
+       * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
+       * factory.C: replace insetbib.h with insetbibitem.h.
+       Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
+       * paragraph.C: replace insetbib.h with insetbibitem.h.
+       * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
+       Change bibkey() to bibitem().
+       * text.C: remove insetbib.h.
+       * text2.C: replace insetbib.h with insetbibitem.h.
+       change bibkey() to bibitem().
+       * text3.C: remove insetbib.h.
+       change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
+
+2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxrc.C (output): enclose user email in quotes (in case there are
+       several words)
+
+2003-02-18  John Levon  <levon@movementarian.org>
+
+       * buffer.h: add std::
+
+2003-02-17  John Levon  <levon@movementarian.org>
+
+       * SpellBase.h:
+       * ispell.h:
+       * ispell.C:
+       * pspell.h:
+       * pspell.C: reworking. Especially in ispell, a large
+         number of clean ups and bug fixes.
+
+       * lyxfunc.C: fix revert to behave sensibly
+
+2003-02-17 André Pönitz <poenitz@gmx.net>
+
+       * LyXAction.C:
+       * commandtags.h: new LFUN_INSERT_BIBKEY
+
+       * layout.h:
+       * lyxlayout.C:
+       * buffer.C:
+       * factory.C:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * paragraph.[Ch]:
+       * paragraph_func.C: remove special bibkey handling
+
+2003-02-17  John Levon  <levon@movementarian.org>
+
+       * text.C (Delete): fix case where delete at the end of
+         the very first paragraph would not merge the pars
+
 2003-02-17  John Levon  <levon@movementarian.org>
 
        * lyxrow.C: fix lastPrintablePos()
 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * buffer.C (makeLaTeXFile): move the code that generates the
-       preamble... 
+         preamble...
 
        * bufferparams.C (writeLaTeX): ... in this new method
 
        * LaTeXFeatures.C (getEncodingSet): make const
-       (getLanguages): make const
+         (getLanguages): make const
 
        * MenuBackend.C (binding): returns the binding associated to this
-       action 
-       (add): sets the status of each item by calling getStatus. Adds
-       some intelligence.
-       (read): add support for OptSubMenu
-       (expand): remove extra separator at the end of expanded menu
+         action
+         (add): sets the status of each item by calling getStatus. Adds
+         some intelligence.
+         (read): add support for OptSubMenu
+         (expand): remove extra separator at the end of expanded menu
 
 2003-02-15  John Levon  <levon@movementarian.org>
 
        * BufferView_pimpl.C:
        * bufferlist.h:
        * bufferlist.C: remove pointless BufferStorage bloat. Remove
-       inset code that had no actual effect. Remove unneeded status
-       code.
+         inset code that had no actual effect. Remove unneeded status
+         code.
 
 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * buffer.C (makeLaTeXFile): fix counting of number of line feeds
-       in preamble
+         in preamble
 
 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
 
        * text.C (drawLengthMarker): also draw an arrow marker for
-       symbolic lengths (medskip...)
+         symbolic lengths (medskip...)
 
 2003-02-14  John Levon  <levon@movementarian.org>
 
 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * text2.C (LyXText): change order of initilizers to shut off
-       warnings 
+         warnings
 
 2003-02-14  John Levon  <levon@movementarian.org>
 
        * text.h:
        * text.C:
        * text2.C: move hfillExpansion(), numberOfSeparators(),
-         rowLast(), rowLastPrintable(), numberofHfills(), 
+         rowLast(), rowLastPrintable(), numberofHfills(),
          numberOfLabelHfills() ...
 
        * lyxrow.h:
 
        * paragraph.C (asString): remove two unused variables
 
-       * lyxtextclass.C (readTitleType): 
-       (Read): 
-       (LyXTextClass): handle new members titletype_ and titlename_
+       * lyxtextclass.C (readTitleType):
+         (Read):
+         (LyXTextClass): handle new members titletype_ and titlename_
 
        * buffer.C (latexParagraphs): honor LyXTextClass::titletype
 
        * text2.C:
        * BufferView.C: change setSelectionOverString() to setSelectionRange()
          and pass the size in explicitly
-       
+
        * BufferView_pimpl.h:
        * BufferView_pimpl.C:
        * BufferView.h:
 
 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
-       * text.C (getLengthMarkerHeight): 
+       * text.C (getLengthMarkerHeight):
        (drawLengthMarker): make the `symbolic' lengths (small/med/big)
        visible on screen too.
 
 
 2002-10-11 André Pönitz <poenitz@gmx.net>
 
-       * lytext.h: make some functions public to allow access
+       * lyxtext.h: make some functions public to allow access
        from inset/lyxtext for handling LFUN_PRIOR/NEXT
 
 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>