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