1 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * insetgraphicsParams.C: #include LOstream.h here.
5 * insetfoot.h: remove InsetFoot:: qualifier.
7 2001-07-30 Baruch Even <baruch@lyx.org>
9 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
10 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
12 HACKY! Will need to add an EPS detection routine like old InsetFig does!
14 2001-07-30 Baruch Even <baruch@lyx.org>
16 * insetgraphics.C: Added EPSI to be an alias of EPS.
18 2001-07-29 Baruch Even <baruch@lyx.org>
20 * insetgraphics.C: Change GRAPHICS to Graphics.
21 Changed image conversion rules (documented at the beginning of file).
23 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
25 * insetert.C (get_new_label): int -> Paragraph::size_type to get
28 * insetgraphics.C: added a using std::endl directive.
30 * insetcommand.h (getScreenLabel): removed pure virtual function,
31 as it duplicates that in InsetButton.
33 * insetbib.[Ch] (getScreenLabel):
34 * insetbutton.[Ch] (getScreenLabel):
35 * insetcite.[Ch] (getScreenLabel):
36 * insetert.[Ch] (getScreenLabel):
37 * insetexternal.[Ch] (getScreenLabel):
38 * insetfloatlist.[Ch] (getScreenLabel):
39 * insetinclude.[Ch] (getScreenLabel):
40 * insetindex.[Ch] (getScreenLabel):
41 * insetlabel.h (getScreenLabel):
42 * insetparent.[Ch] (getScreenLabel):
43 * insetref.[Ch] (getScreenLabel):
44 * insettoc.[Ch] (getScreenLabel):
45 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
47 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
49 (validate): remove check on "cite" when using natbib.
51 2001-07-26 Baruch Even <baruch@lyx.org>
53 * insetgraphics.C (draw): changed casting to be in one place rather than
54 all over the function.
57 * insetgraphics.C (read): Added compatibility reads of InsetFig.
59 * insetgraphicsParams.h:
60 * insetgraphicsParams.C:
61 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
63 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
65 * insetfoot.C (validate): Added method to ensure that the
66 right bit of LaTeX is emitted.
68 * insetfoot.h: Added validate method to set the correct
69 LaTeXFeatures bit for the special footnote code.
71 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
73 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
76 2001-07-27 Juergen Vigna <jug@sad.it>
78 * inset.h: remove not used font variable in parameter.
79 removed checkInsertChar in UpdatableInset as it was equal to
80 the one in Inset and so not needed.
82 * insetert.C (checkInsertChar): implementation of function
85 * inset.h: added new function checkInsertChar.
87 * various files: added c-tor and clone() function.
89 * insetcollapsable.h: removed clone function here as this should
90 be only realized in REAL insets and added it to all collapsable
91 insets! (with the copy-constructor).
93 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
95 * insetminipage.C (read): handle missing parameters more gracefully
97 * insetcollapsable.C (read): handel missing collapsed more gracefully
99 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
101 * insetfloat.C (read): handle missing parameters.
103 * insettext.C (read): handle old latex end_inset
105 * insetert.C (setButtonLabel): new method
106 (init): use it, to set the dynamic label correctly
109 * Makefile.am (EXTRA_DIST): add files that is not part or the
112 * insetcollapsable.h: remove autocollapsable (no users), remove
113 draw_label, change_label_with_text and companion code. Remove args
115 * insetert.[Ch]: move here instead (only user)
117 * inset.h: rename private variable name to name_, make
118 selectNextWord return a const string. make getInsetName return a
119 string const &. Remove bool from open, add close.
121 * Makefile.am: don't compile insetlist, insetsection
124 2001-07-24 Juergen Vigna <jug@sad.it>
126 * insetert.C (InsetERT): put init after the paragraph initialization,
127 as otherwise we don't set the draw_label right.
129 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
130 insets with the mouse without having strange selections.
131 (edit): if the inset was collapsed and we open it here then put the
132 cursor always at the beginning of the inset.
133 (get_new_label): 15 instead of 10 max chars in the label.
135 * insetert.C (localDispatch): added and handle various stuff we
136 need to handle here (font setting on paragraph break, not permitted
137 layout setting, etc.).
139 * inset.h: added default copy-consturctor and implemented this in
140 various insets with the change to use this in the clone function!
142 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * insetminipage.C (InsetMinipage): set background color to red :)
146 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
149 draw frame mode is LOCKED.
151 * insetcollapsable.C (edit):
152 (insetButtonRelease): set update status to full when
155 * insettext.C (clearInset):
156 * insettabular.C (draw):
157 * insetlatexaccent.C (draw): honor background color.
159 * inset.h: new member background_color_, initialized to
162 * inset.C (backgroundColor): new method.
163 (setBackgroundColor): new method.
165 * insetert.C (init): new method, called by the ctors.
166 (InsetERT): when inserting contents, make sure the font is
169 * insetnote.C (InsetNote): when inserting content, remove trailing
171 (init): set background color to LColor::note
173 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
175 * insetcollapsable.C: adjust
177 * insetbutton.C: adjust
179 2001-07-23 Juergen Vigna <jug@sad.it>
181 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
182 parameter on the _collapsed function (was not needed) and call
183 always width_collapsed().
185 * insetert.C (InsetERT): use setLabel with "true" flag.
187 * insetcollapsable.C: modified various functions to set the draw_label
188 string right in any condition.
189 (setLabel): added a bool parameter to set change_label_with_text.
191 * insetcollapsable.h: added draw_label string which is set to the
192 actual drawn label-string, while label is the original static label
193 of this collapsable inset. Added bool change_label_with_text to set
194 if we want that the label changes to the start of the InsetText's
195 text when collabpsed. You can set this flag with the setLabel funciton.
196 Added bool inlined for inlined collapsable insets, but not handled
199 * insetcollapsable.C (get_new_label): added should get a new label
200 from the InsetText beginning (for now 10 chars).
202 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
204 * insetquotes.C (latex): fix the handling of french double quotes
205 when not using the french pachage.
207 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * insetcollapsable.h: make WidthCollapsed mutable.
211 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
212 InsetPrintIndex returns INDEX_PRINT_CODE.
214 * inset.h: add INDEX_PRINT_CODE
216 * insetcollapsable.C (draw): init widthCollapsed if necessary
219 * insetquotes.C (width): use the local language, not the document
222 (dispString): add additional spacing for all french languages,
224 (validate): make it work when there is no default language
226 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
228 * insetnote.C (init): new method, called by the constructors
229 (InsetNote): new constructor with contents passed as a string
231 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * insetfootlike.C (insetAllowed): disallow float in footlike.
235 * insetert.C (InsetERT): add collapsed argument to the constrctor
238 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
240 * insetindex.h: shut off warning
242 2001-07-20 Juergen Vigna <jug@sad.it>
244 * insetcollapsable.C (update): recoded hopefully works now!
246 2001-07-19 Juergen Vigna <jug@sad.it>
248 * most files: implemented the below new introduced function.
250 * inset.h: added new edit(BufferView *, bool front) method to be able
251 to enter an inset from the front/back without knowing x/y positions
252 and baselines inside the inset. So I just can tell the inset activate
253 me and set the cursor on the front/back of yourself.
255 2001-07-18 Juergen Vigna <jug@sad.it>
257 * insetcollapsable.C (edit): fixed hopefully the y parameter which
258 is givven to the InsetText.
259 (insetButtonPress): ditto
260 (insetButtonRelease): ditto
261 (insetMotionNotify): ditto
263 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
265 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
266 LIGATURE_BREAK, since the name is so stupid.
268 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
270 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
271 the default InsetCollapsable methods. I.e., it can insert anything.
272 (write) output the name of the inset, not some silly hack for
273 compatability with the old InsetInfo.
275 * insetinfo.[Ch]: removed.
276 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
277 now collapsable, but functionality is otherwise identical to InsetInfo.
279 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
281 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
283 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
286 * insetquotes.C: general cleanup
287 (dispString): add spaces inside french double quotes.
288 (latex): ditto. Moreover, treat first the case where the frenchb
289 or french options have been given.
291 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
293 * insetcite.[Ch] (latex, validate): new methods, required for natbib
296 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
298 * figinset.C (RegisterFigure): Print debug message only when
299 current_view is available.
301 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * many files: update to match the change below
305 * inset.h (insetAllowed): renamed from insertInsetAllowed;
306 implement the version which takes an inset here.
308 * insetcollapsable.[Ch]: implement open and isOpen
310 * inset.h: remove insertInsetAllowed from Inset
311 (open): new method, to open or close an inset
312 (isOpen): returns the status of an inset
313 (isCollapsable, colapse): removed
315 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
317 * insetquotes.C (dispString): display french guillemets when using
320 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
322 * insetcollapsable.h: remove bogus return statements
324 2001-07-18 Juergen Vigna <jug@sad.it>
326 * insettabular.C (selectNextWord): fixed spellchecking for the
327 first cell of a tabular (wasn't entered!)
328 (getLyXText): changed to enter automatically insettext and return
329 it's LyXText if we're locked.
331 2001-07-17 Juergen Vigna <jug@sad.it>
333 * various files: implemented the below functions.
335 * inset.h: added functions
336 - virtual string selectNextWord(BufferView *, float & value) const;
337 - virtual void selectSelectedWord(BufferView *) { return; }
338 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
339 needed for spellchecking correctly!
341 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
343 * insetert.C (latex): write out all paragraphs.
345 2001-07-17 Baruch Even <baruch@lyx.org>
347 * insetgraphics.C (draw): Removed unneeded casts.
349 2001-07-16 Juergen Vigna <jug@sad.it>
351 * insettext.C (update): fixed small oversight (reset lt to 0).
353 2001-07-14 Baruch Even <baruch@lyx.org>
356 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
358 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
360 Consistent use of Lsstream.h:
361 * figinset.C: removed using std::ostringstream directive.
363 * insetgraphics.C (createLatexOptions):
364 * insetinclude.C (unique_id):
365 std::ostringstream -> ostringstream.
366 * insettext.C (localDispatch): std::istringstream -> istringstream.
368 2001-07-13 Juergen Vigna <jug@sad.it>
370 * insetfloat.C (insertInsetAllowed): added missing const_cast.
372 * insetcollapsable.C (getLockingInset): ditto.
374 2001-07-12 Juergen Vigna <jug@sad.it>
376 * insetcollapsable.h: added implementation of new function for
379 * various files: added implementation of new insertInsetAllowed-func
380 and redone the function a bit more.
382 * inset.h: added isCollapsable(), bool collapsed(),
383 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
385 * insetfloat.C (insertInsetAllowed): make a bit more checks.
387 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
388 LyXText which is marked for removal while we're using it!
390 * insettext.h: added private LyXText * lt to use it to assure we are
391 not deleting our LyXText while we're using it!
393 2001-07-11 Juergen Vigna <jug@sad.it>
395 * insettext.C (insertInset): check if we are before the inset after
396 inserting it! This check IS needed. Remove the Undo-Call as it is
397 called in LyXText::insertInset!
399 * insettext.h: added struct InnerCache.
401 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
402 that we ONLY delete the LyXText in the getLyXText() routine. So we
403 are sure we don't delete LyXText while someone is working with it!
405 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
407 * insetexternal.C: (*it). -> it->
410 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
412 * insetcollapsable.C (edit): always open collapsed insets (even if
413 they are not autocollapsable)
415 * insetcommand.C (operator=): simplify.
417 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
419 * insetert.C (latex): handle META_NEWLINE
421 2001-07-09 Juergen Vigna <jug@sad.it>
423 * insetert.h: a normal InsetText can insert insets, but we won't.
425 * inset.h: return default "false" on insertInsetAllowed and implement
426 this function where a returnvalue != "false" is needed.
428 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
430 * insetert.C (InsetERT): new contructor
432 2001-07-06 Juergen Vigna <jug@sad.it>
434 * a lot of files: added implementation of the below new functions
435 and the change to clone(). Also the call of the new undo-functions
438 * inset.h: added an inset_id, added functions getParFromID,
439 getInsetFromID, firstParagraph, cursor and id functions, added
440 bool same_ids to clone function.
442 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
444 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
445 of BufferView * and shared_ptr<LyXText>
447 2001-07-05 Juergen Vigna <jug@sad.it>
449 * insettext.C (clear): deleted also the cache not only LyXText.
450 (setParagraphData): ditto.
452 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
454 * insetfloat.C (latex): let the specific placement take presedence
455 if set, otherwise choose document placement if set, otherwise just
456 use float default placement.
458 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
460 * insettext.C (localDispatch): call CutAndPaste::'s static method
463 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
465 * insetbib.C: no meed to include forms.h here.
467 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
469 * insettext.C: added using std::make_pair directive.
471 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
473 * insettext.C (getLyXText): avoid multiple lookups, and simplify
475 (deleteLyXText): ditto
476 (resizeLyXText): ditto
478 2001-07-02 Juergen Vigna <jug@sad.it>
480 * insettext.C (getLyXText): introduce a cache in getLyXText so that
481 following calls are only returned the right pointer without the over
482 head to search in the map.
483 (various funcs): reset the cached_bview variable as this signs that
484 the cache is not valid anymore.
486 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
488 * insettabular.C (clone): do not copy the LyXTabular twice
490 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
492 * insettext.h (TEXT): delete method
494 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
496 * insetmarginal.C (latex):
497 * insetfoot.C (latex): fix spacing of notes in LaTeX
499 * insettext.C (localDispatch): use .c_str() on istringstream
500 constructor argument.
502 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
507 * inseturl.C: fix method names in these to begin
508 with small char too, so they inherit
510 2001-06-28 Juergen Vigna <jug@sad.it>
512 * insettext.C (setFont): fixed font settings using toggleFree()
513 instead of setFont().
515 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * Change a lot of method names to begin with a small char.
518 Changes to a lot of files because of this.
520 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
522 * insetfloatlist.C (Write): std:: qualify ostream
525 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
529 * insetgraphics.C: send debug output to Debug::INFO instead of
532 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
535 * insettabular.C (getStatus): update to use func_status
537 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
539 * insetref.C (DocBook): added support for cross-references without
542 2001-06-26 The LyX Project <jug@sad.it>
547 * insetlabel.h: removed escape method and moved it to
550 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
552 * insettabular.C (getMaxWidth): do the speedup in a different way,
555 2001-06-24 The LyX Project <Asger>
557 * insettabular.C (getMaxWidth): We cache a mapping from
558 inset to cell in order to speed this method up.
560 2001-06-24 The LyX Project <Asger>
562 * insettext.C: Optimized InsetText::draw or something.
564 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
566 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
568 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
570 * inset.h: name change from lyxinset.h
572 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
574 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
576 2001-06-14 Juergen Vigna <jug@sad.it>
578 * insettext.C (draw): removed warnings.
580 2001-06-13 Juergen Vigna <jug@sad.it>
582 * insettabular.C (nodraw): only go down the tree if we don't have
583 that flag set otherwise it's obvious that we don't want to draw.
584 (LocalDispatch): do also an update if we have an undispached result.
586 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
589 * insetgraphicsParams.C:
590 * insettext.C: removed // -*- C++ -*- as first line.
592 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
594 * lyxinset.h (resizeLyXText): shut off warning about unused
597 2001-06-07 Juergen Vigna <jug@sad.it>
599 * insettext.C (resizeLyXText): honor the new force flag.
601 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
603 * insettabular.C (deleteLyXText): new function
605 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
613 * insetcollapsable.C:
614 * insetcaption.C: LColor tidy
616 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
618 * figinset.C: fix typo
620 2001-06-01 Juergen Vigna <jug@sad.it>
622 * insettabular.C (resetPos): small hack so that scroll is not set to
623 0 when we are in the last column of a tabular. This is a problem we
624 have because of constats 20 offset on both directions, so this can
625 cause on the limit an endless loop.
627 * insettext.C (SetFont): forgot that we can have locking insets ;)
629 2001-05-31 Juergen Vigna <jug@sad.it>
631 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
633 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
635 * figinset.C: add using std:: directive for the C functions which
638 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
640 * insetfloat.C (Write): write out wide info
641 (Read): read the wide info
642 (Latex): use the wide info when creating latex.
644 * insettext.C: adjust
646 * insetgraphics.[Ch] (statusMessage): change to return string
650 * figinset.C (runqueue): add std::
653 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
655 * insetcite.C (Ascii): add std:: qualifier
657 2001-05-28 Juergen Vigna <jug@sad.it>
659 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
660 a endless-width inset (maxWidth < 0).
661 (Edit): change language only if not equal.
663 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
665 * insettext.C (draw): fixed draw/clear of InsetText-Frame
667 2001-05-16 Juergen Vigna <jug@sad.it>
669 * insettext.C (selectAll): added
670 (clearSelection): added
672 * insettabular.C (SetFont): now we may set a font on a whole selection!
673 (getSelection): added helper function.
675 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
677 * insetcite.C (Ascii): Add method.
679 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
682 * insetbib.C: fix path for OS/2 & Win32
684 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
686 * insetfoot.C (Latex): don't use % after footnote.
688 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
690 * insettext.C (Read): use clear
691 (SetParagraphData): use LyXParagraph copy constructor instead of clone
693 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
695 * insetfloatlist.h: add a bunch of std:: qualifiers.
697 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
699 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
700 FLOAT_LIST_CODE, renumber code list.
702 * insettoc.C (getScreenLabel): remove support for float lists
706 * insetfloatlist.[Ch]: new files
708 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
710 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
712 * insettabular.C (LocalDispatch):
713 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
716 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
718 * insettext.C: remvoe !NEW_INSETS cruft
720 * insettabular.C: remove !NEW_INSETS cruft
722 * insetcollapsable.h: remove !NEW_INSETS cruft
724 * insetbib.C: remove !NEW_INSETS cruft
726 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
728 * insettoc.C: hack to make listof algorithm work
730 2001-04-20 Juergen Vigna <jug@sad.it>
732 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
734 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
736 * insetquotes.C (Latex): improve the guard against
737 unwanted !` and ?` ligatures. This should really be done in
738 another place (to catch all this ligatures at low-level).
740 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
742 * insettext.C (init): remvoe leftovers from cursor_visible change
744 (LocalDispatch): dispatch LFUN_MESSAGE
746 * insettabular.C (InsetTabular): remove leftovers from
747 cursor_visible, and scoped_ptr changes
750 * insetcollapsable.C (draw): use c++ cast
752 * ExternalTemplate.h: inherit privaely from noncopyable
753 * insetcommand.h: ditto
754 * insetinclude.h: ditto
756 2001-04-16 Allan Rae <rae@lyx.org>
758 * insettoc.C (Ascii):
759 * insettext.C (draw):
760 * insettabular.C (setPos):
761 * insetminipage.C (Read):
762 * insetfloat.C (placement):
763 * insetcaption.C (Ascii, DocBook):
764 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
765 an unrecognised preprocessor directive. So ensure they're wrapped.
767 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
770 * insetexternal.C: set view on Clone. Add _ to private members.
772 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
774 * insettext.C (InsetText): fix new
775 (InsetText): reindent some, simplify deletion of par list
776 (clear): simplify deletion of par list, fix new
777 (SetParagraphData): simplify deletion of par list
779 * insettabular.[Ch] (getLabelList): implement new method
781 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
783 * lyxinset.h: do not include gettext.h...
791 * insetlatexaccent.C:
795 * inseturl.C: ... and do it here instead
797 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
799 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
801 * insettext.[Ch] (getLabelList): add std:: on vector<string>
803 * insetcollapsable.[Ch] (getLabelList): implement
805 * insettext.[Ch] (getLabelList): implement
807 * insettext.h: reindent
809 * insettabular.h: make tabular a scoped_ptr
811 * insettext.C (init): adjust for cursor_visible
812 (ToggleInsetCursor): constify asc and desc, font, adjust for
814 (ShowInsetCursor): constify asc and desc, font, adjust for
816 (HideInsetCursor): adjust for cursor_visible
818 * insettabular.C: reindent some
819 (InsetTabular): adjust for scoped_ptr and cursor_visible
820 (InsetTabular): ditto
821 (~InsetTabular): delete delete
822 (Clone): adjust for scoped_ptr
823 (Read): constify old_format, adjust for scoped_ptr, move init of
825 (draw): constify tx, localize loop vars.
826 some other localization of variables, remove double initilizatons.
828 * insetfoot.C: remove using std::ostream, add ostream where needed
830 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
832 * lyxinset.h: some reindentaion, use initializer list for
834 UpdatableInset: make cursor_visible a private var add
835 public isCursorVisible(), add protected toggleCursorVisible() and
836 proctected setCursorVisible(bool), make scroll call the Inset::scroll
838 * insettoc.C: remvoe using decl
839 (getScreenLabel): make cmdname donst
842 (Ascii): don't use endl
844 * insetfootlike.C: remove using decl at file scope and add std::
846 * insetmarginal.C: ditto
848 * insetfoot.C: some reformatting
850 * insetfloat.C (InsetButtonRelease): adjust the hit area
852 * insetert.C (SetFont): some reformatting
854 * insetcollapsable.C: some reformatting and constification
855 (Clone): comment out.
856 * insetcollapsable.h: some reformatting
857 (Clone): comment out.
862 2001-03-30 Juergen Vigna <jug@sad.it>
864 * insetcollapsable.h: changen *inset to be a InsetText inset.
866 * some files: changed to reflect the above change.
868 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
870 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
871 InsetExternal::Params.
872 Added operator==() and operator!=() for the Params struct.
874 2001-03-29 Juergen Vigna <jug@sad.it>
876 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
879 * insetminipage.C: removed widthp_ and all it's functions and changed
880 to use new %-lengths of LyXLength.
882 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
884 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
886 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
888 * insetgraphicsParams.C (operator!=): new function, needed by the
889 ControlGraphics class.
891 2001-03-28 Juergen Vigna <jug@sad.it>
893 * insettext.C (InsetButtonPress): only enter !inset if button == 2
894 (checkAndActivateInset): don't use the values returned from
895 call to bv->checkInsetHit.
897 * insetminipage.C (Clone): set special minipage values.
899 * insetcollapsable.C (draw): changed to draw the button in the
900 upper left corner outside the textinset.
901 (ascent): changed because of different drawing
905 (InsetButtonPress): ditto
906 (InsetButtonRelease): ditto
907 (InsetMotionNotify): ditto
909 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
911 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
915 2001-03-26 Juergen Vigna <jug@sad.it>
917 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
919 * insettext.C (ShowInsetDialog): implemented above function.
921 * insettabular.C (ShowInsetDialog): ditto
923 * insetminipage.C (ShowInsetDialog): ditto
925 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
927 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
928 InsetInclude::Params. Don't store a buffer * in Params. Store the
929 master file name instead.
931 2001-03-23 Juergen Vigna <jug@sad.it>
933 * insetcollapsable.C (InsetMotionNotify):
934 (InsetButtonRelease):
935 (InsetButtonPress): fixed y-offset (minipages).
937 * insettext.C (draw): force a FULL update if cleared == true.
939 * insetcollapsable.C (draw): Lars forgotten entry for changing this
940 routine to draw the minipages on its position-flag.
941 (InsetInInsetY): give back the right y position, because of minipage
944 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
947 * insetfloat.C (DocBook): docbook export code.
949 2001-03-22 Juergen Vigna <jug@sad.it>
951 * insetminipage.C (getMaxWidth): added function to set the drawing
953 (Read): should work now!
955 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
956 if we create a new inset.
958 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
960 * figinset.C (fl_set_preemptive_callback): moved definition outside
963 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
965 * insetminipage.C (Read): prepare for reading of minipage arguments.
967 2001-03-18 Baruch Even <baruch@lyx.org>
969 * insetgraphics.C: Minor cleanups of the comments and code.
971 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
973 * insetminipage.C (InsetMinipage): default to not collapsed
975 2001-03-16 Juergen Vigna <jug@sad.it>
977 * insetminipage.C (width): modified with to be a string
978 (widthp): added widthp (for % width) support functions.
979 (InsetButtonRelease): added to open the options dialog on button==3.
980 (~InsetMinipage): added to hide the dialog.
982 * insetminipage.h: added hideDialog signal
984 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
986 * insetminipage.h: change the order or Position to match
987 LyXParagraph::MINIPAGE_ALIGNMENT
989 * several files: remvoe CXX_WORKING_NAMESPACES
991 * ExternalTemplate.h: noncopyable is in namespace boost
992 * insetinclude.h: ditto
993 * insetcommand.h: ditto
995 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
997 * insettext.C (Edit): #else# -> #else.
998 * insettoc.C: added using directive.
1000 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1002 * insetminipage.h: add pos, inner_pos, width and height. + getters
1003 and setters for all of them.
1005 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1007 * insetinclude.C (Latex): Do not exit when the textclass of the
1008 included file differ from the textclass of the parent file.
1010 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1012 * ExternalTemplate.C (read): the reading of external insets now checks
1013 for \end_inset and removes it form the input stream.
1015 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1017 * ExternalTemplate.h:
1018 * ExternalTemplate.C:
1020 * insetexternal.C: move form to GUII
1022 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1025 * insetinclude.C: add InsetIncludeParams, use
1026 composition rather than derivation of InsetCommand
1028 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1030 * insettoc.C (Ascii): use the Buffer typedefs
1032 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1034 * insettoc.C (Ascii): implement for dynamic number of lists
1036 * insetcaption.[Ch]: update from new_insets branch
1037 * insetfloat.[Ch]: ditto
1039 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1042 * figinset.C: use new File Dialog
1044 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1046 * insettext.C: changes becuase of ParagraphParameters.
1048 2001-02-28 Baruch Even <baruch@ev-en.org>
1050 * insetgraphics.C (updateInset): Changed due to the change in
1053 2001-02-26 Juergen Vigna <jug@sad.it>
1055 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1056 handled in LyXText).
1058 2001-02-23 Juergen Vigna <jug@sad.it>
1060 * insettext.C (draw): some small repainting fixes.
1061 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1063 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1064 should be) and not an int.
1066 * insettabular.C (LocalDispatch): ditto
1068 * insettext.C (LocalDispatch): ditto
1070 * insetcollapsable.C (LocalDispatch): ditto
1072 2001-02-22 Juergen Vigna <jug@sad.it>
1074 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1075 DISPATCH it and we don't have a locking_inset.
1077 2001-02-21 Baruch Even <baruch@ev-en.org>
1079 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1080 instead of GraphicsCacheItem *.
1082 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1084 * insetcollapsable.C (getLyXText): add const qualifier to second
1087 2001-02-22 Juergen Vigna <jug@sad.it>
1089 * insettext.C (getLyXText): honor the recursive parameter.
1090 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1092 * inset.C (getLyXText): added bool recursive parameter.
1094 * insettext.C (SetUpdateStatus): or the update codes.
1095 (draw): check need_update with &.
1096 (InsetButtonPress): set no_selection to not put a selection when
1097 entering an inset and it is redraws in another spot.
1099 * insettext.h: made need_update an int.
1101 2001-02-20 Baruch Even <baruch@ev-en.org>
1104 * insetgraphisc.C: Changed to use better semantics when loading images
1105 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1107 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1111 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1112 consistent with InsetTabular.
1114 2001-02-19 Juergen Vigna <jug@sad.it>
1116 * insettabular.C (LocalDispatch): implement PAGE up/down.
1118 * insettext.C (draw): clear all of it on need_update==INIT too!
1120 * insettabular.C (InsetUnlock): always clear the selection.
1122 * inset.C (scroll): normally we only want to scroll the inset until
1123 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1125 2001-02-14 Juergen Vigna <jug@sad.it>
1127 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1128 (resetPos): fixed scroll behaviour.
1129 (LocalDispatch): do an update if moving cursor inside a table cell
1130 requests a scroll of the tabular.
1132 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1134 * insettext.C (textWidth): constify local var
1136 * insettabular.C: small cleanup.
1138 * insetfoot.C (Latex): constify local var
1140 * insetcollapsable.C: small cleanup.
1142 * figinset.C (runqueue): use compare instead of strcmp
1144 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1147 * insetinfo.C: remove cruft
1149 2001-02-14 Juergen Vigna <jug@sad.it>
1151 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1153 2001-02-13 Juergen Vigna <jug@sad.it>
1155 * insettext.C (InsertInset): don't move left (is this right?)
1157 * insettabular.C (LocalDispatch): use of the no_draw variable
1159 * insettabular.h: new no_draw variable to stop redraw
1161 * insettabular.C (TabularFeatures): fixed update for alignment change
1163 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1167 * insetbib.C: move dialogs to frontends/
1169 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1171 * insettext.C (LocalDispatch): Restore the language if the inset
1174 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1176 * insettext.C (moveRightIntern): Update the selection cursor.
1177 (moveLeftIntern): Ditto.
1179 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1181 * Makefile.am: remove BoundingBox.h
1183 * BoundingBox.h: removed
1185 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1187 * insettext.C (LocalDispatch): Update selection cursor when moving
1188 cursor to the right.
1189 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1190 (moveLeftIntern): Ditto.
1192 2001-02-05 Baruch Even <baruch.even@writeme.com>
1194 * insetgraphics.C: Updated automatic image conversion, it now goes into
1195 temporary directory instead of with the image itself.
1197 2001-01-21 Baruch Even <baruch@ev-en.org>
1199 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1200 to EPS or PNG when needed (support bitmap graphics).
1202 2000-11-02 Baruch Even <baruch@ev-en.org>
1205 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1206 and removal of commented out code.
1208 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1210 * insetbib.C (callback): Update citations if the key has changed.
1212 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1214 * insetbib.C (InsetBibKey): Better computation of default key.
1215 (getScreenLabel) Show both the key and the label.
1216 (getBibLabel): New method.
1217 (callback): Force a redraw if the inset have been changed.
1219 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1221 * insetref.C (getType, getName): Move methods from
1222 src/frontends/xforms/FormRef.C.
1224 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1226 * insettabular.C: Various improvements (use only one dummy position).
1228 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1230 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1231 par->bibkey->width. This fixes the crashes when running without
1232 gui or when having included documents.
1234 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1236 * insetcommand.C (getAsString, setFromString): Cleanup.
1238 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1240 * insetref.C: Add the array InsetRef::types that contains
1241 information about all supported reference types.
1243 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1245 * lyxinset.h: remove trailing comma in enum.
1247 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1249 * insettext.C: kill LyXBell.