1 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insetcollapsable.h: make WidthCollapsed mutable.
5 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6 InsetPrintIndex returns INDEX_PRINT_CODE.
8 * inset.h: add INDEX_PRINT_CODE
10 * insetcollapsable.C (draw): init widthCollapsed if necessary
13 * insetquotes.C (width): use the local language, not the document
16 (dispString): add additional spacing for all french languages,
18 (validate): make it work when there is no default language
20 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
22 * insetnote.C (init): new method, called by the constructors
23 (InsetNote): new constructor with contents passed as a string
25 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * insetfootlike.C (insetAllowed): disallow float in footlike.
29 * insetert.C (InsetERT): add collapsed argument to the constrctor
32 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
34 * insetindex.h: shut off warning
36 2001-07-20 Juergen Vigna <jug@sad.it>
38 * insetcollapsable.C (update): recoded hopefully works now!
40 2001-07-19 Juergen Vigna <jug@sad.it>
42 * most files: implemented the below new introduced function.
44 * inset.h: added new edit(BufferView *, bool front) method to be able
45 to enter an inset from the front/back without knowing x/y positions
46 and baselines inside the inset. So I just can tell the inset activate
47 me and set the cursor on the front/back of yourself.
49 2001-07-18 Juergen Vigna <jug@sad.it>
51 * insetcollapsable.C (edit): fixed hopefully the y parameter which
52 is givven to the InsetText.
53 (insetButtonPress): ditto
54 (insetButtonRelease): ditto
55 (insetMotionNotify): ditto
57 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
59 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
60 LIGATURE_BREAK, since the name is so stupid.
62 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
64 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
65 the default InsetCollapsable methods. I.e., it can insert anything.
66 (write) output the name of the inset, not some silly hack for
67 compatability with the old InsetInfo.
69 * insetinfo.[Ch]: removed.
70 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
71 now collapsable, but functionality is otherwise identical to InsetInfo.
73 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
75 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
80 * insetquotes.C: general cleanup
81 (dispString): add spaces inside french double quotes.
82 (latex): ditto. Moreover, treat first the case where the frenchb
83 or french options have been given.
85 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
87 * insetcite.[Ch] (latex, validate): new methods, required for natbib
90 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
92 * figinset.C (RegisterFigure): Print debug message only when
93 current_view is available.
95 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * many files: update to match the change below
99 * inset.h (insetAllowed): renamed from insertInsetAllowed;
100 implement the version which takes an inset here.
102 * insetcollapsable.[Ch]: implement open and isOpen
104 * inset.h: remove insertInsetAllowed from Inset
105 (open): new method, to open or close an inset
106 (isOpen): returns the status of an inset
107 (isCollapsable, colapse): removed
109 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
111 * insetquotes.C (dispString): display french guillemets when using
114 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
116 * insetcollapsable.h: remove bogus return statements
118 2001-07-18 Juergen Vigna <jug@sad.it>
120 * insettabular.C (selectNextWord): fixed spellchecking for the
121 first cell of a tabular (wasn't entered!)
122 (getLyXText): changed to enter automatically insettext and return
123 it's LyXText if we're locked.
125 2001-07-17 Juergen Vigna <jug@sad.it>
127 * various files: implemented the below functions.
129 * inset.h: added functions
130 - virtual string selectNextWord(BufferView *, float & value) const;
131 - virtual void selectSelectedWord(BufferView *) { return; }
132 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
133 needed for spellchecking correctly!
135 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
137 * insetert.C (latex): write out all paragraphs.
139 2001-07-17 Baruch Even <baruch@lyx.org>
141 * insetgraphics.C (draw): Removed unneeded casts.
143 2001-07-16 Juergen Vigna <jug@sad.it>
145 * insettext.C (update): fixed small oversight (reset lt to 0).
147 2001-07-14 Baruch Even <baruch@lyx.org>
150 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
152 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
154 Consistent use of Lsstream.h:
155 * figinset.C: removed using std::ostringstream directive.
157 * insetgraphics.C (createLatexOptions):
158 * insetinclude.C (unique_id):
159 std::ostringstream -> ostringstream.
160 * insettext.C (localDispatch): std::istringstream -> istringstream.
162 2001-07-13 Juergen Vigna <jug@sad.it>
164 * insetfloat.C (insertInsetAllowed): added missing const_cast.
166 * insetcollapsable.C (getLockingInset): ditto.
168 2001-07-12 Juergen Vigna <jug@sad.it>
170 * insetcollapsable.h: added implementation of new function for
173 * various files: added implementation of new insertInsetAllowed-func
174 and redone the function a bit more.
176 * inset.h: added isCollapsable(), bool collapsed(),
177 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
179 * insetfloat.C (insertInsetAllowed): make a bit more checks.
181 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
182 LyXText which is marked for removal while we're using it!
184 * insettext.h: added private LyXText * lt to use it to assure we are
185 not deleting our LyXText while we're using it!
187 2001-07-11 Juergen Vigna <jug@sad.it>
189 * insettext.C (insertInset): check if we are before the inset after
190 inserting it! This check IS needed. Remove the Undo-Call as it is
191 called in LyXText::insertInset!
193 * insettext.h: added struct InnerCache.
195 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
196 that we ONLY delete the LyXText in the getLyXText() routine. So we
197 are sure we don't delete LyXText while someone is working with it!
199 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
201 * insetexternal.C: (*it). -> it->
204 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
206 * insetcollapsable.C (edit): always open collapsed insets (even if
207 they are not autocollapsable)
209 * insetcommand.C (operator=): simplify.
211 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
213 * insetert.C (latex): handle META_NEWLINE
215 2001-07-09 Juergen Vigna <jug@sad.it>
217 * insetert.h: a normal InsetText can insert insets, but we won't.
219 * inset.h: return default "false" on insertInsetAllowed and implement
220 this function where a returnvalue != "false" is needed.
222 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
224 * insetert.C (InsetERT): new contructor
226 2001-07-06 Juergen Vigna <jug@sad.it>
228 * a lot of files: added implementation of the below new functions
229 and the change to clone(). Also the call of the new undo-functions
232 * inset.h: added an inset_id, added functions getParFromID,
233 getInsetFromID, firstParagraph, cursor and id functions, added
234 bool same_ids to clone function.
236 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
238 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
239 of BufferView * and shared_ptr<LyXText>
241 2001-07-05 Juergen Vigna <jug@sad.it>
243 * insettext.C (clear): deleted also the cache not only LyXText.
244 (setParagraphData): ditto.
246 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
248 * insetfloat.C (latex): let the specific placement take presedence
249 if set, otherwise choose document placement if set, otherwise just
250 use float default placement.
252 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
254 * insettext.C (localDispatch): call CutAndPaste::'s static method
257 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
259 * insetbib.C: no meed to include forms.h here.
261 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
263 * insettext.C: added using std::make_pair directive.
265 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
267 * insettext.C (getLyXText): avoid multiple lookups, and simplify
269 (deleteLyXText): ditto
270 (resizeLyXText): ditto
272 2001-07-02 Juergen Vigna <jug@sad.it>
274 * insettext.C (getLyXText): introduce a cache in getLyXText so that
275 following calls are only returned the right pointer without the over
276 head to search in the map.
277 (various funcs): reset the cached_bview variable as this signs that
278 the cache is not valid anymore.
280 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
282 * insettabular.C (clone): do not copy the LyXTabular twice
284 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
286 * insettext.h (TEXT): delete method
288 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
290 * insetmarginal.C (latex):
291 * insetfoot.C (latex): fix spacing of notes in LaTeX
293 * insettext.C (localDispatch): use .c_str() on istringstream
294 constructor argument.
296 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
301 * inseturl.C: fix method names in these to begin
302 with small char too, so they inherit
304 2001-06-28 Juergen Vigna <jug@sad.it>
306 * insettext.C (setFont): fixed font settings using toggleFree()
307 instead of setFont().
309 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
311 * Change a lot of method names to begin with a small char.
312 Changes to a lot of files because of this.
314 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
316 * insetfloatlist.C (Write): std:: qualify ostream
319 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
323 * insetgraphics.C: send debug output to Debug::INFO instead of
326 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
329 * insettabular.C (getStatus): update to use func_status
331 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
333 * insetref.C (DocBook): added support for cross-references without
336 2001-06-26 The LyX Project <jug@sad.it>
341 * insetlabel.h: removed escape method and moved it to
344 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
346 * insettabular.C (getMaxWidth): do the speedup in a different way,
349 2001-06-24 The LyX Project <Asger>
351 * insettabular.C (getMaxWidth): We cache a mapping from
352 inset to cell in order to speed this method up.
354 2001-06-24 The LyX Project <Asger>
356 * insettext.C: Optimized InsetText::draw or something.
358 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
360 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
362 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
364 * inset.h: name change from lyxinset.h
366 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
368 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
370 2001-06-14 Juergen Vigna <jug@sad.it>
372 * insettext.C (draw): removed warnings.
374 2001-06-13 Juergen Vigna <jug@sad.it>
376 * insettabular.C (nodraw): only go down the tree if we don't have
377 that flag set otherwise it's obvious that we don't want to draw.
378 (LocalDispatch): do also an update if we have an undispached result.
380 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
383 * insetgraphicsParams.C:
384 * insettext.C: removed // -*- C++ -*- as first line.
386 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
388 * lyxinset.h (resizeLyXText): shut off warning about unused
391 2001-06-07 Juergen Vigna <jug@sad.it>
393 * insettext.C (resizeLyXText): honor the new force flag.
395 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
397 * insettabular.C (deleteLyXText): new function
399 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
407 * insetcollapsable.C:
408 * insetcaption.C: LColor tidy
410 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
412 * figinset.C: fix typo
414 2001-06-01 Juergen Vigna <jug@sad.it>
416 * insettabular.C (resetPos): small hack so that scroll is not set to
417 0 when we are in the last column of a tabular. This is a problem we
418 have because of constats 20 offset on both directions, so this can
419 cause on the limit an endless loop.
421 * insettext.C (SetFont): forgot that we can have locking insets ;)
423 2001-05-31 Juergen Vigna <jug@sad.it>
425 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
427 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
429 * figinset.C: add using std:: directive for the C functions which
432 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
434 * insetfloat.C (Write): write out wide info
435 (Read): read the wide info
436 (Latex): use the wide info when creating latex.
438 * insettext.C: adjust
440 * insetgraphics.[Ch] (statusMessage): change to return string
444 * figinset.C (runqueue): add std::
447 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
449 * insetcite.C (Ascii): add std:: qualifier
451 2001-05-28 Juergen Vigna <jug@sad.it>
453 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
454 a endless-width inset (maxWidth < 0).
455 (Edit): change language only if not equal.
457 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
459 * insettext.C (draw): fixed draw/clear of InsetText-Frame
461 2001-05-16 Juergen Vigna <jug@sad.it>
463 * insettext.C (selectAll): added
464 (clearSelection): added
466 * insettabular.C (SetFont): now we may set a font on a whole selection!
467 (getSelection): added helper function.
469 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
471 * insetcite.C (Ascii): Add method.
473 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
476 * insetbib.C: fix path for OS/2 & Win32
478 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
480 * insetfoot.C (Latex): don't use % after footnote.
482 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * insettext.C (Read): use clear
485 (SetParagraphData): use LyXParagraph copy constructor instead of clone
487 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
489 * insetfloatlist.h: add a bunch of std:: qualifiers.
491 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
493 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
494 FLOAT_LIST_CODE, renumber code list.
496 * insettoc.C (getScreenLabel): remove support for float lists
500 * insetfloatlist.[Ch]: new files
502 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
504 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
506 * insettabular.C (LocalDispatch):
507 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
510 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
512 * insettext.C: remvoe !NEW_INSETS cruft
514 * insettabular.C: remove !NEW_INSETS cruft
516 * insetcollapsable.h: remove !NEW_INSETS cruft
518 * insetbib.C: remove !NEW_INSETS cruft
520 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
522 * insettoc.C: hack to make listof algorithm work
524 2001-04-20 Juergen Vigna <jug@sad.it>
526 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
528 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
530 * insetquotes.C (Latex): improve the guard against
531 unwanted !` and ?` ligatures. This should really be done in
532 another place (to catch all this ligatures at low-level).
534 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
536 * insettext.C (init): remvoe leftovers from cursor_visible change
538 (LocalDispatch): dispatch LFUN_MESSAGE
540 * insettabular.C (InsetTabular): remove leftovers from
541 cursor_visible, and scoped_ptr changes
544 * insetcollapsable.C (draw): use c++ cast
546 * ExternalTemplate.h: inherit privaely from noncopyable
547 * insetcommand.h: ditto
548 * insetinclude.h: ditto
550 2001-04-16 Allan Rae <rae@lyx.org>
552 * insettoc.C (Ascii):
553 * insettext.C (draw):
554 * insettabular.C (setPos):
555 * insetminipage.C (Read):
556 * insetfloat.C (placement):
557 * insetcaption.C (Ascii, DocBook):
558 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
559 an unrecognised preprocessor directive. So ensure they're wrapped.
561 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
564 * insetexternal.C: set view on Clone. Add _ to private members.
566 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
568 * insettext.C (InsetText): fix new
569 (InsetText): reindent some, simplify deletion of par list
570 (clear): simplify deletion of par list, fix new
571 (SetParagraphData): simplify deletion of par list
573 * insettabular.[Ch] (getLabelList): implement new method
575 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
577 * lyxinset.h: do not include gettext.h...
585 * insetlatexaccent.C:
589 * inseturl.C: ... and do it here instead
591 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
593 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
595 * insettext.[Ch] (getLabelList): add std:: on vector<string>
597 * insetcollapsable.[Ch] (getLabelList): implement
599 * insettext.[Ch] (getLabelList): implement
601 * insettext.h: reindent
603 * insettabular.h: make tabular a scoped_ptr
605 * insettext.C (init): adjust for cursor_visible
606 (ToggleInsetCursor): constify asc and desc, font, adjust for
608 (ShowInsetCursor): constify asc and desc, font, adjust for
610 (HideInsetCursor): adjust for cursor_visible
612 * insettabular.C: reindent some
613 (InsetTabular): adjust for scoped_ptr and cursor_visible
614 (InsetTabular): ditto
615 (~InsetTabular): delete delete
616 (Clone): adjust for scoped_ptr
617 (Read): constify old_format, adjust for scoped_ptr, move init of
619 (draw): constify tx, localize loop vars.
620 some other localization of variables, remove double initilizatons.
622 * insetfoot.C: remove using std::ostream, add ostream where needed
624 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
626 * lyxinset.h: some reindentaion, use initializer list for
628 UpdatableInset: make cursor_visible a private var add
629 public isCursorVisible(), add protected toggleCursorVisible() and
630 proctected setCursorVisible(bool), make scroll call the Inset::scroll
632 * insettoc.C: remvoe using decl
633 (getScreenLabel): make cmdname donst
636 (Ascii): don't use endl
638 * insetfootlike.C: remove using decl at file scope and add std::
640 * insetmarginal.C: ditto
642 * insetfoot.C: some reformatting
644 * insetfloat.C (InsetButtonRelease): adjust the hit area
646 * insetert.C (SetFont): some reformatting
648 * insetcollapsable.C: some reformatting and constification
649 (Clone): comment out.
650 * insetcollapsable.h: some reformatting
651 (Clone): comment out.
656 2001-03-30 Juergen Vigna <jug@sad.it>
658 * insetcollapsable.h: changen *inset to be a InsetText inset.
660 * some files: changed to reflect the above change.
662 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
664 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
665 InsetExternal::Params.
666 Added operator==() and operator!=() for the Params struct.
668 2001-03-29 Juergen Vigna <jug@sad.it>
670 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
673 * insetminipage.C: removed widthp_ and all it's functions and changed
674 to use new %-lengths of LyXLength.
676 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
678 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
680 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
682 * insetgraphicsParams.C (operator!=): new function, needed by the
683 ControlGraphics class.
685 2001-03-28 Juergen Vigna <jug@sad.it>
687 * insettext.C (InsetButtonPress): only enter !inset if button == 2
688 (checkAndActivateInset): don't use the values returned from
689 call to bv->checkInsetHit.
691 * insetminipage.C (Clone): set special minipage values.
693 * insetcollapsable.C (draw): changed to draw the button in the
694 upper left corner outside the textinset.
695 (ascent): changed because of different drawing
699 (InsetButtonPress): ditto
700 (InsetButtonRelease): ditto
701 (InsetMotionNotify): ditto
703 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
705 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
709 2001-03-26 Juergen Vigna <jug@sad.it>
711 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
713 * insettext.C (ShowInsetDialog): implemented above function.
715 * insettabular.C (ShowInsetDialog): ditto
717 * insetminipage.C (ShowInsetDialog): ditto
719 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
721 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
722 InsetInclude::Params. Don't store a buffer * in Params. Store the
723 master file name instead.
725 2001-03-23 Juergen Vigna <jug@sad.it>
727 * insetcollapsable.C (InsetMotionNotify):
728 (InsetButtonRelease):
729 (InsetButtonPress): fixed y-offset (minipages).
731 * insettext.C (draw): force a FULL update if cleared == true.
733 * insetcollapsable.C (draw): Lars forgotten entry for changing this
734 routine to draw the minipages on its position-flag.
735 (InsetInInsetY): give back the right y position, because of minipage
738 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
741 * insetfloat.C (DocBook): docbook export code.
743 2001-03-22 Juergen Vigna <jug@sad.it>
745 * insetminipage.C (getMaxWidth): added function to set the drawing
747 (Read): should work now!
749 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
750 if we create a new inset.
752 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
754 * figinset.C (fl_set_preemptive_callback): moved definition outside
757 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
759 * insetminipage.C (Read): prepare for reading of minipage arguments.
761 2001-03-18 Baruch Even <baruch@lyx.org>
763 * insetgraphics.C: Minor cleanups of the comments and code.
765 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
767 * insetminipage.C (InsetMinipage): default to not collapsed
769 2001-03-16 Juergen Vigna <jug@sad.it>
771 * insetminipage.C (width): modified with to be a string
772 (widthp): added widthp (for % width) support functions.
773 (InsetButtonRelease): added to open the options dialog on button==3.
774 (~InsetMinipage): added to hide the dialog.
776 * insetminipage.h: added hideDialog signal
778 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
780 * insetminipage.h: change the order or Position to match
781 LyXParagraph::MINIPAGE_ALIGNMENT
783 * several files: remvoe CXX_WORKING_NAMESPACES
785 * ExternalTemplate.h: noncopyable is in namespace boost
786 * insetinclude.h: ditto
787 * insetcommand.h: ditto
789 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
791 * insettext.C (Edit): #else# -> #else.
792 * insettoc.C: added using directive.
794 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
796 * insetminipage.h: add pos, inner_pos, width and height. + getters
797 and setters for all of them.
799 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
801 * insetinclude.C (Latex): Do not exit when the textclass of the
802 included file differ from the textclass of the parent file.
804 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
806 * ExternalTemplate.C (read): the reading of external insets now checks
807 for \end_inset and removes it form the input stream.
809 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
811 * ExternalTemplate.h:
812 * ExternalTemplate.C:
814 * insetexternal.C: move form to GUII
816 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
819 * insetinclude.C: add InsetIncludeParams, use
820 composition rather than derivation of InsetCommand
822 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
824 * insettoc.C (Ascii): use the Buffer typedefs
826 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
828 * insettoc.C (Ascii): implement for dynamic number of lists
830 * insetcaption.[Ch]: update from new_insets branch
831 * insetfloat.[Ch]: ditto
833 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
836 * figinset.C: use new File Dialog
838 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
840 * insettext.C: changes becuase of ParagraphParameters.
842 2001-02-28 Baruch Even <baruch@ev-en.org>
844 * insetgraphics.C (updateInset): Changed due to the change in
847 2001-02-26 Juergen Vigna <jug@sad.it>
849 * insettext.C (SetFont): Set Undo only if we have selection (as it is
852 2001-02-23 Juergen Vigna <jug@sad.it>
854 * insettext.C (draw): some small repainting fixes.
855 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
857 * inset.C (LocalDispatch): changed action to be a kb_action (as it
858 should be) and not an int.
860 * insettabular.C (LocalDispatch): ditto
862 * insettext.C (LocalDispatch): ditto
864 * insetcollapsable.C (LocalDispatch): ditto
866 2001-02-22 Juergen Vigna <jug@sad.it>
868 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
869 DISPATCH it and we don't have a locking_inset.
871 2001-02-21 Baruch Even <baruch@ev-en.org>
873 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
874 instead of GraphicsCacheItem *.
876 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
878 * insetcollapsable.C (getLyXText): add const qualifier to second
881 2001-02-22 Juergen Vigna <jug@sad.it>
883 * insettext.C (getLyXText): honor the recursive parameter.
884 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
886 * inset.C (getLyXText): added bool recursive parameter.
888 * insettext.C (SetUpdateStatus): or the update codes.
889 (draw): check need_update with &.
890 (InsetButtonPress): set no_selection to not put a selection when
891 entering an inset and it is redraws in another spot.
893 * insettext.h: made need_update an int.
895 2001-02-20 Baruch Even <baruch@ev-en.org>
898 * insetgraphisc.C: Changed to use better semantics when loading images
899 for inline view. Now it doesn't keep the pixmap itself but it's holder.
901 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
905 * insetgraphics.C: change name of "hide" signal to "hideDialog",
906 consistent with InsetTabular.
908 2001-02-19 Juergen Vigna <jug@sad.it>
910 * insettabular.C (LocalDispatch): implement PAGE up/down.
912 * insettext.C (draw): clear all of it on need_update==INIT too!
914 * insettabular.C (InsetUnlock): always clear the selection.
916 * inset.C (scroll): normally we only want to scroll the inset until
917 it is fully visible so if top_x + offset > 20 then just set scx to 0.
919 2001-02-14 Juergen Vigna <jug@sad.it>
921 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
922 (resetPos): fixed scroll behaviour.
923 (LocalDispatch): do an update if moving cursor inside a table cell
924 requests a scroll of the tabular.
926 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
928 * insettext.C (textWidth): constify local var
930 * insettabular.C: small cleanup.
932 * insetfoot.C (Latex): constify local var
934 * insetcollapsable.C: small cleanup.
936 * figinset.C (runqueue): use compare instead of strcmp
938 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
941 * insetinfo.C: remove cruft
943 2001-02-14 Juergen Vigna <jug@sad.it>
945 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
947 2001-02-13 Juergen Vigna <jug@sad.it>
949 * insettext.C (InsertInset): don't move left (is this right?)
951 * insettabular.C (LocalDispatch): use of the no_draw variable
953 * insettabular.h: new no_draw variable to stop redraw
955 * insettabular.C (TabularFeatures): fixed update for alignment change
957 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
961 * insetbib.C: move dialogs to frontends/
963 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
965 * insettext.C (LocalDispatch): Restore the language if the inset
968 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
970 * insettext.C (moveRightIntern): Update the selection cursor.
971 (moveLeftIntern): Ditto.
973 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
975 * Makefile.am: remove BoundingBox.h
977 * BoundingBox.h: removed
979 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
981 * insettext.C (LocalDispatch): Update selection cursor when moving
983 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
984 (moveLeftIntern): Ditto.
986 2001-02-05 Baruch Even <baruch.even@writeme.com>
988 * insetgraphics.C: Updated automatic image conversion, it now goes into
989 temporary directory instead of with the image itself.
991 2001-01-21 Baruch Even <baruch@ev-en.org>
993 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
994 to EPS or PNG when needed (support bitmap graphics).
996 2000-11-02 Baruch Even <baruch@ev-en.org>
999 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1000 and removal of commented out code.
1002 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1004 * insetbib.C (callback): Update citations if the key has changed.
1006 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1008 * insetbib.C (InsetBibKey): Better computation of default key.
1009 (getScreenLabel) Show both the key and the label.
1010 (getBibLabel): New method.
1011 (callback): Force a redraw if the inset have been changed.
1013 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1015 * insetref.C (getType, getName): Move methods from
1016 src/frontends/xforms/FormRef.C.
1018 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1020 * insettabular.C: Various improvements (use only one dummy position).
1022 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1024 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1025 par->bibkey->width. This fixes the crashes when running without
1026 gui or when having included documents.
1028 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1030 * insetcommand.C (getAsString, setFromString): Cleanup.
1032 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1034 * insetref.C: Add the array InsetRef::types that contains
1035 information about all supported reference types.
1037 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1039 * lyxinset.h: remove trailing comma in enum.
1041 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1043 * insettext.C: kill LyXBell.