]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
the convert patch
[lyx.git] / src / insets / ChangeLog
index 6626f7beee1e714a5072d16a95ef8eeb548eb951..74c311c28b4dc5a4e891d710a9d19bce962570e0 100644 (file)
@@ -1,7 +1,260 @@
+2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * Several files: use convert<> instead of atoi,strToXXX and friends
+
+2005-01-23  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.h (bibitemWidest): declare the function.
+
+2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C (prepareFile): move the invocation of the default
+       converter to ../converter.C
+       * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
+       call convert with try_default == true
+
+2005-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C (prepareFile): add missing calls to addExternalFile
+       * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
+       determines what variables are substituted
+       * ExternalSupport.C (updateExternal): fix substitution of
+       ReferencedFiles
+
+2005-01-10  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplate.C: use support/package.h to provide the paths to the
+       various directories used by LyX.
+
+2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * insetwrap.C:
+       * insettabular.C:
+       * insetinclude.C:
+       * insetfloat.C:
+       * insetexternal.C:
+       * insetbibitem.C:
+       * ExternalTransforms.C (adjAngle): tostr -> convert
+
+2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
+       base version
+
+2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * ExternalTransforms.C: fix LaTeX output of \scalebox.
+
+       * ExternalTransforms.[Ch]:
+       * insetexternal.C: store all float/double values as strings.
+
+       * insetgraphics.C:
+       * insetgraphicsParams.C: more precise checks for the value strings.
+
+2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insettext.C (doDispatch): remove unused variable was_empty
+
+2004-12-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetgraphics.C:
+       * insetgraphicsParams.[Ch]: store all float/double values as strings.
+
+2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insettext.[Ch] : move autoBreakRows_ bool to LyXText
+
+2004-12-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
+       UNSET_ALL_LINES (from Jürgen)
+
+2004-12-14  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
+       to overcome bug in the MinGW port of g++ 3.4.2.
+
+2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insettabular.C (getCellXPos): make it return a relative x
+       position wrt. the begin of the tabular
+       (resetPos): a couple of fixes
+       (doDispatch): add a couple of resetPos calls
+       (drawSelection): fix drawing of selection in single-cell mode
+       (draw): replace 'do not draw' optimization by 'draw with
+       nullpainter' one
+
+2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * insetbase.[Ch] (idxUpDown2): remove function
+
+2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insettabular.[Ch]: use size_t-like types for cell, row and column
+       indices
+
+2004-12-02  José Matos  <jamatos@lyx.org>
+
+       * insetlatexaccent.C (checkContents): remove compatibility code,
+       moved to lyx2lyx.
+
+2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetbase.h (getStatus): add better comment from src/cursor.C
+
+2004-11-26  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insettabular.[Ch]: adjust, introduce "do not draw
+       offscreen" optimization using NullPainter, (dist): introduce,
+       (getCursorPos): implement, (drawSelection): implement
+
+       * insetcollapsable.[Ch]: adjust
+
+       * insettext.C: adjust, (metrics): set the font before calling
+       LyXText::metrics
+
+2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * rename a lot of InsetOld to InsetBase
+
+2004-11-25  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insettabular.C:
+       * insettext.C: par->pit renaming
+
+2004-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Most insets: rename priv_dispatch to doDispatch
+
+2004-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insettabular.C (tabularFeatures): fix multicolumn handling
+
+2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * render_base.h (operator=): use common semantics
+
+       * insettext.C (operator=): delete this
+       (copy constructor): implement this properly
+       (init): use for_each and bind
+       (clear): ditto
+       (appendParagraphs): ditto
+
+       * insettabular.C: add more const. Adjust for changes in tabular.
+
+       * insetbase.h: Use NVI on clone. Add virtual doClone and update
+       all children, also make copy constructor protected. Added some
+       safe-guards to clone.
+
+       * insets: adjust to fit.
+
+2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetoptarg.C (latexOptional): return number of lines instead of
+       number of characters
+
+2004-11-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insettabular.[Ch] (string2params): Don't pretend to return the
+       active cell anymore and simplify keyword parsing.
+
+2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetlatexaccent.h (isLetter): implement, so that word selection
+       takes accents into account.
+
+2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insetcollapsable.C (priv_dispatch): do not push the inset to the
+       cursor in dispatch
+
+2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalSupport.C, insetgraphics.C:
+       s/getFormatFromContents/formats.getFormatFromFile/
+
+2004-11-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetcharstyle.[Ch]:
+       * insetert.[Ch]: implement getStatus
+
+       * insetcharstyle.C (draw): visual clue when the cursor is inside
+       the inset
+
+2004-11-02  José Matos  <jamatos@lyx.org>
+
+       * insetcharstyle.C (docbook):
+       * insetlabel.C (linuxdoc, docbook):
+       * insetref.C (linuxdoc, docbook): escape chacters in id to produce
+       always legal output.
+
+       * insettabular.C (docbook): mixed content no longer belongs to
+       output parameters.
+
+2004-11-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
+
+2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalSupport.C (updateExternal): convert files in the temp dir
+
+2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetcharstyle.C: drawing cosmetics.
+
+2004-10-30  José Matos  <jamatos@lyx.org>
+
+       * insetcharstyle.C (docbook): a compromisse solution. Don't output
+       paragraph tags inside inline elements.
+
+2004-10-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
+       InsetText methods rather than outputVerbatim (escapes special
+       characters) [bug 1731]
+       * insetcharstyle.C (outputVerbatim): remove this function.
+       * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
+       which caused an infinite loop.
+
+2004-10-29  José Matos  <jamatos@lyx.org>
+
+       * insetgraphics.C (uniqueID): transfered to sgml.C
+
+2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetlabel.C (docbook, linuxdoc):
+       * insetref.C (docbook, linuxdoc): sanitize id.
+
+2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
+       * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
+       * insetgraphics.C (findTargetFormat): reformat
+
+2004-10-28  José Matos  <jamatos@lyx.org>
+
+       * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
+
+2004-10-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalTransforms.C (sanitizeLatexOption): simplify regex
+
+2004-10-27  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
+       "[,,,]" without warning message
+
+2004-10-26  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalSupport.C (updateExternal):
+       * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
+       external files to the temp directory.
+
 2004-10-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
-       * insetfoot.C (latex): use \thanks instead of \footnote on titlepage 
-       layouts. This fixes problems with the memoir class (which does not 
+       * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
+       layouts. This fixes problems with the memoir class (which does not
        allow \footnote) [bug 1677]
 
 2004-10-24  Andreas Vox  <vox@isp.uni-luebeck.de>
 
 2004-10-23  José Matos  <jamatos@lyx.org>
 
-       * insettext.C (docbook): rearrange arguments, due to change in the upper
-       code.
+       * insettext.C (docbook): rearrange arguments, due to change in the
+       upper code.
 
 2004-10-23  André Pönitz  <poenitz@gmx.net>
 
 
 2004-09-29  Andreas Vox  <vox@isp.uni-luebeck.de>
 
-       * insetgraphics.C (createDocBookAttribute, docbook) : 
+       * insetgraphics.C (createDocBookAttribute, docbook) :
        convert scale, width, height and keepaspectratio to Docbook standards)
-       
+
        * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
        to Docbook units where possible.
 
 2004-09-29  Andreas Vox  <vox@isp.uni-luebeck.de>
 
-       * insetgraphics.C (docbook): create inlinegraphic instead of graphic. 
-       
+       * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
+
        * insetgraphics.[hC] (createDocBookAttributes): Export parameters
        as attributes with new method for docbook.
 
 2004-09-24  Andreas Vox  <vox@isp.uni-luebeck.de>
 
        * insetref.C (docbook): fixing problem where Docbook XML output
-        had unclosed <xref ... >
+       had unclosed <xref ... >
 
 2004-08-16  José Matos  <jamatos@lyx.org>
 
        * insettext.[Ch]:
        * insetvspace.[Ch]:
        * insetwrap.[Ch]:
-       * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
+       * updatableinset.[Ch]: Adjust to IU changes (see comment in
+       src/Changelog)
 
 2004-01-15  André Pönitz  <poenitz@gmx.net>
 
 
 2003-11-20  Angus Leeming  <leeming@lyx.org>
 
-       * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
-       about unused parameters.
+       * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
+       warnings about unused parameters.
 
        * insetcollapsable.C (open):
        * insettabular.C (pasteSelection):
 
        * inset.h: remove Inset::id_
 
-       * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
+       * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
+       mathed/*.[Ch]
+
        * *.[Ch]: adjust
 
 2003-11-10  André Pönitz  <poenitz@gmx.net>
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
-       * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
-       set before trying to generate a preview, else we trigger an assert.
+       * insetinclude.C (localDispatch): ensure that
+       params_.masterFilename_ is set before trying to generate a
+       preview, else we trigger an assert.
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
-       * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
+       * insetcollapsable.[Ch]: make all member variables, except for
+       'inset', private.
 
-       * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
-       labelfont directly.
-       (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
-       InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
+       * insetert.C (init): use InsetCollapsable::setLabelFont rather
+       than access labelfont directly.
+       (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
+       use InsetCollapsable::setCollapsed, isOpen rather than access
+       collapsed_ directly.
 
        * insetminipage.C (metrics):
        * insetnote.C (metrics):
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
        * insettext.[Ch] (frameColor): new accessor function.
-       (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
-       insettext.h
+       (frame_color_): stored as an int, allows us to remove #include
+       "LColor.h" from insettext.h
 
        * insetbranch.C:
        * insettabular.C:
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
-       * insetenv.C (constructor): use accessor functions to access InsetText variables.
+       * insetenv.C (constructor): use accessor functions to access
+       InsetText variables.
 
        * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
        rename frame_color as frame_color_. Make private.
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
-       * inset.h: store background_color_ as an int, not as an LColor::color to
-       get LColor.h out of the header file.
+       * inset.h: store background_color_ as an int, not as an
+       LColor::color to get LColor.h out of the header file.
 
        * inset.C:
        * insetlatexaccent.C:
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
-       * renderers.C:  LyXFont::setColor no longer return a LyXFont &, so cannot string
-       calls together.
+       * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
+       cannot string calls together.
 
 2003-09-15  Angus Leeming  <leeming@lyx.org>
 
        Make use of the new Debug::EXTERNAL flag.
 
        * insetexternal.C: make use of the new Debug::EXTERNAL flag.
-       (validate): Small change due to the changed storage of preamble snippets.
+       (validate): Small change due to the changed storage of preamble
+       snippets.
 
 2003-09-04  Angus Leeming  <leeming@lyx.org>
 
 
 2003-06-10  Angus Leeming  <leeming@lyx.org>
 
-       * graphicinset.[Ch] (view): removed the publicly accessible function to set
-       the cache.
+       * graphicinset.[Ch] (view): removed the publicly accessible
+       function to set the cache.
 
        * insetexternal.[Ch]: move tempname_ into the Params struct.
        (Params d-tor): new function, to clean-up this temp file.
        * graphicinset.C (draw): add a comment for the #if 0 block.
 
        * insetexternal.h: remove Params::parameters variable.
-       * insetexternal.C (read, write): rewrite to output new ExternalInset format
-       and read it back making full use of LyXLex.
+
+       * insetexternal.C (read, write): rewrite to output new ExternalInset
+       format and read it back making full use of LyXLex.
 
 2003-06-04  André Pönitz  <poenitz@gmx.net>
 
 
        * graphicinset.C (update): bug fix. Set the params before calling the
        loader.
-       * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
-       BufferView cache to enable the InsetExternal::editCommand to be invoked
-       from the frontends. Would not be needed if this were dispatched properly.
+
+       * graphicinset.[Ch] (view): new method. A bit of a fudge to set
+       the BufferView cache to enable the InsetExternal::editCommand to
+       be invoked from the frontends. Would not be needed if this were
+       dispatched properly.
        (old_ascent_): variable removed.
 
        * insetexternal.[Ch]: large clean-up to use the converter mechanism to
        * insetert.C:
        * insetgraphics.C:
        * insettabular.C:
-       * insettext.C: Use error messages with identical spelling and punctuation
+       * insettext.C: Use error messages with identical spelling and
+       punctuation
 
 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
 
 
 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
 
-       * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
-       and the like.
+       * insettext.C: fix inconsistent usage of spaces, colons,
+       capitalization, and the like.
 
 2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
 
 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
 
-       * insettabular.C (tabularFeatures): Support for block alignment in fixed width
-       columns.
+       * insettabular.C (tabularFeatures): Support for block alignment in
+       fixed width columns.
 
 2002-11-20  Juergen Vigna  <jug@sad.it>
 
        * insettabular.C:
        * insettext.C:
        * insettoc.C:
-       * inseturl.C:
-       changes due to the changed LyXView interface that now returns references
-       to member variables not pointers.
+       * inseturl.C: changes due to the changed LyXView interface that
+       now returns references to member variables not pointers.
 
 2002-08-13  Angus Leeming  <leeming@lyx.org>
 
 
 2002-08-12  Angus Leeming  <leeming@lyx.org>
 
-       * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
+       * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
+       documents.
 
 2002-08-12  Juergen Vigna  <jug@sad.it>
 
 2002-06-07  Angus Leeming  <leeming@lyx.org>
 
        Fixes needed to compile with Compaq cxx 6.5.
-       * insetexternal.C:
-       all c-library variables have been moved into namespace std.
-       Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
+
+       * insetexternal.C: all c-library variables have been moved into
+       namespace std. Wrap using std::xyz declarations inside a #ifndef
+       CXX_GLOBAL_CSTD block.
 
 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
 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.
+       as support/systemcall.[Ch] and of class Systemcalls as class
+       SystemCall.
 
 2002-02-18  José Matos  <jamatos@fep.up.pt>
 
 
        * insetgraphicsParams.h:
        * insetgraphicsParams.C:
-       * insetgraphics.C: Added horizontal scale option, it actually scales both
-       directions since it keeps image proportions.
+       * insetgraphics.C: Added horizontal scale option, it actually
+       scales both directions since it keeps image proportions.
 
        * insetgraphics.C: Fixed EPS detection to be non-hacky.
 
 2001-07-29  Baruch Even  <baruch@lyx.org>
 
-       * insetgraphics.C (decideOutputImageFormat): when doing postscript output
-       convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
+       * insetgraphics.C (decideOutputImageFormat): when doing postscript
+       output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
 
-       HACKY! Will need to add an EPS detection routine like old InsetFig does!
+       HACKY! Will need to add an EPS detection routine like old InsetFig
+       does!
 
 2001-07-29  Baruch Even  <baruch@lyx.org>
 
 
 2001-07-26  Baruch Even  <baruch@lyx.org>
 
-       * insetgraphics.C (draw): changed casting to be in one place rather than
-       all over the function.
+       * insetgraphics.C (draw): changed casting to be in one place
+       rather than all over the function.
 
        * insetgraphics.h:
        * insetgraphics.C (read): Added compatibility reads of InsetFig.
 
        * insetgraphicsParams.h:
        * insetgraphicsParams.C:
-       * insetgraphics.C: Removed inline option and changed rotateAngle to float.
+       * insetgraphics.C: Removed inline option and changed rotateAngle
+       to float.
 
 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
 
 
 2001-02-21  Baruch Even  <baruch@ev-en.org>
 
-       * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
-       instead of GraphicsCacheItem *.
+       * insetgraphics.[Ch]: Changed to use
+       boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
 
 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
 
 2001-01-21  Baruch Even  <baruch@ev-en.org>
 
-       * insetgraphics.C: Added Docbook support. Added Automatic image conversion
-       to EPS or PNG when needed (support bitmap graphics).
+       * insetgraphics.C: Added Docbook support. Added Automatic image
+       conversion to EPS or PNG when needed (support bitmap graphics).
 
 2000-11-02  Baruch Even  <baruch@ev-en.org>
 
        * insetgraphics.C:
-       * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
-       and removal of commented out code.
+       * insetgraphiscParams.C: Some cleaning up, changing from std::endl
+       to '\n' and removal of commented out code.
 
 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>