1 2001-07-27 Juergen Vigna <jug@sad.it>
3 * inset.h: remove not used font variable in parameter.
4 removed checkInsertChar in UpdatableInset as it was equal to
5 the one in Inset and so not needed.
7 * insetert.C (checkInsertChar): implementation of function
10 * inset.h: added new function checkInsertChar.
12 * various files: added c-tor and clone() function.
14 * insetcollapsable.h: removed clone function here as this should
15 be only realized in REAL insets and added it to all collapsable
16 insets! (with the copy-constructor).
18 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
20 * insetminipage.C (read): handle missing parameters more gracefully
22 * insetcollapsable.C (read): handel missing collapsed more gracefully
24 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * insetfloat.C (read): handle missing parameters.
28 * insettext.C (read): handle old latex end_inset
30 * insetert.C (setButtonLabel): new method
31 (init): use it, to set the dynamic label correctly
34 * Makefile.am (EXTRA_DIST): add files that is not part or the
37 * insetcollapsable.h: remove autocollapsable (no users), remove
38 draw_label, change_label_with_text and companion code. Remove args
40 * insetert.[Ch]: move here instead (only user)
42 * inset.h: rename private variable name to name_, make
43 selectNextWord return a const string. make getInsetName return a
44 string const &. Remove bool from open, add close.
46 * Makefile.am: don't compile insetlist, insetsection
49 2001-07-24 Juergen Vigna <jug@sad.it>
51 * insetert.C (InsetERT): put init after the paragraph initialization,
52 as otherwise we don't set the draw_label right.
54 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
55 insets with the mouse without having strange selections.
56 (edit): if the inset was collapsed and we open it here then put the
57 cursor always at the beginning of the inset.
58 (get_new_label): 15 instead of 10 max chars in the label.
60 * insetert.C (localDispatch): added and handle various stuff we
61 need to handle here (font setting on paragraph break, not permitted
62 layout setting, etc.).
64 * inset.h: added default copy-consturctor and implemented this in
65 various insets with the change to use this in the clone function!
67 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * insetminipage.C (InsetMinipage): set background color to red :)
71 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
74 draw frame mode is LOCKED.
76 * insetcollapsable.C (edit):
77 (insetButtonRelease): set update status to full when
80 * insettext.C (clearInset):
81 * insettabular.C (draw):
82 * insetlatexaccent.C (draw): honor background color.
84 * inset.h: new member background_color_, initialized to
87 * inset.C (backgroundColor): new method.
88 (setBackgroundColor): new method.
90 * insetert.C (init): new method, called by the ctors.
91 (InsetERT): when inserting contents, make sure the font is
94 * insetnote.C (InsetNote): when inserting content, remove trailing
96 (init): set background color to LColor::note
98 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
100 * insetcollapsable.C: adjust
102 * insetbutton.C: adjust
104 2001-07-23 Juergen Vigna <jug@sad.it>
106 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
107 parameter on the _collapsed function (was not needed) and call
108 always width_collapsed().
110 * insetert.C (InsetERT): use setLabel with "true" flag.
112 * insetcollapsable.C: modified various functions to set the draw_label
113 string right in any condition.
114 (setLabel): added a bool parameter to set change_label_with_text.
116 * insetcollapsable.h: added draw_label string which is set to the
117 actual drawn label-string, while label is the original static label
118 of this collapsable inset. Added bool change_label_with_text to set
119 if we want that the label changes to the start of the InsetText's
120 text when collabpsed. You can set this flag with the setLabel funciton.
121 Added bool inlined for inlined collapsable insets, but not handled
124 * insetcollapsable.C (get_new_label): added should get a new label
125 from the InsetText beginning (for now 10 chars).
127 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
129 * insetquotes.C (latex): fix the handling of french double quotes
130 when not using the french pachage.
132 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * insetcollapsable.h: make WidthCollapsed mutable.
136 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
137 InsetPrintIndex returns INDEX_PRINT_CODE.
139 * inset.h: add INDEX_PRINT_CODE
141 * insetcollapsable.C (draw): init widthCollapsed if necessary
144 * insetquotes.C (width): use the local language, not the document
147 (dispString): add additional spacing for all french languages,
149 (validate): make it work when there is no default language
151 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
153 * insetnote.C (init): new method, called by the constructors
154 (InsetNote): new constructor with contents passed as a string
156 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * insetfootlike.C (insetAllowed): disallow float in footlike.
160 * insetert.C (InsetERT): add collapsed argument to the constrctor
163 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
165 * insetindex.h: shut off warning
167 2001-07-20 Juergen Vigna <jug@sad.it>
169 * insetcollapsable.C (update): recoded hopefully works now!
171 2001-07-19 Juergen Vigna <jug@sad.it>
173 * most files: implemented the below new introduced function.
175 * inset.h: added new edit(BufferView *, bool front) method to be able
176 to enter an inset from the front/back without knowing x/y positions
177 and baselines inside the inset. So I just can tell the inset activate
178 me and set the cursor on the front/back of yourself.
180 2001-07-18 Juergen Vigna <jug@sad.it>
182 * insetcollapsable.C (edit): fixed hopefully the y parameter which
183 is givven to the InsetText.
184 (insetButtonPress): ditto
185 (insetButtonRelease): ditto
186 (insetMotionNotify): ditto
188 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
190 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
191 LIGATURE_BREAK, since the name is so stupid.
193 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
195 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
196 the default InsetCollapsable methods. I.e., it can insert anything.
197 (write) output the name of the inset, not some silly hack for
198 compatability with the old InsetInfo.
200 * insetinfo.[Ch]: removed.
201 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
202 now collapsable, but functionality is otherwise identical to InsetInfo.
204 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
206 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
211 * insetquotes.C: general cleanup
212 (dispString): add spaces inside french double quotes.
213 (latex): ditto. Moreover, treat first the case where the frenchb
214 or french options have been given.
216 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
218 * insetcite.[Ch] (latex, validate): new methods, required for natbib
221 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
223 * figinset.C (RegisterFigure): Print debug message only when
224 current_view is available.
226 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * many files: update to match the change below
230 * inset.h (insetAllowed): renamed from insertInsetAllowed;
231 implement the version which takes an inset here.
233 * insetcollapsable.[Ch]: implement open and isOpen
235 * inset.h: remove insertInsetAllowed from Inset
236 (open): new method, to open or close an inset
237 (isOpen): returns the status of an inset
238 (isCollapsable, colapse): removed
240 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
242 * insetquotes.C (dispString): display french guillemets when using
245 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
247 * insetcollapsable.h: remove bogus return statements
249 2001-07-18 Juergen Vigna <jug@sad.it>
251 * insettabular.C (selectNextWord): fixed spellchecking for the
252 first cell of a tabular (wasn't entered!)
253 (getLyXText): changed to enter automatically insettext and return
254 it's LyXText if we're locked.
256 2001-07-17 Juergen Vigna <jug@sad.it>
258 * various files: implemented the below functions.
260 * inset.h: added functions
261 - virtual string selectNextWord(BufferView *, float & value) const;
262 - virtual void selectSelectedWord(BufferView *) { return; }
263 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
264 needed for spellchecking correctly!
266 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
268 * insetert.C (latex): write out all paragraphs.
270 2001-07-17 Baruch Even <baruch@lyx.org>
272 * insetgraphics.C (draw): Removed unneeded casts.
274 2001-07-16 Juergen Vigna <jug@sad.it>
276 * insettext.C (update): fixed small oversight (reset lt to 0).
278 2001-07-14 Baruch Even <baruch@lyx.org>
281 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
283 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
285 Consistent use of Lsstream.h:
286 * figinset.C: removed using std::ostringstream directive.
288 * insetgraphics.C (createLatexOptions):
289 * insetinclude.C (unique_id):
290 std::ostringstream -> ostringstream.
291 * insettext.C (localDispatch): std::istringstream -> istringstream.
293 2001-07-13 Juergen Vigna <jug@sad.it>
295 * insetfloat.C (insertInsetAllowed): added missing const_cast.
297 * insetcollapsable.C (getLockingInset): ditto.
299 2001-07-12 Juergen Vigna <jug@sad.it>
301 * insetcollapsable.h: added implementation of new function for
304 * various files: added implementation of new insertInsetAllowed-func
305 and redone the function a bit more.
307 * inset.h: added isCollapsable(), bool collapsed(),
308 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
310 * insetfloat.C (insertInsetAllowed): make a bit more checks.
312 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
313 LyXText which is marked for removal while we're using it!
315 * insettext.h: added private LyXText * lt to use it to assure we are
316 not deleting our LyXText while we're using it!
318 2001-07-11 Juergen Vigna <jug@sad.it>
320 * insettext.C (insertInset): check if we are before the inset after
321 inserting it! This check IS needed. Remove the Undo-Call as it is
322 called in LyXText::insertInset!
324 * insettext.h: added struct InnerCache.
326 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
327 that we ONLY delete the LyXText in the getLyXText() routine. So we
328 are sure we don't delete LyXText while someone is working with it!
330 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
332 * insetexternal.C: (*it). -> it->
335 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
337 * insetcollapsable.C (edit): always open collapsed insets (even if
338 they are not autocollapsable)
340 * insetcommand.C (operator=): simplify.
342 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
344 * insetert.C (latex): handle META_NEWLINE
346 2001-07-09 Juergen Vigna <jug@sad.it>
348 * insetert.h: a normal InsetText can insert insets, but we won't.
350 * inset.h: return default "false" on insertInsetAllowed and implement
351 this function where a returnvalue != "false" is needed.
353 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * insetert.C (InsetERT): new contructor
357 2001-07-06 Juergen Vigna <jug@sad.it>
359 * a lot of files: added implementation of the below new functions
360 and the change to clone(). Also the call of the new undo-functions
363 * inset.h: added an inset_id, added functions getParFromID,
364 getInsetFromID, firstParagraph, cursor and id functions, added
365 bool same_ids to clone function.
367 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
369 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
370 of BufferView * and shared_ptr<LyXText>
372 2001-07-05 Juergen Vigna <jug@sad.it>
374 * insettext.C (clear): deleted also the cache not only LyXText.
375 (setParagraphData): ditto.
377 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
379 * insetfloat.C (latex): let the specific placement take presedence
380 if set, otherwise choose document placement if set, otherwise just
381 use float default placement.
383 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
385 * insettext.C (localDispatch): call CutAndPaste::'s static method
388 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
390 * insetbib.C: no meed to include forms.h here.
392 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
394 * insettext.C: added using std::make_pair directive.
396 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
398 * insettext.C (getLyXText): avoid multiple lookups, and simplify
400 (deleteLyXText): ditto
401 (resizeLyXText): ditto
403 2001-07-02 Juergen Vigna <jug@sad.it>
405 * insettext.C (getLyXText): introduce a cache in getLyXText so that
406 following calls are only returned the right pointer without the over
407 head to search in the map.
408 (various funcs): reset the cached_bview variable as this signs that
409 the cache is not valid anymore.
411 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
413 * insettabular.C (clone): do not copy the LyXTabular twice
415 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
417 * insettext.h (TEXT): delete method
419 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
421 * insetmarginal.C (latex):
422 * insetfoot.C (latex): fix spacing of notes in LaTeX
424 * insettext.C (localDispatch): use .c_str() on istringstream
425 constructor argument.
427 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
432 * inseturl.C: fix method names in these to begin
433 with small char too, so they inherit
435 2001-06-28 Juergen Vigna <jug@sad.it>
437 * insettext.C (setFont): fixed font settings using toggleFree()
438 instead of setFont().
440 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
442 * Change a lot of method names to begin with a small char.
443 Changes to a lot of files because of this.
445 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
447 * insetfloatlist.C (Write): std:: qualify ostream
450 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
454 * insetgraphics.C: send debug output to Debug::INFO instead of
457 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
460 * insettabular.C (getStatus): update to use func_status
462 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
464 * insetref.C (DocBook): added support for cross-references without
467 2001-06-26 The LyX Project <jug@sad.it>
472 * insetlabel.h: removed escape method and moved it to
475 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
477 * insettabular.C (getMaxWidth): do the speedup in a different way,
480 2001-06-24 The LyX Project <Asger>
482 * insettabular.C (getMaxWidth): We cache a mapping from
483 inset to cell in order to speed this method up.
485 2001-06-24 The LyX Project <Asger>
487 * insettext.C: Optimized InsetText::draw or something.
489 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
491 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
493 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
495 * inset.h: name change from lyxinset.h
497 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
499 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
501 2001-06-14 Juergen Vigna <jug@sad.it>
503 * insettext.C (draw): removed warnings.
505 2001-06-13 Juergen Vigna <jug@sad.it>
507 * insettabular.C (nodraw): only go down the tree if we don't have
508 that flag set otherwise it's obvious that we don't want to draw.
509 (LocalDispatch): do also an update if we have an undispached result.
511 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
514 * insetgraphicsParams.C:
515 * insettext.C: removed // -*- C++ -*- as first line.
517 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
519 * lyxinset.h (resizeLyXText): shut off warning about unused
522 2001-06-07 Juergen Vigna <jug@sad.it>
524 * insettext.C (resizeLyXText): honor the new force flag.
526 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
528 * insettabular.C (deleteLyXText): new function
530 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
538 * insetcollapsable.C:
539 * insetcaption.C: LColor tidy
541 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
543 * figinset.C: fix typo
545 2001-06-01 Juergen Vigna <jug@sad.it>
547 * insettabular.C (resetPos): small hack so that scroll is not set to
548 0 when we are in the last column of a tabular. This is a problem we
549 have because of constats 20 offset on both directions, so this can
550 cause on the limit an endless loop.
552 * insettext.C (SetFont): forgot that we can have locking insets ;)
554 2001-05-31 Juergen Vigna <jug@sad.it>
556 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
558 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
560 * figinset.C: add using std:: directive for the C functions which
563 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
565 * insetfloat.C (Write): write out wide info
566 (Read): read the wide info
567 (Latex): use the wide info when creating latex.
569 * insettext.C: adjust
571 * insetgraphics.[Ch] (statusMessage): change to return string
575 * figinset.C (runqueue): add std::
578 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
580 * insetcite.C (Ascii): add std:: qualifier
582 2001-05-28 Juergen Vigna <jug@sad.it>
584 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
585 a endless-width inset (maxWidth < 0).
586 (Edit): change language only if not equal.
588 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
590 * insettext.C (draw): fixed draw/clear of InsetText-Frame
592 2001-05-16 Juergen Vigna <jug@sad.it>
594 * insettext.C (selectAll): added
595 (clearSelection): added
597 * insettabular.C (SetFont): now we may set a font on a whole selection!
598 (getSelection): added helper function.
600 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
602 * insetcite.C (Ascii): Add method.
604 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
607 * insetbib.C: fix path for OS/2 & Win32
609 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * insetfoot.C (Latex): don't use % after footnote.
613 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
615 * insettext.C (Read): use clear
616 (SetParagraphData): use LyXParagraph copy constructor instead of clone
618 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
620 * insetfloatlist.h: add a bunch of std:: qualifiers.
622 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
624 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
625 FLOAT_LIST_CODE, renumber code list.
627 * insettoc.C (getScreenLabel): remove support for float lists
631 * insetfloatlist.[Ch]: new files
633 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
635 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
637 * insettabular.C (LocalDispatch):
638 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
641 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
643 * insettext.C: remvoe !NEW_INSETS cruft
645 * insettabular.C: remove !NEW_INSETS cruft
647 * insetcollapsable.h: remove !NEW_INSETS cruft
649 * insetbib.C: remove !NEW_INSETS cruft
651 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
653 * insettoc.C: hack to make listof algorithm work
655 2001-04-20 Juergen Vigna <jug@sad.it>
657 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
659 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
661 * insetquotes.C (Latex): improve the guard against
662 unwanted !` and ?` ligatures. This should really be done in
663 another place (to catch all this ligatures at low-level).
665 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
667 * insettext.C (init): remvoe leftovers from cursor_visible change
669 (LocalDispatch): dispatch LFUN_MESSAGE
671 * insettabular.C (InsetTabular): remove leftovers from
672 cursor_visible, and scoped_ptr changes
675 * insetcollapsable.C (draw): use c++ cast
677 * ExternalTemplate.h: inherit privaely from noncopyable
678 * insetcommand.h: ditto
679 * insetinclude.h: ditto
681 2001-04-16 Allan Rae <rae@lyx.org>
683 * insettoc.C (Ascii):
684 * insettext.C (draw):
685 * insettabular.C (setPos):
686 * insetminipage.C (Read):
687 * insetfloat.C (placement):
688 * insetcaption.C (Ascii, DocBook):
689 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
690 an unrecognised preprocessor directive. So ensure they're wrapped.
692 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
695 * insetexternal.C: set view on Clone. Add _ to private members.
697 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
699 * insettext.C (InsetText): fix new
700 (InsetText): reindent some, simplify deletion of par list
701 (clear): simplify deletion of par list, fix new
702 (SetParagraphData): simplify deletion of par list
704 * insettabular.[Ch] (getLabelList): implement new method
706 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
708 * lyxinset.h: do not include gettext.h...
716 * insetlatexaccent.C:
720 * inseturl.C: ... and do it here instead
722 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
724 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
726 * insettext.[Ch] (getLabelList): add std:: on vector<string>
728 * insetcollapsable.[Ch] (getLabelList): implement
730 * insettext.[Ch] (getLabelList): implement
732 * insettext.h: reindent
734 * insettabular.h: make tabular a scoped_ptr
736 * insettext.C (init): adjust for cursor_visible
737 (ToggleInsetCursor): constify asc and desc, font, adjust for
739 (ShowInsetCursor): constify asc and desc, font, adjust for
741 (HideInsetCursor): adjust for cursor_visible
743 * insettabular.C: reindent some
744 (InsetTabular): adjust for scoped_ptr and cursor_visible
745 (InsetTabular): ditto
746 (~InsetTabular): delete delete
747 (Clone): adjust for scoped_ptr
748 (Read): constify old_format, adjust for scoped_ptr, move init of
750 (draw): constify tx, localize loop vars.
751 some other localization of variables, remove double initilizatons.
753 * insetfoot.C: remove using std::ostream, add ostream where needed
755 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
757 * lyxinset.h: some reindentaion, use initializer list for
759 UpdatableInset: make cursor_visible a private var add
760 public isCursorVisible(), add protected toggleCursorVisible() and
761 proctected setCursorVisible(bool), make scroll call the Inset::scroll
763 * insettoc.C: remvoe using decl
764 (getScreenLabel): make cmdname donst
767 (Ascii): don't use endl
769 * insetfootlike.C: remove using decl at file scope and add std::
771 * insetmarginal.C: ditto
773 * insetfoot.C: some reformatting
775 * insetfloat.C (InsetButtonRelease): adjust the hit area
777 * insetert.C (SetFont): some reformatting
779 * insetcollapsable.C: some reformatting and constification
780 (Clone): comment out.
781 * insetcollapsable.h: some reformatting
782 (Clone): comment out.
787 2001-03-30 Juergen Vigna <jug@sad.it>
789 * insetcollapsable.h: changen *inset to be a InsetText inset.
791 * some files: changed to reflect the above change.
793 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
795 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
796 InsetExternal::Params.
797 Added operator==() and operator!=() for the Params struct.
799 2001-03-29 Juergen Vigna <jug@sad.it>
801 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
804 * insetminipage.C: removed widthp_ and all it's functions and changed
805 to use new %-lengths of LyXLength.
807 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
809 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
811 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
813 * insetgraphicsParams.C (operator!=): new function, needed by the
814 ControlGraphics class.
816 2001-03-28 Juergen Vigna <jug@sad.it>
818 * insettext.C (InsetButtonPress): only enter !inset if button == 2
819 (checkAndActivateInset): don't use the values returned from
820 call to bv->checkInsetHit.
822 * insetminipage.C (Clone): set special minipage values.
824 * insetcollapsable.C (draw): changed to draw the button in the
825 upper left corner outside the textinset.
826 (ascent): changed because of different drawing
830 (InsetButtonPress): ditto
831 (InsetButtonRelease): ditto
832 (InsetMotionNotify): ditto
834 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
836 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
840 2001-03-26 Juergen Vigna <jug@sad.it>
842 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
844 * insettext.C (ShowInsetDialog): implemented above function.
846 * insettabular.C (ShowInsetDialog): ditto
848 * insetminipage.C (ShowInsetDialog): ditto
850 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
852 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
853 InsetInclude::Params. Don't store a buffer * in Params. Store the
854 master file name instead.
856 2001-03-23 Juergen Vigna <jug@sad.it>
858 * insetcollapsable.C (InsetMotionNotify):
859 (InsetButtonRelease):
860 (InsetButtonPress): fixed y-offset (minipages).
862 * insettext.C (draw): force a FULL update if cleared == true.
864 * insetcollapsable.C (draw): Lars forgotten entry for changing this
865 routine to draw the minipages on its position-flag.
866 (InsetInInsetY): give back the right y position, because of minipage
869 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
872 * insetfloat.C (DocBook): docbook export code.
874 2001-03-22 Juergen Vigna <jug@sad.it>
876 * insetminipage.C (getMaxWidth): added function to set the drawing
878 (Read): should work now!
880 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
881 if we create a new inset.
883 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
885 * figinset.C (fl_set_preemptive_callback): moved definition outside
888 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
890 * insetminipage.C (Read): prepare for reading of minipage arguments.
892 2001-03-18 Baruch Even <baruch@lyx.org>
894 * insetgraphics.C: Minor cleanups of the comments and code.
896 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
898 * insetminipage.C (InsetMinipage): default to not collapsed
900 2001-03-16 Juergen Vigna <jug@sad.it>
902 * insetminipage.C (width): modified with to be a string
903 (widthp): added widthp (for % width) support functions.
904 (InsetButtonRelease): added to open the options dialog on button==3.
905 (~InsetMinipage): added to hide the dialog.
907 * insetminipage.h: added hideDialog signal
909 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
911 * insetminipage.h: change the order or Position to match
912 LyXParagraph::MINIPAGE_ALIGNMENT
914 * several files: remvoe CXX_WORKING_NAMESPACES
916 * ExternalTemplate.h: noncopyable is in namespace boost
917 * insetinclude.h: ditto
918 * insetcommand.h: ditto
920 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
922 * insettext.C (Edit): #else# -> #else.
923 * insettoc.C: added using directive.
925 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
927 * insetminipage.h: add pos, inner_pos, width and height. + getters
928 and setters for all of them.
930 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
932 * insetinclude.C (Latex): Do not exit when the textclass of the
933 included file differ from the textclass of the parent file.
935 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
937 * ExternalTemplate.C (read): the reading of external insets now checks
938 for \end_inset and removes it form the input stream.
940 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
942 * ExternalTemplate.h:
943 * ExternalTemplate.C:
945 * insetexternal.C: move form to GUII
947 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
950 * insetinclude.C: add InsetIncludeParams, use
951 composition rather than derivation of InsetCommand
953 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
955 * insettoc.C (Ascii): use the Buffer typedefs
957 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
959 * insettoc.C (Ascii): implement for dynamic number of lists
961 * insetcaption.[Ch]: update from new_insets branch
962 * insetfloat.[Ch]: ditto
964 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
967 * figinset.C: use new File Dialog
969 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
971 * insettext.C: changes becuase of ParagraphParameters.
973 2001-02-28 Baruch Even <baruch@ev-en.org>
975 * insetgraphics.C (updateInset): Changed due to the change in
978 2001-02-26 Juergen Vigna <jug@sad.it>
980 * insettext.C (SetFont): Set Undo only if we have selection (as it is
983 2001-02-23 Juergen Vigna <jug@sad.it>
985 * insettext.C (draw): some small repainting fixes.
986 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
988 * inset.C (LocalDispatch): changed action to be a kb_action (as it
989 should be) and not an int.
991 * insettabular.C (LocalDispatch): ditto
993 * insettext.C (LocalDispatch): ditto
995 * insetcollapsable.C (LocalDispatch): ditto
997 2001-02-22 Juergen Vigna <jug@sad.it>
999 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1000 DISPATCH it and we don't have a locking_inset.
1002 2001-02-21 Baruch Even <baruch@ev-en.org>
1004 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1005 instead of GraphicsCacheItem *.
1007 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1009 * insetcollapsable.C (getLyXText): add const qualifier to second
1012 2001-02-22 Juergen Vigna <jug@sad.it>
1014 * insettext.C (getLyXText): honor the recursive parameter.
1015 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1017 * inset.C (getLyXText): added bool recursive parameter.
1019 * insettext.C (SetUpdateStatus): or the update codes.
1020 (draw): check need_update with &.
1021 (InsetButtonPress): set no_selection to not put a selection when
1022 entering an inset and it is redraws in another spot.
1024 * insettext.h: made need_update an int.
1026 2001-02-20 Baruch Even <baruch@ev-en.org>
1029 * insetgraphisc.C: Changed to use better semantics when loading images
1030 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1032 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1036 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1037 consistent with InsetTabular.
1039 2001-02-19 Juergen Vigna <jug@sad.it>
1041 * insettabular.C (LocalDispatch): implement PAGE up/down.
1043 * insettext.C (draw): clear all of it on need_update==INIT too!
1045 * insettabular.C (InsetUnlock): always clear the selection.
1047 * inset.C (scroll): normally we only want to scroll the inset until
1048 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1050 2001-02-14 Juergen Vigna <jug@sad.it>
1052 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1053 (resetPos): fixed scroll behaviour.
1054 (LocalDispatch): do an update if moving cursor inside a table cell
1055 requests a scroll of the tabular.
1057 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1059 * insettext.C (textWidth): constify local var
1061 * insettabular.C: small cleanup.
1063 * insetfoot.C (Latex): constify local var
1065 * insetcollapsable.C: small cleanup.
1067 * figinset.C (runqueue): use compare instead of strcmp
1069 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1072 * insetinfo.C: remove cruft
1074 2001-02-14 Juergen Vigna <jug@sad.it>
1076 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1078 2001-02-13 Juergen Vigna <jug@sad.it>
1080 * insettext.C (InsertInset): don't move left (is this right?)
1082 * insettabular.C (LocalDispatch): use of the no_draw variable
1084 * insettabular.h: new no_draw variable to stop redraw
1086 * insettabular.C (TabularFeatures): fixed update for alignment change
1088 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1092 * insetbib.C: move dialogs to frontends/
1094 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1096 * insettext.C (LocalDispatch): Restore the language if the inset
1099 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1101 * insettext.C (moveRightIntern): Update the selection cursor.
1102 (moveLeftIntern): Ditto.
1104 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1106 * Makefile.am: remove BoundingBox.h
1108 * BoundingBox.h: removed
1110 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1112 * insettext.C (LocalDispatch): Update selection cursor when moving
1113 cursor to the right.
1114 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1115 (moveLeftIntern): Ditto.
1117 2001-02-05 Baruch Even <baruch.even@writeme.com>
1119 * insetgraphics.C: Updated automatic image conversion, it now goes into
1120 temporary directory instead of with the image itself.
1122 2001-01-21 Baruch Even <baruch@ev-en.org>
1124 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1125 to EPS or PNG when needed (support bitmap graphics).
1127 2000-11-02 Baruch Even <baruch@ev-en.org>
1130 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1131 and removal of commented out code.
1133 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1135 * insetbib.C (callback): Update citations if the key has changed.
1137 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1139 * insetbib.C (InsetBibKey): Better computation of default key.
1140 (getScreenLabel) Show both the key and the label.
1141 (getBibLabel): New method.
1142 (callback): Force a redraw if the inset have been changed.
1144 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1146 * insetref.C (getType, getName): Move methods from
1147 src/frontends/xforms/FormRef.C.
1149 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1151 * insettabular.C: Various improvements (use only one dummy position).
1153 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1155 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1156 par->bibkey->width. This fixes the crashes when running without
1157 gui or when having included documents.
1159 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1161 * insetcommand.C (getAsString, setFromString): Cleanup.
1163 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1165 * insetref.C: Add the array InsetRef::types that contains
1166 information about all supported reference types.
1168 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1170 * lyxinset.h: remove trailing comma in enum.
1172 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1174 * insettext.C: kill LyXBell.