1 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * Makefile.am (EXTRA_DIST): add files that is not part or the
6 * insetcollapsable.h: remove autocollapsable (no users), remove
7 draw_label, change_label_with_text and companion code. Remove args
9 * insetert.[Ch]: move here instead (only user)
11 * inset.h: rename private variable name to name_, make
12 selectNextWord return a const string. make getInsetName return a
13 string const &. Remove bool from open, add close.
15 * Makefile.am: don't compile insetlist, insetsection
18 2001-07-24 Juergen Vigna <jug@sad.it>
20 * insetert.C (InsetERT): put init after the paragraph initialization,
21 as otherwise we don't set the draw_label right.
23 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
24 insets with the mouse without having strange selections.
25 (edit): if the inset was collapsed and we open it here then put the
26 cursor always at the beginning of the inset.
27 (get_new_label): 15 instead of 10 max chars in the label.
29 * insetert.C (localDispatch): added and handle various stuff we
30 need to handle here (font setting on paragraph break, not permitted
31 layout setting, etc.).
33 * inset.h: added default copy-consturctor and implemented this in
34 various insets with the change to use this in the clone function!
36 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * insetminipage.C (InsetMinipage): set background color to red :)
40 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
43 draw frame mode is LOCKED.
45 * insetcollapsable.C (edit):
46 (insetButtonRelease): set update status to full when
49 * insettext.C (clearInset):
50 * insettabular.C (draw):
51 * insetlatexaccent.C (draw): honor background color.
53 * inset.h: new member background_color_, initialized to
56 * inset.C (backgroundColor): new method.
57 (setBackgroundColor): new method.
59 * insetert.C (init): new method, called by the ctors.
60 (InsetERT): when inserting contents, make sure the font is
63 * insetnote.C (InsetNote): when inserting content, remove trailing
65 (init): set background color to LColor::note
67 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
69 * insetcollapsable.C: adjust
71 * insetbutton.C: adjust
73 2001-07-23 Juergen Vigna <jug@sad.it>
75 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
76 parameter on the _collapsed function (was not needed) and call
77 always width_collapsed().
79 * insetert.C (InsetERT): use setLabel with "true" flag.
81 * insetcollapsable.C: modified various functions to set the draw_label
82 string right in any condition.
83 (setLabel): added a bool parameter to set change_label_with_text.
85 * insetcollapsable.h: added draw_label string which is set to the
86 actual drawn label-string, while label is the original static label
87 of this collapsable inset. Added bool change_label_with_text to set
88 if we want that the label changes to the start of the InsetText's
89 text when collabpsed. You can set this flag with the setLabel funciton.
90 Added bool inlined for inlined collapsable insets, but not handled
93 * insetcollapsable.C (get_new_label): added should get a new label
94 from the InsetText beginning (for now 10 chars).
96 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
98 * insetquotes.C (latex): fix the handling of french double quotes
99 when not using the french pachage.
101 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
103 * insetcollapsable.h: make WidthCollapsed mutable.
105 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
106 InsetPrintIndex returns INDEX_PRINT_CODE.
108 * inset.h: add INDEX_PRINT_CODE
110 * insetcollapsable.C (draw): init widthCollapsed if necessary
113 * insetquotes.C (width): use the local language, not the document
116 (dispString): add additional spacing for all french languages,
118 (validate): make it work when there is no default language
120 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
122 * insetnote.C (init): new method, called by the constructors
123 (InsetNote): new constructor with contents passed as a string
125 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
127 * insetfootlike.C (insetAllowed): disallow float in footlike.
129 * insetert.C (InsetERT): add collapsed argument to the constrctor
132 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
134 * insetindex.h: shut off warning
136 2001-07-20 Juergen Vigna <jug@sad.it>
138 * insetcollapsable.C (update): recoded hopefully works now!
140 2001-07-19 Juergen Vigna <jug@sad.it>
142 * most files: implemented the below new introduced function.
144 * inset.h: added new edit(BufferView *, bool front) method to be able
145 to enter an inset from the front/back without knowing x/y positions
146 and baselines inside the inset. So I just can tell the inset activate
147 me and set the cursor on the front/back of yourself.
149 2001-07-18 Juergen Vigna <jug@sad.it>
151 * insetcollapsable.C (edit): fixed hopefully the y parameter which
152 is givven to the InsetText.
153 (insetButtonPress): ditto
154 (insetButtonRelease): ditto
155 (insetMotionNotify): ditto
157 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
159 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
160 LIGATURE_BREAK, since the name is so stupid.
162 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
164 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
165 the default InsetCollapsable methods. I.e., it can insert anything.
166 (write) output the name of the inset, not some silly hack for
167 compatability with the old InsetInfo.
169 * insetinfo.[Ch]: removed.
170 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
171 now collapsable, but functionality is otherwise identical to InsetInfo.
173 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
175 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
180 * insetquotes.C: general cleanup
181 (dispString): add spaces inside french double quotes.
182 (latex): ditto. Moreover, treat first the case where the frenchb
183 or french options have been given.
185 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
187 * insetcite.[Ch] (latex, validate): new methods, required for natbib
190 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
192 * figinset.C (RegisterFigure): Print debug message only when
193 current_view is available.
195 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * many files: update to match the change below
199 * inset.h (insetAllowed): renamed from insertInsetAllowed;
200 implement the version which takes an inset here.
202 * insetcollapsable.[Ch]: implement open and isOpen
204 * inset.h: remove insertInsetAllowed from Inset
205 (open): new method, to open or close an inset
206 (isOpen): returns the status of an inset
207 (isCollapsable, colapse): removed
209 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
211 * insetquotes.C (dispString): display french guillemets when using
214 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
216 * insetcollapsable.h: remove bogus return statements
218 2001-07-18 Juergen Vigna <jug@sad.it>
220 * insettabular.C (selectNextWord): fixed spellchecking for the
221 first cell of a tabular (wasn't entered!)
222 (getLyXText): changed to enter automatically insettext and return
223 it's LyXText if we're locked.
225 2001-07-17 Juergen Vigna <jug@sad.it>
227 * various files: implemented the below functions.
229 * inset.h: added functions
230 - virtual string selectNextWord(BufferView *, float & value) const;
231 - virtual void selectSelectedWord(BufferView *) { return; }
232 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
233 needed for spellchecking correctly!
235 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
237 * insetert.C (latex): write out all paragraphs.
239 2001-07-17 Baruch Even <baruch@lyx.org>
241 * insetgraphics.C (draw): Removed unneeded casts.
243 2001-07-16 Juergen Vigna <jug@sad.it>
245 * insettext.C (update): fixed small oversight (reset lt to 0).
247 2001-07-14 Baruch Even <baruch@lyx.org>
250 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
252 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
254 Consistent use of Lsstream.h:
255 * figinset.C: removed using std::ostringstream directive.
257 * insetgraphics.C (createLatexOptions):
258 * insetinclude.C (unique_id):
259 std::ostringstream -> ostringstream.
260 * insettext.C (localDispatch): std::istringstream -> istringstream.
262 2001-07-13 Juergen Vigna <jug@sad.it>
264 * insetfloat.C (insertInsetAllowed): added missing const_cast.
266 * insetcollapsable.C (getLockingInset): ditto.
268 2001-07-12 Juergen Vigna <jug@sad.it>
270 * insetcollapsable.h: added implementation of new function for
273 * various files: added implementation of new insertInsetAllowed-func
274 and redone the function a bit more.
276 * inset.h: added isCollapsable(), bool collapsed(),
277 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
279 * insetfloat.C (insertInsetAllowed): make a bit more checks.
281 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
282 LyXText which is marked for removal while we're using it!
284 * insettext.h: added private LyXText * lt to use it to assure we are
285 not deleting our LyXText while we're using it!
287 2001-07-11 Juergen Vigna <jug@sad.it>
289 * insettext.C (insertInset): check if we are before the inset after
290 inserting it! This check IS needed. Remove the Undo-Call as it is
291 called in LyXText::insertInset!
293 * insettext.h: added struct InnerCache.
295 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
296 that we ONLY delete the LyXText in the getLyXText() routine. So we
297 are sure we don't delete LyXText while someone is working with it!
299 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
301 * insetexternal.C: (*it). -> it->
304 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
306 * insetcollapsable.C (edit): always open collapsed insets (even if
307 they are not autocollapsable)
309 * insetcommand.C (operator=): simplify.
311 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
313 * insetert.C (latex): handle META_NEWLINE
315 2001-07-09 Juergen Vigna <jug@sad.it>
317 * insetert.h: a normal InsetText can insert insets, but we won't.
319 * inset.h: return default "false" on insertInsetAllowed and implement
320 this function where a returnvalue != "false" is needed.
322 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
324 * insetert.C (InsetERT): new contructor
326 2001-07-06 Juergen Vigna <jug@sad.it>
328 * a lot of files: added implementation of the below new functions
329 and the change to clone(). Also the call of the new undo-functions
332 * inset.h: added an inset_id, added functions getParFromID,
333 getInsetFromID, firstParagraph, cursor and id functions, added
334 bool same_ids to clone function.
336 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
338 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
339 of BufferView * and shared_ptr<LyXText>
341 2001-07-05 Juergen Vigna <jug@sad.it>
343 * insettext.C (clear): deleted also the cache not only LyXText.
344 (setParagraphData): ditto.
346 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
348 * insetfloat.C (latex): let the specific placement take presedence
349 if set, otherwise choose document placement if set, otherwise just
350 use float default placement.
352 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
354 * insettext.C (localDispatch): call CutAndPaste::'s static method
357 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
359 * insetbib.C: no meed to include forms.h here.
361 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
363 * insettext.C: added using std::make_pair directive.
365 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
367 * insettext.C (getLyXText): avoid multiple lookups, and simplify
369 (deleteLyXText): ditto
370 (resizeLyXText): ditto
372 2001-07-02 Juergen Vigna <jug@sad.it>
374 * insettext.C (getLyXText): introduce a cache in getLyXText so that
375 following calls are only returned the right pointer without the over
376 head to search in the map.
377 (various funcs): reset the cached_bview variable as this signs that
378 the cache is not valid anymore.
380 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
382 * insettabular.C (clone): do not copy the LyXTabular twice
384 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
386 * insettext.h (TEXT): delete method
388 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
390 * insetmarginal.C (latex):
391 * insetfoot.C (latex): fix spacing of notes in LaTeX
393 * insettext.C (localDispatch): use .c_str() on istringstream
394 constructor argument.
396 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
401 * inseturl.C: fix method names in these to begin
402 with small char too, so they inherit
404 2001-06-28 Juergen Vigna <jug@sad.it>
406 * insettext.C (setFont): fixed font settings using toggleFree()
407 instead of setFont().
409 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
411 * Change a lot of method names to begin with a small char.
412 Changes to a lot of files because of this.
414 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
416 * insetfloatlist.C (Write): std:: qualify ostream
419 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
423 * insetgraphics.C: send debug output to Debug::INFO instead of
426 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
429 * insettabular.C (getStatus): update to use func_status
431 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
433 * insetref.C (DocBook): added support for cross-references without
436 2001-06-26 The LyX Project <jug@sad.it>
441 * insetlabel.h: removed escape method and moved it to
444 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
446 * insettabular.C (getMaxWidth): do the speedup in a different way,
449 2001-06-24 The LyX Project <Asger>
451 * insettabular.C (getMaxWidth): We cache a mapping from
452 inset to cell in order to speed this method up.
454 2001-06-24 The LyX Project <Asger>
456 * insettext.C: Optimized InsetText::draw or something.
458 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
460 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
462 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
464 * inset.h: name change from lyxinset.h
466 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
468 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
470 2001-06-14 Juergen Vigna <jug@sad.it>
472 * insettext.C (draw): removed warnings.
474 2001-06-13 Juergen Vigna <jug@sad.it>
476 * insettabular.C (nodraw): only go down the tree if we don't have
477 that flag set otherwise it's obvious that we don't want to draw.
478 (LocalDispatch): do also an update if we have an undispached result.
480 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
483 * insetgraphicsParams.C:
484 * insettext.C: removed // -*- C++ -*- as first line.
486 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
488 * lyxinset.h (resizeLyXText): shut off warning about unused
491 2001-06-07 Juergen Vigna <jug@sad.it>
493 * insettext.C (resizeLyXText): honor the new force flag.
495 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
497 * insettabular.C (deleteLyXText): new function
499 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
507 * insetcollapsable.C:
508 * insetcaption.C: LColor tidy
510 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
512 * figinset.C: fix typo
514 2001-06-01 Juergen Vigna <jug@sad.it>
516 * insettabular.C (resetPos): small hack so that scroll is not set to
517 0 when we are in the last column of a tabular. This is a problem we
518 have because of constats 20 offset on both directions, so this can
519 cause on the limit an endless loop.
521 * insettext.C (SetFont): forgot that we can have locking insets ;)
523 2001-05-31 Juergen Vigna <jug@sad.it>
525 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
527 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
529 * figinset.C: add using std:: directive for the C functions which
532 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
534 * insetfloat.C (Write): write out wide info
535 (Read): read the wide info
536 (Latex): use the wide info when creating latex.
538 * insettext.C: adjust
540 * insetgraphics.[Ch] (statusMessage): change to return string
544 * figinset.C (runqueue): add std::
547 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
549 * insetcite.C (Ascii): add std:: qualifier
551 2001-05-28 Juergen Vigna <jug@sad.it>
553 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
554 a endless-width inset (maxWidth < 0).
555 (Edit): change language only if not equal.
557 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
559 * insettext.C (draw): fixed draw/clear of InsetText-Frame
561 2001-05-16 Juergen Vigna <jug@sad.it>
563 * insettext.C (selectAll): added
564 (clearSelection): added
566 * insettabular.C (SetFont): now we may set a font on a whole selection!
567 (getSelection): added helper function.
569 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
571 * insetcite.C (Ascii): Add method.
573 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
576 * insetbib.C: fix path for OS/2 & Win32
578 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
580 * insetfoot.C (Latex): don't use % after footnote.
582 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
584 * insettext.C (Read): use clear
585 (SetParagraphData): use LyXParagraph copy constructor instead of clone
587 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
589 * insetfloatlist.h: add a bunch of std:: qualifiers.
591 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
593 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
594 FLOAT_LIST_CODE, renumber code list.
596 * insettoc.C (getScreenLabel): remove support for float lists
600 * insetfloatlist.[Ch]: new files
602 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
604 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
606 * insettabular.C (LocalDispatch):
607 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
610 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
612 * insettext.C: remvoe !NEW_INSETS cruft
614 * insettabular.C: remove !NEW_INSETS cruft
616 * insetcollapsable.h: remove !NEW_INSETS cruft
618 * insetbib.C: remove !NEW_INSETS cruft
620 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
622 * insettoc.C: hack to make listof algorithm work
624 2001-04-20 Juergen Vigna <jug@sad.it>
626 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
628 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
630 * insetquotes.C (Latex): improve the guard against
631 unwanted !` and ?` ligatures. This should really be done in
632 another place (to catch all this ligatures at low-level).
634 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
636 * insettext.C (init): remvoe leftovers from cursor_visible change
638 (LocalDispatch): dispatch LFUN_MESSAGE
640 * insettabular.C (InsetTabular): remove leftovers from
641 cursor_visible, and scoped_ptr changes
644 * insetcollapsable.C (draw): use c++ cast
646 * ExternalTemplate.h: inherit privaely from noncopyable
647 * insetcommand.h: ditto
648 * insetinclude.h: ditto
650 2001-04-16 Allan Rae <rae@lyx.org>
652 * insettoc.C (Ascii):
653 * insettext.C (draw):
654 * insettabular.C (setPos):
655 * insetminipage.C (Read):
656 * insetfloat.C (placement):
657 * insetcaption.C (Ascii, DocBook):
658 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
659 an unrecognised preprocessor directive. So ensure they're wrapped.
661 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
664 * insetexternal.C: set view on Clone. Add _ to private members.
666 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
668 * insettext.C (InsetText): fix new
669 (InsetText): reindent some, simplify deletion of par list
670 (clear): simplify deletion of par list, fix new
671 (SetParagraphData): simplify deletion of par list
673 * insettabular.[Ch] (getLabelList): implement new method
675 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
677 * lyxinset.h: do not include gettext.h...
685 * insetlatexaccent.C:
689 * inseturl.C: ... and do it here instead
691 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
693 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
695 * insettext.[Ch] (getLabelList): add std:: on vector<string>
697 * insetcollapsable.[Ch] (getLabelList): implement
699 * insettext.[Ch] (getLabelList): implement
701 * insettext.h: reindent
703 * insettabular.h: make tabular a scoped_ptr
705 * insettext.C (init): adjust for cursor_visible
706 (ToggleInsetCursor): constify asc and desc, font, adjust for
708 (ShowInsetCursor): constify asc and desc, font, adjust for
710 (HideInsetCursor): adjust for cursor_visible
712 * insettabular.C: reindent some
713 (InsetTabular): adjust for scoped_ptr and cursor_visible
714 (InsetTabular): ditto
715 (~InsetTabular): delete delete
716 (Clone): adjust for scoped_ptr
717 (Read): constify old_format, adjust for scoped_ptr, move init of
719 (draw): constify tx, localize loop vars.
720 some other localization of variables, remove double initilizatons.
722 * insetfoot.C: remove using std::ostream, add ostream where needed
724 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
726 * lyxinset.h: some reindentaion, use initializer list for
728 UpdatableInset: make cursor_visible a private var add
729 public isCursorVisible(), add protected toggleCursorVisible() and
730 proctected setCursorVisible(bool), make scroll call the Inset::scroll
732 * insettoc.C: remvoe using decl
733 (getScreenLabel): make cmdname donst
736 (Ascii): don't use endl
738 * insetfootlike.C: remove using decl at file scope and add std::
740 * insetmarginal.C: ditto
742 * insetfoot.C: some reformatting
744 * insetfloat.C (InsetButtonRelease): adjust the hit area
746 * insetert.C (SetFont): some reformatting
748 * insetcollapsable.C: some reformatting and constification
749 (Clone): comment out.
750 * insetcollapsable.h: some reformatting
751 (Clone): comment out.
756 2001-03-30 Juergen Vigna <jug@sad.it>
758 * insetcollapsable.h: changen *inset to be a InsetText inset.
760 * some files: changed to reflect the above change.
762 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
764 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
765 InsetExternal::Params.
766 Added operator==() and operator!=() for the Params struct.
768 2001-03-29 Juergen Vigna <jug@sad.it>
770 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
773 * insetminipage.C: removed widthp_ and all it's functions and changed
774 to use new %-lengths of LyXLength.
776 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
778 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
780 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
782 * insetgraphicsParams.C (operator!=): new function, needed by the
783 ControlGraphics class.
785 2001-03-28 Juergen Vigna <jug@sad.it>
787 * insettext.C (InsetButtonPress): only enter !inset if button == 2
788 (checkAndActivateInset): don't use the values returned from
789 call to bv->checkInsetHit.
791 * insetminipage.C (Clone): set special minipage values.
793 * insetcollapsable.C (draw): changed to draw the button in the
794 upper left corner outside the textinset.
795 (ascent): changed because of different drawing
799 (InsetButtonPress): ditto
800 (InsetButtonRelease): ditto
801 (InsetMotionNotify): ditto
803 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
805 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
809 2001-03-26 Juergen Vigna <jug@sad.it>
811 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
813 * insettext.C (ShowInsetDialog): implemented above function.
815 * insettabular.C (ShowInsetDialog): ditto
817 * insetminipage.C (ShowInsetDialog): ditto
819 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
821 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
822 InsetInclude::Params. Don't store a buffer * in Params. Store the
823 master file name instead.
825 2001-03-23 Juergen Vigna <jug@sad.it>
827 * insetcollapsable.C (InsetMotionNotify):
828 (InsetButtonRelease):
829 (InsetButtonPress): fixed y-offset (minipages).
831 * insettext.C (draw): force a FULL update if cleared == true.
833 * insetcollapsable.C (draw): Lars forgotten entry for changing this
834 routine to draw the minipages on its position-flag.
835 (InsetInInsetY): give back the right y position, because of minipage
838 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
841 * insetfloat.C (DocBook): docbook export code.
843 2001-03-22 Juergen Vigna <jug@sad.it>
845 * insetminipage.C (getMaxWidth): added function to set the drawing
847 (Read): should work now!
849 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
850 if we create a new inset.
852 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
854 * figinset.C (fl_set_preemptive_callback): moved definition outside
857 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
859 * insetminipage.C (Read): prepare for reading of minipage arguments.
861 2001-03-18 Baruch Even <baruch@lyx.org>
863 * insetgraphics.C: Minor cleanups of the comments and code.
865 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
867 * insetminipage.C (InsetMinipage): default to not collapsed
869 2001-03-16 Juergen Vigna <jug@sad.it>
871 * insetminipage.C (width): modified with to be a string
872 (widthp): added widthp (for % width) support functions.
873 (InsetButtonRelease): added to open the options dialog on button==3.
874 (~InsetMinipage): added to hide the dialog.
876 * insetminipage.h: added hideDialog signal
878 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
880 * insetminipage.h: change the order or Position to match
881 LyXParagraph::MINIPAGE_ALIGNMENT
883 * several files: remvoe CXX_WORKING_NAMESPACES
885 * ExternalTemplate.h: noncopyable is in namespace boost
886 * insetinclude.h: ditto
887 * insetcommand.h: ditto
889 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
891 * insettext.C (Edit): #else# -> #else.
892 * insettoc.C: added using directive.
894 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
896 * insetminipage.h: add pos, inner_pos, width and height. + getters
897 and setters for all of them.
899 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
901 * insetinclude.C (Latex): Do not exit when the textclass of the
902 included file differ from the textclass of the parent file.
904 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
906 * ExternalTemplate.C (read): the reading of external insets now checks
907 for \end_inset and removes it form the input stream.
909 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
911 * ExternalTemplate.h:
912 * ExternalTemplate.C:
914 * insetexternal.C: move form to GUII
916 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
919 * insetinclude.C: add InsetIncludeParams, use
920 composition rather than derivation of InsetCommand
922 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
924 * insettoc.C (Ascii): use the Buffer typedefs
926 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
928 * insettoc.C (Ascii): implement for dynamic number of lists
930 * insetcaption.[Ch]: update from new_insets branch
931 * insetfloat.[Ch]: ditto
933 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
936 * figinset.C: use new File Dialog
938 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
940 * insettext.C: changes becuase of ParagraphParameters.
942 2001-02-28 Baruch Even <baruch@ev-en.org>
944 * insetgraphics.C (updateInset): Changed due to the change in
947 2001-02-26 Juergen Vigna <jug@sad.it>
949 * insettext.C (SetFont): Set Undo only if we have selection (as it is
952 2001-02-23 Juergen Vigna <jug@sad.it>
954 * insettext.C (draw): some small repainting fixes.
955 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
957 * inset.C (LocalDispatch): changed action to be a kb_action (as it
958 should be) and not an int.
960 * insettabular.C (LocalDispatch): ditto
962 * insettext.C (LocalDispatch): ditto
964 * insetcollapsable.C (LocalDispatch): ditto
966 2001-02-22 Juergen Vigna <jug@sad.it>
968 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
969 DISPATCH it and we don't have a locking_inset.
971 2001-02-21 Baruch Even <baruch@ev-en.org>
973 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
974 instead of GraphicsCacheItem *.
976 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
978 * insetcollapsable.C (getLyXText): add const qualifier to second
981 2001-02-22 Juergen Vigna <jug@sad.it>
983 * insettext.C (getLyXText): honor the recursive parameter.
984 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
986 * inset.C (getLyXText): added bool recursive parameter.
988 * insettext.C (SetUpdateStatus): or the update codes.
989 (draw): check need_update with &.
990 (InsetButtonPress): set no_selection to not put a selection when
991 entering an inset and it is redraws in another spot.
993 * insettext.h: made need_update an int.
995 2001-02-20 Baruch Even <baruch@ev-en.org>
998 * insetgraphisc.C: Changed to use better semantics when loading images
999 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1001 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1005 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1006 consistent with InsetTabular.
1008 2001-02-19 Juergen Vigna <jug@sad.it>
1010 * insettabular.C (LocalDispatch): implement PAGE up/down.
1012 * insettext.C (draw): clear all of it on need_update==INIT too!
1014 * insettabular.C (InsetUnlock): always clear the selection.
1016 * inset.C (scroll): normally we only want to scroll the inset until
1017 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1019 2001-02-14 Juergen Vigna <jug@sad.it>
1021 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1022 (resetPos): fixed scroll behaviour.
1023 (LocalDispatch): do an update if moving cursor inside a table cell
1024 requests a scroll of the tabular.
1026 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1028 * insettext.C (textWidth): constify local var
1030 * insettabular.C: small cleanup.
1032 * insetfoot.C (Latex): constify local var
1034 * insetcollapsable.C: small cleanup.
1036 * figinset.C (runqueue): use compare instead of strcmp
1038 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1041 * insetinfo.C: remove cruft
1043 2001-02-14 Juergen Vigna <jug@sad.it>
1045 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1047 2001-02-13 Juergen Vigna <jug@sad.it>
1049 * insettext.C (InsertInset): don't move left (is this right?)
1051 * insettabular.C (LocalDispatch): use of the no_draw variable
1053 * insettabular.h: new no_draw variable to stop redraw
1055 * insettabular.C (TabularFeatures): fixed update for alignment change
1057 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1061 * insetbib.C: move dialogs to frontends/
1063 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1065 * insettext.C (LocalDispatch): Restore the language if the inset
1068 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1070 * insettext.C (moveRightIntern): Update the selection cursor.
1071 (moveLeftIntern): Ditto.
1073 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1075 * Makefile.am: remove BoundingBox.h
1077 * BoundingBox.h: removed
1079 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1081 * insettext.C (LocalDispatch): Update selection cursor when moving
1082 cursor to the right.
1083 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1084 (moveLeftIntern): Ditto.
1086 2001-02-05 Baruch Even <baruch.even@writeme.com>
1088 * insetgraphics.C: Updated automatic image conversion, it now goes into
1089 temporary directory instead of with the image itself.
1091 2001-01-21 Baruch Even <baruch@ev-en.org>
1093 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1094 to EPS or PNG when needed (support bitmap graphics).
1096 2000-11-02 Baruch Even <baruch@ev-en.org>
1099 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1100 and removal of commented out code.
1102 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1104 * insetbib.C (callback): Update citations if the key has changed.
1106 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1108 * insetbib.C (InsetBibKey): Better computation of default key.
1109 (getScreenLabel) Show both the key and the label.
1110 (getBibLabel): New method.
1111 (callback): Force a redraw if the inset have been changed.
1113 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1115 * insetref.C (getType, getName): Move methods from
1116 src/frontends/xforms/FormRef.C.
1118 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1120 * insettabular.C: Various improvements (use only one dummy position).
1122 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1124 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1125 par->bibkey->width. This fixes the crashes when running without
1126 gui or when having included documents.
1128 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1130 * insetcommand.C (getAsString, setFromString): Cleanup.
1132 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1134 * insetref.C: Add the array InsetRef::types that contains
1135 information about all supported reference types.
1137 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1139 * lyxinset.h: remove trailing comma in enum.
1141 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1143 * insettext.C: kill LyXBell.