1 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7 * insetcollapsable.[Ch] (getLabelList): implement
9 * insettext.[Ch] (getLabelList): implement
11 * insettext.h: reindent
13 * insettabular.h: make tabular a scoped_ptr
15 * insettext.C (init): adjust for cursor_visible
16 (ToggleInsetCursor): constify asc and desc, font, adjust for
18 (ShowInsetCursor): constify asc and desc, font, adjust for
20 (HideInsetCursor): adjust for cursor_visible
22 * insettabular.C: reindent some
23 (InsetTabular): adjust for scoped_ptr and cursor_visible
25 (~InsetTabular): delete delete
26 (Clone): adjust for scoped_ptr
27 (Read): constify old_format, adjust for scoped_ptr, move init of
29 (draw): constify tx, localize loop vars.
30 some other localization of variables, remove double initilizatons.
32 * insetfoot.C: remove using std::ostream, add ostream where needed
34 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * lyxinset.h: some reindentaion, use initializer list for
38 UpdatableInset: make cursor_visible a private var add
39 public isCursorVisible(), add protected toggleCursorVisible() and
40 proctected setCursorVisible(bool), make scroll call the Inset::scroll
42 * insettoc.C: remvoe using decl
43 (getScreenLabel): make cmdname donst
46 (Ascii): don't use endl
48 * insetfootlike.C: remove using decl at file scope and add std::
50 * insetmarginal.C: ditto
52 * insetfoot.C: some reformatting
54 * insetfloat.C (InsetButtonRelease): adjust the hit area
56 * insetert.C (SetFont): some reformatting
58 * insetcollapsable.C: some reformatting and constification
60 * insetcollapsable.h: some reformatting
66 2001-03-30 Juergen Vigna <jug@sad.it>
68 * insetcollapsable.h: changen *inset to be a InsetText inset.
70 * some files: changed to reflect the above change.
72 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
74 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
75 InsetExternal::Params.
76 Added operator==() and operator!=() for the Params struct.
78 2001-03-29 Juergen Vigna <jug@sad.it>
80 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
83 * insetminipage.C: removed widthp_ and all it's functions and changed
84 to use new %-lengths of LyXLength.
86 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
88 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
90 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
92 * insetgraphicsParams.C (operator!=): new function, needed by the
93 ControlGraphics class.
95 2001-03-28 Juergen Vigna <jug@sad.it>
97 * insettext.C (InsetButtonPress): only enter !inset if button == 2
98 (checkAndActivateInset): don't use the values returned from
99 call to bv->checkInsetHit.
101 * insetminipage.C (Clone): set special minipage values.
103 * insetcollapsable.C (draw): changed to draw the button in the
104 upper left corner outside the textinset.
105 (ascent): changed because of different drawing
109 (InsetButtonPress): ditto
110 (InsetButtonRelease): ditto
111 (InsetMotionNotify): ditto
113 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
115 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
119 2001-03-26 Juergen Vigna <jug@sad.it>
121 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
123 * insettext.C (ShowInsetDialog): implemented above function.
125 * insettabular.C (ShowInsetDialog): ditto
127 * insetminipage.C (ShowInsetDialog): ditto
129 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
131 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
132 InsetInclude::Params. Don't store a buffer * in Params. Store the
133 master file name instead.
135 2001-03-23 Juergen Vigna <jug@sad.it>
137 * insetcollapsable.C (InsetMotionNotify):
138 (InsetButtonRelease):
139 (InsetButtonPress): fixed y-offset (minipages).
141 * insettext.C (draw): force a FULL update if cleared == true.
143 * insetcollapsable.C (draw): Lars forgotten entry for changing this
144 routine to draw the minipages on its position-flag.
145 (InsetInInsetY): give back the right y position, because of minipage
148 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
151 * insetfloat.C (DocBook): docbook export code.
153 2001-03-22 Juergen Vigna <jug@sad.it>
155 * insetminipage.C (getMaxWidth): added function to set the drawing
157 (Read): should work now!
159 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
160 if we create a new inset.
162 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
164 * figinset.C (fl_set_preemptive_callback): moved definition outside
167 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
169 * insetminipage.C (Read): prepare for reading of minipage arguments.
171 2001-03-18 Baruch Even <baruch@lyx.org>
173 * insetgraphics.C: Minor cleanups of the comments and code.
175 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
177 * insetminipage.C (InsetMinipage): default to not collapsed
179 2001-03-16 Juergen Vigna <jug@sad.it>
181 * insetminipage.C (width): modified with to be a string
182 (widthp): added widthp (for % width) support functions.
183 (InsetButtonRelease): added to open the options dialog on button==3.
184 (~InsetMinipage): added to hide the dialog.
186 * insetminipage.h: added hideDialog signal
188 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
190 * insetminipage.h: change the order or Position to match
191 LyXParagraph::MINIPAGE_ALIGNMENT
193 * several files: remvoe CXX_WORKING_NAMESPACES
195 * ExternalTemplate.h: noncopyable is in namespace boost
196 * insetinclude.h: ditto
197 * insetcommand.h: ditto
199 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
201 * insettext.C (Edit): #else# -> #else.
202 * insettoc.C: added using directive.
204 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
206 * insetminipage.h: add pos, inner_pos, width and height. + getters
207 and setters for all of them.
209 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
211 * insetinclude.C (Latex): Do not exit when the textclass of the
212 included file differ from the textclass of the parent file.
214 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
216 * ExternalTemplate.C (read): the reading of external insets now checks
217 for \end_inset and removes it form the input stream.
219 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
221 * ExternalTemplate.h:
222 * ExternalTemplate.C:
224 * insetexternal.C: move form to GUII
226 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
229 * insetinclude.C: add InsetIncludeParams, use
230 composition rather than derivation of InsetCommand
232 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
234 * insettoc.C (Ascii): use the Buffer typedefs
236 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
238 * insettoc.C (Ascii): implement for dynamic number of lists
240 * insetcaption.[Ch]: update from new_insets branch
241 * insetfloat.[Ch]: ditto
243 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
246 * figinset.C: use new File Dialog
248 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
250 * insettext.C: changes becuase of ParagraphParameters.
252 2001-02-28 Baruch Even <baruch@ev-en.org>
254 * insetgraphics.C (updateInset): Changed due to the change in
257 2001-02-26 Juergen Vigna <jug@sad.it>
259 * insettext.C (SetFont): Set Undo only if we have selection (as it is
262 2001-02-23 Juergen Vigna <jug@sad.it>
264 * insettext.C (draw): some small repainting fixes.
265 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
267 * inset.C (LocalDispatch): changed action to be a kb_action (as it
268 should be) and not an int.
270 * insettabular.C (LocalDispatch): ditto
272 * insettext.C (LocalDispatch): ditto
274 * insetcollapsable.C (LocalDispatch): ditto
276 2001-02-22 Juergen Vigna <jug@sad.it>
278 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
279 DISPATCH it and we don't have a locking_inset.
281 2001-02-21 Baruch Even <baruch@ev-en.org>
283 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
284 instead of GraphicsCacheItem *.
286 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
288 * insetcollapsable.C (getLyXText): add const qualifier to second
291 2001-02-22 Juergen Vigna <jug@sad.it>
293 * insettext.C (getLyXText): honor the recursive parameter.
294 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
296 * inset.C (getLyXText): added bool recursive parameter.
298 * insettext.C (SetUpdateStatus): or the update codes.
299 (draw): check need_update with &.
300 (InsetButtonPress): set no_selection to not put a selection when
301 entering an inset and it is redraws in another spot.
303 * insettext.h: made need_update an int.
305 2001-02-20 Baruch Even <baruch@ev-en.org>
308 * insetgraphisc.C: Changed to use better semantics when loading images
309 for inline view. Now it doesn't keep the pixmap itself but it's holder.
311 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
315 * insetgraphics.C: change name of "hide" signal to "hideDialog",
316 consistent with InsetTabular.
318 2001-02-19 Juergen Vigna <jug@sad.it>
320 * insettabular.C (LocalDispatch): implement PAGE up/down.
322 * insettext.C (draw): clear all of it on need_update==INIT too!
324 * insettabular.C (InsetUnlock): always clear the selection.
326 * inset.C (scroll): normally we only want to scroll the inset until
327 it is fully visible so if top_x + offset > 20 then just set scx to 0.
329 2001-02-14 Juergen Vigna <jug@sad.it>
331 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
332 (resetPos): fixed scroll behaviour.
333 (LocalDispatch): do an update if moving cursor inside a table cell
334 requests a scroll of the tabular.
336 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
338 * insettext.C (textWidth): constify local var
340 * insettabular.C: small cleanup.
342 * insetfoot.C (Latex): constify local var
344 * insetcollapsable.C: small cleanup.
346 * figinset.C (runqueue): use compare instead of strcmp
348 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
351 * insetinfo.C: remove cruft
353 2001-02-14 Juergen Vigna <jug@sad.it>
355 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
357 2001-02-13 Juergen Vigna <jug@sad.it>
359 * insettext.C (InsertInset): don't move left (is this right?)
361 * insettabular.C (LocalDispatch): use of the no_draw variable
363 * insettabular.h: new no_draw variable to stop redraw
365 * insettabular.C (TabularFeatures): fixed update for alignment change
367 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
371 * insetbib.C: move dialogs to frontends/
373 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
375 * insettext.C (LocalDispatch): Restore the language if the inset
378 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
380 * insettext.C (moveRightIntern): Update the selection cursor.
381 (moveLeftIntern): Ditto.
383 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
385 * Makefile.am: remove BoundingBox.h
387 * BoundingBox.h: removed
389 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
391 * insettext.C (LocalDispatch): Update selection cursor when moving
393 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
394 (moveLeftIntern): Ditto.
396 2001-02-05 Baruch Even <baruch.even@writeme.com>
398 * insetgraphics.C: Updated automatic image conversion, it now goes into
399 temporary directory instead of with the image itself.
401 2001-01-21 Baruch Even <baruch@ev-en.org>
403 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
404 to EPS or PNG when needed (support bitmap graphics).
406 2000-11-02 Baruch Even <baruch@ev-en.org>
409 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
410 and removal of commented out code.
412 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
414 * insetbib.C (callback): Update citations if the key has changed.
416 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
418 * insetbib.C (InsetBibKey): Better computation of default key.
419 (getScreenLabel) Show both the key and the label.
420 (getBibLabel): New method.
421 (callback): Force a redraw if the inset have been changed.
423 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
425 * insetref.C (getType, getName): Move methods from
426 src/frontends/xforms/FormRef.C.
428 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
430 * insettabular.C: Various improvements (use only one dummy position).
432 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
434 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
435 par->bibkey->width. This fixes the crashes when running without
436 gui or when having included documents.
438 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
440 * insetcommand.C (getAsString, setFromString): Cleanup.
442 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
444 * insetref.C: Add the array InsetRef::types that contains
445 information about all supported reference types.
447 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
449 * lyxinset.h: remove trailing comma in enum.
451 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
453 * insettext.C: kill LyXBell.