1 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insettoc.C: hack to make listof algorithm work
5 2001-04-20 Juergen Vigna <jug@sad.it>
7 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
9 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11 * insetquotes.C (Latex): improve the guard against
12 unwanted !` and ?` ligatures. This should really be done in
13 another place (to catch all this ligatures at low-level).
15 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17 * insettext.C (init): remvoe leftovers from cursor_visible change
19 (LocalDispatch): dispatch LFUN_MESSAGE
21 * insettabular.C (InsetTabular): remove leftovers from
22 cursor_visible, and scoped_ptr changes
25 * insetcollapsable.C (draw): use c++ cast
27 * ExternalTemplate.h: inherit privaely from noncopyable
28 * insetcommand.h: ditto
29 * insetinclude.h: ditto
31 2001-04-16 Allan Rae <rae@lyx.org>
35 * insettabular.C (setPos):
36 * insetminipage.C (Read):
37 * insetfloat.C (placement):
38 * insetcaption.C (Ascii, DocBook):
39 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
40 an unrecognised preprocessor directive. So ensure they're wrapped.
42 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
45 * insetexternal.C: set view on Clone. Add _ to private members.
47 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * insettext.C (InsetText): fix new
50 (InsetText): reindent some, simplify deletion of par list
51 (clear): simplify deletion of par list, fix new
52 (SetParagraphData): simplify deletion of par list
54 * insettabular.[Ch] (getLabelList): implement new method
56 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
58 * lyxinset.h: do not include gettext.h...
70 * inseturl.C: ... and do it here instead
72 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
74 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
76 * insettext.[Ch] (getLabelList): add std:: on vector<string>
78 * insetcollapsable.[Ch] (getLabelList): implement
80 * insettext.[Ch] (getLabelList): implement
82 * insettext.h: reindent
84 * insettabular.h: make tabular a scoped_ptr
86 * insettext.C (init): adjust for cursor_visible
87 (ToggleInsetCursor): constify asc and desc, font, adjust for
89 (ShowInsetCursor): constify asc and desc, font, adjust for
91 (HideInsetCursor): adjust for cursor_visible
93 * insettabular.C: reindent some
94 (InsetTabular): adjust for scoped_ptr and cursor_visible
96 (~InsetTabular): delete delete
97 (Clone): adjust for scoped_ptr
98 (Read): constify old_format, adjust for scoped_ptr, move init of
100 (draw): constify tx, localize loop vars.
101 some other localization of variables, remove double initilizatons.
103 * insetfoot.C: remove using std::ostream, add ostream where needed
105 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
107 * lyxinset.h: some reindentaion, use initializer list for
109 UpdatableInset: make cursor_visible a private var add
110 public isCursorVisible(), add protected toggleCursorVisible() and
111 proctected setCursorVisible(bool), make scroll call the Inset::scroll
113 * insettoc.C: remvoe using decl
114 (getScreenLabel): make cmdname donst
117 (Ascii): don't use endl
119 * insetfootlike.C: remove using decl at file scope and add std::
121 * insetmarginal.C: ditto
123 * insetfoot.C: some reformatting
125 * insetfloat.C (InsetButtonRelease): adjust the hit area
127 * insetert.C (SetFont): some reformatting
129 * insetcollapsable.C: some reformatting and constification
130 (Clone): comment out.
131 * insetcollapsable.h: some reformatting
132 (Clone): comment out.
137 2001-03-30 Juergen Vigna <jug@sad.it>
139 * insetcollapsable.h: changen *inset to be a InsetText inset.
141 * some files: changed to reflect the above change.
143 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
145 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
146 InsetExternal::Params.
147 Added operator==() and operator!=() for the Params struct.
149 2001-03-29 Juergen Vigna <jug@sad.it>
151 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
154 * insetminipage.C: removed widthp_ and all it's functions and changed
155 to use new %-lengths of LyXLength.
157 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
159 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
161 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
163 * insetgraphicsParams.C (operator!=): new function, needed by the
164 ControlGraphics class.
166 2001-03-28 Juergen Vigna <jug@sad.it>
168 * insettext.C (InsetButtonPress): only enter !inset if button == 2
169 (checkAndActivateInset): don't use the values returned from
170 call to bv->checkInsetHit.
172 * insetminipage.C (Clone): set special minipage values.
174 * insetcollapsable.C (draw): changed to draw the button in the
175 upper left corner outside the textinset.
176 (ascent): changed because of different drawing
180 (InsetButtonPress): ditto
181 (InsetButtonRelease): ditto
182 (InsetMotionNotify): ditto
184 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
186 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
190 2001-03-26 Juergen Vigna <jug@sad.it>
192 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
194 * insettext.C (ShowInsetDialog): implemented above function.
196 * insettabular.C (ShowInsetDialog): ditto
198 * insetminipage.C (ShowInsetDialog): ditto
200 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
202 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
203 InsetInclude::Params. Don't store a buffer * in Params. Store the
204 master file name instead.
206 2001-03-23 Juergen Vigna <jug@sad.it>
208 * insetcollapsable.C (InsetMotionNotify):
209 (InsetButtonRelease):
210 (InsetButtonPress): fixed y-offset (minipages).
212 * insettext.C (draw): force a FULL update if cleared == true.
214 * insetcollapsable.C (draw): Lars forgotten entry for changing this
215 routine to draw the minipages on its position-flag.
216 (InsetInInsetY): give back the right y position, because of minipage
219 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
222 * insetfloat.C (DocBook): docbook export code.
224 2001-03-22 Juergen Vigna <jug@sad.it>
226 * insetminipage.C (getMaxWidth): added function to set the drawing
228 (Read): should work now!
230 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
231 if we create a new inset.
233 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
235 * figinset.C (fl_set_preemptive_callback): moved definition outside
238 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
240 * insetminipage.C (Read): prepare for reading of minipage arguments.
242 2001-03-18 Baruch Even <baruch@lyx.org>
244 * insetgraphics.C: Minor cleanups of the comments and code.
246 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
248 * insetminipage.C (InsetMinipage): default to not collapsed
250 2001-03-16 Juergen Vigna <jug@sad.it>
252 * insetminipage.C (width): modified with to be a string
253 (widthp): added widthp (for % width) support functions.
254 (InsetButtonRelease): added to open the options dialog on button==3.
255 (~InsetMinipage): added to hide the dialog.
257 * insetminipage.h: added hideDialog signal
259 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
261 * insetminipage.h: change the order or Position to match
262 LyXParagraph::MINIPAGE_ALIGNMENT
264 * several files: remvoe CXX_WORKING_NAMESPACES
266 * ExternalTemplate.h: noncopyable is in namespace boost
267 * insetinclude.h: ditto
268 * insetcommand.h: ditto
270 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
272 * insettext.C (Edit): #else# -> #else.
273 * insettoc.C: added using directive.
275 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
277 * insetminipage.h: add pos, inner_pos, width and height. + getters
278 and setters for all of them.
280 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
282 * insetinclude.C (Latex): Do not exit when the textclass of the
283 included file differ from the textclass of the parent file.
285 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
287 * ExternalTemplate.C (read): the reading of external insets now checks
288 for \end_inset and removes it form the input stream.
290 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
292 * ExternalTemplate.h:
293 * ExternalTemplate.C:
295 * insetexternal.C: move form to GUII
297 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
300 * insetinclude.C: add InsetIncludeParams, use
301 composition rather than derivation of InsetCommand
303 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
305 * insettoc.C (Ascii): use the Buffer typedefs
307 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
309 * insettoc.C (Ascii): implement for dynamic number of lists
311 * insetcaption.[Ch]: update from new_insets branch
312 * insetfloat.[Ch]: ditto
314 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
317 * figinset.C: use new File Dialog
319 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
321 * insettext.C: changes becuase of ParagraphParameters.
323 2001-02-28 Baruch Even <baruch@ev-en.org>
325 * insetgraphics.C (updateInset): Changed due to the change in
328 2001-02-26 Juergen Vigna <jug@sad.it>
330 * insettext.C (SetFont): Set Undo only if we have selection (as it is
333 2001-02-23 Juergen Vigna <jug@sad.it>
335 * insettext.C (draw): some small repainting fixes.
336 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
338 * inset.C (LocalDispatch): changed action to be a kb_action (as it
339 should be) and not an int.
341 * insettabular.C (LocalDispatch): ditto
343 * insettext.C (LocalDispatch): ditto
345 * insetcollapsable.C (LocalDispatch): ditto
347 2001-02-22 Juergen Vigna <jug@sad.it>
349 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
350 DISPATCH it and we don't have a locking_inset.
352 2001-02-21 Baruch Even <baruch@ev-en.org>
354 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
355 instead of GraphicsCacheItem *.
357 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
359 * insetcollapsable.C (getLyXText): add const qualifier to second
362 2001-02-22 Juergen Vigna <jug@sad.it>
364 * insettext.C (getLyXText): honor the recursive parameter.
365 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
367 * inset.C (getLyXText): added bool recursive parameter.
369 * insettext.C (SetUpdateStatus): or the update codes.
370 (draw): check need_update with &.
371 (InsetButtonPress): set no_selection to not put a selection when
372 entering an inset and it is redraws in another spot.
374 * insettext.h: made need_update an int.
376 2001-02-20 Baruch Even <baruch@ev-en.org>
379 * insetgraphisc.C: Changed to use better semantics when loading images
380 for inline view. Now it doesn't keep the pixmap itself but it's holder.
382 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
386 * insetgraphics.C: change name of "hide" signal to "hideDialog",
387 consistent with InsetTabular.
389 2001-02-19 Juergen Vigna <jug@sad.it>
391 * insettabular.C (LocalDispatch): implement PAGE up/down.
393 * insettext.C (draw): clear all of it on need_update==INIT too!
395 * insettabular.C (InsetUnlock): always clear the selection.
397 * inset.C (scroll): normally we only want to scroll the inset until
398 it is fully visible so if top_x + offset > 20 then just set scx to 0.
400 2001-02-14 Juergen Vigna <jug@sad.it>
402 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
403 (resetPos): fixed scroll behaviour.
404 (LocalDispatch): do an update if moving cursor inside a table cell
405 requests a scroll of the tabular.
407 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
409 * insettext.C (textWidth): constify local var
411 * insettabular.C: small cleanup.
413 * insetfoot.C (Latex): constify local var
415 * insetcollapsable.C: small cleanup.
417 * figinset.C (runqueue): use compare instead of strcmp
419 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
422 * insetinfo.C: remove cruft
424 2001-02-14 Juergen Vigna <jug@sad.it>
426 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
428 2001-02-13 Juergen Vigna <jug@sad.it>
430 * insettext.C (InsertInset): don't move left (is this right?)
432 * insettabular.C (LocalDispatch): use of the no_draw variable
434 * insettabular.h: new no_draw variable to stop redraw
436 * insettabular.C (TabularFeatures): fixed update for alignment change
438 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
442 * insetbib.C: move dialogs to frontends/
444 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
446 * insettext.C (LocalDispatch): Restore the language if the inset
449 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
451 * insettext.C (moveRightIntern): Update the selection cursor.
452 (moveLeftIntern): Ditto.
454 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
456 * Makefile.am: remove BoundingBox.h
458 * BoundingBox.h: removed
460 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
462 * insettext.C (LocalDispatch): Update selection cursor when moving
464 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
465 (moveLeftIntern): Ditto.
467 2001-02-05 Baruch Even <baruch.even@writeme.com>
469 * insetgraphics.C: Updated automatic image conversion, it now goes into
470 temporary directory instead of with the image itself.
472 2001-01-21 Baruch Even <baruch@ev-en.org>
474 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
475 to EPS or PNG when needed (support bitmap graphics).
477 2000-11-02 Baruch Even <baruch@ev-en.org>
480 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
481 and removal of commented out code.
483 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
485 * insetbib.C (callback): Update citations if the key has changed.
487 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
489 * insetbib.C (InsetBibKey): Better computation of default key.
490 (getScreenLabel) Show both the key and the label.
491 (getBibLabel): New method.
492 (callback): Force a redraw if the inset have been changed.
494 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
496 * insetref.C (getType, getName): Move methods from
497 src/frontends/xforms/FormRef.C.
499 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
501 * insettabular.C: Various improvements (use only one dummy position).
503 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
505 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
506 par->bibkey->width. This fixes the crashes when running without
507 gui or when having included documents.
509 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
511 * insetcommand.C (getAsString, setFromString): Cleanup.
513 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
515 * insetref.C: Add the array InsetRef::types that contains
516 information about all supported reference types.
518 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
520 * lyxinset.h: remove trailing comma in enum.
522 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
524 * insettext.C: kill LyXBell.