1 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * insetfloatlist.h: add a bunch of std:: qualifiers.
5 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
8 FLOAT_LIST_CODE, renumber code list.
10 * insettoc.C (getScreenLabel): remove support for float lists
14 * insetfloatlist.[Ch]: new files
16 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
18 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
20 * insettabular.C (LocalDispatch):
21 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
24 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * insettext.C: remvoe !NEW_INSETS cruft
28 * insettabular.C: remove !NEW_INSETS cruft
30 * insetcollapsable.h: remove !NEW_INSETS cruft
32 * insetbib.C: remove !NEW_INSETS cruft
34 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * insettoc.C: hack to make listof algorithm work
38 2001-04-20 Juergen Vigna <jug@sad.it>
40 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
42 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
44 * insetquotes.C (Latex): improve the guard against
45 unwanted !` and ?` ligatures. This should really be done in
46 another place (to catch all this ligatures at low-level).
48 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
50 * insettext.C (init): remvoe leftovers from cursor_visible change
52 (LocalDispatch): dispatch LFUN_MESSAGE
54 * insettabular.C (InsetTabular): remove leftovers from
55 cursor_visible, and scoped_ptr changes
58 * insetcollapsable.C (draw): use c++ cast
60 * ExternalTemplate.h: inherit privaely from noncopyable
61 * insetcommand.h: ditto
62 * insetinclude.h: ditto
64 2001-04-16 Allan Rae <rae@lyx.org>
68 * insettabular.C (setPos):
69 * insetminipage.C (Read):
70 * insetfloat.C (placement):
71 * insetcaption.C (Ascii, DocBook):
72 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
73 an unrecognised preprocessor directive. So ensure they're wrapped.
75 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
78 * insetexternal.C: set view on Clone. Add _ to private members.
80 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
82 * insettext.C (InsetText): fix new
83 (InsetText): reindent some, simplify deletion of par list
84 (clear): simplify deletion of par list, fix new
85 (SetParagraphData): simplify deletion of par list
87 * insettabular.[Ch] (getLabelList): implement new method
89 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
91 * lyxinset.h: do not include gettext.h...
103 * inseturl.C: ... and do it here instead
105 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
107 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
109 * insettext.[Ch] (getLabelList): add std:: on vector<string>
111 * insetcollapsable.[Ch] (getLabelList): implement
113 * insettext.[Ch] (getLabelList): implement
115 * insettext.h: reindent
117 * insettabular.h: make tabular a scoped_ptr
119 * insettext.C (init): adjust for cursor_visible
120 (ToggleInsetCursor): constify asc and desc, font, adjust for
122 (ShowInsetCursor): constify asc and desc, font, adjust for
124 (HideInsetCursor): adjust for cursor_visible
126 * insettabular.C: reindent some
127 (InsetTabular): adjust for scoped_ptr and cursor_visible
128 (InsetTabular): ditto
129 (~InsetTabular): delete delete
130 (Clone): adjust for scoped_ptr
131 (Read): constify old_format, adjust for scoped_ptr, move init of
133 (draw): constify tx, localize loop vars.
134 some other localization of variables, remove double initilizatons.
136 * insetfoot.C: remove using std::ostream, add ostream where needed
138 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
140 * lyxinset.h: some reindentaion, use initializer list for
142 UpdatableInset: make cursor_visible a private var add
143 public isCursorVisible(), add protected toggleCursorVisible() and
144 proctected setCursorVisible(bool), make scroll call the Inset::scroll
146 * insettoc.C: remvoe using decl
147 (getScreenLabel): make cmdname donst
150 (Ascii): don't use endl
152 * insetfootlike.C: remove using decl at file scope and add std::
154 * insetmarginal.C: ditto
156 * insetfoot.C: some reformatting
158 * insetfloat.C (InsetButtonRelease): adjust the hit area
160 * insetert.C (SetFont): some reformatting
162 * insetcollapsable.C: some reformatting and constification
163 (Clone): comment out.
164 * insetcollapsable.h: some reformatting
165 (Clone): comment out.
170 2001-03-30 Juergen Vigna <jug@sad.it>
172 * insetcollapsable.h: changen *inset to be a InsetText inset.
174 * some files: changed to reflect the above change.
176 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
178 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
179 InsetExternal::Params.
180 Added operator==() and operator!=() for the Params struct.
182 2001-03-29 Juergen Vigna <jug@sad.it>
184 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
187 * insetminipage.C: removed widthp_ and all it's functions and changed
188 to use new %-lengths of LyXLength.
190 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
192 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
194 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
196 * insetgraphicsParams.C (operator!=): new function, needed by the
197 ControlGraphics class.
199 2001-03-28 Juergen Vigna <jug@sad.it>
201 * insettext.C (InsetButtonPress): only enter !inset if button == 2
202 (checkAndActivateInset): don't use the values returned from
203 call to bv->checkInsetHit.
205 * insetminipage.C (Clone): set special minipage values.
207 * insetcollapsable.C (draw): changed to draw the button in the
208 upper left corner outside the textinset.
209 (ascent): changed because of different drawing
213 (InsetButtonPress): ditto
214 (InsetButtonRelease): ditto
215 (InsetMotionNotify): ditto
217 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
219 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
223 2001-03-26 Juergen Vigna <jug@sad.it>
225 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
227 * insettext.C (ShowInsetDialog): implemented above function.
229 * insettabular.C (ShowInsetDialog): ditto
231 * insetminipage.C (ShowInsetDialog): ditto
233 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
235 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
236 InsetInclude::Params. Don't store a buffer * in Params. Store the
237 master file name instead.
239 2001-03-23 Juergen Vigna <jug@sad.it>
241 * insetcollapsable.C (InsetMotionNotify):
242 (InsetButtonRelease):
243 (InsetButtonPress): fixed y-offset (minipages).
245 * insettext.C (draw): force a FULL update if cleared == true.
247 * insetcollapsable.C (draw): Lars forgotten entry for changing this
248 routine to draw the minipages on its position-flag.
249 (InsetInInsetY): give back the right y position, because of minipage
252 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
255 * insetfloat.C (DocBook): docbook export code.
257 2001-03-22 Juergen Vigna <jug@sad.it>
259 * insetminipage.C (getMaxWidth): added function to set the drawing
261 (Read): should work now!
263 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
264 if we create a new inset.
266 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
268 * figinset.C (fl_set_preemptive_callback): moved definition outside
271 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
273 * insetminipage.C (Read): prepare for reading of minipage arguments.
275 2001-03-18 Baruch Even <baruch@lyx.org>
277 * insetgraphics.C: Minor cleanups of the comments and code.
279 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
281 * insetminipage.C (InsetMinipage): default to not collapsed
283 2001-03-16 Juergen Vigna <jug@sad.it>
285 * insetminipage.C (width): modified with to be a string
286 (widthp): added widthp (for % width) support functions.
287 (InsetButtonRelease): added to open the options dialog on button==3.
288 (~InsetMinipage): added to hide the dialog.
290 * insetminipage.h: added hideDialog signal
292 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
294 * insetminipage.h: change the order or Position to match
295 LyXParagraph::MINIPAGE_ALIGNMENT
297 * several files: remvoe CXX_WORKING_NAMESPACES
299 * ExternalTemplate.h: noncopyable is in namespace boost
300 * insetinclude.h: ditto
301 * insetcommand.h: ditto
303 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
305 * insettext.C (Edit): #else# -> #else.
306 * insettoc.C: added using directive.
308 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
310 * insetminipage.h: add pos, inner_pos, width and height. + getters
311 and setters for all of them.
313 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
315 * insetinclude.C (Latex): Do not exit when the textclass of the
316 included file differ from the textclass of the parent file.
318 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
320 * ExternalTemplate.C (read): the reading of external insets now checks
321 for \end_inset and removes it form the input stream.
323 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
325 * ExternalTemplate.h:
326 * ExternalTemplate.C:
328 * insetexternal.C: move form to GUII
330 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
333 * insetinclude.C: add InsetIncludeParams, use
334 composition rather than derivation of InsetCommand
336 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
338 * insettoc.C (Ascii): use the Buffer typedefs
340 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
342 * insettoc.C (Ascii): implement for dynamic number of lists
344 * insetcaption.[Ch]: update from new_insets branch
345 * insetfloat.[Ch]: ditto
347 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
350 * figinset.C: use new File Dialog
352 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
354 * insettext.C: changes becuase of ParagraphParameters.
356 2001-02-28 Baruch Even <baruch@ev-en.org>
358 * insetgraphics.C (updateInset): Changed due to the change in
361 2001-02-26 Juergen Vigna <jug@sad.it>
363 * insettext.C (SetFont): Set Undo only if we have selection (as it is
366 2001-02-23 Juergen Vigna <jug@sad.it>
368 * insettext.C (draw): some small repainting fixes.
369 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
371 * inset.C (LocalDispatch): changed action to be a kb_action (as it
372 should be) and not an int.
374 * insettabular.C (LocalDispatch): ditto
376 * insettext.C (LocalDispatch): ditto
378 * insetcollapsable.C (LocalDispatch): ditto
380 2001-02-22 Juergen Vigna <jug@sad.it>
382 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
383 DISPATCH it and we don't have a locking_inset.
385 2001-02-21 Baruch Even <baruch@ev-en.org>
387 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
388 instead of GraphicsCacheItem *.
390 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * insetcollapsable.C (getLyXText): add const qualifier to second
395 2001-02-22 Juergen Vigna <jug@sad.it>
397 * insettext.C (getLyXText): honor the recursive parameter.
398 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
400 * inset.C (getLyXText): added bool recursive parameter.
402 * insettext.C (SetUpdateStatus): or the update codes.
403 (draw): check need_update with &.
404 (InsetButtonPress): set no_selection to not put a selection when
405 entering an inset and it is redraws in another spot.
407 * insettext.h: made need_update an int.
409 2001-02-20 Baruch Even <baruch@ev-en.org>
412 * insetgraphisc.C: Changed to use better semantics when loading images
413 for inline view. Now it doesn't keep the pixmap itself but it's holder.
415 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
419 * insetgraphics.C: change name of "hide" signal to "hideDialog",
420 consistent with InsetTabular.
422 2001-02-19 Juergen Vigna <jug@sad.it>
424 * insettabular.C (LocalDispatch): implement PAGE up/down.
426 * insettext.C (draw): clear all of it on need_update==INIT too!
428 * insettabular.C (InsetUnlock): always clear the selection.
430 * inset.C (scroll): normally we only want to scroll the inset until
431 it is fully visible so if top_x + offset > 20 then just set scx to 0.
433 2001-02-14 Juergen Vigna <jug@sad.it>
435 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
436 (resetPos): fixed scroll behaviour.
437 (LocalDispatch): do an update if moving cursor inside a table cell
438 requests a scroll of the tabular.
440 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
442 * insettext.C (textWidth): constify local var
444 * insettabular.C: small cleanup.
446 * insetfoot.C (Latex): constify local var
448 * insetcollapsable.C: small cleanup.
450 * figinset.C (runqueue): use compare instead of strcmp
452 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
455 * insetinfo.C: remove cruft
457 2001-02-14 Juergen Vigna <jug@sad.it>
459 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
461 2001-02-13 Juergen Vigna <jug@sad.it>
463 * insettext.C (InsertInset): don't move left (is this right?)
465 * insettabular.C (LocalDispatch): use of the no_draw variable
467 * insettabular.h: new no_draw variable to stop redraw
469 * insettabular.C (TabularFeatures): fixed update for alignment change
471 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
475 * insetbib.C: move dialogs to frontends/
477 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
479 * insettext.C (LocalDispatch): Restore the language if the inset
482 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
484 * insettext.C (moveRightIntern): Update the selection cursor.
485 (moveLeftIntern): Ditto.
487 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
489 * Makefile.am: remove BoundingBox.h
491 * BoundingBox.h: removed
493 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
495 * insettext.C (LocalDispatch): Update selection cursor when moving
497 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
498 (moveLeftIntern): Ditto.
500 2001-02-05 Baruch Even <baruch.even@writeme.com>
502 * insetgraphics.C: Updated automatic image conversion, it now goes into
503 temporary directory instead of with the image itself.
505 2001-01-21 Baruch Even <baruch@ev-en.org>
507 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
508 to EPS or PNG when needed (support bitmap graphics).
510 2000-11-02 Baruch Even <baruch@ev-en.org>
513 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
514 and removal of commented out code.
516 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
518 * insetbib.C (callback): Update citations if the key has changed.
520 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
522 * insetbib.C (InsetBibKey): Better computation of default key.
523 (getScreenLabel) Show both the key and the label.
524 (getBibLabel): New method.
525 (callback): Force a redraw if the inset have been changed.
527 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
529 * insetref.C (getType, getName): Move methods from
530 src/frontends/xforms/FormRef.C.
532 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
534 * insettabular.C: Various improvements (use only one dummy position).
536 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
538 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
539 par->bibkey->width. This fixes the crashes when running without
540 gui or when having included documents.
542 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
544 * insetcommand.C (getAsString, setFromString): Cleanup.
546 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
548 * insetref.C: Add the array InsetRef::types that contains
549 information about all supported reference types.
551 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
553 * lyxinset.h: remove trailing comma in enum.
555 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
557 * insettext.C: kill LyXBell.