1 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insettext.C (init): remvoe leftovers from cursor_visible change
5 (LocalDispatch): dispatch LFUN_MESSAGE
7 * insettabular.C (InsetTabular): remove leftovers from
8 cursor_visible, and scoped_ptr changes
11 * insetcollapsable.C (draw): use c++ cast
13 * ExternalTemplate.h: inherit privaely from noncopyable
14 * insetcommand.h: ditto
15 * insetinclude.h: ditto
17 2001-04-16 Allan Rae <rae@lyx.org>
21 * insettabular.C (setPos):
22 * insetminipage.C (Read):
23 * insetfloat.C (placement):
24 * insetcaption.C (Ascii, DocBook):
25 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
26 an unrecognised preprocessor directive. So ensure they're wrapped.
28 2001-04-13 Juergen Vigna <jug@sad.it>
30 * insettext.C: tried to avoid unneeded redraws.
31 (doClearArea): return true also if I need a FULL|INIT redraw.
33 * insettabular.C: tried to avoid unneeded redraws. Still one
34 problem with scrolling remains (resetPos).
35 (doClearArea): return true also if I need a FULL|INIT redraw.
37 * lyxinset.h: changed the scroll() function behaviour a bit.
38 Added nodraw() function so that I can block unneeded redraws.
39 Implemented the above 2 functions correctly in InsetText,
40 InsetTabular and InsetCollapsable. Now only the topmost Inset
41 owner is scrolled (as it should be) if a child inset requests this!
43 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
46 * insetexternal.C: set view on Clone. Add _ to private members.
48 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
50 * insettext.C (InsetText): fix new
51 (InsetText): reindent some, simplify deletion of par list
52 (clear): simplify deletion of par list, fix new
53 (SetParagraphData): simplify deletion of par list
55 * insettabular.[Ch] (getLabelList): implement new method
57 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
59 * lyxinset.h: do not include gettext.h...
71 * inseturl.C: ... and do it here instead
73 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
75 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
77 * insettext.[Ch] (getLabelList): add std:: on vector<string>
79 * insetcollapsable.[Ch] (getLabelList): implement
81 * insettext.[Ch] (getLabelList): implement
83 * insettext.h: reindent
85 * insettabular.h: make tabular a scoped_ptr
87 * insettext.C (init): adjust for cursor_visible
88 (ToggleInsetCursor): constify asc and desc, font, adjust for
90 (ShowInsetCursor): constify asc and desc, font, adjust for
92 (HideInsetCursor): adjust for cursor_visible
94 * insettabular.C: reindent some
95 (InsetTabular): adjust for scoped_ptr and cursor_visible
97 (~InsetTabular): delete delete
98 (Clone): adjust for scoped_ptr
99 (Read): constify old_format, adjust for scoped_ptr, move init of
101 (draw): constify tx, localize loop vars.
102 some other localization of variables, remove double initilizatons.
104 * insetfoot.C: remove using std::ostream, add ostream where needed
106 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
108 * lyxinset.h: some reindentaion, use initializer list for
110 UpdatableInset: make cursor_visible a private var add
111 public isCursorVisible(), add protected toggleCursorVisible() and
112 proctected setCursorVisible(bool), make scroll call the Inset::scroll
114 * insettoc.C: remvoe using decl
115 (getScreenLabel): make cmdname donst
118 (Ascii): don't use endl
120 * insetfootlike.C: remove using decl at file scope and add std::
122 * insetmarginal.C: ditto
124 * insetfoot.C: some reformatting
126 * insetfloat.C (InsetButtonRelease): adjust the hit area
128 * insetert.C (SetFont): some reformatting
130 * insetcollapsable.C: some reformatting and constification
131 (Clone): comment out.
132 * insetcollapsable.h: some reformatting
133 (Clone): comment out.
138 2001-03-30 Juergen Vigna <jug@sad.it>
140 * insetcollapsable.h: changen *inset to be a InsetText inset.
142 * some files: changed to reflect the above change.
144 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
146 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
147 InsetExternal::Params.
148 Added operator==() and operator!=() for the Params struct.
150 2001-03-29 Juergen Vigna <jug@sad.it>
152 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
155 * insetminipage.C: removed widthp_ and all it's functions and changed
156 to use new %-lengths of LyXLength.
158 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
160 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
162 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
164 * insetgraphicsParams.C (operator!=): new function, needed by the
165 ControlGraphics class.
167 2001-03-28 Juergen Vigna <jug@sad.it>
169 * insettext.C (InsetButtonPress): only enter !inset if button == 2
170 (checkAndActivateInset): don't use the values returned from
171 call to bv->checkInsetHit.
173 * insetminipage.C (Clone): set special minipage values.
175 * insetcollapsable.C (draw): changed to draw the button in the
176 upper left corner outside the textinset.
177 (ascent): changed because of different drawing
181 (InsetButtonPress): ditto
182 (InsetButtonRelease): ditto
183 (InsetMotionNotify): ditto
185 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
187 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
191 2001-03-26 Juergen Vigna <jug@sad.it>
193 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
195 * insettext.C (ShowInsetDialog): implemented above function.
197 * insettabular.C (ShowInsetDialog): ditto
199 * insetminipage.C (ShowInsetDialog): ditto
201 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
203 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
204 InsetInclude::Params. Don't store a buffer * in Params. Store the
205 master file name instead.
207 2001-03-23 Juergen Vigna <jug@sad.it>
209 * insetcollapsable.C (InsetMotionNotify):
210 (InsetButtonRelease):
211 (InsetButtonPress): fixed y-offset (minipages).
213 * insettext.C (draw): force a FULL update if cleared == true.
215 * insetcollapsable.C (draw): Lars forgotten entry for changing this
216 routine to draw the minipages on its position-flag.
217 (InsetInInsetY): give back the right y position, because of minipage
220 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
223 * insetfloat.C (DocBook): docbook export code.
225 2001-03-22 Juergen Vigna <jug@sad.it>
227 * insetminipage.C (getMaxWidth): added function to set the drawing
229 (Read): should work now!
231 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
232 if we create a new inset.
234 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
236 * figinset.C (fl_set_preemptive_callback): moved definition outside
239 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
241 * insetminipage.C (Read): prepare for reading of minipage arguments.
243 2001-03-18 Baruch Even <baruch@lyx.org>
245 * insetgraphics.C: Minor cleanups of the comments and code.
247 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
249 * insetminipage.C (InsetMinipage): default to not collapsed
251 2001-03-16 Juergen Vigna <jug@sad.it>
253 * insetminipage.C (width): modified with to be a string
254 (widthp): added widthp (for % width) support functions.
255 (InsetButtonRelease): added to open the options dialog on button==3.
256 (~InsetMinipage): added to hide the dialog.
258 * insetminipage.h: added hideDialog signal
260 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
262 * insetminipage.h: change the order or Position to match
263 LyXParagraph::MINIPAGE_ALIGNMENT
265 * several files: remvoe CXX_WORKING_NAMESPACES
267 * ExternalTemplate.h: noncopyable is in namespace boost
268 * insetinclude.h: ditto
269 * insetcommand.h: ditto
271 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
273 * insettext.C (Edit): #else# -> #else.
274 * insettoc.C: added using directive.
276 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
278 * insetminipage.h: add pos, inner_pos, width and height. + getters
279 and setters for all of them.
281 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
283 * insetinclude.C (Latex): Do not exit when the textclass of the
284 included file differ from the textclass of the parent file.
286 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
288 * ExternalTemplate.C (read): the reading of external insets now checks
289 for \end_inset and removes it form the input stream.
291 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
293 * ExternalTemplate.h:
294 * ExternalTemplate.C:
296 * insetexternal.C: move form to GUII
298 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
301 * insetinclude.C: add InsetIncludeParams, use
302 composition rather than derivation of InsetCommand
304 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
306 * insettoc.C (Ascii): use the Buffer typedefs
308 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
310 * insettoc.C (Ascii): implement for dynamic number of lists
312 * insetcaption.[Ch]: update from new_insets branch
313 * insetfloat.[Ch]: ditto
315 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
318 * figinset.C: use new File Dialog
320 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
322 * insettext.C: changes becuase of ParagraphParameters.
324 2001-02-28 Baruch Even <baruch@ev-en.org>
326 * insetgraphics.C (updateInset): Changed due to the change in
329 2001-02-26 Juergen Vigna <jug@sad.it>
331 * insettext.C (SetFont): Set Undo only if we have selection (as it is
334 2001-02-23 Juergen Vigna <jug@sad.it>
336 * insettext.C (draw): some small repainting fixes.
337 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
339 * inset.C (LocalDispatch): changed action to be a kb_action (as it
340 should be) and not an int.
342 * insettabular.C (LocalDispatch): ditto
344 * insettext.C (LocalDispatch): ditto
346 * insetcollapsable.C (LocalDispatch): ditto
348 2001-02-22 Juergen Vigna <jug@sad.it>
350 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
351 DISPATCH it and we don't have a locking_inset.
353 2001-02-21 Baruch Even <baruch@ev-en.org>
355 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
356 instead of GraphicsCacheItem *.
358 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
360 * insetcollapsable.C (getLyXText): add const qualifier to second
363 2001-02-22 Juergen Vigna <jug@sad.it>
365 * insettext.C (getLyXText): honor the recursive parameter.
366 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
368 * inset.C (getLyXText): added bool recursive parameter.
370 * insettext.C (SetUpdateStatus): or the update codes.
371 (draw): check need_update with &.
372 (InsetButtonPress): set no_selection to not put a selection when
373 entering an inset and it is redraws in another spot.
375 * insettext.h: made need_update an int.
377 2001-02-20 Baruch Even <baruch@ev-en.org>
380 * insetgraphisc.C: Changed to use better semantics when loading images
381 for inline view. Now it doesn't keep the pixmap itself but it's holder.
383 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
387 * insetgraphics.C: change name of "hide" signal to "hideDialog",
388 consistent with InsetTabular.
390 2001-02-19 Juergen Vigna <jug@sad.it>
392 * insettabular.C (LocalDispatch): implement PAGE up/down.
394 * insettext.C (draw): clear all of it on need_update==INIT too!
396 * insettabular.C (InsetUnlock): always clear the selection.
398 * inset.C (scroll): normally we only want to scroll the inset until
399 it is fully visible so if top_x + offset > 20 then just set scx to 0.
401 2001-02-14 Juergen Vigna <jug@sad.it>
403 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
404 (resetPos): fixed scroll behaviour.
405 (LocalDispatch): do an update if moving cursor inside a table cell
406 requests a scroll of the tabular.
408 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
410 * insettext.C (textWidth): constify local var
412 * insettabular.C: small cleanup.
414 * insetfoot.C (Latex): constify local var
416 * insetcollapsable.C: small cleanup.
418 * figinset.C (runqueue): use compare instead of strcmp
420 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
423 * insetinfo.C: remove cruft
425 2001-02-14 Juergen Vigna <jug@sad.it>
427 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
429 2001-02-13 Juergen Vigna <jug@sad.it>
431 * insettext.C (InsertInset): don't move left (is this right?)
433 * insettabular.C (LocalDispatch): use of the no_draw variable
435 * insettabular.h: new no_draw variable to stop redraw
437 * insettabular.C (TabularFeatures): fixed update for alignment change
439 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
443 * insetbib.C: move dialogs to frontends/
445 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
447 * insettext.C (LocalDispatch): Restore the language if the inset
450 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
452 * insettext.C (moveRightIntern): Update the selection cursor.
453 (moveLeftIntern): Ditto.
455 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
457 * Makefile.am: remove BoundingBox.h
459 * BoundingBox.h: removed
461 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
463 * insettext.C (LocalDispatch): Update selection cursor when moving
465 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
466 (moveLeftIntern): Ditto.
468 2001-02-05 Baruch Even <baruch.even@writeme.com>
470 * insetgraphics.C: Updated automatic image conversion, it now goes into
471 temporary directory instead of with the image itself.
473 2001-01-21 Baruch Even <baruch@ev-en.org>
475 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
476 to EPS or PNG when needed (support bitmap graphics).
478 2000-11-02 Baruch Even <baruch@ev-en.org>
481 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
482 and removal of commented out code.
484 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
486 * insetbib.C (callback): Update citations if the key has changed.
488 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
490 * insetbib.C (InsetBibKey): Better computation of default key.
491 (getScreenLabel) Show both the key and the label.
492 (getBibLabel): New method.
493 (callback): Force a redraw if the inset have been changed.
495 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
497 * insetref.C (getType, getName): Move methods from
498 src/frontends/xforms/FormRef.C.
500 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
502 * insettabular.C: Various improvements (use only one dummy position).
504 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
506 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
507 par->bibkey->width. This fixes the crashes when running without
508 gui or when having included documents.
510 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
512 * insetcommand.C (getAsString, setFromString): Cleanup.
514 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
516 * insetref.C: Add the array InsetRef::types that contains
517 information about all supported reference types.
519 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
521 * lyxinset.h: remove trailing comma in enum.
523 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
525 * insettext.C: kill LyXBell.