1 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insetcollapsable.h: remove autocollapsable (no users), remove
4 draw_label, change_label_with_text and companion code. Remove args
6 * insetert.[Ch]: move here instead (only user)
8 * inset.h: rename private variable name to name_, make
9 selectNextWord return a const string. make getInsetName return a
10 string const &. Remove bool from open, add close.
12 * Makefile.am: don't compile insetlist, insetsection
15 2001-07-24 Juergen Vigna <jug@sad.it>
17 * insetert.C (InsetERT): put init after the paragraph initialization,
18 as otherwise we don't set the draw_label right.
20 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
21 insets with the mouse without having strange selections.
22 (edit): if the inset was collapsed and we open it here then put the
23 cursor always at the beginning of the inset.
24 (get_new_label): 15 instead of 10 max chars in the label.
26 * insetert.C (localDispatch): added and handle various stuff we
27 need to handle here (font setting on paragraph break, not permitted
28 layout setting, etc.).
30 * inset.h: added default copy-consturctor and implemented this in
31 various insets with the change to use this in the clone function!
33 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * insetminipage.C (InsetMinipage): set background color to red :)
37 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
40 draw frame mode is LOCKED.
42 * insetcollapsable.C (edit):
43 (insetButtonRelease): set update status to full when
46 * insettext.C (clearInset):
47 * insettabular.C (draw):
48 * insetlatexaccent.C (draw): honor background color.
50 * inset.h: new member background_color_, initialized to
53 * inset.C (backgroundColor): new method.
54 (setBackgroundColor): new method.
56 * insetert.C (init): new method, called by the ctors.
57 (InsetERT): when inserting contents, make sure the font is
60 * insetnote.C (InsetNote): when inserting content, remove trailing
62 (init): set background color to LColor::note
64 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
66 * insetcollapsable.C: adjust
68 * insetbutton.C: adjust
70 2001-07-23 Juergen Vigna <jug@sad.it>
72 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
73 parameter on the _collapsed function (was not needed) and call
74 always width_collapsed().
76 * insetert.C (InsetERT): use setLabel with "true" flag.
78 * insetcollapsable.C: modified various functions to set the draw_label
79 string right in any condition.
80 (setLabel): added a bool parameter to set change_label_with_text.
82 * insetcollapsable.h: added draw_label string which is set to the
83 actual drawn label-string, while label is the original static label
84 of this collapsable inset. Added bool change_label_with_text to set
85 if we want that the label changes to the start of the InsetText's
86 text when collabpsed. You can set this flag with the setLabel funciton.
87 Added bool inlined for inlined collapsable insets, but not handled
90 * insetcollapsable.C (get_new_label): added should get a new label
91 from the InsetText beginning (for now 10 chars).
93 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
95 * insetquotes.C (latex): fix the handling of french double quotes
96 when not using the french pachage.
98 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * insetcollapsable.h: make WidthCollapsed mutable.
102 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
103 InsetPrintIndex returns INDEX_PRINT_CODE.
105 * inset.h: add INDEX_PRINT_CODE
107 * insetcollapsable.C (draw): init widthCollapsed if necessary
110 * insetquotes.C (width): use the local language, not the document
113 (dispString): add additional spacing for all french languages,
115 (validate): make it work when there is no default language
117 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
119 * insetnote.C (init): new method, called by the constructors
120 (InsetNote): new constructor with contents passed as a string
122 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * insetfootlike.C (insetAllowed): disallow float in footlike.
126 * insetert.C (InsetERT): add collapsed argument to the constrctor
129 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
131 * insetindex.h: shut off warning
133 2001-07-20 Juergen Vigna <jug@sad.it>
135 * insetcollapsable.C (update): recoded hopefully works now!
137 2001-07-19 Juergen Vigna <jug@sad.it>
139 * most files: implemented the below new introduced function.
141 * inset.h: added new edit(BufferView *, bool front) method to be able
142 to enter an inset from the front/back without knowing x/y positions
143 and baselines inside the inset. So I just can tell the inset activate
144 me and set the cursor on the front/back of yourself.
146 2001-07-18 Juergen Vigna <jug@sad.it>
148 * insetcollapsable.C (edit): fixed hopefully the y parameter which
149 is givven to the InsetText.
150 (insetButtonPress): ditto
151 (insetButtonRelease): ditto
152 (insetMotionNotify): ditto
154 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
156 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
157 LIGATURE_BREAK, since the name is so stupid.
159 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
161 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
162 the default InsetCollapsable methods. I.e., it can insert anything.
163 (write) output the name of the inset, not some silly hack for
164 compatability with the old InsetInfo.
166 * insetinfo.[Ch]: removed.
167 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
168 now collapsable, but functionality is otherwise identical to InsetInfo.
170 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
172 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
177 * insetquotes.C: general cleanup
178 (dispString): add spaces inside french double quotes.
179 (latex): ditto. Moreover, treat first the case where the frenchb
180 or french options have been given.
182 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
184 * insetcite.[Ch] (latex, validate): new methods, required for natbib
187 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
189 * figinset.C (RegisterFigure): Print debug message only when
190 current_view is available.
192 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * many files: update to match the change below
196 * inset.h (insetAllowed): renamed from insertInsetAllowed;
197 implement the version which takes an inset here.
199 * insetcollapsable.[Ch]: implement open and isOpen
201 * inset.h: remove insertInsetAllowed from Inset
202 (open): new method, to open or close an inset
203 (isOpen): returns the status of an inset
204 (isCollapsable, colapse): removed
206 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
208 * insetquotes.C (dispString): display french guillemets when using
211 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
213 * insetcollapsable.h: remove bogus return statements
215 2001-07-18 Juergen Vigna <jug@sad.it>
217 * insettabular.C (selectNextWord): fixed spellchecking for the
218 first cell of a tabular (wasn't entered!)
219 (getLyXText): changed to enter automatically insettext and return
220 it's LyXText if we're locked.
222 2001-07-17 Juergen Vigna <jug@sad.it>
224 * various files: implemented the below functions.
226 * inset.h: added functions
227 - virtual string selectNextWord(BufferView *, float & value) const;
228 - virtual void selectSelectedWord(BufferView *) { return; }
229 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
230 needed for spellchecking correctly!
232 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
234 * insetert.C (latex): write out all paragraphs.
236 2001-07-17 Baruch Even <baruch@lyx.org>
238 * insetgraphics.C (draw): Removed unneeded casts.
240 2001-07-16 Juergen Vigna <jug@sad.it>
242 * insettext.C (update): fixed small oversight (reset lt to 0).
244 2001-07-14 Baruch Even <baruch@lyx.org>
247 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
249 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
251 Consistent use of Lsstream.h:
252 * figinset.C: removed using std::ostringstream directive.
254 * insetgraphics.C (createLatexOptions):
255 * insetinclude.C (unique_id):
256 std::ostringstream -> ostringstream.
257 * insettext.C (localDispatch): std::istringstream -> istringstream.
259 2001-07-13 Juergen Vigna <jug@sad.it>
261 * insetfloat.C (insertInsetAllowed): added missing const_cast.
263 * insetcollapsable.C (getLockingInset): ditto.
265 2001-07-12 Juergen Vigna <jug@sad.it>
267 * insetcollapsable.h: added implementation of new function for
270 * various files: added implementation of new insertInsetAllowed-func
271 and redone the function a bit more.
273 * inset.h: added isCollapsable(), bool collapsed(),
274 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
276 * insetfloat.C (insertInsetAllowed): make a bit more checks.
278 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
279 LyXText which is marked for removal while we're using it!
281 * insettext.h: added private LyXText * lt to use it to assure we are
282 not deleting our LyXText while we're using it!
284 2001-07-11 Juergen Vigna <jug@sad.it>
286 * insettext.C (insertInset): check if we are before the inset after
287 inserting it! This check IS needed. Remove the Undo-Call as it is
288 called in LyXText::insertInset!
290 * insettext.h: added struct InnerCache.
292 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
293 that we ONLY delete the LyXText in the getLyXText() routine. So we
294 are sure we don't delete LyXText while someone is working with it!
296 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
298 * insetexternal.C: (*it). -> it->
301 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
303 * insetcollapsable.C (edit): always open collapsed insets (even if
304 they are not autocollapsable)
306 * insetcommand.C (operator=): simplify.
308 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
310 * insetert.C (latex): handle META_NEWLINE
312 2001-07-09 Juergen Vigna <jug@sad.it>
314 * insetert.h: a normal InsetText can insert insets, but we won't.
316 * inset.h: return default "false" on insertInsetAllowed and implement
317 this function where a returnvalue != "false" is needed.
319 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
321 * insetert.C (InsetERT): new contructor
323 2001-07-06 Juergen Vigna <jug@sad.it>
325 * a lot of files: added implementation of the below new functions
326 and the change to clone(). Also the call of the new undo-functions
329 * inset.h: added an inset_id, added functions getParFromID,
330 getInsetFromID, firstParagraph, cursor and id functions, added
331 bool same_ids to clone function.
333 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
335 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
336 of BufferView * and shared_ptr<LyXText>
338 2001-07-05 Juergen Vigna <jug@sad.it>
340 * insettext.C (clear): deleted also the cache not only LyXText.
341 (setParagraphData): ditto.
343 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
345 * insetfloat.C (latex): let the specific placement take presedence
346 if set, otherwise choose document placement if set, otherwise just
347 use float default placement.
349 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
351 * insettext.C (localDispatch): call CutAndPaste::'s static method
354 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
356 * insetbib.C: no meed to include forms.h here.
358 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
360 * insettext.C: added using std::make_pair directive.
362 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
364 * insettext.C (getLyXText): avoid multiple lookups, and simplify
366 (deleteLyXText): ditto
367 (resizeLyXText): ditto
369 2001-07-02 Juergen Vigna <jug@sad.it>
371 * insettext.C (getLyXText): introduce a cache in getLyXText so that
372 following calls are only returned the right pointer without the over
373 head to search in the map.
374 (various funcs): reset the cached_bview variable as this signs that
375 the cache is not valid anymore.
377 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
379 * insettabular.C (clone): do not copy the LyXTabular twice
381 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
383 * insettext.h (TEXT): delete method
385 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
387 * insetmarginal.C (latex):
388 * insetfoot.C (latex): fix spacing of notes in LaTeX
390 * insettext.C (localDispatch): use .c_str() on istringstream
391 constructor argument.
393 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
398 * inseturl.C: fix method names in these to begin
399 with small char too, so they inherit
401 2001-06-28 Juergen Vigna <jug@sad.it>
403 * insettext.C (setFont): fixed font settings using toggleFree()
404 instead of setFont().
406 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
408 * Change a lot of method names to begin with a small char.
409 Changes to a lot of files because of this.
411 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
413 * insetfloatlist.C (Write): std:: qualify ostream
416 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
420 * insetgraphics.C: send debug output to Debug::INFO instead of
423 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
426 * insettabular.C (getStatus): update to use func_status
428 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
430 * insetref.C (DocBook): added support for cross-references without
433 2001-06-26 The LyX Project <jug@sad.it>
438 * insetlabel.h: removed escape method and moved it to
441 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
443 * insettabular.C (getMaxWidth): do the speedup in a different way,
446 2001-06-24 The LyX Project <Asger>
448 * insettabular.C (getMaxWidth): We cache a mapping from
449 inset to cell in order to speed this method up.
451 2001-06-24 The LyX Project <Asger>
453 * insettext.C: Optimized InsetText::draw or something.
455 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
457 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
459 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
461 * inset.h: name change from lyxinset.h
463 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
465 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
467 2001-06-14 Juergen Vigna <jug@sad.it>
469 * insettext.C (draw): removed warnings.
471 2001-06-13 Juergen Vigna <jug@sad.it>
473 * insettabular.C (nodraw): only go down the tree if we don't have
474 that flag set otherwise it's obvious that we don't want to draw.
475 (LocalDispatch): do also an update if we have an undispached result.
477 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
480 * insetgraphicsParams.C:
481 * insettext.C: removed // -*- C++ -*- as first line.
483 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
485 * lyxinset.h (resizeLyXText): shut off warning about unused
488 2001-06-07 Juergen Vigna <jug@sad.it>
490 * insettext.C (resizeLyXText): honor the new force flag.
492 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
494 * insettabular.C (deleteLyXText): new function
496 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
504 * insetcollapsable.C:
505 * insetcaption.C: LColor tidy
507 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
509 * figinset.C: fix typo
511 2001-06-01 Juergen Vigna <jug@sad.it>
513 * insettabular.C (resetPos): small hack so that scroll is not set to
514 0 when we are in the last column of a tabular. This is a problem we
515 have because of constats 20 offset on both directions, so this can
516 cause on the limit an endless loop.
518 * insettext.C (SetFont): forgot that we can have locking insets ;)
520 2001-05-31 Juergen Vigna <jug@sad.it>
522 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
524 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
526 * figinset.C: add using std:: directive for the C functions which
529 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
531 * insetfloat.C (Write): write out wide info
532 (Read): read the wide info
533 (Latex): use the wide info when creating latex.
535 * insettext.C: adjust
537 * insetgraphics.[Ch] (statusMessage): change to return string
541 * figinset.C (runqueue): add std::
544 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
546 * insetcite.C (Ascii): add std:: qualifier
548 2001-05-28 Juergen Vigna <jug@sad.it>
550 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
551 a endless-width inset (maxWidth < 0).
552 (Edit): change language only if not equal.
554 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
556 * insettext.C (draw): fixed draw/clear of InsetText-Frame
558 2001-05-16 Juergen Vigna <jug@sad.it>
560 * insettext.C (selectAll): added
561 (clearSelection): added
563 * insettabular.C (SetFont): now we may set a font on a whole selection!
564 (getSelection): added helper function.
566 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
568 * insetcite.C (Ascii): Add method.
570 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
573 * insetbib.C: fix path for OS/2 & Win32
575 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
577 * insetfoot.C (Latex): don't use % after footnote.
579 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
581 * insettext.C (Read): use clear
582 (SetParagraphData): use LyXParagraph copy constructor instead of clone
584 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
586 * insetfloatlist.h: add a bunch of std:: qualifiers.
588 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
590 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
591 FLOAT_LIST_CODE, renumber code list.
593 * insettoc.C (getScreenLabel): remove support for float lists
597 * insetfloatlist.[Ch]: new files
599 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
601 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
603 * insettabular.C (LocalDispatch):
604 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
607 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
609 * insettext.C: remvoe !NEW_INSETS cruft
611 * insettabular.C: remove !NEW_INSETS cruft
613 * insetcollapsable.h: remove !NEW_INSETS cruft
615 * insetbib.C: remove !NEW_INSETS cruft
617 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * insettoc.C: hack to make listof algorithm work
621 2001-04-20 Juergen Vigna <jug@sad.it>
623 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
625 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
627 * insetquotes.C (Latex): improve the guard against
628 unwanted !` and ?` ligatures. This should really be done in
629 another place (to catch all this ligatures at low-level).
631 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
633 * insettext.C (init): remvoe leftovers from cursor_visible change
635 (LocalDispatch): dispatch LFUN_MESSAGE
637 * insettabular.C (InsetTabular): remove leftovers from
638 cursor_visible, and scoped_ptr changes
641 * insetcollapsable.C (draw): use c++ cast
643 * ExternalTemplate.h: inherit privaely from noncopyable
644 * insetcommand.h: ditto
645 * insetinclude.h: ditto
647 2001-04-16 Allan Rae <rae@lyx.org>
649 * insettoc.C (Ascii):
650 * insettext.C (draw):
651 * insettabular.C (setPos):
652 * insetminipage.C (Read):
653 * insetfloat.C (placement):
654 * insetcaption.C (Ascii, DocBook):
655 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
656 an unrecognised preprocessor directive. So ensure they're wrapped.
658 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
661 * insetexternal.C: set view on Clone. Add _ to private members.
663 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
665 * insettext.C (InsetText): fix new
666 (InsetText): reindent some, simplify deletion of par list
667 (clear): simplify deletion of par list, fix new
668 (SetParagraphData): simplify deletion of par list
670 * insettabular.[Ch] (getLabelList): implement new method
672 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
674 * lyxinset.h: do not include gettext.h...
682 * insetlatexaccent.C:
686 * inseturl.C: ... and do it here instead
688 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
690 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
692 * insettext.[Ch] (getLabelList): add std:: on vector<string>
694 * insetcollapsable.[Ch] (getLabelList): implement
696 * insettext.[Ch] (getLabelList): implement
698 * insettext.h: reindent
700 * insettabular.h: make tabular a scoped_ptr
702 * insettext.C (init): adjust for cursor_visible
703 (ToggleInsetCursor): constify asc and desc, font, adjust for
705 (ShowInsetCursor): constify asc and desc, font, adjust for
707 (HideInsetCursor): adjust for cursor_visible
709 * insettabular.C: reindent some
710 (InsetTabular): adjust for scoped_ptr and cursor_visible
711 (InsetTabular): ditto
712 (~InsetTabular): delete delete
713 (Clone): adjust for scoped_ptr
714 (Read): constify old_format, adjust for scoped_ptr, move init of
716 (draw): constify tx, localize loop vars.
717 some other localization of variables, remove double initilizatons.
719 * insetfoot.C: remove using std::ostream, add ostream where needed
721 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
723 * lyxinset.h: some reindentaion, use initializer list for
725 UpdatableInset: make cursor_visible a private var add
726 public isCursorVisible(), add protected toggleCursorVisible() and
727 proctected setCursorVisible(bool), make scroll call the Inset::scroll
729 * insettoc.C: remvoe using decl
730 (getScreenLabel): make cmdname donst
733 (Ascii): don't use endl
735 * insetfootlike.C: remove using decl at file scope and add std::
737 * insetmarginal.C: ditto
739 * insetfoot.C: some reformatting
741 * insetfloat.C (InsetButtonRelease): adjust the hit area
743 * insetert.C (SetFont): some reformatting
745 * insetcollapsable.C: some reformatting and constification
746 (Clone): comment out.
747 * insetcollapsable.h: some reformatting
748 (Clone): comment out.
753 2001-03-30 Juergen Vigna <jug@sad.it>
755 * insetcollapsable.h: changen *inset to be a InsetText inset.
757 * some files: changed to reflect the above change.
759 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
761 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
762 InsetExternal::Params.
763 Added operator==() and operator!=() for the Params struct.
765 2001-03-29 Juergen Vigna <jug@sad.it>
767 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
770 * insetminipage.C: removed widthp_ and all it's functions and changed
771 to use new %-lengths of LyXLength.
773 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
775 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
777 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
779 * insetgraphicsParams.C (operator!=): new function, needed by the
780 ControlGraphics class.
782 2001-03-28 Juergen Vigna <jug@sad.it>
784 * insettext.C (InsetButtonPress): only enter !inset if button == 2
785 (checkAndActivateInset): don't use the values returned from
786 call to bv->checkInsetHit.
788 * insetminipage.C (Clone): set special minipage values.
790 * insetcollapsable.C (draw): changed to draw the button in the
791 upper left corner outside the textinset.
792 (ascent): changed because of different drawing
796 (InsetButtonPress): ditto
797 (InsetButtonRelease): ditto
798 (InsetMotionNotify): ditto
800 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
802 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
806 2001-03-26 Juergen Vigna <jug@sad.it>
808 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
810 * insettext.C (ShowInsetDialog): implemented above function.
812 * insettabular.C (ShowInsetDialog): ditto
814 * insetminipage.C (ShowInsetDialog): ditto
816 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
818 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
819 InsetInclude::Params. Don't store a buffer * in Params. Store the
820 master file name instead.
822 2001-03-23 Juergen Vigna <jug@sad.it>
824 * insetcollapsable.C (InsetMotionNotify):
825 (InsetButtonRelease):
826 (InsetButtonPress): fixed y-offset (minipages).
828 * insettext.C (draw): force a FULL update if cleared == true.
830 * insetcollapsable.C (draw): Lars forgotten entry for changing this
831 routine to draw the minipages on its position-flag.
832 (InsetInInsetY): give back the right y position, because of minipage
835 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
838 * insetfloat.C (DocBook): docbook export code.
840 2001-03-22 Juergen Vigna <jug@sad.it>
842 * insetminipage.C (getMaxWidth): added function to set the drawing
844 (Read): should work now!
846 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
847 if we create a new inset.
849 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
851 * figinset.C (fl_set_preemptive_callback): moved definition outside
854 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
856 * insetminipage.C (Read): prepare for reading of minipage arguments.
858 2001-03-18 Baruch Even <baruch@lyx.org>
860 * insetgraphics.C: Minor cleanups of the comments and code.
862 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
864 * insetminipage.C (InsetMinipage): default to not collapsed
866 2001-03-16 Juergen Vigna <jug@sad.it>
868 * insetminipage.C (width): modified with to be a string
869 (widthp): added widthp (for % width) support functions.
870 (InsetButtonRelease): added to open the options dialog on button==3.
871 (~InsetMinipage): added to hide the dialog.
873 * insetminipage.h: added hideDialog signal
875 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
877 * insetminipage.h: change the order or Position to match
878 LyXParagraph::MINIPAGE_ALIGNMENT
880 * several files: remvoe CXX_WORKING_NAMESPACES
882 * ExternalTemplate.h: noncopyable is in namespace boost
883 * insetinclude.h: ditto
884 * insetcommand.h: ditto
886 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
888 * insettext.C (Edit): #else# -> #else.
889 * insettoc.C: added using directive.
891 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
893 * insetminipage.h: add pos, inner_pos, width and height. + getters
894 and setters for all of them.
896 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
898 * insetinclude.C (Latex): Do not exit when the textclass of the
899 included file differ from the textclass of the parent file.
901 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
903 * ExternalTemplate.C (read): the reading of external insets now checks
904 for \end_inset and removes it form the input stream.
906 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
908 * ExternalTemplate.h:
909 * ExternalTemplate.C:
911 * insetexternal.C: move form to GUII
913 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
916 * insetinclude.C: add InsetIncludeParams, use
917 composition rather than derivation of InsetCommand
919 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
921 * insettoc.C (Ascii): use the Buffer typedefs
923 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
925 * insettoc.C (Ascii): implement for dynamic number of lists
927 * insetcaption.[Ch]: update from new_insets branch
928 * insetfloat.[Ch]: ditto
930 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
933 * figinset.C: use new File Dialog
935 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
937 * insettext.C: changes becuase of ParagraphParameters.
939 2001-02-28 Baruch Even <baruch@ev-en.org>
941 * insetgraphics.C (updateInset): Changed due to the change in
944 2001-02-26 Juergen Vigna <jug@sad.it>
946 * insettext.C (SetFont): Set Undo only if we have selection (as it is
949 2001-02-23 Juergen Vigna <jug@sad.it>
951 * insettext.C (draw): some small repainting fixes.
952 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
954 * inset.C (LocalDispatch): changed action to be a kb_action (as it
955 should be) and not an int.
957 * insettabular.C (LocalDispatch): ditto
959 * insettext.C (LocalDispatch): ditto
961 * insetcollapsable.C (LocalDispatch): ditto
963 2001-02-22 Juergen Vigna <jug@sad.it>
965 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
966 DISPATCH it and we don't have a locking_inset.
968 2001-02-21 Baruch Even <baruch@ev-en.org>
970 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
971 instead of GraphicsCacheItem *.
973 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
975 * insetcollapsable.C (getLyXText): add const qualifier to second
978 2001-02-22 Juergen Vigna <jug@sad.it>
980 * insettext.C (getLyXText): honor the recursive parameter.
981 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
983 * inset.C (getLyXText): added bool recursive parameter.
985 * insettext.C (SetUpdateStatus): or the update codes.
986 (draw): check need_update with &.
987 (InsetButtonPress): set no_selection to not put a selection when
988 entering an inset and it is redraws in another spot.
990 * insettext.h: made need_update an int.
992 2001-02-20 Baruch Even <baruch@ev-en.org>
995 * insetgraphisc.C: Changed to use better semantics when loading images
996 for inline view. Now it doesn't keep the pixmap itself but it's holder.
998 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1002 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1003 consistent with InsetTabular.
1005 2001-02-19 Juergen Vigna <jug@sad.it>
1007 * insettabular.C (LocalDispatch): implement PAGE up/down.
1009 * insettext.C (draw): clear all of it on need_update==INIT too!
1011 * insettabular.C (InsetUnlock): always clear the selection.
1013 * inset.C (scroll): normally we only want to scroll the inset until
1014 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1016 2001-02-14 Juergen Vigna <jug@sad.it>
1018 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1019 (resetPos): fixed scroll behaviour.
1020 (LocalDispatch): do an update if moving cursor inside a table cell
1021 requests a scroll of the tabular.
1023 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1025 * insettext.C (textWidth): constify local var
1027 * insettabular.C: small cleanup.
1029 * insetfoot.C (Latex): constify local var
1031 * insetcollapsable.C: small cleanup.
1033 * figinset.C (runqueue): use compare instead of strcmp
1035 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1038 * insetinfo.C: remove cruft
1040 2001-02-14 Juergen Vigna <jug@sad.it>
1042 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1044 2001-02-13 Juergen Vigna <jug@sad.it>
1046 * insettext.C (InsertInset): don't move left (is this right?)
1048 * insettabular.C (LocalDispatch): use of the no_draw variable
1050 * insettabular.h: new no_draw variable to stop redraw
1052 * insettabular.C (TabularFeatures): fixed update for alignment change
1054 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1058 * insetbib.C: move dialogs to frontends/
1060 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1062 * insettext.C (LocalDispatch): Restore the language if the inset
1065 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1067 * insettext.C (moveRightIntern): Update the selection cursor.
1068 (moveLeftIntern): Ditto.
1070 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1072 * Makefile.am: remove BoundingBox.h
1074 * BoundingBox.h: removed
1076 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1078 * insettext.C (LocalDispatch): Update selection cursor when moving
1079 cursor to the right.
1080 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1081 (moveLeftIntern): Ditto.
1083 2001-02-05 Baruch Even <baruch.even@writeme.com>
1085 * insetgraphics.C: Updated automatic image conversion, it now goes into
1086 temporary directory instead of with the image itself.
1088 2001-01-21 Baruch Even <baruch@ev-en.org>
1090 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1091 to EPS or PNG when needed (support bitmap graphics).
1093 2000-11-02 Baruch Even <baruch@ev-en.org>
1096 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1097 and removal of commented out code.
1099 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1101 * insetbib.C (callback): Update citations if the key has changed.
1103 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1105 * insetbib.C (InsetBibKey): Better computation of default key.
1106 (getScreenLabel) Show both the key and the label.
1107 (getBibLabel): New method.
1108 (callback): Force a redraw if the inset have been changed.
1110 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1112 * insetref.C (getType, getName): Move methods from
1113 src/frontends/xforms/FormRef.C.
1115 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1117 * insettabular.C: Various improvements (use only one dummy position).
1119 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1121 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1122 par->bibkey->width. This fixes the crashes when running without
1123 gui or when having included documents.
1125 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1127 * insetcommand.C (getAsString, setFromString): Cleanup.
1129 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1131 * insetref.C: Add the array InsetRef::types that contains
1132 information about all supported reference types.
1134 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1136 * lyxinset.h: remove trailing comma in enum.
1138 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1140 * insettext.C: kill LyXBell.