1 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insetfloat.C: handliign of RMB on label added.
5 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7 * insetgraphicsParams.C: #include LOstream.h here.
9 * insetfoot.h: remove InsetFoot:: qualifier.
11 2001-07-30 Baruch Even <baruch@lyx.org>
13 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
14 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
16 HACKY! Will need to add an EPS detection routine like old InsetFig does!
18 2001-07-30 Baruch Even <baruch@lyx.org>
20 * insetgraphics.C: Added EPSI to be an alias of EPS.
22 2001-07-29 Baruch Even <baruch@lyx.org>
24 * insetgraphics.C: Change GRAPHICS to Graphics.
25 Changed image conversion rules (documented at the beginning of file).
27 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
29 * insetert.C (get_new_label): int -> Paragraph::size_type to get
32 * insetgraphics.C: added a using std::endl directive.
34 * insetcommand.h (getScreenLabel): removed pure virtual function,
35 as it duplicates that in InsetButton.
37 * insetbib.[Ch] (getScreenLabel):
38 * insetbutton.[Ch] (getScreenLabel):
39 * insetcite.[Ch] (getScreenLabel):
40 * insetert.[Ch] (getScreenLabel):
41 * insetexternal.[Ch] (getScreenLabel):
42 * insetfloatlist.[Ch] (getScreenLabel):
43 * insetinclude.[Ch] (getScreenLabel):
44 * insetindex.[Ch] (getScreenLabel):
45 * insetlabel.h (getScreenLabel):
46 * insetparent.[Ch] (getScreenLabel):
47 * insetref.[Ch] (getScreenLabel):
48 * insettoc.[Ch] (getScreenLabel):
49 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
51 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
53 (validate): remove check on "cite" when using natbib.
55 2001-07-26 Baruch Even <baruch@lyx.org>
57 * insetgraphics.C (draw): changed casting to be in one place rather than
58 all over the function.
61 * insetgraphics.C (read): Added compatibility reads of InsetFig.
63 * insetgraphicsParams.h:
64 * insetgraphicsParams.C:
65 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
67 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
69 * insetfoot.C (validate): Added method to ensure that the
70 right bit of LaTeX is emitted.
72 * insetfoot.h: Added validate method to set the correct
73 LaTeXFeatures bit for the special footnote code.
75 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
77 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
80 2001-07-27 Juergen Vigna <jug@sad.it>
82 * inset.h: remove not used font variable in parameter.
83 removed checkInsertChar in UpdatableInset as it was equal to
84 the one in Inset and so not needed.
86 * insetert.C (checkInsertChar): implementation of function
89 * inset.h: added new function checkInsertChar.
91 * various files: added c-tor and clone() function.
93 * insetcollapsable.h: removed clone function here as this should
94 be only realized in REAL insets and added it to all collapsable
95 insets! (with the copy-constructor).
97 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
99 * insetminipage.C (read): handle missing parameters more gracefully
101 * insetcollapsable.C (read): handel missing collapsed more gracefully
103 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * insetfloat.C (read): handle missing parameters.
107 * insettext.C (read): handle old latex end_inset
109 * insetert.C (setButtonLabel): new method
110 (init): use it, to set the dynamic label correctly
113 * Makefile.am (EXTRA_DIST): add files that is not part or the
116 * insetcollapsable.h: remove autocollapsable (no users), remove
117 draw_label, change_label_with_text and companion code. Remove args
119 * insetert.[Ch]: move here instead (only user)
121 * inset.h: rename private variable name to name_, make
122 selectNextWord return a const string. make getInsetName return a
123 string const &. Remove bool from open, add close.
125 * Makefile.am: don't compile insetlist, insetsection
128 2001-07-24 Juergen Vigna <jug@sad.it>
130 * insetert.C (InsetERT): put init after the paragraph initialization,
131 as otherwise we don't set the draw_label right.
133 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
134 insets with the mouse without having strange selections.
135 (edit): if the inset was collapsed and we open it here then put the
136 cursor always at the beginning of the inset.
137 (get_new_label): 15 instead of 10 max chars in the label.
139 * insetert.C (localDispatch): added and handle various stuff we
140 need to handle here (font setting on paragraph break, not permitted
141 layout setting, etc.).
143 * inset.h: added default copy-consturctor and implemented this in
144 various insets with the change to use this in the clone function!
146 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * insetminipage.C (InsetMinipage): set background color to red :)
150 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
153 draw frame mode is LOCKED.
155 * insetcollapsable.C (edit):
156 (insetButtonRelease): set update status to full when
159 * insettext.C (clearInset):
160 * insettabular.C (draw):
161 * insetlatexaccent.C (draw): honor background color.
163 * inset.h: new member background_color_, initialized to
166 * inset.C (backgroundColor): new method.
167 (setBackgroundColor): new method.
169 * insetert.C (init): new method, called by the ctors.
170 (InsetERT): when inserting contents, make sure the font is
173 * insetnote.C (InsetNote): when inserting content, remove trailing
175 (init): set background color to LColor::note
177 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
179 * insetcollapsable.C: adjust
181 * insetbutton.C: adjust
183 2001-07-23 Juergen Vigna <jug@sad.it>
185 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
186 parameter on the _collapsed function (was not needed) and call
187 always width_collapsed().
189 * insetert.C (InsetERT): use setLabel with "true" flag.
191 * insetcollapsable.C: modified various functions to set the draw_label
192 string right in any condition.
193 (setLabel): added a bool parameter to set change_label_with_text.
195 * insetcollapsable.h: added draw_label string which is set to the
196 actual drawn label-string, while label is the original static label
197 of this collapsable inset. Added bool change_label_with_text to set
198 if we want that the label changes to the start of the InsetText's
199 text when collabpsed. You can set this flag with the setLabel funciton.
200 Added bool inlined for inlined collapsable insets, but not handled
203 * insetcollapsable.C (get_new_label): added should get a new label
204 from the InsetText beginning (for now 10 chars).
206 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
208 * insetquotes.C (latex): fix the handling of french double quotes
209 when not using the french pachage.
211 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * insetcollapsable.h: make WidthCollapsed mutable.
215 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
216 InsetPrintIndex returns INDEX_PRINT_CODE.
218 * inset.h: add INDEX_PRINT_CODE
220 * insetcollapsable.C (draw): init widthCollapsed if necessary
223 * insetquotes.C (width): use the local language, not the document
226 (dispString): add additional spacing for all french languages,
228 (validate): make it work when there is no default language
230 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
232 * insetnote.C (init): new method, called by the constructors
233 (InsetNote): new constructor with contents passed as a string
235 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * insetfootlike.C (insetAllowed): disallow float in footlike.
239 * insetert.C (InsetERT): add collapsed argument to the constrctor
242 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
244 * insetindex.h: shut off warning
246 2001-07-20 Juergen Vigna <jug@sad.it>
248 * insetcollapsable.C (update): recoded hopefully works now!
250 2001-07-19 Juergen Vigna <jug@sad.it>
252 * most files: implemented the below new introduced function.
254 * inset.h: added new edit(BufferView *, bool front) method to be able
255 to enter an inset from the front/back without knowing x/y positions
256 and baselines inside the inset. So I just can tell the inset activate
257 me and set the cursor on the front/back of yourself.
259 2001-07-18 Juergen Vigna <jug@sad.it>
261 * insetcollapsable.C (edit): fixed hopefully the y parameter which
262 is givven to the InsetText.
263 (insetButtonPress): ditto
264 (insetButtonRelease): ditto
265 (insetMotionNotify): ditto
267 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
269 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
270 LIGATURE_BREAK, since the name is so stupid.
272 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
274 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
275 the default InsetCollapsable methods. I.e., it can insert anything.
276 (write) output the name of the inset, not some silly hack for
277 compatability with the old InsetInfo.
279 * insetinfo.[Ch]: removed.
280 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
281 now collapsable, but functionality is otherwise identical to InsetInfo.
283 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
285 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
287 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
290 * insetquotes.C: general cleanup
291 (dispString): add spaces inside french double quotes.
292 (latex): ditto. Moreover, treat first the case where the frenchb
293 or french options have been given.
295 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
297 * insetcite.[Ch] (latex, validate): new methods, required for natbib
300 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
302 * figinset.C (RegisterFigure): Print debug message only when
303 current_view is available.
305 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * many files: update to match the change below
309 * inset.h (insetAllowed): renamed from insertInsetAllowed;
310 implement the version which takes an inset here.
312 * insetcollapsable.[Ch]: implement open and isOpen
314 * inset.h: remove insertInsetAllowed from Inset
315 (open): new method, to open or close an inset
316 (isOpen): returns the status of an inset
317 (isCollapsable, colapse): removed
319 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
321 * insetquotes.C (dispString): display french guillemets when using
324 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
326 * insetcollapsable.h: remove bogus return statements
328 2001-07-18 Juergen Vigna <jug@sad.it>
330 * insettabular.C (selectNextWord): fixed spellchecking for the
331 first cell of a tabular (wasn't entered!)
332 (getLyXText): changed to enter automatically insettext and return
333 it's LyXText if we're locked.
335 2001-07-17 Juergen Vigna <jug@sad.it>
337 * various files: implemented the below functions.
339 * inset.h: added functions
340 - virtual string selectNextWord(BufferView *, float & value) const;
341 - virtual void selectSelectedWord(BufferView *) { return; }
342 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
343 needed for spellchecking correctly!
345 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
347 * insetert.C (latex): write out all paragraphs.
349 2001-07-17 Baruch Even <baruch@lyx.org>
351 * insetgraphics.C (draw): Removed unneeded casts.
353 2001-07-16 Juergen Vigna <jug@sad.it>
355 * insettext.C (update): fixed small oversight (reset lt to 0).
357 2001-07-14 Baruch Even <baruch@lyx.org>
360 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
362 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
364 Consistent use of Lsstream.h:
365 * figinset.C: removed using std::ostringstream directive.
367 * insetgraphics.C (createLatexOptions):
368 * insetinclude.C (unique_id):
369 std::ostringstream -> ostringstream.
370 * insettext.C (localDispatch): std::istringstream -> istringstream.
372 2001-07-13 Juergen Vigna <jug@sad.it>
374 * insetfloat.C (insertInsetAllowed): added missing const_cast.
376 * insetcollapsable.C (getLockingInset): ditto.
378 2001-07-12 Juergen Vigna <jug@sad.it>
380 * insetcollapsable.h: added implementation of new function for
383 * various files: added implementation of new insertInsetAllowed-func
384 and redone the function a bit more.
386 * inset.h: added isCollapsable(), bool collapsed(),
387 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
389 * insetfloat.C (insertInsetAllowed): make a bit more checks.
391 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
392 LyXText which is marked for removal while we're using it!
394 * insettext.h: added private LyXText * lt to use it to assure we are
395 not deleting our LyXText while we're using it!
397 2001-07-11 Juergen Vigna <jug@sad.it>
399 * insettext.C (insertInset): check if we are before the inset after
400 inserting it! This check IS needed. Remove the Undo-Call as it is
401 called in LyXText::insertInset!
403 * insettext.h: added struct InnerCache.
405 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
406 that we ONLY delete the LyXText in the getLyXText() routine. So we
407 are sure we don't delete LyXText while someone is working with it!
409 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
411 * insetexternal.C: (*it). -> it->
414 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
416 * insetcollapsable.C (edit): always open collapsed insets (even if
417 they are not autocollapsable)
419 * insetcommand.C (operator=): simplify.
421 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
423 * insetert.C (latex): handle META_NEWLINE
425 2001-07-09 Juergen Vigna <jug@sad.it>
427 * insetert.h: a normal InsetText can insert insets, but we won't.
429 * inset.h: return default "false" on insertInsetAllowed and implement
430 this function where a returnvalue != "false" is needed.
432 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
434 * insetert.C (InsetERT): new contructor
436 2001-07-06 Juergen Vigna <jug@sad.it>
438 * a lot of files: added implementation of the below new functions
439 and the change to clone(). Also the call of the new undo-functions
442 * inset.h: added an inset_id, added functions getParFromID,
443 getInsetFromID, firstParagraph, cursor and id functions, added
444 bool same_ids to clone function.
446 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
448 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
449 of BufferView * and shared_ptr<LyXText>
451 2001-07-05 Juergen Vigna <jug@sad.it>
453 * insettext.C (clear): deleted also the cache not only LyXText.
454 (setParagraphData): ditto.
456 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
458 * insetfloat.C (latex): let the specific placement take presedence
459 if set, otherwise choose document placement if set, otherwise just
460 use float default placement.
462 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
464 * insettext.C (localDispatch): call CutAndPaste::'s static method
467 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * insetbib.C: no meed to include forms.h here.
471 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
473 * insettext.C: added using std::make_pair directive.
475 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
477 * insettext.C (getLyXText): avoid multiple lookups, and simplify
479 (deleteLyXText): ditto
480 (resizeLyXText): ditto
482 2001-07-02 Juergen Vigna <jug@sad.it>
484 * insettext.C (getLyXText): introduce a cache in getLyXText so that
485 following calls are only returned the right pointer without the over
486 head to search in the map.
487 (various funcs): reset the cached_bview variable as this signs that
488 the cache is not valid anymore.
490 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
492 * insettabular.C (clone): do not copy the LyXTabular twice
494 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
496 * insettext.h (TEXT): delete method
498 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
500 * insetmarginal.C (latex):
501 * insetfoot.C (latex): fix spacing of notes in LaTeX
503 * insettext.C (localDispatch): use .c_str() on istringstream
504 constructor argument.
506 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
511 * inseturl.C: fix method names in these to begin
512 with small char too, so they inherit
514 2001-06-28 Juergen Vigna <jug@sad.it>
516 * insettext.C (setFont): fixed font settings using toggleFree()
517 instead of setFont().
519 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
521 * Change a lot of method names to begin with a small char.
522 Changes to a lot of files because of this.
524 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
526 * insetfloatlist.C (Write): std:: qualify ostream
529 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
533 * insetgraphics.C: send debug output to Debug::INFO instead of
536 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
539 * insettabular.C (getStatus): update to use func_status
541 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
543 * insetref.C (DocBook): added support for cross-references without
546 2001-06-26 The LyX Project <jug@sad.it>
551 * insetlabel.h: removed escape method and moved it to
554 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
556 * insettabular.C (getMaxWidth): do the speedup in a different way,
559 2001-06-24 The LyX Project <Asger>
561 * insettabular.C (getMaxWidth): We cache a mapping from
562 inset to cell in order to speed this method up.
564 2001-06-24 The LyX Project <Asger>
566 * insettext.C: Optimized InsetText::draw or something.
568 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
570 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
572 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
574 * inset.h: name change from lyxinset.h
576 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
578 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
580 2001-06-14 Juergen Vigna <jug@sad.it>
582 * insettext.C (draw): removed warnings.
584 2001-06-13 Juergen Vigna <jug@sad.it>
586 * insettabular.C (nodraw): only go down the tree if we don't have
587 that flag set otherwise it's obvious that we don't want to draw.
588 (LocalDispatch): do also an update if we have an undispached result.
590 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
593 * insetgraphicsParams.C:
594 * insettext.C: removed // -*- C++ -*- as first line.
596 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
598 * lyxinset.h (resizeLyXText): shut off warning about unused
601 2001-06-07 Juergen Vigna <jug@sad.it>
603 * insettext.C (resizeLyXText): honor the new force flag.
605 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
607 * insettabular.C (deleteLyXText): new function
609 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
617 * insetcollapsable.C:
618 * insetcaption.C: LColor tidy
620 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
622 * figinset.C: fix typo
624 2001-06-01 Juergen Vigna <jug@sad.it>
626 * insettabular.C (resetPos): small hack so that scroll is not set to
627 0 when we are in the last column of a tabular. This is a problem we
628 have because of constats 20 offset on both directions, so this can
629 cause on the limit an endless loop.
631 * insettext.C (SetFont): forgot that we can have locking insets ;)
633 2001-05-31 Juergen Vigna <jug@sad.it>
635 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
637 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
639 * figinset.C: add using std:: directive for the C functions which
642 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
644 * insetfloat.C (Write): write out wide info
645 (Read): read the wide info
646 (Latex): use the wide info when creating latex.
648 * insettext.C: adjust
650 * insetgraphics.[Ch] (statusMessage): change to return string
654 * figinset.C (runqueue): add std::
657 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
659 * insetcite.C (Ascii): add std:: qualifier
661 2001-05-28 Juergen Vigna <jug@sad.it>
663 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
664 a endless-width inset (maxWidth < 0).
665 (Edit): change language only if not equal.
667 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
669 * insettext.C (draw): fixed draw/clear of InsetText-Frame
671 2001-05-16 Juergen Vigna <jug@sad.it>
673 * insettext.C (selectAll): added
674 (clearSelection): added
676 * insettabular.C (SetFont): now we may set a font on a whole selection!
677 (getSelection): added helper function.
679 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
681 * insetcite.C (Ascii): Add method.
683 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
686 * insetbib.C: fix path for OS/2 & Win32
688 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
690 * insetfoot.C (Latex): don't use % after footnote.
692 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
694 * insettext.C (Read): use clear
695 (SetParagraphData): use LyXParagraph copy constructor instead of clone
697 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
699 * insetfloatlist.h: add a bunch of std:: qualifiers.
701 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
703 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
704 FLOAT_LIST_CODE, renumber code list.
706 * insettoc.C (getScreenLabel): remove support for float lists
710 * insetfloatlist.[Ch]: new files
712 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
714 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
716 * insettabular.C (LocalDispatch):
717 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
720 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
722 * insettext.C: remvoe !NEW_INSETS cruft
724 * insettabular.C: remove !NEW_INSETS cruft
726 * insetcollapsable.h: remove !NEW_INSETS cruft
728 * insetbib.C: remove !NEW_INSETS cruft
730 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
732 * insettoc.C: hack to make listof algorithm work
734 2001-04-20 Juergen Vigna <jug@sad.it>
736 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
738 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
740 * insetquotes.C (Latex): improve the guard against
741 unwanted !` and ?` ligatures. This should really be done in
742 another place (to catch all this ligatures at low-level).
744 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
746 * insettext.C (init): remvoe leftovers from cursor_visible change
748 (LocalDispatch): dispatch LFUN_MESSAGE
750 * insettabular.C (InsetTabular): remove leftovers from
751 cursor_visible, and scoped_ptr changes
754 * insetcollapsable.C (draw): use c++ cast
756 * ExternalTemplate.h: inherit privaely from noncopyable
757 * insetcommand.h: ditto
758 * insetinclude.h: ditto
760 2001-04-16 Allan Rae <rae@lyx.org>
762 * insettoc.C (Ascii):
763 * insettext.C (draw):
764 * insettabular.C (setPos):
765 * insetminipage.C (Read):
766 * insetfloat.C (placement):
767 * insetcaption.C (Ascii, DocBook):
768 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
769 an unrecognised preprocessor directive. So ensure they're wrapped.
771 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
774 * insetexternal.C: set view on Clone. Add _ to private members.
776 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
778 * insettext.C (InsetText): fix new
779 (InsetText): reindent some, simplify deletion of par list
780 (clear): simplify deletion of par list, fix new
781 (SetParagraphData): simplify deletion of par list
783 * insettabular.[Ch] (getLabelList): implement new method
785 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
787 * lyxinset.h: do not include gettext.h...
795 * insetlatexaccent.C:
799 * inseturl.C: ... and do it here instead
801 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
803 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
805 * insettext.[Ch] (getLabelList): add std:: on vector<string>
807 * insetcollapsable.[Ch] (getLabelList): implement
809 * insettext.[Ch] (getLabelList): implement
811 * insettext.h: reindent
813 * insettabular.h: make tabular a scoped_ptr
815 * insettext.C (init): adjust for cursor_visible
816 (ToggleInsetCursor): constify asc and desc, font, adjust for
818 (ShowInsetCursor): constify asc and desc, font, adjust for
820 (HideInsetCursor): adjust for cursor_visible
822 * insettabular.C: reindent some
823 (InsetTabular): adjust for scoped_ptr and cursor_visible
824 (InsetTabular): ditto
825 (~InsetTabular): delete delete
826 (Clone): adjust for scoped_ptr
827 (Read): constify old_format, adjust for scoped_ptr, move init of
829 (draw): constify tx, localize loop vars.
830 some other localization of variables, remove double initilizatons.
832 * insetfoot.C: remove using std::ostream, add ostream where needed
834 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
836 * lyxinset.h: some reindentaion, use initializer list for
838 UpdatableInset: make cursor_visible a private var add
839 public isCursorVisible(), add protected toggleCursorVisible() and
840 proctected setCursorVisible(bool), make scroll call the Inset::scroll
842 * insettoc.C: remvoe using decl
843 (getScreenLabel): make cmdname donst
846 (Ascii): don't use endl
848 * insetfootlike.C: remove using decl at file scope and add std::
850 * insetmarginal.C: ditto
852 * insetfoot.C: some reformatting
854 * insetfloat.C (InsetButtonRelease): adjust the hit area
856 * insetert.C (SetFont): some reformatting
858 * insetcollapsable.C: some reformatting and constification
859 (Clone): comment out.
860 * insetcollapsable.h: some reformatting
861 (Clone): comment out.
866 2001-03-30 Juergen Vigna <jug@sad.it>
868 * insetcollapsable.h: changen *inset to be a InsetText inset.
870 * some files: changed to reflect the above change.
872 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
874 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
875 InsetExternal::Params.
876 Added operator==() and operator!=() for the Params struct.
878 2001-03-29 Juergen Vigna <jug@sad.it>
880 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
883 * insetminipage.C: removed widthp_ and all it's functions and changed
884 to use new %-lengths of LyXLength.
886 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
888 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
890 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
892 * insetgraphicsParams.C (operator!=): new function, needed by the
893 ControlGraphics class.
895 2001-03-28 Juergen Vigna <jug@sad.it>
897 * insettext.C (InsetButtonPress): only enter !inset if button == 2
898 (checkAndActivateInset): don't use the values returned from
899 call to bv->checkInsetHit.
901 * insetminipage.C (Clone): set special minipage values.
903 * insetcollapsable.C (draw): changed to draw the button in the
904 upper left corner outside the textinset.
905 (ascent): changed because of different drawing
909 (InsetButtonPress): ditto
910 (InsetButtonRelease): ditto
911 (InsetMotionNotify): ditto
913 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
915 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
919 2001-03-26 Juergen Vigna <jug@sad.it>
921 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
923 * insettext.C (ShowInsetDialog): implemented above function.
925 * insettabular.C (ShowInsetDialog): ditto
927 * insetminipage.C (ShowInsetDialog): ditto
929 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
931 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
932 InsetInclude::Params. Don't store a buffer * in Params. Store the
933 master file name instead.
935 2001-03-23 Juergen Vigna <jug@sad.it>
937 * insetcollapsable.C (InsetMotionNotify):
938 (InsetButtonRelease):
939 (InsetButtonPress): fixed y-offset (minipages).
941 * insettext.C (draw): force a FULL update if cleared == true.
943 * insetcollapsable.C (draw): Lars forgotten entry for changing this
944 routine to draw the minipages on its position-flag.
945 (InsetInInsetY): give back the right y position, because of minipage
948 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
951 * insetfloat.C (DocBook): docbook export code.
953 2001-03-22 Juergen Vigna <jug@sad.it>
955 * insetminipage.C (getMaxWidth): added function to set the drawing
957 (Read): should work now!
959 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
960 if we create a new inset.
962 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
964 * figinset.C (fl_set_preemptive_callback): moved definition outside
967 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
969 * insetminipage.C (Read): prepare for reading of minipage arguments.
971 2001-03-18 Baruch Even <baruch@lyx.org>
973 * insetgraphics.C: Minor cleanups of the comments and code.
975 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
977 * insetminipage.C (InsetMinipage): default to not collapsed
979 2001-03-16 Juergen Vigna <jug@sad.it>
981 * insetminipage.C (width): modified with to be a string
982 (widthp): added widthp (for % width) support functions.
983 (InsetButtonRelease): added to open the options dialog on button==3.
984 (~InsetMinipage): added to hide the dialog.
986 * insetminipage.h: added hideDialog signal
988 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
990 * insetminipage.h: change the order or Position to match
991 LyXParagraph::MINIPAGE_ALIGNMENT
993 * several files: remvoe CXX_WORKING_NAMESPACES
995 * ExternalTemplate.h: noncopyable is in namespace boost
996 * insetinclude.h: ditto
997 * insetcommand.h: ditto
999 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1001 * insettext.C (Edit): #else# -> #else.
1002 * insettoc.C: added using directive.
1004 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1006 * insetminipage.h: add pos, inner_pos, width and height. + getters
1007 and setters for all of them.
1009 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1011 * insetinclude.C (Latex): Do not exit when the textclass of the
1012 included file differ from the textclass of the parent file.
1014 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1016 * ExternalTemplate.C (read): the reading of external insets now checks
1017 for \end_inset and removes it form the input stream.
1019 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1021 * ExternalTemplate.h:
1022 * ExternalTemplate.C:
1024 * insetexternal.C: move form to GUII
1026 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1029 * insetinclude.C: add InsetIncludeParams, use
1030 composition rather than derivation of InsetCommand
1032 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1034 * insettoc.C (Ascii): use the Buffer typedefs
1036 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1038 * insettoc.C (Ascii): implement for dynamic number of lists
1040 * insetcaption.[Ch]: update from new_insets branch
1041 * insetfloat.[Ch]: ditto
1043 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1046 * figinset.C: use new File Dialog
1048 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1050 * insettext.C: changes becuase of ParagraphParameters.
1052 2001-02-28 Baruch Even <baruch@ev-en.org>
1054 * insetgraphics.C (updateInset): Changed due to the change in
1057 2001-02-26 Juergen Vigna <jug@sad.it>
1059 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1060 handled in LyXText).
1062 2001-02-23 Juergen Vigna <jug@sad.it>
1064 * insettext.C (draw): some small repainting fixes.
1065 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1067 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1068 should be) and not an int.
1070 * insettabular.C (LocalDispatch): ditto
1072 * insettext.C (LocalDispatch): ditto
1074 * insetcollapsable.C (LocalDispatch): ditto
1076 2001-02-22 Juergen Vigna <jug@sad.it>
1078 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1079 DISPATCH it and we don't have a locking_inset.
1081 2001-02-21 Baruch Even <baruch@ev-en.org>
1083 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1084 instead of GraphicsCacheItem *.
1086 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1088 * insetcollapsable.C (getLyXText): add const qualifier to second
1091 2001-02-22 Juergen Vigna <jug@sad.it>
1093 * insettext.C (getLyXText): honor the recursive parameter.
1094 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1096 * inset.C (getLyXText): added bool recursive parameter.
1098 * insettext.C (SetUpdateStatus): or the update codes.
1099 (draw): check need_update with &.
1100 (InsetButtonPress): set no_selection to not put a selection when
1101 entering an inset and it is redraws in another spot.
1103 * insettext.h: made need_update an int.
1105 2001-02-20 Baruch Even <baruch@ev-en.org>
1108 * insetgraphisc.C: Changed to use better semantics when loading images
1109 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1111 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1115 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1116 consistent with InsetTabular.
1118 2001-02-19 Juergen Vigna <jug@sad.it>
1120 * insettabular.C (LocalDispatch): implement PAGE up/down.
1122 * insettext.C (draw): clear all of it on need_update==INIT too!
1124 * insettabular.C (InsetUnlock): always clear the selection.
1126 * inset.C (scroll): normally we only want to scroll the inset until
1127 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1129 2001-02-14 Juergen Vigna <jug@sad.it>
1131 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1132 (resetPos): fixed scroll behaviour.
1133 (LocalDispatch): do an update if moving cursor inside a table cell
1134 requests a scroll of the tabular.
1136 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1138 * insettext.C (textWidth): constify local var
1140 * insettabular.C: small cleanup.
1142 * insetfoot.C (Latex): constify local var
1144 * insetcollapsable.C: small cleanup.
1146 * figinset.C (runqueue): use compare instead of strcmp
1148 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1151 * insetinfo.C: remove cruft
1153 2001-02-14 Juergen Vigna <jug@sad.it>
1155 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1157 2001-02-13 Juergen Vigna <jug@sad.it>
1159 * insettext.C (InsertInset): don't move left (is this right?)
1161 * insettabular.C (LocalDispatch): use of the no_draw variable
1163 * insettabular.h: new no_draw variable to stop redraw
1165 * insettabular.C (TabularFeatures): fixed update for alignment change
1167 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1171 * insetbib.C: move dialogs to frontends/
1173 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1175 * insettext.C (LocalDispatch): Restore the language if the inset
1178 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1180 * insettext.C (moveRightIntern): Update the selection cursor.
1181 (moveLeftIntern): Ditto.
1183 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1185 * Makefile.am: remove BoundingBox.h
1187 * BoundingBox.h: removed
1189 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1191 * insettext.C (LocalDispatch): Update selection cursor when moving
1192 cursor to the right.
1193 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1194 (moveLeftIntern): Ditto.
1196 2001-02-05 Baruch Even <baruch.even@writeme.com>
1198 * insetgraphics.C: Updated automatic image conversion, it now goes into
1199 temporary directory instead of with the image itself.
1201 2001-01-21 Baruch Even <baruch@ev-en.org>
1203 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1204 to EPS or PNG when needed (support bitmap graphics).
1206 2000-11-02 Baruch Even <baruch@ev-en.org>
1209 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1210 and removal of commented out code.
1212 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1214 * insetbib.C (callback): Update citations if the key has changed.
1216 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1218 * insetbib.C (InsetBibKey): Better computation of default key.
1219 (getScreenLabel) Show both the key and the label.
1220 (getBibLabel): New method.
1221 (callback): Force a redraw if the inset have been changed.
1223 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1225 * insetref.C (getType, getName): Move methods from
1226 src/frontends/xforms/FormRef.C.
1228 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1230 * insettabular.C: Various improvements (use only one dummy position).
1232 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1234 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1235 par->bibkey->width. This fixes the crashes when running without
1236 gui or when having included documents.
1238 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1240 * insetcommand.C (getAsString, setFromString): Cleanup.
1242 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1244 * insetref.C: Add the array InsetRef::types that contains
1245 information about all supported reference types.
1247 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1249 * lyxinset.h: remove trailing comma in enum.
1251 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1253 * insettext.C: kill LyXBell.