1 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insettext.h: reindent
5 * insettabular.h: make tabular a scoped_ptr
7 * insettext.C (init): adjust for cursor_visible
8 (ToggleInsetCursor): constify asc and desc, font, adjust for
10 (ShowInsetCursor): constify asc and desc, font, adjust for
12 (HideInsetCursor): adjust for cursor_visible
14 * insettabular.C: reindent some
15 (InsetTabular): adjust for scoped_ptr and cursor_visible
17 (~InsetTabular): delete delete
18 (Clone): adjust for scoped_ptr
19 (Read): constify old_format, adjust for scoped_ptr, move init of
21 (draw): constify tx, localize loop vars.
22 some other localization of variables, remove double initilizatons.
24 * insetfoot.C: remove using std::ostream, add ostream where needed
26 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
28 * lyxinset.h: some reindentaion, use initializer list for
30 UpdatableInset: make cursor_visible a private var add
31 public isCursorVisible(), add protected toggleCursorVisible() and
32 proctected setCursorVisible(bool), make scroll call the Inset::scroll
34 * insettoc.C: remvoe using decl
35 (getScreenLabel): make cmdname donst
38 (Ascii): don't use endl
40 * insetfootlike.C: remove using decl at file scope and add std::
42 * insetmarginal.C: ditto
44 * insetfoot.C: some reformatting
46 * insetfloat.C (InsetButtonRelease): adjust the hit area
48 * insetert.C (SetFont): some reformatting
50 * insetcollapsable.C: some reformatting and constification
52 * insetcollapsable.h: some reformatting
58 2001-03-30 Juergen Vigna <jug@sad.it>
60 * insetcollapsable.h: changen *inset to be a InsetText inset.
62 * some files: changed to reflect the above change.
64 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
66 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
67 InsetExternal::Params.
68 Added operator==() and operator!=() for the Params struct.
70 2001-03-29 Juergen Vigna <jug@sad.it>
72 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
75 * insetminipage.C: removed widthp_ and all it's functions and changed
76 to use new %-lengths of LyXLength.
78 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
80 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
82 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
84 * insetgraphicsParams.C (operator!=): new function, needed by the
85 ControlGraphics class.
87 2001-03-28 Juergen Vigna <jug@sad.it>
89 * insettext.C (InsetButtonPress): only enter !inset if button == 2
90 (checkAndActivateInset): don't use the values returned from
91 call to bv->checkInsetHit.
93 * insetminipage.C (Clone): set special minipage values.
95 * insetcollapsable.C (draw): changed to draw the button in the
96 upper left corner outside the textinset.
97 (ascent): changed because of different drawing
101 (InsetButtonPress): ditto
102 (InsetButtonRelease): ditto
103 (InsetMotionNotify): ditto
105 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
107 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
111 2001-03-26 Juergen Vigna <jug@sad.it>
113 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
115 * insettext.C (ShowInsetDialog): implemented above function.
117 * insettabular.C (ShowInsetDialog): ditto
119 * insetminipage.C (ShowInsetDialog): ditto
121 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
123 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
124 InsetInclude::Params. Don't store a buffer * in Params. Store the
125 master file name instead.
127 2001-03-23 Juergen Vigna <jug@sad.it>
129 * insetcollapsable.C (InsetMotionNotify):
130 (InsetButtonRelease):
131 (InsetButtonPress): fixed y-offset (minipages).
133 * insettext.C (draw): force a FULL update if cleared == true.
135 * insetcollapsable.C (draw): Lars forgotten entry for changing this
136 routine to draw the minipages on its position-flag.
137 (InsetInInsetY): give back the right y position, because of minipage
140 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
143 * insetfloat.C (DocBook): docbook export code.
145 2001-03-22 Juergen Vigna <jug@sad.it>
147 * insetminipage.C (getMaxWidth): added function to set the drawing
149 (Read): should work now!
151 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
152 if we create a new inset.
154 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
156 * figinset.C (fl_set_preemptive_callback): moved definition outside
159 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
161 * insetminipage.C (Read): prepare for reading of minipage arguments.
163 2001-03-18 Baruch Even <baruch@lyx.org>
165 * insetgraphics.C: Minor cleanups of the comments and code.
167 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
169 * insetminipage.C (InsetMinipage): default to not collapsed
171 2001-03-16 Juergen Vigna <jug@sad.it>
173 * insetminipage.C (width): modified with to be a string
174 (widthp): added widthp (for % width) support functions.
175 (InsetButtonRelease): added to open the options dialog on button==3.
176 (~InsetMinipage): added to hide the dialog.
178 * insetminipage.h: added hideDialog signal
180 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
182 * insetminipage.h: change the order or Position to match
183 LyXParagraph::MINIPAGE_ALIGNMENT
185 * several files: remvoe CXX_WORKING_NAMESPACES
187 * ExternalTemplate.h: noncopyable is in namespace boost
188 * insetinclude.h: ditto
189 * insetcommand.h: ditto
191 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
193 * insettext.C (Edit): #else# -> #else.
194 * insettoc.C: added using directive.
196 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
198 * insetminipage.h: add pos, inner_pos, width and height. + getters
199 and setters for all of them.
201 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
203 * insetinclude.C (Latex): Do not exit when the textclass of the
204 included file differ from the textclass of the parent file.
206 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
208 * ExternalTemplate.C (read): the reading of external insets now checks
209 for \end_inset and removes it form the input stream.
211 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
213 * ExternalTemplate.h:
214 * ExternalTemplate.C:
216 * insetexternal.C: move form to GUII
218 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
221 * insetinclude.C: add InsetIncludeParams, use
222 composition rather than derivation of InsetCommand
224 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
226 * insettoc.C (Ascii): use the Buffer typedefs
228 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
230 * insettoc.C (Ascii): implement for dynamic number of lists
232 * insetcaption.[Ch]: update from new_insets branch
233 * insetfloat.[Ch]: ditto
235 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
238 * figinset.C: use new File Dialog
240 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
242 * insettext.C: changes becuase of ParagraphParameters.
244 2001-02-28 Baruch Even <baruch@ev-en.org>
246 * insetgraphics.C (updateInset): Changed due to the change in
249 2001-02-26 Juergen Vigna <jug@sad.it>
251 * insettext.C (SetFont): Set Undo only if we have selection (as it is
254 2001-02-23 Juergen Vigna <jug@sad.it>
256 * insettext.C (draw): some small repainting fixes.
257 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
259 * inset.C (LocalDispatch): changed action to be a kb_action (as it
260 should be) and not an int.
262 * insettabular.C (LocalDispatch): ditto
264 * insettext.C (LocalDispatch): ditto
266 * insetcollapsable.C (LocalDispatch): ditto
268 2001-02-22 Juergen Vigna <jug@sad.it>
270 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
271 DISPATCH it and we don't have a locking_inset.
273 2001-02-21 Baruch Even <baruch@ev-en.org>
275 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
276 instead of GraphicsCacheItem *.
278 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
280 * insetcollapsable.C (getLyXText): add const qualifier to second
283 2001-02-22 Juergen Vigna <jug@sad.it>
285 * insettext.C (getLyXText): honor the recursive parameter.
286 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
288 * inset.C (getLyXText): added bool recursive parameter.
290 * insettext.C (SetUpdateStatus): or the update codes.
291 (draw): check need_update with &.
292 (InsetButtonPress): set no_selection to not put a selection when
293 entering an inset and it is redraws in another spot.
295 * insettext.h: made need_update an int.
297 2001-02-20 Baruch Even <baruch@ev-en.org>
300 * insetgraphisc.C: Changed to use better semantics when loading images
301 for inline view. Now it doesn't keep the pixmap itself but it's holder.
303 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
307 * insetgraphics.C: change name of "hide" signal to "hideDialog",
308 consistent with InsetTabular.
310 2001-02-19 Juergen Vigna <jug@sad.it>
312 * insettabular.C (LocalDispatch): implement PAGE up/down.
314 * insettext.C (draw): clear all of it on need_update==INIT too!
316 * insettabular.C (InsetUnlock): always clear the selection.
318 * inset.C (scroll): normally we only want to scroll the inset until
319 it is fully visible so if top_x + offset > 20 then just set scx to 0.
321 2001-02-14 Juergen Vigna <jug@sad.it>
323 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
324 (resetPos): fixed scroll behaviour.
325 (LocalDispatch): do an update if moving cursor inside a table cell
326 requests a scroll of the tabular.
328 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
330 * insettext.C (textWidth): constify local var
332 * insettabular.C: small cleanup.
334 * insetfoot.C (Latex): constify local var
336 * insetcollapsable.C: small cleanup.
338 * figinset.C (runqueue): use compare instead of strcmp
340 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
343 * insetinfo.C: remove cruft
345 2001-02-14 Juergen Vigna <jug@sad.it>
347 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
349 2001-02-13 Juergen Vigna <jug@sad.it>
351 * insettext.C (InsertInset): don't move left (is this right?)
353 * insettabular.C (LocalDispatch): use of the no_draw variable
355 * insettabular.h: new no_draw variable to stop redraw
357 * insettabular.C (TabularFeatures): fixed update for alignment change
359 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
363 * insetbib.C: move dialogs to frontends/
365 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
367 * insettext.C (LocalDispatch): Restore the language if the inset
370 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
372 * insettext.C (moveRightIntern): Update the selection cursor.
373 (moveLeftIntern): Ditto.
375 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
377 * Makefile.am: remove BoundingBox.h
379 * BoundingBox.h: removed
381 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
383 * insettext.C (LocalDispatch): Update selection cursor when moving
385 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
386 (moveLeftIntern): Ditto.
388 2001-02-05 Baruch Even <baruch.even@writeme.com>
390 * insetgraphics.C: Updated automatic image conversion, it now goes into
391 temporary directory instead of with the image itself.
393 2001-01-21 Baruch Even <baruch@ev-en.org>
395 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
396 to EPS or PNG when needed (support bitmap graphics).
398 2000-11-02 Baruch Even <baruch@ev-en.org>
401 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
402 and removal of commented out code.
404 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
406 * insetbib.C (callback): Update citations if the key has changed.
408 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
410 * insetbib.C (InsetBibKey): Better computation of default key.
411 (getScreenLabel) Show both the key and the label.
412 (getBibLabel): New method.
413 (callback): Force a redraw if the inset have been changed.
415 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
417 * insetref.C (getType, getName): Move methods from
418 src/frontends/xforms/FormRef.C.
420 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
422 * insettabular.C: Various improvements (use only one dummy position).
424 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
426 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
427 par->bibkey->width. This fixes the crashes when running without
428 gui or when having included documents.
430 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
432 * insetcommand.C (getAsString, setFromString): Cleanup.
434 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
436 * insetref.C: Add the array InsetRef::types that contains
437 information about all supported reference types.
439 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
441 * lyxinset.h: remove trailing comma in enum.
443 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
445 * insettext.C: kill LyXBell.