2 2003-05-13 André Pönitz <poenitz@gmx.net>
9 * insetwrap.C: tostr from own header
21 * insetwrap.C: STRCONV
24 2003-05-12 André Pönitz <poenitz@gmx.net>
36 * insetwwrap.C: boost::format -> bformat all over the place
38 2003-05-05 André Pönitz <poenitz@gmx.net>
40 * insettext.h: add missing #include <map>
42 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
44 * insettext.C (InsetText): parlist cleanup
49 (lockInsetInInset): ditto
53 (searchBackward): ditto
54 (collapseParagraphs): ditto
56 2003-05-06 John Levon <levon@movementarian.org>
58 * insetcaption.C: don't cast wrap inset to InsetFloat
61 * insetfloat.C: remove unneeded type() function
63 2003-05-05 André Pönitz <poenitz@gmx.net>
68 * insetcollapsable.[Ch]: remove unused function firstParagraph()
69 replace getFirstParagraph() by getParagraphs()
71 2003-05-03 John Levon <levon@movementarian.org>
80 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
81 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
82 getCursor(). Remove explicit cursor hides.
84 2003-05-02 André Pönitz <poenitz@gmx.net>
86 * insettext.C: remove unneeded &*
88 2003-04-30 John Levon <levon@movementarian.org>
90 * insettabular.C: fix edit message
92 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
94 * insettext.C (setFont): do not convert iterator -> pointer
96 * insettabular.C (localDispatch): do not convert iterator -> pointer
98 (tabularFeatures): ditto
100 2003-04-29 André Pönitz <poenitz@gmx.net>
102 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
104 2003-04-28 André Pönitz <poenitz@gmx.net>
106 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
109 2003-04-25 André Pönitz <poenitz@gmx.net>
111 * insetenv.C: derive from InsetText instead of InsetCollapsable
113 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
115 * insetexternal.C (string2params): dont do anything if the string
117 * insetgraphics.C (string2params): ditto
118 * insetcommand.C (string2params): ditto
119 * insetert.C (string2params): ditto
120 * insetfloat.C (string2params): ditto
121 * insetinclude.C (string2params): ditto
122 * insetminipage.C (string2params): ditto
123 * insettabular.C (string2params): ditto
124 * insetwrap.C (string2params): ditto
126 2003-04-24 André Pönitz <poenitz@gmx.net>
128 * insetref.C: support for eqref
130 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
132 * insetert.C (read): use ParagraphList::iterator.
134 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
136 * insetquotes.C (latex): comment some code and add warnings.
138 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
140 * insetexternal.C (localDispatch): added a missing DISPATCHED
142 2003-04-12 John Levon <levon@movementarian.org>
144 * insetwrap.C (addToToc): fix a crash, conversion
145 from while to for loop forgot to remove the explicit
148 2003-04-10 John Levon <levon@movementarian.org>
150 * insettabular.C (tabularFeature): make sure
151 to update the dialog when we change something
154 (getStatus): don't disable some lfuns (bug 939)
156 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
158 * insettext.C (saveLyXTextState): adjust
159 (localDispatch): adjust
165 * insettabular.C (localDispatch): adjust
167 (tabularFeatures): adjust
169 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
171 * insettabular.C (searchForward,searchBackward): fix bug 782
173 2003-04-07 John Levon <levon@movementarian.org>
176 * insettext.C: clear status message on inset exit
178 2003-04-03 John Levon <levon@movementarian.org>
180 * insetcommand.C: return dispatched on DIALOG_UPDATE
182 2003-04-02 John Levon <levon@movementarian.org>
184 * insettabular.C: tab lfuns renamed
186 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
188 * insettext.C (update): move towards ParagraphList
193 (lockInsetInInset): ditto
194 (updateInsetInInset): ditto
195 (localDispatch): ditto
198 (resizeLyXText): ditto
199 (searchBackward): ditto
200 (collapseParagraphs): ditto
203 * insetwrap.C (InsetWrap): adjust
204 (addToToc): adjust and rewrite loop
206 * insettext.[Ch] (paragraph): delete function
208 * insettabular.C (moveNextCell): adjust
209 (movePrevCell): adjust
210 (insertAsciiString): adjust
212 * insetfloat.C (InsetFloat): adjust
215 * insetert.C (InsetERT): adjust
216 (write): adjust, and rewrite loop
217 (latex): adjust, and rewrite loop
218 (linuxdoc): adjust, and rewrite loop
219 (docbook): adjust, and rewrite loop
220 (localDispatch): adjust
221 (get_new_label): adjust
223 2003-04-01 John Levon <levon@movementarian.org>
225 From Alfredo Braunstein
228 * insetbutton.C: add localDispatch()
230 * insetcommand.C: return DISPATCHED when edit() called
232 * insettext.C: fix bug 967
234 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
236 * insettext.C: adjust
238 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * insettext.C (draw): adjust
241 (crow): return a RowList::iterator not a Row*
243 * insetminipage.C (localDispatch): adjust
245 * insetert.C (localDispatch): adjust
247 2003-03-31 John Levon <levon@movementarian.org>
250 * insetgraphicsParams.C: use_gui moved to lyx_gui
252 2003-03-31 John Levon <levon@movementarian.org>
254 * insettext.C: Alert fix
256 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
258 * insettext.C (ascent): adjust for RowList
262 (toggleSelection): adjust
264 * insetminipage.C (localDispatch): adjust for RowList
266 * insetert.C (localDispatch): adjust for RowList
267 (getMaxWidth): adjust for RowList
269 2003-03-29 John Levon <levon@movementarian.org>
271 * insetert.C: Alert cleanup
273 2003-03-29 John Levon <levon@movementarian.org>
275 * insettabular.C: Alert fix
277 2003-03-28 John Levon <levon@movementarian.org>
279 * insetfloat.C: reset label on INSET_MODIFY
281 2003-03-28 John Levon <levon@movementarian.org>
283 * insetgraphicsParams.C: read subcaptionText as a whole line
286 2003-03-28 John Levon <levon@movementarian.org>
288 * insettext.C: remove unused prototypes
290 2003-03-25 Angus Leeming <leeming@lyx.org>
292 * insetbibitem.C (localDispatch): repaint the view after modifying
293 a bibitem inset in case the maximum InsetBibitem width has changed.
295 2003-03-25 John Levon <levon@movementarian.org>
298 * insettabular.C: LyXText renamings
300 2003-03-24 John Levon <levon@movementarian.org>
302 * insettext.C: remove some dead code. Fix bug 972 and
303 related by posting a repaint in updateLocal(), and making
304 the SEL functions set SELECTION.
306 2003-03-22 John Levon <levon@movementarian.org>
309 * inset.C: remove no-longer-needed topx_set
311 * insetcollapsable.h:
312 * insetcollapsable.C: remove dead code
315 * insetert.C: rebreak the rows when a possible
316 change in size is made, and reset the cursor
319 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
321 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
322 topx_set. Fix drawing errors for clearInset(). Remove
323 some unnecessary uses of topx, which should die.
325 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
326 is no longer needed. Replace it with an ugly hack.
328 2003-03-20 John Levon <levon@movementarian.org>
331 * insetcollapsable.h:
332 * insetcollapsable.C:
340 * insettext.C: remove spurious font parameter
341 from update(). Fix drawing of ERT insets inside
342 insets (bug 966). Remove unused mark_dirty from
343 tabular's updateLocal()
345 2003-03-19 John Levon <levon@movementarian.org>
354 * insetwrap.C: remove unused getter/setters
356 2003-03-19 John Levon <levon@movementarian.org>
358 * several files: bv->updateInset() doesn't take
359 a bool mark_dirty any more
361 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
363 * adjust for BufferView* arg removal from lyxtext.
365 2003-03-17 John Levon <levon@movementarian.org>
367 * most files: remove the "cleared" parameter
368 to draw in favour of always clearing. Associated
371 2003-03-16 John Levon <levon@movementarian.org>
373 * insettext.C: remove unused s.refresh
375 2003-03-13 Angus Leeming <leeming@lyx.org>
377 * insettext.C (edit): replace Dialogs::updateParagraph with
378 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
380 2003-03-13 André Pönitz <poenitz@gmx.net>
382 * Makefile.am: insert insetenv
384 * insethenv.[Ch]: new files, currently inactive
386 2003-03-12 John Levon <levon@movementarian.org>
396 * insettext.C: use new insetnewline
398 2003-03-12 John Levon <levon@movementarian.org>
400 * insettext.C: readToken became readParagraph
402 2003-03-12 John Levon <levon@movementarian.org>
404 * insettext.C: use parlist iterator for reading contents
406 2003-03-12 John Levon <levon@movementarian.org>
408 * insettext.C: name change to readToken()
410 2003-03-11 André Pönitz <poenitz@gmx.net>
412 * Makefile.am: insert insethfill
414 * insethfill.[Ch]: new files
416 2003-03-10 Angus Leeming <leeming@lyx.org>
418 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
420 (hideDialog): calls the new static Dialogs::hide() method.
422 * insetbibitem.C (edit):
423 * insetbibtex.C (edit):
424 * insetcite.C (edit):
425 * insetcommand.C (localDispatch):
426 * inseterror.C (d-tor):
427 * insetert.C (showInsetDialog):
428 * insetexternal.C (localDispatch, edit):
429 * insetfloat.C (localDispatch, showInsetDialog):
430 * insetfloatlist.C (edit):
431 * insetgraphics.C (localDispatch, edit):
432 * insetinclude.C (localDispatch, edit):
433 * insetindex.C (edit):
434 * insetlabel.C (edit):
435 * insetminipage.C (localDispatch, showInsetDialog):
437 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
438 resetPos, showInsetDialog, openLayoutDialog):
441 * insetwrap.C (localDispatch, showInsetDialog):
442 changes due to the changed MailInset interface.
444 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
446 * insetfloat.h: Set default placement to an empty string.
448 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
450 * insettext.C (latex): adjust call to latexParagraphs.
452 2003-03-10 Angus Leeming <leeming@lyx.org>
454 * mailinset.C: warn the user if the BufferView has not been cached.
456 2003-03-10 Angus Leeming <leeming@lyx.org>
458 * inset.h, insetbase.h: move cache() and view() into InsetBase.
460 * insetcommand.h (inset):
461 * insetert.h (inset):
462 * insetexternal.h (inset):
463 * insetfloat.h (inset):
464 * insetgraphics.h (inset):
465 * insetinclude.h (inset):
466 * insetminipage.h (inset):
467 * insettabular.h (inset):
468 * insetwrap.h (inset):
469 * mailinset.h (inset): return an InsetBase &, not an Inset &.
471 2003-03-10 Angus Leeming <leeming@lyx.org>
473 * insetcommand.C (string2params):
474 * insetexternal.C (string2params):
475 * insetfloat.C (string2params):
476 * insetgraphics.C (string2params):
477 * insetinclude.C (string2params):
478 * insetminipage.C (string2params):
479 * insettabular.C (string2params):
480 * insetwrap.C (string2params): cure warning message about missing
483 2003-03-09 Angus Leeming <leeming@lyx.org>
485 * insettabular.[Ch]: define a new class InsetTabularMailer and use
486 it to communicate with the frontend dialogs.
488 * mailinset.C (hideDialog): only hide the dialog if it is showing the
489 contents of this inset!
491 2003-03-07 Angus Leeming <leeming@lyx.org>
493 * inseterror.C (localDispatch): new method; calls edit() on
496 2003-03-07 Angus Leeming <leeming@lyx.org>
498 * insetbibitem.C (localDispatch):
499 * insetbibtex.C (localDispatch):
500 * insetlabel.C (localDispatch):
503 2003-03-07 Angus Leeming <leeming@lyx.org>
505 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
506 it to communicate with the frontend dialogs.
508 2003-03-07 Angus Leeming <leeming@lyx.org>
510 * insetexternal.C: remove operator== and operator!= for
511 InsetExternal::Params. They were used only by the old controller
514 2003-03-07 Angus Leeming <leeming@lyx.org>
516 * insetcommand.C (localDispatch):
517 * insetexternal.C (localDispatch):
518 * insetfloat.C (localDispatch):
519 * insetinclude.C (localDispatch):
520 * insetminipage.C (localDispatch):
521 * insetwrap.C (localDispatch):
522 add LFUN_INSET_DIALOG_UPDATE to the switch.
524 2003-03-07 Angus Leeming <leeming@lyx.org>
526 * insetcommand.C (string2params):
527 * insetexternal.C (string2params):
528 * insetfloat.C (string2params):
529 * insetinclude.C (string2params):
530 * insetwrap.C (string2params): use LyXLeX more.
533 * insetexternal.[Ch]:
536 * insetwrap.[Ch]: change Mailer::name_ to be static.
538 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
539 it to communicate with the frontend dialogs.
541 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
544 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
546 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * insettext.C (updateLocal): un-const function
549 (updateLocal): adjust
550 (collapseParagraphs): un-const function
551 (collapseParagraphs): adjust
553 2003-03-05 Angus Leeming <leeming@lyx.org>
555 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
556 it to communicate with the frontend dialogs.
558 2003-03-05 Angus Leeming <leeming@lyx.org>
560 * insetcollapsable.C (draw): cache the BufferView.
562 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
563 it to communicate with the frontend dialogs.
565 2003-03-05 Angus Leeming <leeming@lyx.org>
567 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
570 2003-03-05 Angus Leeming <leeming@lyx.org>
572 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
574 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
575 it to communicate with the frontend dialogs.
577 2003-03-05 Angus Leeming <leeming@lyx.org>
579 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
580 it to communicate with the frontend dialogs.
582 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
584 * insettext.C (collapseParagraphs): adjust
585 (appendParagraphs): make it take a Buffer* instead of a
586 BufferParams& as arg.
587 (appendParagraphs): adjust
589 2003-03-04 Angus Leeming <leeming@lyx.org>
591 * insetbibitem.C (localDispatch):
592 * insetbibtex.C (localDispatch):
593 * insetcommand.C (localDispatch):
594 * insetert.C (localDispatch):
595 * insetlabel.C (localDispatch):
596 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
598 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
600 * insettext.C (latex): adjust for ParagraphList::iterator
602 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
604 * insetbutton.C (view): adjust for boost 1.30.0
605 * insetcollapsable.C (view): ditto
606 * insetgraphics.C (statusChanged): ditto
608 * insettext.h: move paragraphs to be public.
610 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
612 * insetnote.[Ch] (InsetNote): remove unused constructor
614 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
616 * insetgraphics.C: added include "format.h"
618 2003-02-27 Angus Leeming <leeming@lyx.org>
620 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
623 2003-02-27 Angus Leeming <leeming@lyx.org>
625 * insetbibitem.C (localDispatch):
626 * insetbibtex.C (localDispatch):
629 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
631 2003-02-26 Angus Leeming <leeming@lyx.org>
633 * insetbibitem.[Ch] (localDispatch):
634 * insetbibtex.[Ch] (localDispatch):
635 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
637 * insetcommand.C (localDispatch):
638 act only on receipt of LFUN_XYZ_APPLY.
640 * insetert.C (localDispatch): reformat.
641 add LFUN_XYZ_APPLY to the switch.
643 2003-02-26 John Levon <levon@movementarian.org>
645 * insettext.C: use RowPainter
647 * inset.h: make helpers take const *
649 2003-02-26 Angus Leeming <leeming@lyx.org>
651 * insetcommand.[Ch] (localDispatch): new method.
653 2003-02-26 Angus Leeming <leeming@lyx.org>
655 * insetinclude.C (draw): cache the BufferView* using cache not
658 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
660 * insetgraphics.C (draw)
661 * insetinclude.C (draw): Eliminate also the other argument (owner
662 inset inset) in the call to PreviewImage::image
664 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
666 * insetgraphics.C (draw)
667 * insetinclude.C (draw): Eliminate Buferview argument in call to
670 2003-02-25 John Levon <levon@movementarian.org>
672 * insetgraphicsParams.h:
673 * insetgraphics.C: don't start a load process if
674 the inset is set to NoDisplay (bug #920)
676 2003-02-22 John Levon <levon@movementarian.org>
679 * insetwrap.C: TocItem changed API (bug 913)
681 2003-02-21 Angus Leeming <leeming@lyx.org>
683 * insetcollapsable.[Ch] (cache, edit):
684 * insetbutton.[Ch] (cache, edit): new methods to cache the
685 BufferView in the draw method.
687 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
688 simplify comunication between InsetCommand-derived classes and
695 * insetfloatlist.[Ch]:
699 * inseturl.[Ch]: small changes to reflect the new interface to the
702 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
703 other, similar classes.
705 * Makefile.am: add new files.
707 2003-02-21 Angus Leeming <leeming@lyx.org>
709 * updatableinset.h (setView, view): remove.
710 * inset.h (view, cache): to be replaced by these.
712 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
715 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
718 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
720 2003-02-21 Allan Rae <rae@lyx.org>
722 * insetinclude.C (loadIfNeeded): ensure loading also works when
723 child document is under version control.
725 2003-02-17 André Pönitz <poenitz@gmx.net>
727 * insetbib.[Ch]: Adjust access to bibkeys
729 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
731 * insetquotes.C (dispString): remove use of acute accent for "'"
734 2003-02-14 John Levon <levon@movementarian.org>
736 * insettabular.C: changed method names in tabular.C
738 2003-02-14 John Levon <levon@movementarian.org>
742 * insetcollapsable.h:
743 * insetcollapsable.C:
747 * insettext.C: remove unused getParFromID()
749 2003-02-13 John Levon <levon@movementarian.org>
752 * insettext.C: remove unused beginningofMainBody()
754 2003-02-08 John Levon <levon@movementarian.org>
758 * insetcollapsable.h:
759 * insetcollapsable.C:
764 add nextChange(). Make allowSpellcheck() const. Add markErased().
766 * insetert.C: ignore deleted text
768 * insettabular.C: make sure to keep change tracking working
771 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
776 * insettext.C: Use error messages with identical spelling and punctuation
778 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
780 * insetgraphics.C (draw, width): Fix spacing around graphics inset
782 2002-12-17 Juergen Vigna <jug@lyx.org>
784 * insettext.C (localDispatch): hopefully fixed cursor up down
785 movement on leaving other insets.
787 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
789 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
792 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
794 * insetgraphics.C (prepareFile): do not remove the extension of
795 the file name if it is not the default extension for the given
796 format (that is, in latex output, remove extension from foo.eps,
797 but not from foo.epsi)
799 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
801 * insettext.C (lfunMouseRelease): hackish solution to the "double
804 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
806 * insetfloat.C (addToToc): use the floats name not its type
807 * insetwrap.C (addToToc): ditto
809 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
811 * insetnote.C (init): make label font smaller
813 2002-12-04 John Levon <levon@movementarian.org>
815 * insetinclude.C: ressurect setting of command name
817 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * insetquotes.C (dispString): disambiguate insert call
821 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
823 * several files: ws changes
825 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * insetquotes.C (dispString): use string::insert for prepending a
830 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
832 * insetparent.C (getScreenLabel): use boost::format
834 * insetgraphics.C (prepareFile): use boost::format
837 * insetfloatlist.C (latex): use boost::format
839 * insetcaption.C (draw): use boost::format
841 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
843 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
846 2002-11-20 Juergen Vigna <jug@sad.it>
848 * insettabular.C (resetPos): temporary fix for endless loop in
849 this function on a redraw.
851 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
853 * insettabular.C (copySelection): STRCONV
855 * insetinclude.C (uniqueID): STRCONV
858 * insetgraphics.C: put VersionNumber inside anon namespace
859 (createLatexOptions): STRCONV
861 * insetcommandparams.C: include config.h
863 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
865 * insetgraphicsParams.C (Write): use lyx::float_equal.
866 Write height data correctly.
867 (Read): zero scale when reading height data.
869 2002-10-30 John Levon <levon@movementarian.org>
871 * insetfloat.C (addToTOC): recursively traverse all
872 contents looking for captions (fix #568)
874 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
876 * insetexternal.C (doSubstitution): do not try to replace
877 environment variables, this is done when executing the command
879 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
881 * insetexternal.C (doSubstitution): change order of substitution
882 to work around ReplaceEnvironmentPath brokenness
884 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
886 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
888 * insetgraphicsParams.C (init, Write): associated changes
889 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
890 InsetGraphicsParams::scale.
892 2002-10-21 John Levon <levon@movementarian.org>
894 * inset.h: remove unused DISPATCH_RESULT
896 * insettext.C: sgml open/close tag now in sgml namespace
898 2002-10-21 Angus Leeming <leeming@lyx.org>
900 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
901 file path subdir/fig.eps when pasting it into a buffer in a different
904 2002-10-16 John Levon <levon@movementarian.org>
906 * insetspecialchar.C: remove \\protected_separator parsing
908 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
910 * insetquote.C: fix LaTeX output of quotation marks.
912 2002-10-14 Juergen Vigna <jug@sad.it>
914 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
915 Backspace functions which confused the Undo handling.
917 2002-10-09 Angus Leeming <leeming@lyx.org>
919 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
920 BufferView::dispatch that turns off this optimisation when a new inset
923 * insetcite.C (getNatbibLabel): correct logic of when and when not to
924 reload the BibTeX keys.
926 2002-10-11 André Pönitz <poenitz@gmx.net>
928 * insettext.h: handle LFUN_PRIOR/NEXT
930 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
932 * insetfloat.C: fix bug with float settings
933 (document default != float default).
935 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
937 * insetwrap.C (addToToc): New method.
938 (InsetWrap): Set layout to caption.
940 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
944 2002-09-16 John Levon <levon@movementarian.org>
946 * insettabular.h: hasSelection() needs to be public
948 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
950 * insetgraphicsParams.C: use empty string as default for rotateOrigin
952 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
954 * insetgraphicsParams.C: use empty string as default for rotateOrigin
956 2002-09-11 André Pönitz <poenitz@gmx.net>
958 * insettabular.C: implement LFUN_WORDSEL
960 2002-09-10 John Levon <levon@movementarian.org>
962 * insetinclude.h: remove unused param
964 2002-09-09 John Levon <levon@movementarian.org>
967 * insetinclude.C: remove noload, default to input
969 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
971 * insetgraphics.C: disfuscated use of ']' in built output string.
973 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
977 2002-08-29 Juergen Vigna <jug@sad.it>
979 * insettabular.C (lfunMousePress): Pay attention where you set
980 the x/y values as they depend on which inset in the tabular is
981 actually locked. So you surely have to reset them if you (un)lock
984 2002-08-29 André Pönitz <poenitz@gmx.net>
986 * insetfootlike.h: rename include guard to ALL CAPS
988 * insettext.C: swap object and first parameter for checkInsetHit calls
989 as this functions has moved from BufferView to LyXText
992 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
994 * insetgraphicsParams.C: remove local displayTranslator and use
995 the one from graphics/GraphicsTypes.h.
997 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
999 * insetfloat.C (wide): add BufferParams parameter
1001 * insetfloatlist.C (read):
1004 * insetfloat.C (latex):
1006 * insetcaption.C (draw): use LyXTextClass::floats()
1008 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1010 * insetoptarg.h: add std:: qualifier.
1012 2002-08-26 Juergen Vigna <jug@sad.it>
1014 * insettext.C (localDispatch): ditto.
1016 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
1018 2002-08-25 John Levon <levon@movementarian.org>
1020 * inseturl.C: elide long URLs (bug 404)
1022 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1024 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
1025 remove "Format Version <version_no.>" string from inset header
1028 * insetgraphicsParams.[Ch]: Implement new graphics dialog
1030 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
1031 a member of "grfx::Params" anymore.
1033 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
1035 2002-08-24 John Levon <levon@movementarian.org>
1038 * insetoptarg.C: ws, pedantry ...
1040 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1042 * insettext.C (collapseParagraphs): pasteParagraph now in global
1044 (appendParagraphs): ditto
1046 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
1048 * insetcite.C (latex): Remove spaces only after commmas.
1050 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1052 * insettext.C: remove NO_COMPABILITY stuff
1054 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1056 * insettext.C (edit): use ParagraphList iterators
1058 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
1059 (bibitemWidest): ditto
1061 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1063 * insettext.C: include <boost/bind.hpp>
1064 add using std::for_each
1065 (saveLyXTextState): use ParagraphsList::iterator
1066 (init): use for_each on paragraphlist iterators
1067 (InsetText): remove superflous setting cached_bview to 0
1068 (latex): reformat a bit
1069 (ascii): use paragraphlist iterators
1070 (validate): use for_each + boost bind
1071 (getLabelList): use paragraphlist iterators
1072 (deleteLyXText): use for_each + boost::bind
1073 (resizeLyXText): ditto
1074 (reinitLyXText): ditto
1075 (removeNewlines): use paragraphlist iterators
1076 (getParFromID): ditto
1077 (paragraph): use for_each + boost::bind
1078 (getInsetFromID): use paragraphlist iterators
1079 (getLabelList): typo fix
1081 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1083 * insettext.C (read): assign tmp to paragraphs after return from
1084 call to parseSingleLyXformat2Token
1087 2002-08-13 Angus Leeming <leeming@lyx.org>
1106 changes due to the changed LyXView interface that now returns references
1107 to member variables not pointers.
1109 2002-08-13 Angus Leeming <leeming@lyx.org>
1112 * insetcollapsable.h:
1115 * insettext.h: forward-declare WordLangTuple
1116 (selectNextWordToSpellcheck) constify return type.
1119 * insetcollapsable.C:
1122 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
1124 2002-08-12 Angus Leeming <leeming@lyx.org>
1126 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
1128 2002-08-12 Juergen Vigna <jug@sad.it>
1130 * insetcollapsable.C (edit): ignore if entered when pressing mouse
1133 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1135 * insetbib.C (bibitemMaxWidth): ParagraphList changes
1136 (bibitemWidest): ditto
1137 * insettext.[Ch]: ditto
1139 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1141 * insettext.C, insetert.C: use Paragraph::empty where appropriate
1143 2002-08-09 Angus Leeming <leeming@lyx.org>
1145 * insetinclude.C (latexString): remove fudge now that I've found out
1146 how to enable LaTeX to find the file using input@path.
1148 2002-08-09 John Levon <levon@movementarian.org>
1151 * insettext.C: remove unused xpos
1153 2002-08-07 Juergen Vigna <jug@lyx.org>
1155 * insettabular.C (localDispatch): make delete not put the stuff
1156 in the clipboard only do this on a cut operation.
1158 * insettext.C (localDispatch): make delete and backspace not put
1159 selected stuff to the clipboard.
1161 2002-08-07 André Pönitz <poenitz@gmx.net>
1164 * insetcollapsable.[Ch]:
1168 * insettabular.[Ch]:
1169 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
1171 2002-08-06 John Levon <levon@movementarian.org>
1175 * insetcollapsable.h:
1176 * insetcollapsable.C:
1182 * insettext.C: use WordLangTuple for spellcheck
1184 2002-08-06 Angus Leeming <leeming@lyx.org>
1186 * insetinclude.C: add a monitor to the previewed image, so that the
1187 image is refreshed if the \input-ed file changes.
1189 2002-08-04 John Levon <levon@movementarian.org>
1192 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
1194 2002-08-02 Angus Leeming <leeming@lyx.org>
1196 * insetcommandparams.[Ch] (preview): new methods returning and setting
1197 a new bool preview_ flag.
1198 (read): read this flag.
1199 (operator==): add flag to check.
1201 * insetinclude.C (write): output new preview() flag.
1202 (previewWanted): use this flag.
1204 2002-08-02 Angus Leeming <leeming@lyx.org>
1206 * insetcollapsable.[Ch] (addPreview):
1207 * insettabular.[Ch] (addPreview):
1208 * insettext.[Ch] (addPreview): new methods. Can now generate previews
1209 for insets in insets.
1211 2002-08-02 Angus Leeming <leeming@lyx.org>
1213 * insetcite.C: fix typo.
1215 * insetgraphics.C: kill current_view and instead cache the BufferView
1218 * insetinclude.C: kill current_view and pass the BufferView to the
1219 PreviewedInset so that it can cache it.
1221 2002-08-01 Angus Leeming <leeming@lyx.org>
1223 * inset.h (generatePreview): renamed as addPreview.
1224 (generatePreview): new method. Allows code to be moved out of
1225 math_nestinset.C and into the new PreviewedInset class.
1227 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
1228 add previews to the inset when \input-ing LaTeX.
1230 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1232 * several files: strip,frontStrip -> trim,ltrim,rtrim
1234 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1236 * insetbib.C (latex): modify because of strip changes
1238 * insetnote.C (InsetNote): ditto
1240 2002-07-26 Juergen Vigna <jug@sad.it>
1242 * insettabular.C (searchForward): check for lastcell if we
1243 had a locking inset.
1245 2002-07-25 Juergen Vigna <jug@sad.it>
1247 * insettabular.C (insetMotionNotify): Don't update the screen
1248 if we didn't do nothing.
1249 (searchForward): last cell was not checked.
1251 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1253 * insetfloat.C (read, write): Allow default placement
1254 (floatPlacement_ is empty).
1256 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1258 * insetminipage.h (noFontChange):
1259 * insettabular.h (noFontChange):
1260 * insetfootlike.h (noFontChange):
1261 * insetfloat.h (noFontChange): return true
1263 * inset.h (noFontChange): new method, defaulting to false
1265 2002-07-22 Herbert Voss <voss@lyx.org>
1267 * insetgraphicsParams.[Ch]: support size_type for old docs
1269 2002-07-22 Herbert Voss <voss@lyx.org>
1272 * insetgraphicsParams.[Ch]: change size_type to size_kind and
1275 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1277 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1279 * insetlatexaccent.h: do not include "lyxlex.h"
1281 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1284 * insetlatexaccent.C:
1288 * insetbib.C: #include "lyxlex.h"
1294 * insettext.C: use BufferParams::getLyXTextClass
1297 * insetfloat.C (addToToc): new method. Add to toclist the entries
1298 corresponding to Caption layouts
1299 (InsetFloat): when creating a new float, set the layout to "Caption"
1301 2002-07-21 Herbert Voss <voss@lyx.org>
1303 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1304 image relevant part into graphics/GraphicsImgae.C
1306 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1308 * insettoc.C (ascii):
1309 * insetfloatlist.C (ascii): change to use the new Toc functions
1310 instead of stuff that was in Buffer
1312 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1314 * insettext.C (localDispatch): BufferView::Dispatch has been
1315 renamed to BufferView::dispatch
1317 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1319 * insetgraphicsParams.C (as_grfxParams): use the new
1320 keepLyXAspectRatio parameter. Note that this is an adaptation of a
1321 1.2.0 patch, and I do not really know how to adapt it to the new
1322 grfx::Cache world. Angus, please could you have a look?
1324 2002-05-01 Herbert Voss <voss@lyx.org>
1326 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1328 2002-07-18 Angus Leeming <leeming@lyx.org>
1330 * insetgraphics.C: clean-up comments (from Herbert).
1331 add a new checksum variable to the cache. Use it in PrepareFile.
1332 (draw): start monitoring the file for a change.
1333 (prepareFile): re-arrange a little to avoid unnecessary steps.
1335 2002-07-17 Angus Leeming <leeming@lyx.org>
1337 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1338 a method rather than to the signal directly.
1340 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1342 * insettext.C: use view_state_changed, switchKeyMap
1344 2002-07-17 Herbert Voss <voss@perce.de>
1346 * insetgraphics.C (prepareFile): keep the extension when
1347 exporting to nice file
1349 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1351 * insetcite.C (getNatbibLabel):
1352 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1354 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1356 * insetgraphics.C: use ->isDrawable()
1358 2002-07-12 Angus Leeming <leeming@lyx.org>
1360 * insetgraphics.C: use the new smart loading capabilities of the image
1363 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1365 * insettabular.C (edit): Move into correct cell when entering a
1368 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1371 2002-07-05 Angus Leeming <leeming@lyx.org>
1373 * inset.h (generatePreview): new virtual method.
1375 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1377 * insetcommandparams.[Ch] (operator=): move out of class
1378 (operator!): move out of class
1380 2002-07-04 André Pönitz <poenitz@gmx.net>
1382 * insetcommandparams.[Ch]: new files
1384 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1386 2002-06-15 Herbert Voss <voss@perce.de>
1388 * insetgraphics.C (prepareFile): bugfix; return always
1389 files without extension
1391 2002-06-28 Angus Leeming <leeming@lyx.org>
1393 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1394 rename asGParams -> as_grfxParams.
1396 * insetgraphics.C: reflect above change.
1398 2002-06-26 Angus Leeming <leeming@lyx.org>
1400 * insetgraphics.h: use boost::scoped_ptr in preference to
1403 2002-06-26 Angus Leeming <leeming@lyx.org>
1405 * insetgraphics.C: moved the image loading stuff into a new class
1406 grfx::Loader. Simplifies this file enormously.
1408 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1410 * insetgraphicsParams.C: changes aassociated with moving
1411 grfx::DisplayType out of grfx::GParams.
1413 2002-06-26 André Pönitz <poenitz@gmx.net>
1415 * insetgraphics.C: use os::external_path where necesaary according to a
1416 patch from Claus Hentschel)
1418 2002-06-25 Angus Leeming <leeming@lyx.org>
1420 * insetgraphics.[Ch]: The inset now assumes the responsibility for
1421 generating a pixmap once the graphics file is loaded into memory.
1422 The current_view ugliness that was in grfx::ModifiedImage has been
1423 moved here now that grfx::ModifiedImage is no more.
1425 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1427 * insettext.C: layout as layout
1429 2002-05-28 André Pönitz <poenitz@gmx.net>
1431 * insetfloatlist.h: remove source of compiler warning
1433 * insetref.C: tiny whitespace
1435 2002-06-15 Herbert Voss <voss@perce.de>
1437 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1438 and take always convert when no userdefined converter was
1440 (latex) small changes in the lyxerr output
1442 2002-06-15 LyX Development team <lyx@rilke>
1444 * inset*.[Ch] (docbook): Added new argument to take the pernicious
1445 mixed content. Small white spaces clean.
1447 2002-06-14 Angus Leeming <leeming@lyx.org>
1449 * inseetexternal.C: remove the using std::difftime declaration.
1451 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
1453 * insetquotes.C: change lyxfont::draw to font_metrics::draw
1455 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
1457 * insetquotes.C (draw): fix drawing of double quotes
1459 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1461 * insettabular.C: s/scrollCB/scrollDocView/
1463 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1465 * insettext.C: change of topCursorVisible()
1468 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1471 * insettext.C: rename/change of LyXScreen
1473 2002-06-07 Angus Leeming <leeming@lyx.org>
1475 Fixes needed to compile with Compaq cxx 6.5.
1477 all c-library variables have been moved into namespace std.
1478 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1480 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1482 * insetinclude.C (uniqueID):
1483 * insetgraphics.C (uniqueID): renamed from unique_id, since this
1484 conflicted with some AIX headers.
1486 2002-05-31 Juergen Vigna <jug@sad.it>
1488 * insetert.C (get_new_label): add '...' for multi-paragraph ert
1492 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1494 * insetexternal.C (clone): fix () bug when using new
1495 (updateExternal): don't only look for difftime in global scope
1497 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1499 * insettabular.C: add const
1501 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1503 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1504 file name, in case there are weird characters like ',' in there.
1507 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1509 * switch from SigC signals to boost::signals.
1511 2002-05-28 André Pönitz <poenitz@gmx.net>
1513 * insets/insetgraphicsParams.[Ch]:
1514 put in inset related stuff from src/graphic
1516 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1524 * insetcollapsable.C:
1525 * insetcollapsable.h:
1553 * inseturl.h: use mouse_state. Kill insetKeyPress
1555 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1560 * insetcollapsable.C:
1563 * insetlatexaccent.C:
1565 * insetspecialchar.C:
1567 * insettext.C: name change for font metrics
1569 2002-05-24 Juergen Vigna <jug@sad.it>
1571 * insetgraphics.h: include inset.h first (for LString.h)
1573 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1575 * insettext.C: screen moved
1577 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1595 * inseturl.C: LyXView moved into frontends/
1597 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1602 * insetcollapsable.C:
1606 * insetgraphicsParams.C:
1607 * insetlatexaccent.C:
1609 * insetspecialchar.C:
1611 * insettext.C: move Painter to frontends/
1613 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1615 * insettabular.h: use more specific smart_ptr header.
1616 * insettext.h: ditto
1618 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1621 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1623 * insettext.C: clear selection on paste (bug 393)
1625 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1627 * insettext.C (latex): Honor the moving_arg argument.
1629 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1631 * insetfoot.C (latex): if a footnote is in a title layout, then it
1632 is a \thanks. And then, its contents is a moving argument.
1634 2002-05-14 Juergen Vigna <jug@sad.it>
1636 * insetcollapsable.C (InsetCollapsable): forgot to initialize
1639 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
1641 * Insetcite.C (getNatbibLabel): don't disable natbib label support
1642 when using options "Full author list" or "Upper case".
1644 2002-05-14 Herbert Voss <voss@perce.de>
1646 * insetgraphics.C (prepareFile): allow files with same name
1648 (readFigInset): set the flags from old figinset in the right
1650 (findTargetFormat): more comments
1652 2002-05-14 Juergen Vigna <jug@sad.it>
1654 * insettext.C (edit): tell checkAndActivateInset() that we don't
1655 have a button press.
1656 (checkAndActivateInset): if button < 0 we don't have a button press
1657 on the inset and os we won't call edit on it if it's not a Highly
1658 editable inset (then we have to enter it).
1660 2002-05-13 Juergen Vigna <jug@sad.it>
1662 * insetcollapsable.C (insetButtonRelease): returned wrong return
1665 2002-05-09 Juergen Vigna <jug@sad.it>
1667 * insetcollapsable.C (edit): first_after_edit should only be
1668 set to true if we enter this inset and it was collapsed so we
1669 open it up. This is needed to reclose it after a search/replace
1670 or spellcheck function opened it and was negative.
1672 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
1674 * insetfloat.C (latex): Return correct value.
1676 2002-05-04 Herbert Voss <voss@perce.de>
1678 * InsetgraphicsParams.C (read): fix bug with WH
1680 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1682 * insetfloat.C (latex): More sensible latex output
1683 (fix the problem with endfloat).
1685 2002-05-02 José Matos <jamatos@fep.up.pt>
1687 * insetgraphics.C (validate): acess params as everyone else.
1689 2002-05-03 Juergen Vigna <jug@sad.it>
1691 * insettabular.C (fitInsetCursor): recalculate the cursor position
1694 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1696 * InsetgraphicsParams.[Ch]: whitespace.
1698 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1700 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1701 float type do not exist.
1703 2002-04-28 Herbert Voss <voss@perce.de>
1705 * insetgraphics.C (latex): fix bug with missing file-extension.
1706 LaTeX still allows a missing "eps" or "ps".
1708 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1710 * insetfloat.C (c-tor, wide): translate the name of the float.
1712 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1714 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
1715 when using natbib and make it work efficiently. Must emphasise that the
1716 real work is Herbert's.
1718 2002-04-23 Herbert Voss <voss@perce.de>
1720 * insetgraphic.C (prepareFile): fix bug with overwriting and
1721 deleting an existing *.eps-file in the doc-dir
1723 2002-04-23 Juergen Vigna <jug@sad.it>
1725 * insettabular.C (drawCellSelection): fix off by 1 error.
1727 2002-04-22 Juergen Vigna <jug@sad.it>
1729 * insettabular.C (setFont): rewoke full selection if it was asked,
1730 after we changed all we had to change.
1732 * insettext.C (insetUnlock): code was uninitialized in some situations.
1734 2002-04-19 Herbert Voss <voss@perce.de>
1736 * insetgraphic.C (prepareFile): return filename without
1737 extension if we only export without compiling
1739 2002-04-19 Juergen Vigna <jug@sad.it>
1741 * insettext.C (draw): call a fullRebreak on the row where we had a
1742 change and reset the cursor and selection-cursors.
1744 * insettabular.C (insetUnlock):
1745 (insetButtonPress): call an update before setting the_locking_inset = 0
1746 as otherwise we don't repaint!
1747 (update): reset the cursor position when we changed dimensions as
1748 otherwise our cursor may be on the wrong spot.
1750 2002-04-18 Juergen Vigna <jug@sad.it>
1752 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
1753 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
1754 redraw otherwise we won't redraw.
1756 * insettext.C (draw): fixed the setting of LyXText::first_y it was
1757 not really right before, but I only discovered this with the last
1758 changes to Page up/down.
1760 2002-04-17 Juergen Vigna <jug@sad.it>
1762 * insettext.C (checkAndActivateInset): simplified as we now have the
1763 edit(bv, bool) call.
1765 * insettext.h: changed behind variables to front variables to be
1766 equal to the one in the edit call (as it is for that they are used).
1768 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1770 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
1771 not output anything at all!
1773 2002-04-16 Juergen Vigna <jug@sad.it>
1775 * insettabular.C (insetButtonPress):
1776 (insetUnlock): call a redraw on unlocking the cell inset.
1778 * insettext.C (insetButtonPress): same as below.
1779 (lockInset): new function to set initial values when inset should
1781 (insetButtonPress): use above function.
1782 (insetUnlock): don't force a repaint only set the updateStatus. The
1783 outside world should repaint if it thinks it should be done!
1785 * insettabular.C (insetButtonPress): init values if not set as locked
1786 as we are locked if someone presses on us and don't call the edit()
1787 call of the InsetText to lock it do it as BufferView does it!
1789 * inset.h (insetInInsetY): make func const and return an int.
1792 * insetcollapsable.C: adapt the above changed function.
1794 2002-04-15 Juergen Vigna <jug@sad.it>
1796 * insettext.C (getCursorPos): return relative position as to be able
1797 to give them directly to the edit() call.
1798 (edit): we have to set also x_fix as it is not set inside the
1799 setCursorFromCoordinates call!
1800 (insetMotionNotify): ditto.
1802 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1804 * insetbib.C (getKeys): strip leading '\t's from the line too.
1805 With thanks to Henry Pfister <hpfister@ucsd.edu>.
1807 2002-04-12 Juergen Vigna <jug@sad.it>
1809 * insettext.h: added cix() helper function and use it where appropriate
1811 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1813 * insetgraphics.C (prepareFile): fix bug when graphics is a
1816 2002-04-12 Juergen Vigna <jug@sad.it>
1818 * insettext.C (insertInset): remove unneeded code!
1819 (updateLocal): fitCursor() fixes.
1820 (collapseParagraphs): fix a possible problem when having a selection
1821 and collapsing the paragraphs.
1823 2002-04-08 Herbert Voss <voss@perce.de>
1825 * insetgraphic.C (write): write the rotating angle as
1826 a float as is. test only for != 0.0
1828 2002-04-11 Juergen Vigna <jug@sad.it>
1830 * insettext.C: new function ciy() and use it for setting inset_y.
1832 * insetert.C (draw): fix the x return for collapsed version.
1834 2002-04-07 Herbert Voss <voss@perce.de>
1836 * insetgraphic.C (readFigInset): fix bug with subcaption and
1839 2002-04-08 Herbert Voss <voss@lyx.org>
1841 * insetgraphicsparam.C: forgot special option and delete old
1844 2002-04-05 Juergen Vigna <jug@sad.it>
1846 * insettext.C (localDispatch): make a CURSOR update if we inserted
1849 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1851 * insetfloatlist.C (getScreenLabel):
1852 (latex): use Floating::listName
1853 (validate): new method
1855 2002-04-03 José Matos <jamatos@fep.up.pt>
1857 * insetlabel.C (docbook): the anchor is an empty element in docbook.
1859 * insetfoot.[Ch] (docbook): added forgotten method.
1861 2002-04-03 Juergen Vigna <jug@sad.it>
1863 * insettext.C (insetButtonPress): fix insetButtonPress events the same
1864 way as in Bufferview_pimpl.
1866 2002-04-03 Allan Rae <rae@lyx.org>
1868 * insetgraphics.C (latex): one % too many makes living on the bleeding
1869 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
1871 2002-03-28 Herbert Voss <voss@lyx.org>
1873 * insetgraphic.C (latex): simplify the code for the latex
1874 output when the file doesn't exist
1876 2002-03-29 Juergen Vigna <jug@sad.it>
1878 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
1881 * insettabular.C (edit): call fitCursor().
1883 * insettext.C (insetButtonPress): change behaviour of no_selection
1884 to the one in the BufferView selection_possible and fix the spurious
1885 selection bug with it.
1886 (localDispatch): revoke selection on BREAK... functions.
1888 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1890 * insetfloatlist.C (getScreenLabel): translate the GUI label.
1892 2002-03-28 Juergen Vigna <jug@sad.it>
1894 * insettabular.C (insetAllowed): return true as default value otherwise
1895 we're not able to insert insets inside paragraphs of an not locked
1898 2002-03-27 Herbert Voss <voss@lyx.org>
1900 * insetgraphicsparam.C: change c%, p% to col%, page%
1902 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1904 * insetspecialchar.C (isLineSeparator): disable the nice code to
1905 allow linebreaks after hyphenation and menu separators.
1907 2002-03-26 Herbert Voss <voss@lyx.org>
1909 * insetgraphics.C (figinsetRead): set the right lyxview
1911 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1913 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
1914 $\backslash$ and pass a "string const &" to the function.
1915 (prepareFile, latex): use Path rather than MakeAbsPath.
1917 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1919 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
1920 proper fix to the graphics cache.
1921 (latex): "really" nice output if the file is not found ;-)
1923 2002-03-26 Juergen Vigna <jug@sad.it>
1925 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
1926 (collapseParagraphs): fixed inserting of separator ' '
1928 * insettabular.C (insertAsciiString): only check for buffer lenght
1929 not if we have \t or \n inside the buffer as if we don't have we only
1930 have 1 cell and that's it!
1932 * insetert.C (close): don't collapse if inlined.
1934 2002-03-25 Herbert Voss <voss@lyx.org>
1936 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
1937 graphics file does not exist.
1939 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1941 * insetgraphics.C (prepareFile): ensure that the file has an absolute
1942 path when preparing export.
1944 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
1945 no longer MakeRelPath.
1947 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1949 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
1950 Used to determine the absolute path to the graphics file in the
1951 graphics cache and only in the graphics cache.
1952 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
1953 make graphics file name absolute if it is stored as a relative path.
1955 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
1956 make graphics file name absolute if it is stored as a relative path.
1958 * insettext.C (edit): emit an updateParagraph signal on entering a text
1959 inset. Needs to be emitted when leaving the inset also.
1961 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1963 * all files: ws cleanup
1965 * Makefile.am: remove ld -r stuff
1967 2002-03-21 Juergen Vigna <jug@sad.it>
1969 * insettext.C (appendParagraphs): new function added to append
1970 the paragraphs to this insets paragraphs.
1972 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1974 * Makefile.am: special rules if partial linking
1976 2002-03-19 Juergen Vigna <jug@sad.it>
1978 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
1980 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1982 * insetgraphics.C: Clean up Baruch's comments a little.
1983 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
1985 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
1988 * insettheorem.C: wrap warnings
1990 * insetgraphics.C: improve messages, move cached_status_
1991 setting to safer place
1993 2002-03-18 Juergen Vigna <jug@sad.it>
1995 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
1997 (localDispatch): ditto
1999 * insettext.C (edit): removed unneeded showCursor calls.
2000 (localDispatch): ditto.
2002 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2004 * insetgraphics.h: remove display() method.
2006 2002-03-11 Juergen Vigna <jug@sad.it>
2008 * insetgraphics.C (draw): hack to fix the redrawing bug.
2009 (draw): seems this fixes #268 (force redraw of row if we changed).
2011 * insettext.C (updateInsetInInset): fixed for updates in insets inside
2012 this inset text (don't know why I missed this earlier).
2014 2002-03-08 Juergen Vigna <jug@sad.it>
2016 * insettabular.C (updateLocal): do a FULL update if we're not locked
2017 and only a CELL update is asked.
2019 * insettext.C (updateInsetInInset): update insets inside inset also
2020 if it isn't inside the_locking_inset.
2022 * insettabular.C (updateInsetInInset): ditto.
2024 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2026 * insetexternal.C (doSubstitution): check whether we are using a
2027 temp dir for defining $$FPath
2029 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2032 * insettext.C: remove #include "WorkArea.h".
2034 2002-03-06 Juergen Vigna <jug@sad.it>
2036 * insettext.C (draw): fixed frame redrawing.
2037 (clear): forgot to set the inset_owner of the paragraph.
2039 * insetert.C (status): pay attention the bv can be 0 here!
2040 (getMaxWidth): add the default leftMargin
2042 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2044 * insetert.C (getMaxWidth): make w unsigned int.
2046 2002-03-05 Juergen Vigna <jug@sad.it>
2048 * insetert.C (status): change behaviour of Inlined.
2049 (getMaxWidth): added for new inlined behaviour.
2051 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2053 * insetnote.h (linuxdoc, docbook): add empty methods.
2054 * insetinclude.C (validate): fix a case where buffer->niceFile was used
2055 before being initialized.
2057 2002-03-05 Juergen Vigna <jug@sad.it>
2059 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
2060 only that one in the inset. Should be enough.
2061 (updateLocal): set the selection cursor always if we don't have a
2062 selection to be sure it's set!
2064 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
2066 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2068 * insettext.C (clear): a gross hack to set layout on a newly
2071 2002-03-04 Juergen Vigna <jug@sad.it>
2073 * insettabular.C (localDispatch): inserted handling of
2074 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
2075 (insertAsciiString): new helper function.
2077 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2079 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
2082 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2084 * insettext.C (InsetText): initalize newly created par with
2085 default layout. add bufferparams parameter
2088 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
2089 * insetcollapsable.[Ch] (InsetCollapsable): ditto
2090 * insetert.[Ch] (InsetERT): ditto
2091 * insetfloat.[Ch] (InsetFloat): ditto
2092 * insetfoot.[Ch] (InsetFoot): ditto
2093 * insetfootlike.[Ch] (InsetFootLike): ditto
2094 * insetmarginal.[Ch] (InsetMarginal): ditto
2095 * insetminipage.[Ch] (InsetMinipage): ditto
2096 * insetnote.[Ch] (InsetNote): ditto
2097 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
2099 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2101 * insettext.C: layout as string
2103 * insetinclude.C: layout as string
2105 * insetert.C: layout as string
2107 * insetbib.C: layout as string
2109 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2112 * insettabular.C: remove #include "lyx_gui_misc.h".
2114 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2119 * inset.h: remove figinset, yahoo !
2121 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2123 * insetgraphics.C (c-tors): initialise parent classes explicitly in
2124 copy c-tor and initialise member variables in the correct order.
2126 2002-02-28 Juergen Vigna <jug@sad.it>
2128 * insettabular.C (localDispatch): clear selection on PgUp/Down.
2130 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2132 * inset.h: ... and add a better one here.
2134 * insetcommand.C (insetButtonRelease): remove that one which was a
2137 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2139 * insetcommand.C (insetButtonRelease): ... and move it here.
2141 * inseturl.h: remove insetButtonRelease from there...
2143 2002-02-26 Juergen Vigna <jug@sad.it>
2145 * inseturl.h: Added a insetButtonRelease call returning true as
2148 * insetlabel.C (edit): Fixed wrong update handling after change I
2149 leave in the wrong code for the one who wrote it to remove and have
2150 a look what he did wrong.
2152 * insettabular.C (localDispatch): force a SELECTION update if we
2153 had a selection and we passed the event down to the inset (fix #213)
2154 (localDispatch): handle font changing stuff when we have a cell
2155 selection so that the selection is not rewoked. I don't really like
2156 this fix, but it's the only way I see to do it right now.
2158 2002-02-22 Juergen Vigna <jug@sad.it>
2160 * insettext.C (insetUnlock): set the cursor to the second paragraph
2161 if available and if the first one is empty (fix #191).
2163 2002-02-20 Juergen Vigna <jug@sad.it>
2165 * insettext.C (getDrawFont): implemented this function to call the
2166 one of the owner if present as the owner normally knows what to do
2169 * insetert.C: implement getDrawFont() function and comment out all
2170 the crap for setting a special latex font inside this inset.
2171 (InsetERT): added a Lanugage parameter to this constructor.
2173 * inset.h: added function getDrawFont(LyXFont & font) to be able to
2174 change the font for being drawn on screen (used only in InsetERT for
2177 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
2178 and also above (was missing).
2179 (updateLocal): don't remove the cell selection if we have one this
2180 should be done where we really want to remove it.
2182 2002-02-20 José Matos <jamatos@fep.up.pt>
2184 * insetinclude.h: include_label made string const.
2186 * insetinclude.C (InsetInclude): moved include_label initialization.
2189 (validate): fix support for temporary directory, for docbook and
2192 * insetgraphics.h : new private member, graphic_label, that holds
2193 the entity name that defines the graphics location (SGML).
2195 * insetgraphics.C (unique_id): new function to give a unique label
2198 (validate): the file locatation is given by an entity reference.
2200 2002-02-18 Herbert Voss <voss@lyx.org>
2202 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2204 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2206 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
2207 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2209 2002-02-18 José Matos <jamatos@fep.up.pt>
2211 * insetinclude.C (validate): some code only applies to latex buffers,
2212 it was made conditional.
2214 2002-02-12 Herbert Voss <voss@lyx.org>
2216 * insetgraphics.C: (prepareFile) do not check at this time
2217 if the file is present.
2219 2002-02-12 Herbert Voss <voss@lyx.org>
2221 * insetgraphics.C: latex(), return the correct newlines
2223 2002-02-13 José Matos <jamatos@fep.up.pt>
2225 * inseturl.C (docbook): escape & in url.
2227 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2229 * insetspecialchar.C (isLineSeparator): line breaking is allowed
2230 after HYPHENATION and MENU_SEPARATOR
2232 * inset.h (isLineSeparator): new method, returns false by default.
2234 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2236 * insetert.C (status): do not update the text inset, but the ERT
2239 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
2241 * insetnote.C: use notebg for background
2243 2002-02-08 Herbert Voss <voss@lyx.org>
2246 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2247 prevent LyX from unzipping when this should be handled
2248 by latex vis the graphic.cfg.
2251 2002-02-08 Herbert Voss <voss@lyx.org>
2253 * insetgraphic.C: prepareFile(): fix bug when file doesn't
2254 exists, than return filename with extension
2256 2002-02-06 Herbert Voss <voss@lyx.org>
2258 * insetgraphic.C: prepareFile(): don't convert the file, when
2259 it's not viewed in LyX. Saves a lot of time when opening a
2262 2002-02-05 Herbert Voss <voss@lyx.org>
2265 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2266 and adding a rotate bool similiar to subcaption
2268 2002-02-04 Herbert Voss <voss@lyx.org>
2271 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2272 similiar view to the LaTeX one. Get zipped files work.
2274 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2276 * insetgraphicsParams.C (init): set display to DEFAULT.
2277 No longer #include "lyxrc.h".
2279 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2281 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2282 for now (so that the code compiles).
2284 2002-02-02 Herbert Voss <voss@lyx.org>
2286 * insetgraphic.C: delete inVariant() and some minor changes
2287 * insetgraphicsParams.[C]:
2289 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
2291 * insetgraphics.C (updateInset): if params.display == DEFAULT,
2292 interogate lyxrc.display_graphics before diaplaying the graphic.
2294 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2295 InsetGraphicsParams::DisplayType.
2297 2002-01-31 Herbert Voss <voss@lyx.org>
2299 * insetgraphic.C: (readfigInset) set display to pref-default
2301 2002-01-30 Herbert Voss <voss@lyx.org>
2303 * insetgraphic.C: get the filetyp from it's contents
2304 * insetgraphicparams.C: add token scale and lyxrc.display when
2305 creating a new inset
2307 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
2309 * figinset.C: added using std::ios directive.
2311 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2313 * figinset.C (runqueue): open translation file in binary mode (for
2316 2002-01-27 Herbert Voss <voss@lyx.org>
2318 * insetgraphic.[Ch]: mostly newritten to support graphicx with
2319 all options and to be sure that the old figinsets are correct
2321 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2322 structure and to support all lengths as LyXLength. The Parameter
2323 structure changed again, but reading of "old" 1.2 graphic insets
2326 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
2328 * insetert.h (forceDefaultParagraphs): Added
2330 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2332 * insettabular.C (getMaxWidth):
2333 (forceDefaultParagraphs): use Tabular::GetCellFromInset
2335 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2337 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2338 of LyXLength::inPixels
2340 * inset.C (latexTextWidth):
2341 * insetminipage.C (latexTextWidth): new method, which implements
2342 the equivalent of the LaTeX macro \textwidth
2344 * insetminipage.C (getMaxWidth): use latexTextWidth
2346 2002-01-18 Juergen Vigna <jug@sad.it>
2348 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2350 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2352 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2354 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2357 2002-01-17 Juergen Vigna <jug@sad.it>
2359 * insettabular.C (lockInsetInInset): same change as in insettext.
2361 * insettext.C (draw): width() function was called without setting
2362 the right top_x which could lead to wrong insetWidth setting!
2363 (lockInsetInInset): call edit instead of calling lockInset if we
2364 have to lock an inset inside!
2365 (edit): we have to also tell the inset that we have to redraw the
2366 frame on an edit call if this inset draws a frame only if locked.
2368 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2370 * insetbib.C (getFiles): uncomment Path variable.
2372 2002-01-16 Juergen Vigna <jug@sad.it>
2374 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2377 2002-01-16 Allan Rae <rae@lyx.org>
2379 * insetinclude.C (docbook): someone forgot a ";"
2381 2002-01-16 José Matos <jamatos@fep.up.pt>
2383 * figinset.C (docbook): removed a old place holder "@".
2384 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2385 * insetinclude.C (linuxdoc): if include is verbatim, then export the
2386 ascii text version, clearly guarded inside a CDATA section.
2387 (docbook): in docbook 4, inlinegraphics is empty.
2388 * insettabular.C (linuxdoc): export the ascii version of the table
2389 inside a CDATA section.
2391 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2393 * insetparent.C (InsetParent):
2394 * insetgraphicsParams.C (Write):
2396 * insetgraphics.C (prepareFile):
2399 * insetexternal.C (executeCommand):
2400 (doSubstitution): use Buffer::filePath
2402 * insetbib.C (getFiles): add a #warning for Angus
2404 * insetgraphics.C: Add a remark about how filenames should be
2405 considered to be relative to buffer (but absolute is still allowed)
2406 (draw): do not try to get status if lyxrc.use_gui is false
2408 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2411 * insetcollapsable.[Ch]:
2412 * insettabular.[Ch] (searchForward, searchBackward): change the
2413 bool const & params to bool.
2415 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2416 to avoid the name clash with InsetCollapsable's methods of the same
2417 names but different functionality.
2419 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2421 * insettext.C (ascii): use lyx::count rather than countChar.
2423 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
2425 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2427 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2429 * insetgraphics.C (updateInset): do not try to render image if
2430 lyxrc.use_gui is false (bug #104)
2432 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2433 if file does not exist
2435 * figinset.C (browseFile): add shortcuts to directory buttons
2437 * insettext.C (updateLocal): update menubar and toolbar here too.
2439 2002-01-13 Allan Rae <rae@lyx.org>
2441 * insettabular.C (InsetTabular): Both constructors now initialise
2442 all class variables.
2444 2002-01-11 Juergen Vigna <jug@sad.it>
2446 * insettext.C (insetButtonPress): set the_locking_inset to 0.
2448 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2450 * insettabular.C (getStatus): add forgotten brace around multiline
2453 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2455 * insetfloat.C (validate): require "float" instead of "floats".
2457 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2459 * insettabular.C (getStatus): use FuncStatus
2461 2002-01-08 Juergen Vigna <jug@sad.it>
2463 * insettabular.C (insetButtonRelease): now this should work too
2466 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2467 if the width is a percentage.
2469 * inset.h: added isChar() function and implemented this for
2470 insetspecialchar insetquotes and insetlatexaccent.
2471 added forceDefaultParagraphs() and implemented it for insettabular.
2473 2002-01-07 Juergen Vigna <jug@sad.it>
2475 * insettext.C (getLyXText): Fixed this function. An insert into the
2476 map is only done if we REALLY have a new BufferView.
2478 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
2480 * insettext.C: fix bug illustrated by attachment #37 of bug #59
2482 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2484 * insetinclude.C: fix use of FileInfo
2486 2002-01-07 Juergen Vigna <jug@sad.it>
2488 * insettabular.C (draw): fixed clearing of cell around inset.
2490 2002-01-05 Juergen Vigna <jug@sad.it>
2492 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2493 variables are updated.
2495 * insettabular.C (resetPos): set always the inset_y as it may be
2496 needed in another function.
2497 (searchBackward): don't draw while searching.
2499 2002-01-04 Juergen Vigna <jug@sad.it>
2501 * insettext.C (lockInsetInInset): forgot to set a cursor.
2503 2002-01-02 Juergen Vigna <jug@sad.it>
2505 * insettext.C (insertInset): make the correct undo informations on
2506 inserting new insets.
2508 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
2510 * insettabular.C: correct single-cell select vertically
2512 2001-12-27 Juergen Vigna <jug@sad.it>
2514 * insettabular.C (ascii): export as tab-separated-values if the
2515 function was not called from export (f.ex.: clipboard).
2517 * insetcollapsable.h: added default support for ascii, linuxdoc and
2518 docbook export (the insettext is exported by default!)
2520 * insettabular.C (copySelection): suff the clipboard with the tabular
2521 data in a tab separated format, seems more naturals then with all the
2524 2001-12-24 Juergen Vigna <jug@sad.it>
2526 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2527 to check for REAL mouseMotion.
2529 2001-12-20 Juergen Vigna <jug@sad.it>
2531 * inset.C (cursor): return the owners cursor if available instead of
2532 always only the bv->text->cursor.
2534 * insettabular.C (checkLongtableSpecial): works now.
2536 2001-12-19 Juergen Vigna <jug@sad.it>
2538 * insettabular.C (tabularFeatures): fix the row setting of ltt as
2539 this has to be always row + 1 as 0 means not selected!
2540 (checkLongtableSpecial): added
2541 (tabularFeatures): better longtable options support
2543 * insettext.C (resizeLyXText): reinit the text always also on a
2546 2001-12-18 Juergen Vigna <jug@sad.it>
2548 * insettext.C (updateInsetInInset): look if we have to autocollapse
2549 paragraps and return if the update is requested for ourself.
2551 * insetert.C (status): update the insettext not myself as that is what
2554 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2555 function only return if the update was requested with myself.
2557 * insettext.C (insetButtonPress): fixed stupid bug.
2558 (various functions): pay attention that lt is cleared BEFORE calling
2559 updateLocal() and try to use it in the right manner (don't use it
2560 if it's not really neccessary!)
2561 (collapseParagraphs): insert a blank between collapsing paragraphs
2562 if neccessary (not already there!).
2564 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2566 * insettabular.C: move includes around a bit, add a couple of
2569 * insettext.[Ch]: move includes around a bit, other ws changes and
2572 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2574 * insettext.C (insetButtonRelease): fix compile problem
2576 2001-12-17 Juergen Vigna <jug@sad.it>
2578 * insettext.C (insetButtonPress): set the selection cursor!
2579 (insetButtonPress): clear the selection (and set with that the
2580 selection.cursor) if we only hit an inset!
2582 * insetert.C (read): removed piece of compatibility code only needed
2585 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2588 * insetcollapsable.C (insetButtonRelease): changed so that it can
2589 open eventual existing popup dialogs on mousebutton==3.
2591 * insetfloat.C (insetButtonRelease): removed not needed anymore!
2593 * insetminipage.C (insetButtonRelease): removed not needed anymore!
2595 * inset.C (insetButtonRelease): return a bool for telling the outer
2596 world that we opened a dialog.
2598 2001-12-07 Juergen Vigna <jug@sad.it>
2600 * insettext.C (paragraph): remove the deleteing of paragraphs as
2601 it was a WRONG move!
2603 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2606 * insettabular.C: use new setSelection(). Allow
2607 selection of single cells.
2609 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2611 * insetquotes.C (latex): fix to use the local language setting at
2612 the point where the inset is inserted (different macros for
2613 different french packages)
2615 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2617 * inset.h: add par_owner_ member variable and parOwner
2620 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2622 * insettabular.C (everywhere): adapt because widths are now real
2623 widths and not strings
2625 * insettext.C (draw): re-introduce the calls to width(), ascent()
2626 and descent() to initialize the caching variables.
2628 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2630 * insettext.C (draw):
2631 (drawFrame): use insetWidth instead of last_width
2633 * insettext.h: remove variable last_width (insetWidth is exactly
2634 the same) and last_height (computed but never used!)
2636 2001-12-10 Allan Rae <rae@lyx.org>
2638 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2640 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2642 * insettext.C (insetAllowed): add comment
2644 2001-12-05 Juergen Vigna <jug@sad.it>
2646 * insettext.C (insetAllowed): fixed for the case that we directly
2647 ask the insettext from its LyXText.
2648 (paragraph): fixed the crash when assigning the par->next() from
2649 the EmptyParagraphMechanism!
2651 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2655 * insettext.C: change "while(" to "while ("
2657 2001-12-04 Juergen Vigna <jug@sad.it>
2659 * insetert.C (edit): handle Inlined status.
2661 * insettext.C (insertInset): trying John's fix for the trailing cursor
2663 * insetert.C (insetButtonPress): added to handle inlined status
2664 (insetMotionNotify): ditto.
2666 * insettext.C (clearInset): changed Painter & in BufferView * param,
2667 to be able to call ascent,descent methods.
2669 2001-12-03 Juergen Vigna <jug@sad.it>
2671 * insettext.C (updateInsetInInset): use lt variable to forbid
2672 changes of LyXText in an update call.
2673 (updateInsetInInset): fixed updating of non locked insets!
2675 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2677 * insettabular.C: capture some more functions to prevent
2678 selection drawing problems. Bug #451274
2680 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2683 * insetgraphicsParams.C: fix inverted sense of float_equal
2685 2001-11-30 Juergen Vigna <jug@sad.it>
2687 * insettabular.C (InsetTabular): use the save_id flag to create also
2688 the tabular with the same id's.
2690 * insettext.C (setParagraphData): added a same_id function for undo
2691 to set the same paragraph id's as of the paragraph we are setting.
2693 2001-11-30 José Matos <jamatos@fep.up.pt>
2696 * insettoc.[Ch]: DocBook -> docbook.
2698 2001-11-29 André Pönitz <poenitz@gmx.net>
2701 * insettext.C: further reduction of header dependencies by using
2702 lyx::layout_type and lyx::textclass_type from support/types.h
2704 2001-11-29 Juergen Vigna <jug@sad.it>
2706 * insettext.C: inserted a reinitLyXText function everywhere I delete
2707 the paragraphs! This should fixe the crashes we had.
2708 Also use the new function firstRow() instead of getRowNearY(dummy_y)
2709 (paragraph): set the InsetOwner() of the new paragraphs!
2711 2001-11-28 André Pönitz <poenitz@gmx.net>
2713 * insetnote.C: add pos initialization that I removed without
2716 2001-11-28 Juergen Vigna <jug@sad.it>
2718 * insettabular.C (resetPos): hack to not crash with infinite paints.
2720 * insettabular.h: insert missing function allowSpellcheck()!
2722 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2724 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2727 * insetfloatlist.C: derive from InsetCommand so gui can use it
2730 2001-11-26 André Pönitz <poenitz@gmx.net>
2734 * insetnote.C: reduce header dependencies, introduce type for
2737 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2739 * various: update for Alert.h
2741 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2743 * inset.h: fix comment
2745 * insettext.C: use par->isInset()
2747 2001-11-22 Allan Rae <rae@lyx.org>
2749 * insetcollapsable.h:
2750 * inset.h: Changes to checkInsertChar() behaviour.
2751 Now return value indicates whether chars can be inserted.
2753 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
2755 * various: updated to use the new LaTeXFeatures
2757 2001-11-14 José Matos <jamatos@fep.up.pt>
2759 * insetspecialchar.C (linuxdoc):
2760 (docbook): don't give a name to a unused variable.
2762 * insettext.C (docbook): removed unused variable.
2764 2001-11-13 Herbert Voss <voss@perce.de>
2766 * insetgraphic.C: fix scale bug
2768 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2770 * inset.h (isSpace):
2771 (isLetter): new virtual methods.
2773 * insetspecialchar.C (isSpace):
2774 (isLetter): implement here.
2776 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2778 * inset.h: new inline helpers
2780 * insettext.C: use new helpers
2782 2001-11-07 José Matos <jamatos@fep.up.pt>
2784 * insettext.C (docbook): full support for paragraphs inside insettext.
2786 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
2788 * insetindex.C: added header file for std::ostream.
2790 2001-11-03 José Matos <jamatos@fep.up.pt>
2792 * insetindex.C: added using std::ostream that I forgot yesterday.
2794 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
2796 * insetindex.h (docbook):
2797 * insetindex.C (docbook): added support for docbook export.
2799 2001-11-02 José Matos <jamatos@fep.up.pt>
2801 * insetcaption.C(docbook): added support for docbook export.
2803 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
2805 * insetexternal.C (updateExternal): Do not run update command if
2806 result file exists and is up to date.
2808 * ExternalTemplate.C (readFormat): Support the updateresult token.
2810 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
2812 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
2813 external_templates) to use the buffer->fileName() but only if
2814 previewing. Generating a TeX file should make FPath return
2817 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2820 * insetert.C: fix some problems
2822 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2824 * insetexternal.C (doSubstitution): Added $$FPath token
2825 to list of usable substitutions in external inset templates.
2827 2001-10-24 Juergen Vigna <jug@sad.it>
2829 * insettabular.C: use new ltType struct for setting longtable
2830 header and footers also new UNSET enums.
2832 2001-10-24 José Matos <jamatos@fep.up.pt>
2834 * insettabular.C (linuxdoc): Now exports the ascii's table version.
2835 (docbook): If the table is not inside a float then wrap it inside
2836 <informaltable>...</informaltable>.
2838 2001-10-23 José Matos <jamatos@fep.up.pt>
2840 * insetref.C (docbook): removed / terminator to conform SGML.
2842 * insetspecialchar.C (linuxdoc):
2843 (docbook): Added support for special chars, more than ascii export.
2845 2001-10-22 Juergen Vigna <jug@sad.it>
2847 * insettext.C (checkInsertChar): added for REALLY checking the
2848 font of the inserted char in the right inset!
2850 2001-10-19 Juergen Vigna <jug@sad.it>
2852 * inset.h: added method allowSpellcheck() so that insets who do
2853 not have anything to spellcheck can tell and so they are over-jumped.
2854 Implemented for InsetText and co.
2856 2001-10-18 Juergen Vigna <jug@sad.it>
2858 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2860 2001-10-15 José Matos <jamatos@fep.up.pt>
2862 * insetert.C: allow export for docbook and linuxdoc
2864 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2866 * insetquotes.C (dispString): handles latin3 and latin4 quotes
2868 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2870 * insetquotes.C (dispString): fix handling of latin9 quotes
2872 2001-10-03 Juergen Vigna <jug@sad.it>
2876 * insetcollapsable.C: change updateInset calls to not tell BV that
2877 we have changed status.
2879 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2881 * insettabular.C (deletable): make const
2883 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2885 * insetert.C (latex): Fix the returned value
2887 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2889 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
2890 Returns string(), so nothing in an ERT inset is spellchecked.
2892 * insetgraphics.C (draw): print the filename if not displaying the
2894 (width): make sure that the width and draw methods are consistent.
2895 (updateInset): don't even load the image into cache if not displaying
2898 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2900 * various files (selectNextWord): renamed as
2901 selectNextWordToSpellcheck.
2903 * insetgraphics.C (draw): remove the previous change. Right place
2904 is in imageLoaderXPM.C.
2905 (draw): don't display the image if params.display == NONE.
2907 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2909 * figinset.C (runqueue):
2910 * insetgraphics.C (draw): set background colour of inset from
2911 background to the user-configurable graphicsbg.
2913 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2915 * insetquotes.C (InsetQuotes): when trying to decide the side of
2916 the quote, choose `left' only after a space or '('
2918 2001-09-04 José Matos <jamatos@fep.up.pt>
2923 * insetcollapsable.h
2941 * insetlatexaccent.C
2942 * insetlatexaccent.h
2947 * insetspecialchar.C
2948 * insetspecialchar.h
2952 * insettext.C (docbook): rename docBook method to docbook.
2954 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2956 * inset.h (getFirstParagraph): New virtual method.
2958 2001-08-20 Herbert Voss <voss@perce.de>
2959 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
2960 in the the bibtex-database-gui for inserting a line
2963 If no style is given than there is no tex-output.
2965 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
2967 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
2971 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
2973 * insetert.C (latex): Fix output for multiple paragraphs.
2974 (write): New code for writing paragraph data.
2975 (read): Set font after reading the inset.
2976 (localDispatch): Call set_latex_font() for more cases.
2978 * insetnote.h: Add empty validate method.
2981 * insetnote.C (InsetNote): Set language to the language of the
2984 2001-08-16 Juergen Vigna <jug@sad.it>
2986 * insettext.C: implemented the new FINISHED states.
2988 * insettabular.C: ditto
2990 * inset.h: added more FINISHED states for cursor right,up,down
2992 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2994 * insetfloatlist.C: use "FloatName List"
2996 2001-08-14 Juergen Vigna <jug@sad.it>
2998 * insetert.C (edit): forgot to set status_ in edit calls!
3000 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
3002 * insettext.C: Compilation fix
3004 2001-08-13 Juergen Vigna <jug@sad.it>
3006 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
3008 * insetcollapsable.C (edit): don't recollapse an already open inset.
3010 * insettext.C: fixed problem when reinitializing LyXText by not doing
3011 it while lt is in use and post this to the next possible time in
3013 (searchForward): fixed not unlocking of inset if nothing found.
3014 (edit): set cursor behind right (was set -1 pos).
3016 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
3018 * insettabular.C (tabularFeatures): fixed fix where deleting the
3019 last row didn't get the right actcell!
3021 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
3023 * insettext.C (localDispatch): Change language only when the inset
3026 2001-08-10 Juergen Vigna <jug@sad.it>
3028 * insettabular.C (selectNextWordInt): use the front using edit call.
3030 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
3031 the parameter overwrite class variable inset.
3033 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
3035 * insettext.C (saveLyXTextState): check for invalid cursor-par.
3036 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
3038 * insettabular.C (calculate_dimensions_of_cells): let's try to call
3039 update only for fixed with cells.
3040 (resetPos): try to fix the lockup on spellchecking or s&r.
3042 * insettext.C (update): comment this out as it seems first wrong
3043 and second not needed anymore!
3044 (some functions): call reinitLyXText() only in update() in all other
3045 positions set only need_update = INIT.
3047 2001-08-08 Juergen Vigna <jug@sad.it>
3049 * insettabular.C (setPos): fixed wrong actrow < rows() check.
3051 * insettext.C (insetUnlock): remove double-space on inset unlock.
3053 * insetcollapsable.C (draw): fix returned x when label > inset-width.
3055 * insettabular.C (update): fixed cursor positon after an insert.
3056 (insetAllowed): do not allow to insert insets when not inside the
3058 (draw): clear below an inset too as it could have changed height.
3060 * inset.C (getMaxWidth): fixed width for inset in inset.
3062 * insettext.C (update): small fix.
3064 * insettabular.C (tabularFeatures): added selection support to
3065 DELETE_ROW/DELETE_COLUMN.
3067 2001-08-07 Juergen Vigna <jug@sad.it>
3069 * inset.C (getMaxWidth): recoded and all it's implementations!
3071 * insettext.C (init,setParagraph+constructors): cleanups
3072 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
3073 are new and I want do a save/restore of the cursor position which is
3074 not possible anymore.
3076 * insetcollapsable.C (searchBackward): recollapse inset if not found.
3077 (searchBackward): ditto
3078 (selectNextWord): ditto
3080 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
3082 * insetlatexaccent.C (checkContents): Add some debug messages
3084 2001-08-07 Juergen Vigna <jug@sad.it>
3086 * insetert.C (read): don't use InsetCollapsable::read as we don't
3087 write the collapsed status anymore only the status.
3090 2001-08-06 Juergen Vigna <jug@sad.it>
3092 * insetert.C (set_latex_font): use LyXText's setFont directly.
3094 * insettext.C (drawFrame): fixed one time more the right position
3095 and size of the frame!
3097 * insetert.C (~InsetERT): hide the dialog.
3098 (showInsetDialog): added implementation
3101 (status): new function for the status of the ERT inset (3-state).
3102 (write): output also the status of the inset for readback!
3103 (read): readback the status if available otherwise use collapsed_.
3105 * insettext.C (edit): small fix of setting the position, which could
3108 * insetert.C (width): implement this function for inlined viewing.
3109 Added minimum width of 10 pixels!
3111 * insetminipage.C (InsetMinipage): just change the colors a bit so
3112 that border/background is a bit more visible. We will remove this
3115 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
3116 function for getting the important widths for drawing in various
3117 functions and in LyXText.
3118 (draw): fixed up a bit (frame drawing/clearing)
3120 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3122 * inset.C (convertFont): delete method. not used.
3124 2001-08-03 Juergen Vigna <jug@sad.it>
3126 * insettext.C (setFont): don't call for a draw update if we're just
3127 changing the cursor font!
3129 2001-08-02 Juergen Vigna <jug@sad.it>
3131 * insettext.C (draw): clear the background with the right color if
3132 needed. Update myself if x&max-width changed and return without doing
3133 anything. Let the update code handle the right stuff.
3135 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
3136 inside another inset.
3138 2001-08-01 Juergen Vigna <jug@sad.it>
3140 * insetcollapsable.C (update): added an in_update bool so we avoid
3143 * insettabular.C (update): added an in_update bool so we avoid
3146 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
3148 (update): added an in_update bool so we avoid reentering.
3150 * insettabular.C (localDispatch): clear col/row selection when doing
3151 something else inside an inset.
3153 * insettext.C (getLyXText): fixed bug when requesting a recursive
3156 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
3158 * insetcite.C (latex): Paranoia check. Make sure that there is no
3159 whitespace between the citation keys.
3161 2001-07-31 Juergen Vigna <jug@sad.it>
3163 * inset.h (nodraw): make the set function also const so that this
3164 can be called from inside other const functions.
3166 * insetcollapsable.h: removed inline variable and moved it over
3167 to the only user InsetERT.
3169 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
3170 inset opening immediately therein lying insets dialogs!
3172 * insetert.C (localDispatch): set the font also if we don't have any
3173 chars in this paragraph, otherwise if we delete all of em and start
3174 writing we have the wrong font.
3176 (draw): implemented for inline support
3177 (insetButtonRelease): ditto.
3179 2001-07-30 Juergen Vigna <jug@sad.it>
3181 * insettext.C (reinitLyXText): new function to reinit the insets
3182 text after lot's of paragraph changes. Use this instead of the
3183 cache.clear() which is VERY dangerous.
3185 * insetfloat.C (insetButtonRelease): we should only show the dialog
3186 if we press on the label otherwise we have problems to open mouse
3187 button 3 dialogs inside this float (f.ex. of a tabular!)
3189 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3191 * insetert.C: change back to "ERT"
3193 * insetfloat.C: handliign of RMB on label added.
3195 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3197 * insetgraphicsParams.C: #include LOstream.h here.
3199 * insetfoot.h: remove InsetFoot:: qualifier.
3201 2001-07-29 Baruch Even <baruch@lyx.org>
3203 * ChangeLog: Hiding time travel evidence.
3205 * insetgraphicsParams.h:
3206 * insetgraphicsParams.C:
3207 * insetgraphics.C: Added horizontal scale option, it actually scales both
3208 directions since it keeps image proportions.
3210 * insetgraphics.C: Fixed EPS detection to be non-hacky.
3212 2001-07-29 Baruch Even <baruch@lyx.org>
3214 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
3215 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
3217 HACKY! Will need to add an EPS detection routine like old InsetFig does!
3219 2001-07-29 Baruch Even <baruch@lyx.org>
3221 * insetgraphics.C: Added EPSI to be an alias of EPS.
3223 2001-07-29 Baruch Even <baruch@lyx.org>
3225 * insetgraphics.C: Change GRAPHICS to Graphics.
3226 Changed image conversion rules (documented at the beginning of file).
3228 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
3230 * insetert.C (get_new_label): int -> Paragraph::size_type to get
3233 * insetgraphics.C: added a using std::endl directive.
3235 * insetcommand.h (getScreenLabel): removed pure virtual function,
3236 as it duplicates that in InsetButton.
3238 * insetbib.[Ch] (getScreenLabel):
3239 * insetbutton.[Ch] (getScreenLabel):
3240 * insetcite.[Ch] (getScreenLabel):
3241 * insetert.[Ch] (getScreenLabel):
3242 * insetexternal.[Ch] (getScreenLabel):
3243 * insetfloatlist.[Ch] (getScreenLabel):
3244 * insetinclude.[Ch] (getScreenLabel):
3245 * insetindex.[Ch] (getScreenLabel):
3246 * insetlabel.h (getScreenLabel):
3247 * insetparent.[Ch] (getScreenLabel):
3248 * insetref.[Ch] (getScreenLabel):
3249 * insettoc.[Ch] (getScreenLabel):
3250 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3252 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3254 (validate): remove check on "cite" when using natbib.
3256 2001-07-26 Baruch Even <baruch@lyx.org>
3258 * insetgraphics.C (draw): changed casting to be in one place rather than
3259 all over the function.
3262 * insetgraphics.C (read): Added compatibility reads of InsetFig.
3264 * insetgraphicsParams.h:
3265 * insetgraphicsParams.C:
3266 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3268 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3270 * insetfoot.C (validate): Added method to ensure that the
3271 right bit of LaTeX is emitted.
3273 * insetfoot.h: Added validate method to set the correct
3274 LaTeXFeatures bit for the special footnote code.
3276 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3278 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3281 2001-07-27 Juergen Vigna <jug@sad.it>
3283 * inset.h: remove not used font variable in parameter.
3284 removed checkInsertChar in UpdatableInset as it was equal to
3285 the one in Inset and so not needed.
3287 * insetert.C (checkInsertChar): implementation of function
3290 * inset.h: added new function checkInsertChar.
3292 * various files: added c-tor and clone() function.
3294 * insetcollapsable.h: removed clone function here as this should
3295 be only realized in REAL insets and added it to all collapsable
3296 insets! (with the copy-constructor).
3298 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3300 * insetminipage.C (read): handle missing parameters more gracefully
3302 * insetcollapsable.C (read): handel missing collapsed more gracefully
3304 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3306 * insetfloat.C (read): handle missing parameters.
3308 * insettext.C (read): handle old latex end_inset
3310 * insetert.C (setButtonLabel): new method
3311 (init): use it, to set the dynamic label correctly
3314 * Makefile.am (EXTRA_DIST): add files that is not part or the
3317 * insetcollapsable.h: remove autocollapsable (no users), remove
3318 draw_label, change_label_with_text and companion code. Remove args
3320 * insetert.[Ch]: move here instead (only user)
3322 * inset.h: rename private variable name to name_, make
3323 selectNextWord return a const string. make getInsetName return a
3324 string const &. Remove bool from open, add close.
3326 * Makefile.am: don't compile insetlist, insetsection
3329 2001-07-24 Juergen Vigna <jug@sad.it>
3331 * insetert.C (InsetERT): put init after the paragraph initialization,
3332 as otherwise we don't set the draw_label right.
3334 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3335 insets with the mouse without having strange selections.
3336 (edit): if the inset was collapsed and we open it here then put the
3337 cursor always at the beginning of the inset.
3338 (get_new_label): 15 instead of 10 max chars in the label.
3340 * insetert.C (localDispatch): added and handle various stuff we
3341 need to handle here (font setting on paragraph break, not permitted
3342 layout setting, etc.).
3344 * inset.h: added default copy-consturctor and implemented this in
3345 various insets with the change to use this in the clone function!
3347 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3349 * insetminipage.C (InsetMinipage): set background color to red :)
3351 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3353 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3354 draw frame mode is LOCKED.
3356 * insetcollapsable.C (edit):
3357 (insetButtonRelease): set update status to full when
3360 * insettext.C (clearInset):
3361 * insettabular.C (draw):
3362 * insetlatexaccent.C (draw): honor background color.
3364 * inset.h: new member background_color_, initialized to
3367 * inset.C (backgroundColor): new method.
3368 (setBackgroundColor): new method.
3370 * insetert.C (init): new method, called by the ctors.
3371 (InsetERT): when inserting contents, make sure the font is
3374 * insetnote.C (InsetNote): when inserting content, remove trailing
3376 (init): set background color to LColor::note
3378 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3380 * insetcollapsable.C: adjust
3382 * insetbutton.C: adjust
3384 2001-07-23 Juergen Vigna <jug@sad.it>
3386 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3387 parameter on the _collapsed function (was not needed) and call
3388 always width_collapsed().
3390 * insetert.C (InsetERT): use setLabel with "true" flag.
3392 * insetcollapsable.C: modified various functions to set the draw_label
3393 string right in any condition.
3394 (setLabel): added a bool parameter to set change_label_with_text.
3396 * insetcollapsable.h: added draw_label string which is set to the
3397 actual drawn label-string, while label is the original static label
3398 of this collapsable inset. Added bool change_label_with_text to set
3399 if we want that the label changes to the start of the InsetText's
3400 text when collabpsed. You can set this flag with the setLabel funciton.
3401 Added bool inlined for inlined collapsable insets, but not handled
3404 * insetcollapsable.C (get_new_label): added should get a new label
3405 from the InsetText beginning (for now 10 chars).
3407 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3409 * insetquotes.C (latex): fix the handling of french double quotes
3410 when not using the french pachage.
3412 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3414 * insetcollapsable.h: make WidthCollapsed mutable.
3416 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3417 InsetPrintIndex returns INDEX_PRINT_CODE.
3419 * inset.h: add INDEX_PRINT_CODE
3421 * insetcollapsable.C (draw): init widthCollapsed if necessary
3424 * insetquotes.C (width): use the local language, not the document
3427 (dispString): add additional spacing for all french languages,
3429 (validate): make it work when there is no default language
3431 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3433 * insetnote.C (init): new method, called by the constructors
3434 (InsetNote): new constructor with contents passed as a string
3436 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3438 * insetfootlike.C (insetAllowed): disallow float in footlike.
3440 * insetert.C (InsetERT): add collapsed argument to the constrctor
3443 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3445 * insetindex.h: shut off warning
3447 2001-07-20 Juergen Vigna <jug@sad.it>
3449 * insetcollapsable.C (update): recoded hopefully works now!
3451 2001-07-19 Juergen Vigna <jug@sad.it>
3453 * most files: implemented the below new introduced function.
3455 * inset.h: added new edit(BufferView *, bool front) method to be able
3456 to enter an inset from the front/back without knowing x/y positions
3457 and baselines inside the inset. So I just can tell the inset activate
3458 me and set the cursor on the front/back of yourself.
3460 2001-07-18 Juergen Vigna <jug@sad.it>
3462 * insetcollapsable.C (edit): fixed hopefully the y parameter which
3463 is given to the InsetText.
3464 (insetButtonPress): ditto
3465 (insetButtonRelease): ditto
3466 (insetMotionNotify): ditto
3468 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3470 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3471 LIGATURE_BREAK, since the name is so stupid.
3473 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3475 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3476 the default InsetCollapsable methods. I.e., it can insert anything.
3477 (write) output the name of the inset, not some silly hack for
3478 compatability with the old InsetInfo.
3480 * insetinfo.[Ch]: removed.
3481 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3482 now collapsable, but functionality is otherwise identical to InsetInfo.
3484 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3486 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3488 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3491 * insetquotes.C: general cleanup
3492 (dispString): add spaces inside french double quotes.
3493 (latex): ditto. Moreover, treat first the case where the frenchb
3494 or french options have been given.
3496 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3498 * insetcite.[Ch] (latex, validate): new methods, required for natbib
3501 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
3503 * figinset.C (RegisterFigure): Print debug message only when
3504 current_view is available.
3506 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3508 * many files: update to match the change below
3510 * inset.h (insetAllowed): renamed from insertInsetAllowed;
3511 implement the version which takes an inset here.
3513 * insetcollapsable.[Ch]: implement open and isOpen
3515 * inset.h: remove insertInsetAllowed from Inset
3516 (open): new method, to open or close an inset
3517 (isOpen): returns the status of an inset
3518 (isCollapsable, colapse): removed
3520 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3522 * insetquotes.C (dispString): display french guillemets when using
3525 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3527 * insetcollapsable.h: remove bogus return statements
3529 2001-07-18 Juergen Vigna <jug@sad.it>
3531 * insettabular.C (selectNextWord): fixed spellchecking for the
3532 first cell of a tabular (wasn't entered!)
3533 (getLyXText): changed to enter automatically insettext and return
3534 it's LyXText if we're locked.
3536 2001-07-17 Juergen Vigna <jug@sad.it>
3538 * various files: implemented the below functions.
3540 * inset.h: added functions
3541 - virtual string selectNextWord(BufferView *, float & value) const;
3542 - virtual void selectSelectedWord(BufferView *) { return; }
3543 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3544 needed for spellchecking correctly!
3546 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
3548 * insetert.C (latex): write out all paragraphs.
3550 2001-07-17 Baruch Even <baruch@lyx.org>
3552 * insetgraphics.C (draw): Removed unneeded casts.
3554 2001-07-16 Juergen Vigna <jug@sad.it>
3556 * insettext.C (update): fixed small oversight (reset lt to 0).
3558 2001-07-14 Baruch Even <baruch@lyx.org>
3561 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3563 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3565 Consistent use of Lsstream.h:
3566 * figinset.C: removed using std::ostringstream directive.
3568 * insetgraphics.C (createLatexOptions):
3569 * insetinclude.C (unique_id):
3570 std::ostringstream -> ostringstream.
3571 * insettext.C (localDispatch): std::istringstream -> istringstream.
3573 2001-07-13 Juergen Vigna <jug@sad.it>
3575 * insetfloat.C (insertInsetAllowed): added missing const_cast.
3577 * insetcollapsable.C (getLockingInset): ditto.
3579 2001-07-12 Juergen Vigna <jug@sad.it>
3581 * insetcollapsable.h: added implementation of new function for
3584 * various files: added implementation of new insertInsetAllowed-func
3585 and redone the function a bit more.
3587 * inset.h: added isCollapsable(), bool collapsed(),
3588 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3590 * insetfloat.C (insertInsetAllowed): make a bit more checks.
3592 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3593 LyXText which is marked for removal while we're using it!
3595 * insettext.h: added private LyXText * lt to use it to assure we are
3596 not deleting our LyXText while we're using it!
3598 2001-07-11 Juergen Vigna <jug@sad.it>
3600 * insettext.C (insertInset): check if we are before the inset after
3601 inserting it! This check IS needed. Remove the Undo-Call as it is
3602 called in LyXText::insertInset!
3604 * insettext.h: added struct InnerCache.
3606 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3607 that we ONLY delete the LyXText in the getLyXText() routine. So we
3608 are sure we don't delete LyXText while someone is working with it!
3610 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3612 * insetexternal.C: (*it). -> it->
3613 * insettext.C: ditto
3615 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3617 * insetcollapsable.C (edit): always open collapsed insets (even if
3618 they are not autocollapsable)
3620 * insetcommand.C (operator=): simplify.
3622 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3624 * insetert.C (latex): handle META_NEWLINE
3626 2001-07-09 Juergen Vigna <jug@sad.it>
3628 * insetert.h: a normal InsetText can insert insets, but we won't.
3630 * inset.h: return default "false" on insertInsetAllowed and implement
3631 this function where a returnvalue != "false" is needed.
3633 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3635 * insetert.C (InsetERT): new contructor
3637 2001-07-06 Juergen Vigna <jug@sad.it>
3639 * a lot of files: added implementation of the below new functions
3640 and the change to clone(). Also the call of the new undo-functions
3643 * inset.h: added an inset_id, added functions getParFromID,
3644 getInsetFromID, firstParagraph, cursor and id functions, added
3645 bool same_ids to clone function.
3647 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3649 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3650 of BufferView * and shared_ptr<LyXText>
3652 2001-07-05 Juergen Vigna <jug@sad.it>
3654 * insettext.C (clear): deleted also the cache not only LyXText.
3655 (setParagraphData): ditto.
3657 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3659 * insetfloat.C (latex): let the specific placement take presedence
3660 if set, otherwise choose document placement if set, otherwise just
3661 use float default placement.
3663 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3665 * insettext.C (localDispatch): call CutAndPaste::'s static method
3668 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3670 * insetbib.C: no meed to include forms.h here.
3672 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
3674 * insettext.C: added using std::make_pair directive.
3676 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3678 * insettext.C (getLyXText): avoid multiple lookups, and simplify
3680 (deleteLyXText): ditto
3681 (resizeLyXText): ditto
3683 2001-07-02 Juergen Vigna <jug@sad.it>
3685 * insettext.C (getLyXText): introduce a cache in getLyXText so that
3686 following calls are only returned the right pointer without the over
3687 head to search in the map.
3688 (various funcs): reset the cached_bview variable as this signs that
3689 the cache is not valid anymore.
3691 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3693 * insettabular.C (clone): do not copy the LyXTabular twice
3695 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3697 * insettext.h (TEXT): delete method
3699 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3701 * insetmarginal.C (latex):
3702 * insetfoot.C (latex): fix spacing of notes in LaTeX
3704 * insettext.C (localDispatch): use .c_str() on istringstream
3705 constructor argument.
3707 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3712 * inseturl.C: fix method names in these to begin
3713 with small char too, so they inherit
3715 2001-06-28 Juergen Vigna <jug@sad.it>
3717 * insettext.C (setFont): fixed font settings using toggleFree()
3718 instead of setFont().
3720 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3722 * Change a lot of method names to begin with a small char.
3723 Changes to a lot of files because of this.
3725 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3727 * insetfloatlist.C (Write): std:: qualify ostream
3730 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3734 * insetgraphics.C: send debug output to Debug::INFO instead of
3737 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3740 * insettabular.C (getStatus): update to use func_status
3742 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
3744 * insetref.C (DocBook): added support for cross-references without
3747 2001-06-26 The LyX Project <jug@sad.it>
3752 * insetlabel.h: removed escape method and moved it to
3755 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3757 * insettabular.C (getMaxWidth): do the speedup in a different way,
3760 2001-06-24 The LyX Project <Asger>
3762 * insettabular.C (getMaxWidth): We cache a mapping from
3763 inset to cell in order to speed this method up.
3765 2001-06-24 The LyX Project <Asger>
3767 * insettext.C: Optimized InsetText::draw or something.
3769 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
3771 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
3773 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3775 * inset.h: name change from lyxinset.h
3777 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
3779 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
3781 2001-06-14 Juergen Vigna <jug@sad.it>
3783 * insettext.C (draw): removed warnings.
3785 2001-06-13 Juergen Vigna <jug@sad.it>
3787 * insettabular.C (nodraw): only go down the tree if we don't have
3788 that flag set otherwise it's obvious that we don't want to draw.
3789 (LocalDispatch): do also an update if we have an undispached result.
3791 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
3794 * insetgraphicsParams.C:
3795 * insettext.C: removed // -*- C++ -*- as first line.
3797 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3799 * lyxinset.h (resizeLyXText): shut off warning about unused
3802 2001-06-07 Juergen Vigna <jug@sad.it>
3804 * insettext.C (resizeLyXText): honor the new force flag.
3806 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
3808 * insettabular.C (deleteLyXText): new function
3810 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3818 * insetcollapsable.C:
3819 * insetcaption.C: LColor tidy
3821 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3823 * figinset.C: fix typo
3825 2001-06-01 Juergen Vigna <jug@sad.it>
3827 * insettabular.C (resetPos): small hack so that scroll is not set to
3828 0 when we are in the last column of a tabular. This is a problem we
3829 have because of constats 20 offset on both directions, so this can
3830 cause on the limit an endless loop.
3832 * insettext.C (SetFont): forgot that we can have locking insets ;)
3834 2001-05-31 Juergen Vigna <jug@sad.it>
3836 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
3838 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3840 * figinset.C: add using std:: directive for the C functions which
3843 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3845 * insetfloat.C (Write): write out wide info
3846 (Read): read the wide info
3847 (Latex): use the wide info when creating latex.
3849 * insettext.C: adjust
3851 * insetgraphics.[Ch] (statusMessage): change to return string
3855 * figinset.C (runqueue): add std::
3858 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3860 * insetcite.C (Ascii): add std:: qualifier
3862 2001-05-28 Juergen Vigna <jug@sad.it>
3864 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
3865 a endless-width inset (maxWidth < 0).
3866 (Edit): change language only if not equal.
3868 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
3870 * insettext.C (draw): fixed draw/clear of InsetText-Frame
3872 2001-05-16 Juergen Vigna <jug@sad.it>
3874 * insettext.C (selectAll): added
3875 (clearSelection): added
3877 * insettabular.C (SetFont): now we may set a font on a whole selection!
3878 (getSelection): added helper function.
3880 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3882 * insetcite.C (Ascii): Add method.
3884 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3887 * insetbib.C: fix path for OS/2 & Win32
3889 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3891 * insetfoot.C (Latex): don't use % after footnote.
3893 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3895 * insettext.C (Read): use clear
3896 (SetParagraphData): use LyXParagraph copy constructor instead of clone
3898 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3900 * insetfloatlist.h: add a bunch of std:: qualifiers.
3902 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3904 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
3905 FLOAT_LIST_CODE, renumber code list.
3907 * insettoc.C (getScreenLabel): remove support for float lists
3911 * insetfloatlist.[Ch]: new files
3913 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
3915 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
3917 * insettabular.C (LocalDispatch):
3918 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
3921 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3923 * insettext.C: remvoe !NEW_INSETS cruft
3925 * insettabular.C: remove !NEW_INSETS cruft
3927 * insetcollapsable.h: remove !NEW_INSETS cruft
3929 * insetbib.C: remove !NEW_INSETS cruft
3931 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3933 * insettoc.C: hack to make listof algorithm work
3935 2001-04-20 Juergen Vigna <jug@sad.it>
3937 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
3939 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3941 * insetquotes.C (Latex): improve the guard against
3942 unwanted !` and ?` ligatures. This should really be done in
3943 another place (to catch all this ligatures at low-level).
3945 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3947 * insettext.C (init): remvoe leftovers from cursor_visible change
3948 (draw): use c++ cast
3949 (LocalDispatch): dispatch LFUN_MESSAGE
3951 * insettabular.C (InsetTabular): remove leftovers from
3952 cursor_visible, and scoped_ptr changes
3953 (draw): use c++ cast
3955 * insetcollapsable.C (draw): use c++ cast
3957 * ExternalTemplate.h: inherit privaely from noncopyable
3958 * insetcommand.h: ditto
3959 * insetinclude.h: ditto
3961 2001-04-16 Allan Rae <rae@lyx.org>
3963 * insettoc.C (Ascii):
3964 * insettext.C (draw):
3965 * insettabular.C (setPos):
3966 * insetminipage.C (Read):
3967 * insetfloat.C (placement):
3968 * insetcaption.C (Ascii, DocBook):
3969 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
3970 an unrecognised preprocessor directive. So ensure they're wrapped.
3972 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
3975 * insetexternal.C: set view on Clone. Add _ to private members.
3977 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3979 * insettext.C (InsetText): fix new
3980 (InsetText): reindent some, simplify deletion of par list
3981 (clear): simplify deletion of par list, fix new
3982 (SetParagraphData): simplify deletion of par list
3984 * insettabular.[Ch] (getLabelList): implement new method
3986 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3988 * lyxinset.h: do not include gettext.h...
3996 * insetlatexaccent.C:
4000 * inseturl.C: ... and do it here instead
4002 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4004 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
4006 * insettext.[Ch] (getLabelList): add std:: on vector<string>
4008 * insetcollapsable.[Ch] (getLabelList): implement
4010 * insettext.[Ch] (getLabelList): implement
4012 * insettext.h: reindent
4014 * insettabular.h: make tabular a scoped_ptr
4016 * insettext.C (init): adjust for cursor_visible
4017 (ToggleInsetCursor): constify asc and desc, font, adjust for
4019 (ShowInsetCursor): constify asc and desc, font, adjust for
4021 (HideInsetCursor): adjust for cursor_visible
4023 * insettabular.C: reindent some
4024 (InsetTabular): adjust for scoped_ptr and cursor_visible
4025 (InsetTabular): ditto
4026 (~InsetTabular): delete delete
4027 (Clone): adjust for scoped_ptr
4028 (Read): constify old_format, adjust for scoped_ptr, move init of
4030 (draw): constify tx, localize loop vars.
4031 some other localization of variables, remove double initilizatons.
4033 * insetfoot.C: remove using std::ostream, add ostream where needed
4035 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4037 * lyxinset.h: some reindentaion, use initializer list for
4039 UpdatableInset: make cursor_visible a private var add
4040 public isCursorVisible(), add protected toggleCursorVisible() and
4041 proctected setCursorVisible(bool), make scroll call the Inset::scroll
4043 * insettoc.C: remvoe using decl
4044 (getScreenLabel): make cmdname donst
4047 (Ascii): don't use endl
4049 * insetfootlike.C: remove using decl at file scope and add std::
4051 * insetmarginal.C: ditto
4053 * insetfoot.C: some reformatting
4055 * insetfloat.C (InsetButtonRelease): adjust the hit area
4057 * insetert.C (SetFont): some reformatting
4059 * insetcollapsable.C: some reformatting and constification
4060 (Clone): comment out.
4061 * insetcollapsable.h: some reformatting
4062 (Clone): comment out.
4067 2001-03-30 Juergen Vigna <jug@sad.it>
4069 * insetcollapsable.h: changen *inset to be a InsetText inset.
4071 * some files: changed to reflect the above change.
4073 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
4075 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
4076 InsetExternal::Params.
4077 Added operator==() and operator!=() for the Params struct.
4079 2001-03-29 Juergen Vigna <jug@sad.it>
4081 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
4084 * insetminipage.C: removed widthp_ and all it's functions and changed
4085 to use new %-lengths of LyXLength.
4087 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4089 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
4091 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4093 * insetgraphicsParams.C (operator!=): new function, needed by the
4094 ControlGraphics class.
4096 2001-03-28 Juergen Vigna <jug@sad.it>
4098 * insettext.C (InsetButtonPress): only enter !inset if button == 2
4099 (checkAndActivateInset): don't use the values returned from
4100 call to bv->checkInsetHit.
4102 * insetminipage.C (Clone): set special minipage values.
4104 * insetcollapsable.C (draw): changed to draw the button in the
4105 upper left corner outside the textinset.
4106 (ascent): changed because of different drawing
4110 (InsetButtonPress): ditto
4111 (InsetButtonRelease): ditto
4112 (InsetMotionNotify): ditto
4114 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
4116 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
4120 2001-03-26 Juergen Vigna <jug@sad.it>
4122 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
4124 * insettext.C (ShowInsetDialog): implemented above function.
4126 * insettabular.C (ShowInsetDialog): ditto
4128 * insetminipage.C (ShowInsetDialog): ditto
4130 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4132 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
4133 InsetInclude::Params. Don't store a buffer * in Params. Store the
4134 master file name instead.
4136 2001-03-23 Juergen Vigna <jug@sad.it>
4138 * insetcollapsable.C (InsetMotionNotify):
4139 (InsetButtonRelease):
4140 (InsetButtonPress): fixed y-offset (minipages).
4142 * insettext.C (draw): force a FULL update if cleared == true.
4144 * insetcollapsable.C (draw): Lars forgotten entry for changing this
4145 routine to draw the minipages on its position-flag.
4146 (InsetInInsetY): give back the right y position, because of minipage
4149 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4152 * insetfloat.C (DocBook): docbook export code.
4154 2001-03-22 Juergen Vigna <jug@sad.it>
4156 * insetminipage.C (getMaxWidth): added function to set the drawing
4158 (Read): should work now!
4160 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
4161 if we create a new inset.
4163 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4165 * figinset.C (fl_set_preemptive_callback): moved definition outside
4168 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4170 * insetminipage.C (Read): prepare for reading of minipage arguments.
4172 2001-03-18 Baruch Even <baruch@lyx.org>
4174 * insetgraphics.C: Minor cleanups of the comments and code.
4176 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4178 * insetminipage.C (InsetMinipage): default to not collapsed
4180 2001-03-16 Juergen Vigna <jug@sad.it>
4182 * insetminipage.C (width): modified with to be a string
4183 (widthp): added widthp (for % width) support functions.
4184 (InsetButtonRelease): added to open the options dialog on button==3.
4185 (~InsetMinipage): added to hide the dialog.
4187 * insetminipage.h: added hideDialog signal
4189 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4191 * insetminipage.h: change the order or Position to match
4192 LyXParagraph::MINIPAGE_ALIGNMENT
4194 * several files: remvoe CXX_WORKING_NAMESPACES
4196 * ExternalTemplate.h: noncopyable is in namespace boost
4197 * insetinclude.h: ditto
4198 * insetcommand.h: ditto
4200 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4202 * insettext.C (Edit): #else# -> #else.
4203 * insettoc.C: added using directive.
4205 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4207 * insetminipage.h: add pos, inner_pos, width and height. + getters
4208 and setters for all of them.
4210 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4212 * insetinclude.C (Latex): Do not exit when the textclass of the
4213 included file differ from the textclass of the parent file.
4215 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
4217 * ExternalTemplate.C (read): the reading of external insets now checks
4218 for \end_inset and removes it form the input stream.
4220 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4222 * ExternalTemplate.h:
4223 * ExternalTemplate.C:
4225 * insetexternal.C: move form to GUII
4227 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4230 * insetinclude.C: add InsetIncludeParams, use
4231 composition rather than derivation of InsetCommand
4233 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4235 * insettoc.C (Ascii): use the Buffer typedefs
4237 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4239 * insettoc.C (Ascii): implement for dynamic number of lists
4241 * insetcaption.[Ch]: update from new_insets branch
4242 * insetfloat.[Ch]: ditto
4244 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4247 * figinset.C: use new File Dialog
4249 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4251 * insettext.C: changes becuase of ParagraphParameters.
4253 2001-02-28 Baruch Even <baruch@ev-en.org>
4255 * insetgraphics.C (updateInset): Changed due to the change in
4258 2001-02-26 Juergen Vigna <jug@sad.it>
4260 * insettext.C (SetFont): Set Undo only if we have selection (as it is
4261 handled in LyXText).
4263 2001-02-23 Juergen Vigna <jug@sad.it>
4265 * insettext.C (draw): some small repainting fixes.
4266 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4268 * inset.C (LocalDispatch): changed action to be a kb_action (as it
4269 should be) and not an int.
4271 * insettabular.C (LocalDispatch): ditto
4273 * insettext.C (LocalDispatch): ditto
4275 * insetcollapsable.C (LocalDispatch): ditto
4277 2001-02-22 Juergen Vigna <jug@sad.it>
4279 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4280 DISPATCH it and we don't have a locking_inset.
4282 2001-02-21 Baruch Even <baruch@ev-en.org>
4284 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4285 instead of GraphicsCacheItem *.
4287 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4289 * insetcollapsable.C (getLyXText): add const qualifier to second
4292 2001-02-22 Juergen Vigna <jug@sad.it>
4294 * insettext.C (getLyXText): honor the recursive parameter.
4295 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4297 * inset.C (getLyXText): added bool recursive parameter.
4299 * insettext.C (SetUpdateStatus): or the update codes.
4300 (draw): check need_update with &.
4301 (InsetButtonPress): set no_selection to not put a selection when
4302 entering an inset and it is redraws in another spot.
4304 * insettext.h: made need_update an int.
4306 2001-02-20 Baruch Even <baruch@ev-en.org>
4309 * insetgraphisc.C: Changed to use better semantics when loading images
4310 for inline view. Now it doesn't keep the pixmap itself but it's holder.
4312 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4316 * insetgraphics.C: change name of "hide" signal to "hideDialog",
4317 consistent with InsetTabular.
4319 2001-02-19 Juergen Vigna <jug@sad.it>
4321 * insettabular.C (LocalDispatch): implement PAGE up/down.
4323 * insettext.C (draw): clear all of it on need_update==INIT too!
4325 * insettabular.C (InsetUnlock): always clear the selection.
4327 * inset.C (scroll): normally we only want to scroll the inset until
4328 it is fully visible so if top_x + offset > 20 then just set scx to 0.
4330 2001-02-14 Juergen Vigna <jug@sad.it>
4332 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4333 (resetPos): fixed scroll behaviour.
4334 (LocalDispatch): do an update if moving cursor inside a table cell
4335 requests a scroll of the tabular.
4337 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4339 * insettext.C (textWidth): constify local var
4341 * insettabular.C: small cleanup.
4343 * insetfoot.C (Latex): constify local var
4345 * insetcollapsable.C: small cleanup.
4347 * figinset.C (runqueue): use compare instead of strcmp
4349 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4352 * insetinfo.C: remove cruft
4354 2001-02-14 Juergen Vigna <jug@sad.it>
4356 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4358 2001-02-13 Juergen Vigna <jug@sad.it>
4360 * insettext.C (InsertInset): don't move left (is this right?)
4362 * insettabular.C (LocalDispatch): use of the no_draw variable
4364 * insettabular.h: new no_draw variable to stop redraw
4366 * insettabular.C (TabularFeatures): fixed update for alignment change
4368 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4372 * insetbib.C: move dialogs to frontends/
4374 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4376 * insettext.C (LocalDispatch): Restore the language if the inset
4379 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4381 * insettext.C (moveRightIntern): Update the selection cursor.
4382 (moveLeftIntern): Ditto.
4384 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4386 * Makefile.am: remove BoundingBox.h
4388 * BoundingBox.h: removed
4390 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
4392 * insettext.C (LocalDispatch): Update selection cursor when moving
4393 cursor to the right.
4394 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4395 (moveLeftIntern): Ditto.
4397 2001-02-05 Baruch Even <baruch.even@writeme.com>
4399 * insetgraphics.C: Updated automatic image conversion, it now goes into
4400 temporary directory instead of with the image itself.
4402 2001-01-21 Baruch Even <baruch@ev-en.org>
4404 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4405 to EPS or PNG when needed (support bitmap graphics).
4407 2000-11-02 Baruch Even <baruch@ev-en.org>
4410 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4411 and removal of commented out code.
4413 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4415 * insetbib.C (callback): Update citations if the key has changed.
4417 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4419 * insetbib.C (InsetBibKey): Better computation of default key.
4420 (getScreenLabel) Show both the key and the label.
4421 (getBibLabel): New method.
4422 (callback): Force a redraw if the inset have been changed.
4424 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4426 * insetref.C (getType, getName): Move methods from
4427 src/frontends/xforms/FormRef.C.
4429 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
4431 * insettabular.C: Various improvements (use only one dummy position).
4433 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
4435 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4436 par->bibkey->width. This fixes the crashes when running without
4437 gui or when having included documents.
4439 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
4441 * insetcommand.C (getAsString, setFromString): Cleanup.
4443 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
4445 * insetref.C: Add the array InsetRef::types that contains
4446 information about all supported reference types.
4448 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4450 * lyxinset.h: remove trailing comma in enum.
4452 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
4454 * insettext.C: kill LyXBell.