1 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
3 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5 2001-06-14 Juergen Vigna <jug@sad.it>
7 * insettext.C (draw): removed warinings.
9 2001-06-13 Juergen Vigna <jug@sad.it>
11 * insettabular.C (nodraw): only go down the tree if we don't have
12 that flag set otherwise it's obvious that we don't want to draw.
13 (LocalDispatch): do also an update if we have an undispached result.
15 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
18 * insetgraphicsParams.C:
19 * insettext.C: removed // -*- C++ -*- as first line.
21 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
23 * lyxinset.h (resizeLyXText): shut off warning about unused
26 2001-06-07 Juergen Vigna <jug@sad.it>
28 * insettext.C (resizeLyXText): honor the new force flag.
30 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
32 * insettabular.C (deleteLyXText): new function
34 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
43 * insetcaption.C: LColor tidy
45 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * figinset.C: fix typo
49 2001-06-01 Juergen Vigna <jug@sad.it>
51 * insettabular.C (resetPos): small hack so that scroll is not set to
52 0 when we are in the last column of a tabular. This is a problem we
53 have because of constats 20 offset on both directions, so this can
54 cause on the limit an endless loop.
56 * insettext.C (SetFont): forgot that we can have locking insets ;)
58 2001-05-31 Juergen Vigna <jug@sad.it>
60 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
62 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
64 * figinset.C: add using std:: directive for the C functions which
67 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
69 * insetfloat.C (Write): write out wide info
70 (Read): read the wide info
71 (Latex): use the wide info when creating latex.
75 * insetgraphics.[Ch] (statusMessage): change to return string
79 * figinset.C (runqueue): add std::
82 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
84 * insetcite.C (Ascii): add std:: qualifier
86 2001-05-28 Juergen Vigna <jug@sad.it>
88 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
89 a endless-width inset (maxWidth < 0).
90 (Edit): change language only if not equal.
92 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
94 * insettext.C (draw): fixed draw/clear of InsetText-Frame
96 2001-05-16 Juergen Vigna <jug@sad.it>
98 * insettext.C (selectAll): added
99 (clearSelection): added
101 * insettabular.C (SetFont): now we may set a font on a whole selection!
102 (getSelection): added helper function.
104 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
106 * insetcite.C (Ascii): Add method.
108 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
111 * insetbib.C: fix path for OS/2 & Win32
113 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * insetfoot.C (Latex): don't use % after footnote.
117 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
119 * insettext.C (Read): use clear
120 (SetParagraphData): use LyXParagraph copy constructor instead of clone
122 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
124 * insetfloatlist.h: add a bunch of std:: qualifiers.
126 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
128 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
129 FLOAT_LIST_CODE, renumber code list.
131 * insettoc.C (getScreenLabel): remove support for float lists
135 * insetfloatlist.[Ch]: new files
137 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
139 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
141 * insettabular.C (LocalDispatch):
142 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
145 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
147 * insettext.C: remvoe !NEW_INSETS cruft
149 * insettabular.C: remove !NEW_INSETS cruft
151 * insetcollapsable.h: remove !NEW_INSETS cruft
153 * insetbib.C: remove !NEW_INSETS cruft
155 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
157 * insettoc.C: hack to make listof algorithm work
159 2001-04-20 Juergen Vigna <jug@sad.it>
161 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
163 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
165 * insetquotes.C (Latex): improve the guard against
166 unwanted !` and ?` ligatures. This should really be done in
167 another place (to catch all this ligatures at low-level).
169 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
171 * insettext.C (init): remvoe leftovers from cursor_visible change
173 (LocalDispatch): dispatch LFUN_MESSAGE
175 * insettabular.C (InsetTabular): remove leftovers from
176 cursor_visible, and scoped_ptr changes
179 * insetcollapsable.C (draw): use c++ cast
181 * ExternalTemplate.h: inherit privaely from noncopyable
182 * insetcommand.h: ditto
183 * insetinclude.h: ditto
185 2001-04-16 Allan Rae <rae@lyx.org>
187 * insettoc.C (Ascii):
188 * insettext.C (draw):
189 * insettabular.C (setPos):
190 * insetminipage.C (Read):
191 * insetfloat.C (placement):
192 * insetcaption.C (Ascii, DocBook):
193 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
194 an unrecognised preprocessor directive. So ensure they're wrapped.
196 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
199 * insetexternal.C: set view on Clone. Add _ to private members.
201 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * insettext.C (InsetText): fix new
204 (InsetText): reindent some, simplify deletion of par list
205 (clear): simplify deletion of par list, fix new
206 (SetParagraphData): simplify deletion of par list
208 * insettabular.[Ch] (getLabelList): implement new method
210 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
212 * lyxinset.h: do not include gettext.h...
220 * insetlatexaccent.C:
224 * inseturl.C: ... and do it here instead
226 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
228 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
230 * insettext.[Ch] (getLabelList): add std:: on vector<string>
232 * insetcollapsable.[Ch] (getLabelList): implement
234 * insettext.[Ch] (getLabelList): implement
236 * insettext.h: reindent
238 * insettabular.h: make tabular a scoped_ptr
240 * insettext.C (init): adjust for cursor_visible
241 (ToggleInsetCursor): constify asc and desc, font, adjust for
243 (ShowInsetCursor): constify asc and desc, font, adjust for
245 (HideInsetCursor): adjust for cursor_visible
247 * insettabular.C: reindent some
248 (InsetTabular): adjust for scoped_ptr and cursor_visible
249 (InsetTabular): ditto
250 (~InsetTabular): delete delete
251 (Clone): adjust for scoped_ptr
252 (Read): constify old_format, adjust for scoped_ptr, move init of
254 (draw): constify tx, localize loop vars.
255 some other localization of variables, remove double initilizatons.
257 * insetfoot.C: remove using std::ostream, add ostream where needed
259 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * lyxinset.h: some reindentaion, use initializer list for
263 UpdatableInset: make cursor_visible a private var add
264 public isCursorVisible(), add protected toggleCursorVisible() and
265 proctected setCursorVisible(bool), make scroll call the Inset::scroll
267 * insettoc.C: remvoe using decl
268 (getScreenLabel): make cmdname donst
271 (Ascii): don't use endl
273 * insetfootlike.C: remove using decl at file scope and add std::
275 * insetmarginal.C: ditto
277 * insetfoot.C: some reformatting
279 * insetfloat.C (InsetButtonRelease): adjust the hit area
281 * insetert.C (SetFont): some reformatting
283 * insetcollapsable.C: some reformatting and constification
284 (Clone): comment out.
285 * insetcollapsable.h: some reformatting
286 (Clone): comment out.
291 2001-03-30 Juergen Vigna <jug@sad.it>
293 * insetcollapsable.h: changen *inset to be a InsetText inset.
295 * some files: changed to reflect the above change.
297 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
299 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
300 InsetExternal::Params.
301 Added operator==() and operator!=() for the Params struct.
303 2001-03-29 Juergen Vigna <jug@sad.it>
305 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
308 * insetminipage.C: removed widthp_ and all it's functions and changed
309 to use new %-lengths of LyXLength.
311 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
313 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
315 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
317 * insetgraphicsParams.C (operator!=): new function, needed by the
318 ControlGraphics class.
320 2001-03-28 Juergen Vigna <jug@sad.it>
322 * insettext.C (InsetButtonPress): only enter !inset if button == 2
323 (checkAndActivateInset): don't use the values returned from
324 call to bv->checkInsetHit.
326 * insetminipage.C (Clone): set special minipage values.
328 * insetcollapsable.C (draw): changed to draw the button in the
329 upper left corner outside the textinset.
330 (ascent): changed because of different drawing
334 (InsetButtonPress): ditto
335 (InsetButtonRelease): ditto
336 (InsetMotionNotify): ditto
338 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
340 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
344 2001-03-26 Juergen Vigna <jug@sad.it>
346 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
348 * insettext.C (ShowInsetDialog): implemented above function.
350 * insettabular.C (ShowInsetDialog): ditto
352 * insetminipage.C (ShowInsetDialog): ditto
354 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
356 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
357 InsetInclude::Params. Don't store a buffer * in Params. Store the
358 master file name instead.
360 2001-03-23 Juergen Vigna <jug@sad.it>
362 * insetcollapsable.C (InsetMotionNotify):
363 (InsetButtonRelease):
364 (InsetButtonPress): fixed y-offset (minipages).
366 * insettext.C (draw): force a FULL update if cleared == true.
368 * insetcollapsable.C (draw): Lars forgotten entry for changing this
369 routine to draw the minipages on its position-flag.
370 (InsetInInsetY): give back the right y position, because of minipage
373 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
376 * insetfloat.C (DocBook): docbook export code.
378 2001-03-22 Juergen Vigna <jug@sad.it>
380 * insetminipage.C (getMaxWidth): added function to set the drawing
382 (Read): should work now!
384 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
385 if we create a new inset.
387 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
389 * figinset.C (fl_set_preemptive_callback): moved definition outside
392 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
394 * insetminipage.C (Read): prepare for reading of minipage arguments.
396 2001-03-18 Baruch Even <baruch@lyx.org>
398 * insetgraphics.C: Minor cleanups of the comments and code.
400 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
402 * insetminipage.C (InsetMinipage): default to not collapsed
404 2001-03-16 Juergen Vigna <jug@sad.it>
406 * insetminipage.C (width): modified with to be a string
407 (widthp): added widthp (for % width) support functions.
408 (InsetButtonRelease): added to open the options dialog on button==3.
409 (~InsetMinipage): added to hide the dialog.
411 * insetminipage.h: added hideDialog signal
413 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
415 * insetminipage.h: change the order or Position to match
416 LyXParagraph::MINIPAGE_ALIGNMENT
418 * several files: remvoe CXX_WORKING_NAMESPACES
420 * ExternalTemplate.h: noncopyable is in namespace boost
421 * insetinclude.h: ditto
422 * insetcommand.h: ditto
424 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
426 * insettext.C (Edit): #else# -> #else.
427 * insettoc.C: added using directive.
429 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
431 * insetminipage.h: add pos, inner_pos, width and height. + getters
432 and setters for all of them.
434 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
436 * insetinclude.C (Latex): Do not exit when the textclass of the
437 included file differ from the textclass of the parent file.
439 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
441 * ExternalTemplate.C (read): the reading of external insets now checks
442 for \end_inset and removes it form the input stream.
444 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
446 * ExternalTemplate.h:
447 * ExternalTemplate.C:
449 * insetexternal.C: move form to GUII
451 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
454 * insetinclude.C: add InsetIncludeParams, use
455 composition rather than derivation of InsetCommand
457 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
459 * insettoc.C (Ascii): use the Buffer typedefs
461 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
463 * insettoc.C (Ascii): implement for dynamic number of lists
465 * insetcaption.[Ch]: update from new_insets branch
466 * insetfloat.[Ch]: ditto
468 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
471 * figinset.C: use new File Dialog
473 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
475 * insettext.C: changes becuase of ParagraphParameters.
477 2001-02-28 Baruch Even <baruch@ev-en.org>
479 * insetgraphics.C (updateInset): Changed due to the change in
482 2001-02-26 Juergen Vigna <jug@sad.it>
484 * insettext.C (SetFont): Set Undo only if we have selection (as it is
487 2001-02-23 Juergen Vigna <jug@sad.it>
489 * insettext.C (draw): some small repainting fixes.
490 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
492 * inset.C (LocalDispatch): changed action to be a kb_action (as it
493 should be) and not an int.
495 * insettabular.C (LocalDispatch): ditto
497 * insettext.C (LocalDispatch): ditto
499 * insetcollapsable.C (LocalDispatch): ditto
501 2001-02-22 Juergen Vigna <jug@sad.it>
503 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
504 DISPATCH it and we don't have a locking_inset.
506 2001-02-21 Baruch Even <baruch@ev-en.org>
508 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
509 instead of GraphicsCacheItem *.
511 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
513 * insetcollapsable.C (getLyXText): add const qualifier to second
516 2001-02-22 Juergen Vigna <jug@sad.it>
518 * insettext.C (getLyXText): honor the recursive parameter.
519 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
521 * inset.C (getLyXText): added bool recursive parameter.
523 * insettext.C (SetUpdateStatus): or the update codes.
524 (draw): check need_update with &.
525 (InsetButtonPress): set no_selection to not put a selection when
526 entering an inset and it is redraws in another spot.
528 * insettext.h: made need_update an int.
530 2001-02-20 Baruch Even <baruch@ev-en.org>
533 * insetgraphisc.C: Changed to use better semantics when loading images
534 for inline view. Now it doesn't keep the pixmap itself but it's holder.
536 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
540 * insetgraphics.C: change name of "hide" signal to "hideDialog",
541 consistent with InsetTabular.
543 2001-02-19 Juergen Vigna <jug@sad.it>
545 * insettabular.C (LocalDispatch): implement PAGE up/down.
547 * insettext.C (draw): clear all of it on need_update==INIT too!
549 * insettabular.C (InsetUnlock): always clear the selection.
551 * inset.C (scroll): normally we only want to scroll the inset until
552 it is fully visible so if top_x + offset > 20 then just set scx to 0.
554 2001-02-14 Juergen Vigna <jug@sad.it>
556 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
557 (resetPos): fixed scroll behaviour.
558 (LocalDispatch): do an update if moving cursor inside a table cell
559 requests a scroll of the tabular.
561 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
563 * insettext.C (textWidth): constify local var
565 * insettabular.C: small cleanup.
567 * insetfoot.C (Latex): constify local var
569 * insetcollapsable.C: small cleanup.
571 * figinset.C (runqueue): use compare instead of strcmp
573 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
576 * insetinfo.C: remove cruft
578 2001-02-14 Juergen Vigna <jug@sad.it>
580 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
582 2001-02-13 Juergen Vigna <jug@sad.it>
584 * insettext.C (InsertInset): don't move left (is this right?)
586 * insettabular.C (LocalDispatch): use of the no_draw variable
588 * insettabular.h: new no_draw variable to stop redraw
590 * insettabular.C (TabularFeatures): fixed update for alignment change
592 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
596 * insetbib.C: move dialogs to frontends/
598 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
600 * insettext.C (LocalDispatch): Restore the language if the inset
603 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
605 * insettext.C (moveRightIntern): Update the selection cursor.
606 (moveLeftIntern): Ditto.
608 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
610 * Makefile.am: remove BoundingBox.h
612 * BoundingBox.h: removed
614 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
616 * insettext.C (LocalDispatch): Update selection cursor when moving
618 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
619 (moveLeftIntern): Ditto.
621 2001-02-05 Baruch Even <baruch.even@writeme.com>
623 * insetgraphics.C: Updated automatic image conversion, it now goes into
624 temporary directory instead of with the image itself.
626 2001-01-21 Baruch Even <baruch@ev-en.org>
628 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
629 to EPS or PNG when needed (support bitmap graphics).
631 2000-11-02 Baruch Even <baruch@ev-en.org>
634 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
635 and removal of commented out code.
637 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
639 * insetbib.C (callback): Update citations if the key has changed.
641 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
643 * insetbib.C (InsetBibKey): Better computation of default key.
644 (getScreenLabel) Show both the key and the label.
645 (getBibLabel): New method.
646 (callback): Force a redraw if the inset have been changed.
648 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
650 * insetref.C (getType, getName): Move methods from
651 src/frontends/xforms/FormRef.C.
653 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
655 * insettabular.C: Various improvements (use only one dummy position).
657 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
659 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
660 par->bibkey->width. This fixes the crashes when running without
661 gui or when having included documents.
663 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
665 * insetcommand.C (getAsString, setFromString): Cleanup.
667 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
669 * insetref.C: Add the array InsetRef::types that contains
670 information about all supported reference types.
672 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
674 * lyxinset.h: remove trailing comma in enum.
676 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
678 * insettext.C: kill LyXBell.