]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / ChangeLog
index eebc28ef2e563c2cb8e17c159a0713e64e525f18..37b3db305830b47ae6dab3dcb3db9341ae341bd5 100644 (file)
@@ -1,5 +1,406 @@
+2002-02-20  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (draw): clear the parts around a cellinset ALWAYS
+       and also above (was missing).
+       (updateLocal): don't remove the cell selection if we have one this
+       should be done where we really want to remove it.
+
+2002-02-20  José Matos  <jamatos@fep.up.pt>
+
+       * insetinclude.h: include_label made string const.
+
+       * insetinclude.C (InsetInclude): moved include_label initialization.
+       (linuxdoc):
+       (docbook):
+       (validate): fix support for temporary directory, for docbook and
+       linuxdoc.
+
+       * insetgraphics.h : new private member, graphic_label, that holds
+       the entity name that defines the graphics location (SGML).
+
+       * insetgraphics.C (unique_id): new function to give a unique label
+       for graphic.
+       (docbook):
+       (validate): the file locatation is given by an entity reference.
+
+2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
+       as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
+
+2002-02-18  José Matos  <jamatos@fep.up.pt>
+
+       * insetinclude.C (validate): some code only applies to latex buffers,
+       it was made conditional.
+
+2002-02-12  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphics.C: (prepareFile) do not check at this time
+       if the file is present.
+
+2002-02-12  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphics.C: latex(), return the correct newlines
+
+2002-02-13  José Matos  <jamatos@fep.up.pt>
+
+       * inseturl.C (docbook): escape & in url.
+
+2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetspecialchar.C (isLineSeparator): line breaking is allowed
+       after HYPHENATION and MENU_SEPARATOR
+
+       * inset.h (isLineSeparator): new method, returns false by default.
+
+2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetert.C (status): do not update the text inset, but the ERT
+       inset. 
+
+2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insetnote.C: use notebg for background
+2002-02-08  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.C: 
+       * insetgraphicsParams.[Ch]: adding new Option noUnzip to
+       prevent LyX from unzipping when this should be handled
+       by latex vis the graphic.cfg.
+       clean up the code
+
+2002-02-08  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.C: prepareFile(): fix bug when file doesn't
+       exists, than return filename with extension
+
+2002-02-06  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.C: prepareFile(): don't convert the file, when
+       it's not viewed in LyX. Saves a lot of time when opening a
+       document!
+
+2002-02-05  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.C: 
+       * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
+       and adding a rotate bool similiar to subcaption
+
+2002-02-04  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.C: 
+       * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
+       similiar view to the LaTeX one. Get zipped files work.
+
+2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insetgraphicsParams.C (init): set display to DEFAULT.
+       No longer #include "lyxrc.h".
+
+2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
+       for now (so that the code compiles).
+
+2002-02-02  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.C: delete inVariant() and some minor changes
+       * insetgraphicsParams.[C]:
+
+2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insetgraphics.C (updateInset): if params.display == DEFAULT,
+       interogate lyxrc.display_graphics before diaplaying the graphic.
+
+       * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
+       InsetGraphicsParams::DisplayType.
+
+2002-01-31  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.C: (readfigInset) set display to pref-default
+
+2002-01-30  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.C: get the filetyp from it's contents
+       * insetgraphicparams.C: add token scale and lyxrc.display when
+       creating a new inset
+
+2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * figinset.C: added using std::ios directive.
+
+2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * figinset.C (runqueue): open translation file in binary mode (for
+       cygwin). 
+
+2002-01-27  Herbert Voss  <voss@lyx.org>
+
+       * insetgraphic.[Ch]: mostly newritten to support graphicx with
+       all options and to be sure that the old figinsets are correct
+       converted.
+       * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
+       structure and to support all lengths as LyXLength. The Parameter
+       structure changed again, but reading of "old" 1.2 graphic insets
+       is no problem.
+
+2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * insetert.h (forceDefaultParagraphs): Added
+
+2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insettabular.C (getMaxWidth): 
+       (forceDefaultParagraphs): use Tabular::GetCellFromInset
+
+2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insettabular.C (getMaxWidthOfCell): adapt to the new definition
+       of LyXLength::inPixels
+
+       * inset.C (latexTextWidth): 
+       * insetminipage.C (latexTextWidth): new method, which implements
+       the equivalent of the LaTeX macro \textwidth
+       
+       * insetminipage.C (getMaxWidth): use latexTextWidth
+
+2002-01-18  Juergen Vigna  <jug@sad.it>
+
+       * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
+
+2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
+
+       * insetminipage.[Ch]: change width_ and height_ to be LyXLength
+       instead of string
+
+2002-01-17  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (lockInsetInInset): same change as in insettext.
+
+       * insettext.C (draw): width() function was called without setting
+       the right top_x which could lead to wrong insetWidth setting!
+       (lockInsetInInset): call edit instead of calling lockInset if we
+       have to lock an inset inside!
+       (edit): we have to also tell the inset that we have to redraw the
+       frame on an edit call if this inset draws a frame only if locked.
+
+2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetbib.C (getFiles): uncomment Path variable.
+
+2002-01-16  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (forceDefaultParagraphs): fixed bug returning value
+       of wrong cell.
+
+2002-01-16  Allan Rae  <rae@lyx.org>
+
+       * insetinclude.C (docbook): someone forgot a ";"
+
+2002-01-16  José Matos  <jamatos@fep.up.pt>
+
+       * figinset.C (docbook): removed a old place holder "@".
+       * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
+       * insetinclude.C (linuxdoc): if include is verbatim, then export the
+       ascii text version, clearly guarded inside a CDATA section.
+       (docbook): in docbook 4, inlinegraphics is empty.
+       * insettabular.C (linuxdoc): export the ascii version of the table
+       inside a CDATA section.
+
+2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetparent.C (InsetParent): 
+       * insetgraphicsParams.C (Write): 
+       (Read): 
+       * insetgraphics.C (prepareFile): 
+       (readFigInset): 
+       (docbook): 
+       * insetexternal.C (executeCommand): 
+       (doSubstitution): use Buffer::filePath
+
+       * insetbib.C (getFiles): add a #warning for Angus
+
+       * insetgraphics.C: Add a remark about how filenames should be
+       considered to be relative to buffer (but absolute is still allowed)
+       (draw): do not try to get status if lyxrc.use_gui is false
+
+2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * inset.[Ch]:
+       * insetcollapsable.[Ch]:
+       * insettabular.[Ch] (searchForward, searchBackward): change the
+       bool const & params to bool.
+
+       * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
+       to avoid the name clash with InsetCollapsable's methods of the same
+       names but different functionality.
+
+2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * insettext.C (ascii): use lyx::count rather than countChar.
+
+2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
+
+2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetgraphics.C (updateInset): do not try to render image if
+       lyxrc.use_gui is false (bug #104)
+
+       * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
+       if file does not exist
+
+       * figinset.C (browseFile): add shortcuts to directory buttons
+
+       * insettext.C (updateLocal): update menubar and toolbar here too.
+
+2002-01-13  Allan Rae  <rae@lyx.org>
+
+       * insettabular.C (InsetTabular): Both constructors now initialise
+       all class variables.
+
+2002-01-11  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (insetButtonPress): set the_locking_inset to 0.
+
+2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insettabular.C (getStatus): add forgotten brace around multiline
+       if statement.
+
+2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetfloat.C (validate): require "float" instead of "floats".
+
+2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insettabular.C (getStatus): use FuncStatus
+
+2002-01-08  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (insetButtonRelease): now this should work too
+       correctly.
+
+       * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
+       if the width is a percentage.
+
+       * inset.h: added isChar() function and implemented this for
+       insetspecialchar insetquotes and insetlatexaccent.
+       added forceDefaultParagraphs() and implemented it for insettabular.
+
+2002-01-07  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (getLyXText): Fixed this function. An insert into the
+       map is only done if we REALLY have a new BufferView.
+
+2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insettext.C: fix bug illustrated by attachment #37 of bug #59
+
+2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insetinclude.C: fix use of FileInfo
+2002-01-07  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (draw): fixed clearing of cell around inset.
+
+2002-01-05  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
+       variables are updated.
+
+       * insettabular.C (resetPos): set always the inset_y as it may be
+       needed in another function.
+       (searchBackward): don't draw while searching.
+
+2002-01-04  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (lockInsetInInset): forgot to set a cursor.
+
+2002-01-02  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (insertInset): make the correct undo informations on
+       inserting new insets.
+
+2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insettabular.C: correct single-cell select vertically
+2001-12-27  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (ascii): export as tab-separated-values if the
+       function was not called from export (f.ex.: clipboard).
+
+       * insetcollapsable.h: added default support for ascii, linuxdoc and
+       docbook export (the insettext is exported by default!)
+
+       * insettabular.C (copySelection): suff the clipboard with the tabular
+       data in a tab separated format, seems more naturals then with all the
+       formating.
+
+2001-12-24  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
+       to check for REAL mouseMotion.
+
+2001-12-20  Juergen Vigna  <jug@sad.it>
+
+       * inset.C (cursor): return the owners cursor if available instead of
+       always only the bv->text->cursor.
+
+       * insettabular.C (checkLongtableSpecial): works now.
+
+2001-12-19  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (tabularFeatures): fix the row setting of ltt as
+       this has to be always row + 1 as 0 means not selected!
+       (checkLongtableSpecial): added
+       (tabularFeatures): better longtable options support
+
+       * insettext.C (resizeLyXText): reinit the text always also on a
+       empty insettext!
+
+2001-12-18  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (updateInsetInInset): look if we have to autocollapse
+       paragraps and return if the update is requested for ourself.
+
+       * insetert.C (status): update the insettext not myself as that is what
+       we need.
+
+       * insetcollapsable.C (updateInsetInInset): always call the InsetText's
+       function only return if the update was requested with myself.
+
+       * insettext.C (insetButtonPress): fixed stupid bug.
+       (various functions): pay attention that lt is cleared BEFORE calling
+       updateLocal() and try to use it in the right manner (don't use it
+       if it's not really neccessary!)
+       (collapseParagraphs): insert a blank between collapsing paragraphs
+       if neccessary (not already there!).
+
+2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * insettabular.C: move includes around a bit, add a couple of
+       consts.
+
+       * insettext.[Ch]: move includes around a bit, other ws changes and
+       small stuff.
+       
+2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insettext.C (insetButtonRelease): fix compile problem
+
 2001-12-17  Juergen Vigna  <jug@sad.it>
 
+       * insettext.C (insetButtonPress): set the selection cursor!
+       (insetButtonPress): clear the selection (and set with that the
+       selection.cursor) if we only hit an inset!
+
        * insetert.C (read): removed piece of compatibility code only needed
        for 1.2.0.
 
@@ -7,7 +408,7 @@
        can be opened.
 
        * insetcollapsable.C (insetButtonRelease): changed so that it can
-       open evetual existing popup dialogs on mousebutton==3.
+       open eventual existing popup dialogs on mousebutton==3.
 
        * insetfloat.C (insetButtonRelease): removed not needed anymore!