X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FChangeLog;h=5285e33cbaeb6cac84da3942ad378299893c2852;hb=456e7098b541eb6bcaf0df0153dff22552558f4a;hp=0e41f9c9e7337f6a7ced449074f7156819dbcb0b;hpb=b1fa5cd0d0ae92db2c6eac7f19734861f5437524;p=lyx.git diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 0e41f9c9e7..5285e33cba 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,625 @@ +2004-11-04 Jürgen Spitzmüller + + * insetcharstyle.[Ch]: + * insetert.[Ch]: implement getStatus + + * insetcharstyle.C (draw): visual clue when the cursor is inside + the inset + +2004-11-02 José Matos + + * 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 + + * insetcharstyle.C (priv_dispatch): prevent paragraph breaks + +2004-11-01 Georg Baum + + * ExternalSupport.C (updateExternal): convert files in the temp dir + +2004-10-31 Jürgen Spitzmüller + + * insetcharstyle.C: drawing cosmetics. + +2004-10-30 José Matos + + * insetcharstyle.C (docbook): a compromisse solution. Don't output + paragraph tags inside inline elements. + +2004-10-30 Jürgen Spitzmüller + + * 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 + + * insetgraphics.C (uniqueID): transfered to sgml.C + +2004-10-29 Andreas Vox + + * insetlabel.C (docbook, linuxdoc): + * insetref.C (docbook, linuxdoc): sanitize id. + +2004-10-29 Georg Baum + + * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/ + * insetgraphics.C: s/getExtFromContents/getFormatFromContents/ + * insetgraphics.C (findTargetFormat): reformat + +2004-10-28 José Matos + + * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag. + +2004-10-28 Georg Baum + + * ExternalTransforms.C (sanitizeLatexOption): simplify regex + +2004-10-27 Georg Baum + + * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle + "[,,,]" without warning message + +2004-10-26 Angus Leeming + + * 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 + + * 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 + + * insetindex.C (docbook): escape the index, to generate correct sgml. + +2004-10-23 José Matos + + * insettext.C (docbook): rearrange arguments, due to change in the upper + code. + +2004-10-23 André Pönitz + + * insettabular.C (cutSelection, tabularFereatures): + fix cursor position after cutting selection or table rows + +2004-10-18 Andreas Vox + + * insetgraphics.C (docbook, writeImageObject): write more than one + format of imageobjects in . + +2004-10-17 Andreas Vox + + * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing + DocBook output for this inset ( content ) + +2004-10-05 Andreas Vox + + * insetgraphics.C (docbook) : using mediaobject for XML; + correcting bug with SGML output (now '>' instead of '/>') + +2004-10-05 José Matos + + * insetfloatlist.C (read): + * insetquotes.C (read): + * insetspace.C (read): + * insetspecialchar.C (read): + * insettabular.C (read): replace nextToken by more appropriate lex + methods. + +2004-09-29 Andreas Vox + + * 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 + + * insetgraphics.C (docbook): create inlinegraphic instead of graphic. + + * insetgraphics.[hC] (createDocBookAttributes): Export parameters + as attributes with new method for docbook. + +2004-09-26 Lars Gullik Bjonnes + + * render_preview.h: Use preferred calling of Boost.Signal + + * pch.h: use proper signal include + +2004-09-26 Lars Gullik Bjonnes + + * ExternalTransforms.h: User preferred calling of Boost.Function + +2004-09-24 Andreas Vox + + * insetref.C (docbook): fixing problem where Docbook XML output + had unclosed + +2004-08-16 José Matos + + * insethfill.C (write): + * insetline.C (write): + * insetnewline.C (write): + * insetpagebreak.C (write): remove space at end of line. + +2004-08-16 Jean-Marc Lasgouttes + + * insettabular.C (plaintext): do not use ownerPar to get the + paragraph depth + + * insettext.C (sanitizeEmptyText): remove. Not sure what it does, + and it calls getParentLanguage (which calls ownerPar) + (edit): do not call sanitizeEmptyText + (priv_dispatch): remove code resetting font on empty inset, for + the same reasons as above. + + * insettabular.C (isRightToLeft): instead of using + BufferView::getParentLanguage, use the data from the cursor + +2004-08-15 Lars Gullik Bjonnes + + * pch.h: new file + + * Makefile.am: support pch + +2004-08-15 Jean-Marc Lasgouttes + + * insettabular.C (draw): whitespace + + * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar. + +2004-08-14 André Pönitz + + * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling + +2004-08-14 Jean-Marc Lasgouttes + + * insettabular.C (metrics): when the width of a cell is zero(), + let it use as much space as it can + + * insettext.C (editXY): compilation fix + + * insetinclude.C (priv_dispatch): fix showing dialog on mouse + release + (metrics): the insets is not full width any more. + (draw): adjust; fix bad test for PREVIEW_OFF + (add_preview): fix bad test for PREVIEW_OFF + (display): do not return true when using \input + +2004-08-14 José Matos + + * insetbibitem.[Ch] (plaintext): added. + + * insetcite.[Ch]: fix plaintext export. + +2004-08-14 Lars Gullik Bjonnes + + * insettext.[Ch] (setDrawFrame): take a bool, get rid of the + DrawFrame enum. + + * insetcaption.C (InsetCaption): modify call to setDrawFrame + * insetcollapsable.C (InsetCollapsable): ditto + * insetenv.C (InsetEnvironment): ditto + +2004-08-14 André Pönitz + + * inset.[Ch]: + * insetbase.[Ch]: remove the 'internale' xo, yo position cache + +2004-08-13 Jean-Marc Lasgouttes + + * insetoptarg.C (latexOptional): if the optional argument contains + a ']' enclose it in {curly brackets} + + * insettext.C (editXY): + * insettabular.C (editXY): + * insetcollapsable.C (editXY): + * insetbase.C (editXY): constify + + * insetcollapsable.C (priv_dispatch): on a mouse press event, do + not ask for an update if we did nothing; on a mouse release, make + sure that the cursor is moved to the right position; on a mouse + release, exit from the inset instead of invoking a + LFUN_FINISHED_RIGHT. + + * insetbase.C (dispatch): before invoking dispatch, set cursor + result to dispatch=update=true. + +2004-08-13 José Matos + + * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147. + +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. @@ -5,7 +627,7 @@ 2004-03-05 Jürgen Spitzmüller * insetcite.C: Support second \cite option. - + * insetcommand.[Ch]: * insetcommandparams.[Ch]: add second optional argument. @@ -41,7 +663,7 @@ * 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 + InsetBase::priv_dispatch which does the equivalent of 'retrun DispatchResult(false)' * inset*.[Ch] (priv_dispatch): adjust @@ -63,7 +685,7 @@ 2004-02-04 Alfredo Braunstein - * insettext.C (edit): + * insettext.C (edit): (updateLocal): use the cur argument instead of the global cursor * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening