]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Herbert's graphics10.diff patch, part I.
[lyx.git] / src / insets / ChangeLog
index 084358601ee9e51316e5976d4260a598dd6a6011..9e5dfe3afc479c7daf4157b5f222dd49041c9d1a 100644 (file)
@@ -1,3 +1,560 @@
+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.
+
+       * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
+       can be opened.
+
+       * insetcollapsable.C (insetButtonRelease): changed so that it can
+       open eventual existing popup dialogs on mousebutton==3.
+
+       * insetfloat.C (insetButtonRelease): removed not needed anymore!
+
+       * insetminipage.C (insetButtonRelease): removed not needed anymore!
+
+       * inset.C (insetButtonRelease): return a bool for telling the outer
+       world that we opened a dialog.
+
+2001-12-07  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (paragraph): remove the deleteing of paragraphs as
+       it was a WRONG move!
+
+2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insettabular.h:
+       * insettabular.C: use new setSelection(). Allow
+         selection of single cells.
+
+2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetquotes.C (latex): fix to use the local language setting at
+       the point where the inset is inserted (different macros for
+       different french packages)
+
+2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * inset.h: add par_owner_ member variable and parOwner
+       setter/accessor. 
+
+2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insettabular.C (everywhere): adapt because widths are now real
+       widths and not strings
+
+       * insettext.C (draw): re-introduce the calls to width(), ascent()
+       and descent() to initialize the caching variables.
+
+2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insettext.C (draw): 
+       (drawFrame): use insetWidth instead of last_width
+
+       * insettext.h: remove variable last_width (insetWidth is exactly
+       the same) and last_height (computed but never used!)
+
+2001-12-10  Allan Rae  <rae@lyx.org>
+
+       * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
+
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insettext.C (insetAllowed): add comment
+2001-12-05  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (insetAllowed): fixed for the case that we directly
+       ask the insettext from its LyXText.
+       (paragraph): fixed the crash when assigning the par->next() from
+       the EmptyParagraphMechanism!
+
+2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * insetbib.C:
+       * insettabular.C:
+       * insettext.C: change "while(" to "while ("
+
+2001-12-04  Juergen Vigna  <jug@sad.it>
+
+       * insetert.C (edit): handle Inlined status.
+
+       * insettext.C (insertInset): trying John's fix for the trailing cursor
+
+       * insetert.C (insetButtonPress): added to handle inlined status
+       (insetMotionNotify): ditto.
+
+       * insettext.C (clearInset): changed Painter & in BufferView * param,
+       to be able to call ascent,descent methods.
+
+2001-12-03  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C (updateInsetInInset): use lt variable to forbid
+       changes of LyXText in an update call.
+       (updateInsetInInset): fixed updating of non locked insets!
+
+2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insettabular.C: capture some more functions to prevent
+       selection drawing problems. Bug #451274
+
+2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insetgraphics.C:
+       * insetgraphicsParams.C: fix inverted sense of float_equal
+
+2001-11-30  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (InsetTabular): use the save_id flag to create also
+       the tabular with the same id's.
+
+       * insettext.C (setParagraphData): added a same_id function for undo
+       to set the same paragraph id's as of the paragraph we are setting.
+
+2001-11-30  José Matos <jamatos@fep.up.pt>
+
+       * inseturl.[Ch]:
+       * insettoc.[Ch]: DocBook -> docbook.
+
+2001-11-29  André Pönitz <poenitz@gmx.net>
+       
+       * inseterror.C:
+       * insettext.C: further reduction of header dependencies by using
+       lyx::layout_type and lyx::textclass_type from support/types.h
+
+2001-11-29  Juergen Vigna  <jug@sad.it>
+
+       * insettext.C: inserted a reinitLyXText function everywhere I delete
+       the paragraphs! This should fixe the crashes we had.
+       Also use the new function firstRow() instead of getRowNearY(dummy_y)
+       (paragraph): set the InsetOwner() of the new paragraphs!
+
+2001-11-28  André Pönitz <poenitz@gmx.net>
+
+       * insetnote.C: add pos initialization that I removed without
+         knowing what I did.
+
+2001-11-28  Juergen Vigna  <jug@sad.it>
+
+       * insettabular.C (resetPos): hack to not crash with infinite paints.
+
+       * insettabular.h: insert missing function allowSpellcheck()!
+
+       * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
+
+2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
+
+       * insetfloatlist.h:
+       * insetfloatlist.C: derive from InsetCommand so gui can use it
+         easily
+2001-11-26  André Pönitz <poenitz@gmx.net>
+       
+       * insettext.[Ch]:
+       * insetert.C:
+       * insetnote.C: reduce header dependencies, introduce type for
+       positions 
+
+2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * various: update for Alert.h
+2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
+
+       * inset.h: fix comment
+       * insettext.C: use par->isInset()
+
+2001-11-22  Allan Rae  <rae@lyx.org>
+
+       * insetcollapsable.h: 
+       * inset.h: Changes to checkInsertChar() behaviour.
+       Now return value indicates whether chars can be inserted.
+
+2001-11-11  Michael A. Koziarski <michael@koziarski.org>
+
+       * various:  updated to use the new LaTeXFeatures
+
+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
 2001-07-18  Juergen Vigna  <jug@sad.it>
 
        * insetcollapsable.C (edit): fixed hopefully the y parameter which
-       is givven to the InsetText.
+       is given to the InsetText.
        (insetButtonPress): ditto
        (insetButtonRelease): ditto
        (insetMotionNotify): ditto