]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Rename EnumLColor as LColor_color.
[lyx.git] / src / insets / ChangeLog
index 22407f3e7e96adbad1fdc6cf339c70d13ef50559..d84a0548efeae9365ad7d1df29e1bced1b7e679e 100644 (file)
@@ -1,3 +1,538 @@
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * inset.C:
+       * inset.h:
+       * insettext.C:
+       * insettext.h: rename EnumLColor as LColor_color.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
+       * insetbase.h: add the dispatch_result wrapper class DispatchResult.
+
+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.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C (PreviewImpl::parent): return a const reference.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * 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.
+
+       * insetminipage.C (metrics):
+       * insetnote.C (metrics):
+       * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
+       access collapsed_ directly.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.C: add #include "lyxfont.h".
+
+2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetgraphics.C: 
+       * insetbibtex.C: use namespace alias for lyx::support::os
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetcollapsable.h: remove unused framecolor variable.
+       Remove #include "LColor.h".
+
+       * insetcollapsable.C: remove unused framecolor variable.
+
+       * insetcaption.C:
+       * insetcollapsable.C:
+       * insetert.C:
+       * insetfloat.C:
+       * insetfootlike.C:
+       * insetminipage.C:
+       * insetnote.C:
+       * insetoptarg.C:
+       * insetwrap.C:
+       Add #include "LColor.h".
+
+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
+
+       * insetbranch.C:
+       * insettabular.C:
+       * insettext.C:
+       add #include "LColor.h".
+
+       * insetcollapsable.h: add #include "LColor.h"
+       (for its framecolor member variable).
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * 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.
+
+       * insettext.C: associated changes.
+
+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.C:
+       * insetlatexaccent.C:
+       * insetnewline.C:
+       * insetspace.C:
+       * insetspecialchar.C:
+       * renderers.C:
+       add #include "LColor.h".
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * renderers.C:  LyXFont::setColor no longer return a LyXFont &, so cannot string
+       calls together.
+
+2003-09-15  Angus Leeming  <leeming@lyx.org>
+
+       * inset.[Ch] (setBackgroundColor, backgroundColor):
+       * insettext.[Ch] (setFrameColor):
+       pass EnumLColor args, rather than LColor::color ones.
+
+2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetcommand.C
+       * insetexternal.C
+       * insetfloat.C
+       * insetgraphics.C
+       * insetinclude.C
+       * insetminipage.C
+       * insetnote.C
+       * insettabular.C
+       * insetwrap.C: remove usage of STRCONV
+
+2003-09-15  Angus Leeming  <leeming@lyx.org>
+
+       * renderers.C (draw):
+       * insetlatexaccent.C (draw): explicitly define the color passed to
+       the painter.
+
+2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insettext.C: remove block causing problems in lockInsetInInset
+       (mentioned erroneously under Bug #1366)
+
+2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
+       in the process
+
+2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * several files: change Assert to BOOST_ASSERT
+
+2003-09-09  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insettext.[Ch]: remove drawText[XY]Offset
+
+2003-09-08  Angus Leeming  <leeming@lyx.org>
+
+       * insetcollapsable.C:
+       * insetenv.C:
+       * insetinclude.C:
+       * insetlabel.C:
+       * insetoptarg.C:
+       * insetspecialchar.C:
+       * insettabular.C:
+       * insettext.C:
+       * insettoc.C: remove redundant using directives.
+
+2003-09-07  Angus Leeming  <leeming@lyx.org>
+
+       * insetspace.h:
+       * insetspecialchar.h: remove #include "support/std_string.h".
+
+2003-09-06  Angus Leeming  <leeming@lyx.org>
+
+       * renderers.C: add #include "insets/inset.h"
+
+2003-09-05  Angus Leeming  <leeming@lyx.org>
+
+       * *.C: strip out redundant #includes. (193 in total.)
+
+2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insets/insetbibtex.[Ch]:
+       * insets/insetcommand.h:
+       * insets/insetfloatlist.[Ch]:
+       * insets/insetinclude.[Ch]:
+       * insets/insettoc.[Ch]: Restricts the mouse click functionality
+       of insets like bibtex, include, toc and floatlist to the visible
+       button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
+       up the dialogs. Cursor has to be in front of the inset (i.e.
+       start of row) for this to function.
+
+2003-09-04  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplate.[Ch]: store the preamble snippets in a separate
+       structure outside of the Format struct. Format::preambleName refers to
+       an item in the map of all preamble snippets.
+       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.
+
+2003-09-04  Angus Leeming  <leeming@lyx.org>
+
+       * insetgraphics.C: #include "support/os.h"
+
+       * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
+       * insettabular.h: move #include "FuncStatus.h" out of the header file.
+       * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
+
+       * insetcollapsable.h:
+       * insetbranch.C:
+       * insetnote.C: move #include "funcrequest.h" out of the header file.
+
+2003-09-03  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C (updateExternal):
+       * insetgraphics.C (prepareFile): Fix the conversion when exporting to
+       latex.
+
+2003-09-03  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C: don't bring namespace lyx::support into the global
+       namespace.
+
+2003-09-02  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetbranch.C: Add Branch: to label
+
+2003-09-02  John Levon  <levon@movementarian.org>
+
+       * insettext.h:
+       * insettext.C: remove cursor.i[xy]()
+
+2003-08-28  Angus Leeming  <leeming@lyx.org>
+
+        * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
+        "sh ", enabling the conversion to be carried out even if the script
+        is not executable.
+
+2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * most files: change to use const Buffer refs
+
+2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetfootlike.C: whitespace.
+
+2003-08-26  John Levon  <levon@movementarian.org>
+
+       * insetenv.h:
+       * insetcaption.h:
+       * insetindex.h: remove remaining mentions of needFullRow()
+
+2003-08-26  André Pönitz  <poenitz@gmx.net>
+
+       * insetfoot.C:
+       * insetnewline.C:
+       * insetquotes.C:
+       * insettabular.C:
+       * inset.[Ch]: remove InsetOld::par_owner_ & handling
+
+2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetbranch.C: Small fix to prevent a crash on loading.
+
+2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * inset.h:
+       * insetbibtex.[Ch]:
+       * insetbranch.[Ch]:
+       * insetcollapsable.h:
+       * insetert.[Ch]:
+       * insetfloatlist.[Ch]:
+       * insetfootlike.[Ch]:
+       * insetinclude.[Ch]:
+       * insetindex.[Ch]:
+       * insetindex.h:
+       * insetminipage.h:
+       * insetnote.[Ch]:
+       * insettext.C:
+       * insettheorem.[Ch]:
+       * insettoc.[Ch]: eliminates the needFullRow/display() stuff
+       altogether, putting the logic in metrics/draw in the insets.=20
+       Draws short single row insets with more or less realistic metrics.
+
+2003-08-19  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.C: use new RowPainter interface
+
+2003-08-18  John Levon  <levon@movementarian.org>
+
+       * insetref.C: require amsmath for eqref
+
+2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * Makefile.am:
+       * inset.h:
+       * insetbranch.[Ch]: implements the 'branch inset'
+       idea. This allows the output of various versions of a document
+       from a single source version, selectively outputing or suppressing
+       output of parts of the text.
+       This implementation contains a 'branch list editor' in a separate
+       tab of the document settings dialog. Branches are user definable
+       and have a "display colour" to distinguish them on-screen.
+
+       ColorHandler was somewhat cleaned up.
+       (1) make possible a dynamically growing LColor list by allowing
+       the graphic context cache to grow along (vector);
+       (2) eliminate an IMHO unnecessary step in colour allocation.
+
+2003-08-15  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.[Ch]: adjust after rowlist split
+
+2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
+         rename valign-center to valign-middle;
+         rename VALIGN_CENTER to VALIGN_MIDDLE
+
+2003-08-11  André Pönitz  <poenitz@gmx.net>
+
+       * inset.h: remove resizeLyXText
+
+       * insetcaption.C:
+       * insetcollapsable.[Ch]:
+       * insetminipage.C:
+       * insettabular.[Ch]: adjust
+
+       * insettext.[Ch]: remove saveLyXTextState,
+        restoreLyXTextStat, sstate, reinitLyXText
+
+2003-08-07  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]: move non-crucial functions out-of-line
+
+       * insettext.C: rely on LyXText's LFUN handlers in some more cases,
+       remove duplicated code.
+
+2003-08-05  André Pönitz  <poenitz@gmx.net>
+
+       * insetbibitem.C:
+       * insetcollapsable.[Ch]:
+       * insetcommand.C:
+       * insetert.C:
+       * insetexternal.C:
+       * insetfloat.C:
+       * insetgraphics.C:
+       * insetinclude.C:
+       * insetlabel.C:
+       * insetminipage.C:
+       * insetnote.C:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * insetwrap.C:
+       * updatableinset.[Ch]: rip out "deep update"
+
+       * insettext.C (localDispatch): merge cases with default branch
+
+       * insettext.C (frame_x,y,w,h): replace member with automatic variables
+
+       * insettabular.[Ch] (updateLocal): simplify logic
+
+2003-08-04  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
+  is 'FULL' all the time.
+
+2003-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetert.C (get_new_label): only add ... to the (closed) label
+       when the string has been shortened
+
+2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * Always use std::endl with lyxerr
+
+2003-08-01     Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetnote.C: update \author list
+
+2003-07-31  André Pönitz  <poenitz@gmx.net>
+
+       * insetcollapsable.h:
+       * insettabular.[Ch]:
+       * insettext.[Ch]: remove toggleSelection
+
+2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       (with help from Juergen Spitzmueller)
+       * insetnote.C: add add i18n support. Use Prefs-definable
+       colours for Comment and Greyedout.
+
+2003-07-30     Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetcollapsable.[Ch]:
+       * insetnote.C:
+       * insetert.C: factor out the detection of clicking on the inset
+      button as 'hitButton'. John Levon contributed.
+
+2003-07-30  André Pönitz  <poenitz@gmx.net>
+
+       * insetcollapsable.C:
+       * insetfootlike.C:
+       * insettabular.C: parantheses, localize vars etc.
+
+2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetnote.C: Implement a newenvironment in preamble for
+       greyedout. Patch provided by Jürgen Spitzmüller.
+
+2003-07-29  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommand.C (localDispatch): default to
+       InsetOld::localDispatch.
+
+       * insetbibitem.C (localDispatch):
+       * insetbibtex.C (localDispatch): remove call to
+       ChangeCitationsIfUnique.
+
+       * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
+
+       * insetexternal.C (read): use pushpophelper.
+
+2003-07-28  José Matos  <jamatos@lyx.org>
+
+       * insetext.C (read): \end_document replaces \the_end.
+
+2003-07-28  José Matos  <jamatos@fep.up.pt>
+
+       * insetert.C (write): \layout -> \begin_layout.
+       Add missing \end_layout.
+
+2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetquotes.C: document a bit the format
+
+       * insettabular.C (write): remove extra space
+
+2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
+       * insetnote.C: Umpf. Hope I *now* get it right :-(
+
+2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
+       *insetnote.C: did the right fix to greyedout: \color
+       instead of \textcolor.
+
+2003-07-28  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibtex.h: remove extraneous forward declaration.
+
+       * insetbibitem.h:
+       * insetbibtex.h: Also remove long-dead Holder member class
+       and variable.
+
+2003-07-27  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
+       least.
+
+2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetwrap.C (addToToc): adjust for lyx::toc
+
+       * insetfloatlist.C (ascii): adjust for lyx::toc
+
+       * insetfloat.C (addToToc): adjust for lyx::toc
+
+2003-07-27  José Matos  <jamatos@fep.up.pt>
+
+       * insetnote.h (linuxdoc,docbook): update support.
+
+2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetfloat.C (wide): add a space to label, for consistency
+
+2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (nextChange): adjust for lyx::find
+       (searchForward): ditto
+       (searchBackward): ditto
+
+2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetgraphicsParams.C:
+       * insetexternal.C: declare extern displayTranslator
+
+       * insetexternal.C:
+       * renderers.C: add #include "support/LAssert.h"
+
+2003-07-27  José Matos  <jamatos@fep.up.pt>
+
+       * insetfloat.[Ch] (linuxdoc):
+       * insetgraphics.C (linuxdoc):
+       * insettabular.C (linuxdoc):
+       * insettext.[Ch] (linuxdoc): add support for tables and figures
+       (linuxdoc).
+
+2003-07-27  José Matos  <jamatos@fep.up.pt>
+
+       * insetinclude (latex): comply with makeLaTeXFile argument change.
+
+2003-07-26  Asger Alstrup  <alstrup@local>
+
+       * insettext.C (reinitLyXText): Get rid of updateLocal which causes
+       the undo crashes. We'll see what problems other places this will
+       cause.
+
+2003-07-26  Angus Leeming  <leeming@lyx.org>
+
+       * insetgraphics.C: remove unused declaration of system_tempdir.
+
+2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * rename Inset to InsetOld
+
+       * all inset files (clone): return a auto_ptr<InsetBase>
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch] (setParams): pass it a Buffer const *.
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * mailinset.[Ch] (inset2string):
+       * insetcommand.[Ch] (inset2string):
+       * insetert.[Ch] (inset2string):
+       * insetexternal.[Ch] (inset2string):
+       * insetfloat.[Ch] (inset2string):
+       * insetgraphics.[Ch] (inset2string):
+       * insetinclude.[Ch] (inset2string):
+       * insetminipage.[Ch] (inset2string):
+       * insetnote.[Ch] (inset2string):
+       * insettabular.[Ch] (inset2string):
+       * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
+
+       * insetexternal.[Ch]:
+       * insetgraphics.[Ch]: get rid of the view() function. Associated
+       changes to the mailers' string2params and params2string functions.
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch]: store the external file name in a FileName
+       member variable rather than a string + associated changes.
+
 2003-07-21  Angus Leeming  <leeming@lyx.org>
 
        * insetgraphicsParams.[Ch]: store the graphics file name in
        * insettext.[Ch]:
        * insettabular.[Ch]: remove unneeded in_update_ members
 
-       * insettext.[Ch]: remove unneeded InsetText::old_max_width member 
+       * insettext.[Ch]: remove unneeded InsetText::old_max_width member
 
 2003-07-16  André Pönitz  <poenitz@gmx.net>
 
 
 2003-07-16  John Levon  <levon@movementarian.org>
 
-       * insetnote.h:  
+       * insetnote.h:
        * insetnote.C: implement showInsetDialog()
 
 2003-07-15  André Pönitz  <poenitz@gmx.net>
 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
 
        * insettext.C: adjust call to LyXText::init
-       
+
 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
 
        * insettext.C: use bufferview_funcs->replaceSelection()