1 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * insetmarginal.C (latex):
4 * insetfoot.C (latex): fix spacing of notes in LaTeX
6 * insettext.C (localDispatch): use .c_str() on istringstream
9 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14 * inseturl.C: fix method names in these to begin
15 with small char too, so they inherit
17 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
19 * Change a lot of method names to begin with a small char.
20 Changes to a lot of files because of this.
22 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
24 * insetfloatlist.C (Write): std:: qualify ostream
27 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
31 * insetgraphics.C: send debug output to Debug::INFO instead of
34 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
37 * insettabular.C (getStatus): update to use func_status
39 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
41 * insetref.C (DocBook): added support for cross-references without
44 2001-06-26 The LyX Project <jug@sad.it>
49 * insetlabel.h: removed escape method and moved it to
52 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
54 * insettabular.C (getMaxWidth): do the speedup in a different way,
57 2001-06-24 The LyX Project <Asger>
59 * insettabular.C (getMaxWidth): We cache a mapping from
60 inset to cell in order to speed this method up.
62 2001-06-24 The LyX Project <Asger>
64 * insettext.C: Optimized InsetText::draw or something.
66 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
68 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
70 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * inset.h: name change from lyxinset.h
74 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
76 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
78 2001-06-14 Juergen Vigna <jug@sad.it>
80 * insettext.C (draw): removed warnings.
82 2001-06-13 Juergen Vigna <jug@sad.it>
84 * insettabular.C (nodraw): only go down the tree if we don't have
85 that flag set otherwise it's obvious that we don't want to draw.
86 (LocalDispatch): do also an update if we have an undispached result.
88 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
91 * insetgraphicsParams.C:
92 * insettext.C: removed // -*- C++ -*- as first line.
94 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
96 * lyxinset.h (resizeLyXText): shut off warning about unused
99 2001-06-07 Juergen Vigna <jug@sad.it>
101 * insettext.C (resizeLyXText): honor the new force flag.
103 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
105 * insettabular.C (deleteLyXText): new function
107 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
115 * insetcollapsable.C:
116 * insetcaption.C: LColor tidy
118 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * figinset.C: fix typo
122 2001-06-01 Juergen Vigna <jug@sad.it>
124 * insettabular.C (resetPos): small hack so that scroll is not set to
125 0 when we are in the last column of a tabular. This is a problem we
126 have because of constats 20 offset on both directions, so this can
127 cause on the limit an endless loop.
129 * insettext.C (SetFont): forgot that we can have locking insets ;)
131 2001-05-31 Juergen Vigna <jug@sad.it>
133 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
135 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
137 * figinset.C: add using std:: directive for the C functions which
140 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
142 * insetfloat.C (Write): write out wide info
143 (Read): read the wide info
144 (Latex): use the wide info when creating latex.
146 * insettext.C: adjust
148 * insetgraphics.[Ch] (statusMessage): change to return string
152 * figinset.C (runqueue): add std::
155 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
157 * insetcite.C (Ascii): add std:: qualifier
159 2001-05-28 Juergen Vigna <jug@sad.it>
161 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
162 a endless-width inset (maxWidth < 0).
163 (Edit): change language only if not equal.
165 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
167 * insettext.C (draw): fixed draw/clear of InsetText-Frame
169 2001-05-16 Juergen Vigna <jug@sad.it>
171 * insettext.C (selectAll): added
172 (clearSelection): added
174 * insettabular.C (SetFont): now we may set a font on a whole selection!
175 (getSelection): added helper function.
177 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
179 * insetcite.C (Ascii): Add method.
181 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
184 * insetbib.C: fix path for OS/2 & Win32
186 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
188 * insetfoot.C (Latex): don't use % after footnote.
190 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
192 * insettext.C (Read): use clear
193 (SetParagraphData): use LyXParagraph copy constructor instead of clone
195 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
197 * insetfloatlist.h: add a bunch of std:: qualifiers.
199 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
201 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
202 FLOAT_LIST_CODE, renumber code list.
204 * insettoc.C (getScreenLabel): remove support for float lists
208 * insetfloatlist.[Ch]: new files
210 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
212 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
214 * insettabular.C (LocalDispatch):
215 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
218 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
220 * insettext.C: remvoe !NEW_INSETS cruft
222 * insettabular.C: remove !NEW_INSETS cruft
224 * insetcollapsable.h: remove !NEW_INSETS cruft
226 * insetbib.C: remove !NEW_INSETS cruft
228 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
230 * insettoc.C: hack to make listof algorithm work
232 2001-04-20 Juergen Vigna <jug@sad.it>
234 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
236 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
238 * insetquotes.C (Latex): improve the guard against
239 unwanted !` and ?` ligatures. This should really be done in
240 another place (to catch all this ligatures at low-level).
242 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
244 * insettext.C (init): remvoe leftovers from cursor_visible change
246 (LocalDispatch): dispatch LFUN_MESSAGE
248 * insettabular.C (InsetTabular): remove leftovers from
249 cursor_visible, and scoped_ptr changes
252 * insetcollapsable.C (draw): use c++ cast
254 * ExternalTemplate.h: inherit privaely from noncopyable
255 * insetcommand.h: ditto
256 * insetinclude.h: ditto
258 2001-04-16 Allan Rae <rae@lyx.org>
260 * insettoc.C (Ascii):
261 * insettext.C (draw):
262 * insettabular.C (setPos):
263 * insetminipage.C (Read):
264 * insetfloat.C (placement):
265 * insetcaption.C (Ascii, DocBook):
266 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
267 an unrecognised preprocessor directive. So ensure they're wrapped.
269 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
272 * insetexternal.C: set view on Clone. Add _ to private members.
274 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
276 * insettext.C (InsetText): fix new
277 (InsetText): reindent some, simplify deletion of par list
278 (clear): simplify deletion of par list, fix new
279 (SetParagraphData): simplify deletion of par list
281 * insettabular.[Ch] (getLabelList): implement new method
283 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
285 * lyxinset.h: do not include gettext.h...
293 * insetlatexaccent.C:
297 * inseturl.C: ... and do it here instead
299 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
301 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
303 * insettext.[Ch] (getLabelList): add std:: on vector<string>
305 * insetcollapsable.[Ch] (getLabelList): implement
307 * insettext.[Ch] (getLabelList): implement
309 * insettext.h: reindent
311 * insettabular.h: make tabular a scoped_ptr
313 * insettext.C (init): adjust for cursor_visible
314 (ToggleInsetCursor): constify asc and desc, font, adjust for
316 (ShowInsetCursor): constify asc and desc, font, adjust for
318 (HideInsetCursor): adjust for cursor_visible
320 * insettabular.C: reindent some
321 (InsetTabular): adjust for scoped_ptr and cursor_visible
322 (InsetTabular): ditto
323 (~InsetTabular): delete delete
324 (Clone): adjust for scoped_ptr
325 (Read): constify old_format, adjust for scoped_ptr, move init of
327 (draw): constify tx, localize loop vars.
328 some other localization of variables, remove double initilizatons.
330 * insetfoot.C: remove using std::ostream, add ostream where needed
332 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
334 * lyxinset.h: some reindentaion, use initializer list for
336 UpdatableInset: make cursor_visible a private var add
337 public isCursorVisible(), add protected toggleCursorVisible() and
338 proctected setCursorVisible(bool), make scroll call the Inset::scroll
340 * insettoc.C: remvoe using decl
341 (getScreenLabel): make cmdname donst
344 (Ascii): don't use endl
346 * insetfootlike.C: remove using decl at file scope and add std::
348 * insetmarginal.C: ditto
350 * insetfoot.C: some reformatting
352 * insetfloat.C (InsetButtonRelease): adjust the hit area
354 * insetert.C (SetFont): some reformatting
356 * insetcollapsable.C: some reformatting and constification
357 (Clone): comment out.
358 * insetcollapsable.h: some reformatting
359 (Clone): comment out.
364 2001-03-30 Juergen Vigna <jug@sad.it>
366 * insetcollapsable.h: changen *inset to be a InsetText inset.
368 * some files: changed to reflect the above change.
370 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
372 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
373 InsetExternal::Params.
374 Added operator==() and operator!=() for the Params struct.
376 2001-03-29 Juergen Vigna <jug@sad.it>
378 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
381 * insetminipage.C: removed widthp_ and all it's functions and changed
382 to use new %-lengths of LyXLength.
384 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
386 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
388 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
390 * insetgraphicsParams.C (operator!=): new function, needed by the
391 ControlGraphics class.
393 2001-03-28 Juergen Vigna <jug@sad.it>
395 * insettext.C (InsetButtonPress): only enter !inset if button == 2
396 (checkAndActivateInset): don't use the values returned from
397 call to bv->checkInsetHit.
399 * insetminipage.C (Clone): set special minipage values.
401 * insetcollapsable.C (draw): changed to draw the button in the
402 upper left corner outside the textinset.
403 (ascent): changed because of different drawing
407 (InsetButtonPress): ditto
408 (InsetButtonRelease): ditto
409 (InsetMotionNotify): ditto
411 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
413 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
417 2001-03-26 Juergen Vigna <jug@sad.it>
419 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
421 * insettext.C (ShowInsetDialog): implemented above function.
423 * insettabular.C (ShowInsetDialog): ditto
425 * insetminipage.C (ShowInsetDialog): ditto
427 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
429 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
430 InsetInclude::Params. Don't store a buffer * in Params. Store the
431 master file name instead.
433 2001-03-23 Juergen Vigna <jug@sad.it>
435 * insetcollapsable.C (InsetMotionNotify):
436 (InsetButtonRelease):
437 (InsetButtonPress): fixed y-offset (minipages).
439 * insettext.C (draw): force a FULL update if cleared == true.
441 * insetcollapsable.C (draw): Lars forgotten entry for changing this
442 routine to draw the minipages on its position-flag.
443 (InsetInInsetY): give back the right y position, because of minipage
446 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
449 * insetfloat.C (DocBook): docbook export code.
451 2001-03-22 Juergen Vigna <jug@sad.it>
453 * insetminipage.C (getMaxWidth): added function to set the drawing
455 (Read): should work now!
457 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
458 if we create a new inset.
460 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
462 * figinset.C (fl_set_preemptive_callback): moved definition outside
465 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
467 * insetminipage.C (Read): prepare for reading of minipage arguments.
469 2001-03-18 Baruch Even <baruch@lyx.org>
471 * insetgraphics.C: Minor cleanups of the comments and code.
473 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
475 * insetminipage.C (InsetMinipage): default to not collapsed
477 2001-03-16 Juergen Vigna <jug@sad.it>
479 * insetminipage.C (width): modified with to be a string
480 (widthp): added widthp (for % width) support functions.
481 (InsetButtonRelease): added to open the options dialog on button==3.
482 (~InsetMinipage): added to hide the dialog.
484 * insetminipage.h: added hideDialog signal
486 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
488 * insetminipage.h: change the order or Position to match
489 LyXParagraph::MINIPAGE_ALIGNMENT
491 * several files: remvoe CXX_WORKING_NAMESPACES
493 * ExternalTemplate.h: noncopyable is in namespace boost
494 * insetinclude.h: ditto
495 * insetcommand.h: ditto
497 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
499 * insettext.C (Edit): #else# -> #else.
500 * insettoc.C: added using directive.
502 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
504 * insetminipage.h: add pos, inner_pos, width and height. + getters
505 and setters for all of them.
507 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
509 * insetinclude.C (Latex): Do not exit when the textclass of the
510 included file differ from the textclass of the parent file.
512 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
514 * ExternalTemplate.C (read): the reading of external insets now checks
515 for \end_inset and removes it form the input stream.
517 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
519 * ExternalTemplate.h:
520 * ExternalTemplate.C:
522 * insetexternal.C: move form to GUII
524 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
527 * insetinclude.C: add InsetIncludeParams, use
528 composition rather than derivation of InsetCommand
530 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
532 * insettoc.C (Ascii): use the Buffer typedefs
534 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
536 * insettoc.C (Ascii): implement for dynamic number of lists
538 * insetcaption.[Ch]: update from new_insets branch
539 * insetfloat.[Ch]: ditto
541 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
544 * figinset.C: use new File Dialog
546 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
548 * insettext.C: changes becuase of ParagraphParameters.
550 2001-02-28 Baruch Even <baruch@ev-en.org>
552 * insetgraphics.C (updateInset): Changed due to the change in
555 2001-02-26 Juergen Vigna <jug@sad.it>
557 * insettext.C (SetFont): Set Undo only if we have selection (as it is
560 2001-02-23 Juergen Vigna <jug@sad.it>
562 * insettext.C (draw): some small repainting fixes.
563 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
565 * inset.C (LocalDispatch): changed action to be a kb_action (as it
566 should be) and not an int.
568 * insettabular.C (LocalDispatch): ditto
570 * insettext.C (LocalDispatch): ditto
572 * insetcollapsable.C (LocalDispatch): ditto
574 2001-02-22 Juergen Vigna <jug@sad.it>
576 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
577 DISPATCH it and we don't have a locking_inset.
579 2001-02-21 Baruch Even <baruch@ev-en.org>
581 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
582 instead of GraphicsCacheItem *.
584 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
586 * insetcollapsable.C (getLyXText): add const qualifier to second
589 2001-02-22 Juergen Vigna <jug@sad.it>
591 * insettext.C (getLyXText): honor the recursive parameter.
592 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
594 * inset.C (getLyXText): added bool recursive parameter.
596 * insettext.C (SetUpdateStatus): or the update codes.
597 (draw): check need_update with &.
598 (InsetButtonPress): set no_selection to not put a selection when
599 entering an inset and it is redraws in another spot.
601 * insettext.h: made need_update an int.
603 2001-02-20 Baruch Even <baruch@ev-en.org>
606 * insetgraphisc.C: Changed to use better semantics when loading images
607 for inline view. Now it doesn't keep the pixmap itself but it's holder.
609 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
613 * insetgraphics.C: change name of "hide" signal to "hideDialog",
614 consistent with InsetTabular.
616 2001-02-19 Juergen Vigna <jug@sad.it>
618 * insettabular.C (LocalDispatch): implement PAGE up/down.
620 * insettext.C (draw): clear all of it on need_update==INIT too!
622 * insettabular.C (InsetUnlock): always clear the selection.
624 * inset.C (scroll): normally we only want to scroll the inset until
625 it is fully visible so if top_x + offset > 20 then just set scx to 0.
627 2001-02-14 Juergen Vigna <jug@sad.it>
629 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
630 (resetPos): fixed scroll behaviour.
631 (LocalDispatch): do an update if moving cursor inside a table cell
632 requests a scroll of the tabular.
634 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
636 * insettext.C (textWidth): constify local var
638 * insettabular.C: small cleanup.
640 * insetfoot.C (Latex): constify local var
642 * insetcollapsable.C: small cleanup.
644 * figinset.C (runqueue): use compare instead of strcmp
646 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
649 * insetinfo.C: remove cruft
651 2001-02-14 Juergen Vigna <jug@sad.it>
653 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
655 2001-02-13 Juergen Vigna <jug@sad.it>
657 * insettext.C (InsertInset): don't move left (is this right?)
659 * insettabular.C (LocalDispatch): use of the no_draw variable
661 * insettabular.h: new no_draw variable to stop redraw
663 * insettabular.C (TabularFeatures): fixed update for alignment change
665 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
669 * insetbib.C: move dialogs to frontends/
671 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
673 * insettext.C (LocalDispatch): Restore the language if the inset
676 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
678 * insettext.C (moveRightIntern): Update the selection cursor.
679 (moveLeftIntern): Ditto.
681 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
683 * Makefile.am: remove BoundingBox.h
685 * BoundingBox.h: removed
687 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
689 * insettext.C (LocalDispatch): Update selection cursor when moving
691 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
692 (moveLeftIntern): Ditto.
694 2001-02-05 Baruch Even <baruch.even@writeme.com>
696 * insetgraphics.C: Updated automatic image conversion, it now goes into
697 temporary directory instead of with the image itself.
699 2001-01-21 Baruch Even <baruch@ev-en.org>
701 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
702 to EPS or PNG when needed (support bitmap graphics).
704 2000-11-02 Baruch Even <baruch@ev-en.org>
707 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
708 and removal of commented out code.
710 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
712 * insetbib.C (callback): Update citations if the key has changed.
714 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
716 * insetbib.C (InsetBibKey): Better computation of default key.
717 (getScreenLabel) Show both the key and the label.
718 (getBibLabel): New method.
719 (callback): Force a redraw if the inset have been changed.
721 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
723 * insetref.C (getType, getName): Move methods from
724 src/frontends/xforms/FormRef.C.
726 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
728 * insettabular.C: Various improvements (use only one dummy position).
730 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
732 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
733 par->bibkey->width. This fixes the crashes when running without
734 gui or when having included documents.
736 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
738 * insetcommand.C (getAsString, setFromString): Cleanup.
740 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
742 * insetref.C: Add the array InsetRef::types that contains
743 information about all supported reference types.
745 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
747 * lyxinset.h: remove trailing comma in enum.
749 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
751 * insettext.C: kill LyXBell.