]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / ChangeLog
index e2d196c0654ff067849fa67d6ca8afd0f82e4fef..82df282882b5243ce640b9367cfb9a3f4d9b99e6 100644 (file)
@@ -1,7 +1,630 @@
+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-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * bufferparams.C (writeLaTeX): add a std:here
+
+       * buffer.C: and remove a using directive there
+
+2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * buffer.C (makeLaTeXFile): move the code that generates the
+       preamble... 
+
+       * bufferparams.C (writeLaTeX): ... in this new method
+
+       * LaTeXFeatures.C (getEncodingSet): 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
+
+2003-02-15  John Levon  <levon@movementarian.org>
+
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * bufferlist.h:
+       * bufferlist.C: remove pointless BufferStorage bloat. Remove
+       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
+
+2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
+
+       * text.C (drawLengthMarker): also draw an arrow marker for
+       symbolic lengths (medskip...)
+
+2003-02-14  John Levon  <levon@movementarian.org>
+
+       * tabular.h:
+       * tabular.C: better method names
+
+2003-02-14  John Levon  <levon@movementarian.org>
+
+       * BufferView_pimpl.C:
+       * bufferlist.C:
+       * buffer.C:
+       * converter.C:
+       * lyx_cb.C:
+       * lyxfunc.C: change prohibit/allowInput to busy(bool), as
+         it's a more accurate name. Remove some pointless uses.
+
+2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text2.C (LyXText): change order of initilizers to shut off
+       warnings 
+
+2003-02-14  John Levon  <levon@movementarian.org>
+
+       * buffer.C: use ParIterator for getParFromID()
+
+       * paragraph.h:
+       * paragraph.C:
+       * paragraph_pimpl.h:
+       * paragraph_pimpl.C: remove unused getParFromID()
+
+2003-02-14  John Levon  <levon@movementarian.org>
+
+       * buffer.C: remove some very old #if 0'd parse code
+
+2003-02-13  John Levon  <levon@movementarian.org>
+
+       * text.h:
+       * text.C:
+       * text2.C: move hfillExpansion(), numberOfSeparators(),
+         rowLast(), rowLastPrintable(), numberofHfills(), 
+         numberOfLabelHfills() ...
+
+       * lyxrow.h:
+       * lyxrow.C: ... to member functions here.
+
+       * paragraph.h:
+       * paragraph.C:
+       * lyxtext.h:
+       * text.C: remove LyXText::beginningOfMainBody(), and call
+         p->beginningOfMainBody() directly. Move the check for
+         LABEL_MANUAL into the latter.
+
+       * text.h:
+       * text.C:
+       * text2.C:
+       * vspace.C:
+       * BufferView.h:
+       * BufferView.C: make defaultHeight() be a free defaultRowHeight()
+
+       * text.h:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * frontends/screen.C: move bv_owner private, introduce isTopLevel()
+         to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
+
+2003-02-13  John Levon  <levon@movementarian.org>
+
+       * CutAndPaste.C: remove debug
+
+2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * paragraph.C (asString): remove two unused variables
+
+       * lyxtextclass.C (readTitleType): 
+       (Read): 
+       (LyXTextClass): handle new members titletype_ and titlename_
+
+       * buffer.C (latexParagraphs): honor LyXTextClass::titletype
+
+2003-02-09  John Levon  <levon@movementarian.org>
+
+       * buffer.h:
+       * buffer.C: replace hand-coded list with a map for the dep clean
+
+2003-02-08  John Levon  <levon@movementarian.org>
+
+       * LaTeX.C: consolidate code into showRunMessage() helper
+
+2003-02-08  John Levon  <levon@movementarian.org>
+
+       * lyxfind.C:
+       * lyxtext.h:
+       * text2.C:
+       * BufferView.C: change setSelectionOverString() to setSelectionRange()
+         and pass the size in explicitly
+       
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C:
+       * BufferView.h:
+       * BufferView.C: add getCurrentChange()
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: handle change lfuns
+
+       * CutAndPaste.C: merge the cut and copy code. Rework the cut code
+         for changes. Mark pasted paragraphs as new.
+
+       * support/lyxtime.h:
+       * support/lyxtime.C:
+       * DepTable.C: abstract time_t as lyx::time_type
+
+       * LColor.h:
+       * LColor.C: add colours for new text, deleted text, changebars
+
+       * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
+         package use "usenames" option.
+
+       * commandtags.h:
+       * lyxfunc.C:
+       * LyXAction.C: add change lfuns
+
+       * Makefile.am:
+       * author.h:
+       * author.C: author handling
+
+       * buffer.h:
+       * buffer.C: add a per-buffer author list, with first entry as
+         current author. Handle new .lyx tokens for change tracking. Output
+         author list to .lyx file. Output dvipost stuff to .tex preamble.
+         Bump lyx format to 222.
+
+       * bufferlist.h:
+       * bufferlist.C: add setCurrentAuthor() to reset current author details
+         in all buffers.
+
+       * bufferparams.h:
+       * bufferparams.C: add param for tracking
+
+       * bufferview_funcs.C: output change info in minibuffer
+
+       * Makefile.am:
+       * changes.h:
+       * changes.C: add change-tracking structure
+
+       * debug.h:
+       * debug.C: add CHANGES debug flag
+
+       * lyxfind.h:
+       * lyxfind.C: add code for finding the next change piece
+
+       * lyxrc.h:
+       * lyxrc.C: add user_name and user_email
+
+       * lyxrow.h:
+       * lyxrow.C: add a metric for the top of the text line
+
+       * lyxtext.h:
+       * text.C: implement accept/rejectChange()
+
+       * lyxtext.h:
+       * 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_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.
+
+       * text2.C: leave cursor at end of selection after a cut.
+
+2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text.C (getLengthMarkerHeight): 
+       (drawLengthMarker): make the `symbolic' lengths (small/med/big)
+       visible on screen too.
+
+2003-02-07  John Levon  <levon@movementarian.org>
+
+       * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
+
+2003-02-05  Angus Leeming  <leeming@lyx.org>
+
+       * lyxserver.C (read_ready): revert my patch of 11 September last year
+       as it sends PC cpu through the roof. Presumably this means that
+       the lyxserver will no longer run on an Alpha...
+
+2003-01-30  Angus Leeming  <leeming@lyx.org>
+
+       * factory.C (createInset): create an InsetCommandParam of type "index"
+       and use it to 'do the right thing'.
+
+       * text2.C (getStringToIndex): ensure that cursor position is always
+       reset to the reset_cursor position.
+
+2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxfunc.C (getStatus): "buffer-export custom" should never be
+       disabled.
+
+2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
+
+       * bufferview.C:
+       * lyxcb.C:
+       * lyxfunc.C: Output messages with identical spelling, punctuation,
+       and spaces
+
+2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
+
+       * MenuBackend.C (expandFormats): List only viewable export formats
+       in "View" menu
+
+       * buffer.C (parseSingleLyXformat2Token): Fix misleading error
+       message
+
+       * lyxfunc.C (getStatus): Make sure that formats other than
+       "fax" can also be disabled
+
+2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text3.C (dispatch): put the lfuns that insert insets in 3
+       groups, and call doInsertInset with appropriate arguments.
+       (doInsertInset): new function, that creates an inset and inserts
+       it according to some boolean parameters.
+
+2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * buffer.C (readFile): remember to pass on 'par' when calling
+       readFile recursively.
+
+2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * MenuBackend.C (expandFormats): add "..." to import formats.
+
+2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * paragraph.C (asString): Remove XForms RTL hacks.
+
+2003-01-13  Alfredo Braunstein <abraunst@libero.it>
+       * buffer.C: fix typo
+
+2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Makefile.am (LIBS): delete var
+       (lyx_LDADD): add @LIBS@ here instead.
+
+2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
+
+       * Clarify the meaning of "wheel mouse jump"
+
+2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
+       tabular in a float
+
+2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * importer.C (Loaders): do not preallocate 3 elements in the
+       vector, since one ends up with 6 elements otherwise
+
+2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * DepTable.C (write): write the file name as last element of the
+       .dep file (because it may contain spaces)
+       (read): read info in the right order
+
+2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * paragraph_pimpl.C (simpleTeXBlanks):
+       (simpleTeXSpecialChars):
+       * paragraph.C (simpleTeXOnePar): make `column' unsigned.
+
+       * tabular.C (latex): add some missing case statements. Reindent.
+
+       * MenuBackend.C (expandToc): remove unused variable.
+
+2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
+
+       * LColor.C:
+       * LaTeX.C:
+       * LyXAction.C:
+       * MenuBackend.C:
+       * buffer.C:
+       * exporter.C:
+       * lyxfunc.C:
+       * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
+       and the like.
+
+2003-01-05  John Levon  <levon@movementarian.org>
+
+       * BufferView.h:
+       * BufferView.C: add getEncoding()
+
+       * kbsequence.h:
+       * kbsequence.C: do not store last keypress
+
+       * lyxfunc.h:
+       * lyxfunc.C: store last keypress here instead. Pass encoding
+         to getISOEncoded()
+
+2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyx_main.C (init): remove annoying error message when following
+       symbolic links (bug #780)
+
+2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text.C (insertChar):
+       * lyxrc.C (getDescription): remove extra spaces
+
+2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxrc.C (getDescription): remove extra spaces
+
+2002-12-20  John Levon  <levon@movementarian.org>
+
+       * text3.C: hack fix for page up/down across tall rows
+
+2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
+       not been invoked
+
+2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
+       unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
+       thesaurus is not compiled in
+
+2002-12-17  Alfredo Braunstein <abraunst@libero.it>
+
+       * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
+
+2002-12-16  Angus Leeming  <leeming@lyx.org>
+
+       * lyxrc.[Ch]:
+       * lyx_main.C (init): remove override_x_deadkeys stuff.
+
+2002-12-12  John Levon  <levon@movementarian.org>
+
+       * lyxfunc.C: use LyXKeySym->isText() as last-ditch
+         insert. Only remove shift modifier under strict
+         circumstances.
+
+2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * MenuBackend.C (expandToc): fix crash.
+
+2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * MenuBackend.C (expandToc): gettext on float names.
+
+2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
+
+       * lyxlength.[Ch]: set default unit to UNIT_NONE,
+       implement bool empty() [bug 490]
+
+2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
+
+2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * several files: ws changes
+
+2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text2.C (setCounter): clean up a bit, use boost.format.
+       (updateCounters): initialize par upon declaration.
+
+       * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
+       if the layout exists. We do not just store the layout any more.
+       (SwitchLayoutsBetweenClasses): use boost.format
+
+2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * converter.C (convert): if from and to files are the same, use a
+       temporary files as intermediary
+
+2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * commandtags.h:
+       * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
+
+2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
+
+2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * tabular.C (asciiPrintCell): use string(size, char) instead of
+       explicit loop.
+
+       * sgml.C (openTag): fix order of arguments to string constructor
+       (closeTag): ditto
+
+       * lyxfunc.C (dispatch): use boost.format
+
+       * lots of files: change "c" -> 'c'
+
+2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
+
+2002-11-25  Angus Leeming  <leeming@lyx.org>
+
+       * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
+
+       * lyx_main.C (init): compile fix.
+
+2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * lyx_cb.C (start): boost.formatify
+       do not include <iostream>
+
+       * lengthcommon.C: ws only
+
+       * boost-inst.C,BoostFormat.h: add more explict instantations
+
+2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * lots of files: handle USE_BOOST_FORMAT
+
 2002-11-21  John Levon  <levon@movementarian.org>
 
        * pspell.C: fix compile
+
 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
        * lyxfunc.C (dispatch): use boost::format
 
 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>