1 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * lyxinset.h: do not include gettext.h...
15 * inseturl.C: ... and do it here instead
17 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
19 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
21 * insettext.[Ch] (getLabelList): add std:: on vector<string>
23 * insetcollapsable.[Ch] (getLabelList): implement
25 * insettext.[Ch] (getLabelList): implement
27 * insettext.h: reindent
29 * insettabular.h: make tabular a scoped_ptr
31 * insettext.C (init): adjust for cursor_visible
32 (ToggleInsetCursor): constify asc and desc, font, adjust for
34 (ShowInsetCursor): constify asc and desc, font, adjust for
36 (HideInsetCursor): adjust for cursor_visible
38 * insettabular.C: reindent some
39 (InsetTabular): adjust for scoped_ptr and cursor_visible
41 (~InsetTabular): delete delete
42 (Clone): adjust for scoped_ptr
43 (Read): constify old_format, adjust for scoped_ptr, move init of
45 (draw): constify tx, localize loop vars.
46 some other localization of variables, remove double initilizatons.
48 * insetfoot.C: remove using std::ostream, add ostream where needed
50 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
52 * lyxinset.h: some reindentaion, use initializer list for
54 UpdatableInset: make cursor_visible a private var add
55 public isCursorVisible(), add protected toggleCursorVisible() and
56 proctected setCursorVisible(bool), make scroll call the Inset::scroll
58 * insettoc.C: remvoe using decl
59 (getScreenLabel): make cmdname donst
62 (Ascii): don't use endl
64 * insetfootlike.C: remove using decl at file scope and add std::
66 * insetmarginal.C: ditto
68 * insetfoot.C: some reformatting
70 * insetfloat.C (InsetButtonRelease): adjust the hit area
72 * insetert.C (SetFont): some reformatting
74 * insetcollapsable.C: some reformatting and constification
76 * insetcollapsable.h: some reformatting
82 2001-03-30 Juergen Vigna <jug@sad.it>
84 * insetcollapsable.h: changen *inset to be a InsetText inset.
86 * some files: changed to reflect the above change.
88 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
90 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
91 InsetExternal::Params.
92 Added operator==() and operator!=() for the Params struct.
94 2001-03-29 Juergen Vigna <jug@sad.it>
96 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
99 * insetminipage.C: removed widthp_ and all it's functions and changed
100 to use new %-lengths of LyXLength.
102 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
104 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
106 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
108 * insetgraphicsParams.C (operator!=): new function, needed by the
109 ControlGraphics class.
111 2001-03-28 Juergen Vigna <jug@sad.it>
113 * insettext.C (InsetButtonPress): only enter !inset if button == 2
114 (checkAndActivateInset): don't use the values returned from
115 call to bv->checkInsetHit.
117 * insetminipage.C (Clone): set special minipage values.
119 * insetcollapsable.C (draw): changed to draw the button in the
120 upper left corner outside the textinset.
121 (ascent): changed because of different drawing
125 (InsetButtonPress): ditto
126 (InsetButtonRelease): ditto
127 (InsetMotionNotify): ditto
129 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
131 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
135 2001-03-26 Juergen Vigna <jug@sad.it>
137 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
139 * insettext.C (ShowInsetDialog): implemented above function.
141 * insettabular.C (ShowInsetDialog): ditto
143 * insetminipage.C (ShowInsetDialog): ditto
145 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
147 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
148 InsetInclude::Params. Don't store a buffer * in Params. Store the
149 master file name instead.
151 2001-03-23 Juergen Vigna <jug@sad.it>
153 * insetcollapsable.C (InsetMotionNotify):
154 (InsetButtonRelease):
155 (InsetButtonPress): fixed y-offset (minipages).
157 * insettext.C (draw): force a FULL update if cleared == true.
159 * insetcollapsable.C (draw): Lars forgotten entry for changing this
160 routine to draw the minipages on its position-flag.
161 (InsetInInsetY): give back the right y position, because of minipage
164 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
167 * insetfloat.C (DocBook): docbook export code.
169 2001-03-22 Juergen Vigna <jug@sad.it>
171 * insetminipage.C (getMaxWidth): added function to set the drawing
173 (Read): should work now!
175 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
176 if we create a new inset.
178 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
180 * figinset.C (fl_set_preemptive_callback): moved definition outside
183 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
185 * insetminipage.C (Read): prepare for reading of minipage arguments.
187 2001-03-18 Baruch Even <baruch@lyx.org>
189 * insetgraphics.C: Minor cleanups of the comments and code.
191 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
193 * insetminipage.C (InsetMinipage): default to not collapsed
195 2001-03-16 Juergen Vigna <jug@sad.it>
197 * insetminipage.C (width): modified with to be a string
198 (widthp): added widthp (for % width) support functions.
199 (InsetButtonRelease): added to open the options dialog on button==3.
200 (~InsetMinipage): added to hide the dialog.
202 * insetminipage.h: added hideDialog signal
204 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
206 * insetminipage.h: change the order or Position to match
207 LyXParagraph::MINIPAGE_ALIGNMENT
209 * several files: remvoe CXX_WORKING_NAMESPACES
211 * ExternalTemplate.h: noncopyable is in namespace boost
212 * insetinclude.h: ditto
213 * insetcommand.h: ditto
215 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
217 * insettext.C (Edit): #else# -> #else.
218 * insettoc.C: added using directive.
220 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
222 * insetminipage.h: add pos, inner_pos, width and height. + getters
223 and setters for all of them.
225 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
227 * insetinclude.C (Latex): Do not exit when the textclass of the
228 included file differ from the textclass of the parent file.
230 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
232 * ExternalTemplate.C (read): the reading of external insets now checks
233 for \end_inset and removes it form the input stream.
235 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
237 * ExternalTemplate.h:
238 * ExternalTemplate.C:
240 * insetexternal.C: move form to GUII
242 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
245 * insetinclude.C: add InsetIncludeParams, use
246 composition rather than derivation of InsetCommand
248 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
250 * insettoc.C (Ascii): use the Buffer typedefs
252 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
254 * insettoc.C (Ascii): implement for dynamic number of lists
256 * insetcaption.[Ch]: update from new_insets branch
257 * insetfloat.[Ch]: ditto
259 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
262 * figinset.C: use new File Dialog
264 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
266 * insettext.C: changes becuase of ParagraphParameters.
268 2001-02-28 Baruch Even <baruch@ev-en.org>
270 * insetgraphics.C (updateInset): Changed due to the change in
273 2001-02-26 Juergen Vigna <jug@sad.it>
275 * insettext.C (SetFont): Set Undo only if we have selection (as it is
278 2001-02-23 Juergen Vigna <jug@sad.it>
280 * insettext.C (draw): some small repainting fixes.
281 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
283 * inset.C (LocalDispatch): changed action to be a kb_action (as it
284 should be) and not an int.
286 * insettabular.C (LocalDispatch): ditto
288 * insettext.C (LocalDispatch): ditto
290 * insetcollapsable.C (LocalDispatch): ditto
292 2001-02-22 Juergen Vigna <jug@sad.it>
294 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
295 DISPATCH it and we don't have a locking_inset.
297 2001-02-21 Baruch Even <baruch@ev-en.org>
299 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
300 instead of GraphicsCacheItem *.
302 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
304 * insetcollapsable.C (getLyXText): add const qualifier to second
307 2001-02-22 Juergen Vigna <jug@sad.it>
309 * insettext.C (getLyXText): honor the recursive parameter.
310 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
312 * inset.C (getLyXText): added bool recursive parameter.
314 * insettext.C (SetUpdateStatus): or the update codes.
315 (draw): check need_update with &.
316 (InsetButtonPress): set no_selection to not put a selection when
317 entering an inset and it is redraws in another spot.
319 * insettext.h: made need_update an int.
321 2001-02-20 Baruch Even <baruch@ev-en.org>
324 * insetgraphisc.C: Changed to use better semantics when loading images
325 for inline view. Now it doesn't keep the pixmap itself but it's holder.
327 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
331 * insetgraphics.C: change name of "hide" signal to "hideDialog",
332 consistent with InsetTabular.
334 2001-02-19 Juergen Vigna <jug@sad.it>
336 * insettabular.C (LocalDispatch): implement PAGE up/down.
338 * insettext.C (draw): clear all of it on need_update==INIT too!
340 * insettabular.C (InsetUnlock): always clear the selection.
342 * inset.C (scroll): normally we only want to scroll the inset until
343 it is fully visible so if top_x + offset > 20 then just set scx to 0.
345 2001-02-14 Juergen Vigna <jug@sad.it>
347 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
348 (resetPos): fixed scroll behaviour.
349 (LocalDispatch): do an update if moving cursor inside a table cell
350 requests a scroll of the tabular.
352 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
354 * insettext.C (textWidth): constify local var
356 * insettabular.C: small cleanup.
358 * insetfoot.C (Latex): constify local var
360 * insetcollapsable.C: small cleanup.
362 * figinset.C (runqueue): use compare instead of strcmp
364 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
367 * insetinfo.C: remove cruft
369 2001-02-14 Juergen Vigna <jug@sad.it>
371 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
373 2001-02-13 Juergen Vigna <jug@sad.it>
375 * insettext.C (InsertInset): don't move left (is this right?)
377 * insettabular.C (LocalDispatch): use of the no_draw variable
379 * insettabular.h: new no_draw variable to stop redraw
381 * insettabular.C (TabularFeatures): fixed update for alignment change
383 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
387 * insetbib.C: move dialogs to frontends/
389 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
391 * insettext.C (LocalDispatch): Restore the language if the inset
394 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
396 * insettext.C (moveRightIntern): Update the selection cursor.
397 (moveLeftIntern): Ditto.
399 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
401 * Makefile.am: remove BoundingBox.h
403 * BoundingBox.h: removed
405 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
407 * insettext.C (LocalDispatch): Update selection cursor when moving
409 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
410 (moveLeftIntern): Ditto.
412 2001-02-05 Baruch Even <baruch.even@writeme.com>
414 * insetgraphics.C: Updated automatic image conversion, it now goes into
415 temporary directory instead of with the image itself.
417 2001-01-21 Baruch Even <baruch@ev-en.org>
419 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
420 to EPS or PNG when needed (support bitmap graphics).
422 2000-11-02 Baruch Even <baruch@ev-en.org>
425 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
426 and removal of commented out code.
428 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
430 * insetbib.C (callback): Update citations if the key has changed.
432 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
434 * insetbib.C (InsetBibKey): Better computation of default key.
435 (getScreenLabel) Show both the key and the label.
436 (getBibLabel): New method.
437 (callback): Force a redraw if the inset have been changed.
439 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
441 * insetref.C (getType, getName): Move methods from
442 src/frontends/xforms/FormRef.C.
444 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
446 * insettabular.C: Various improvements (use only one dummy position).
448 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
450 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
451 par->bibkey->width. This fixes the crashes when running without
452 gui or when having included documents.
454 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
456 * insetcommand.C (getAsString, setFromString): Cleanup.
458 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
460 * insetref.C: Add the array InsetRef::types that contains
461 information about all supported reference types.
463 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
465 * lyxinset.h: remove trailing comma in enum.
467 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
469 * insettext.C: kill LyXBell.