X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FChangeLog;h=64e55b4823b5d8a8befb81764dcaa2dc2a003221;hb=b15e539c6868321078523e60d2c1a210c639a4eb;hp=04656d5ba253b597c78bc2fc0818a403c9762820;hpb=c2c571645b5fcea45422ded1cf5c28101c971917;p=lyx.git diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 04656d5ba2..64e55b4823 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,649 @@ +2001-07-18 Jean-Marc Lasgouttes + + * many files: update to match the change below + + * inset.h (insetAllowed): renamed from insertInsetAllowed; + implement the version which takes an inset here. + + * insetcollapsable.[Ch]: implement open and isOpen + + * inset.h: remove insertInsetAllowed from Inset + (open): new method, to open or close an inset + (isOpen): returns the status of an inset + (isCollapsable, colapse): removed + +2001-07-13 Yves Bastide + + * insetquotes.C (dispString): display french guillemets when using + ISO8859-15. + +2001-07-18 Jean-Marc Lasgouttes + + * insetcollapsable.h: remove bogus return statements + +2001-07-18 Juergen Vigna + + * insettabular.C (selectNextWord): fixed spellchecking for the + first cell of a tabular (wasn't entered!) + +2001-07-17 Juergen Vigna + + * various files: implemented the below functions. + + * inset.h: added functions + - virtual string selectNextWord(BufferView *, float & value) const; + - virtual void selectSelectedWord(BufferView *) { return; } + - virtual void toggleSelection(BufferView *, bool /*kill_selection*/) + needed for spellchecking correctly! + +2001-07-16 Lars Gullik Bjønnes + + * insetert.C (latex): write out all paragraphs. + +2001-07-17 Baruch Even + + * insetgraphics.C (draw): Removed unneeded casts. + +2001-07-16 Juergen Vigna + + * insettext.C (update): fixed small oversight (reset lt to 0). + +2001-07-14 Baruch Even + + * insetgraphics.h: + * insetgraphics.C: Added a copy c-tor and handled the same_id case. + +2001-07-13 Angus Leeming + + Consistent use of Lsstream.h: + * figinset.C: removed using std::ostringstream directive. + + * insetgraphics.C (createLatexOptions): + * insetinclude.C (unique_id): + std::ostringstream -> ostringstream. + * insettext.C (localDispatch): std::istringstream -> istringstream. + +2001-07-13 Juergen Vigna + + * insetfloat.C (insertInsetAllowed): added missing const_cast. + + * insetcollapsable.C (getLockingInset): ditto. + +2001-07-12 Juergen Vigna + + * insetcollapsable.h: added implementation of new function for + collapsable status. + + * various files: added implementation of new insertInsetAllowed-func + and redone the function a bit more. + + * inset.h: added isCollapsable(), bool collapsed(), + collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code). + + * insetfloat.C (insertInsetAllowed): make a bit more checks. + + * insettext.C (getLyXText): use 'lt' to assure we're not erasing the + LyXText which is marked for removal while we're using it! + + * insettext.h: added private LyXText * lt to use it to assure we are + not deleting our LyXText while we're using it! + +2001-07-11 Juergen Vigna + + * insettext.C (insertInset): check if we are before the inset after + inserting it! This check IS needed. Remove the Undo-Call as it is + called in LyXText::insertInset! + + * insettext.h: added struct InnerCache. + + * insettext.C (deleteLyXText): insert a new InnerCache mechanism so + that we ONLY delete the LyXText in the getLyXText() routine. So we + are sure we don't delete LyXText while someone is working with it! + +2001-07-12 Lars Gullik Bjønnes + + * insetexternal.C: (*it). -> it-> + * insettext.C: ditto + +2001-07-11 Jean-Marc Lasgouttes + + * insetcollapsable.C (edit): always open collapsed insets (even if + they are not autocollapsable) + + * insetcommand.C (operator=): simplify. + +2001-07-10 Lars Gullik Bjønnes + + * insetert.C (latex): handle META_NEWLINE + +2001-07-09 Juergen Vigna + + * insetert.h: a normal InsetText can insert insets, but we won't. + + * inset.h: return default "false" on insertInsetAllowed and implement + this function where a returnvalue != "false" is needed. + +2001-07-08 Lars Gullik Bjønnes + + * insetert.C (InsetERT): new contructor + +2001-07-06 Juergen Vigna + + * a lot of files: added implementation of the below new functions + and the change to clone(). Also the call of the new undo-functions + where needed. + + * inset.h: added an inset_id, added functions getParFromID, + getInsetFromID, firstParagraph, cursor and id functions, added + bool same_ids to clone function. + +2001-07-05 Lars Gullik Bjønnes + + * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map + of BufferView * and shared_ptr + +2001-07-05 Juergen Vigna + + * insettext.C (clear): deleted also the cache not only LyXText. + (setParagraphData): ditto. + +2001-07-04 Lars Gullik Bjønnes + + * insetfloat.C (latex): let the specific placement take presedence + if set, otherwise choose document placement if set, otherwise just + use float default placement. + +2001-07-03 Lars Gullik Bjønnes + + * insettext.C (localDispatch): call CutAndPaste::'s static method + directly. + +2001-07-03 Jean-Marc Lasgouttes + + * insetbib.C: no meed to include forms.h here. + +2001-07-03 Angus Leeming + + * insettext.C: added using std::make_pair directive. + +2001-07-03 Lars Gullik Bjønnes + + * insettext.C (getLyXText): avoid multiple lookups, and simplify + slightly + (deleteLyXText): ditto + (resizeLyXText): ditto + +2001-07-02 Juergen Vigna + + * insettext.C (getLyXText): introduce a cache in getLyXText so that + following calls are only returned the right pointer without the over + head to search in the map. + (various funcs): reset the cached_bview variable as this signs that + the cache is not valid anymore. + +2001-06-29 Jean-Marc Lasgouttes + + * insettabular.C (clone): do not copy the LyXTabular twice + +2001-06-29 Lars Gullik Bjønnes + + * insettext.h (TEXT): delete method + +2001-06-29 Jean-Marc Lasgouttes + + * insetmarginal.C (latex): + * insetfoot.C (latex): fix spacing of notes in LaTeX + + * insettext.C (localDispatch): use .c_str() on istringstream + constructor argument. + +2001-06-29 John Levon + + * insettoc.h: + * insettoc.C: + * inseturl.h: + * inseturl.C: fix method names in these to begin + with small char too, so they inherit + +2001-06-28 Juergen Vigna + + * insettext.C (setFont): fixed font settings using toggleFree() + instead of setFont(). + +2001-06-28 Lars Gullik Bjønnes + + * Change a lot of method names to begin with a small char. + Changes to a lot of files because of this. + +2001-06-27 Lars Gullik Bjønnes + + * insetfloatlist.C (Write): std:: qualify ostream + (Latex): ditto + +2001-06-26 The LyX Project + + * figinset.C: + * inset.C: + * insetgraphics.C: send debug output to Debug::INFO instead of + Debug::ANY. + +2001-06-26 The LyX Project + + * insettabular.h: + * insettabular.C (getStatus): update to use func_status + +2001-06-26 ben + + * insetref.C (DocBook): added support for cross-references without + a name. + +2001-06-26 The LyX Project + + * insetref.C: + * insetref.h: + * insetlabel.C: + * insetlabel.h: removed escape method and moved it to + support/lstrings.h. + +2001-06-26 Lars Gullik Bjønnes + + * insettabular.C (getMaxWidth): do the speedup in a different way, + remove dead code + +2001-06-24 The LyX Project + + * insettabular.C (getMaxWidth): We cache a mapping from + inset to cell in order to speed this method up. + +2001-06-24 The LyX Project + + * insettext.C: Optimized InsetText::draw or something. + +2001-06-23 The LyX Project + + * insettext.C (LocalDispatch): fixed inserting of 'normal chars' + +2001-06-23 Lars Gullik Bjønnes + + * inset.h: name change from lyxinset.h + +2001-06-22 Dekel Tsur + + * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate + +2001-06-14 Juergen Vigna + + * insettext.C (draw): removed warnings. + +2001-06-13 Juergen Vigna + + * insettabular.C (nodraw): only go down the tree if we don't have + that flag set otherwise it's obvious that we don't want to draw. + (LocalDispatch): do also an update if we have an undispached result. + +2001-06-19 Angus Leeming + + * insetcite.C: + * insetgraphicsParams.C: + * insettext.C: removed // -*- C++ -*- as first line. + +2001-06-13 Jean-Marc Lasgouttes + + * lyxinset.h (resizeLyXText): shut off warning about unused + parameter "force" + +2001-06-07 Juergen Vigna + + * insettext.C (resizeLyXText): honor the new force flag. + + * lyxinset.h: add 'bool force' parameter to resizeLyXText(...) + + * insettabular.C (deleteLyXText): new function + +2001-06-02 John Levon + + * insettheorem.C: + * insetminipage.C: + * insetlist.C: + * insetfootlike.C: + * insetfloat.C: + * insetert.C: + * insetcollapsable.C: + * insetcaption.C: LColor tidy + +2001-06-01 Lars Gullik Bjønnes + + * figinset.C: fix typo + +2001-06-01 Juergen Vigna + + * insettabular.C (resetPos): small hack so that scroll is not set to + 0 when we are in the last column of a tabular. This is a problem we + have because of constats 20 offset on both directions, so this can + cause on the limit an endless loop. + + * insettext.C (SetFont): forgot that we can have locking insets ;) + +2001-05-31 Juergen Vigna + + * insettabular.C (LocalDispatch): small fix for LFUN_TAB. + +2001-05-31 Jean-Marc Lasgouttes + + * figinset.C: add using std:: directive for the C functions which + need that. + +2001-05-31 Lars Gullik Bjønnes + + * insetfloat.C (Write): write out wide info + (Read): read the wide info + (Latex): use the wide info when creating latex. + + * insettext.C: adjust + + * insetgraphics.[Ch] (statusMessage): change to return string + (width): adjust + (draw): adjust + + * figinset.C (runqueue): add std:: + (Recompute): ditto + +2001-05-28 Jean-Marc Lasgouttes + + * insetcite.C (Ascii): add std:: qualifier + +2001-05-28 Juergen Vigna + + * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have + a endless-width inset (maxWidth < 0). + (Edit): change language only if not equal. + + * insettabular.C (resetPos): call UpdateLocal only on REAL scroll! + + * insettext.C (draw): fixed draw/clear of InsetText-Frame + +2001-05-16 Juergen Vigna + + * insettext.C (selectAll): added + (clearSelection): added + + * insettabular.C (SetFont): now we may set a font on a whole selection! + (getSelection): added helper function. + +2001-05-27 Dekel Tsur + + * insetcite.C (Ascii): Add method. + +2001-05-16 Ruurd Reitsma + + * figinset.C: + * insetbib.C: fix path for OS/2 & Win32 + +2001-05-10 Lars Gullik Bjønnes + + * insetfoot.C (Latex): don't use % after footnote. + +2001-05-08 Lars Gullik Bjønnes + + * insettext.C (Read): use clear + (SetParagraphData): use LyXParagraph copy constructor instead of clone + +2001-05-04 Jean-Marc Lasgouttes + + * insetfloatlist.h: add a bunch of std:: qualifiers. + +2001-05-04 Lars Gullik Bjønnes + + * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add + FLOAT_LIST_CODE, renumber code list. + + * insettoc.C (getScreenLabel): remove support for float lists + (LyxCode): ditto + (Ascii): ditto + + * insetfloatlist.[Ch]: new files + + * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch] + +2001-04-27 Angus Leeming + + * insettabular.C (LocalDispatch): + * insettext.C (LocalDispatch): getClipboard() is now a BufferView + method + +2001-05-03 Lars Gullik Bjønnes + + * insettext.C: remvoe !NEW_INSETS cruft + + * insettabular.C: remove !NEW_INSETS cruft + + * insetcollapsable.h: remove !NEW_INSETS cruft + + * insetbib.C: remove !NEW_INSETS cruft + +2001-04-27 Lars Gullik Bjønnes + + * insettoc.C: hack to make listof algorithm work + +2001-04-20 Juergen Vigna + + * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0. + +2001-04-18 Jean-Marc Lasgouttes + + * insetquotes.C (Latex): improve the guard against + unwanted !` and ?` ligatures. This should really be done in + another place (to catch all this ligatures at low-level). + +2001-04-17 Lars Gullik Bjønnes + + * insettext.C (init): remvoe leftovers from cursor_visible change + (draw): use c++ cast + (LocalDispatch): dispatch LFUN_MESSAGE + + * insettabular.C (InsetTabular): remove leftovers from + cursor_visible, and scoped_ptr changes + (draw): use c++ cast + + * insetcollapsable.C (draw): use c++ cast + + * ExternalTemplate.h: inherit privaely from noncopyable + * insetcommand.h: ditto + * insetinclude.h: ditto + +2001-04-16 Allan Rae + + * insettoc.C (Ascii): + * insettext.C (draw): + * insettabular.C (setPos): + * insetminipage.C (Read): + * insetfloat.C (placement): + * insetcaption.C (Ascii, DocBook): + * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as + an unrecognised preprocessor directive. So ensure they're wrapped. + +2001-04-06 John Levon + + * insetexternal.h: + * insetexternal.C: set view on Clone. Add _ to private members. + +2001-04-06 Lars Gullik Bjønnes + + * insettext.C (InsetText): fix new + (InsetText): reindent some, simplify deletion of par list + (clear): simplify deletion of par list, fix new + (SetParagraphData): simplify deletion of par list + + * insettabular.[Ch] (getLabelList): implement new method + +2001-04-05 Jean-Marc Lasgouttes + + * lyxinset.h: do not include gettext.h... + + * inset.C: + * insetcaption.C: + * insetexternal.C: + * insetgraphics.C: + * insetindex.C: + * insetlabel.C: + * insetlatexaccent.C: + * insetminipage.C: + * insetquotes.C: + * insettabular.C: + * inseturl.C: ... and do it here instead + +2001-04-05 Lars Gullik Bjønnes + + * insetcollapsable.[Ch] (getLabelList): add std:: on vector + + * insettext.[Ch] (getLabelList): add std:: on vector + + * insetcollapsable.[Ch] (getLabelList): implement + + * insettext.[Ch] (getLabelList): implement + + * insettext.h: reindent + + * insettabular.h: make tabular a scoped_ptr + + * insettext.C (init): adjust for cursor_visible + (ToggleInsetCursor): constify asc and desc, font, adjust for + cursor_visible + (ShowInsetCursor): constify asc and desc, font, adjust for + cursor_visible + (HideInsetCursor): adjust for cursor_visible + + * insettabular.C: reindent some + (InsetTabular): adjust for scoped_ptr and cursor_visible + (InsetTabular): ditto + (~InsetTabular): delete delete + (Clone): adjust for scoped_ptr + (Read): constify old_format, adjust for scoped_ptr, move init of + token + (draw): constify tx, localize loop vars. + some other localization of variables, remove double initilizatons. + + * insetfoot.C: remove using std::ostream, add ostream where needed + +2001-04-04 Lars Gullik Bjønnes + + * lyxinset.h: some reindentaion, use initializer list for + constructro. + UpdatableInset: make cursor_visible a private var add + public isCursorVisible(), add protected toggleCursorVisible() and + proctected setCursorVisible(bool), make scroll call the Inset::scroll + + * insettoc.C: remvoe using decl + (getScreenLabel): make cmdname donst + (LyxCode): ditto + (Ascii): ditto + (Ascii): don't use endl + + * insetfootlike.C: remove using decl at file scope and add std:: + where needed + * insetmarginal.C: ditto + + * insetfoot.C: some reformatting + + * insetfloat.C (InsetButtonRelease): adjust the hit area + + * insetert.C (SetFont): some reformatting + + * insetcollapsable.C: some reformatting and constification + (Clone): comment out. + * insetcollapsable.h: some reformatting + (Clone): comment out. + + * inset.C: reindent + (scroll): simplify + +2001-03-30 Juergen Vigna + + * insetcollapsable.h: changen *inset to be a InsetText inset. + + * some files: changed to reflect the above change. + +2001-03-29 Angus Leeming + + * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as + InsetExternal::Params. + Added operator==() and operator!=() for the Params struct. + +2001-03-29 Juergen Vigna + + * lyxinset.h: changed parameter of getMaxWidth from Painter & to + BufferView *. + + * insetminipage.C: removed widthp_ and all it's functions and changed + to use new %-lengths of LyXLength. + +2001-03-28 Angus Leeming + + * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h. + +2001-03-27 Angus Leeming + + * insetgraphicsParams.C (operator!=): new function, needed by the + ControlGraphics class. + +2001-03-28 Juergen Vigna + + * insettext.C (InsetButtonPress): only enter !inset if button == 2 + (checkAndActivateInset): don't use the values returned from + call to bv->checkInsetHit. + + * insetminipage.C (Clone): set special minipage values. + + * insetcollapsable.C (draw): changed to draw the button in the + upper left corner outside the textinset. + (ascent): changed because of different drawing + (descent): ditto + (width): ditto + (Edit): ditto + (InsetButtonPress): ditto + (InsetButtonRelease): ditto + (InsetMotionNotify): ditto + +2001-03-27 Dekel Tsur + + * figinset.C (GetPSSizes): Fix for the case when filename doesn't + contain a suffix. + (Clone): ditto + +2001-03-26 Juergen Vigna + + * lyxinset.h: added ShowInsetDialog() function in UpdatableInset. + + * insettext.C (ShowInsetDialog): implemented above function. + + * insettabular.C (ShowInsetDialog): ditto + + * insetminipage.C (ShowInsetDialog): ditto + +2001-03-23 Angus Leeming + + * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as + InsetInclude::Params. Don't store a buffer * in Params. Store the + master file name instead. + +2001-03-23 Juergen Vigna + + * insetcollapsable.C (InsetMotionNotify): + (InsetButtonRelease): + (InsetButtonPress): fixed y-offset (minipages). + + * insettext.C (draw): force a FULL update if cleared == true. + + * insetcollapsable.C (draw): Lars forgotten entry for changing this + routine to draw the minipages on its position-flag. + (InsetInInsetY): give back the right y position, because of minipage + position-flag. + +2001-03-23 José Abílio Matos + + * insetfloat.h + * insetfloat.C (DocBook): docbook export code. + 2001-03-22 Juergen Vigna * insetminipage.C (getMaxWidth): added function to set the drawing