1 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
4 * insetexternal.C: set view on Clone. Add _ to private members.
6 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * insettext.C (InsetText): fix new
9 (InsetText): reindent some, simplify deletion of par list
10 (clear): simplify deletion of par list, fix new
11 (SetParagraphData): simplify deletion of par list
13 * insettabular.[Ch] (getLabelList): implement new method
15 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17 * lyxinset.h: do not include gettext.h...
29 * inseturl.C: ... and do it here instead
31 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
35 * insettext.[Ch] (getLabelList): add std:: on vector<string>
37 * insetcollapsable.[Ch] (getLabelList): implement
39 * insettext.[Ch] (getLabelList): implement
41 * insettext.h: reindent
43 * insettabular.h: make tabular a scoped_ptr
45 * insettext.C (init): adjust for cursor_visible
46 (ToggleInsetCursor): constify asc and desc, font, adjust for
48 (ShowInsetCursor): constify asc and desc, font, adjust for
50 (HideInsetCursor): adjust for cursor_visible
52 * insettabular.C: reindent some
53 (InsetTabular): adjust for scoped_ptr and cursor_visible
55 (~InsetTabular): delete delete
56 (Clone): adjust for scoped_ptr
57 (Read): constify old_format, adjust for scoped_ptr, move init of
59 (draw): constify tx, localize loop vars.
60 some other localization of variables, remove double initilizatons.
62 * insetfoot.C: remove using std::ostream, add ostream where needed
64 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
66 * lyxinset.h: some reindentaion, use initializer list for
68 UpdatableInset: make cursor_visible a private var add
69 public isCursorVisible(), add protected toggleCursorVisible() and
70 proctected setCursorVisible(bool), make scroll call the Inset::scroll
72 * insettoc.C: remvoe using decl
73 (getScreenLabel): make cmdname donst
76 (Ascii): don't use endl
78 * insetfootlike.C: remove using decl at file scope and add std::
80 * insetmarginal.C: ditto
82 * insetfoot.C: some reformatting
84 * insetfloat.C (InsetButtonRelease): adjust the hit area
86 * insetert.C (SetFont): some reformatting
88 * insetcollapsable.C: some reformatting and constification
90 * insetcollapsable.h: some reformatting
96 2001-03-30 Juergen Vigna <jug@sad.it>
98 * insetcollapsable.h: changen *inset to be a InsetText inset.
100 * some files: changed to reflect the above change.
102 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
104 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
105 InsetExternal::Params.
106 Added operator==() and operator!=() for the Params struct.
108 2001-03-29 Juergen Vigna <jug@sad.it>
110 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
113 * insetminipage.C: removed widthp_ and all it's functions and changed
114 to use new %-lengths of LyXLength.
116 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
118 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
120 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
122 * insetgraphicsParams.C (operator!=): new function, needed by the
123 ControlGraphics class.
125 2001-03-28 Juergen Vigna <jug@sad.it>
127 * insettext.C (InsetButtonPress): only enter !inset if button == 2
128 (checkAndActivateInset): don't use the values returned from
129 call to bv->checkInsetHit.
131 * insetminipage.C (Clone): set special minipage values.
133 * insetcollapsable.C (draw): changed to draw the button in the
134 upper left corner outside the textinset.
135 (ascent): changed because of different drawing
139 (InsetButtonPress): ditto
140 (InsetButtonRelease): ditto
141 (InsetMotionNotify): ditto
143 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
145 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
149 2001-03-26 Juergen Vigna <jug@sad.it>
151 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
153 * insettext.C (ShowInsetDialog): implemented above function.
155 * insettabular.C (ShowInsetDialog): ditto
157 * insetminipage.C (ShowInsetDialog): ditto
159 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
161 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
162 InsetInclude::Params. Don't store a buffer * in Params. Store the
163 master file name instead.
165 2001-03-23 Juergen Vigna <jug@sad.it>
167 * insetcollapsable.C (InsetMotionNotify):
168 (InsetButtonRelease):
169 (InsetButtonPress): fixed y-offset (minipages).
171 * insettext.C (draw): force a FULL update if cleared == true.
173 * insetcollapsable.C (draw): Lars forgotten entry for changing this
174 routine to draw the minipages on its position-flag.
175 (InsetInInsetY): give back the right y position, because of minipage
178 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
181 * insetfloat.C (DocBook): docbook export code.
183 2001-03-22 Juergen Vigna <jug@sad.it>
185 * insetminipage.C (getMaxWidth): added function to set the drawing
187 (Read): should work now!
189 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
190 if we create a new inset.
192 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
194 * figinset.C (fl_set_preemptive_callback): moved definition outside
197 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
199 * insetminipage.C (Read): prepare for reading of minipage arguments.
201 2001-03-18 Baruch Even <baruch@lyx.org>
203 * insetgraphics.C: Minor cleanups of the comments and code.
205 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
207 * insetminipage.C (InsetMinipage): default to not collapsed
209 2001-03-16 Juergen Vigna <jug@sad.it>
211 * insetminipage.C (width): modified with to be a string
212 (widthp): added widthp (for % width) support functions.
213 (InsetButtonRelease): added to open the options dialog on button==3.
214 (~InsetMinipage): added to hide the dialog.
216 * insetminipage.h: added hideDialog signal
218 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
220 * insetminipage.h: change the order or Position to match
221 LyXParagraph::MINIPAGE_ALIGNMENT
223 * several files: remvoe CXX_WORKING_NAMESPACES
225 * ExternalTemplate.h: noncopyable is in namespace boost
226 * insetinclude.h: ditto
227 * insetcommand.h: ditto
229 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
231 * insettext.C (Edit): #else# -> #else.
232 * insettoc.C: added using directive.
234 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
236 * insetminipage.h: add pos, inner_pos, width and height. + getters
237 and setters for all of them.
239 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
241 * insetinclude.C (Latex): Do not exit when the textclass of the
242 included file differ from the textclass of the parent file.
244 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
246 * ExternalTemplate.C (read): the reading of external insets now checks
247 for \end_inset and removes it form the input stream.
249 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
251 * ExternalTemplate.h:
252 * ExternalTemplate.C:
254 * insetexternal.C: move form to GUII
256 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
259 * insetinclude.C: add InsetIncludeParams, use
260 composition rather than derivation of InsetCommand
262 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
264 * insettoc.C (Ascii): use the Buffer typedefs
266 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
268 * insettoc.C (Ascii): implement for dynamic number of lists
270 * insetcaption.[Ch]: update from new_insets branch
271 * insetfloat.[Ch]: ditto
273 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
276 * figinset.C: use new File Dialog
278 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
280 * insettext.C: changes becuase of ParagraphParameters.
282 2001-02-28 Baruch Even <baruch@ev-en.org>
284 * insetgraphics.C (updateInset): Changed due to the change in
287 2001-02-26 Juergen Vigna <jug@sad.it>
289 * insettext.C (SetFont): Set Undo only if we have selection (as it is
292 2001-02-23 Juergen Vigna <jug@sad.it>
294 * insettext.C (draw): some small repainting fixes.
295 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
297 * inset.C (LocalDispatch): changed action to be a kb_action (as it
298 should be) and not an int.
300 * insettabular.C (LocalDispatch): ditto
302 * insettext.C (LocalDispatch): ditto
304 * insetcollapsable.C (LocalDispatch): ditto
306 2001-02-22 Juergen Vigna <jug@sad.it>
308 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
309 DISPATCH it and we don't have a locking_inset.
311 2001-02-21 Baruch Even <baruch@ev-en.org>
313 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
314 instead of GraphicsCacheItem *.
316 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
318 * insetcollapsable.C (getLyXText): add const qualifier to second
321 2001-02-22 Juergen Vigna <jug@sad.it>
323 * insettext.C (getLyXText): honor the recursive parameter.
324 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
326 * inset.C (getLyXText): added bool recursive parameter.
328 * insettext.C (SetUpdateStatus): or the update codes.
329 (draw): check need_update with &.
330 (InsetButtonPress): set no_selection to not put a selection when
331 entering an inset and it is redraws in another spot.
333 * insettext.h: made need_update an int.
335 2001-02-20 Baruch Even <baruch@ev-en.org>
338 * insetgraphisc.C: Changed to use better semantics when loading images
339 for inline view. Now it doesn't keep the pixmap itself but it's holder.
341 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
345 * insetgraphics.C: change name of "hide" signal to "hideDialog",
346 consistent with InsetTabular.
348 2001-02-19 Juergen Vigna <jug@sad.it>
350 * insettabular.C (LocalDispatch): implement PAGE up/down.
352 * insettext.C (draw): clear all of it on need_update==INIT too!
354 * insettabular.C (InsetUnlock): always clear the selection.
356 * inset.C (scroll): normally we only want to scroll the inset until
357 it is fully visible so if top_x + offset > 20 then just set scx to 0.
359 2001-02-14 Juergen Vigna <jug@sad.it>
361 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
362 (resetPos): fixed scroll behaviour.
363 (LocalDispatch): do an update if moving cursor inside a table cell
364 requests a scroll of the tabular.
366 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
368 * insettext.C (textWidth): constify local var
370 * insettabular.C: small cleanup.
372 * insetfoot.C (Latex): constify local var
374 * insetcollapsable.C: small cleanup.
376 * figinset.C (runqueue): use compare instead of strcmp
378 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
381 * insetinfo.C: remove cruft
383 2001-02-14 Juergen Vigna <jug@sad.it>
385 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
387 2001-02-13 Juergen Vigna <jug@sad.it>
389 * insettext.C (InsertInset): don't move left (is this right?)
391 * insettabular.C (LocalDispatch): use of the no_draw variable
393 * insettabular.h: new no_draw variable to stop redraw
395 * insettabular.C (TabularFeatures): fixed update for alignment change
397 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
401 * insetbib.C: move dialogs to frontends/
403 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
405 * insettext.C (LocalDispatch): Restore the language if the inset
408 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
410 * insettext.C (moveRightIntern): Update the selection cursor.
411 (moveLeftIntern): Ditto.
413 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
415 * Makefile.am: remove BoundingBox.h
417 * BoundingBox.h: removed
419 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
421 * insettext.C (LocalDispatch): Update selection cursor when moving
423 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
424 (moveLeftIntern): Ditto.
426 2001-02-05 Baruch Even <baruch.even@writeme.com>
428 * insetgraphics.C: Updated automatic image conversion, it now goes into
429 temporary directory instead of with the image itself.
431 2001-01-21 Baruch Even <baruch@ev-en.org>
433 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
434 to EPS or PNG when needed (support bitmap graphics).
436 2000-11-02 Baruch Even <baruch@ev-en.org>
439 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
440 and removal of commented out code.
442 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
444 * insetbib.C (callback): Update citations if the key has changed.
446 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
448 * insetbib.C (InsetBibKey): Better computation of default key.
449 (getScreenLabel) Show both the key and the label.
450 (getBibLabel): New method.
451 (callback): Force a redraw if the inset have been changed.
453 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
455 * insetref.C (getType, getName): Move methods from
456 src/frontends/xforms/FormRef.C.
458 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
460 * insettabular.C: Various improvements (use only one dummy position).
462 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
464 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
465 par->bibkey->width. This fixes the crashes when running without
466 gui or when having included documents.
468 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
470 * insetcommand.C (getAsString, setFromString): Cleanup.
472 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
474 * insetref.C: Add the array InsetRef::types that contains
475 information about all supported reference types.
477 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
479 * lyxinset.h: remove trailing comma in enum.
481 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
483 * insettext.C: kill LyXBell.