1 2001-08-02 Juergen Vigna <jug@sad.it>
3 * insettext.C (draw): clear the background with the right color if
4 needed. Update myself if x&max-width changed and return without doing
5 anything. Let the update code handle the right stuff.
7 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
10 2001-08-01 Juergen Vigna <jug@sad.it>
12 * insetcollapsable.C (update): added an in_update bool so we avoid
15 * insettabular.C (update): added an in_update bool so we avoid
18 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
20 (update): added an in_update bool so we avoid reentering.
22 * insettabular.C (localDispatch): clear col/row selection when doing
23 something else inside an inset.
25 * insettext.C (getLyXText): fixed bug when requesting a recursive
28 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
30 * insetcite.C (latex): Paranoia check. Make sure that there is no
31 whitespace between the citation keys.
33 2001-07-31 Juergen Vigna <jug@sad.it>
35 * inset.h (nodraw): make the set function also const so that this
36 can be called from inside other const functions.
38 * insetcollapsable.h: removed inline variable and moved it over
39 to the only user InsetERT.
41 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
42 inset opening immediately therein lying insets dialogs!
44 * insetert.C (localDispatch): set the font also if we don't have any
45 chars in this paragraph, otherwise if we delete all of em and start
46 writing we have the wrong font.
48 (draw): implemented for inline support
49 (insetButtonRelease): ditto.
51 2001-07-30 Juergen Vigna <jug@sad.it>
53 * insettext.C (reinitLyXText): new function to reinit the insets
54 text after lot's of paragraph changes. Use this instead of the
55 cache.clear() which is VERY dangerous.
57 * insetfloat.C (insetButtonRelease): we should only show the dialog
58 if we press on the label otherwise we have problems to open mouse
59 button 3 dialogs inside this float (f.ex. of a tabular!)
61 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
63 * insetert.C: change back to "ERT"
65 * insetfloat.C: handliign of RMB on label added.
67 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
69 * insetgraphicsParams.C: #include LOstream.h here.
71 * insetfoot.h: remove InsetFoot:: qualifier.
73 2001-07-29 Baruch Even <baruch@lyx.org>
75 * ChangeLog: Hiding time travel evidence.
77 * insetgraphicsParams.h:
78 * insetgraphicsParams.C:
79 * insetgraphics.C: Added horizontal scale option, it actually scales both
80 directions since it keeps image proportions.
82 * insetgraphics.C: Fixed EPS detection to be non-hacky.
84 2001-07-29 Baruch Even <baruch@lyx.org>
86 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
87 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
89 HACKY! Will need to add an EPS detection routine like old InsetFig does!
91 2001-07-29 Baruch Even <baruch@lyx.org>
93 * insetgraphics.C: Added EPSI to be an alias of EPS.
95 2001-07-29 Baruch Even <baruch@lyx.org>
97 * insetgraphics.C: Change GRAPHICS to Graphics.
98 Changed image conversion rules (documented at the beginning of file).
100 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
102 * insetert.C (get_new_label): int -> Paragraph::size_type to get
105 * insetgraphics.C: added a using std::endl directive.
107 * insetcommand.h (getScreenLabel): removed pure virtual function,
108 as it duplicates that in InsetButton.
110 * insetbib.[Ch] (getScreenLabel):
111 * insetbutton.[Ch] (getScreenLabel):
112 * insetcite.[Ch] (getScreenLabel):
113 * insetert.[Ch] (getScreenLabel):
114 * insetexternal.[Ch] (getScreenLabel):
115 * insetfloatlist.[Ch] (getScreenLabel):
116 * insetinclude.[Ch] (getScreenLabel):
117 * insetindex.[Ch] (getScreenLabel):
118 * insetlabel.h (getScreenLabel):
119 * insetparent.[Ch] (getScreenLabel):
120 * insetref.[Ch] (getScreenLabel):
121 * insettoc.[Ch] (getScreenLabel):
122 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
124 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
126 (validate): remove check on "cite" when using natbib.
128 2001-07-26 Baruch Even <baruch@lyx.org>
130 * insetgraphics.C (draw): changed casting to be in one place rather than
131 all over the function.
134 * insetgraphics.C (read): Added compatibility reads of InsetFig.
136 * insetgraphicsParams.h:
137 * insetgraphicsParams.C:
138 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
140 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
142 * insetfoot.C (validate): Added method to ensure that the
143 right bit of LaTeX is emitted.
145 * insetfoot.h: Added validate method to set the correct
146 LaTeXFeatures bit for the special footnote code.
148 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
150 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
153 2001-07-27 Juergen Vigna <jug@sad.it>
155 * inset.h: remove not used font variable in parameter.
156 removed checkInsertChar in UpdatableInset as it was equal to
157 the one in Inset and so not needed.
159 * insetert.C (checkInsertChar): implementation of function
162 * inset.h: added new function checkInsertChar.
164 * various files: added c-tor and clone() function.
166 * insetcollapsable.h: removed clone function here as this should
167 be only realized in REAL insets and added it to all collapsable
168 insets! (with the copy-constructor).
170 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
172 * insetminipage.C (read): handle missing parameters more gracefully
174 * insetcollapsable.C (read): handel missing collapsed more gracefully
176 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * insetfloat.C (read): handle missing parameters.
180 * insettext.C (read): handle old latex end_inset
182 * insetert.C (setButtonLabel): new method
183 (init): use it, to set the dynamic label correctly
186 * Makefile.am (EXTRA_DIST): add files that is not part or the
189 * insetcollapsable.h: remove autocollapsable (no users), remove
190 draw_label, change_label_with_text and companion code. Remove args
192 * insetert.[Ch]: move here instead (only user)
194 * inset.h: rename private variable name to name_, make
195 selectNextWord return a const string. make getInsetName return a
196 string const &. Remove bool from open, add close.
198 * Makefile.am: don't compile insetlist, insetsection
201 2001-07-24 Juergen Vigna <jug@sad.it>
203 * insetert.C (InsetERT): put init after the paragraph initialization,
204 as otherwise we don't set the draw_label right.
206 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
207 insets with the mouse without having strange selections.
208 (edit): if the inset was collapsed and we open it here then put the
209 cursor always at the beginning of the inset.
210 (get_new_label): 15 instead of 10 max chars in the label.
212 * insetert.C (localDispatch): added and handle various stuff we
213 need to handle here (font setting on paragraph break, not permitted
214 layout setting, etc.).
216 * inset.h: added default copy-consturctor and implemented this in
217 various insets with the change to use this in the clone function!
219 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * insetminipage.C (InsetMinipage): set background color to red :)
223 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
226 draw frame mode is LOCKED.
228 * insetcollapsable.C (edit):
229 (insetButtonRelease): set update status to full when
232 * insettext.C (clearInset):
233 * insettabular.C (draw):
234 * insetlatexaccent.C (draw): honor background color.
236 * inset.h: new member background_color_, initialized to
239 * inset.C (backgroundColor): new method.
240 (setBackgroundColor): new method.
242 * insetert.C (init): new method, called by the ctors.
243 (InsetERT): when inserting contents, make sure the font is
246 * insetnote.C (InsetNote): when inserting content, remove trailing
248 (init): set background color to LColor::note
250 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
252 * insetcollapsable.C: adjust
254 * insetbutton.C: adjust
256 2001-07-23 Juergen Vigna <jug@sad.it>
258 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
259 parameter on the _collapsed function (was not needed) and call
260 always width_collapsed().
262 * insetert.C (InsetERT): use setLabel with "true" flag.
264 * insetcollapsable.C: modified various functions to set the draw_label
265 string right in any condition.
266 (setLabel): added a bool parameter to set change_label_with_text.
268 * insetcollapsable.h: added draw_label string which is set to the
269 actual drawn label-string, while label is the original static label
270 of this collapsable inset. Added bool change_label_with_text to set
271 if we want that the label changes to the start of the InsetText's
272 text when collabpsed. You can set this flag with the setLabel funciton.
273 Added bool inlined for inlined collapsable insets, but not handled
276 * insetcollapsable.C (get_new_label): added should get a new label
277 from the InsetText beginning (for now 10 chars).
279 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
281 * insetquotes.C (latex): fix the handling of french double quotes
282 when not using the french pachage.
284 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * insetcollapsable.h: make WidthCollapsed mutable.
288 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
289 InsetPrintIndex returns INDEX_PRINT_CODE.
291 * inset.h: add INDEX_PRINT_CODE
293 * insetcollapsable.C (draw): init widthCollapsed if necessary
296 * insetquotes.C (width): use the local language, not the document
299 (dispString): add additional spacing for all french languages,
301 (validate): make it work when there is no default language
303 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
305 * insetnote.C (init): new method, called by the constructors
306 (InsetNote): new constructor with contents passed as a string
308 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * insetfootlike.C (insetAllowed): disallow float in footlike.
312 * insetert.C (InsetERT): add collapsed argument to the constrctor
315 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
317 * insetindex.h: shut off warning
319 2001-07-20 Juergen Vigna <jug@sad.it>
321 * insetcollapsable.C (update): recoded hopefully works now!
323 2001-07-19 Juergen Vigna <jug@sad.it>
325 * most files: implemented the below new introduced function.
327 * inset.h: added new edit(BufferView *, bool front) method to be able
328 to enter an inset from the front/back without knowing x/y positions
329 and baselines inside the inset. So I just can tell the inset activate
330 me and set the cursor on the front/back of yourself.
332 2001-07-18 Juergen Vigna <jug@sad.it>
334 * insetcollapsable.C (edit): fixed hopefully the y parameter which
335 is givven to the InsetText.
336 (insetButtonPress): ditto
337 (insetButtonRelease): ditto
338 (insetMotionNotify): ditto
340 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
342 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
343 LIGATURE_BREAK, since the name is so stupid.
345 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
347 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
348 the default InsetCollapsable methods. I.e., it can insert anything.
349 (write) output the name of the inset, not some silly hack for
350 compatability with the old InsetInfo.
352 * insetinfo.[Ch]: removed.
353 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
354 now collapsable, but functionality is otherwise identical to InsetInfo.
356 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
358 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
363 * insetquotes.C: general cleanup
364 (dispString): add spaces inside french double quotes.
365 (latex): ditto. Moreover, treat first the case where the frenchb
366 or french options have been given.
368 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
370 * insetcite.[Ch] (latex, validate): new methods, required for natbib
373 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
375 * figinset.C (RegisterFigure): Print debug message only when
376 current_view is available.
378 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
380 * many files: update to match the change below
382 * inset.h (insetAllowed): renamed from insertInsetAllowed;
383 implement the version which takes an inset here.
385 * insetcollapsable.[Ch]: implement open and isOpen
387 * inset.h: remove insertInsetAllowed from Inset
388 (open): new method, to open or close an inset
389 (isOpen): returns the status of an inset
390 (isCollapsable, colapse): removed
392 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
394 * insetquotes.C (dispString): display french guillemets when using
397 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
399 * insetcollapsable.h: remove bogus return statements
401 2001-07-18 Juergen Vigna <jug@sad.it>
403 * insettabular.C (selectNextWord): fixed spellchecking for the
404 first cell of a tabular (wasn't entered!)
405 (getLyXText): changed to enter automatically insettext and return
406 it's LyXText if we're locked.
408 2001-07-17 Juergen Vigna <jug@sad.it>
410 * various files: implemented the below functions.
412 * inset.h: added functions
413 - virtual string selectNextWord(BufferView *, float & value) const;
414 - virtual void selectSelectedWord(BufferView *) { return; }
415 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
416 needed for spellchecking correctly!
418 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
420 * insetert.C (latex): write out all paragraphs.
422 2001-07-17 Baruch Even <baruch@lyx.org>
424 * insetgraphics.C (draw): Removed unneeded casts.
426 2001-07-16 Juergen Vigna <jug@sad.it>
428 * insettext.C (update): fixed small oversight (reset lt to 0).
430 2001-07-14 Baruch Even <baruch@lyx.org>
433 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
435 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
437 Consistent use of Lsstream.h:
438 * figinset.C: removed using std::ostringstream directive.
440 * insetgraphics.C (createLatexOptions):
441 * insetinclude.C (unique_id):
442 std::ostringstream -> ostringstream.
443 * insettext.C (localDispatch): std::istringstream -> istringstream.
445 2001-07-13 Juergen Vigna <jug@sad.it>
447 * insetfloat.C (insertInsetAllowed): added missing const_cast.
449 * insetcollapsable.C (getLockingInset): ditto.
451 2001-07-12 Juergen Vigna <jug@sad.it>
453 * insetcollapsable.h: added implementation of new function for
456 * various files: added implementation of new insertInsetAllowed-func
457 and redone the function a bit more.
459 * inset.h: added isCollapsable(), bool collapsed(),
460 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
462 * insetfloat.C (insertInsetAllowed): make a bit more checks.
464 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
465 LyXText which is marked for removal while we're using it!
467 * insettext.h: added private LyXText * lt to use it to assure we are
468 not deleting our LyXText while we're using it!
470 2001-07-11 Juergen Vigna <jug@sad.it>
472 * insettext.C (insertInset): check if we are before the inset after
473 inserting it! This check IS needed. Remove the Undo-Call as it is
474 called in LyXText::insertInset!
476 * insettext.h: added struct InnerCache.
478 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
479 that we ONLY delete the LyXText in the getLyXText() routine. So we
480 are sure we don't delete LyXText while someone is working with it!
482 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * insetexternal.C: (*it). -> it->
487 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
489 * insetcollapsable.C (edit): always open collapsed insets (even if
490 they are not autocollapsable)
492 * insetcommand.C (operator=): simplify.
494 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
496 * insetert.C (latex): handle META_NEWLINE
498 2001-07-09 Juergen Vigna <jug@sad.it>
500 * insetert.h: a normal InsetText can insert insets, but we won't.
502 * inset.h: return default "false" on insertInsetAllowed and implement
503 this function where a returnvalue != "false" is needed.
505 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
507 * insetert.C (InsetERT): new contructor
509 2001-07-06 Juergen Vigna <jug@sad.it>
511 * a lot of files: added implementation of the below new functions
512 and the change to clone(). Also the call of the new undo-functions
515 * inset.h: added an inset_id, added functions getParFromID,
516 getInsetFromID, firstParagraph, cursor and id functions, added
517 bool same_ids to clone function.
519 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
521 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
522 of BufferView * and shared_ptr<LyXText>
524 2001-07-05 Juergen Vigna <jug@sad.it>
526 * insettext.C (clear): deleted also the cache not only LyXText.
527 (setParagraphData): ditto.
529 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
531 * insetfloat.C (latex): let the specific placement take presedence
532 if set, otherwise choose document placement if set, otherwise just
533 use float default placement.
535 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
537 * insettext.C (localDispatch): call CutAndPaste::'s static method
540 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
542 * insetbib.C: no meed to include forms.h here.
544 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
546 * insettext.C: added using std::make_pair directive.
548 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
550 * insettext.C (getLyXText): avoid multiple lookups, and simplify
552 (deleteLyXText): ditto
553 (resizeLyXText): ditto
555 2001-07-02 Juergen Vigna <jug@sad.it>
557 * insettext.C (getLyXText): introduce a cache in getLyXText so that
558 following calls are only returned the right pointer without the over
559 head to search in the map.
560 (various funcs): reset the cached_bview variable as this signs that
561 the cache is not valid anymore.
563 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
565 * insettabular.C (clone): do not copy the LyXTabular twice
567 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
569 * insettext.h (TEXT): delete method
571 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
573 * insetmarginal.C (latex):
574 * insetfoot.C (latex): fix spacing of notes in LaTeX
576 * insettext.C (localDispatch): use .c_str() on istringstream
577 constructor argument.
579 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
584 * inseturl.C: fix method names in these to begin
585 with small char too, so they inherit
587 2001-06-28 Juergen Vigna <jug@sad.it>
589 * insettext.C (setFont): fixed font settings using toggleFree()
590 instead of setFont().
592 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * Change a lot of method names to begin with a small char.
595 Changes to a lot of files because of this.
597 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
599 * insetfloatlist.C (Write): std:: qualify ostream
602 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
606 * insetgraphics.C: send debug output to Debug::INFO instead of
609 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
612 * insettabular.C (getStatus): update to use func_status
614 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
616 * insetref.C (DocBook): added support for cross-references without
619 2001-06-26 The LyX Project <jug@sad.it>
624 * insetlabel.h: removed escape method and moved it to
627 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * insettabular.C (getMaxWidth): do the speedup in a different way,
632 2001-06-24 The LyX Project <Asger>
634 * insettabular.C (getMaxWidth): We cache a mapping from
635 inset to cell in order to speed this method up.
637 2001-06-24 The LyX Project <Asger>
639 * insettext.C: Optimized InsetText::draw or something.
641 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
643 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
645 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
647 * inset.h: name change from lyxinset.h
649 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
651 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
653 2001-06-14 Juergen Vigna <jug@sad.it>
655 * insettext.C (draw): removed warnings.
657 2001-06-13 Juergen Vigna <jug@sad.it>
659 * insettabular.C (nodraw): only go down the tree if we don't have
660 that flag set otherwise it's obvious that we don't want to draw.
661 (LocalDispatch): do also an update if we have an undispached result.
663 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
666 * insetgraphicsParams.C:
667 * insettext.C: removed // -*- C++ -*- as first line.
669 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
671 * lyxinset.h (resizeLyXText): shut off warning about unused
674 2001-06-07 Juergen Vigna <jug@sad.it>
676 * insettext.C (resizeLyXText): honor the new force flag.
678 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
680 * insettabular.C (deleteLyXText): new function
682 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
690 * insetcollapsable.C:
691 * insetcaption.C: LColor tidy
693 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
695 * figinset.C: fix typo
697 2001-06-01 Juergen Vigna <jug@sad.it>
699 * insettabular.C (resetPos): small hack so that scroll is not set to
700 0 when we are in the last column of a tabular. This is a problem we
701 have because of constats 20 offset on both directions, so this can
702 cause on the limit an endless loop.
704 * insettext.C (SetFont): forgot that we can have locking insets ;)
706 2001-05-31 Juergen Vigna <jug@sad.it>
708 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
710 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
712 * figinset.C: add using std:: directive for the C functions which
715 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
717 * insetfloat.C (Write): write out wide info
718 (Read): read the wide info
719 (Latex): use the wide info when creating latex.
721 * insettext.C: adjust
723 * insetgraphics.[Ch] (statusMessage): change to return string
727 * figinset.C (runqueue): add std::
730 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
732 * insetcite.C (Ascii): add std:: qualifier
734 2001-05-28 Juergen Vigna <jug@sad.it>
736 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
737 a endless-width inset (maxWidth < 0).
738 (Edit): change language only if not equal.
740 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
742 * insettext.C (draw): fixed draw/clear of InsetText-Frame
744 2001-05-16 Juergen Vigna <jug@sad.it>
746 * insettext.C (selectAll): added
747 (clearSelection): added
749 * insettabular.C (SetFont): now we may set a font on a whole selection!
750 (getSelection): added helper function.
752 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
754 * insetcite.C (Ascii): Add method.
756 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
759 * insetbib.C: fix path for OS/2 & Win32
761 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
763 * insetfoot.C (Latex): don't use % after footnote.
765 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
767 * insettext.C (Read): use clear
768 (SetParagraphData): use LyXParagraph copy constructor instead of clone
770 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
772 * insetfloatlist.h: add a bunch of std:: qualifiers.
774 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
776 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
777 FLOAT_LIST_CODE, renumber code list.
779 * insettoc.C (getScreenLabel): remove support for float lists
783 * insetfloatlist.[Ch]: new files
785 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
787 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
789 * insettabular.C (LocalDispatch):
790 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
793 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
795 * insettext.C: remvoe !NEW_INSETS cruft
797 * insettabular.C: remove !NEW_INSETS cruft
799 * insetcollapsable.h: remove !NEW_INSETS cruft
801 * insetbib.C: remove !NEW_INSETS cruft
803 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
805 * insettoc.C: hack to make listof algorithm work
807 2001-04-20 Juergen Vigna <jug@sad.it>
809 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
811 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
813 * insetquotes.C (Latex): improve the guard against
814 unwanted !` and ?` ligatures. This should really be done in
815 another place (to catch all this ligatures at low-level).
817 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
819 * insettext.C (init): remvoe leftovers from cursor_visible change
821 (LocalDispatch): dispatch LFUN_MESSAGE
823 * insettabular.C (InsetTabular): remove leftovers from
824 cursor_visible, and scoped_ptr changes
827 * insetcollapsable.C (draw): use c++ cast
829 * ExternalTemplate.h: inherit privaely from noncopyable
830 * insetcommand.h: ditto
831 * insetinclude.h: ditto
833 2001-04-16 Allan Rae <rae@lyx.org>
835 * insettoc.C (Ascii):
836 * insettext.C (draw):
837 * insettabular.C (setPos):
838 * insetminipage.C (Read):
839 * insetfloat.C (placement):
840 * insetcaption.C (Ascii, DocBook):
841 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
842 an unrecognised preprocessor directive. So ensure they're wrapped.
844 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
847 * insetexternal.C: set view on Clone. Add _ to private members.
849 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
851 * insettext.C (InsetText): fix new
852 (InsetText): reindent some, simplify deletion of par list
853 (clear): simplify deletion of par list, fix new
854 (SetParagraphData): simplify deletion of par list
856 * insettabular.[Ch] (getLabelList): implement new method
858 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
860 * lyxinset.h: do not include gettext.h...
868 * insetlatexaccent.C:
872 * inseturl.C: ... and do it here instead
874 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
876 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
878 * insettext.[Ch] (getLabelList): add std:: on vector<string>
880 * insetcollapsable.[Ch] (getLabelList): implement
882 * insettext.[Ch] (getLabelList): implement
884 * insettext.h: reindent
886 * insettabular.h: make tabular a scoped_ptr
888 * insettext.C (init): adjust for cursor_visible
889 (ToggleInsetCursor): constify asc and desc, font, adjust for
891 (ShowInsetCursor): constify asc and desc, font, adjust for
893 (HideInsetCursor): adjust for cursor_visible
895 * insettabular.C: reindent some
896 (InsetTabular): adjust for scoped_ptr and cursor_visible
897 (InsetTabular): ditto
898 (~InsetTabular): delete delete
899 (Clone): adjust for scoped_ptr
900 (Read): constify old_format, adjust for scoped_ptr, move init of
902 (draw): constify tx, localize loop vars.
903 some other localization of variables, remove double initilizatons.
905 * insetfoot.C: remove using std::ostream, add ostream where needed
907 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
909 * lyxinset.h: some reindentaion, use initializer list for
911 UpdatableInset: make cursor_visible a private var add
912 public isCursorVisible(), add protected toggleCursorVisible() and
913 proctected setCursorVisible(bool), make scroll call the Inset::scroll
915 * insettoc.C: remvoe using decl
916 (getScreenLabel): make cmdname donst
919 (Ascii): don't use endl
921 * insetfootlike.C: remove using decl at file scope and add std::
923 * insetmarginal.C: ditto
925 * insetfoot.C: some reformatting
927 * insetfloat.C (InsetButtonRelease): adjust the hit area
929 * insetert.C (SetFont): some reformatting
931 * insetcollapsable.C: some reformatting and constification
932 (Clone): comment out.
933 * insetcollapsable.h: some reformatting
934 (Clone): comment out.
939 2001-03-30 Juergen Vigna <jug@sad.it>
941 * insetcollapsable.h: changen *inset to be a InsetText inset.
943 * some files: changed to reflect the above change.
945 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
947 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
948 InsetExternal::Params.
949 Added operator==() and operator!=() for the Params struct.
951 2001-03-29 Juergen Vigna <jug@sad.it>
953 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
956 * insetminipage.C: removed widthp_ and all it's functions and changed
957 to use new %-lengths of LyXLength.
959 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
961 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
963 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
965 * insetgraphicsParams.C (operator!=): new function, needed by the
966 ControlGraphics class.
968 2001-03-28 Juergen Vigna <jug@sad.it>
970 * insettext.C (InsetButtonPress): only enter !inset if button == 2
971 (checkAndActivateInset): don't use the values returned from
972 call to bv->checkInsetHit.
974 * insetminipage.C (Clone): set special minipage values.
976 * insetcollapsable.C (draw): changed to draw the button in the
977 upper left corner outside the textinset.
978 (ascent): changed because of different drawing
982 (InsetButtonPress): ditto
983 (InsetButtonRelease): ditto
984 (InsetMotionNotify): ditto
986 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
988 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
992 2001-03-26 Juergen Vigna <jug@sad.it>
994 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
996 * insettext.C (ShowInsetDialog): implemented above function.
998 * insettabular.C (ShowInsetDialog): ditto
1000 * insetminipage.C (ShowInsetDialog): ditto
1002 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1004 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1005 InsetInclude::Params. Don't store a buffer * in Params. Store the
1006 master file name instead.
1008 2001-03-23 Juergen Vigna <jug@sad.it>
1010 * insetcollapsable.C (InsetMotionNotify):
1011 (InsetButtonRelease):
1012 (InsetButtonPress): fixed y-offset (minipages).
1014 * insettext.C (draw): force a FULL update if cleared == true.
1016 * insetcollapsable.C (draw): Lars forgotten entry for changing this
1017 routine to draw the minipages on its position-flag.
1018 (InsetInInsetY): give back the right y position, because of minipage
1021 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1024 * insetfloat.C (DocBook): docbook export code.
1026 2001-03-22 Juergen Vigna <jug@sad.it>
1028 * insetminipage.C (getMaxWidth): added function to set the drawing
1030 (Read): should work now!
1032 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1033 if we create a new inset.
1035 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1037 * figinset.C (fl_set_preemptive_callback): moved definition outside
1040 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1042 * insetminipage.C (Read): prepare for reading of minipage arguments.
1044 2001-03-18 Baruch Even <baruch@lyx.org>
1046 * insetgraphics.C: Minor cleanups of the comments and code.
1048 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1050 * insetminipage.C (InsetMinipage): default to not collapsed
1052 2001-03-16 Juergen Vigna <jug@sad.it>
1054 * insetminipage.C (width): modified with to be a string
1055 (widthp): added widthp (for % width) support functions.
1056 (InsetButtonRelease): added to open the options dialog on button==3.
1057 (~InsetMinipage): added to hide the dialog.
1059 * insetminipage.h: added hideDialog signal
1061 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1063 * insetminipage.h: change the order or Position to match
1064 LyXParagraph::MINIPAGE_ALIGNMENT
1066 * several files: remvoe CXX_WORKING_NAMESPACES
1068 * ExternalTemplate.h: noncopyable is in namespace boost
1069 * insetinclude.h: ditto
1070 * insetcommand.h: ditto
1072 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1074 * insettext.C (Edit): #else# -> #else.
1075 * insettoc.C: added using directive.
1077 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1079 * insetminipage.h: add pos, inner_pos, width and height. + getters
1080 and setters for all of them.
1082 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1084 * insetinclude.C (Latex): Do not exit when the textclass of the
1085 included file differ from the textclass of the parent file.
1087 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1089 * ExternalTemplate.C (read): the reading of external insets now checks
1090 for \end_inset and removes it form the input stream.
1092 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1094 * ExternalTemplate.h:
1095 * ExternalTemplate.C:
1097 * insetexternal.C: move form to GUII
1099 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1102 * insetinclude.C: add InsetIncludeParams, use
1103 composition rather than derivation of InsetCommand
1105 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1107 * insettoc.C (Ascii): use the Buffer typedefs
1109 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1111 * insettoc.C (Ascii): implement for dynamic number of lists
1113 * insetcaption.[Ch]: update from new_insets branch
1114 * insetfloat.[Ch]: ditto
1116 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1119 * figinset.C: use new File Dialog
1121 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1123 * insettext.C: changes becuase of ParagraphParameters.
1125 2001-02-28 Baruch Even <baruch@ev-en.org>
1127 * insetgraphics.C (updateInset): Changed due to the change in
1130 2001-02-26 Juergen Vigna <jug@sad.it>
1132 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1133 handled in LyXText).
1135 2001-02-23 Juergen Vigna <jug@sad.it>
1137 * insettext.C (draw): some small repainting fixes.
1138 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1140 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1141 should be) and not an int.
1143 * insettabular.C (LocalDispatch): ditto
1145 * insettext.C (LocalDispatch): ditto
1147 * insetcollapsable.C (LocalDispatch): ditto
1149 2001-02-22 Juergen Vigna <jug@sad.it>
1151 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1152 DISPATCH it and we don't have a locking_inset.
1154 2001-02-21 Baruch Even <baruch@ev-en.org>
1156 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1157 instead of GraphicsCacheItem *.
1159 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1161 * insetcollapsable.C (getLyXText): add const qualifier to second
1164 2001-02-22 Juergen Vigna <jug@sad.it>
1166 * insettext.C (getLyXText): honor the recursive parameter.
1167 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1169 * inset.C (getLyXText): added bool recursive parameter.
1171 * insettext.C (SetUpdateStatus): or the update codes.
1172 (draw): check need_update with &.
1173 (InsetButtonPress): set no_selection to not put a selection when
1174 entering an inset and it is redraws in another spot.
1176 * insettext.h: made need_update an int.
1178 2001-02-20 Baruch Even <baruch@ev-en.org>
1181 * insetgraphisc.C: Changed to use better semantics when loading images
1182 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1184 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1188 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1189 consistent with InsetTabular.
1191 2001-02-19 Juergen Vigna <jug@sad.it>
1193 * insettabular.C (LocalDispatch): implement PAGE up/down.
1195 * insettext.C (draw): clear all of it on need_update==INIT too!
1197 * insettabular.C (InsetUnlock): always clear the selection.
1199 * inset.C (scroll): normally we only want to scroll the inset until
1200 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1202 2001-02-14 Juergen Vigna <jug@sad.it>
1204 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1205 (resetPos): fixed scroll behaviour.
1206 (LocalDispatch): do an update if moving cursor inside a table cell
1207 requests a scroll of the tabular.
1209 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1211 * insettext.C (textWidth): constify local var
1213 * insettabular.C: small cleanup.
1215 * insetfoot.C (Latex): constify local var
1217 * insetcollapsable.C: small cleanup.
1219 * figinset.C (runqueue): use compare instead of strcmp
1221 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1224 * insetinfo.C: remove cruft
1226 2001-02-14 Juergen Vigna <jug@sad.it>
1228 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1230 2001-02-13 Juergen Vigna <jug@sad.it>
1232 * insettext.C (InsertInset): don't move left (is this right?)
1234 * insettabular.C (LocalDispatch): use of the no_draw variable
1236 * insettabular.h: new no_draw variable to stop redraw
1238 * insettabular.C (TabularFeatures): fixed update for alignment change
1240 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1244 * insetbib.C: move dialogs to frontends/
1246 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1248 * insettext.C (LocalDispatch): Restore the language if the inset
1251 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1253 * insettext.C (moveRightIntern): Update the selection cursor.
1254 (moveLeftIntern): Ditto.
1256 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1258 * Makefile.am: remove BoundingBox.h
1260 * BoundingBox.h: removed
1262 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1264 * insettext.C (LocalDispatch): Update selection cursor when moving
1265 cursor to the right.
1266 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1267 (moveLeftIntern): Ditto.
1269 2001-02-05 Baruch Even <baruch.even@writeme.com>
1271 * insetgraphics.C: Updated automatic image conversion, it now goes into
1272 temporary directory instead of with the image itself.
1274 2001-01-21 Baruch Even <baruch@ev-en.org>
1276 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1277 to EPS or PNG when needed (support bitmap graphics).
1279 2000-11-02 Baruch Even <baruch@ev-en.org>
1282 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1283 and removal of commented out code.
1285 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1287 * insetbib.C (callback): Update citations if the key has changed.
1289 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1291 * insetbib.C (InsetBibKey): Better computation of default key.
1292 (getScreenLabel) Show both the key and the label.
1293 (getBibLabel): New method.
1294 (callback): Force a redraw if the inset have been changed.
1296 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1298 * insetref.C (getType, getName): Move methods from
1299 src/frontends/xforms/FormRef.C.
1301 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1303 * insettabular.C: Various improvements (use only one dummy position).
1305 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1307 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1308 par->bibkey->width. This fixes the crashes when running without
1309 gui or when having included documents.
1311 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1313 * insetcommand.C (getAsString, setFromString): Cleanup.
1315 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1317 * insetref.C: Add the array InsetRef::types that contains
1318 information about all supported reference types.
1320 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1322 * lyxinset.h: remove trailing comma in enum.
1324 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1326 * insettext.C: kill LyXBell.