1 2001-07-23 Juergen Vigna <jug@sad.it>
3 * insetert.C (InsetERT): use setLabel with "true" flag.
5 * insetcollapsable.C: modified various functions to set the draw_label
6 string right in any condition.
7 (setLabel): added a bool parameter to set change_label_with_text.
9 * insetcollapsable.h: added draw_label string which is set to the
10 actual drawn label-string, while label is the original static label
11 of this collapsable inset. Added bool change_label_with_text to set
12 if we want that the label changes to the start of the InsetText's
13 text when collabpsed. You can set this flag with the setLabel funciton.
14 Added bool inlined for inlined collapsable insets, but not handled
17 * insetcollapsable.C (get_new_label): added should get a new label
18 from the InsetText beginning (for now 10 chars).
20 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
22 * insetquotes.C (latex): fix the handling of french double quotes
23 when not using the french pachage.
25 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * insetcollapsable.h: make WidthCollapsed mutable.
29 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
30 InsetPrintIndex returns INDEX_PRINT_CODE.
32 * inset.h: add INDEX_PRINT_CODE
34 * insetcollapsable.C (draw): init widthCollapsed if necessary
37 * insetquotes.C (width): use the local language, not the document
40 (dispString): add additional spacing for all french languages,
42 (validate): make it work when there is no default language
44 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
46 * insetnote.C (init): new method, called by the constructors
47 (InsetNote): new constructor with contents passed as a string
49 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * insetfootlike.C (insetAllowed): disallow float in footlike.
53 * insetert.C (InsetERT): add collapsed argument to the constrctor
56 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
58 * insetindex.h: shut off warning
60 2001-07-20 Juergen Vigna <jug@sad.it>
62 * insetcollapsable.C (update): recoded hopefully works now!
64 2001-07-19 Juergen Vigna <jug@sad.it>
66 * most files: implemented the below new introduced function.
68 * inset.h: added new edit(BufferView *, bool front) method to be able
69 to enter an inset from the front/back without knowing x/y positions
70 and baselines inside the inset. So I just can tell the inset activate
71 me and set the cursor on the front/back of yourself.
73 2001-07-18 Juergen Vigna <jug@sad.it>
75 * insetcollapsable.C (edit): fixed hopefully the y parameter which
76 is givven to the InsetText.
77 (insetButtonPress): ditto
78 (insetButtonRelease): ditto
79 (insetMotionNotify): ditto
81 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
83 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
84 LIGATURE_BREAK, since the name is so stupid.
86 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
88 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
89 the default InsetCollapsable methods. I.e., it can insert anything.
90 (write) output the name of the inset, not some silly hack for
91 compatability with the old InsetInfo.
93 * insetinfo.[Ch]: removed.
94 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
95 now collapsable, but functionality is otherwise identical to InsetInfo.
97 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
99 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
104 * insetquotes.C: general cleanup
105 (dispString): add spaces inside french double quotes.
106 (latex): ditto. Moreover, treat first the case where the frenchb
107 or french options have been given.
109 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
111 * insetcite.[Ch] (latex, validate): new methods, required for natbib
114 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
116 * figinset.C (RegisterFigure): Print debug message only when
117 current_view is available.
119 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * many files: update to match the change below
123 * inset.h (insetAllowed): renamed from insertInsetAllowed;
124 implement the version which takes an inset here.
126 * insetcollapsable.[Ch]: implement open and isOpen
128 * inset.h: remove insertInsetAllowed from Inset
129 (open): new method, to open or close an inset
130 (isOpen): returns the status of an inset
131 (isCollapsable, colapse): removed
133 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
135 * insetquotes.C (dispString): display french guillemets when using
138 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
140 * insetcollapsable.h: remove bogus return statements
142 2001-07-18 Juergen Vigna <jug@sad.it>
144 * insettabular.C (selectNextWord): fixed spellchecking for the
145 first cell of a tabular (wasn't entered!)
146 (getLyXText): changed to enter automatically insettext and return
147 it's LyXText if we're locked.
149 2001-07-17 Juergen Vigna <jug@sad.it>
151 * various files: implemented the below functions.
153 * inset.h: added functions
154 - virtual string selectNextWord(BufferView *, float & value) const;
155 - virtual void selectSelectedWord(BufferView *) { return; }
156 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
157 needed for spellchecking correctly!
159 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
161 * insetert.C (latex): write out all paragraphs.
163 2001-07-17 Baruch Even <baruch@lyx.org>
165 * insetgraphics.C (draw): Removed unneeded casts.
167 2001-07-16 Juergen Vigna <jug@sad.it>
169 * insettext.C (update): fixed small oversight (reset lt to 0).
171 2001-07-14 Baruch Even <baruch@lyx.org>
174 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
176 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
178 Consistent use of Lsstream.h:
179 * figinset.C: removed using std::ostringstream directive.
181 * insetgraphics.C (createLatexOptions):
182 * insetinclude.C (unique_id):
183 std::ostringstream -> ostringstream.
184 * insettext.C (localDispatch): std::istringstream -> istringstream.
186 2001-07-13 Juergen Vigna <jug@sad.it>
188 * insetfloat.C (insertInsetAllowed): added missing const_cast.
190 * insetcollapsable.C (getLockingInset): ditto.
192 2001-07-12 Juergen Vigna <jug@sad.it>
194 * insetcollapsable.h: added implementation of new function for
197 * various files: added implementation of new insertInsetAllowed-func
198 and redone the function a bit more.
200 * inset.h: added isCollapsable(), bool collapsed(),
201 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
203 * insetfloat.C (insertInsetAllowed): make a bit more checks.
205 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
206 LyXText which is marked for removal while we're using it!
208 * insettext.h: added private LyXText * lt to use it to assure we are
209 not deleting our LyXText while we're using it!
211 2001-07-11 Juergen Vigna <jug@sad.it>
213 * insettext.C (insertInset): check if we are before the inset after
214 inserting it! This check IS needed. Remove the Undo-Call as it is
215 called in LyXText::insertInset!
217 * insettext.h: added struct InnerCache.
219 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
220 that we ONLY delete the LyXText in the getLyXText() routine. So we
221 are sure we don't delete LyXText while someone is working with it!
223 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
225 * insetexternal.C: (*it). -> it->
228 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
230 * insetcollapsable.C (edit): always open collapsed insets (even if
231 they are not autocollapsable)
233 * insetcommand.C (operator=): simplify.
235 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
237 * insetert.C (latex): handle META_NEWLINE
239 2001-07-09 Juergen Vigna <jug@sad.it>
241 * insetert.h: a normal InsetText can insert insets, but we won't.
243 * inset.h: return default "false" on insertInsetAllowed and implement
244 this function where a returnvalue != "false" is needed.
246 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
248 * insetert.C (InsetERT): new contructor
250 2001-07-06 Juergen Vigna <jug@sad.it>
252 * a lot of files: added implementation of the below new functions
253 and the change to clone(). Also the call of the new undo-functions
256 * inset.h: added an inset_id, added functions getParFromID,
257 getInsetFromID, firstParagraph, cursor and id functions, added
258 bool same_ids to clone function.
260 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
262 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
263 of BufferView * and shared_ptr<LyXText>
265 2001-07-05 Juergen Vigna <jug@sad.it>
267 * insettext.C (clear): deleted also the cache not only LyXText.
268 (setParagraphData): ditto.
270 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
272 * insetfloat.C (latex): let the specific placement take presedence
273 if set, otherwise choose document placement if set, otherwise just
274 use float default placement.
276 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
278 * insettext.C (localDispatch): call CutAndPaste::'s static method
281 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
283 * insetbib.C: no meed to include forms.h here.
285 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
287 * insettext.C: added using std::make_pair directive.
289 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
291 * insettext.C (getLyXText): avoid multiple lookups, and simplify
293 (deleteLyXText): ditto
294 (resizeLyXText): ditto
296 2001-07-02 Juergen Vigna <jug@sad.it>
298 * insettext.C (getLyXText): introduce a cache in getLyXText so that
299 following calls are only returned the right pointer without the over
300 head to search in the map.
301 (various funcs): reset the cached_bview variable as this signs that
302 the cache is not valid anymore.
304 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
306 * insettabular.C (clone): do not copy the LyXTabular twice
308 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
310 * insettext.h (TEXT): delete method
312 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
314 * insetmarginal.C (latex):
315 * insetfoot.C (latex): fix spacing of notes in LaTeX
317 * insettext.C (localDispatch): use .c_str() on istringstream
318 constructor argument.
320 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
325 * inseturl.C: fix method names in these to begin
326 with small char too, so they inherit
328 2001-06-28 Juergen Vigna <jug@sad.it>
330 * insettext.C (setFont): fixed font settings using toggleFree()
331 instead of setFont().
333 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
335 * Change a lot of method names to begin with a small char.
336 Changes to a lot of files because of this.
338 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
340 * insetfloatlist.C (Write): std:: qualify ostream
343 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
347 * insetgraphics.C: send debug output to Debug::INFO instead of
350 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
353 * insettabular.C (getStatus): update to use func_status
355 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
357 * insetref.C (DocBook): added support for cross-references without
360 2001-06-26 The LyX Project <jug@sad.it>
365 * insetlabel.h: removed escape method and moved it to
368 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
370 * insettabular.C (getMaxWidth): do the speedup in a different way,
373 2001-06-24 The LyX Project <Asger>
375 * insettabular.C (getMaxWidth): We cache a mapping from
376 inset to cell in order to speed this method up.
378 2001-06-24 The LyX Project <Asger>
380 * insettext.C: Optimized InsetText::draw or something.
382 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
384 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
386 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
388 * inset.h: name change from lyxinset.h
390 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
392 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
394 2001-06-14 Juergen Vigna <jug@sad.it>
396 * insettext.C (draw): removed warnings.
398 2001-06-13 Juergen Vigna <jug@sad.it>
400 * insettabular.C (nodraw): only go down the tree if we don't have
401 that flag set otherwise it's obvious that we don't want to draw.
402 (LocalDispatch): do also an update if we have an undispached result.
404 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
407 * insetgraphicsParams.C:
408 * insettext.C: removed // -*- C++ -*- as first line.
410 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
412 * lyxinset.h (resizeLyXText): shut off warning about unused
415 2001-06-07 Juergen Vigna <jug@sad.it>
417 * insettext.C (resizeLyXText): honor the new force flag.
419 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
421 * insettabular.C (deleteLyXText): new function
423 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
431 * insetcollapsable.C:
432 * insetcaption.C: LColor tidy
434 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
436 * figinset.C: fix typo
438 2001-06-01 Juergen Vigna <jug@sad.it>
440 * insettabular.C (resetPos): small hack so that scroll is not set to
441 0 when we are in the last column of a tabular. This is a problem we
442 have because of constats 20 offset on both directions, so this can
443 cause on the limit an endless loop.
445 * insettext.C (SetFont): forgot that we can have locking insets ;)
447 2001-05-31 Juergen Vigna <jug@sad.it>
449 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
451 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
453 * figinset.C: add using std:: directive for the C functions which
456 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
458 * insetfloat.C (Write): write out wide info
459 (Read): read the wide info
460 (Latex): use the wide info when creating latex.
462 * insettext.C: adjust
464 * insetgraphics.[Ch] (statusMessage): change to return string
468 * figinset.C (runqueue): add std::
471 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
473 * insetcite.C (Ascii): add std:: qualifier
475 2001-05-28 Juergen Vigna <jug@sad.it>
477 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
478 a endless-width inset (maxWidth < 0).
479 (Edit): change language only if not equal.
481 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
483 * insettext.C (draw): fixed draw/clear of InsetText-Frame
485 2001-05-16 Juergen Vigna <jug@sad.it>
487 * insettext.C (selectAll): added
488 (clearSelection): added
490 * insettabular.C (SetFont): now we may set a font on a whole selection!
491 (getSelection): added helper function.
493 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
495 * insetcite.C (Ascii): Add method.
497 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
500 * insetbib.C: fix path for OS/2 & Win32
502 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
504 * insetfoot.C (Latex): don't use % after footnote.
506 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
508 * insettext.C (Read): use clear
509 (SetParagraphData): use LyXParagraph copy constructor instead of clone
511 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
513 * insetfloatlist.h: add a bunch of std:: qualifiers.
515 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
518 FLOAT_LIST_CODE, renumber code list.
520 * insettoc.C (getScreenLabel): remove support for float lists
524 * insetfloatlist.[Ch]: new files
526 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
528 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
530 * insettabular.C (LocalDispatch):
531 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
534 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
536 * insettext.C: remvoe !NEW_INSETS cruft
538 * insettabular.C: remove !NEW_INSETS cruft
540 * insetcollapsable.h: remove !NEW_INSETS cruft
542 * insetbib.C: remove !NEW_INSETS cruft
544 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
546 * insettoc.C: hack to make listof algorithm work
548 2001-04-20 Juergen Vigna <jug@sad.it>
550 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
552 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
554 * insetquotes.C (Latex): improve the guard against
555 unwanted !` and ?` ligatures. This should really be done in
556 another place (to catch all this ligatures at low-level).
558 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
560 * insettext.C (init): remvoe leftovers from cursor_visible change
562 (LocalDispatch): dispatch LFUN_MESSAGE
564 * insettabular.C (InsetTabular): remove leftovers from
565 cursor_visible, and scoped_ptr changes
568 * insetcollapsable.C (draw): use c++ cast
570 * ExternalTemplate.h: inherit privaely from noncopyable
571 * insetcommand.h: ditto
572 * insetinclude.h: ditto
574 2001-04-16 Allan Rae <rae@lyx.org>
576 * insettoc.C (Ascii):
577 * insettext.C (draw):
578 * insettabular.C (setPos):
579 * insetminipage.C (Read):
580 * insetfloat.C (placement):
581 * insetcaption.C (Ascii, DocBook):
582 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
583 an unrecognised preprocessor directive. So ensure they're wrapped.
585 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
588 * insetexternal.C: set view on Clone. Add _ to private members.
590 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
592 * insettext.C (InsetText): fix new
593 (InsetText): reindent some, simplify deletion of par list
594 (clear): simplify deletion of par list, fix new
595 (SetParagraphData): simplify deletion of par list
597 * insettabular.[Ch] (getLabelList): implement new method
599 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
601 * lyxinset.h: do not include gettext.h...
609 * insetlatexaccent.C:
613 * inseturl.C: ... and do it here instead
615 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
617 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
619 * insettext.[Ch] (getLabelList): add std:: on vector<string>
621 * insetcollapsable.[Ch] (getLabelList): implement
623 * insettext.[Ch] (getLabelList): implement
625 * insettext.h: reindent
627 * insettabular.h: make tabular a scoped_ptr
629 * insettext.C (init): adjust for cursor_visible
630 (ToggleInsetCursor): constify asc and desc, font, adjust for
632 (ShowInsetCursor): constify asc and desc, font, adjust for
634 (HideInsetCursor): adjust for cursor_visible
636 * insettabular.C: reindent some
637 (InsetTabular): adjust for scoped_ptr and cursor_visible
638 (InsetTabular): ditto
639 (~InsetTabular): delete delete
640 (Clone): adjust for scoped_ptr
641 (Read): constify old_format, adjust for scoped_ptr, move init of
643 (draw): constify tx, localize loop vars.
644 some other localization of variables, remove double initilizatons.
646 * insetfoot.C: remove using std::ostream, add ostream where needed
648 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
650 * lyxinset.h: some reindentaion, use initializer list for
652 UpdatableInset: make cursor_visible a private var add
653 public isCursorVisible(), add protected toggleCursorVisible() and
654 proctected setCursorVisible(bool), make scroll call the Inset::scroll
656 * insettoc.C: remvoe using decl
657 (getScreenLabel): make cmdname donst
660 (Ascii): don't use endl
662 * insetfootlike.C: remove using decl at file scope and add std::
664 * insetmarginal.C: ditto
666 * insetfoot.C: some reformatting
668 * insetfloat.C (InsetButtonRelease): adjust the hit area
670 * insetert.C (SetFont): some reformatting
672 * insetcollapsable.C: some reformatting and constification
673 (Clone): comment out.
674 * insetcollapsable.h: some reformatting
675 (Clone): comment out.
680 2001-03-30 Juergen Vigna <jug@sad.it>
682 * insetcollapsable.h: changen *inset to be a InsetText inset.
684 * some files: changed to reflect the above change.
686 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
688 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
689 InsetExternal::Params.
690 Added operator==() and operator!=() for the Params struct.
692 2001-03-29 Juergen Vigna <jug@sad.it>
694 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
697 * insetminipage.C: removed widthp_ and all it's functions and changed
698 to use new %-lengths of LyXLength.
700 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
702 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
704 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
706 * insetgraphicsParams.C (operator!=): new function, needed by the
707 ControlGraphics class.
709 2001-03-28 Juergen Vigna <jug@sad.it>
711 * insettext.C (InsetButtonPress): only enter !inset if button == 2
712 (checkAndActivateInset): don't use the values returned from
713 call to bv->checkInsetHit.
715 * insetminipage.C (Clone): set special minipage values.
717 * insetcollapsable.C (draw): changed to draw the button in the
718 upper left corner outside the textinset.
719 (ascent): changed because of different drawing
723 (InsetButtonPress): ditto
724 (InsetButtonRelease): ditto
725 (InsetMotionNotify): ditto
727 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
729 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
733 2001-03-26 Juergen Vigna <jug@sad.it>
735 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
737 * insettext.C (ShowInsetDialog): implemented above function.
739 * insettabular.C (ShowInsetDialog): ditto
741 * insetminipage.C (ShowInsetDialog): ditto
743 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
745 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
746 InsetInclude::Params. Don't store a buffer * in Params. Store the
747 master file name instead.
749 2001-03-23 Juergen Vigna <jug@sad.it>
751 * insetcollapsable.C (InsetMotionNotify):
752 (InsetButtonRelease):
753 (InsetButtonPress): fixed y-offset (minipages).
755 * insettext.C (draw): force a FULL update if cleared == true.
757 * insetcollapsable.C (draw): Lars forgotten entry for changing this
758 routine to draw the minipages on its position-flag.
759 (InsetInInsetY): give back the right y position, because of minipage
762 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
765 * insetfloat.C (DocBook): docbook export code.
767 2001-03-22 Juergen Vigna <jug@sad.it>
769 * insetminipage.C (getMaxWidth): added function to set the drawing
771 (Read): should work now!
773 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
774 if we create a new inset.
776 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
778 * figinset.C (fl_set_preemptive_callback): moved definition outside
781 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
783 * insetminipage.C (Read): prepare for reading of minipage arguments.
785 2001-03-18 Baruch Even <baruch@lyx.org>
787 * insetgraphics.C: Minor cleanups of the comments and code.
789 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
791 * insetminipage.C (InsetMinipage): default to not collapsed
793 2001-03-16 Juergen Vigna <jug@sad.it>
795 * insetminipage.C (width): modified with to be a string
796 (widthp): added widthp (for % width) support functions.
797 (InsetButtonRelease): added to open the options dialog on button==3.
798 (~InsetMinipage): added to hide the dialog.
800 * insetminipage.h: added hideDialog signal
802 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
804 * insetminipage.h: change the order or Position to match
805 LyXParagraph::MINIPAGE_ALIGNMENT
807 * several files: remvoe CXX_WORKING_NAMESPACES
809 * ExternalTemplate.h: noncopyable is in namespace boost
810 * insetinclude.h: ditto
811 * insetcommand.h: ditto
813 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
815 * insettext.C (Edit): #else# -> #else.
816 * insettoc.C: added using directive.
818 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
820 * insetminipage.h: add pos, inner_pos, width and height. + getters
821 and setters for all of them.
823 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
825 * insetinclude.C (Latex): Do not exit when the textclass of the
826 included file differ from the textclass of the parent file.
828 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
830 * ExternalTemplate.C (read): the reading of external insets now checks
831 for \end_inset and removes it form the input stream.
833 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
835 * ExternalTemplate.h:
836 * ExternalTemplate.C:
838 * insetexternal.C: move form to GUII
840 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
843 * insetinclude.C: add InsetIncludeParams, use
844 composition rather than derivation of InsetCommand
846 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
848 * insettoc.C (Ascii): use the Buffer typedefs
850 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
852 * insettoc.C (Ascii): implement for dynamic number of lists
854 * insetcaption.[Ch]: update from new_insets branch
855 * insetfloat.[Ch]: ditto
857 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
860 * figinset.C: use new File Dialog
862 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
864 * insettext.C: changes becuase of ParagraphParameters.
866 2001-02-28 Baruch Even <baruch@ev-en.org>
868 * insetgraphics.C (updateInset): Changed due to the change in
871 2001-02-26 Juergen Vigna <jug@sad.it>
873 * insettext.C (SetFont): Set Undo only if we have selection (as it is
876 2001-02-23 Juergen Vigna <jug@sad.it>
878 * insettext.C (draw): some small repainting fixes.
879 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
881 * inset.C (LocalDispatch): changed action to be a kb_action (as it
882 should be) and not an int.
884 * insettabular.C (LocalDispatch): ditto
886 * insettext.C (LocalDispatch): ditto
888 * insetcollapsable.C (LocalDispatch): ditto
890 2001-02-22 Juergen Vigna <jug@sad.it>
892 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
893 DISPATCH it and we don't have a locking_inset.
895 2001-02-21 Baruch Even <baruch@ev-en.org>
897 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
898 instead of GraphicsCacheItem *.
900 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
902 * insetcollapsable.C (getLyXText): add const qualifier to second
905 2001-02-22 Juergen Vigna <jug@sad.it>
907 * insettext.C (getLyXText): honor the recursive parameter.
908 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
910 * inset.C (getLyXText): added bool recursive parameter.
912 * insettext.C (SetUpdateStatus): or the update codes.
913 (draw): check need_update with &.
914 (InsetButtonPress): set no_selection to not put a selection when
915 entering an inset and it is redraws in another spot.
917 * insettext.h: made need_update an int.
919 2001-02-20 Baruch Even <baruch@ev-en.org>
922 * insetgraphisc.C: Changed to use better semantics when loading images
923 for inline view. Now it doesn't keep the pixmap itself but it's holder.
925 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
929 * insetgraphics.C: change name of "hide" signal to "hideDialog",
930 consistent with InsetTabular.
932 2001-02-19 Juergen Vigna <jug@sad.it>
934 * insettabular.C (LocalDispatch): implement PAGE up/down.
936 * insettext.C (draw): clear all of it on need_update==INIT too!
938 * insettabular.C (InsetUnlock): always clear the selection.
940 * inset.C (scroll): normally we only want to scroll the inset until
941 it is fully visible so if top_x + offset > 20 then just set scx to 0.
943 2001-02-14 Juergen Vigna <jug@sad.it>
945 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
946 (resetPos): fixed scroll behaviour.
947 (LocalDispatch): do an update if moving cursor inside a table cell
948 requests a scroll of the tabular.
950 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
952 * insettext.C (textWidth): constify local var
954 * insettabular.C: small cleanup.
956 * insetfoot.C (Latex): constify local var
958 * insetcollapsable.C: small cleanup.
960 * figinset.C (runqueue): use compare instead of strcmp
962 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
965 * insetinfo.C: remove cruft
967 2001-02-14 Juergen Vigna <jug@sad.it>
969 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
971 2001-02-13 Juergen Vigna <jug@sad.it>
973 * insettext.C (InsertInset): don't move left (is this right?)
975 * insettabular.C (LocalDispatch): use of the no_draw variable
977 * insettabular.h: new no_draw variable to stop redraw
979 * insettabular.C (TabularFeatures): fixed update for alignment change
981 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
985 * insetbib.C: move dialogs to frontends/
987 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
989 * insettext.C (LocalDispatch): Restore the language if the inset
992 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
994 * insettext.C (moveRightIntern): Update the selection cursor.
995 (moveLeftIntern): Ditto.
997 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
999 * Makefile.am: remove BoundingBox.h
1001 * BoundingBox.h: removed
1003 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1005 * insettext.C (LocalDispatch): Update selection cursor when moving
1006 cursor to the right.
1007 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1008 (moveLeftIntern): Ditto.
1010 2001-02-05 Baruch Even <baruch.even@writeme.com>
1012 * insetgraphics.C: Updated automatic image conversion, it now goes into
1013 temporary directory instead of with the image itself.
1015 2001-01-21 Baruch Even <baruch@ev-en.org>
1017 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1018 to EPS or PNG when needed (support bitmap graphics).
1020 2000-11-02 Baruch Even <baruch@ev-en.org>
1023 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1024 and removal of commented out code.
1026 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1028 * insetbib.C (callback): Update citations if the key has changed.
1030 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1032 * insetbib.C (InsetBibKey): Better computation of default key.
1033 (getScreenLabel) Show both the key and the label.
1034 (getBibLabel): New method.
1035 (callback): Force a redraw if the inset have been changed.
1037 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1039 * insetref.C (getType, getName): Move methods from
1040 src/frontends/xforms/FormRef.C.
1042 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1044 * insettabular.C: Various improvements (use only one dummy position).
1046 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1048 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1049 par->bibkey->width. This fixes the crashes when running without
1050 gui or when having included documents.
1052 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1054 * insetcommand.C (getAsString, setFromString): Cleanup.
1056 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1058 * insetref.C: Add the array InsetRef::types that contains
1059 information about all supported reference types.
1061 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1063 * lyxinset.h: remove trailing comma in enum.
1065 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1067 * insettext.C: kill LyXBell.