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 width! (Read): should work now! * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed if we create a new inset. 2001-03-20 Angus Leeming * figinset.C (fl_set_preemptive_callback): moved definition outside of namespace anon. 2001-03-20 Lars Gullik Bjønnes * insetminipage.C (Read): prepare for reading of minipage arguments. 2001-03-18 Baruch Even * insetgraphics.C: Minor cleanups of the comments and code. 2001-03-17 Lars Gullik Bjønnes * insetminipage.C (InsetMinipage): default to not collapsed 2001-03-16 Juergen Vigna * insetminipage.C (width): modified with to be a string (widthp): added widthp (for % width) support functions. (InsetButtonRelease): added to open the options dialog on button==3. (~InsetMinipage): added to hide the dialog. * insetminipage.h: added hideDialog signal 2001-03-15 Lars Gullik Bjønnes * insetminipage.h: change the order or Position to match LyXParagraph::MINIPAGE_ALIGNMENT * several files: remvoe CXX_WORKING_NAMESPACES * ExternalTemplate.h: noncopyable is in namespace boost * insetinclude.h: ditto * insetcommand.h: ditto 2001-03-14 Angus Leeming * insettext.C (Edit): #else# -> #else. * insettoc.C: added using directive. 2001-03-14 Lars Gullik Bjønnes * insetminipage.h: add pos, inner_pos, width and height. + getters and setters for all of them. 2001-03-13 Dekel Tsur * insetinclude.C (Latex): Do not exit when the textclass of the included file differ from the textclass of the parent file. 2001-03-12 Angus Leeming * ExternalTemplate.C (read): the reading of external insets now checks for \end_inset and removes it form the input stream. 2001-03-09 John Levon * ExternalTemplate.h: * ExternalTemplate.C: * insetexternal.h: * insetexternal.C: move form to GUII 2001-03-12 John Levon * insetinclude.h: * insetinclude.C: add InsetIncludeParams, use composition rather than derivation of InsetCommand 2001-03-12 Lars Gullik Bjønnes * insettoc.C (Ascii): use the Buffer typedefs 2001-03-11 Lars Gullik Bjønnes * insettoc.C (Ascii): implement for dynamic number of lists * insetcaption.[Ch]: update from new_insets branch * insetfloat.[Ch]: ditto 2001-03-06 John Levon * insetexternal.C: * figinset.C: use new File Dialog 2001-03-06 Lars Gullik Bjønnes * insettext.C: changes becuase of ParagraphParameters. 2001-02-28 Baruch Even * insetgraphics.C (updateInset): Changed due to the change in GraphicsCache. 2001-02-26 Juergen Vigna * insettext.C (SetFont): Set Undo only if we have selection (as it is handled in LyXText). 2001-02-23 Juergen Vigna * insettext.C (draw): some small repainting fixes. (LocalDispatch): put the sel_cursor stuff after the insert of chars. * inset.C (LocalDispatch): changed action to be a kb_action (as it should be) and not an int. * insettabular.C (LocalDispatch): ditto * insettext.C (LocalDispatch): ditto * insetcollapsable.C (LocalDispatch): ditto 2001-02-22 Juergen Vigna * insettabular.C (LocalDispatch): return DISPATCHED if we cannot DISPATCH it and we don't have a locking_inset. 2001-02-21 Baruch Even * insetgraphics.[Ch]: Changed to use boost::shared_ptr instead of GraphicsCacheItem *. 2001-02-22 Jean-Marc Lasgouttes * insetcollapsable.C (getLyXText): add const qualifier to second parameter. 2001-02-22 Juergen Vigna * insettext.C (getLyXText): honor the recursive parameter. (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it. * inset.C (getLyXText): added bool recursive parameter. * insettext.C (SetUpdateStatus): or the update codes. (draw): check need_update with &. (InsetButtonPress): set no_selection to not put a selection when entering an inset and it is redraws in another spot. * insettext.h: made need_update an int. 2001-02-20 Baruch Even * insetgraphics.h: * insetgraphisc.C: Changed to use better semantics when loading images for inline view. Now it doesn't keep the pixmap itself but it's holder. 2001-02-19 Angus Leeming * insetcommand.h: * inseterror.h: * insetgraphics.C: change name of "hide" signal to "hideDialog", consistent with InsetTabular. 2001-02-19 Juergen Vigna * insettabular.C (LocalDispatch): implement PAGE up/down. * insettext.C (draw): clear all of it on need_update==INIT too! * insettabular.C (InsetUnlock): always clear the selection. * inset.C (scroll): normally we only want to scroll the inset until it is fully visible so if top_x + offset > 20 then just set scx to 0. 2001-02-14 Juergen Vigna * insettabular.C (LocalDispatch): remove x_fix as it is not used. (resetPos): fixed scroll behaviour. (LocalDispatch): do an update if moving cursor inside a table cell requests a scroll of the tabular. 2001-02-16 Lars Gullik Bjønnes * insettext.C (textWidth): constify local var * insettabular.C: small cleanup. * insetfoot.C (Latex): constify local var * insetcollapsable.C: small cleanup. * figinset.C (runqueue): use compare instead of strcmp 2001-02-14 Lars Gullik Bjønnes * insettext.C: * insetinfo.C: remove cruft 2001-02-14 Juergen Vigna * insettext.C (SetUpdateStatus): added a BufferView * parameter. 2001-02-13 Juergen Vigna * insettext.C (InsertInset): don't move left (is this right?) * insettabular.C (LocalDispatch): use of the no_draw variable * insettabular.h: new no_draw variable to stop redraw * insettabular.C (TabularFeatures): fixed update for alignment change 2001-02-12 John Levon * insetinclude.C: * insetbib.h: * insetbib.C: move dialogs to frontends/ 2001-02-10 Dekel Tsur * insettext.C (LocalDispatch): Restore the language if the inset becomes empty. 2001-02-09 Dekel Tsur * insettext.C (moveRightIntern): Update the selection cursor. (moveLeftIntern): Ditto. 2001-02-09 Jean-Marc Lasgouttes * Makefile.am: remove BoundingBox.h * BoundingBox.h: removed 2001-02-08 Dekel Tsur * insettext.C (LocalDispatch): Update selection cursor when moving cursor to the right. (moveRightIntern): Call to CursorRight with 2 argument eqaul to false. (moveLeftIntern): Ditto. 2001-02-05 Baruch Even * insetgraphics.C: Updated automatic image conversion, it now goes into temporary directory instead of with the image itself. 2001-01-21 Baruch Even * insetgraphics.C: Added Docbook support. Added Automatic image conversion to EPS or PNG when needed (support bitmap graphics). 2000-11-02 Baruch Even * insetgraphics.C: * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n' and removal of commented out code. 2001-01-31 Dekel Tsur * insetbib.C (callback): Update citations if the key has changed. 2001-01-31 Dekel Tsur * insetbib.C (InsetBibKey): Better computation of default key. (getScreenLabel) Show both the key and the label. (getBibLabel): New method. (callback): Force a redraw if the inset have been changed. 2001-01-26 Dekel Tsur * insetref.C (getType, getName): Move methods from src/frontends/xforms/FormRef.C. 2001-01-12 Dekel Tsur * insettabular.C: Various improvements (use only one dummy position). 2001-01-25 Dekel Tsur * insetbib.C (bibitemWidest): Use lyxfont::width instead of par->bibkey->width. This fixes the crashes when running without gui or when having included documents. 2001-01-22 Dekel Tsur * insetcommand.C (getAsString, setFromString): Cleanup. 2001-01-21 Dekel Tsur * insetref.C: Add the array InsetRef::types that contains information about all supported reference types. 2001-01-19 Jean-Marc Lasgouttes * lyxinset.h: remove trailing comma in enum. 2001-01-17 John Levon * insettext.C: kill LyXBell.