1 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insetminipage.C (read): handle missing parameters more gracefully
5 * insetcollapsable.C (read): handel missing collapsed more gracefully
7 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9 * insetfloat.C (read): handle missing parameters.
11 * insettext.C (read): handle old latex end_inset
13 * insetert.C (setButtonLabel): new method
14 (init): use it, to set the dynamic label correctly
17 * Makefile.am (EXTRA_DIST): add files that is not part or the
20 * insetcollapsable.h: remove autocollapsable (no users), remove
21 draw_label, change_label_with_text and companion code. Remove args
23 * insetert.[Ch]: move here instead (only user)
25 * inset.h: rename private variable name to name_, make
26 selectNextWord return a const string. make getInsetName return a
27 string const &. Remove bool from open, add close.
29 * Makefile.am: don't compile insetlist, insetsection
32 2001-07-24 Juergen Vigna <jug@sad.it>
34 * insetert.C (InsetERT): put init after the paragraph initialization,
35 as otherwise we don't set the draw_label right.
37 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
38 insets with the mouse without having strange selections.
39 (edit): if the inset was collapsed and we open it here then put the
40 cursor always at the beginning of the inset.
41 (get_new_label): 15 instead of 10 max chars in the label.
43 * insetert.C (localDispatch): added and handle various stuff we
44 need to handle here (font setting on paragraph break, not permitted
45 layout setting, etc.).
47 * inset.h: added default copy-consturctor and implemented this in
48 various insets with the change to use this in the clone function!
50 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * insetminipage.C (InsetMinipage): set background color to red :)
54 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
57 draw frame mode is LOCKED.
59 * insetcollapsable.C (edit):
60 (insetButtonRelease): set update status to full when
63 * insettext.C (clearInset):
64 * insettabular.C (draw):
65 * insetlatexaccent.C (draw): honor background color.
67 * inset.h: new member background_color_, initialized to
70 * inset.C (backgroundColor): new method.
71 (setBackgroundColor): new method.
73 * insetert.C (init): new method, called by the ctors.
74 (InsetERT): when inserting contents, make sure the font is
77 * insetnote.C (InsetNote): when inserting content, remove trailing
79 (init): set background color to LColor::note
81 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
83 * insetcollapsable.C: adjust
85 * insetbutton.C: adjust
87 2001-07-23 Juergen Vigna <jug@sad.it>
89 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
90 parameter on the _collapsed function (was not needed) and call
91 always width_collapsed().
93 * insetert.C (InsetERT): use setLabel with "true" flag.
95 * insetcollapsable.C: modified various functions to set the draw_label
96 string right in any condition.
97 (setLabel): added a bool parameter to set change_label_with_text.
99 * insetcollapsable.h: added draw_label string which is set to the
100 actual drawn label-string, while label is the original static label
101 of this collapsable inset. Added bool change_label_with_text to set
102 if we want that the label changes to the start of the InsetText's
103 text when collabpsed. You can set this flag with the setLabel funciton.
104 Added bool inlined for inlined collapsable insets, but not handled
107 * insetcollapsable.C (get_new_label): added should get a new label
108 from the InsetText beginning (for now 10 chars).
110 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
112 * insetquotes.C (latex): fix the handling of french double quotes
113 when not using the french pachage.
115 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * insetcollapsable.h: make WidthCollapsed mutable.
119 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
120 InsetPrintIndex returns INDEX_PRINT_CODE.
122 * inset.h: add INDEX_PRINT_CODE
124 * insetcollapsable.C (draw): init widthCollapsed if necessary
127 * insetquotes.C (width): use the local language, not the document
130 (dispString): add additional spacing for all french languages,
132 (validate): make it work when there is no default language
134 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
136 * insetnote.C (init): new method, called by the constructors
137 (InsetNote): new constructor with contents passed as a string
139 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * insetfootlike.C (insetAllowed): disallow float in footlike.
143 * insetert.C (InsetERT): add collapsed argument to the constrctor
146 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
148 * insetindex.h: shut off warning
150 2001-07-20 Juergen Vigna <jug@sad.it>
152 * insetcollapsable.C (update): recoded hopefully works now!
154 2001-07-19 Juergen Vigna <jug@sad.it>
156 * most files: implemented the below new introduced function.
158 * inset.h: added new edit(BufferView *, bool front) method to be able
159 to enter an inset from the front/back without knowing x/y positions
160 and baselines inside the inset. So I just can tell the inset activate
161 me and set the cursor on the front/back of yourself.
163 2001-07-18 Juergen Vigna <jug@sad.it>
165 * insetcollapsable.C (edit): fixed hopefully the y parameter which
166 is givven to the InsetText.
167 (insetButtonPress): ditto
168 (insetButtonRelease): ditto
169 (insetMotionNotify): ditto
171 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
173 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
174 LIGATURE_BREAK, since the name is so stupid.
176 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
178 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
179 the default InsetCollapsable methods. I.e., it can insert anything.
180 (write) output the name of the inset, not some silly hack for
181 compatability with the old InsetInfo.
183 * insetinfo.[Ch]: removed.
184 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
185 now collapsable, but functionality is otherwise identical to InsetInfo.
187 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
189 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
191 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
194 * insetquotes.C: general cleanup
195 (dispString): add spaces inside french double quotes.
196 (latex): ditto. Moreover, treat first the case where the frenchb
197 or french options have been given.
199 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
201 * insetcite.[Ch] (latex, validate): new methods, required for natbib
204 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
206 * figinset.C (RegisterFigure): Print debug message only when
207 current_view is available.
209 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * many files: update to match the change below
213 * inset.h (insetAllowed): renamed from insertInsetAllowed;
214 implement the version which takes an inset here.
216 * insetcollapsable.[Ch]: implement open and isOpen
218 * inset.h: remove insertInsetAllowed from Inset
219 (open): new method, to open or close an inset
220 (isOpen): returns the status of an inset
221 (isCollapsable, colapse): removed
223 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
225 * insetquotes.C (dispString): display french guillemets when using
228 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
230 * insetcollapsable.h: remove bogus return statements
232 2001-07-18 Juergen Vigna <jug@sad.it>
234 * insettabular.C (selectNextWord): fixed spellchecking for the
235 first cell of a tabular (wasn't entered!)
236 (getLyXText): changed to enter automatically insettext and return
237 it's LyXText if we're locked.
239 2001-07-17 Juergen Vigna <jug@sad.it>
241 * various files: implemented the below functions.
243 * inset.h: added functions
244 - virtual string selectNextWord(BufferView *, float & value) const;
245 - virtual void selectSelectedWord(BufferView *) { return; }
246 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
247 needed for spellchecking correctly!
249 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
251 * insetert.C (latex): write out all paragraphs.
253 2001-07-17 Baruch Even <baruch@lyx.org>
255 * insetgraphics.C (draw): Removed unneeded casts.
257 2001-07-16 Juergen Vigna <jug@sad.it>
259 * insettext.C (update): fixed small oversight (reset lt to 0).
261 2001-07-14 Baruch Even <baruch@lyx.org>
264 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
266 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
268 Consistent use of Lsstream.h:
269 * figinset.C: removed using std::ostringstream directive.
271 * insetgraphics.C (createLatexOptions):
272 * insetinclude.C (unique_id):
273 std::ostringstream -> ostringstream.
274 * insettext.C (localDispatch): std::istringstream -> istringstream.
276 2001-07-13 Juergen Vigna <jug@sad.it>
278 * insetfloat.C (insertInsetAllowed): added missing const_cast.
280 * insetcollapsable.C (getLockingInset): ditto.
282 2001-07-12 Juergen Vigna <jug@sad.it>
284 * insetcollapsable.h: added implementation of new function for
287 * various files: added implementation of new insertInsetAllowed-func
288 and redone the function a bit more.
290 * inset.h: added isCollapsable(), bool collapsed(),
291 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
293 * insetfloat.C (insertInsetAllowed): make a bit more checks.
295 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
296 LyXText which is marked for removal while we're using it!
298 * insettext.h: added private LyXText * lt to use it to assure we are
299 not deleting our LyXText while we're using it!
301 2001-07-11 Juergen Vigna <jug@sad.it>
303 * insettext.C (insertInset): check if we are before the inset after
304 inserting it! This check IS needed. Remove the Undo-Call as it is
305 called in LyXText::insertInset!
307 * insettext.h: added struct InnerCache.
309 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
310 that we ONLY delete the LyXText in the getLyXText() routine. So we
311 are sure we don't delete LyXText while someone is working with it!
313 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
315 * insetexternal.C: (*it). -> it->
318 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
320 * insetcollapsable.C (edit): always open collapsed insets (even if
321 they are not autocollapsable)
323 * insetcommand.C (operator=): simplify.
325 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
327 * insetert.C (latex): handle META_NEWLINE
329 2001-07-09 Juergen Vigna <jug@sad.it>
331 * insetert.h: a normal InsetText can insert insets, but we won't.
333 * inset.h: return default "false" on insertInsetAllowed and implement
334 this function where a returnvalue != "false" is needed.
336 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
338 * insetert.C (InsetERT): new contructor
340 2001-07-06 Juergen Vigna <jug@sad.it>
342 * a lot of files: added implementation of the below new functions
343 and the change to clone(). Also the call of the new undo-functions
346 * inset.h: added an inset_id, added functions getParFromID,
347 getInsetFromID, firstParagraph, cursor and id functions, added
348 bool same_ids to clone function.
350 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
352 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
353 of BufferView * and shared_ptr<LyXText>
355 2001-07-05 Juergen Vigna <jug@sad.it>
357 * insettext.C (clear): deleted also the cache not only LyXText.
358 (setParagraphData): ditto.
360 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
362 * insetfloat.C (latex): let the specific placement take presedence
363 if set, otherwise choose document placement if set, otherwise just
364 use float default placement.
366 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
368 * insettext.C (localDispatch): call CutAndPaste::'s static method
371 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
373 * insetbib.C: no meed to include forms.h here.
375 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
377 * insettext.C: added using std::make_pair directive.
379 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
381 * insettext.C (getLyXText): avoid multiple lookups, and simplify
383 (deleteLyXText): ditto
384 (resizeLyXText): ditto
386 2001-07-02 Juergen Vigna <jug@sad.it>
388 * insettext.C (getLyXText): introduce a cache in getLyXText so that
389 following calls are only returned the right pointer without the over
390 head to search in the map.
391 (various funcs): reset the cached_bview variable as this signs that
392 the cache is not valid anymore.
394 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
396 * insettabular.C (clone): do not copy the LyXTabular twice
398 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
400 * insettext.h (TEXT): delete method
402 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
404 * insetmarginal.C (latex):
405 * insetfoot.C (latex): fix spacing of notes in LaTeX
407 * insettext.C (localDispatch): use .c_str() on istringstream
408 constructor argument.
410 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
415 * inseturl.C: fix method names in these to begin
416 with small char too, so they inherit
418 2001-06-28 Juergen Vigna <jug@sad.it>
420 * insettext.C (setFont): fixed font settings using toggleFree()
421 instead of setFont().
423 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
425 * Change a lot of method names to begin with a small char.
426 Changes to a lot of files because of this.
428 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
430 * insetfloatlist.C (Write): std:: qualify ostream
433 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
437 * insetgraphics.C: send debug output to Debug::INFO instead of
440 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
443 * insettabular.C (getStatus): update to use func_status
445 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
447 * insetref.C (DocBook): added support for cross-references without
450 2001-06-26 The LyX Project <jug@sad.it>
455 * insetlabel.h: removed escape method and moved it to
458 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
460 * insettabular.C (getMaxWidth): do the speedup in a different way,
463 2001-06-24 The LyX Project <Asger>
465 * insettabular.C (getMaxWidth): We cache a mapping from
466 inset to cell in order to speed this method up.
468 2001-06-24 The LyX Project <Asger>
470 * insettext.C: Optimized InsetText::draw or something.
472 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
474 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
476 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
478 * inset.h: name change from lyxinset.h
480 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
482 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
484 2001-06-14 Juergen Vigna <jug@sad.it>
486 * insettext.C (draw): removed warnings.
488 2001-06-13 Juergen Vigna <jug@sad.it>
490 * insettabular.C (nodraw): only go down the tree if we don't have
491 that flag set otherwise it's obvious that we don't want to draw.
492 (LocalDispatch): do also an update if we have an undispached result.
494 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
497 * insetgraphicsParams.C:
498 * insettext.C: removed // -*- C++ -*- as first line.
500 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
502 * lyxinset.h (resizeLyXText): shut off warning about unused
505 2001-06-07 Juergen Vigna <jug@sad.it>
507 * insettext.C (resizeLyXText): honor the new force flag.
509 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
511 * insettabular.C (deleteLyXText): new function
513 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
521 * insetcollapsable.C:
522 * insetcaption.C: LColor tidy
524 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
526 * figinset.C: fix typo
528 2001-06-01 Juergen Vigna <jug@sad.it>
530 * insettabular.C (resetPos): small hack so that scroll is not set to
531 0 when we are in the last column of a tabular. This is a problem we
532 have because of constats 20 offset on both directions, so this can
533 cause on the limit an endless loop.
535 * insettext.C (SetFont): forgot that we can have locking insets ;)
537 2001-05-31 Juergen Vigna <jug@sad.it>
539 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
541 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
543 * figinset.C: add using std:: directive for the C functions which
546 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
548 * insetfloat.C (Write): write out wide info
549 (Read): read the wide info
550 (Latex): use the wide info when creating latex.
552 * insettext.C: adjust
554 * insetgraphics.[Ch] (statusMessage): change to return string
558 * figinset.C (runqueue): add std::
561 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
563 * insetcite.C (Ascii): add std:: qualifier
565 2001-05-28 Juergen Vigna <jug@sad.it>
567 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
568 a endless-width inset (maxWidth < 0).
569 (Edit): change language only if not equal.
571 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
573 * insettext.C (draw): fixed draw/clear of InsetText-Frame
575 2001-05-16 Juergen Vigna <jug@sad.it>
577 * insettext.C (selectAll): added
578 (clearSelection): added
580 * insettabular.C (SetFont): now we may set a font on a whole selection!
581 (getSelection): added helper function.
583 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
585 * insetcite.C (Ascii): Add method.
587 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
590 * insetbib.C: fix path for OS/2 & Win32
592 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * insetfoot.C (Latex): don't use % after footnote.
596 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
598 * insettext.C (Read): use clear
599 (SetParagraphData): use LyXParagraph copy constructor instead of clone
601 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
603 * insetfloatlist.h: add a bunch of std:: qualifiers.
605 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
607 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
608 FLOAT_LIST_CODE, renumber code list.
610 * insettoc.C (getScreenLabel): remove support for float lists
614 * insetfloatlist.[Ch]: new files
616 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
618 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
620 * insettabular.C (LocalDispatch):
621 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
624 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
626 * insettext.C: remvoe !NEW_INSETS cruft
628 * insettabular.C: remove !NEW_INSETS cruft
630 * insetcollapsable.h: remove !NEW_INSETS cruft
632 * insetbib.C: remove !NEW_INSETS cruft
634 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
636 * insettoc.C: hack to make listof algorithm work
638 2001-04-20 Juergen Vigna <jug@sad.it>
640 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
642 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
644 * insetquotes.C (Latex): improve the guard against
645 unwanted !` and ?` ligatures. This should really be done in
646 another place (to catch all this ligatures at low-level).
648 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
650 * insettext.C (init): remvoe leftovers from cursor_visible change
652 (LocalDispatch): dispatch LFUN_MESSAGE
654 * insettabular.C (InsetTabular): remove leftovers from
655 cursor_visible, and scoped_ptr changes
658 * insetcollapsable.C (draw): use c++ cast
660 * ExternalTemplate.h: inherit privaely from noncopyable
661 * insetcommand.h: ditto
662 * insetinclude.h: ditto
664 2001-04-16 Allan Rae <rae@lyx.org>
666 * insettoc.C (Ascii):
667 * insettext.C (draw):
668 * insettabular.C (setPos):
669 * insetminipage.C (Read):
670 * insetfloat.C (placement):
671 * insetcaption.C (Ascii, DocBook):
672 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
673 an unrecognised preprocessor directive. So ensure they're wrapped.
675 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
678 * insetexternal.C: set view on Clone. Add _ to private members.
680 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
682 * insettext.C (InsetText): fix new
683 (InsetText): reindent some, simplify deletion of par list
684 (clear): simplify deletion of par list, fix new
685 (SetParagraphData): simplify deletion of par list
687 * insettabular.[Ch] (getLabelList): implement new method
689 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
691 * lyxinset.h: do not include gettext.h...
699 * insetlatexaccent.C:
703 * inseturl.C: ... and do it here instead
705 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
707 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
709 * insettext.[Ch] (getLabelList): add std:: on vector<string>
711 * insetcollapsable.[Ch] (getLabelList): implement
713 * insettext.[Ch] (getLabelList): implement
715 * insettext.h: reindent
717 * insettabular.h: make tabular a scoped_ptr
719 * insettext.C (init): adjust for cursor_visible
720 (ToggleInsetCursor): constify asc and desc, font, adjust for
722 (ShowInsetCursor): constify asc and desc, font, adjust for
724 (HideInsetCursor): adjust for cursor_visible
726 * insettabular.C: reindent some
727 (InsetTabular): adjust for scoped_ptr and cursor_visible
728 (InsetTabular): ditto
729 (~InsetTabular): delete delete
730 (Clone): adjust for scoped_ptr
731 (Read): constify old_format, adjust for scoped_ptr, move init of
733 (draw): constify tx, localize loop vars.
734 some other localization of variables, remove double initilizatons.
736 * insetfoot.C: remove using std::ostream, add ostream where needed
738 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
740 * lyxinset.h: some reindentaion, use initializer list for
742 UpdatableInset: make cursor_visible a private var add
743 public isCursorVisible(), add protected toggleCursorVisible() and
744 proctected setCursorVisible(bool), make scroll call the Inset::scroll
746 * insettoc.C: remvoe using decl
747 (getScreenLabel): make cmdname donst
750 (Ascii): don't use endl
752 * insetfootlike.C: remove using decl at file scope and add std::
754 * insetmarginal.C: ditto
756 * insetfoot.C: some reformatting
758 * insetfloat.C (InsetButtonRelease): adjust the hit area
760 * insetert.C (SetFont): some reformatting
762 * insetcollapsable.C: some reformatting and constification
763 (Clone): comment out.
764 * insetcollapsable.h: some reformatting
765 (Clone): comment out.
770 2001-03-30 Juergen Vigna <jug@sad.it>
772 * insetcollapsable.h: changen *inset to be a InsetText inset.
774 * some files: changed to reflect the above change.
776 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
778 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
779 InsetExternal::Params.
780 Added operator==() and operator!=() for the Params struct.
782 2001-03-29 Juergen Vigna <jug@sad.it>
784 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
787 * insetminipage.C: removed widthp_ and all it's functions and changed
788 to use new %-lengths of LyXLength.
790 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
792 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
794 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
796 * insetgraphicsParams.C (operator!=): new function, needed by the
797 ControlGraphics class.
799 2001-03-28 Juergen Vigna <jug@sad.it>
801 * insettext.C (InsetButtonPress): only enter !inset if button == 2
802 (checkAndActivateInset): don't use the values returned from
803 call to bv->checkInsetHit.
805 * insetminipage.C (Clone): set special minipage values.
807 * insetcollapsable.C (draw): changed to draw the button in the
808 upper left corner outside the textinset.
809 (ascent): changed because of different drawing
813 (InsetButtonPress): ditto
814 (InsetButtonRelease): ditto
815 (InsetMotionNotify): ditto
817 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
819 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
823 2001-03-26 Juergen Vigna <jug@sad.it>
825 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
827 * insettext.C (ShowInsetDialog): implemented above function.
829 * insettabular.C (ShowInsetDialog): ditto
831 * insetminipage.C (ShowInsetDialog): ditto
833 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
835 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
836 InsetInclude::Params. Don't store a buffer * in Params. Store the
837 master file name instead.
839 2001-03-23 Juergen Vigna <jug@sad.it>
841 * insetcollapsable.C (InsetMotionNotify):
842 (InsetButtonRelease):
843 (InsetButtonPress): fixed y-offset (minipages).
845 * insettext.C (draw): force a FULL update if cleared == true.
847 * insetcollapsable.C (draw): Lars forgotten entry for changing this
848 routine to draw the minipages on its position-flag.
849 (InsetInInsetY): give back the right y position, because of minipage
852 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
855 * insetfloat.C (DocBook): docbook export code.
857 2001-03-22 Juergen Vigna <jug@sad.it>
859 * insetminipage.C (getMaxWidth): added function to set the drawing
861 (Read): should work now!
863 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
864 if we create a new inset.
866 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
868 * figinset.C (fl_set_preemptive_callback): moved definition outside
871 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
873 * insetminipage.C (Read): prepare for reading of minipage arguments.
875 2001-03-18 Baruch Even <baruch@lyx.org>
877 * insetgraphics.C: Minor cleanups of the comments and code.
879 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
881 * insetminipage.C (InsetMinipage): default to not collapsed
883 2001-03-16 Juergen Vigna <jug@sad.it>
885 * insetminipage.C (width): modified with to be a string
886 (widthp): added widthp (for % width) support functions.
887 (InsetButtonRelease): added to open the options dialog on button==3.
888 (~InsetMinipage): added to hide the dialog.
890 * insetminipage.h: added hideDialog signal
892 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
894 * insetminipage.h: change the order or Position to match
895 LyXParagraph::MINIPAGE_ALIGNMENT
897 * several files: remvoe CXX_WORKING_NAMESPACES
899 * ExternalTemplate.h: noncopyable is in namespace boost
900 * insetinclude.h: ditto
901 * insetcommand.h: ditto
903 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
905 * insettext.C (Edit): #else# -> #else.
906 * insettoc.C: added using directive.
908 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
910 * insetminipage.h: add pos, inner_pos, width and height. + getters
911 and setters for all of them.
913 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
915 * insetinclude.C (Latex): Do not exit when the textclass of the
916 included file differ from the textclass of the parent file.
918 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
920 * ExternalTemplate.C (read): the reading of external insets now checks
921 for \end_inset and removes it form the input stream.
923 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
925 * ExternalTemplate.h:
926 * ExternalTemplate.C:
928 * insetexternal.C: move form to GUII
930 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
933 * insetinclude.C: add InsetIncludeParams, use
934 composition rather than derivation of InsetCommand
936 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
938 * insettoc.C (Ascii): use the Buffer typedefs
940 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
942 * insettoc.C (Ascii): implement for dynamic number of lists
944 * insetcaption.[Ch]: update from new_insets branch
945 * insetfloat.[Ch]: ditto
947 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
950 * figinset.C: use new File Dialog
952 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
954 * insettext.C: changes becuase of ParagraphParameters.
956 2001-02-28 Baruch Even <baruch@ev-en.org>
958 * insetgraphics.C (updateInset): Changed due to the change in
961 2001-02-26 Juergen Vigna <jug@sad.it>
963 * insettext.C (SetFont): Set Undo only if we have selection (as it is
966 2001-02-23 Juergen Vigna <jug@sad.it>
968 * insettext.C (draw): some small repainting fixes.
969 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
971 * inset.C (LocalDispatch): changed action to be a kb_action (as it
972 should be) and not an int.
974 * insettabular.C (LocalDispatch): ditto
976 * insettext.C (LocalDispatch): ditto
978 * insetcollapsable.C (LocalDispatch): ditto
980 2001-02-22 Juergen Vigna <jug@sad.it>
982 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
983 DISPATCH it and we don't have a locking_inset.
985 2001-02-21 Baruch Even <baruch@ev-en.org>
987 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
988 instead of GraphicsCacheItem *.
990 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
992 * insetcollapsable.C (getLyXText): add const qualifier to second
995 2001-02-22 Juergen Vigna <jug@sad.it>
997 * insettext.C (getLyXText): honor the recursive parameter.
998 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1000 * inset.C (getLyXText): added bool recursive parameter.
1002 * insettext.C (SetUpdateStatus): or the update codes.
1003 (draw): check need_update with &.
1004 (InsetButtonPress): set no_selection to not put a selection when
1005 entering an inset and it is redraws in another spot.
1007 * insettext.h: made need_update an int.
1009 2001-02-20 Baruch Even <baruch@ev-en.org>
1012 * insetgraphisc.C: Changed to use better semantics when loading images
1013 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1015 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1019 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1020 consistent with InsetTabular.
1022 2001-02-19 Juergen Vigna <jug@sad.it>
1024 * insettabular.C (LocalDispatch): implement PAGE up/down.
1026 * insettext.C (draw): clear all of it on need_update==INIT too!
1028 * insettabular.C (InsetUnlock): always clear the selection.
1030 * inset.C (scroll): normally we only want to scroll the inset until
1031 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1033 2001-02-14 Juergen Vigna <jug@sad.it>
1035 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1036 (resetPos): fixed scroll behaviour.
1037 (LocalDispatch): do an update if moving cursor inside a table cell
1038 requests a scroll of the tabular.
1040 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1042 * insettext.C (textWidth): constify local var
1044 * insettabular.C: small cleanup.
1046 * insetfoot.C (Latex): constify local var
1048 * insetcollapsable.C: small cleanup.
1050 * figinset.C (runqueue): use compare instead of strcmp
1052 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1055 * insetinfo.C: remove cruft
1057 2001-02-14 Juergen Vigna <jug@sad.it>
1059 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1061 2001-02-13 Juergen Vigna <jug@sad.it>
1063 * insettext.C (InsertInset): don't move left (is this right?)
1065 * insettabular.C (LocalDispatch): use of the no_draw variable
1067 * insettabular.h: new no_draw variable to stop redraw
1069 * insettabular.C (TabularFeatures): fixed update for alignment change
1071 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1075 * insetbib.C: move dialogs to frontends/
1077 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1079 * insettext.C (LocalDispatch): Restore the language if the inset
1082 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1084 * insettext.C (moveRightIntern): Update the selection cursor.
1085 (moveLeftIntern): Ditto.
1087 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1089 * Makefile.am: remove BoundingBox.h
1091 * BoundingBox.h: removed
1093 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1095 * insettext.C (LocalDispatch): Update selection cursor when moving
1096 cursor to the right.
1097 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1098 (moveLeftIntern): Ditto.
1100 2001-02-05 Baruch Even <baruch.even@writeme.com>
1102 * insetgraphics.C: Updated automatic image conversion, it now goes into
1103 temporary directory instead of with the image itself.
1105 2001-01-21 Baruch Even <baruch@ev-en.org>
1107 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1108 to EPS or PNG when needed (support bitmap graphics).
1110 2000-11-02 Baruch Even <baruch@ev-en.org>
1113 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1114 and removal of commented out code.
1116 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1118 * insetbib.C (callback): Update citations if the key has changed.
1120 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1122 * insetbib.C (InsetBibKey): Better computation of default key.
1123 (getScreenLabel) Show both the key and the label.
1124 (getBibLabel): New method.
1125 (callback): Force a redraw if the inset have been changed.
1127 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1129 * insetref.C (getType, getName): Move methods from
1130 src/frontends/xforms/FormRef.C.
1132 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1134 * insettabular.C: Various improvements (use only one dummy position).
1136 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1138 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1139 par->bibkey->width. This fixes the crashes when running without
1140 gui or when having included documents.
1142 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1144 * insetcommand.C (getAsString, setFromString): Cleanup.
1146 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1148 * insetref.C: Add the array InsetRef::types that contains
1149 information about all supported reference types.
1151 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1153 * lyxinset.h: remove trailing comma in enum.
1155 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1157 * insettext.C: kill LyXBell.