X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FChangeLog;h=dc0334bfdc363fe624907c8855ac60e44f08671b;hb=b1be8f3cb0486b659ff7e35601d2ed74d3ce29e0;hp=925466afc8a4d56c8f6dc4ca10b25995ae35c95b;hpb=f02dbbd049287188d942a3ca95924411246798aa;p=lyx.git diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 925466afc8..dc0334bfdc 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,589 @@ +2004-08-04 Jean-Marc Lasgouttes + + * insetfoot.C (latex): use OutputParams::intitle instead of + parOwner() (avoids time consuming lookup) + + * insetquotes.C (latex): same as above with OutputParams::lang. + Moreover the code actually works now. + +2004-07-24 Lars Gullik Bjonnes + + * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C: + * insetinclude.C, insetgraphics.C, insetfloat.C: + * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C: + * insetbranch.C, insetbox.C, ExternalTransforms.C: change + "support/std_sstream.h" to + +2004-06-22 Georg Baum + + * insetgraphics.C (prepareFile): remove conversion_needed flag. + It made the following fail for a .eps graphics file: + 1) view->ps + 2) view->pdf (pdflatex) + because the .eps file was already in the temp dir when the pdflatex + export happened and therefore no .eps -> pdf conversion was done. + +2004-06-18 Georg Baum + + * insetgraphics.C, insettabular.C: s/wether/whether/g + +2004-06-10 Georg Baum + + * insetgraphics.C (stripExtension): new + * insetgraphics.C (prepareFile): Don't check for nonexisting files, + the caller does this + * insetgraphics.C (prepareFile): Handle "nice" exports, too + * insetgraphics.C (latex): call prepareFile() also for "nice" exports + +2004-06-02 Jean-Marc Lasgouttes + + * insetfloatlist.C (latex,getScreenLabel): translate according to + the document language (bug #1312) + +2004-06-01 Georg Baum + + * ExternalSupport.[Ch] (doSubstitution): exchange filename argument + with external_in_tmpdir and compute filename ourself + * ExternalSupport.[Ch] (updateExternal): add exportdata argument and + use it to store referenced file(s) + * ExternalSupport.C (writeExternal): write relative filename if + running latex + * ExternalTemplate.[Ch]: add ReferencedFile command + * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to + runparams.exportdata + * insetgraphics.C (prepareFile): write relative filename if + running latex + * insetinclude.C (latex, docbook, linuxdoc): add file to + runparams.exportdata and write it to the temp dir instead of + writing it to the final destination + * insetinclude.C (docbook, linuxdoc): don't copy runparams + +2004-05-19 Angus Leeming + + * insetcite.[Ch]: small change because namespace biblio is + now namespace lyx::biblio. + +2004-05-15 Georg Baum + + * insettabular.[Ch] (buffer): make Buffer * argument const + +2004-05-17 Angus Leeming + + * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH + to force the button label to be re-generated. + +2004-05-14 José Matos + + * insetlabel (docbook): do not ouput label, for the moment. + +2004-05-14 Angus Leeming + + * insetcite.C (getNatbibLabel, generateLabel, latex): use the + new biblio::asValidLatexString function. + +2004-05-12 Angus Leeming + + * insetcite.C: use BufferParams::cite_engine rather than the three + bools, use_natbib, use_jurabib, use_numerical_citations. + +2004-05-10 Angus Leeming + + * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine. + Ditto with getStyle, moved to biblio::getEngine. + +2004-05-07 Georg Baum + + * insetgraphics.C (validate): remove pre 233 file format stuff, + handle zipped files for "nice" export + +2004-05-05 Georg Baum + + * insetgraphics.C (prepareFile): copy zipped file and corresponding + .bb file to the tmp dir if we don't unzip it (needed for dvi export) + * insetgraphics.C (prepareFile): unzip zipped file also if it has + changed since the last run + * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded + and copyFileIfNeeded. + +2004-04-29 Angus Leeming + + * ExternalTemplate.[Ch]: remove redundant #includes. + +2004-04-28 Angus Leeming + + * insettext.C: + s/updateToolbar()/updateToolbars()/ + +2004-04-29 Georg Baum + + * insetgraphics.C: require file extension (file format change!) + * insetgraphics.C (latex): handle zipped files for "nice" export + +2004-04-26 Georg Baum + + * insetgraphics.C (latex): strip the extension and replace dots in + the filename if doing a "nice" export. This is a partial fix for + bug 1231 without reintroducing bug 655. + +2004-04-19 Jean-Marc Lasgouttes + + * insetoptarg.h: remove the editable() method (InsetCollapsable + does it better already) + + * insetbibtex.C (normalize_name): new helper function. Changes the + name to be suitable to use in a latex file (relative to master + buffer if necessary). + (latex): use normalize_name. + +2004-04-20 Angus Leeming + + * render_preview.C (startLoading): remove lyxerr statement. + (draw): cosmetics. + (getPreviewLoader): new helper function. + +2004-04-19 Angus Leeming + + * insetexternal.C: + * insetinclude.C: + * render_preview.[Ch]: changes due to changes to LyXRC::preview. + +2004-04-19 Angus Leeming + + * insetexternal.C (priv_dispatch): remove unnecessary invocation of + BufferView::update. + (add_preview): renamed as add_preview_and_start_loading. Invoke + RenderPreview::startLoading. + + * insetinclude.C (metrics, draw): changes due to the changed + RenderPreview interface. + + * render_preview.C: remove cached pimage_. + (previewReady): removed. Replaced by getPreviewImage(Buffer const &). + (draw): don't call startLoading. That's up to the user of + RenderPreview. + +2004-04-16 Angus Leeming + + * render_graphic.h (checksum_, hasFileChanged): unused, so removed. + +2004-04-13 Angus Leeming + + * render_base.[Ch] (clone): now takes an InsetBase ptr to enable + the renderer to inform LyX::updateInset that the inset's status + has changed and it should be redrawn. + + * render_button.[Ch] (clone): + * render_graphic.[Ch] (c-tors, clone): + * render_preview.[Ch] (c-tors, clone): ditto. + + * render_graphic.[Ch] (connect): + * render_preview.[Ch] (connect): removed, as connection is now + made in the constructors. + + * insetexternal.C: + * insetgraphics.C: + * insetinclude.C: ensuing simplification of the client code. + (statusChanged): now superfluous. Removed. + +2004-04-12 Georg Baum + + * ExternalTemplate.[Ch]: remove editCommand + * ExternalSupport.C (editExternal): use formats.edit() instead of + the removed editCommand template parameter + * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT + * insetgraphics.[Ch] (editGraphics): new method + +2004-04-01 Georg Baum + + * insetinclude.C (validate): set/reset features.buffer_ when + validating the child + +2004-04-07 Angus Leeming + + * insetexternal.C (priv_dispatch): + * insetinclude.C (priv_dispatch): prevent crash by invoking + InsetOld::priv_dispatch at the end of the switch, rather than + InsetOld::dispatch... + +2004-04-07 Martin Vermeer + + * insetcollapsable.C: + * insetbranch.C: 'assign' to open/close branch inset according to + selection; also print content on closed branch button + +2004-04-06 Georg Baum + + * ExternalSupport.C (doSubstitution): add new variables $$AbsPath, + $$RelPath_Master, $$RelPath_Parent, $$Extension, + $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning + of $$Basename + * ExternalSupport.C (updateExternal): use absolute and output + filename where appropriate + +2004-04-05 André Pönitz + + * insetbase.h: use LCursor & in notifyCursorLeave + +2004-04-05 Angus Leeming + + * insetgraphics.C: remove unused header file "lyxrc.h". + + * render_graphic.C: squash bug 1372: Misleading graphics label when + deactivating lyx view. + +2004-04-05 Angus Leeming + + * insetbibitem.C: + * insetcaption.C: + * insetgraphics.C: + * insetlatexaccent.C: + * insetquotes.C: + * insettabular.C: + * insettext.C: + * updatableinset.C: + wrap #warning calls inside #ifdef WITH_WARNINGS blocks. + +2004-04-02 Jürgen Spitzmüller + + * insetfloat.C (read): fix yesterday's float fix. + * insetwrap.C (read): apply the fixed float fix. + +2004-04-01 Jürgen Spitzmüller + + * insetfloat.C (read): fix reading of float params + (recognize "type") + +2004-03-31 Alfredo Braunstein + + * insettext.C (edit): comment the call to updateLocal (dangling now) + * insettext.h: add allowSpellCheck() returning true + +2004-03-31 Angus Leeming + + * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset. + +2004-03-31 Angus Leeming + + * insetcollapsable.[Ch] (getOutOfInset): new function which pushes + the cursor out of an inset. + + * insetbranch.C (priv_dispatch): + * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code, + use getOutOfInset to push the cursor out of the inset when + collapsing it. + +2004-03-30 Angus Leeming + + * insetbase.[Ch] (translate): new static member function, returns + an InsetBase::Code corresponding to the input string. + + * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE. + + * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE + so that it opens the inset if it refers to the currently active + branch. + +2004-03-30 Alfredo Braunstein + + * insetfloat.C (addToToc): use par_const_iterator_begin and + par_const_iterator_end. + +2004-03-29 Jürgen Spitzmüller + + * insetbibtex.[Ch]: bibtopic support. + + * insetfloat.[Ch]: add param \sideways {true|false} + (support for sideways floats from rotating.sty). + +2004-03-28 Alfredo Braunstein + + * insettext.[Ch]: add a default ctor. implement const version of + paragraphs() + * insetcharstyle.C: + * insetert.C: + * insetfloat.C: + * insetlabel.C: + * insetwrap.C: adjust + +2004-03-28 Alfredo Braunstein + + * insettext.h: add insetAllowed returning true by default (fixing + vanishing insets problem) + + * insettext.C (draw): handle the responsability of adding the + ouside offset to collapsable. Clean code a bit. + + * insetcollapsable.[Ch] (metrics, draw): handle the derivation + from insettext correctly, solve a couple of off-by-one drawing + bugs + +2004-03-25 Angus Leeming + + * insetcaption.C (draw): squash warning about unused variable. + +2004-03-19 Georg Baum + + * ExternalSupport.C: use the master buffer's temp dir + * insetgraphics.C (latex): make relative filename relative to the + master file + * insetgraphics.C: use the master buffer's temp dir + * insetinclude.C (masterFilename): new function + * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename() + is always true if loadIfNeeded() returns true) + +2003-02-10 Jean-Marc Lasgouttes + + * insetinclude.C (loadIfNeeded): when the child buffer is loaded, + set its parent to the current buffer. + (latex): use the tmppath of the master buffer, not just the parent + buffer (makes a difference with more than one level of include + insets). If the file name is relative write in the .tex file a + name relative to the master buffer directory. + + * insetinclude.C: rename masterFilename to parentFilename (this + points to the direct parent) + +2004-03-25 André Pönitz + + * inset.[Ch]: remover owner + + * insetcollapsable.[Ch]: derive from InsetText instead having such a + member + + * insettext.[Ch]: + * insetbibitem.C: + * insetbox.C: + * insetbranch.C: + * insetcaption.C: + * insetcharstyle.[Ch]: + * insetert.C: + * insetfloat.C: + * insetfoot.C: + * insetmarginal.C: + * insetnote.C: + * insetoptarg.C: + * insettabular.C: + * insetwrap.C: adjust + +2004-03-16 Jürgen Spitzmüller + + * insetquote.C: use opening quote after '[' char. + +2004-03-09 Alfredo Braunstein + + * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open + submode. + +2004-03-07 Jürgen Spitzmüller + + * insetcite.[Ch]: support jurabib. + +2004-03-05 Jürgen Spitzmüller + + * insetcite.C: Support second \cite option. + + * insetcommand.[Ch]: + * insetcommandparams.[Ch]: add second optional argument. + +2004-03-03 Alfredo Braunstein + + * insetcollapsable.C (lfunMouseRelease): right mouse button only + shows the inset dialog. + +2004-02-27 Alfredo Braunstein + + * insetlabel.[Ch]: remove them + * Makefile.am: adjust + +2004-02-21 Georg Baum + + * insetexternal.C, insetgraphics.C, insetinclude.C: use always a + temp dir + * insetinclude.C (latex): show a GUI warning if textclasses don't + match + * insetinclude.C: use mangledFilename() for temp files + * insetgraphics.C (readInsetGraphics): remove version check, since + the graphics inset has no own fileformat number anymore + +2004-02-20 Jürgen Spitzmüller + + * insetquotes.[Ch]: added new member that allows direct access + to single/double quotation marks. + * insetnewline.[Ch]: + * insethfill.[Ch]: treat as space (i.e. opening quotes follow) + +2004-02-16 André Pönitz + + * insetbase.C: + * insetbase.[Ch]: remove explicit 'DispatchResult' return type and + implicitly assume 'DispatchResult(true, true) with exception of + InsetBase::priv_dispatch which does the equivalent of + 'retrun DispatchResult(false)' + + * inset*.[Ch] (priv_dispatch): adjust + + * insettabular.[Ch]: remove remains of the 'update' mechanism, + simplify cursor moving function, + re-enable horizontal scrolling for large tables + +2004-02-13 André Pönitz + + * insettabular.[Ch]: some work after IU + +2004-02-06 Alfredo Braunstein + + * inset.C (setPosCache): switch to absolute coords in insets + * insettext.[Ch] (draw, drawFrame): adjust + * insetcollapsable.C (draw): adjust + (edit): adjust + +2004-02-04 Alfredo Braunstein + + * insettext.C (edit): + (updateLocal): use the cur argument instead of the global cursor + * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening + +2004-02-01 Lars Gullik Bjonnes + + * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains + + * insetfloat.C (validate): "H" -> 'H' in call to contains + + * insetcite.C (getBasicLabel): "," -> ',' in calls to contains + +2004-01-30 André Pönitz + * inset.[Ch]: + * insetbase.[Ch]: + * insetcharstyle.C: + * insetcollapsable.[Ch]: + * insetcommand.C: + * insetexternal.C: + * insetgraphics.[Ch]: + * insetinclude.C: + * insettabular.[Ch]: + * insettext.[Ch]: + * insetvspace.C: + * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute' + coordinate + +2004-01-28 Lars Gullik Bjonnes + + * insettabular.C: add using statement for std::vector, remove + std:: where using was already used. + +2004-01-19 Georg Baum + + * insetgraphics.C, insetinclude.C: use runparams.nice instead of + buffer->niceFile() + * insetinclude.C (validate): use feautures.nice() instead of + buffer->niceFile() + +2004-01-20 André Pönitz + + * inset.h: + * insetbase.[Ch]: move stuff from mathcursor here. + + * insetbibitem.[Ch]: + * insetbibtex.[Ch]: + * insetbox.[Ch]: + * insetbranch.[Ch]: + * insetcharstyle.[Ch]: + * insetcollapsable.[Ch]: + * insetcommand.[Ch]: + * insetert.[Ch]: + * insetexternal.[Ch]: + * insetfloat.[Ch]: + * insetgraphics.[Ch]: + * insetinclude.[Ch]: + * insetlabel.[Ch]: + * insetnote.[Ch]: + * insetref.[Ch]: + * insettabular.[Ch]: + * insettext.[Ch]: + * insetvspace.[Ch]: + * insetwrap.[Ch]: + * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog) + +2004-01-15 André Pönitz + + * insetbase.[Ch]: + * insetbibitem.[Ch]: + * insetbibtex.[Ch]: + * insetbox.[Ch]: + * insetbranch.[Ch]: + * insetcharstyle.[Ch]: + * insetcollapsable.[Ch]: + * insetcommand.[Ch]: + * insetert.[Ch]: + * insetexternal.[Ch]: + * insetfloat.[Ch]: + * insetgraphics.[Ch]: + * insetinclude.[Ch]: + * insetlabel.[Ch]: + * insetnote.[Ch]: + * insetref.[Ch]: + * insettabular.[Ch]: + * insettext.[Ch]: + * insetvspace.[Ch]: + * insetwrap.[Ch]: + * updatableinset.[Ch] (priv_dispatch et al): change signature. + +2004-01-08 André Pönitz + + * insetcollapsable.[Ch]: + * insettabular.[Ch]: + * insettext.[Ch]: + * updatableinset.h: use cell index info from global cursor. + +2004-01-06 Georg Baum + + * insetnote.C (InsetNoteParams::write): write label only once + +2004-01-05 Lars Gullik Bjonnes + + * insetbranch.C (isBranchSelected): use the BranchNamesEqual + functor + get rid of the SameName functor + + * insettabular.C: improve the functor. + +2003-12-29 Angus Leeming + + * insetexternal.C (setParams): update defaultTemplateName. + +2003-12-22 Michael Schmitt + + * insetbox.C: Use term "Box" in button label + +2003-12-16 Martin Vermeer + + * insetcharstyle.C: get getDrawFont working again + +2003-12-15 André Pönitz + + * insettabular.[Ch]: + * insettext.C: adjust to changed name in CursorItem -> CursorSlice + +2003-12-12 Angus Leeming + + * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than + a string. + (InsetBranchParams): remove the branchlist hack. + (isBranchSelected): new function, used to decide whether to + print each output format. Also used by InsetList. + (read, string2params): repair my own breakage ;-) + +2003-12-14 Jürgen Spitzmüller + + * insetminipage.[Ch]: remove from repository. + +2003-12-12 Michael Schmitt + + * insetert.[Ch]: + * insetcollapsable.[Ch]: Move all CollapseStatus code from + insetert to insetcollapsable; introduce virtual function + setButtonLabel and invoke it from collapsable + 2003-12-12 Angus Leeming * insetinclude.C (draw): cache x,y and so enable the @@ -25,7 +611,7 @@ * insettoc.[Ch] (d-tor): * inseturl.[Ch] (d-tor): removed. Hiding the dialog is handled by InsetCommand. - + * insetbibtex.[Ch] (draw, metrics): * insetfloatlist.[Ch] (draw, metrics): * insetindex.[Ch] (draw, metrics): removed. @@ -52,7 +638,7 @@ * insetnote.C (string2params): * insetvspace.C (string2params): * insetwrap.C (string2params): over-hauled. - + 2003-12-10 Angus Leeming * insetexternal.[Ch]: add a draft option and respect it when @@ -144,7 +730,7 @@ * insetcollapsable.[Ch]: * insetert.[Ch]: - * insetcharstyle.C: place inset content on the button when + * insetcharstyle.C: place inset content on the button when collapsed. 2003-12-01 Michael Schmitt @@ -210,7 +796,7 @@ 2003-11-27 Alfredo Braunstein - * insettext.[Ch]: + * insettext.[Ch]: * inset.[Ch]: * insetcollapsable.[Ch]: * insetert.[Ch]: @@ -232,7 +818,7 @@ * inset.h: * insetcollapsable.[Ch]: - * insetert.[Ch]: remove bufferview parameter in methods + * insetert.[Ch]: remove bufferview parameter in methods open, close, status, and updateStatus. 2003-11-21 Michael Schmitt @@ -260,7 +846,7 @@ 2003-11-17 Alfredo Braunstein - * insetcollapsable.C: + * insetcollapsable.C: * insettext.C: * insettext.h: hand on MOUSE_* events to the LyXText when appropriate remove mouse_x mouse_y etc. @@ -273,7 +859,7 @@ 2003-11-13 André Pönitz - * inset.h: + * inset.h: * insetcollapsable.[Ch]: * insettabular.[Ch]: * insettext.[Ch] (deleteLyXText): remove @@ -301,7 +887,7 @@ 2003-11-11 Alfredo Braunstein - * insettext.C (updateLocal, insertInset, setFont): remove + * insettext.C (updateLocal, insertInset, setFont): remove fitCursor calls 2003-11-10 André Pönitz @@ -328,7 +914,7 @@ * inset.h (allowSpellCheck): add (return true) * insetert.h (allowSpellCheck): add (return false) - + 2003-11-05 José Matos * inset.h: