]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Fix several warnings regarding unused variable/arguments.
[lyx.git] / src / insets / ChangeLog
index dd01e0bd6de030c207489e4109e367863193be5f..8fa1a101d3f5464ef3e5666baf06376574af5edf 100644 (file)
@@ -1,5 +1,439 @@
+2001-11-14  José Matos  <jamatos@fep.up.pt>
+
+       * insetspecialchar.C (linuxdoc): 
+       (docbook): don't give a name to a unused variable.
+
+       * insettext.C (docbook): removed unused variable.
+
+2001-11-13  Herbert Voss  <voss@perce.de>
+
+       * insetgraphic.C: fix scale bug
+       
+2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * inset.h (isSpace): 
+       (isLetter): new virtual methods.
+
+       * insetspecialchar.C (isSpace): 
+       (isLetter): implement here.
+
+2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
+
+       * inset.h: new inline helpers
+
+       * insettext.C: use new helpers
+
+2001-11-07  José Matos  <jamatos@fep.up.pt>
+
+       * insettext.C (docbook): full support for paragraphs inside insettext.
+
+2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
+
+       * insetindex.C: added header file for std::ostream.
+
+2001-11-03  José Matos  <jamatos@fep.up.pt>
+
+       * insetindex.C: added using std::ostream that I forgot yesterday.
+
+2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
+
+       * insetindex.h (docbook):
+       * insetindex.C (docbook): added support for docbook export.
+
+2001-11-02  José Matos  <jamatos@fep.up.pt>
+
+       * insetcaption.C(docbook): added support for docbook export.
+
+2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * insetexternal.C (updateExternal): Do not run update command if
+       result file exists and is up to date.
+
+       * ExternalTemplate.C (readFormat): Support the updateresult token.
+
+2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
+
+       * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
+       external_templates) to use the buffer->fileName() but only if
+       previewing. Generating a TeX file should make FPath return
+       "".
+
+2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insetert.h:
+       * insetert.C: fix some problems
+2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
+
+       * insetexternal.C (doSubstitution): Added $$FPath token
+       to list of usable substitutions in external inset templates.
+
+2001-10-24  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C: use new ltType struct for setting longtable
+       header and footers also new UNSET enums.
+
+2001-10-24  José Matos  <jamatos@fep.up.pt>
+
+       * insettabular.C (linuxdoc): Now exports the ascii's table version.
+       (docbook): If the table is not inside a float then wrap it inside
+       <informaltable>...</informaltable>.
+
+2001-10-23  José Matos  <jamatos@fep.up.pt>
+
+       * insetref.C (docbook): removed / terminator to conform SGML.
+
+       * insetspecialchar.C (linuxdoc):
+       (docbook): Added support for special chars, more than ascii export.
+
+2001-10-22  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (checkInsertChar): added for REALLY checking the
+       font of the inserted char in the right inset!
+
+2001-10-19  Juergen Vigna  <jug@sad.it>
+
+       * inset.h: added method allowSpellcheck() so that insets who do
+       not have anything to spellcheck can tell and so they are over-jumped.
+       Implemented for InsetText and co.
+
+2001-10-18  Juergen Vigna  <jug@sad.it>
+
+       * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
+
+2001-10-15  José Matos  <jamatos@fep.up.pt>
+
+       * insetert.C: allow export for docbook and linuxdoc
+
+2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
+
+       * insetquotes.C (dispString): handles latin3 and latin4 quotes
+
+2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * insetquotes.C (dispString): fix handling of latin9 quotes
+
+2001-10-03  Juergen Vigna  <jug@sad.it>
+
+       * insetert.C: ditto
+
+       * insetcollapsable.C: change updateInset calls to not tell BV that
+       we have changed status.
+
+2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * insettabular.C (deletable): make const
+
+2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * insetert.C (latex): Fix the returned value
+
+2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insetert.[Ch] (selectNextWordToSpellcheck): new method.
+       Returns string(), so nothing in an ERT inset is spellchecked.
+
+       * insetgraphics.C (draw): print the filename if not displaying the
+       image.
+       (width): make sure that the width and draw methods are consistent.
+       (updateInset): don't even load the image into cache if not displaying
+       it.
+
+2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * various files (selectNextWord): renamed as
+       selectNextWordToSpellcheck.
+
+       * insetgraphics.C (draw): remove the previous change. Right place
+       is in imageLoaderXPM.C.
+       (draw): don't display the image if params.display == NONE.
+
+2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * figinset.C (runqueue):
+       * insetgraphics.C (draw): set background colour of inset from
+       background to the user-configurable graphicsbg.
+
+2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * insetquotes.C (InsetQuotes): when trying to decide the side of
+       the quote, choose `left' only after a space or '('
+
+2001-09-04  José Matos  <jamatos@fep.up.pt>
+       * figinset.C
+       * figinset.h
+       * insetcaption.C
+       * insetcaption.h
+       * insetcollapsable.h
+       * insetcommand.C
+       * insetcommand.h
+       * inseterror.h
+       * insetert.C
+       * insetert.h
+       * insetexternal.C
+       * insetexternal.h
+       * insetfloat.C
+       * insetfloat.h
+       * insetfloatlist.h
+       * insetgraphics.C
+       * insetgraphics.h
+       * inset.h
+       * insetinclude.C
+       * insetinclude.h
+       * insetlabel.C
+       * insetlabel.h
+       * insetlatexaccent.C
+       * insetlatexaccent.h
+       * insetquotes.C
+       * insetquotes.h
+       * insetref.C
+       * insetref.h
+       * insetspecialchar.C
+       * insetspecialchar.h
+       * insettabular.C
+       * insettabular.h
+       * insettext.C
+       * insettext.C (docbook): rename docBook method to docbook.
+
+2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * inset.h (getFirstParagraph): New virtual method.
+
+2001-08-20  Herbert Voss  <voss@perce.de>
+       * insetbib.C: added a option bibtotoc which is from "BIB to TOC" 
+       in the the bibtex-database-gui for inserting a line
+       \addcontentsline... 
+
+       If no style is given than there is no tex-output.
+       
+2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
+       files as a vector.
+       (getKeys): use it.
+
+2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * insetert.C (latex): Fix output for multiple paragraphs.
+       (write): New code for writing paragraph data.
+       (read): Set font after reading the inset.
+       (localDispatch): Call set_latex_font() for more cases.
+
+       * insetnote.h: Add empty validate method.
+       * insetert.h: Ditto
+
+       * insetnote.C (InsetNote): Set language to the language of the 
+       document.
+
+2001-08-16  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C: implemented the new FINISHED states.
+
+       * insettabular.C: ditto 
+
+       * inset.h: added more FINISHED states for cursor right,up,down
+
+2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insetfloatlist.C: use "FloatName List" 
+2001-08-14  Juergen Vigna  <jug@sad.it>
+
+       * insetert.C (edit): forgot to set status_ in edit calls!
+
+2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * insettext.C: Compilation fix
+
+2001-08-13  Juergen Vigna  <jug@sad.it>
+
+       * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
+
+       * insetcollapsable.C (edit): don't recollapse an already open inset.
+
+       * insettext.C: fixed problem when reinitializing LyXText by not doing
+       it while lt is in use and post this to the next possible time in
+       getLyXText().
+       (searchForward): fixed not unlocking of inset if nothing found.
+       (edit): set cursor behind right (was set -1 pos).
+
+       * insetert.C (InsetERT): init status_ also in the 3rd constructor.
+
+       * insettabular.C (tabularFeatures): fixed fix where deleting the
+       last row didn't get the right actcell!
+
+2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * insettext.C (localDispatch): Change language only when the inset 
+       becomes empty.
+
+2001-08-10  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (selectNextWordInt): use the front using edit call.
+
+       * insetcollapsable.C (getMaxWidth): rename inset to in to not have
+       the parameter overwrite class variable inset.
+
+       * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
+
+       * insettext.C (saveLyXTextState): check for invalid cursor-par.
+       (reinitLyXText): remove wrong_cursor bool as not needed anymore!
+
+       * insettabular.C (calculate_dimensions_of_cells): let's try to call
+       update only for fixed with cells.
+       (resetPos): try to fix the lockup on spellchecking or s&r.
+
+       * insettext.C (update): comment this out as it seems first wrong
+       and second not needed anymore!
+       (some functions): call reinitLyXText() only in update() in all other
+       positions set only need_update = INIT.
+
+2001-08-08  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (setPos): fixed wrong actrow < rows() check.
+
+       * insettext.C (insetUnlock): remove double-space on inset unlock.
+
+       * insetcollapsable.C (draw): fix returned x when label > inset-width.
+
+       * insettabular.C (update): fixed cursor positon after an insert.
+       (insetAllowed): do not allow to insert insets when not inside the
+       inset!
+       (draw): clear below an inset too as it could have changed height.
+
+       * inset.C (getMaxWidth): fixed width for inset in inset.
+
+       * insettext.C (update): small fix.
+
+       * insettabular.C (tabularFeatures): added selection support to
+       DELETE_ROW/DELETE_COLUMN.
+
+2001-08-07  Juergen Vigna  <jug@sad.it>
+
+       * inset.C (getMaxWidth): recoded and all it's implementations!
+
+       * insettext.C (init,setParagraph+constructors): cleanups
+       (reinitLyXText): fixed problem with wrong cursor when all paragraphs
+       are new and I want do a save/restore of the cursor position which is
+       not possible anymore.
+
+       * insetcollapsable.C (searchBackward): recollapse inset if not found.
+       (searchBackward): ditto
+       (selectNextWord): ditto
+
+2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insetlatexaccent.C (checkContents): Add some debug messages
+
+2001-08-07  Juergen Vigna  <jug@sad.it>
+
+       * insetert.C (read): don't use InsetCollapsable::read as we don't
+       write the collapsed status anymore only the status.
+       (write): ditto.
+
+2001-08-06  Juergen Vigna  <jug@sad.it>
+
+       * insetert.C (set_latex_font): use LyXText's setFont directly.
+
+       * insettext.C (drawFrame): fixed one time more the right position
+       and size of the frame!
+
+       * insetert.C (~InsetERT): hide the dialog.
+       (showInsetDialog): added implementation
+       (open): ditto
+       (close): ditto
+       (status): new function for the status of the ERT inset (3-state).
+       (write): output also the status of the inset for readback!
+       (read): readback the status if available otherwise use collapsed_.
+
+       * insettext.C (edit): small fix of setting the position, which could
+       have gone < 0.
+
+       * insetert.C (width): implement this function for inlined viewing.
+       Added minimum width of 10 pixels!
+
+       * insetminipage.C (InsetMinipage): just change the colors a bit so
+       that border/background is a bit more visible. We will remove this
+       anyway for 1.2.0!
+
+       * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
+       function for getting the important widths for drawing in various
+       functions and in LyXText.
+       (draw): fixed up a bit (frame drawing/clearing)
+
+2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * inset.C (convertFont): delete method. not used. 
+
+2001-08-03  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (setFont): don't call for a draw update if we're just
+       changing the cursor font!
+
+2001-08-02  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (draw): clear the background with the right color if
+       needed. Update myself if x&max-width changed and return without doing
+       anything. Let the update code handle the right stuff.
+
+       * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
+       inside another inset.
+
+2001-08-01  Juergen Vigna  <jug@sad.it>
+
+       * insetcollapsable.C (update): added an in_update bool so we avoid
+       reentering.
+
+       * insettabular.C (update): added an in_update bool so we avoid
+       reentering.
+
+       * insettext.C (insetButtonPress): hopefully fixed setselection/clear
+       selection problem.
+       (update): added an in_update bool so we avoid reentering.
+
+       * insettabular.C (localDispatch): clear col/row selection when doing
+       something else inside an inset.
+
+       * insettext.C (getLyXText): fixed bug when requesting a recursive
+       insettext!
+
+2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insetcite.C (latex): Paranoia check. Make sure that there is no
+       whitespace between the citation keys.
+
+2001-07-31  Juergen Vigna  <jug@sad.it>
+
+       * inset.h (nodraw): make the set function also const so that this
+       can be called from inside other const functions.
+
+       * insetcollapsable.h: removed inline variable and moved it over
+       to the only user InsetERT.
+
+       * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
+       inset opening immediately therein lying insets dialogs!
+
+       * insetert.C (localDispatch): set the font also if we don't have any
+       chars in this paragraph, otherwise if we delete all of em and start
+       writing we have the wrong font.
+       (inlined): added
+       (draw): implemented for inline support
+       (insetButtonRelease): ditto.
+
+2001-07-30  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (reinitLyXText): new function to reinit the insets
+       text after lot's of paragraph changes. Use this instead of the
+       cache.clear() which is VERY dangerous.
+
+       * insetfloat.C (insetButtonRelease): we should only show the dialog
+       if we press on the label otherwise we have problems to open mouse
+       button 3 dialogs inside this float (f.ex. of a tabular!)
+
 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
+       * insetert.C: change back to "ERT"
+
        * insetfloat.C: handliign of RMB on label added.
 
 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>