1 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insettext.C: remvoe !NEW_INSETS cruft
5 * insettabular.C: remove !NEW_INSETS cruft
7 * insetcollapsable.h: remove !NEW_INSETS cruft
9 * insetbib.C: remove !NEW_INSETS cruft
11 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13 * insettoc.C: hack to make listof algorithm work
15 2001-04-20 Juergen Vigna <jug@sad.it>
17 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
19 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
21 * insetquotes.C (Latex): improve the guard against
22 unwanted !` and ?` ligatures. This should really be done in
23 another place (to catch all this ligatures at low-level).
25 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
27 * insettext.C (init): remvoe leftovers from cursor_visible change
29 (LocalDispatch): dispatch LFUN_MESSAGE
31 * insettabular.C (InsetTabular): remove leftovers from
32 cursor_visible, and scoped_ptr changes
35 * insetcollapsable.C (draw): use c++ cast
37 * ExternalTemplate.h: inherit privaely from noncopyable
38 * insetcommand.h: ditto
39 * insetinclude.h: ditto
41 2001-04-16 Allan Rae <rae@lyx.org>
45 * insettabular.C (setPos):
46 * insetminipage.C (Read):
47 * insetfloat.C (placement):
48 * insetcaption.C (Ascii, DocBook):
49 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
50 an unrecognised preprocessor directive. So ensure they're wrapped.
52 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
55 * insetexternal.C: set view on Clone. Add _ to private members.
57 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * insettext.C (InsetText): fix new
60 (InsetText): reindent some, simplify deletion of par list
61 (clear): simplify deletion of par list, fix new
62 (SetParagraphData): simplify deletion of par list
64 * insettabular.[Ch] (getLabelList): implement new method
66 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
68 * lyxinset.h: do not include gettext.h...
80 * inseturl.C: ... and do it here instead
82 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
84 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
86 * insettext.[Ch] (getLabelList): add std:: on vector<string>
88 * insetcollapsable.[Ch] (getLabelList): implement
90 * insettext.[Ch] (getLabelList): implement
92 * insettext.h: reindent
94 * insettabular.h: make tabular a scoped_ptr
96 * insettext.C (init): adjust for cursor_visible
97 (ToggleInsetCursor): constify asc and desc, font, adjust for
99 (ShowInsetCursor): constify asc and desc, font, adjust for
101 (HideInsetCursor): adjust for cursor_visible
103 * insettabular.C: reindent some
104 (InsetTabular): adjust for scoped_ptr and cursor_visible
105 (InsetTabular): ditto
106 (~InsetTabular): delete delete
107 (Clone): adjust for scoped_ptr
108 (Read): constify old_format, adjust for scoped_ptr, move init of
110 (draw): constify tx, localize loop vars.
111 some other localization of variables, remove double initilizatons.
113 * insetfoot.C: remove using std::ostream, add ostream where needed
115 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
117 * lyxinset.h: some reindentaion, use initializer list for
119 UpdatableInset: make cursor_visible a private var add
120 public isCursorVisible(), add protected toggleCursorVisible() and
121 proctected setCursorVisible(bool), make scroll call the Inset::scroll
123 * insettoc.C: remvoe using decl
124 (getScreenLabel): make cmdname donst
127 (Ascii): don't use endl
129 * insetfootlike.C: remove using decl at file scope and add std::
131 * insetmarginal.C: ditto
133 * insetfoot.C: some reformatting
135 * insetfloat.C (InsetButtonRelease): adjust the hit area
137 * insetert.C (SetFont): some reformatting
139 * insetcollapsable.C: some reformatting and constification
140 (Clone): comment out.
141 * insetcollapsable.h: some reformatting
142 (Clone): comment out.
147 2001-03-30 Juergen Vigna <jug@sad.it>
149 * insetcollapsable.h: changen *inset to be a InsetText inset.
151 * some files: changed to reflect the above change.
153 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
155 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
156 InsetExternal::Params.
157 Added operator==() and operator!=() for the Params struct.
159 2001-03-29 Juergen Vigna <jug@sad.it>
161 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
164 * insetminipage.C: removed widthp_ and all it's functions and changed
165 to use new %-lengths of LyXLength.
167 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
169 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
171 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
173 * insetgraphicsParams.C (operator!=): new function, needed by the
174 ControlGraphics class.
176 2001-03-28 Juergen Vigna <jug@sad.it>
178 * insettext.C (InsetButtonPress): only enter !inset if button == 2
179 (checkAndActivateInset): don't use the values returned from
180 call to bv->checkInsetHit.
182 * insetminipage.C (Clone): set special minipage values.
184 * insetcollapsable.C (draw): changed to draw the button in the
185 upper left corner outside the textinset.
186 (ascent): changed because of different drawing
190 (InsetButtonPress): ditto
191 (InsetButtonRelease): ditto
192 (InsetMotionNotify): ditto
194 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
196 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
200 2001-03-26 Juergen Vigna <jug@sad.it>
202 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
204 * insettext.C (ShowInsetDialog): implemented above function.
206 * insettabular.C (ShowInsetDialog): ditto
208 * insetminipage.C (ShowInsetDialog): ditto
210 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
212 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
213 InsetInclude::Params. Don't store a buffer * in Params. Store the
214 master file name instead.
216 2001-03-23 Juergen Vigna <jug@sad.it>
218 * insetcollapsable.C (InsetMotionNotify):
219 (InsetButtonRelease):
220 (InsetButtonPress): fixed y-offset (minipages).
222 * insettext.C (draw): force a FULL update if cleared == true.
224 * insetcollapsable.C (draw): Lars forgotten entry for changing this
225 routine to draw the minipages on its position-flag.
226 (InsetInInsetY): give back the right y position, because of minipage
229 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
232 * insetfloat.C (DocBook): docbook export code.
234 2001-03-22 Juergen Vigna <jug@sad.it>
236 * insetminipage.C (getMaxWidth): added function to set the drawing
238 (Read): should work now!
240 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
241 if we create a new inset.
243 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
245 * figinset.C (fl_set_preemptive_callback): moved definition outside
248 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
250 * insetminipage.C (Read): prepare for reading of minipage arguments.
252 2001-03-18 Baruch Even <baruch@lyx.org>
254 * insetgraphics.C: Minor cleanups of the comments and code.
256 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
258 * insetminipage.C (InsetMinipage): default to not collapsed
260 2001-03-16 Juergen Vigna <jug@sad.it>
262 * insetminipage.C (width): modified with to be a string
263 (widthp): added widthp (for % width) support functions.
264 (InsetButtonRelease): added to open the options dialog on button==3.
265 (~InsetMinipage): added to hide the dialog.
267 * insetminipage.h: added hideDialog signal
269 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
271 * insetminipage.h: change the order or Position to match
272 LyXParagraph::MINIPAGE_ALIGNMENT
274 * several files: remvoe CXX_WORKING_NAMESPACES
276 * ExternalTemplate.h: noncopyable is in namespace boost
277 * insetinclude.h: ditto
278 * insetcommand.h: ditto
280 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
282 * insettext.C (Edit): #else# -> #else.
283 * insettoc.C: added using directive.
285 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
287 * insetminipage.h: add pos, inner_pos, width and height. + getters
288 and setters for all of them.
290 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
292 * insetinclude.C (Latex): Do not exit when the textclass of the
293 included file differ from the textclass of the parent file.
295 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
297 * ExternalTemplate.C (read): the reading of external insets now checks
298 for \end_inset and removes it form the input stream.
300 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
302 * ExternalTemplate.h:
303 * ExternalTemplate.C:
305 * insetexternal.C: move form to GUII
307 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
310 * insetinclude.C: add InsetIncludeParams, use
311 composition rather than derivation of InsetCommand
313 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
315 * insettoc.C (Ascii): use the Buffer typedefs
317 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
319 * insettoc.C (Ascii): implement for dynamic number of lists
321 * insetcaption.[Ch]: update from new_insets branch
322 * insetfloat.[Ch]: ditto
324 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
327 * figinset.C: use new File Dialog
329 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
331 * insettext.C: changes becuase of ParagraphParameters.
333 2001-02-28 Baruch Even <baruch@ev-en.org>
335 * insetgraphics.C (updateInset): Changed due to the change in
338 2001-02-26 Juergen Vigna <jug@sad.it>
340 * insettext.C (SetFont): Set Undo only if we have selection (as it is
343 2001-02-23 Juergen Vigna <jug@sad.it>
345 * insettext.C (draw): some small repainting fixes.
346 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
348 * inset.C (LocalDispatch): changed action to be a kb_action (as it
349 should be) and not an int.
351 * insettabular.C (LocalDispatch): ditto
353 * insettext.C (LocalDispatch): ditto
355 * insetcollapsable.C (LocalDispatch): ditto
357 2001-02-22 Juergen Vigna <jug@sad.it>
359 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
360 DISPATCH it and we don't have a locking_inset.
362 2001-02-21 Baruch Even <baruch@ev-en.org>
364 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
365 instead of GraphicsCacheItem *.
367 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
369 * insetcollapsable.C (getLyXText): add const qualifier to second
372 2001-02-22 Juergen Vigna <jug@sad.it>
374 * insettext.C (getLyXText): honor the recursive parameter.
375 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
377 * inset.C (getLyXText): added bool recursive parameter.
379 * insettext.C (SetUpdateStatus): or the update codes.
380 (draw): check need_update with &.
381 (InsetButtonPress): set no_selection to not put a selection when
382 entering an inset and it is redraws in another spot.
384 * insettext.h: made need_update an int.
386 2001-02-20 Baruch Even <baruch@ev-en.org>
389 * insetgraphisc.C: Changed to use better semantics when loading images
390 for inline view. Now it doesn't keep the pixmap itself but it's holder.
392 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
396 * insetgraphics.C: change name of "hide" signal to "hideDialog",
397 consistent with InsetTabular.
399 2001-02-19 Juergen Vigna <jug@sad.it>
401 * insettabular.C (LocalDispatch): implement PAGE up/down.
403 * insettext.C (draw): clear all of it on need_update==INIT too!
405 * insettabular.C (InsetUnlock): always clear the selection.
407 * inset.C (scroll): normally we only want to scroll the inset until
408 it is fully visible so if top_x + offset > 20 then just set scx to 0.
410 2001-02-14 Juergen Vigna <jug@sad.it>
412 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
413 (resetPos): fixed scroll behaviour.
414 (LocalDispatch): do an update if moving cursor inside a table cell
415 requests a scroll of the tabular.
417 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
419 * insettext.C (textWidth): constify local var
421 * insettabular.C: small cleanup.
423 * insetfoot.C (Latex): constify local var
425 * insetcollapsable.C: small cleanup.
427 * figinset.C (runqueue): use compare instead of strcmp
429 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
432 * insetinfo.C: remove cruft
434 2001-02-14 Juergen Vigna <jug@sad.it>
436 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
438 2001-02-13 Juergen Vigna <jug@sad.it>
440 * insettext.C (InsertInset): don't move left (is this right?)
442 * insettabular.C (LocalDispatch): use of the no_draw variable
444 * insettabular.h: new no_draw variable to stop redraw
446 * insettabular.C (TabularFeatures): fixed update for alignment change
448 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
452 * insetbib.C: move dialogs to frontends/
454 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
456 * insettext.C (LocalDispatch): Restore the language if the inset
459 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
461 * insettext.C (moveRightIntern): Update the selection cursor.
462 (moveLeftIntern): Ditto.
464 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
466 * Makefile.am: remove BoundingBox.h
468 * BoundingBox.h: removed
470 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
472 * insettext.C (LocalDispatch): Update selection cursor when moving
474 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
475 (moveLeftIntern): Ditto.
477 2001-02-05 Baruch Even <baruch.even@writeme.com>
479 * insetgraphics.C: Updated automatic image conversion, it now goes into
480 temporary directory instead of with the image itself.
482 2001-01-21 Baruch Even <baruch@ev-en.org>
484 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
485 to EPS or PNG when needed (support bitmap graphics).
487 2000-11-02 Baruch Even <baruch@ev-en.org>
490 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
491 and removal of commented out code.
493 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
495 * insetbib.C (callback): Update citations if the key has changed.
497 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
499 * insetbib.C (InsetBibKey): Better computation of default key.
500 (getScreenLabel) Show both the key and the label.
501 (getBibLabel): New method.
502 (callback): Force a redraw if the inset have been changed.
504 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
506 * insetref.C (getType, getName): Move methods from
507 src/frontends/xforms/FormRef.C.
509 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
511 * insettabular.C: Various improvements (use only one dummy position).
513 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
515 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
516 par->bibkey->width. This fixes the crashes when running without
517 gui or when having included documents.
519 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
521 * insetcommand.C (getAsString, setFromString): Cleanup.
523 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
525 * insetref.C: Add the array InsetRef::types that contains
526 information about all supported reference types.
528 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
530 * lyxinset.h: remove trailing comma in enum.
532 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
534 * insettext.C: kill LyXBell.