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