1 2001-04-13 Juergen Vigna <jug@sad.it>
3 * insettext.C: tried to avoid unneeded redraws.
4 (doClearArea): return true also if I need a FULL|INIT redraw.
6 * insettabular.C: tried to avoid unneeded redraws. Still one
7 problem with scrolling remains (resetPos).
8 (doClearArea): return true also if I need a FULL|INIT redraw.
10 * lyxinset.h: changed the scroll() function behaviour a bit.
11 Added nodraw() function so that I can block unneeded redraws.
12 Implemented the above 2 functions correctly in InsetText,
13 InsetTabular and InsetCollapsable. Now only the topmost Inset
14 owner is scrolled (as it should be) if a child inset requests this!
16 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
19 * insetexternal.C: set view on Clone. Add _ to private members.
21 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
23 * insettext.C (InsetText): fix new
24 (InsetText): reindent some, simplify deletion of par list
25 (clear): simplify deletion of par list, fix new
26 (SetParagraphData): simplify deletion of par list
28 * insettabular.[Ch] (getLabelList): implement new method
30 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
32 * lyxinset.h: do not include gettext.h...
44 * inseturl.C: ... and do it here instead
46 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
48 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
50 * insettext.[Ch] (getLabelList): add std:: on vector<string>
52 * insetcollapsable.[Ch] (getLabelList): implement
54 * insettext.[Ch] (getLabelList): implement
56 * insettext.h: reindent
58 * insettabular.h: make tabular a scoped_ptr
60 * insettext.C (init): adjust for cursor_visible
61 (ToggleInsetCursor): constify asc and desc, font, adjust for
63 (ShowInsetCursor): constify asc and desc, font, adjust for
65 (HideInsetCursor): adjust for cursor_visible
67 * insettabular.C: reindent some
68 (InsetTabular): adjust for scoped_ptr and cursor_visible
70 (~InsetTabular): delete delete
71 (Clone): adjust for scoped_ptr
72 (Read): constify old_format, adjust for scoped_ptr, move init of
74 (draw): constify tx, localize loop vars.
75 some other localization of variables, remove double initilizatons.
77 * insetfoot.C: remove using std::ostream, add ostream where needed
79 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * lyxinset.h: some reindentaion, use initializer list for
83 UpdatableInset: make cursor_visible a private var add
84 public isCursorVisible(), add protected toggleCursorVisible() and
85 proctected setCursorVisible(bool), make scroll call the Inset::scroll
87 * insettoc.C: remvoe using decl
88 (getScreenLabel): make cmdname donst
91 (Ascii): don't use endl
93 * insetfootlike.C: remove using decl at file scope and add std::
95 * insetmarginal.C: ditto
97 * insetfoot.C: some reformatting
99 * insetfloat.C (InsetButtonRelease): adjust the hit area
101 * insetert.C (SetFont): some reformatting
103 * insetcollapsable.C: some reformatting and constification
104 (Clone): comment out.
105 * insetcollapsable.h: some reformatting
106 (Clone): comment out.
111 2001-03-30 Juergen Vigna <jug@sad.it>
113 * insetcollapsable.h: changen *inset to be a InsetText inset.
115 * some files: changed to reflect the above change.
117 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
119 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
120 InsetExternal::Params.
121 Added operator==() and operator!=() for the Params struct.
123 2001-03-29 Juergen Vigna <jug@sad.it>
125 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
128 * insetminipage.C: removed widthp_ and all it's functions and changed
129 to use new %-lengths of LyXLength.
131 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
133 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
135 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
137 * insetgraphicsParams.C (operator!=): new function, needed by the
138 ControlGraphics class.
140 2001-03-28 Juergen Vigna <jug@sad.it>
142 * insettext.C (InsetButtonPress): only enter !inset if button == 2
143 (checkAndActivateInset): don't use the values returned from
144 call to bv->checkInsetHit.
146 * insetminipage.C (Clone): set special minipage values.
148 * insetcollapsable.C (draw): changed to draw the button in the
149 upper left corner outside the textinset.
150 (ascent): changed because of different drawing
154 (InsetButtonPress): ditto
155 (InsetButtonRelease): ditto
156 (InsetMotionNotify): ditto
158 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
160 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
164 2001-03-26 Juergen Vigna <jug@sad.it>
166 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
168 * insettext.C (ShowInsetDialog): implemented above function.
170 * insettabular.C (ShowInsetDialog): ditto
172 * insetminipage.C (ShowInsetDialog): ditto
174 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
176 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
177 InsetInclude::Params. Don't store a buffer * in Params. Store the
178 master file name instead.
180 2001-03-23 Juergen Vigna <jug@sad.it>
182 * insetcollapsable.C (InsetMotionNotify):
183 (InsetButtonRelease):
184 (InsetButtonPress): fixed y-offset (minipages).
186 * insettext.C (draw): force a FULL update if cleared == true.
188 * insetcollapsable.C (draw): Lars forgotten entry for changing this
189 routine to draw the minipages on its position-flag.
190 (InsetInInsetY): give back the right y position, because of minipage
193 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
196 * insetfloat.C (DocBook): docbook export code.
198 2001-03-22 Juergen Vigna <jug@sad.it>
200 * insetminipage.C (getMaxWidth): added function to set the drawing
202 (Read): should work now!
204 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
205 if we create a new inset.
207 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
209 * figinset.C (fl_set_preemptive_callback): moved definition outside
212 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
214 * insetminipage.C (Read): prepare for reading of minipage arguments.
216 2001-03-18 Baruch Even <baruch@lyx.org>
218 * insetgraphics.C: Minor cleanups of the comments and code.
220 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
222 * insetminipage.C (InsetMinipage): default to not collapsed
224 2001-03-16 Juergen Vigna <jug@sad.it>
226 * insetminipage.C (width): modified with to be a string
227 (widthp): added widthp (for % width) support functions.
228 (InsetButtonRelease): added to open the options dialog on button==3.
229 (~InsetMinipage): added to hide the dialog.
231 * insetminipage.h: added hideDialog signal
233 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
235 * insetminipage.h: change the order or Position to match
236 LyXParagraph::MINIPAGE_ALIGNMENT
238 * several files: remvoe CXX_WORKING_NAMESPACES
240 * ExternalTemplate.h: noncopyable is in namespace boost
241 * insetinclude.h: ditto
242 * insetcommand.h: ditto
244 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
246 * insettext.C (Edit): #else# -> #else.
247 * insettoc.C: added using directive.
249 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
251 * insetminipage.h: add pos, inner_pos, width and height. + getters
252 and setters for all of them.
254 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
256 * insetinclude.C (Latex): Do not exit when the textclass of the
257 included file differ from the textclass of the parent file.
259 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
261 * ExternalTemplate.C (read): the reading of external insets now checks
262 for \end_inset and removes it form the input stream.
264 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
266 * ExternalTemplate.h:
267 * ExternalTemplate.C:
269 * insetexternal.C: move form to GUII
271 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
274 * insetinclude.C: add InsetIncludeParams, use
275 composition rather than derivation of InsetCommand
277 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
279 * insettoc.C (Ascii): use the Buffer typedefs
281 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
283 * insettoc.C (Ascii): implement for dynamic number of lists
285 * insetcaption.[Ch]: update from new_insets branch
286 * insetfloat.[Ch]: ditto
288 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
291 * figinset.C: use new File Dialog
293 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
295 * insettext.C: changes becuase of ParagraphParameters.
297 2001-02-28 Baruch Even <baruch@ev-en.org>
299 * insetgraphics.C (updateInset): Changed due to the change in
302 2001-02-26 Juergen Vigna <jug@sad.it>
304 * insettext.C (SetFont): Set Undo only if we have selection (as it is
307 2001-02-23 Juergen Vigna <jug@sad.it>
309 * insettext.C (draw): some small repainting fixes.
310 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
312 * inset.C (LocalDispatch): changed action to be a kb_action (as it
313 should be) and not an int.
315 * insettabular.C (LocalDispatch): ditto
317 * insettext.C (LocalDispatch): ditto
319 * insetcollapsable.C (LocalDispatch): ditto
321 2001-02-22 Juergen Vigna <jug@sad.it>
323 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
324 DISPATCH it and we don't have a locking_inset.
326 2001-02-21 Baruch Even <baruch@ev-en.org>
328 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
329 instead of GraphicsCacheItem *.
331 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
333 * insetcollapsable.C (getLyXText): add const qualifier to second
336 2001-02-22 Juergen Vigna <jug@sad.it>
338 * insettext.C (getLyXText): honor the recursive parameter.
339 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
341 * inset.C (getLyXText): added bool recursive parameter.
343 * insettext.C (SetUpdateStatus): or the update codes.
344 (draw): check need_update with &.
345 (InsetButtonPress): set no_selection to not put a selection when
346 entering an inset and it is redraws in another spot.
348 * insettext.h: made need_update an int.
350 2001-02-20 Baruch Even <baruch@ev-en.org>
353 * insetgraphisc.C: Changed to use better semantics when loading images
354 for inline view. Now it doesn't keep the pixmap itself but it's holder.
356 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
360 * insetgraphics.C: change name of "hide" signal to "hideDialog",
361 consistent with InsetTabular.
363 2001-02-19 Juergen Vigna <jug@sad.it>
365 * insettabular.C (LocalDispatch): implement PAGE up/down.
367 * insettext.C (draw): clear all of it on need_update==INIT too!
369 * insettabular.C (InsetUnlock): always clear the selection.
371 * inset.C (scroll): normally we only want to scroll the inset until
372 it is fully visible so if top_x + offset > 20 then just set scx to 0.
374 2001-02-14 Juergen Vigna <jug@sad.it>
376 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
377 (resetPos): fixed scroll behaviour.
378 (LocalDispatch): do an update if moving cursor inside a table cell
379 requests a scroll of the tabular.
381 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
383 * insettext.C (textWidth): constify local var
385 * insettabular.C: small cleanup.
387 * insetfoot.C (Latex): constify local var
389 * insetcollapsable.C: small cleanup.
391 * figinset.C (runqueue): use compare instead of strcmp
393 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
396 * insetinfo.C: remove cruft
398 2001-02-14 Juergen Vigna <jug@sad.it>
400 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
402 2001-02-13 Juergen Vigna <jug@sad.it>
404 * insettext.C (InsertInset): don't move left (is this right?)
406 * insettabular.C (LocalDispatch): use of the no_draw variable
408 * insettabular.h: new no_draw variable to stop redraw
410 * insettabular.C (TabularFeatures): fixed update for alignment change
412 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
416 * insetbib.C: move dialogs to frontends/
418 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
420 * insettext.C (LocalDispatch): Restore the language if the inset
423 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
425 * insettext.C (moveRightIntern): Update the selection cursor.
426 (moveLeftIntern): Ditto.
428 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
430 * Makefile.am: remove BoundingBox.h
432 * BoundingBox.h: removed
434 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
436 * insettext.C (LocalDispatch): Update selection cursor when moving
438 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
439 (moveLeftIntern): Ditto.
441 2001-02-05 Baruch Even <baruch.even@writeme.com>
443 * insetgraphics.C: Updated automatic image conversion, it now goes into
444 temporary directory instead of with the image itself.
446 2001-01-21 Baruch Even <baruch@ev-en.org>
448 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
449 to EPS or PNG when needed (support bitmap graphics).
451 2000-11-02 Baruch Even <baruch@ev-en.org>
454 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
455 and removal of commented out code.
457 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
459 * insetbib.C (callback): Update citations if the key has changed.
461 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
463 * insetbib.C (InsetBibKey): Better computation of default key.
464 (getScreenLabel) Show both the key and the label.
465 (getBibLabel): New method.
466 (callback): Force a redraw if the inset have been changed.
468 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
470 * insetref.C (getType, getName): Move methods from
471 src/frontends/xforms/FormRef.C.
473 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
475 * insettabular.C: Various improvements (use only one dummy position).
477 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
479 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
480 par->bibkey->width. This fixes the crashes when running without
481 gui or when having included documents.
483 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
485 * insetcommand.C (getAsString, setFromString): Cleanup.
487 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
489 * insetref.C: Add the array InsetRef::types that contains
490 information about all supported reference types.
492 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
494 * lyxinset.h: remove trailing comma in enum.
496 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
498 * insettext.C: kill LyXBell.