1 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insettext.C (InsetText): fix new
4 (InsetText): reindent some, simplify deletion of par list
5 (clear): simplify deletion of par list, fix new
6 (SetParagraphData): simplify deletion of par list
8 * insettabular.[Ch] (getLabelList): implement new method
10 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12 * lyxinset.h: do not include gettext.h...
24 * inseturl.C: ... and do it here instead
26 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
28 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
30 * insettext.[Ch] (getLabelList): add std:: on vector<string>
32 * insetcollapsable.[Ch] (getLabelList): implement
34 * insettext.[Ch] (getLabelList): implement
36 * insettext.h: reindent
38 * insettabular.h: make tabular a scoped_ptr
40 * insettext.C (init): adjust for cursor_visible
41 (ToggleInsetCursor): constify asc and desc, font, adjust for
43 (ShowInsetCursor): constify asc and desc, font, adjust for
45 (HideInsetCursor): adjust for cursor_visible
47 * insettabular.C: reindent some
48 (InsetTabular): adjust for scoped_ptr and cursor_visible
50 (~InsetTabular): delete delete
51 (Clone): adjust for scoped_ptr
52 (Read): constify old_format, adjust for scoped_ptr, move init of
54 (draw): constify tx, localize loop vars.
55 some other localization of variables, remove double initilizatons.
57 * insetfoot.C: remove using std::ostream, add ostream where needed
59 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
61 * lyxinset.h: some reindentaion, use initializer list for
63 UpdatableInset: make cursor_visible a private var add
64 public isCursorVisible(), add protected toggleCursorVisible() and
65 proctected setCursorVisible(bool), make scroll call the Inset::scroll
67 * insettoc.C: remvoe using decl
68 (getScreenLabel): make cmdname donst
71 (Ascii): don't use endl
73 * insetfootlike.C: remove using decl at file scope and add std::
75 * insetmarginal.C: ditto
77 * insetfoot.C: some reformatting
79 * insetfloat.C (InsetButtonRelease): adjust the hit area
81 * insetert.C (SetFont): some reformatting
83 * insetcollapsable.C: some reformatting and constification
85 * insetcollapsable.h: some reformatting
91 2001-03-30 Juergen Vigna <jug@sad.it>
93 * insetcollapsable.h: changen *inset to be a InsetText inset.
95 * some files: changed to reflect the above change.
97 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
99 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
100 InsetExternal::Params.
101 Added operator==() and operator!=() for the Params struct.
103 2001-03-29 Juergen Vigna <jug@sad.it>
105 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
108 * insetminipage.C: removed widthp_ and all it's functions and changed
109 to use new %-lengths of LyXLength.
111 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
113 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
115 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
117 * insetgraphicsParams.C (operator!=): new function, needed by the
118 ControlGraphics class.
120 2001-03-28 Juergen Vigna <jug@sad.it>
122 * insettext.C (InsetButtonPress): only enter !inset if button == 2
123 (checkAndActivateInset): don't use the values returned from
124 call to bv->checkInsetHit.
126 * insetminipage.C (Clone): set special minipage values.
128 * insetcollapsable.C (draw): changed to draw the button in the
129 upper left corner outside the textinset.
130 (ascent): changed because of different drawing
134 (InsetButtonPress): ditto
135 (InsetButtonRelease): ditto
136 (InsetMotionNotify): ditto
138 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
140 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
144 2001-03-26 Juergen Vigna <jug@sad.it>
146 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
148 * insettext.C (ShowInsetDialog): implemented above function.
150 * insettabular.C (ShowInsetDialog): ditto
152 * insetminipage.C (ShowInsetDialog): ditto
154 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
156 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
157 InsetInclude::Params. Don't store a buffer * in Params. Store the
158 master file name instead.
160 2001-03-23 Juergen Vigna <jug@sad.it>
162 * insetcollapsable.C (InsetMotionNotify):
163 (InsetButtonRelease):
164 (InsetButtonPress): fixed y-offset (minipages).
166 * insettext.C (draw): force a FULL update if cleared == true.
168 * insetcollapsable.C (draw): Lars forgotten entry for changing this
169 routine to draw the minipages on its position-flag.
170 (InsetInInsetY): give back the right y position, because of minipage
173 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
176 * insetfloat.C (DocBook): docbook export code.
178 2001-03-22 Juergen Vigna <jug@sad.it>
180 * insetminipage.C (getMaxWidth): added function to set the drawing
182 (Read): should work now!
184 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
185 if we create a new inset.
187 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
189 * figinset.C (fl_set_preemptive_callback): moved definition outside
192 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
194 * insetminipage.C (Read): prepare for reading of minipage arguments.
196 2001-03-18 Baruch Even <baruch@lyx.org>
198 * insetgraphics.C: Minor cleanups of the comments and code.
200 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
202 * insetminipage.C (InsetMinipage): default to not collapsed
204 2001-03-16 Juergen Vigna <jug@sad.it>
206 * insetminipage.C (width): modified with to be a string
207 (widthp): added widthp (for % width) support functions.
208 (InsetButtonRelease): added to open the options dialog on button==3.
209 (~InsetMinipage): added to hide the dialog.
211 * insetminipage.h: added hideDialog signal
213 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
215 * insetminipage.h: change the order or Position to match
216 LyXParagraph::MINIPAGE_ALIGNMENT
218 * several files: remvoe CXX_WORKING_NAMESPACES
220 * ExternalTemplate.h: noncopyable is in namespace boost
221 * insetinclude.h: ditto
222 * insetcommand.h: ditto
224 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
226 * insettext.C (Edit): #else# -> #else.
227 * insettoc.C: added using directive.
229 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
231 * insetminipage.h: add pos, inner_pos, width and height. + getters
232 and setters for all of them.
234 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
236 * insetinclude.C (Latex): Do not exit when the textclass of the
237 included file differ from the textclass of the parent file.
239 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
241 * ExternalTemplate.C (read): the reading of external insets now checks
242 for \end_inset and removes it form the input stream.
244 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
246 * ExternalTemplate.h:
247 * ExternalTemplate.C:
249 * insetexternal.C: move form to GUII
251 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
254 * insetinclude.C: add InsetIncludeParams, use
255 composition rather than derivation of InsetCommand
257 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
259 * insettoc.C (Ascii): use the Buffer typedefs
261 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
263 * insettoc.C (Ascii): implement for dynamic number of lists
265 * insetcaption.[Ch]: update from new_insets branch
266 * insetfloat.[Ch]: ditto
268 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
271 * figinset.C: use new File Dialog
273 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
275 * insettext.C: changes becuase of ParagraphParameters.
277 2001-02-28 Baruch Even <baruch@ev-en.org>
279 * insetgraphics.C (updateInset): Changed due to the change in
282 2001-02-26 Juergen Vigna <jug@sad.it>
284 * insettext.C (SetFont): Set Undo only if we have selection (as it is
287 2001-02-23 Juergen Vigna <jug@sad.it>
289 * insettext.C (draw): some small repainting fixes.
290 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
292 * inset.C (LocalDispatch): changed action to be a kb_action (as it
293 should be) and not an int.
295 * insettabular.C (LocalDispatch): ditto
297 * insettext.C (LocalDispatch): ditto
299 * insetcollapsable.C (LocalDispatch): ditto
301 2001-02-22 Juergen Vigna <jug@sad.it>
303 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
304 DISPATCH it and we don't have a locking_inset.
306 2001-02-21 Baruch Even <baruch@ev-en.org>
308 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
309 instead of GraphicsCacheItem *.
311 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
313 * insetcollapsable.C (getLyXText): add const qualifier to second
316 2001-02-22 Juergen Vigna <jug@sad.it>
318 * insettext.C (getLyXText): honor the recursive parameter.
319 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
321 * inset.C (getLyXText): added bool recursive parameter.
323 * insettext.C (SetUpdateStatus): or the update codes.
324 (draw): check need_update with &.
325 (InsetButtonPress): set no_selection to not put a selection when
326 entering an inset and it is redraws in another spot.
328 * insettext.h: made need_update an int.
330 2001-02-20 Baruch Even <baruch@ev-en.org>
333 * insetgraphisc.C: Changed to use better semantics when loading images
334 for inline view. Now it doesn't keep the pixmap itself but it's holder.
336 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
340 * insetgraphics.C: change name of "hide" signal to "hideDialog",
341 consistent with InsetTabular.
343 2001-02-19 Juergen Vigna <jug@sad.it>
345 * insettabular.C (LocalDispatch): implement PAGE up/down.
347 * insettext.C (draw): clear all of it on need_update==INIT too!
349 * insettabular.C (InsetUnlock): always clear the selection.
351 * inset.C (scroll): normally we only want to scroll the inset until
352 it is fully visible so if top_x + offset > 20 then just set scx to 0.
354 2001-02-14 Juergen Vigna <jug@sad.it>
356 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
357 (resetPos): fixed scroll behaviour.
358 (LocalDispatch): do an update if moving cursor inside a table cell
359 requests a scroll of the tabular.
361 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
363 * insettext.C (textWidth): constify local var
365 * insettabular.C: small cleanup.
367 * insetfoot.C (Latex): constify local var
369 * insetcollapsable.C: small cleanup.
371 * figinset.C (runqueue): use compare instead of strcmp
373 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
376 * insetinfo.C: remove cruft
378 2001-02-14 Juergen Vigna <jug@sad.it>
380 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
382 2001-02-13 Juergen Vigna <jug@sad.it>
384 * insettext.C (InsertInset): don't move left (is this right?)
386 * insettabular.C (LocalDispatch): use of the no_draw variable
388 * insettabular.h: new no_draw variable to stop redraw
390 * insettabular.C (TabularFeatures): fixed update for alignment change
392 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
396 * insetbib.C: move dialogs to frontends/
398 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
400 * insettext.C (LocalDispatch): Restore the language if the inset
403 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
405 * insettext.C (moveRightIntern): Update the selection cursor.
406 (moveLeftIntern): Ditto.
408 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
410 * Makefile.am: remove BoundingBox.h
412 * BoundingBox.h: removed
414 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
416 * insettext.C (LocalDispatch): Update selection cursor when moving
418 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
419 (moveLeftIntern): Ditto.
421 2001-02-05 Baruch Even <baruch.even@writeme.com>
423 * insetgraphics.C: Updated automatic image conversion, it now goes into
424 temporary directory instead of with the image itself.
426 2001-01-21 Baruch Even <baruch@ev-en.org>
428 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
429 to EPS or PNG when needed (support bitmap graphics).
431 2000-11-02 Baruch Even <baruch@ev-en.org>
434 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
435 and removal of commented out code.
437 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
439 * insetbib.C (callback): Update citations if the key has changed.
441 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
443 * insetbib.C (InsetBibKey): Better computation of default key.
444 (getScreenLabel) Show both the key and the label.
445 (getBibLabel): New method.
446 (callback): Force a redraw if the inset have been changed.
448 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
450 * insetref.C (getType, getName): Move methods from
451 src/frontends/xforms/FormRef.C.
453 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
455 * insettabular.C: Various improvements (use only one dummy position).
457 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
459 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
460 par->bibkey->width. This fixes the crashes when running without
461 gui or when having included documents.
463 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
465 * insetcommand.C (getAsString, setFromString): Cleanup.
467 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
469 * insetref.C: Add the array InsetRef::types that contains
470 information about all supported reference types.
472 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
474 * lyxinset.h: remove trailing comma in enum.
476 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
478 * insettext.C: kill LyXBell.