1 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6 2001-07-27 Juergen Vigna <jug@sad.it>
8 * inset.h: remove not used font variable in parameter.
9 removed checkInsertChar in UpdatableInset as it was equal to
10 the one in Inset and so not needed.
12 * insetert.C (checkInsertChar): implementation of function
15 * inset.h: added new function checkInsertChar.
17 * various files: added c-tor and clone() function.
19 * insetcollapsable.h: removed clone function here as this should
20 be only realized in REAL insets and added it to all collapsable
21 insets! (with the copy-constructor).
23 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
25 * insetminipage.C (read): handle missing parameters more gracefully
27 * insetcollapsable.C (read): handel missing collapsed more gracefully
29 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
31 * insetfloat.C (read): handle missing parameters.
33 * insettext.C (read): handle old latex end_inset
35 * insetert.C (setButtonLabel): new method
36 (init): use it, to set the dynamic label correctly
39 * Makefile.am (EXTRA_DIST): add files that is not part or the
42 * insetcollapsable.h: remove autocollapsable (no users), remove
43 draw_label, change_label_with_text and companion code. Remove args
45 * insetert.[Ch]: move here instead (only user)
47 * inset.h: rename private variable name to name_, make
48 selectNextWord return a const string. make getInsetName return a
49 string const &. Remove bool from open, add close.
51 * Makefile.am: don't compile insetlist, insetsection
54 2001-07-24 Juergen Vigna <jug@sad.it>
56 * insetert.C (InsetERT): put init after the paragraph initialization,
57 as otherwise we don't set the draw_label right.
59 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
60 insets with the mouse without having strange selections.
61 (edit): if the inset was collapsed and we open it here then put the
62 cursor always at the beginning of the inset.
63 (get_new_label): 15 instead of 10 max chars in the label.
65 * insetert.C (localDispatch): added and handle various stuff we
66 need to handle here (font setting on paragraph break, not permitted
67 layout setting, etc.).
69 * inset.h: added default copy-consturctor and implemented this in
70 various insets with the change to use this in the clone function!
72 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * insetminipage.C (InsetMinipage): set background color to red :)
76 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
79 draw frame mode is LOCKED.
81 * insetcollapsable.C (edit):
82 (insetButtonRelease): set update status to full when
85 * insettext.C (clearInset):
86 * insettabular.C (draw):
87 * insetlatexaccent.C (draw): honor background color.
89 * inset.h: new member background_color_, initialized to
92 * inset.C (backgroundColor): new method.
93 (setBackgroundColor): new method.
95 * insetert.C (init): new method, called by the ctors.
96 (InsetERT): when inserting contents, make sure the font is
99 * insetnote.C (InsetNote): when inserting content, remove trailing
101 (init): set background color to LColor::note
103 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * insetcollapsable.C: adjust
107 * insetbutton.C: adjust
109 2001-07-23 Juergen Vigna <jug@sad.it>
111 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
112 parameter on the _collapsed function (was not needed) and call
113 always width_collapsed().
115 * insetert.C (InsetERT): use setLabel with "true" flag.
117 * insetcollapsable.C: modified various functions to set the draw_label
118 string right in any condition.
119 (setLabel): added a bool parameter to set change_label_with_text.
121 * insetcollapsable.h: added draw_label string which is set to the
122 actual drawn label-string, while label is the original static label
123 of this collapsable inset. Added bool change_label_with_text to set
124 if we want that the label changes to the start of the InsetText's
125 text when collabpsed. You can set this flag with the setLabel funciton.
126 Added bool inlined for inlined collapsable insets, but not handled
129 * insetcollapsable.C (get_new_label): added should get a new label
130 from the InsetText beginning (for now 10 chars).
132 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
134 * insetquotes.C (latex): fix the handling of french double quotes
135 when not using the french pachage.
137 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * insetcollapsable.h: make WidthCollapsed mutable.
141 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
142 InsetPrintIndex returns INDEX_PRINT_CODE.
144 * inset.h: add INDEX_PRINT_CODE
146 * insetcollapsable.C (draw): init widthCollapsed if necessary
149 * insetquotes.C (width): use the local language, not the document
152 (dispString): add additional spacing for all french languages,
154 (validate): make it work when there is no default language
156 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
158 * insetnote.C (init): new method, called by the constructors
159 (InsetNote): new constructor with contents passed as a string
161 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 * insetfootlike.C (insetAllowed): disallow float in footlike.
165 * insetert.C (InsetERT): add collapsed argument to the constrctor
168 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
170 * insetindex.h: shut off warning
172 2001-07-20 Juergen Vigna <jug@sad.it>
174 * insetcollapsable.C (update): recoded hopefully works now!
176 2001-07-19 Juergen Vigna <jug@sad.it>
178 * most files: implemented the below new introduced function.
180 * inset.h: added new edit(BufferView *, bool front) method to be able
181 to enter an inset from the front/back without knowing x/y positions
182 and baselines inside the inset. So I just can tell the inset activate
183 me and set the cursor on the front/back of yourself.
185 2001-07-18 Juergen Vigna <jug@sad.it>
187 * insetcollapsable.C (edit): fixed hopefully the y parameter which
188 is givven to the InsetText.
189 (insetButtonPress): ditto
190 (insetButtonRelease): ditto
191 (insetMotionNotify): ditto
193 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
195 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
196 LIGATURE_BREAK, since the name is so stupid.
198 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
200 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
201 the default InsetCollapsable methods. I.e., it can insert anything.
202 (write) output the name of the inset, not some silly hack for
203 compatability with the old InsetInfo.
205 * insetinfo.[Ch]: removed.
206 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
207 now collapsable, but functionality is otherwise identical to InsetInfo.
209 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
211 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
216 * insetquotes.C: general cleanup
217 (dispString): add spaces inside french double quotes.
218 (latex): ditto. Moreover, treat first the case where the frenchb
219 or french options have been given.
221 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
223 * insetcite.[Ch] (latex, validate): new methods, required for natbib
226 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
228 * figinset.C (RegisterFigure): Print debug message only when
229 current_view is available.
231 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * many files: update to match the change below
235 * inset.h (insetAllowed): renamed from insertInsetAllowed;
236 implement the version which takes an inset here.
238 * insetcollapsable.[Ch]: implement open and isOpen
240 * inset.h: remove insertInsetAllowed from Inset
241 (open): new method, to open or close an inset
242 (isOpen): returns the status of an inset
243 (isCollapsable, colapse): removed
245 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
247 * insetquotes.C (dispString): display french guillemets when using
250 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
252 * insetcollapsable.h: remove bogus return statements
254 2001-07-18 Juergen Vigna <jug@sad.it>
256 * insettabular.C (selectNextWord): fixed spellchecking for the
257 first cell of a tabular (wasn't entered!)
258 (getLyXText): changed to enter automatically insettext and return
259 it's LyXText if we're locked.
261 2001-07-17 Juergen Vigna <jug@sad.it>
263 * various files: implemented the below functions.
265 * inset.h: added functions
266 - virtual string selectNextWord(BufferView *, float & value) const;
267 - virtual void selectSelectedWord(BufferView *) { return; }
268 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
269 needed for spellchecking correctly!
271 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
273 * insetert.C (latex): write out all paragraphs.
275 2001-07-17 Baruch Even <baruch@lyx.org>
277 * insetgraphics.C (draw): Removed unneeded casts.
279 2001-07-16 Juergen Vigna <jug@sad.it>
281 * insettext.C (update): fixed small oversight (reset lt to 0).
283 2001-07-14 Baruch Even <baruch@lyx.org>
286 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
288 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
290 Consistent use of Lsstream.h:
291 * figinset.C: removed using std::ostringstream directive.
293 * insetgraphics.C (createLatexOptions):
294 * insetinclude.C (unique_id):
295 std::ostringstream -> ostringstream.
296 * insettext.C (localDispatch): std::istringstream -> istringstream.
298 2001-07-13 Juergen Vigna <jug@sad.it>
300 * insetfloat.C (insertInsetAllowed): added missing const_cast.
302 * insetcollapsable.C (getLockingInset): ditto.
304 2001-07-12 Juergen Vigna <jug@sad.it>
306 * insetcollapsable.h: added implementation of new function for
309 * various files: added implementation of new insertInsetAllowed-func
310 and redone the function a bit more.
312 * inset.h: added isCollapsable(), bool collapsed(),
313 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
315 * insetfloat.C (insertInsetAllowed): make a bit more checks.
317 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
318 LyXText which is marked for removal while we're using it!
320 * insettext.h: added private LyXText * lt to use it to assure we are
321 not deleting our LyXText while we're using it!
323 2001-07-11 Juergen Vigna <jug@sad.it>
325 * insettext.C (insertInset): check if we are before the inset after
326 inserting it! This check IS needed. Remove the Undo-Call as it is
327 called in LyXText::insertInset!
329 * insettext.h: added struct InnerCache.
331 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
332 that we ONLY delete the LyXText in the getLyXText() routine. So we
333 are sure we don't delete LyXText while someone is working with it!
335 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
337 * insetexternal.C: (*it). -> it->
340 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
342 * insetcollapsable.C (edit): always open collapsed insets (even if
343 they are not autocollapsable)
345 * insetcommand.C (operator=): simplify.
347 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
349 * insetert.C (latex): handle META_NEWLINE
351 2001-07-09 Juergen Vigna <jug@sad.it>
353 * insetert.h: a normal InsetText can insert insets, but we won't.
355 * inset.h: return default "false" on insertInsetAllowed and implement
356 this function where a returnvalue != "false" is needed.
358 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
360 * insetert.C (InsetERT): new contructor
362 2001-07-06 Juergen Vigna <jug@sad.it>
364 * a lot of files: added implementation of the below new functions
365 and the change to clone(). Also the call of the new undo-functions
368 * inset.h: added an inset_id, added functions getParFromID,
369 getInsetFromID, firstParagraph, cursor and id functions, added
370 bool same_ids to clone function.
372 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
374 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
375 of BufferView * and shared_ptr<LyXText>
377 2001-07-05 Juergen Vigna <jug@sad.it>
379 * insettext.C (clear): deleted also the cache not only LyXText.
380 (setParagraphData): ditto.
382 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
384 * insetfloat.C (latex): let the specific placement take presedence
385 if set, otherwise choose document placement if set, otherwise just
386 use float default placement.
388 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
390 * insettext.C (localDispatch): call CutAndPaste::'s static method
393 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
395 * insetbib.C: no meed to include forms.h here.
397 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
399 * insettext.C: added using std::make_pair directive.
401 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
403 * insettext.C (getLyXText): avoid multiple lookups, and simplify
405 (deleteLyXText): ditto
406 (resizeLyXText): ditto
408 2001-07-02 Juergen Vigna <jug@sad.it>
410 * insettext.C (getLyXText): introduce a cache in getLyXText so that
411 following calls are only returned the right pointer without the over
412 head to search in the map.
413 (various funcs): reset the cached_bview variable as this signs that
414 the cache is not valid anymore.
416 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
418 * insettabular.C (clone): do not copy the LyXTabular twice
420 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
422 * insettext.h (TEXT): delete method
424 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
426 * insetmarginal.C (latex):
427 * insetfoot.C (latex): fix spacing of notes in LaTeX
429 * insettext.C (localDispatch): use .c_str() on istringstream
430 constructor argument.
432 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
437 * inseturl.C: fix method names in these to begin
438 with small char too, so they inherit
440 2001-06-28 Juergen Vigna <jug@sad.it>
442 * insettext.C (setFont): fixed font settings using toggleFree()
443 instead of setFont().
445 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
447 * Change a lot of method names to begin with a small char.
448 Changes to a lot of files because of this.
450 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
452 * insetfloatlist.C (Write): std:: qualify ostream
455 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
459 * insetgraphics.C: send debug output to Debug::INFO instead of
462 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
465 * insettabular.C (getStatus): update to use func_status
467 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
469 * insetref.C (DocBook): added support for cross-references without
472 2001-06-26 The LyX Project <jug@sad.it>
477 * insetlabel.h: removed escape method and moved it to
480 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * insettabular.C (getMaxWidth): do the speedup in a different way,
485 2001-06-24 The LyX Project <Asger>
487 * insettabular.C (getMaxWidth): We cache a mapping from
488 inset to cell in order to speed this method up.
490 2001-06-24 The LyX Project <Asger>
492 * insettext.C: Optimized InsetText::draw or something.
494 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
496 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
498 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
500 * inset.h: name change from lyxinset.h
502 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
504 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
506 2001-06-14 Juergen Vigna <jug@sad.it>
508 * insettext.C (draw): removed warnings.
510 2001-06-13 Juergen Vigna <jug@sad.it>
512 * insettabular.C (nodraw): only go down the tree if we don't have
513 that flag set otherwise it's obvious that we don't want to draw.
514 (LocalDispatch): do also an update if we have an undispached result.
516 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
519 * insetgraphicsParams.C:
520 * insettext.C: removed // -*- C++ -*- as first line.
522 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
524 * lyxinset.h (resizeLyXText): shut off warning about unused
527 2001-06-07 Juergen Vigna <jug@sad.it>
529 * insettext.C (resizeLyXText): honor the new force flag.
531 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
533 * insettabular.C (deleteLyXText): new function
535 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
543 * insetcollapsable.C:
544 * insetcaption.C: LColor tidy
546 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
548 * figinset.C: fix typo
550 2001-06-01 Juergen Vigna <jug@sad.it>
552 * insettabular.C (resetPos): small hack so that scroll is not set to
553 0 when we are in the last column of a tabular. This is a problem we
554 have because of constats 20 offset on both directions, so this can
555 cause on the limit an endless loop.
557 * insettext.C (SetFont): forgot that we can have locking insets ;)
559 2001-05-31 Juergen Vigna <jug@sad.it>
561 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
563 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
565 * figinset.C: add using std:: directive for the C functions which
568 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
570 * insetfloat.C (Write): write out wide info
571 (Read): read the wide info
572 (Latex): use the wide info when creating latex.
574 * insettext.C: adjust
576 * insetgraphics.[Ch] (statusMessage): change to return string
580 * figinset.C (runqueue): add std::
583 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
585 * insetcite.C (Ascii): add std:: qualifier
587 2001-05-28 Juergen Vigna <jug@sad.it>
589 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
590 a endless-width inset (maxWidth < 0).
591 (Edit): change language only if not equal.
593 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
595 * insettext.C (draw): fixed draw/clear of InsetText-Frame
597 2001-05-16 Juergen Vigna <jug@sad.it>
599 * insettext.C (selectAll): added
600 (clearSelection): added
602 * insettabular.C (SetFont): now we may set a font on a whole selection!
603 (getSelection): added helper function.
605 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
607 * insetcite.C (Ascii): Add method.
609 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
612 * insetbib.C: fix path for OS/2 & Win32
614 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
616 * insetfoot.C (Latex): don't use % after footnote.
618 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
620 * insettext.C (Read): use clear
621 (SetParagraphData): use LyXParagraph copy constructor instead of clone
623 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
625 * insetfloatlist.h: add a bunch of std:: qualifiers.
627 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
630 FLOAT_LIST_CODE, renumber code list.
632 * insettoc.C (getScreenLabel): remove support for float lists
636 * insetfloatlist.[Ch]: new files
638 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
640 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
642 * insettabular.C (LocalDispatch):
643 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
646 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
648 * insettext.C: remvoe !NEW_INSETS cruft
650 * insettabular.C: remove !NEW_INSETS cruft
652 * insetcollapsable.h: remove !NEW_INSETS cruft
654 * insetbib.C: remove !NEW_INSETS cruft
656 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
658 * insettoc.C: hack to make listof algorithm work
660 2001-04-20 Juergen Vigna <jug@sad.it>
662 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
664 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
666 * insetquotes.C (Latex): improve the guard against
667 unwanted !` and ?` ligatures. This should really be done in
668 another place (to catch all this ligatures at low-level).
670 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
672 * insettext.C (init): remvoe leftovers from cursor_visible change
674 (LocalDispatch): dispatch LFUN_MESSAGE
676 * insettabular.C (InsetTabular): remove leftovers from
677 cursor_visible, and scoped_ptr changes
680 * insetcollapsable.C (draw): use c++ cast
682 * ExternalTemplate.h: inherit privaely from noncopyable
683 * insetcommand.h: ditto
684 * insetinclude.h: ditto
686 2001-04-16 Allan Rae <rae@lyx.org>
688 * insettoc.C (Ascii):
689 * insettext.C (draw):
690 * insettabular.C (setPos):
691 * insetminipage.C (Read):
692 * insetfloat.C (placement):
693 * insetcaption.C (Ascii, DocBook):
694 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
695 an unrecognised preprocessor directive. So ensure they're wrapped.
697 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
700 * insetexternal.C: set view on Clone. Add _ to private members.
702 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
704 * insettext.C (InsetText): fix new
705 (InsetText): reindent some, simplify deletion of par list
706 (clear): simplify deletion of par list, fix new
707 (SetParagraphData): simplify deletion of par list
709 * insettabular.[Ch] (getLabelList): implement new method
711 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
713 * lyxinset.h: do not include gettext.h...
721 * insetlatexaccent.C:
725 * inseturl.C: ... and do it here instead
727 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
729 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
731 * insettext.[Ch] (getLabelList): add std:: on vector<string>
733 * insetcollapsable.[Ch] (getLabelList): implement
735 * insettext.[Ch] (getLabelList): implement
737 * insettext.h: reindent
739 * insettabular.h: make tabular a scoped_ptr
741 * insettext.C (init): adjust for cursor_visible
742 (ToggleInsetCursor): constify asc and desc, font, adjust for
744 (ShowInsetCursor): constify asc and desc, font, adjust for
746 (HideInsetCursor): adjust for cursor_visible
748 * insettabular.C: reindent some
749 (InsetTabular): adjust for scoped_ptr and cursor_visible
750 (InsetTabular): ditto
751 (~InsetTabular): delete delete
752 (Clone): adjust for scoped_ptr
753 (Read): constify old_format, adjust for scoped_ptr, move init of
755 (draw): constify tx, localize loop vars.
756 some other localization of variables, remove double initilizatons.
758 * insetfoot.C: remove using std::ostream, add ostream where needed
760 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
762 * lyxinset.h: some reindentaion, use initializer list for
764 UpdatableInset: make cursor_visible a private var add
765 public isCursorVisible(), add protected toggleCursorVisible() and
766 proctected setCursorVisible(bool), make scroll call the Inset::scroll
768 * insettoc.C: remvoe using decl
769 (getScreenLabel): make cmdname donst
772 (Ascii): don't use endl
774 * insetfootlike.C: remove using decl at file scope and add std::
776 * insetmarginal.C: ditto
778 * insetfoot.C: some reformatting
780 * insetfloat.C (InsetButtonRelease): adjust the hit area
782 * insetert.C (SetFont): some reformatting
784 * insetcollapsable.C: some reformatting and constification
785 (Clone): comment out.
786 * insetcollapsable.h: some reformatting
787 (Clone): comment out.
792 2001-03-30 Juergen Vigna <jug@sad.it>
794 * insetcollapsable.h: changen *inset to be a InsetText inset.
796 * some files: changed to reflect the above change.
798 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
800 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
801 InsetExternal::Params.
802 Added operator==() and operator!=() for the Params struct.
804 2001-03-29 Juergen Vigna <jug@sad.it>
806 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
809 * insetminipage.C: removed widthp_ and all it's functions and changed
810 to use new %-lengths of LyXLength.
812 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
814 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
816 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
818 * insetgraphicsParams.C (operator!=): new function, needed by the
819 ControlGraphics class.
821 2001-03-28 Juergen Vigna <jug@sad.it>
823 * insettext.C (InsetButtonPress): only enter !inset if button == 2
824 (checkAndActivateInset): don't use the values returned from
825 call to bv->checkInsetHit.
827 * insetminipage.C (Clone): set special minipage values.
829 * insetcollapsable.C (draw): changed to draw the button in the
830 upper left corner outside the textinset.
831 (ascent): changed because of different drawing
835 (InsetButtonPress): ditto
836 (InsetButtonRelease): ditto
837 (InsetMotionNotify): ditto
839 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
841 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
845 2001-03-26 Juergen Vigna <jug@sad.it>
847 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
849 * insettext.C (ShowInsetDialog): implemented above function.
851 * insettabular.C (ShowInsetDialog): ditto
853 * insetminipage.C (ShowInsetDialog): ditto
855 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
857 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
858 InsetInclude::Params. Don't store a buffer * in Params. Store the
859 master file name instead.
861 2001-03-23 Juergen Vigna <jug@sad.it>
863 * insetcollapsable.C (InsetMotionNotify):
864 (InsetButtonRelease):
865 (InsetButtonPress): fixed y-offset (minipages).
867 * insettext.C (draw): force a FULL update if cleared == true.
869 * insetcollapsable.C (draw): Lars forgotten entry for changing this
870 routine to draw the minipages on its position-flag.
871 (InsetInInsetY): give back the right y position, because of minipage
874 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
877 * insetfloat.C (DocBook): docbook export code.
879 2001-03-22 Juergen Vigna <jug@sad.it>
881 * insetminipage.C (getMaxWidth): added function to set the drawing
883 (Read): should work now!
885 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
886 if we create a new inset.
888 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
890 * figinset.C (fl_set_preemptive_callback): moved definition outside
893 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
895 * insetminipage.C (Read): prepare for reading of minipage arguments.
897 2001-03-18 Baruch Even <baruch@lyx.org>
899 * insetgraphics.C: Minor cleanups of the comments and code.
901 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
903 * insetminipage.C (InsetMinipage): default to not collapsed
905 2001-03-16 Juergen Vigna <jug@sad.it>
907 * insetminipage.C (width): modified with to be a string
908 (widthp): added widthp (for % width) support functions.
909 (InsetButtonRelease): added to open the options dialog on button==3.
910 (~InsetMinipage): added to hide the dialog.
912 * insetminipage.h: added hideDialog signal
914 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
916 * insetminipage.h: change the order or Position to match
917 LyXParagraph::MINIPAGE_ALIGNMENT
919 * several files: remvoe CXX_WORKING_NAMESPACES
921 * ExternalTemplate.h: noncopyable is in namespace boost
922 * insetinclude.h: ditto
923 * insetcommand.h: ditto
925 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
927 * insettext.C (Edit): #else# -> #else.
928 * insettoc.C: added using directive.
930 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
932 * insetminipage.h: add pos, inner_pos, width and height. + getters
933 and setters for all of them.
935 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
937 * insetinclude.C (Latex): Do not exit when the textclass of the
938 included file differ from the textclass of the parent file.
940 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
942 * ExternalTemplate.C (read): the reading of external insets now checks
943 for \end_inset and removes it form the input stream.
945 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
947 * ExternalTemplate.h:
948 * ExternalTemplate.C:
950 * insetexternal.C: move form to GUII
952 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
955 * insetinclude.C: add InsetIncludeParams, use
956 composition rather than derivation of InsetCommand
958 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
960 * insettoc.C (Ascii): use the Buffer typedefs
962 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
964 * insettoc.C (Ascii): implement for dynamic number of lists
966 * insetcaption.[Ch]: update from new_insets branch
967 * insetfloat.[Ch]: ditto
969 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
972 * figinset.C: use new File Dialog
974 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
976 * insettext.C: changes becuase of ParagraphParameters.
978 2001-02-28 Baruch Even <baruch@ev-en.org>
980 * insetgraphics.C (updateInset): Changed due to the change in
983 2001-02-26 Juergen Vigna <jug@sad.it>
985 * insettext.C (SetFont): Set Undo only if we have selection (as it is
988 2001-02-23 Juergen Vigna <jug@sad.it>
990 * insettext.C (draw): some small repainting fixes.
991 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
993 * inset.C (LocalDispatch): changed action to be a kb_action (as it
994 should be) and not an int.
996 * insettabular.C (LocalDispatch): ditto
998 * insettext.C (LocalDispatch): ditto
1000 * insetcollapsable.C (LocalDispatch): ditto
1002 2001-02-22 Juergen Vigna <jug@sad.it>
1004 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1005 DISPATCH it and we don't have a locking_inset.
1007 2001-02-21 Baruch Even <baruch@ev-en.org>
1009 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1010 instead of GraphicsCacheItem *.
1012 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1014 * insetcollapsable.C (getLyXText): add const qualifier to second
1017 2001-02-22 Juergen Vigna <jug@sad.it>
1019 * insettext.C (getLyXText): honor the recursive parameter.
1020 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1022 * inset.C (getLyXText): added bool recursive parameter.
1024 * insettext.C (SetUpdateStatus): or the update codes.
1025 (draw): check need_update with &.
1026 (InsetButtonPress): set no_selection to not put a selection when
1027 entering an inset and it is redraws in another spot.
1029 * insettext.h: made need_update an int.
1031 2001-02-20 Baruch Even <baruch@ev-en.org>
1034 * insetgraphisc.C: Changed to use better semantics when loading images
1035 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1037 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1041 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1042 consistent with InsetTabular.
1044 2001-02-19 Juergen Vigna <jug@sad.it>
1046 * insettabular.C (LocalDispatch): implement PAGE up/down.
1048 * insettext.C (draw): clear all of it on need_update==INIT too!
1050 * insettabular.C (InsetUnlock): always clear the selection.
1052 * inset.C (scroll): normally we only want to scroll the inset until
1053 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1055 2001-02-14 Juergen Vigna <jug@sad.it>
1057 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1058 (resetPos): fixed scroll behaviour.
1059 (LocalDispatch): do an update if moving cursor inside a table cell
1060 requests a scroll of the tabular.
1062 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1064 * insettext.C (textWidth): constify local var
1066 * insettabular.C: small cleanup.
1068 * insetfoot.C (Latex): constify local var
1070 * insetcollapsable.C: small cleanup.
1072 * figinset.C (runqueue): use compare instead of strcmp
1074 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1077 * insetinfo.C: remove cruft
1079 2001-02-14 Juergen Vigna <jug@sad.it>
1081 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1083 2001-02-13 Juergen Vigna <jug@sad.it>
1085 * insettext.C (InsertInset): don't move left (is this right?)
1087 * insettabular.C (LocalDispatch): use of the no_draw variable
1089 * insettabular.h: new no_draw variable to stop redraw
1091 * insettabular.C (TabularFeatures): fixed update for alignment change
1093 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1097 * insetbib.C: move dialogs to frontends/
1099 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1101 * insettext.C (LocalDispatch): Restore the language if the inset
1104 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1106 * insettext.C (moveRightIntern): Update the selection cursor.
1107 (moveLeftIntern): Ditto.
1109 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1111 * Makefile.am: remove BoundingBox.h
1113 * BoundingBox.h: removed
1115 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1117 * insettext.C (LocalDispatch): Update selection cursor when moving
1118 cursor to the right.
1119 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1120 (moveLeftIntern): Ditto.
1122 2001-02-05 Baruch Even <baruch.even@writeme.com>
1124 * insetgraphics.C: Updated automatic image conversion, it now goes into
1125 temporary directory instead of with the image itself.
1127 2001-01-21 Baruch Even <baruch@ev-en.org>
1129 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1130 to EPS or PNG when needed (support bitmap graphics).
1132 2000-11-02 Baruch Even <baruch@ev-en.org>
1135 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1136 and removal of commented out code.
1138 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1140 * insetbib.C (callback): Update citations if the key has changed.
1142 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1144 * insetbib.C (InsetBibKey): Better computation of default key.
1145 (getScreenLabel) Show both the key and the label.
1146 (getBibLabel): New method.
1147 (callback): Force a redraw if the inset have been changed.
1149 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1151 * insetref.C (getType, getName): Move methods from
1152 src/frontends/xforms/FormRef.C.
1154 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1156 * insettabular.C: Various improvements (use only one dummy position).
1158 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1160 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1161 par->bibkey->width. This fixes the crashes when running without
1162 gui or when having included documents.
1164 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1166 * insetcommand.C (getAsString, setFromString): Cleanup.
1168 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1170 * insetref.C: Add the array InsetRef::types that contains
1171 information about all supported reference types.
1173 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1175 * lyxinset.h: remove trailing comma in enum.
1177 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1179 * insettext.C: kill LyXBell.