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