1 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insetfloat.C (read): handle missing parameters.
5 * insettext.C (read): handle old latex end_inset
7 * insetert.C (setButtonLabel): new method
8 (init): use it, to set the dynamic label correctly
11 * Makefile.am (EXTRA_DIST): add files that is not part or the
14 * insetcollapsable.h: remove autocollapsable (no users), remove
15 draw_label, change_label_with_text and companion code. Remove args
17 * insetert.[Ch]: move here instead (only user)
19 * inset.h: rename private variable name to name_, make
20 selectNextWord return a const string. make getInsetName return a
21 string const &. Remove bool from open, add close.
23 * Makefile.am: don't compile insetlist, insetsection
26 2001-07-24 Juergen Vigna <jug@sad.it>
28 * insetert.C (InsetERT): put init after the paragraph initialization,
29 as otherwise we don't set the draw_label right.
31 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
32 insets with the mouse without having strange selections.
33 (edit): if the inset was collapsed and we open it here then put the
34 cursor always at the beginning of the inset.
35 (get_new_label): 15 instead of 10 max chars in the label.
37 * insetert.C (localDispatch): added and handle various stuff we
38 need to handle here (font setting on paragraph break, not permitted
39 layout setting, etc.).
41 * inset.h: added default copy-consturctor and implemented this in
42 various insets with the change to use this in the clone function!
44 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * insetminipage.C (InsetMinipage): set background color to red :)
48 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
50 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
51 draw frame mode is LOCKED.
53 * insetcollapsable.C (edit):
54 (insetButtonRelease): set update status to full when
57 * insettext.C (clearInset):
58 * insettabular.C (draw):
59 * insetlatexaccent.C (draw): honor background color.
61 * inset.h: new member background_color_, initialized to
64 * inset.C (backgroundColor): new method.
65 (setBackgroundColor): new method.
67 * insetert.C (init): new method, called by the ctors.
68 (InsetERT): when inserting contents, make sure the font is
71 * insetnote.C (InsetNote): when inserting content, remove trailing
73 (init): set background color to LColor::note
75 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
77 * insetcollapsable.C: adjust
79 * insetbutton.C: adjust
81 2001-07-23 Juergen Vigna <jug@sad.it>
83 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
84 parameter on the _collapsed function (was not needed) and call
85 always width_collapsed().
87 * insetert.C (InsetERT): use setLabel with "true" flag.
89 * insetcollapsable.C: modified various functions to set the draw_label
90 string right in any condition.
91 (setLabel): added a bool parameter to set change_label_with_text.
93 * insetcollapsable.h: added draw_label string which is set to the
94 actual drawn label-string, while label is the original static label
95 of this collapsable inset. Added bool change_label_with_text to set
96 if we want that the label changes to the start of the InsetText's
97 text when collabpsed. You can set this flag with the setLabel funciton.
98 Added bool inlined for inlined collapsable insets, but not handled
101 * insetcollapsable.C (get_new_label): added should get a new label
102 from the InsetText beginning (for now 10 chars).
104 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
106 * insetquotes.C (latex): fix the handling of french double quotes
107 when not using the french pachage.
109 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * insetcollapsable.h: make WidthCollapsed mutable.
113 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
114 InsetPrintIndex returns INDEX_PRINT_CODE.
116 * inset.h: add INDEX_PRINT_CODE
118 * insetcollapsable.C (draw): init widthCollapsed if necessary
121 * insetquotes.C (width): use the local language, not the document
124 (dispString): add additional spacing for all french languages,
126 (validate): make it work when there is no default language
128 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
130 * insetnote.C (init): new method, called by the constructors
131 (InsetNote): new constructor with contents passed as a string
133 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * insetfootlike.C (insetAllowed): disallow float in footlike.
137 * insetert.C (InsetERT): add collapsed argument to the constrctor
140 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
142 * insetindex.h: shut off warning
144 2001-07-20 Juergen Vigna <jug@sad.it>
146 * insetcollapsable.C (update): recoded hopefully works now!
148 2001-07-19 Juergen Vigna <jug@sad.it>
150 * most files: implemented the below new introduced function.
152 * inset.h: added new edit(BufferView *, bool front) method to be able
153 to enter an inset from the front/back without knowing x/y positions
154 and baselines inside the inset. So I just can tell the inset activate
155 me and set the cursor on the front/back of yourself.
157 2001-07-18 Juergen Vigna <jug@sad.it>
159 * insetcollapsable.C (edit): fixed hopefully the y parameter which
160 is givven to the InsetText.
161 (insetButtonPress): ditto
162 (insetButtonRelease): ditto
163 (insetMotionNotify): ditto
165 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
167 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
168 LIGATURE_BREAK, since the name is so stupid.
170 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
172 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
173 the default InsetCollapsable methods. I.e., it can insert anything.
174 (write) output the name of the inset, not some silly hack for
175 compatability with the old InsetInfo.
177 * insetinfo.[Ch]: removed.
178 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
179 now collapsable, but functionality is otherwise identical to InsetInfo.
181 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
183 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
188 * insetquotes.C: general cleanup
189 (dispString): add spaces inside french double quotes.
190 (latex): ditto. Moreover, treat first the case where the frenchb
191 or french options have been given.
193 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
195 * insetcite.[Ch] (latex, validate): new methods, required for natbib
198 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
200 * figinset.C (RegisterFigure): Print debug message only when
201 current_view is available.
203 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * many files: update to match the change below
207 * inset.h (insetAllowed): renamed from insertInsetAllowed;
208 implement the version which takes an inset here.
210 * insetcollapsable.[Ch]: implement open and isOpen
212 * inset.h: remove insertInsetAllowed from Inset
213 (open): new method, to open or close an inset
214 (isOpen): returns the status of an inset
215 (isCollapsable, colapse): removed
217 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
219 * insetquotes.C (dispString): display french guillemets when using
222 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
224 * insetcollapsable.h: remove bogus return statements
226 2001-07-18 Juergen Vigna <jug@sad.it>
228 * insettabular.C (selectNextWord): fixed spellchecking for the
229 first cell of a tabular (wasn't entered!)
230 (getLyXText): changed to enter automatically insettext and return
231 it's LyXText if we're locked.
233 2001-07-17 Juergen Vigna <jug@sad.it>
235 * various files: implemented the below functions.
237 * inset.h: added functions
238 - virtual string selectNextWord(BufferView *, float & value) const;
239 - virtual void selectSelectedWord(BufferView *) { return; }
240 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
241 needed for spellchecking correctly!
243 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
245 * insetert.C (latex): write out all paragraphs.
247 2001-07-17 Baruch Even <baruch@lyx.org>
249 * insetgraphics.C (draw): Removed unneeded casts.
251 2001-07-16 Juergen Vigna <jug@sad.it>
253 * insettext.C (update): fixed small oversight (reset lt to 0).
255 2001-07-14 Baruch Even <baruch@lyx.org>
258 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
260 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
262 Consistent use of Lsstream.h:
263 * figinset.C: removed using std::ostringstream directive.
265 * insetgraphics.C (createLatexOptions):
266 * insetinclude.C (unique_id):
267 std::ostringstream -> ostringstream.
268 * insettext.C (localDispatch): std::istringstream -> istringstream.
270 2001-07-13 Juergen Vigna <jug@sad.it>
272 * insetfloat.C (insertInsetAllowed): added missing const_cast.
274 * insetcollapsable.C (getLockingInset): ditto.
276 2001-07-12 Juergen Vigna <jug@sad.it>
278 * insetcollapsable.h: added implementation of new function for
281 * various files: added implementation of new insertInsetAllowed-func
282 and redone the function a bit more.
284 * inset.h: added isCollapsable(), bool collapsed(),
285 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
287 * insetfloat.C (insertInsetAllowed): make a bit more checks.
289 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
290 LyXText which is marked for removal while we're using it!
292 * insettext.h: added private LyXText * lt to use it to assure we are
293 not deleting our LyXText while we're using it!
295 2001-07-11 Juergen Vigna <jug@sad.it>
297 * insettext.C (insertInset): check if we are before the inset after
298 inserting it! This check IS needed. Remove the Undo-Call as it is
299 called in LyXText::insertInset!
301 * insettext.h: added struct InnerCache.
303 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
304 that we ONLY delete the LyXText in the getLyXText() routine. So we
305 are sure we don't delete LyXText while someone is working with it!
307 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
309 * insetexternal.C: (*it). -> it->
312 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
314 * insetcollapsable.C (edit): always open collapsed insets (even if
315 they are not autocollapsable)
317 * insetcommand.C (operator=): simplify.
319 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
321 * insetert.C (latex): handle META_NEWLINE
323 2001-07-09 Juergen Vigna <jug@sad.it>
325 * insetert.h: a normal InsetText can insert insets, but we won't.
327 * inset.h: return default "false" on insertInsetAllowed and implement
328 this function where a returnvalue != "false" is needed.
330 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
332 * insetert.C (InsetERT): new contructor
334 2001-07-06 Juergen Vigna <jug@sad.it>
336 * a lot of files: added implementation of the below new functions
337 and the change to clone(). Also the call of the new undo-functions
340 * inset.h: added an inset_id, added functions getParFromID,
341 getInsetFromID, firstParagraph, cursor and id functions, added
342 bool same_ids to clone function.
344 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
346 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
347 of BufferView * and shared_ptr<LyXText>
349 2001-07-05 Juergen Vigna <jug@sad.it>
351 * insettext.C (clear): deleted also the cache not only LyXText.
352 (setParagraphData): ditto.
354 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
356 * insetfloat.C (latex): let the specific placement take presedence
357 if set, otherwise choose document placement if set, otherwise just
358 use float default placement.
360 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
362 * insettext.C (localDispatch): call CutAndPaste::'s static method
365 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
367 * insetbib.C: no meed to include forms.h here.
369 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
371 * insettext.C: added using std::make_pair directive.
373 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
375 * insettext.C (getLyXText): avoid multiple lookups, and simplify
377 (deleteLyXText): ditto
378 (resizeLyXText): ditto
380 2001-07-02 Juergen Vigna <jug@sad.it>
382 * insettext.C (getLyXText): introduce a cache in getLyXText so that
383 following calls are only returned the right pointer without the over
384 head to search in the map.
385 (various funcs): reset the cached_bview variable as this signs that
386 the cache is not valid anymore.
388 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
390 * insettabular.C (clone): do not copy the LyXTabular twice
392 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
394 * insettext.h (TEXT): delete method
396 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
398 * insetmarginal.C (latex):
399 * insetfoot.C (latex): fix spacing of notes in LaTeX
401 * insettext.C (localDispatch): use .c_str() on istringstream
402 constructor argument.
404 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
409 * inseturl.C: fix method names in these to begin
410 with small char too, so they inherit
412 2001-06-28 Juergen Vigna <jug@sad.it>
414 * insettext.C (setFont): fixed font settings using toggleFree()
415 instead of setFont().
417 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
419 * Change a lot of method names to begin with a small char.
420 Changes to a lot of files because of this.
422 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
424 * insetfloatlist.C (Write): std:: qualify ostream
427 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
431 * insetgraphics.C: send debug output to Debug::INFO instead of
434 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
437 * insettabular.C (getStatus): update to use func_status
439 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
441 * insetref.C (DocBook): added support for cross-references without
444 2001-06-26 The LyX Project <jug@sad.it>
449 * insetlabel.h: removed escape method and moved it to
452 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
454 * insettabular.C (getMaxWidth): do the speedup in a different way,
457 2001-06-24 The LyX Project <Asger>
459 * insettabular.C (getMaxWidth): We cache a mapping from
460 inset to cell in order to speed this method up.
462 2001-06-24 The LyX Project <Asger>
464 * insettext.C: Optimized InsetText::draw or something.
466 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
468 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
470 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
472 * inset.h: name change from lyxinset.h
474 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
476 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
478 2001-06-14 Juergen Vigna <jug@sad.it>
480 * insettext.C (draw): removed warnings.
482 2001-06-13 Juergen Vigna <jug@sad.it>
484 * insettabular.C (nodraw): only go down the tree if we don't have
485 that flag set otherwise it's obvious that we don't want to draw.
486 (LocalDispatch): do also an update if we have an undispached result.
488 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
491 * insetgraphicsParams.C:
492 * insettext.C: removed // -*- C++ -*- as first line.
494 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
496 * lyxinset.h (resizeLyXText): shut off warning about unused
499 2001-06-07 Juergen Vigna <jug@sad.it>
501 * insettext.C (resizeLyXText): honor the new force flag.
503 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
505 * insettabular.C (deleteLyXText): new function
507 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
515 * insetcollapsable.C:
516 * insetcaption.C: LColor tidy
518 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
520 * figinset.C: fix typo
522 2001-06-01 Juergen Vigna <jug@sad.it>
524 * insettabular.C (resetPos): small hack so that scroll is not set to
525 0 when we are in the last column of a tabular. This is a problem we
526 have because of constats 20 offset on both directions, so this can
527 cause on the limit an endless loop.
529 * insettext.C (SetFont): forgot that we can have locking insets ;)
531 2001-05-31 Juergen Vigna <jug@sad.it>
533 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
535 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
537 * figinset.C: add using std:: directive for the C functions which
540 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
542 * insetfloat.C (Write): write out wide info
543 (Read): read the wide info
544 (Latex): use the wide info when creating latex.
546 * insettext.C: adjust
548 * insetgraphics.[Ch] (statusMessage): change to return string
552 * figinset.C (runqueue): add std::
555 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
557 * insetcite.C (Ascii): add std:: qualifier
559 2001-05-28 Juergen Vigna <jug@sad.it>
561 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
562 a endless-width inset (maxWidth < 0).
563 (Edit): change language only if not equal.
565 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
567 * insettext.C (draw): fixed draw/clear of InsetText-Frame
569 2001-05-16 Juergen Vigna <jug@sad.it>
571 * insettext.C (selectAll): added
572 (clearSelection): added
574 * insettabular.C (SetFont): now we may set a font on a whole selection!
575 (getSelection): added helper function.
577 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
579 * insetcite.C (Ascii): Add method.
581 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
584 * insetbib.C: fix path for OS/2 & Win32
586 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
588 * insetfoot.C (Latex): don't use % after footnote.
590 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
592 * insettext.C (Read): use clear
593 (SetParagraphData): use LyXParagraph copy constructor instead of clone
595 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
597 * insetfloatlist.h: add a bunch of std:: qualifiers.
599 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
601 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
602 FLOAT_LIST_CODE, renumber code list.
604 * insettoc.C (getScreenLabel): remove support for float lists
608 * insetfloatlist.[Ch]: new files
610 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
612 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
614 * insettabular.C (LocalDispatch):
615 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
618 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
620 * insettext.C: remvoe !NEW_INSETS cruft
622 * insettabular.C: remove !NEW_INSETS cruft
624 * insetcollapsable.h: remove !NEW_INSETS cruft
626 * insetbib.C: remove !NEW_INSETS cruft
628 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
630 * insettoc.C: hack to make listof algorithm work
632 2001-04-20 Juergen Vigna <jug@sad.it>
634 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
636 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
638 * insetquotes.C (Latex): improve the guard against
639 unwanted !` and ?` ligatures. This should really be done in
640 another place (to catch all this ligatures at low-level).
642 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
644 * insettext.C (init): remvoe leftovers from cursor_visible change
646 (LocalDispatch): dispatch LFUN_MESSAGE
648 * insettabular.C (InsetTabular): remove leftovers from
649 cursor_visible, and scoped_ptr changes
652 * insetcollapsable.C (draw): use c++ cast
654 * ExternalTemplate.h: inherit privaely from noncopyable
655 * insetcommand.h: ditto
656 * insetinclude.h: ditto
658 2001-04-16 Allan Rae <rae@lyx.org>
660 * insettoc.C (Ascii):
661 * insettext.C (draw):
662 * insettabular.C (setPos):
663 * insetminipage.C (Read):
664 * insetfloat.C (placement):
665 * insetcaption.C (Ascii, DocBook):
666 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
667 an unrecognised preprocessor directive. So ensure they're wrapped.
669 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
672 * insetexternal.C: set view on Clone. Add _ to private members.
674 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
676 * insettext.C (InsetText): fix new
677 (InsetText): reindent some, simplify deletion of par list
678 (clear): simplify deletion of par list, fix new
679 (SetParagraphData): simplify deletion of par list
681 * insettabular.[Ch] (getLabelList): implement new method
683 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
685 * lyxinset.h: do not include gettext.h...
693 * insetlatexaccent.C:
697 * inseturl.C: ... and do it here instead
699 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
701 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
703 * insettext.[Ch] (getLabelList): add std:: on vector<string>
705 * insetcollapsable.[Ch] (getLabelList): implement
707 * insettext.[Ch] (getLabelList): implement
709 * insettext.h: reindent
711 * insettabular.h: make tabular a scoped_ptr
713 * insettext.C (init): adjust for cursor_visible
714 (ToggleInsetCursor): constify asc and desc, font, adjust for
716 (ShowInsetCursor): constify asc and desc, font, adjust for
718 (HideInsetCursor): adjust for cursor_visible
720 * insettabular.C: reindent some
721 (InsetTabular): adjust for scoped_ptr and cursor_visible
722 (InsetTabular): ditto
723 (~InsetTabular): delete delete
724 (Clone): adjust for scoped_ptr
725 (Read): constify old_format, adjust for scoped_ptr, move init of
727 (draw): constify tx, localize loop vars.
728 some other localization of variables, remove double initilizatons.
730 * insetfoot.C: remove using std::ostream, add ostream where needed
732 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
734 * lyxinset.h: some reindentaion, use initializer list for
736 UpdatableInset: make cursor_visible a private var add
737 public isCursorVisible(), add protected toggleCursorVisible() and
738 proctected setCursorVisible(bool), make scroll call the Inset::scroll
740 * insettoc.C: remvoe using decl
741 (getScreenLabel): make cmdname donst
744 (Ascii): don't use endl
746 * insetfootlike.C: remove using decl at file scope and add std::
748 * insetmarginal.C: ditto
750 * insetfoot.C: some reformatting
752 * insetfloat.C (InsetButtonRelease): adjust the hit area
754 * insetert.C (SetFont): some reformatting
756 * insetcollapsable.C: some reformatting and constification
757 (Clone): comment out.
758 * insetcollapsable.h: some reformatting
759 (Clone): comment out.
764 2001-03-30 Juergen Vigna <jug@sad.it>
766 * insetcollapsable.h: changen *inset to be a InsetText inset.
768 * some files: changed to reflect the above change.
770 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
772 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
773 InsetExternal::Params.
774 Added operator==() and operator!=() for the Params struct.
776 2001-03-29 Juergen Vigna <jug@sad.it>
778 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
781 * insetminipage.C: removed widthp_ and all it's functions and changed
782 to use new %-lengths of LyXLength.
784 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
786 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
788 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
790 * insetgraphicsParams.C (operator!=): new function, needed by the
791 ControlGraphics class.
793 2001-03-28 Juergen Vigna <jug@sad.it>
795 * insettext.C (InsetButtonPress): only enter !inset if button == 2
796 (checkAndActivateInset): don't use the values returned from
797 call to bv->checkInsetHit.
799 * insetminipage.C (Clone): set special minipage values.
801 * insetcollapsable.C (draw): changed to draw the button in the
802 upper left corner outside the textinset.
803 (ascent): changed because of different drawing
807 (InsetButtonPress): ditto
808 (InsetButtonRelease): ditto
809 (InsetMotionNotify): ditto
811 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
813 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
817 2001-03-26 Juergen Vigna <jug@sad.it>
819 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
821 * insettext.C (ShowInsetDialog): implemented above function.
823 * insettabular.C (ShowInsetDialog): ditto
825 * insetminipage.C (ShowInsetDialog): ditto
827 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
829 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
830 InsetInclude::Params. Don't store a buffer * in Params. Store the
831 master file name instead.
833 2001-03-23 Juergen Vigna <jug@sad.it>
835 * insetcollapsable.C (InsetMotionNotify):
836 (InsetButtonRelease):
837 (InsetButtonPress): fixed y-offset (minipages).
839 * insettext.C (draw): force a FULL update if cleared == true.
841 * insetcollapsable.C (draw): Lars forgotten entry for changing this
842 routine to draw the minipages on its position-flag.
843 (InsetInInsetY): give back the right y position, because of minipage
846 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
849 * insetfloat.C (DocBook): docbook export code.
851 2001-03-22 Juergen Vigna <jug@sad.it>
853 * insetminipage.C (getMaxWidth): added function to set the drawing
855 (Read): should work now!
857 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
858 if we create a new inset.
860 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
862 * figinset.C (fl_set_preemptive_callback): moved definition outside
865 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
867 * insetminipage.C (Read): prepare for reading of minipage arguments.
869 2001-03-18 Baruch Even <baruch@lyx.org>
871 * insetgraphics.C: Minor cleanups of the comments and code.
873 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
875 * insetminipage.C (InsetMinipage): default to not collapsed
877 2001-03-16 Juergen Vigna <jug@sad.it>
879 * insetminipage.C (width): modified with to be a string
880 (widthp): added widthp (for % width) support functions.
881 (InsetButtonRelease): added to open the options dialog on button==3.
882 (~InsetMinipage): added to hide the dialog.
884 * insetminipage.h: added hideDialog signal
886 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
888 * insetminipage.h: change the order or Position to match
889 LyXParagraph::MINIPAGE_ALIGNMENT
891 * several files: remvoe CXX_WORKING_NAMESPACES
893 * ExternalTemplate.h: noncopyable is in namespace boost
894 * insetinclude.h: ditto
895 * insetcommand.h: ditto
897 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
899 * insettext.C (Edit): #else# -> #else.
900 * insettoc.C: added using directive.
902 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
904 * insetminipage.h: add pos, inner_pos, width and height. + getters
905 and setters for all of them.
907 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
909 * insetinclude.C (Latex): Do not exit when the textclass of the
910 included file differ from the textclass of the parent file.
912 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
914 * ExternalTemplate.C (read): the reading of external insets now checks
915 for \end_inset and removes it form the input stream.
917 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
919 * ExternalTemplate.h:
920 * ExternalTemplate.C:
922 * insetexternal.C: move form to GUII
924 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
927 * insetinclude.C: add InsetIncludeParams, use
928 composition rather than derivation of InsetCommand
930 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
932 * insettoc.C (Ascii): use the Buffer typedefs
934 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
936 * insettoc.C (Ascii): implement for dynamic number of lists
938 * insetcaption.[Ch]: update from new_insets branch
939 * insetfloat.[Ch]: ditto
941 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
944 * figinset.C: use new File Dialog
946 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
948 * insettext.C: changes becuase of ParagraphParameters.
950 2001-02-28 Baruch Even <baruch@ev-en.org>
952 * insetgraphics.C (updateInset): Changed due to the change in
955 2001-02-26 Juergen Vigna <jug@sad.it>
957 * insettext.C (SetFont): Set Undo only if we have selection (as it is
960 2001-02-23 Juergen Vigna <jug@sad.it>
962 * insettext.C (draw): some small repainting fixes.
963 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
965 * inset.C (LocalDispatch): changed action to be a kb_action (as it
966 should be) and not an int.
968 * insettabular.C (LocalDispatch): ditto
970 * insettext.C (LocalDispatch): ditto
972 * insetcollapsable.C (LocalDispatch): ditto
974 2001-02-22 Juergen Vigna <jug@sad.it>
976 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
977 DISPATCH it and we don't have a locking_inset.
979 2001-02-21 Baruch Even <baruch@ev-en.org>
981 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
982 instead of GraphicsCacheItem *.
984 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
986 * insetcollapsable.C (getLyXText): add const qualifier to second
989 2001-02-22 Juergen Vigna <jug@sad.it>
991 * insettext.C (getLyXText): honor the recursive parameter.
992 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
994 * inset.C (getLyXText): added bool recursive parameter.
996 * insettext.C (SetUpdateStatus): or the update codes.
997 (draw): check need_update with &.
998 (InsetButtonPress): set no_selection to not put a selection when
999 entering an inset and it is redraws in another spot.
1001 * insettext.h: made need_update an int.
1003 2001-02-20 Baruch Even <baruch@ev-en.org>
1006 * insetgraphisc.C: Changed to use better semantics when loading images
1007 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1009 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1013 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1014 consistent with InsetTabular.
1016 2001-02-19 Juergen Vigna <jug@sad.it>
1018 * insettabular.C (LocalDispatch): implement PAGE up/down.
1020 * insettext.C (draw): clear all of it on need_update==INIT too!
1022 * insettabular.C (InsetUnlock): always clear the selection.
1024 * inset.C (scroll): normally we only want to scroll the inset until
1025 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1027 2001-02-14 Juergen Vigna <jug@sad.it>
1029 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1030 (resetPos): fixed scroll behaviour.
1031 (LocalDispatch): do an update if moving cursor inside a table cell
1032 requests a scroll of the tabular.
1034 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1036 * insettext.C (textWidth): constify local var
1038 * insettabular.C: small cleanup.
1040 * insetfoot.C (Latex): constify local var
1042 * insetcollapsable.C: small cleanup.
1044 * figinset.C (runqueue): use compare instead of strcmp
1046 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1049 * insetinfo.C: remove cruft
1051 2001-02-14 Juergen Vigna <jug@sad.it>
1053 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1055 2001-02-13 Juergen Vigna <jug@sad.it>
1057 * insettext.C (InsertInset): don't move left (is this right?)
1059 * insettabular.C (LocalDispatch): use of the no_draw variable
1061 * insettabular.h: new no_draw variable to stop redraw
1063 * insettabular.C (TabularFeatures): fixed update for alignment change
1065 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1069 * insetbib.C: move dialogs to frontends/
1071 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1073 * insettext.C (LocalDispatch): Restore the language if the inset
1076 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1078 * insettext.C (moveRightIntern): Update the selection cursor.
1079 (moveLeftIntern): Ditto.
1081 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1083 * Makefile.am: remove BoundingBox.h
1085 * BoundingBox.h: removed
1087 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1089 * insettext.C (LocalDispatch): Update selection cursor when moving
1090 cursor to the right.
1091 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1092 (moveLeftIntern): Ditto.
1094 2001-02-05 Baruch Even <baruch.even@writeme.com>
1096 * insetgraphics.C: Updated automatic image conversion, it now goes into
1097 temporary directory instead of with the image itself.
1099 2001-01-21 Baruch Even <baruch@ev-en.org>
1101 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1102 to EPS or PNG when needed (support bitmap graphics).
1104 2000-11-02 Baruch Even <baruch@ev-en.org>
1107 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1108 and removal of commented out code.
1110 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1112 * insetbib.C (callback): Update citations if the key has changed.
1114 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1116 * insetbib.C (InsetBibKey): Better computation of default key.
1117 (getScreenLabel) Show both the key and the label.
1118 (getBibLabel): New method.
1119 (callback): Force a redraw if the inset have been changed.
1121 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1123 * insetref.C (getType, getName): Move methods from
1124 src/frontends/xforms/FormRef.C.
1126 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1128 * insettabular.C: Various improvements (use only one dummy position).
1130 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1132 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1133 par->bibkey->width. This fixes the crashes when running without
1134 gui or when having included documents.
1136 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1138 * insetcommand.C (getAsString, setFromString): Cleanup.
1140 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1142 * insetref.C: Add the array InsetRef::types that contains
1143 information about all supported reference types.
1145 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1147 * lyxinset.h: remove trailing comma in enum.
1149 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1151 * insettext.C: kill LyXBell.