1 2001-07-27 Juergen Vigna <jug@sad.it>
3 * inset.h: remove not used font variable in parameter.
5 * insetert.C (checkInsertChar): implementation of function
8 * inset.h: added new function checkInsertChar.
10 * various files: added c-tor and clone() function.
12 * insetcollapsable.h: removed clone function here as this should
13 be only realized in REAL insets and added it to all collapsable
14 insets! (with the copy-constructor).
16 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
18 * insetminipage.C (read): handle missing parameters more gracefully
20 * insetcollapsable.C (read): handel missing collapsed more gracefully
22 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
24 * insetfloat.C (read): handle missing parameters.
26 * insettext.C (read): handle old latex end_inset
28 * insetert.C (setButtonLabel): new method
29 (init): use it, to set the dynamic label correctly
32 * Makefile.am (EXTRA_DIST): add files that is not part or the
35 * insetcollapsable.h: remove autocollapsable (no users), remove
36 draw_label, change_label_with_text and companion code. Remove args
38 * insetert.[Ch]: move here instead (only user)
40 * inset.h: rename private variable name to name_, make
41 selectNextWord return a const string. make getInsetName return a
42 string const &. Remove bool from open, add close.
44 * Makefile.am: don't compile insetlist, insetsection
47 2001-07-24 Juergen Vigna <jug@sad.it>
49 * insetert.C (InsetERT): put init after the paragraph initialization,
50 as otherwise we don't set the draw_label right.
52 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
53 insets with the mouse without having strange selections.
54 (edit): if the inset was collapsed and we open it here then put the
55 cursor always at the beginning of the inset.
56 (get_new_label): 15 instead of 10 max chars in the label.
58 * insetert.C (localDispatch): added and handle various stuff we
59 need to handle here (font setting on paragraph break, not permitted
60 layout setting, etc.).
62 * inset.h: added default copy-consturctor and implemented this in
63 various insets with the change to use this in the clone function!
65 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * insetminipage.C (InsetMinipage): set background color to red :)
69 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
72 draw frame mode is LOCKED.
74 * insetcollapsable.C (edit):
75 (insetButtonRelease): set update status to full when
78 * insettext.C (clearInset):
79 * insettabular.C (draw):
80 * insetlatexaccent.C (draw): honor background color.
82 * inset.h: new member background_color_, initialized to
85 * inset.C (backgroundColor): new method.
86 (setBackgroundColor): new method.
88 * insetert.C (init): new method, called by the ctors.
89 (InsetERT): when inserting contents, make sure the font is
92 * insetnote.C (InsetNote): when inserting content, remove trailing
94 (init): set background color to LColor::note
96 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
98 * insetcollapsable.C: adjust
100 * insetbutton.C: adjust
102 2001-07-23 Juergen Vigna <jug@sad.it>
104 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
105 parameter on the _collapsed function (was not needed) and call
106 always width_collapsed().
108 * insetert.C (InsetERT): use setLabel with "true" flag.
110 * insetcollapsable.C: modified various functions to set the draw_label
111 string right in any condition.
112 (setLabel): added a bool parameter to set change_label_with_text.
114 * insetcollapsable.h: added draw_label string which is set to the
115 actual drawn label-string, while label is the original static label
116 of this collapsable inset. Added bool change_label_with_text to set
117 if we want that the label changes to the start of the InsetText's
118 text when collabpsed. You can set this flag with the setLabel funciton.
119 Added bool inlined for inlined collapsable insets, but not handled
122 * insetcollapsable.C (get_new_label): added should get a new label
123 from the InsetText beginning (for now 10 chars).
125 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
127 * insetquotes.C (latex): fix the handling of french double quotes
128 when not using the french pachage.
130 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
132 * insetcollapsable.h: make WidthCollapsed mutable.
134 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
135 InsetPrintIndex returns INDEX_PRINT_CODE.
137 * inset.h: add INDEX_PRINT_CODE
139 * insetcollapsable.C (draw): init widthCollapsed if necessary
142 * insetquotes.C (width): use the local language, not the document
145 (dispString): add additional spacing for all french languages,
147 (validate): make it work when there is no default language
149 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
151 * insetnote.C (init): new method, called by the constructors
152 (InsetNote): new constructor with contents passed as a string
154 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * insetfootlike.C (insetAllowed): disallow float in footlike.
158 * insetert.C (InsetERT): add collapsed argument to the constrctor
161 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
163 * insetindex.h: shut off warning
165 2001-07-20 Juergen Vigna <jug@sad.it>
167 * insetcollapsable.C (update): recoded hopefully works now!
169 2001-07-19 Juergen Vigna <jug@sad.it>
171 * most files: implemented the below new introduced function.
173 * inset.h: added new edit(BufferView *, bool front) method to be able
174 to enter an inset from the front/back without knowing x/y positions
175 and baselines inside the inset. So I just can tell the inset activate
176 me and set the cursor on the front/back of yourself.
178 2001-07-18 Juergen Vigna <jug@sad.it>
180 * insetcollapsable.C (edit): fixed hopefully the y parameter which
181 is givven to the InsetText.
182 (insetButtonPress): ditto
183 (insetButtonRelease): ditto
184 (insetMotionNotify): ditto
186 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
188 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
189 LIGATURE_BREAK, since the name is so stupid.
191 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
193 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
194 the default InsetCollapsable methods. I.e., it can insert anything.
195 (write) output the name of the inset, not some silly hack for
196 compatability with the old InsetInfo.
198 * insetinfo.[Ch]: removed.
199 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
200 now collapsable, but functionality is otherwise identical to InsetInfo.
202 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
204 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
209 * insetquotes.C: general cleanup
210 (dispString): add spaces inside french double quotes.
211 (latex): ditto. Moreover, treat first the case where the frenchb
212 or french options have been given.
214 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
216 * insetcite.[Ch] (latex, validate): new methods, required for natbib
219 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
221 * figinset.C (RegisterFigure): Print debug message only when
222 current_view is available.
224 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * many files: update to match the change below
228 * inset.h (insetAllowed): renamed from insertInsetAllowed;
229 implement the version which takes an inset here.
231 * insetcollapsable.[Ch]: implement open and isOpen
233 * inset.h: remove insertInsetAllowed from Inset
234 (open): new method, to open or close an inset
235 (isOpen): returns the status of an inset
236 (isCollapsable, colapse): removed
238 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
240 * insetquotes.C (dispString): display french guillemets when using
243 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
245 * insetcollapsable.h: remove bogus return statements
247 2001-07-18 Juergen Vigna <jug@sad.it>
249 * insettabular.C (selectNextWord): fixed spellchecking for the
250 first cell of a tabular (wasn't entered!)
251 (getLyXText): changed to enter automatically insettext and return
252 it's LyXText if we're locked.
254 2001-07-17 Juergen Vigna <jug@sad.it>
256 * various files: implemented the below functions.
258 * inset.h: added functions
259 - virtual string selectNextWord(BufferView *, float & value) const;
260 - virtual void selectSelectedWord(BufferView *) { return; }
261 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
262 needed for spellchecking correctly!
264 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
266 * insetert.C (latex): write out all paragraphs.
268 2001-07-17 Baruch Even <baruch@lyx.org>
270 * insetgraphics.C (draw): Removed unneeded casts.
272 2001-07-16 Juergen Vigna <jug@sad.it>
274 * insettext.C (update): fixed small oversight (reset lt to 0).
276 2001-07-14 Baruch Even <baruch@lyx.org>
279 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
281 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
283 Consistent use of Lsstream.h:
284 * figinset.C: removed using std::ostringstream directive.
286 * insetgraphics.C (createLatexOptions):
287 * insetinclude.C (unique_id):
288 std::ostringstream -> ostringstream.
289 * insettext.C (localDispatch): std::istringstream -> istringstream.
291 2001-07-13 Juergen Vigna <jug@sad.it>
293 * insetfloat.C (insertInsetAllowed): added missing const_cast.
295 * insetcollapsable.C (getLockingInset): ditto.
297 2001-07-12 Juergen Vigna <jug@sad.it>
299 * insetcollapsable.h: added implementation of new function for
302 * various files: added implementation of new insertInsetAllowed-func
303 and redone the function a bit more.
305 * inset.h: added isCollapsable(), bool collapsed(),
306 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
308 * insetfloat.C (insertInsetAllowed): make a bit more checks.
310 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
311 LyXText which is marked for removal while we're using it!
313 * insettext.h: added private LyXText * lt to use it to assure we are
314 not deleting our LyXText while we're using it!
316 2001-07-11 Juergen Vigna <jug@sad.it>
318 * insettext.C (insertInset): check if we are before the inset after
319 inserting it! This check IS needed. Remove the Undo-Call as it is
320 called in LyXText::insertInset!
322 * insettext.h: added struct InnerCache.
324 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
325 that we ONLY delete the LyXText in the getLyXText() routine. So we
326 are sure we don't delete LyXText while someone is working with it!
328 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
330 * insetexternal.C: (*it). -> it->
333 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
335 * insetcollapsable.C (edit): always open collapsed insets (even if
336 they are not autocollapsable)
338 * insetcommand.C (operator=): simplify.
340 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
342 * insetert.C (latex): handle META_NEWLINE
344 2001-07-09 Juergen Vigna <jug@sad.it>
346 * insetert.h: a normal InsetText can insert insets, but we won't.
348 * inset.h: return default "false" on insertInsetAllowed and implement
349 this function where a returnvalue != "false" is needed.
351 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
353 * insetert.C (InsetERT): new contructor
355 2001-07-06 Juergen Vigna <jug@sad.it>
357 * a lot of files: added implementation of the below new functions
358 and the change to clone(). Also the call of the new undo-functions
361 * inset.h: added an inset_id, added functions getParFromID,
362 getInsetFromID, firstParagraph, cursor and id functions, added
363 bool same_ids to clone function.
365 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
367 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
368 of BufferView * and shared_ptr<LyXText>
370 2001-07-05 Juergen Vigna <jug@sad.it>
372 * insettext.C (clear): deleted also the cache not only LyXText.
373 (setParagraphData): ditto.
375 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
377 * insetfloat.C (latex): let the specific placement take presedence
378 if set, otherwise choose document placement if set, otherwise just
379 use float default placement.
381 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
383 * insettext.C (localDispatch): call CutAndPaste::'s static method
386 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
388 * insetbib.C: no meed to include forms.h here.
390 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
392 * insettext.C: added using std::make_pair directive.
394 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
396 * insettext.C (getLyXText): avoid multiple lookups, and simplify
398 (deleteLyXText): ditto
399 (resizeLyXText): ditto
401 2001-07-02 Juergen Vigna <jug@sad.it>
403 * insettext.C (getLyXText): introduce a cache in getLyXText so that
404 following calls are only returned the right pointer without the over
405 head to search in the map.
406 (various funcs): reset the cached_bview variable as this signs that
407 the cache is not valid anymore.
409 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
411 * insettabular.C (clone): do not copy the LyXTabular twice
413 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
415 * insettext.h (TEXT): delete method
417 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
419 * insetmarginal.C (latex):
420 * insetfoot.C (latex): fix spacing of notes in LaTeX
422 * insettext.C (localDispatch): use .c_str() on istringstream
423 constructor argument.
425 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
430 * inseturl.C: fix method names in these to begin
431 with small char too, so they inherit
433 2001-06-28 Juergen Vigna <jug@sad.it>
435 * insettext.C (setFont): fixed font settings using toggleFree()
436 instead of setFont().
438 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
440 * Change a lot of method names to begin with a small char.
441 Changes to a lot of files because of this.
443 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
445 * insetfloatlist.C (Write): std:: qualify ostream
448 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
452 * insetgraphics.C: send debug output to Debug::INFO instead of
455 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
458 * insettabular.C (getStatus): update to use func_status
460 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
462 * insetref.C (DocBook): added support for cross-references without
465 2001-06-26 The LyX Project <jug@sad.it>
470 * insetlabel.h: removed escape method and moved it to
473 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
475 * insettabular.C (getMaxWidth): do the speedup in a different way,
478 2001-06-24 The LyX Project <Asger>
480 * insettabular.C (getMaxWidth): We cache a mapping from
481 inset to cell in order to speed this method up.
483 2001-06-24 The LyX Project <Asger>
485 * insettext.C: Optimized InsetText::draw or something.
487 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
489 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
491 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
493 * inset.h: name change from lyxinset.h
495 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
497 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
499 2001-06-14 Juergen Vigna <jug@sad.it>
501 * insettext.C (draw): removed warnings.
503 2001-06-13 Juergen Vigna <jug@sad.it>
505 * insettabular.C (nodraw): only go down the tree if we don't have
506 that flag set otherwise it's obvious that we don't want to draw.
507 (LocalDispatch): do also an update if we have an undispached result.
509 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
512 * insetgraphicsParams.C:
513 * insettext.C: removed // -*- C++ -*- as first line.
515 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
517 * lyxinset.h (resizeLyXText): shut off warning about unused
520 2001-06-07 Juergen Vigna <jug@sad.it>
522 * insettext.C (resizeLyXText): honor the new force flag.
524 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
526 * insettabular.C (deleteLyXText): new function
528 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
536 * insetcollapsable.C:
537 * insetcaption.C: LColor tidy
539 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
541 * figinset.C: fix typo
543 2001-06-01 Juergen Vigna <jug@sad.it>
545 * insettabular.C (resetPos): small hack so that scroll is not set to
546 0 when we are in the last column of a tabular. This is a problem we
547 have because of constats 20 offset on both directions, so this can
548 cause on the limit an endless loop.
550 * insettext.C (SetFont): forgot that we can have locking insets ;)
552 2001-05-31 Juergen Vigna <jug@sad.it>
554 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
556 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
558 * figinset.C: add using std:: directive for the C functions which
561 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
563 * insetfloat.C (Write): write out wide info
564 (Read): read the wide info
565 (Latex): use the wide info when creating latex.
567 * insettext.C: adjust
569 * insetgraphics.[Ch] (statusMessage): change to return string
573 * figinset.C (runqueue): add std::
576 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
578 * insetcite.C (Ascii): add std:: qualifier
580 2001-05-28 Juergen Vigna <jug@sad.it>
582 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
583 a endless-width inset (maxWidth < 0).
584 (Edit): change language only if not equal.
586 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
588 * insettext.C (draw): fixed draw/clear of InsetText-Frame
590 2001-05-16 Juergen Vigna <jug@sad.it>
592 * insettext.C (selectAll): added
593 (clearSelection): added
595 * insettabular.C (SetFont): now we may set a font on a whole selection!
596 (getSelection): added helper function.
598 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
600 * insetcite.C (Ascii): Add method.
602 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
605 * insetbib.C: fix path for OS/2 & Win32
607 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
609 * insetfoot.C (Latex): don't use % after footnote.
611 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
613 * insettext.C (Read): use clear
614 (SetParagraphData): use LyXParagraph copy constructor instead of clone
616 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
618 * insetfloatlist.h: add a bunch of std:: qualifiers.
620 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
622 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
623 FLOAT_LIST_CODE, renumber code list.
625 * insettoc.C (getScreenLabel): remove support for float lists
629 * insetfloatlist.[Ch]: new files
631 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
633 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
635 * insettabular.C (LocalDispatch):
636 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
639 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
641 * insettext.C: remvoe !NEW_INSETS cruft
643 * insettabular.C: remove !NEW_INSETS cruft
645 * insetcollapsable.h: remove !NEW_INSETS cruft
647 * insetbib.C: remove !NEW_INSETS cruft
649 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
651 * insettoc.C: hack to make listof algorithm work
653 2001-04-20 Juergen Vigna <jug@sad.it>
655 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
657 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
659 * insetquotes.C (Latex): improve the guard against
660 unwanted !` and ?` ligatures. This should really be done in
661 another place (to catch all this ligatures at low-level).
663 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
665 * insettext.C (init): remvoe leftovers from cursor_visible change
667 (LocalDispatch): dispatch LFUN_MESSAGE
669 * insettabular.C (InsetTabular): remove leftovers from
670 cursor_visible, and scoped_ptr changes
673 * insetcollapsable.C (draw): use c++ cast
675 * ExternalTemplate.h: inherit privaely from noncopyable
676 * insetcommand.h: ditto
677 * insetinclude.h: ditto
679 2001-04-16 Allan Rae <rae@lyx.org>
681 * insettoc.C (Ascii):
682 * insettext.C (draw):
683 * insettabular.C (setPos):
684 * insetminipage.C (Read):
685 * insetfloat.C (placement):
686 * insetcaption.C (Ascii, DocBook):
687 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
688 an unrecognised preprocessor directive. So ensure they're wrapped.
690 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
693 * insetexternal.C: set view on Clone. Add _ to private members.
695 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
697 * insettext.C (InsetText): fix new
698 (InsetText): reindent some, simplify deletion of par list
699 (clear): simplify deletion of par list, fix new
700 (SetParagraphData): simplify deletion of par list
702 * insettabular.[Ch] (getLabelList): implement new method
704 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
706 * lyxinset.h: do not include gettext.h...
714 * insetlatexaccent.C:
718 * inseturl.C: ... and do it here instead
720 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
722 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
724 * insettext.[Ch] (getLabelList): add std:: on vector<string>
726 * insetcollapsable.[Ch] (getLabelList): implement
728 * insettext.[Ch] (getLabelList): implement
730 * insettext.h: reindent
732 * insettabular.h: make tabular a scoped_ptr
734 * insettext.C (init): adjust for cursor_visible
735 (ToggleInsetCursor): constify asc and desc, font, adjust for
737 (ShowInsetCursor): constify asc and desc, font, adjust for
739 (HideInsetCursor): adjust for cursor_visible
741 * insettabular.C: reindent some
742 (InsetTabular): adjust for scoped_ptr and cursor_visible
743 (InsetTabular): ditto
744 (~InsetTabular): delete delete
745 (Clone): adjust for scoped_ptr
746 (Read): constify old_format, adjust for scoped_ptr, move init of
748 (draw): constify tx, localize loop vars.
749 some other localization of variables, remove double initilizatons.
751 * insetfoot.C: remove using std::ostream, add ostream where needed
753 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
755 * lyxinset.h: some reindentaion, use initializer list for
757 UpdatableInset: make cursor_visible a private var add
758 public isCursorVisible(), add protected toggleCursorVisible() and
759 proctected setCursorVisible(bool), make scroll call the Inset::scroll
761 * insettoc.C: remvoe using decl
762 (getScreenLabel): make cmdname donst
765 (Ascii): don't use endl
767 * insetfootlike.C: remove using decl at file scope and add std::
769 * insetmarginal.C: ditto
771 * insetfoot.C: some reformatting
773 * insetfloat.C (InsetButtonRelease): adjust the hit area
775 * insetert.C (SetFont): some reformatting
777 * insetcollapsable.C: some reformatting and constification
778 (Clone): comment out.
779 * insetcollapsable.h: some reformatting
780 (Clone): comment out.
785 2001-03-30 Juergen Vigna <jug@sad.it>
787 * insetcollapsable.h: changen *inset to be a InsetText inset.
789 * some files: changed to reflect the above change.
791 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
793 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
794 InsetExternal::Params.
795 Added operator==() and operator!=() for the Params struct.
797 2001-03-29 Juergen Vigna <jug@sad.it>
799 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
802 * insetminipage.C: removed widthp_ and all it's functions and changed
803 to use new %-lengths of LyXLength.
805 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
807 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
809 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
811 * insetgraphicsParams.C (operator!=): new function, needed by the
812 ControlGraphics class.
814 2001-03-28 Juergen Vigna <jug@sad.it>
816 * insettext.C (InsetButtonPress): only enter !inset if button == 2
817 (checkAndActivateInset): don't use the values returned from
818 call to bv->checkInsetHit.
820 * insetminipage.C (Clone): set special minipage values.
822 * insetcollapsable.C (draw): changed to draw the button in the
823 upper left corner outside the textinset.
824 (ascent): changed because of different drawing
828 (InsetButtonPress): ditto
829 (InsetButtonRelease): ditto
830 (InsetMotionNotify): ditto
832 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
834 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
838 2001-03-26 Juergen Vigna <jug@sad.it>
840 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
842 * insettext.C (ShowInsetDialog): implemented above function.
844 * insettabular.C (ShowInsetDialog): ditto
846 * insetminipage.C (ShowInsetDialog): ditto
848 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
850 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
851 InsetInclude::Params. Don't store a buffer * in Params. Store the
852 master file name instead.
854 2001-03-23 Juergen Vigna <jug@sad.it>
856 * insetcollapsable.C (InsetMotionNotify):
857 (InsetButtonRelease):
858 (InsetButtonPress): fixed y-offset (minipages).
860 * insettext.C (draw): force a FULL update if cleared == true.
862 * insetcollapsable.C (draw): Lars forgotten entry for changing this
863 routine to draw the minipages on its position-flag.
864 (InsetInInsetY): give back the right y position, because of minipage
867 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
870 * insetfloat.C (DocBook): docbook export code.
872 2001-03-22 Juergen Vigna <jug@sad.it>
874 * insetminipage.C (getMaxWidth): added function to set the drawing
876 (Read): should work now!
878 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
879 if we create a new inset.
881 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
883 * figinset.C (fl_set_preemptive_callback): moved definition outside
886 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
888 * insetminipage.C (Read): prepare for reading of minipage arguments.
890 2001-03-18 Baruch Even <baruch@lyx.org>
892 * insetgraphics.C: Minor cleanups of the comments and code.
894 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
896 * insetminipage.C (InsetMinipage): default to not collapsed
898 2001-03-16 Juergen Vigna <jug@sad.it>
900 * insetminipage.C (width): modified with to be a string
901 (widthp): added widthp (for % width) support functions.
902 (InsetButtonRelease): added to open the options dialog on button==3.
903 (~InsetMinipage): added to hide the dialog.
905 * insetminipage.h: added hideDialog signal
907 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
909 * insetminipage.h: change the order or Position to match
910 LyXParagraph::MINIPAGE_ALIGNMENT
912 * several files: remvoe CXX_WORKING_NAMESPACES
914 * ExternalTemplate.h: noncopyable is in namespace boost
915 * insetinclude.h: ditto
916 * insetcommand.h: ditto
918 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
920 * insettext.C (Edit): #else# -> #else.
921 * insettoc.C: added using directive.
923 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
925 * insetminipage.h: add pos, inner_pos, width and height. + getters
926 and setters for all of them.
928 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
930 * insetinclude.C (Latex): Do not exit when the textclass of the
931 included file differ from the textclass of the parent file.
933 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
935 * ExternalTemplate.C (read): the reading of external insets now checks
936 for \end_inset and removes it form the input stream.
938 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
940 * ExternalTemplate.h:
941 * ExternalTemplate.C:
943 * insetexternal.C: move form to GUII
945 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
948 * insetinclude.C: add InsetIncludeParams, use
949 composition rather than derivation of InsetCommand
951 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
953 * insettoc.C (Ascii): use the Buffer typedefs
955 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
957 * insettoc.C (Ascii): implement for dynamic number of lists
959 * insetcaption.[Ch]: update from new_insets branch
960 * insetfloat.[Ch]: ditto
962 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
965 * figinset.C: use new File Dialog
967 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
969 * insettext.C: changes becuase of ParagraphParameters.
971 2001-02-28 Baruch Even <baruch@ev-en.org>
973 * insetgraphics.C (updateInset): Changed due to the change in
976 2001-02-26 Juergen Vigna <jug@sad.it>
978 * insettext.C (SetFont): Set Undo only if we have selection (as it is
981 2001-02-23 Juergen Vigna <jug@sad.it>
983 * insettext.C (draw): some small repainting fixes.
984 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
986 * inset.C (LocalDispatch): changed action to be a kb_action (as it
987 should be) and not an int.
989 * insettabular.C (LocalDispatch): ditto
991 * insettext.C (LocalDispatch): ditto
993 * insetcollapsable.C (LocalDispatch): ditto
995 2001-02-22 Juergen Vigna <jug@sad.it>
997 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
998 DISPATCH it and we don't have a locking_inset.
1000 2001-02-21 Baruch Even <baruch@ev-en.org>
1002 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1003 instead of GraphicsCacheItem *.
1005 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1007 * insetcollapsable.C (getLyXText): add const qualifier to second
1010 2001-02-22 Juergen Vigna <jug@sad.it>
1012 * insettext.C (getLyXText): honor the recursive parameter.
1013 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1015 * inset.C (getLyXText): added bool recursive parameter.
1017 * insettext.C (SetUpdateStatus): or the update codes.
1018 (draw): check need_update with &.
1019 (InsetButtonPress): set no_selection to not put a selection when
1020 entering an inset and it is redraws in another spot.
1022 * insettext.h: made need_update an int.
1024 2001-02-20 Baruch Even <baruch@ev-en.org>
1027 * insetgraphisc.C: Changed to use better semantics when loading images
1028 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1030 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1034 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1035 consistent with InsetTabular.
1037 2001-02-19 Juergen Vigna <jug@sad.it>
1039 * insettabular.C (LocalDispatch): implement PAGE up/down.
1041 * insettext.C (draw): clear all of it on need_update==INIT too!
1043 * insettabular.C (InsetUnlock): always clear the selection.
1045 * inset.C (scroll): normally we only want to scroll the inset until
1046 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1048 2001-02-14 Juergen Vigna <jug@sad.it>
1050 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1051 (resetPos): fixed scroll behaviour.
1052 (LocalDispatch): do an update if moving cursor inside a table cell
1053 requests a scroll of the tabular.
1055 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1057 * insettext.C (textWidth): constify local var
1059 * insettabular.C: small cleanup.
1061 * insetfoot.C (Latex): constify local var
1063 * insetcollapsable.C: small cleanup.
1065 * figinset.C (runqueue): use compare instead of strcmp
1067 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1070 * insetinfo.C: remove cruft
1072 2001-02-14 Juergen Vigna <jug@sad.it>
1074 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1076 2001-02-13 Juergen Vigna <jug@sad.it>
1078 * insettext.C (InsertInset): don't move left (is this right?)
1080 * insettabular.C (LocalDispatch): use of the no_draw variable
1082 * insettabular.h: new no_draw variable to stop redraw
1084 * insettabular.C (TabularFeatures): fixed update for alignment change
1086 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1090 * insetbib.C: move dialogs to frontends/
1092 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1094 * insettext.C (LocalDispatch): Restore the language if the inset
1097 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1099 * insettext.C (moveRightIntern): Update the selection cursor.
1100 (moveLeftIntern): Ditto.
1102 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1104 * Makefile.am: remove BoundingBox.h
1106 * BoundingBox.h: removed
1108 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1110 * insettext.C (LocalDispatch): Update selection cursor when moving
1111 cursor to the right.
1112 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1113 (moveLeftIntern): Ditto.
1115 2001-02-05 Baruch Even <baruch.even@writeme.com>
1117 * insetgraphics.C: Updated automatic image conversion, it now goes into
1118 temporary directory instead of with the image itself.
1120 2001-01-21 Baruch Even <baruch@ev-en.org>
1122 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1123 to EPS or PNG when needed (support bitmap graphics).
1125 2000-11-02 Baruch Even <baruch@ev-en.org>
1128 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1129 and removal of commented out code.
1131 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1133 * insetbib.C (callback): Update citations if the key has changed.
1135 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1137 * insetbib.C (InsetBibKey): Better computation of default key.
1138 (getScreenLabel) Show both the key and the label.
1139 (getBibLabel): New method.
1140 (callback): Force a redraw if the inset have been changed.
1142 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1144 * insetref.C (getType, getName): Move methods from
1145 src/frontends/xforms/FormRef.C.
1147 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1149 * insettabular.C: Various improvements (use only one dummy position).
1151 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1153 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1154 par->bibkey->width. This fixes the crashes when running without
1155 gui or when having included documents.
1157 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1159 * insetcommand.C (getAsString, setFromString): Cleanup.
1161 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1163 * insetref.C: Add the array InsetRef::types that contains
1164 information about all supported reference types.
1166 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1168 * lyxinset.h: remove trailing comma in enum.
1170 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1172 * insettext.C: kill LyXBell.