2 2003-05-19 André Pönitz <poenitz@gmx.net>
6 * insetcollapsable.[Ch]:
11 * insetgraphicsParams.[Ch]:
12 * insetlatexaccent.[Ch]:
16 * insetspecialchar.[Ch]:
18 * insettext.[Ch]: dimensions() instead of ascend/descend/width
20 2003-05-19 André Pönitz <poenitz@gmx.net>
23 * insettext.C: more insetenv
25 2003-05-16 André Pönitz <poenitz@gmx.net>
28 * insetminimpage.[Ch]:
29 * insetcollapsable.[Ch]: fix #832
31 2003-05-16 André Pönitz <poenitz@gmx.net>
38 * insetcollapsable.[Ch]:
43 * insetfloatlist.[Ch]:
48 * insetlatexaccent.[Ch]:
55 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
57 2003-05-13 André Pönitz <poenitz@gmx.net>
64 * insetwrap.C: tostr from own header
76 * insetwrap.C: STRCONV
79 2003-05-12 André Pönitz <poenitz@gmx.net>
91 * insetwwrap.C: boost::format -> bformat all over the place
93 2003-05-05 André Pönitz <poenitz@gmx.net>
95 * insettext.h: add missing #include <map>
97 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
99 * insettext.C (InsetText): parlist cleanup
104 (lockInsetInInset): ditto
108 (searchBackward): ditto
109 (collapseParagraphs): ditto
111 2003-05-06 John Levon <levon@movementarian.org>
113 * insetcaption.C: don't cast wrap inset to InsetFloat
116 * insetfloat.C: remove unneeded type() function
118 2003-05-05 André Pönitz <poenitz@gmx.net>
123 * insetcollapsable.[Ch]: remove unused function firstParagraph()
124 replace getFirstParagraph() by getParagraphs()
126 2003-05-03 John Levon <levon@movementarian.org>
128 * insetcollapsable.h:
129 * insetcollapsable.C:
135 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
136 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
137 getCursor(). Remove explicit cursor hides.
139 2003-05-02 André Pönitz <poenitz@gmx.net>
141 * insettext.C: remove unneeded &*
143 2003-04-30 John Levon <levon@movementarian.org>
145 * insettabular.C: fix edit message
147 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
149 * insettext.C (setFont): do not convert iterator -> pointer
151 * insettabular.C (localDispatch): do not convert iterator -> pointer
153 (tabularFeatures): ditto
155 2003-04-29 André Pönitz <poenitz@gmx.net>
157 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
159 2003-04-28 André Pönitz <poenitz@gmx.net>
161 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
164 2003-04-25 André Pönitz <poenitz@gmx.net>
166 * insetenv.C: derive from InsetText instead of InsetCollapsable
168 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
170 * insetexternal.C (string2params): dont do anything if the string
172 * insetgraphics.C (string2params): ditto
173 * insetcommand.C (string2params): ditto
174 * insetert.C (string2params): ditto
175 * insetfloat.C (string2params): ditto
176 * insetinclude.C (string2params): ditto
177 * insetminipage.C (string2params): ditto
178 * insettabular.C (string2params): ditto
179 * insetwrap.C (string2params): ditto
181 2003-04-24 André Pönitz <poenitz@gmx.net>
183 * insetref.C: support for eqref
185 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
187 * insetert.C (read): use ParagraphList::iterator.
189 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
191 * insetquotes.C (latex): comment some code and add warnings.
193 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
195 * insetexternal.C (localDispatch): added a missing DISPATCHED
197 2003-04-12 John Levon <levon@movementarian.org>
199 * insetwrap.C (addToToc): fix a crash, conversion
200 from while to for loop forgot to remove the explicit
203 2003-04-10 John Levon <levon@movementarian.org>
205 * insettabular.C (tabularFeature): make sure
206 to update the dialog when we change something
209 (getStatus): don't disable some lfuns (bug 939)
211 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
213 * insettext.C (saveLyXTextState): adjust
214 (localDispatch): adjust
220 * insettabular.C (localDispatch): adjust
222 (tabularFeatures): adjust
224 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
226 * insettabular.C (searchForward,searchBackward): fix bug 782
228 2003-04-07 John Levon <levon@movementarian.org>
231 * insettext.C: clear status message on inset exit
233 2003-04-03 John Levon <levon@movementarian.org>
235 * insetcommand.C: return dispatched on DIALOG_UPDATE
237 2003-04-02 John Levon <levon@movementarian.org>
239 * insettabular.C: tab lfuns renamed
241 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
243 * insettext.C (update): move towards ParagraphList
248 (lockInsetInInset): ditto
249 (updateInsetInInset): ditto
250 (localDispatch): ditto
253 (resizeLyXText): ditto
254 (searchBackward): ditto
255 (collapseParagraphs): ditto
258 * insetwrap.C (InsetWrap): adjust
259 (addToToc): adjust and rewrite loop
261 * insettext.[Ch] (paragraph): delete function
263 * insettabular.C (moveNextCell): adjust
264 (movePrevCell): adjust
265 (insertAsciiString): adjust
267 * insetfloat.C (InsetFloat): adjust
270 * insetert.C (InsetERT): adjust
271 (write): adjust, and rewrite loop
272 (latex): adjust, and rewrite loop
273 (linuxdoc): adjust, and rewrite loop
274 (docbook): adjust, and rewrite loop
275 (localDispatch): adjust
276 (get_new_label): adjust
278 2003-04-01 John Levon <levon@movementarian.org>
280 From Alfredo Braunstein
283 * insetbutton.C: add localDispatch()
285 * insetcommand.C: return DISPATCHED when edit() called
287 * insettext.C: fix bug 967
289 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
291 * insettext.C: adjust
293 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
295 * insettext.C (draw): adjust
296 (crow): return a RowList::iterator not a Row*
298 * insetminipage.C (localDispatch): adjust
300 * insetert.C (localDispatch): adjust
302 2003-03-31 John Levon <levon@movementarian.org>
305 * insetgraphicsParams.C: use_gui moved to lyx_gui
307 2003-03-31 John Levon <levon@movementarian.org>
309 * insettext.C: Alert fix
311 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
313 * insettext.C (ascent): adjust for RowList
317 (toggleSelection): adjust
319 * insetminipage.C (localDispatch): adjust for RowList
321 * insetert.C (localDispatch): adjust for RowList
322 (getMaxWidth): adjust for RowList
324 2003-03-29 John Levon <levon@movementarian.org>
326 * insetert.C: Alert cleanup
328 2003-03-29 John Levon <levon@movementarian.org>
330 * insettabular.C: Alert fix
332 2003-03-28 John Levon <levon@movementarian.org>
334 * insetfloat.C: reset label on INSET_MODIFY
336 2003-03-28 John Levon <levon@movementarian.org>
338 * insetgraphicsParams.C: read subcaptionText as a whole line
341 2003-03-28 John Levon <levon@movementarian.org>
343 * insettext.C: remove unused prototypes
345 2003-03-25 Angus Leeming <leeming@lyx.org>
347 * insetbibitem.C (localDispatch): repaint the view after modifying
348 a bibitem inset in case the maximum InsetBibitem width has changed.
350 2003-03-25 John Levon <levon@movementarian.org>
353 * insettabular.C: LyXText renamings
355 2003-03-24 John Levon <levon@movementarian.org>
357 * insettext.C: remove some dead code. Fix bug 972 and
358 related by posting a repaint in updateLocal(), and making
359 the SEL functions set SELECTION.
361 2003-03-22 John Levon <levon@movementarian.org>
364 * inset.C: remove no-longer-needed topx_set
366 * insetcollapsable.h:
367 * insetcollapsable.C: remove dead code
370 * insetert.C: rebreak the rows when a possible
371 change in size is made, and reset the cursor
374 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
376 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
377 topx_set. Fix drawing errors for clearInset(). Remove
378 some unnecessary uses of topx, which should die.
380 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
381 is no longer needed. Replace it with an ugly hack.
383 2003-03-20 John Levon <levon@movementarian.org>
386 * insetcollapsable.h:
387 * insetcollapsable.C:
395 * insettext.C: remove spurious font parameter
396 from update(). Fix drawing of ERT insets inside
397 insets (bug 966). Remove unused mark_dirty from
398 tabular's updateLocal()
400 2003-03-19 John Levon <levon@movementarian.org>
409 * insetwrap.C: remove unused getter/setters
411 2003-03-19 John Levon <levon@movementarian.org>
413 * several files: bv->updateInset() doesn't take
414 a bool mark_dirty any more
416 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
418 * adjust for BufferView* arg removal from lyxtext.
420 2003-03-17 John Levon <levon@movementarian.org>
422 * most files: remove the "cleared" parameter
423 to draw in favour of always clearing. Associated
426 2003-03-16 John Levon <levon@movementarian.org>
428 * insettext.C: remove unused s.refresh
430 2003-03-13 Angus Leeming <leeming@lyx.org>
432 * insettext.C (edit): replace Dialogs::updateParagraph with
433 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
435 2003-03-13 André Pönitz <poenitz@gmx.net>
437 * Makefile.am: insert insetenv
439 * insethenv.[Ch]: new files, currently inactive
441 2003-03-12 John Levon <levon@movementarian.org>
451 * insettext.C: use new insetnewline
453 2003-03-12 John Levon <levon@movementarian.org>
455 * insettext.C: readToken became readParagraph
457 2003-03-12 John Levon <levon@movementarian.org>
459 * insettext.C: use parlist iterator for reading contents
461 2003-03-12 John Levon <levon@movementarian.org>
463 * insettext.C: name change to readToken()
465 2003-03-11 André Pönitz <poenitz@gmx.net>
467 * Makefile.am: insert insethfill
469 * insethfill.[Ch]: new files
471 2003-03-10 Angus Leeming <leeming@lyx.org>
473 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
475 (hideDialog): calls the new static Dialogs::hide() method.
477 * insetbibitem.C (edit):
478 * insetbibtex.C (edit):
479 * insetcite.C (edit):
480 * insetcommand.C (localDispatch):
481 * inseterror.C (d-tor):
482 * insetert.C (showInsetDialog):
483 * insetexternal.C (localDispatch, edit):
484 * insetfloat.C (localDispatch, showInsetDialog):
485 * insetfloatlist.C (edit):
486 * insetgraphics.C (localDispatch, edit):
487 * insetinclude.C (localDispatch, edit):
488 * insetindex.C (edit):
489 * insetlabel.C (edit):
490 * insetminipage.C (localDispatch, showInsetDialog):
492 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
493 resetPos, showInsetDialog, openLayoutDialog):
496 * insetwrap.C (localDispatch, showInsetDialog):
497 changes due to the changed MailInset interface.
499 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
501 * insetfloat.h: Set default placement to an empty string.
503 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
505 * insettext.C (latex): adjust call to latexParagraphs.
507 2003-03-10 Angus Leeming <leeming@lyx.org>
509 * mailinset.C: warn the user if the BufferView has not been cached.
511 2003-03-10 Angus Leeming <leeming@lyx.org>
513 * inset.h, insetbase.h: move cache() and view() into InsetBase.
515 * insetcommand.h (inset):
516 * insetert.h (inset):
517 * insetexternal.h (inset):
518 * insetfloat.h (inset):
519 * insetgraphics.h (inset):
520 * insetinclude.h (inset):
521 * insetminipage.h (inset):
522 * insettabular.h (inset):
523 * insetwrap.h (inset):
524 * mailinset.h (inset): return an InsetBase &, not an Inset &.
526 2003-03-10 Angus Leeming <leeming@lyx.org>
528 * insetcommand.C (string2params):
529 * insetexternal.C (string2params):
530 * insetfloat.C (string2params):
531 * insetgraphics.C (string2params):
532 * insetinclude.C (string2params):
533 * insetminipage.C (string2params):
534 * insettabular.C (string2params):
535 * insetwrap.C (string2params): cure warning message about missing
538 2003-03-09 Angus Leeming <leeming@lyx.org>
540 * insettabular.[Ch]: define a new class InsetTabularMailer and use
541 it to communicate with the frontend dialogs.
543 * mailinset.C (hideDialog): only hide the dialog if it is showing the
544 contents of this inset!
546 2003-03-07 Angus Leeming <leeming@lyx.org>
548 * inseterror.C (localDispatch): new method; calls edit() on
551 2003-03-07 Angus Leeming <leeming@lyx.org>
553 * insetbibitem.C (localDispatch):
554 * insetbibtex.C (localDispatch):
555 * insetlabel.C (localDispatch):
558 2003-03-07 Angus Leeming <leeming@lyx.org>
560 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
561 it to communicate with the frontend dialogs.
563 2003-03-07 Angus Leeming <leeming@lyx.org>
565 * insetexternal.C: remove operator== and operator!= for
566 InsetExternal::Params. They were used only by the old controller
569 2003-03-07 Angus Leeming <leeming@lyx.org>
571 * insetcommand.C (localDispatch):
572 * insetexternal.C (localDispatch):
573 * insetfloat.C (localDispatch):
574 * insetinclude.C (localDispatch):
575 * insetminipage.C (localDispatch):
576 * insetwrap.C (localDispatch):
577 add LFUN_INSET_DIALOG_UPDATE to the switch.
579 2003-03-07 Angus Leeming <leeming@lyx.org>
581 * insetcommand.C (string2params):
582 * insetexternal.C (string2params):
583 * insetfloat.C (string2params):
584 * insetinclude.C (string2params):
585 * insetwrap.C (string2params): use LyXLeX more.
588 * insetexternal.[Ch]:
591 * insetwrap.[Ch]: change Mailer::name_ to be static.
593 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
594 it to communicate with the frontend dialogs.
596 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
599 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
601 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * insettext.C (updateLocal): un-const function
604 (updateLocal): adjust
605 (collapseParagraphs): un-const function
606 (collapseParagraphs): adjust
608 2003-03-05 Angus Leeming <leeming@lyx.org>
610 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
611 it to communicate with the frontend dialogs.
613 2003-03-05 Angus Leeming <leeming@lyx.org>
615 * insetcollapsable.C (draw): cache the BufferView.
617 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
618 it to communicate with the frontend dialogs.
620 2003-03-05 Angus Leeming <leeming@lyx.org>
622 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
625 2003-03-05 Angus Leeming <leeming@lyx.org>
627 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
629 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
630 it to communicate with the frontend dialogs.
632 2003-03-05 Angus Leeming <leeming@lyx.org>
634 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
635 it to communicate with the frontend dialogs.
637 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
639 * insettext.C (collapseParagraphs): adjust
640 (appendParagraphs): make it take a Buffer* instead of a
641 BufferParams& as arg.
642 (appendParagraphs): adjust
644 2003-03-04 Angus Leeming <leeming@lyx.org>
646 * insetbibitem.C (localDispatch):
647 * insetbibtex.C (localDispatch):
648 * insetcommand.C (localDispatch):
649 * insetert.C (localDispatch):
650 * insetlabel.C (localDispatch):
651 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
653 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
655 * insettext.C (latex): adjust for ParagraphList::iterator
657 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
659 * insetbutton.C (view): adjust for boost 1.30.0
660 * insetcollapsable.C (view): ditto
661 * insetgraphics.C (statusChanged): ditto
663 * insettext.h: move paragraphs to be public.
665 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
667 * insetnote.[Ch] (InsetNote): remove unused constructor
669 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
671 * insetgraphics.C: added include "format.h"
673 2003-02-27 Angus Leeming <leeming@lyx.org>
675 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
678 2003-02-27 Angus Leeming <leeming@lyx.org>
680 * insetbibitem.C (localDispatch):
681 * insetbibtex.C (localDispatch):
684 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
686 2003-02-26 Angus Leeming <leeming@lyx.org>
688 * insetbibitem.[Ch] (localDispatch):
689 * insetbibtex.[Ch] (localDispatch):
690 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
692 * insetcommand.C (localDispatch):
693 act only on receipt of LFUN_XYZ_APPLY.
695 * insetert.C (localDispatch): reformat.
696 add LFUN_XYZ_APPLY to the switch.
698 2003-02-26 John Levon <levon@movementarian.org>
700 * insettext.C: use RowPainter
702 * inset.h: make helpers take const *
704 2003-02-26 Angus Leeming <leeming@lyx.org>
706 * insetcommand.[Ch] (localDispatch): new method.
708 2003-02-26 Angus Leeming <leeming@lyx.org>
710 * insetinclude.C (draw): cache the BufferView* using cache not
713 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
715 * insetgraphics.C (draw)
716 * insetinclude.C (draw): Eliminate also the other argument (owner
717 inset inset) in the call to PreviewImage::image
719 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
721 * insetgraphics.C (draw)
722 * insetinclude.C (draw): Eliminate Buferview argument in call to
725 2003-02-25 John Levon <levon@movementarian.org>
727 * insetgraphicsParams.h:
728 * insetgraphics.C: don't start a load process if
729 the inset is set to NoDisplay (bug #920)
731 2003-02-22 John Levon <levon@movementarian.org>
734 * insetwrap.C: TocItem changed API (bug 913)
736 2003-02-21 Angus Leeming <leeming@lyx.org>
738 * insetcollapsable.[Ch] (cache, edit):
739 * insetbutton.[Ch] (cache, edit): new methods to cache the
740 BufferView in the draw method.
742 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
743 simplify comunication between InsetCommand-derived classes and
750 * insetfloatlist.[Ch]:
754 * inseturl.[Ch]: small changes to reflect the new interface to the
757 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
758 other, similar classes.
760 * Makefile.am: add new files.
762 2003-02-21 Angus Leeming <leeming@lyx.org>
764 * updatableinset.h (setView, view): remove.
765 * inset.h (view, cache): to be replaced by these.
767 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
770 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
773 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
775 2003-02-21 Allan Rae <rae@lyx.org>
777 * insetinclude.C (loadIfNeeded): ensure loading also works when
778 child document is under version control.
780 2003-02-17 André Pönitz <poenitz@gmx.net>
782 * insetbib.[Ch]: Adjust access to bibkeys
784 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
786 * insetquotes.C (dispString): remove use of acute accent for "'"
789 2003-02-14 John Levon <levon@movementarian.org>
791 * insettabular.C: changed method names in tabular.C
793 2003-02-14 John Levon <levon@movementarian.org>
797 * insetcollapsable.h:
798 * insetcollapsable.C:
802 * insettext.C: remove unused getParFromID()
804 2003-02-13 John Levon <levon@movementarian.org>
807 * insettext.C: remove unused beginningofMainBody()
809 2003-02-08 John Levon <levon@movementarian.org>
813 * insetcollapsable.h:
814 * insetcollapsable.C:
819 add nextChange(). Make allowSpellcheck() const. Add markErased().
821 * insetert.C: ignore deleted text
823 * insettabular.C: make sure to keep change tracking working
826 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
831 * insettext.C: Use error messages with identical spelling and punctuation
833 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
835 * insetgraphics.C (draw, width): Fix spacing around graphics inset
837 2002-12-17 Juergen Vigna <jug@lyx.org>
839 * insettext.C (localDispatch): hopefully fixed cursor up down
840 movement on leaving other insets.
842 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
844 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
847 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
849 * insetgraphics.C (prepareFile): do not remove the extension of
850 the file name if it is not the default extension for the given
851 format (that is, in latex output, remove extension from foo.eps,
852 but not from foo.epsi)
854 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
856 * insettext.C (lfunMouseRelease): hackish solution to the "double
859 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
861 * insetfloat.C (addToToc): use the floats name not its type
862 * insetwrap.C (addToToc): ditto
864 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
866 * insetnote.C (init): make label font smaller
868 2002-12-04 John Levon <levon@movementarian.org>
870 * insetinclude.C: ressurect setting of command name
872 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
874 * insetquotes.C (dispString): disambiguate insert call
876 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
878 * several files: ws changes
880 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * insetquotes.C (dispString): use string::insert for prepending a
885 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
887 * insetparent.C (getScreenLabel): use boost::format
889 * insetgraphics.C (prepareFile): use boost::format
892 * insetfloatlist.C (latex): use boost::format
894 * insetcaption.C (draw): use boost::format
896 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
898 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
901 2002-11-20 Juergen Vigna <jug@sad.it>
903 * insettabular.C (resetPos): temporary fix for endless loop in
904 this function on a redraw.
906 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
908 * insettabular.C (copySelection): STRCONV
910 * insetinclude.C (uniqueID): STRCONV
913 * insetgraphics.C: put VersionNumber inside anon namespace
914 (createLatexOptions): STRCONV
916 * insetcommandparams.C: include config.h
918 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
920 * insetgraphicsParams.C (Write): use lyx::float_equal.
921 Write height data correctly.
922 (Read): zero scale when reading height data.
924 2002-10-30 John Levon <levon@movementarian.org>
926 * insetfloat.C (addToTOC): recursively traverse all
927 contents looking for captions (fix #568)
929 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
931 * insetexternal.C (doSubstitution): do not try to replace
932 environment variables, this is done when executing the command
934 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
936 * insetexternal.C (doSubstitution): change order of substitution
937 to work around ReplaceEnvironmentPath brokenness
939 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
941 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
943 * insetgraphicsParams.C (init, Write): associated changes
944 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
945 InsetGraphicsParams::scale.
947 2002-10-21 John Levon <levon@movementarian.org>
949 * inset.h: remove unused DISPATCH_RESULT
951 * insettext.C: sgml open/close tag now in sgml namespace
953 2002-10-21 Angus Leeming <leeming@lyx.org>
955 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
956 file path subdir/fig.eps when pasting it into a buffer in a different
959 2002-10-16 John Levon <levon@movementarian.org>
961 * insetspecialchar.C: remove \\protected_separator parsing
963 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
965 * insetquote.C: fix LaTeX output of quotation marks.
967 2002-10-14 Juergen Vigna <jug@sad.it>
969 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
970 Backspace functions which confused the Undo handling.
972 2002-10-09 Angus Leeming <leeming@lyx.org>
974 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
975 BufferView::dispatch that turns off this optimisation when a new inset
978 * insetcite.C (getNatbibLabel): correct logic of when and when not to
979 reload the BibTeX keys.
981 2002-10-11 André Pönitz <poenitz@gmx.net>
983 * insettext.h: handle LFUN_PRIOR/NEXT
985 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
987 * insetfloat.C: fix bug with float settings
988 (document default != float default).
990 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
992 * insetwrap.C (addToToc): New method.
993 (InsetWrap): Set layout to caption.
995 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
997 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
999 2002-09-16 John Levon <levon@movementarian.org>
1001 * insettabular.h: hasSelection() needs to be public
1003 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1005 * insetgraphicsParams.C: use empty string as default for rotateOrigin
1007 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1009 * insetgraphicsParams.C: use empty string as default for rotateOrigin
1011 2002-09-11 André Pönitz <poenitz@gmx.net>
1013 * insettabular.C: implement LFUN_WORDSEL
1015 2002-09-10 John Levon <levon@movementarian.org>
1017 * insetinclude.h: remove unused param
1019 2002-09-09 John Levon <levon@movementarian.org>
1022 * insetinclude.C: remove noload, default to input
1024 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
1026 * insetgraphics.C: disfuscated use of ']' in built output string.
1028 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1030 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
1032 2002-08-29 Juergen Vigna <jug@sad.it>
1034 * insettabular.C (lfunMousePress): Pay attention where you set
1035 the x/y values as they depend on which inset in the tabular is
1036 actually locked. So you surely have to reset them if you (un)lock
1039 2002-08-29 André Pönitz <poenitz@gmx.net>
1041 * insetfootlike.h: rename include guard to ALL CAPS
1043 * insettext.C: swap object and first parameter for checkInsetHit calls
1044 as this functions has moved from BufferView to LyXText
1047 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1049 * insetgraphicsParams.C: remove local displayTranslator and use
1050 the one from graphics/GraphicsTypes.h.
1052 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1054 * insetfloat.C (wide): add BufferParams parameter
1056 * insetfloatlist.C (read):
1059 * insetfloat.C (latex):
1061 * insetcaption.C (draw): use LyXTextClass::floats()
1063 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1065 * insetoptarg.h: add std:: qualifier.
1067 2002-08-26 Juergen Vigna <jug@sad.it>
1069 * insettext.C (localDispatch): ditto.
1071 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
1073 2002-08-25 John Levon <levon@movementarian.org>
1075 * inseturl.C: elide long URLs (bug 404)
1077 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1079 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
1080 remove "Format Version <version_no.>" string from inset header
1083 * insetgraphicsParams.[Ch]: Implement new graphics dialog
1085 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
1086 a member of "grfx::Params" anymore.
1088 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
1090 2002-08-24 John Levon <levon@movementarian.org>
1093 * insetoptarg.C: ws, pedantry ...
1095 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1097 * insettext.C (collapseParagraphs): pasteParagraph now in global
1099 (appendParagraphs): ditto
1101 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
1103 * insetcite.C (latex): Remove spaces only after commmas.
1105 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * insettext.C: remove NO_COMPABILITY stuff
1109 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1111 * insettext.C (edit): use ParagraphList iterators
1113 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
1114 (bibitemWidest): ditto
1116 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * insettext.C: include <boost/bind.hpp>
1119 add using std::for_each
1120 (saveLyXTextState): use ParagraphsList::iterator
1121 (init): use for_each on paragraphlist iterators
1122 (InsetText): remove superflous setting cached_bview to 0
1123 (latex): reformat a bit
1124 (ascii): use paragraphlist iterators
1125 (validate): use for_each + boost bind
1126 (getLabelList): use paragraphlist iterators
1127 (deleteLyXText): use for_each + boost::bind
1128 (resizeLyXText): ditto
1129 (reinitLyXText): ditto
1130 (removeNewlines): use paragraphlist iterators
1131 (getParFromID): ditto
1132 (paragraph): use for_each + boost::bind
1133 (getInsetFromID): use paragraphlist iterators
1134 (getLabelList): typo fix
1136 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * insettext.C (read): assign tmp to paragraphs after return from
1139 call to parseSingleLyXformat2Token
1142 2002-08-13 Angus Leeming <leeming@lyx.org>
1161 changes due to the changed LyXView interface that now returns references
1162 to member variables not pointers.
1164 2002-08-13 Angus Leeming <leeming@lyx.org>
1167 * insetcollapsable.h:
1170 * insettext.h: forward-declare WordLangTuple
1171 (selectNextWordToSpellcheck) constify return type.
1174 * insetcollapsable.C:
1177 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
1179 2002-08-12 Angus Leeming <leeming@lyx.org>
1181 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
1183 2002-08-12 Juergen Vigna <jug@sad.it>
1185 * insetcollapsable.C (edit): ignore if entered when pressing mouse
1188 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * insetbib.C (bibitemMaxWidth): ParagraphList changes
1191 (bibitemWidest): ditto
1192 * insettext.[Ch]: ditto
1194 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1196 * insettext.C, insetert.C: use Paragraph::empty where appropriate
1198 2002-08-09 Angus Leeming <leeming@lyx.org>
1200 * insetinclude.C (latexString): remove fudge now that I've found out
1201 how to enable LaTeX to find the file using input@path.
1203 2002-08-09 John Levon <levon@movementarian.org>
1206 * insettext.C: remove unused xpos
1208 2002-08-07 Juergen Vigna <jug@lyx.org>
1210 * insettabular.C (localDispatch): make delete not put the stuff
1211 in the clipboard only do this on a cut operation.
1213 * insettext.C (localDispatch): make delete and backspace not put
1214 selected stuff to the clipboard.
1216 2002-08-07 André Pönitz <poenitz@gmx.net>
1219 * insetcollapsable.[Ch]:
1223 * insettabular.[Ch]:
1224 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
1226 2002-08-06 John Levon <levon@movementarian.org>
1230 * insetcollapsable.h:
1231 * insetcollapsable.C:
1237 * insettext.C: use WordLangTuple for spellcheck
1239 2002-08-06 Angus Leeming <leeming@lyx.org>
1241 * insetinclude.C: add a monitor to the previewed image, so that the
1242 image is refreshed if the \input-ed file changes.
1244 2002-08-04 John Levon <levon@movementarian.org>
1247 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
1249 2002-08-02 Angus Leeming <leeming@lyx.org>
1251 * insetcommandparams.[Ch] (preview): new methods returning and setting
1252 a new bool preview_ flag.
1253 (read): read this flag.
1254 (operator==): add flag to check.
1256 * insetinclude.C (write): output new preview() flag.
1257 (previewWanted): use this flag.
1259 2002-08-02 Angus Leeming <leeming@lyx.org>
1261 * insetcollapsable.[Ch] (addPreview):
1262 * insettabular.[Ch] (addPreview):
1263 * insettext.[Ch] (addPreview): new methods. Can now generate previews
1264 for insets in insets.
1266 2002-08-02 Angus Leeming <leeming@lyx.org>
1268 * insetcite.C: fix typo.
1270 * insetgraphics.C: kill current_view and instead cache the BufferView
1273 * insetinclude.C: kill current_view and pass the BufferView to the
1274 PreviewedInset so that it can cache it.
1276 2002-08-01 Angus Leeming <leeming@lyx.org>
1278 * inset.h (generatePreview): renamed as addPreview.
1279 (generatePreview): new method. Allows code to be moved out of
1280 math_nestinset.C and into the new PreviewedInset class.
1282 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
1283 add previews to the inset when \input-ing LaTeX.
1285 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1287 * several files: strip,frontStrip -> trim,ltrim,rtrim
1289 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1291 * insetbib.C (latex): modify because of strip changes
1293 * insetnote.C (InsetNote): ditto
1295 2002-07-26 Juergen Vigna <jug@sad.it>
1297 * insettabular.C (searchForward): check for lastcell if we
1298 had a locking inset.
1300 2002-07-25 Juergen Vigna <jug@sad.it>
1302 * insettabular.C (insetMotionNotify): Don't update the screen
1303 if we didn't do nothing.
1304 (searchForward): last cell was not checked.
1306 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1308 * insetfloat.C (read, write): Allow default placement
1309 (floatPlacement_ is empty).
1311 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1313 * insetminipage.h (noFontChange):
1314 * insettabular.h (noFontChange):
1315 * insetfootlike.h (noFontChange):
1316 * insetfloat.h (noFontChange): return true
1318 * inset.h (noFontChange): new method, defaulting to false
1320 2002-07-22 Herbert Voss <voss@lyx.org>
1322 * insetgraphicsParams.[Ch]: support size_type for old docs
1324 2002-07-22 Herbert Voss <voss@lyx.org>
1327 * insetgraphicsParams.[Ch]: change size_type to size_kind and
1330 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1332 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1334 * insetlatexaccent.h: do not include "lyxlex.h"
1336 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1339 * insetlatexaccent.C:
1343 * insetbib.C: #include "lyxlex.h"
1349 * insettext.C: use BufferParams::getLyXTextClass
1352 * insetfloat.C (addToToc): new method. Add to toclist the entries
1353 corresponding to Caption layouts
1354 (InsetFloat): when creating a new float, set the layout to "Caption"
1356 2002-07-21 Herbert Voss <voss@lyx.org>
1358 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1359 image relevant part into graphics/GraphicsImgae.C
1361 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1363 * insettoc.C (ascii):
1364 * insetfloatlist.C (ascii): change to use the new Toc functions
1365 instead of stuff that was in Buffer
1367 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1369 * insettext.C (localDispatch): BufferView::Dispatch has been
1370 renamed to BufferView::dispatch
1372 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1374 * insetgraphicsParams.C (as_grfxParams): use the new
1375 keepLyXAspectRatio parameter. Note that this is an adaptation of a
1376 1.2.0 patch, and I do not really know how to adapt it to the new
1377 grfx::Cache world. Angus, please could you have a look?
1379 2002-05-01 Herbert Voss <voss@lyx.org>
1381 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1383 2002-07-18 Angus Leeming <leeming@lyx.org>
1385 * insetgraphics.C: clean-up comments (from Herbert).
1386 add a new checksum variable to the cache. Use it in PrepareFile.
1387 (draw): start monitoring the file for a change.
1388 (prepareFile): re-arrange a little to avoid unnecessary steps.
1390 2002-07-17 Angus Leeming <leeming@lyx.org>
1392 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1393 a method rather than to the signal directly.
1395 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1397 * insettext.C: use view_state_changed, switchKeyMap
1399 2002-07-17 Herbert Voss <voss@perce.de>
1401 * insetgraphics.C (prepareFile): keep the extension when
1402 exporting to nice file
1404 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1406 * insetcite.C (getNatbibLabel):
1407 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1409 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1411 * insetgraphics.C: use ->isDrawable()
1413 2002-07-12 Angus Leeming <leeming@lyx.org>
1415 * insetgraphics.C: use the new smart loading capabilities of the image
1418 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1420 * insettabular.C (edit): Move into correct cell when entering a
1423 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1426 2002-07-05 Angus Leeming <leeming@lyx.org>
1428 * inset.h (generatePreview): new virtual method.
1430 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1432 * insetcommandparams.[Ch] (operator=): move out of class
1433 (operator!): move out of class
1435 2002-07-04 André Pönitz <poenitz@gmx.net>
1437 * insetcommandparams.[Ch]: new files
1439 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1441 2002-06-15 Herbert Voss <voss@perce.de>
1443 * insetgraphics.C (prepareFile): bugfix; return always
1444 files without extension
1446 2002-06-28 Angus Leeming <leeming@lyx.org>
1448 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1449 rename asGParams -> as_grfxParams.
1451 * insetgraphics.C: reflect above change.
1453 2002-06-26 Angus Leeming <leeming@lyx.org>
1455 * insetgraphics.h: use boost::scoped_ptr in preference to
1458 2002-06-26 Angus Leeming <leeming@lyx.org>
1460 * insetgraphics.C: moved the image loading stuff into a new class
1461 grfx::Loader. Simplifies this file enormously.
1463 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1465 * insetgraphicsParams.C: changes aassociated with moving
1466 grfx::DisplayType out of grfx::GParams.
1468 2002-06-26 André Pönitz <poenitz@gmx.net>
1470 * insetgraphics.C: use os::external_path where necesaary according to a
1471 patch from Claus Hentschel)
1473 2002-06-25 Angus Leeming <leeming@lyx.org>
1475 * insetgraphics.[Ch]: The inset now assumes the responsibility for
1476 generating a pixmap once the graphics file is loaded into memory.
1477 The current_view ugliness that was in grfx::ModifiedImage has been
1478 moved here now that grfx::ModifiedImage is no more.
1480 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1482 * insettext.C: layout as layout
1484 2002-05-28 André Pönitz <poenitz@gmx.net>
1486 * insetfloatlist.h: remove source of compiler warning
1488 * insetref.C: tiny whitespace
1490 2002-06-15 Herbert Voss <voss@perce.de>
1492 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1493 and take always convert when no userdefined converter was
1495 (latex) small changes in the lyxerr output
1497 2002-06-15 LyX Development team <lyx@rilke>
1499 * inset*.[Ch] (docbook): Added new argument to take the pernicious
1500 mixed content. Small white spaces clean.
1502 2002-06-14 Angus Leeming <leeming@lyx.org>
1504 * inseetexternal.C: remove the using std::difftime declaration.
1506 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
1508 * insetquotes.C: change lyxfont::draw to font_metrics::draw
1510 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
1512 * insetquotes.C (draw): fix drawing of double quotes
1514 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1516 * insettabular.C: s/scrollCB/scrollDocView/
1518 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1520 * insettext.C: change of topCursorVisible()
1523 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1526 * insettext.C: rename/change of LyXScreen
1528 2002-06-07 Angus Leeming <leeming@lyx.org>
1530 Fixes needed to compile with Compaq cxx 6.5.
1532 all c-library variables have been moved into namespace std.
1533 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1535 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1537 * insetinclude.C (uniqueID):
1538 * insetgraphics.C (uniqueID): renamed from unique_id, since this
1539 conflicted with some AIX headers.
1541 2002-05-31 Juergen Vigna <jug@sad.it>
1543 * insetert.C (get_new_label): add '...' for multi-paragraph ert
1547 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1549 * insetexternal.C (clone): fix () bug when using new
1550 (updateExternal): don't only look for difftime in global scope
1552 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1554 * insettabular.C: add const
1556 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1558 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1559 file name, in case there are weird characters like ',' in there.
1562 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1564 * switch from SigC signals to boost::signals.
1566 2002-05-28 André Pönitz <poenitz@gmx.net>
1568 * insets/insetgraphicsParams.[Ch]:
1569 put in inset related stuff from src/graphic
1571 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1579 * insetcollapsable.C:
1580 * insetcollapsable.h:
1608 * inseturl.h: use mouse_state. Kill insetKeyPress
1610 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1615 * insetcollapsable.C:
1618 * insetlatexaccent.C:
1620 * insetspecialchar.C:
1622 * insettext.C: name change for font metrics
1624 2002-05-24 Juergen Vigna <jug@sad.it>
1626 * insetgraphics.h: include inset.h first (for LString.h)
1628 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1630 * insettext.C: screen moved
1632 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1650 * inseturl.C: LyXView moved into frontends/
1652 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1657 * insetcollapsable.C:
1661 * insetgraphicsParams.C:
1662 * insetlatexaccent.C:
1664 * insetspecialchar.C:
1666 * insettext.C: move Painter to frontends/
1668 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1670 * insettabular.h: use more specific smart_ptr header.
1671 * insettext.h: ditto
1673 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1676 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1678 * insettext.C: clear selection on paste (bug 393)
1680 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1682 * insettext.C (latex): Honor the moving_arg argument.
1684 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1686 * insetfoot.C (latex): if a footnote is in a title layout, then it
1687 is a \thanks. And then, its contents is a moving argument.
1689 2002-05-14 Juergen Vigna <jug@sad.it>
1691 * insetcollapsable.C (InsetCollapsable): forgot to initialize
1694 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
1696 * Insetcite.C (getNatbibLabel): don't disable natbib label support
1697 when using options "Full author list" or "Upper case".
1699 2002-05-14 Herbert Voss <voss@perce.de>
1701 * insetgraphics.C (prepareFile): allow files with same name
1703 (readFigInset): set the flags from old figinset in the right
1705 (findTargetFormat): more comments
1707 2002-05-14 Juergen Vigna <jug@sad.it>
1709 * insettext.C (edit): tell checkAndActivateInset() that we don't
1710 have a button press.
1711 (checkAndActivateInset): if button < 0 we don't have a button press
1712 on the inset and os we won't call edit on it if it's not a Highly
1713 editable inset (then we have to enter it).
1715 2002-05-13 Juergen Vigna <jug@sad.it>
1717 * insetcollapsable.C (insetButtonRelease): returned wrong return
1720 2002-05-09 Juergen Vigna <jug@sad.it>
1722 * insetcollapsable.C (edit): first_after_edit should only be
1723 set to true if we enter this inset and it was collapsed so we
1724 open it up. This is needed to reclose it after a search/replace
1725 or spellcheck function opened it and was negative.
1727 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
1729 * insetfloat.C (latex): Return correct value.
1731 2002-05-04 Herbert Voss <voss@perce.de>
1733 * InsetgraphicsParams.C (read): fix bug with WH
1735 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1737 * insetfloat.C (latex): More sensible latex output
1738 (fix the problem with endfloat).
1740 2002-05-02 José Matos <jamatos@fep.up.pt>
1742 * insetgraphics.C (validate): acess params as everyone else.
1744 2002-05-03 Juergen Vigna <jug@sad.it>
1746 * insettabular.C (fitInsetCursor): recalculate the cursor position
1749 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1751 * InsetgraphicsParams.[Ch]: whitespace.
1753 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1755 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1756 float type do not exist.
1758 2002-04-28 Herbert Voss <voss@perce.de>
1760 * insetgraphics.C (latex): fix bug with missing file-extension.
1761 LaTeX still allows a missing "eps" or "ps".
1763 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1765 * insetfloat.C (c-tor, wide): translate the name of the float.
1767 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1769 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
1770 when using natbib and make it work efficiently. Must emphasise that the
1771 real work is Herbert's.
1773 2002-04-23 Herbert Voss <voss@perce.de>
1775 * insetgraphic.C (prepareFile): fix bug with overwriting and
1776 deleting an existing *.eps-file in the doc-dir
1778 2002-04-23 Juergen Vigna <jug@sad.it>
1780 * insettabular.C (drawCellSelection): fix off by 1 error.
1782 2002-04-22 Juergen Vigna <jug@sad.it>
1784 * insettabular.C (setFont): rewoke full selection if it was asked,
1785 after we changed all we had to change.
1787 * insettext.C (insetUnlock): code was uninitialized in some situations.
1789 2002-04-19 Herbert Voss <voss@perce.de>
1791 * insetgraphic.C (prepareFile): return filename without
1792 extension if we only export without compiling
1794 2002-04-19 Juergen Vigna <jug@sad.it>
1796 * insettext.C (draw): call a fullRebreak on the row where we had a
1797 change and reset the cursor and selection-cursors.
1799 * insettabular.C (insetUnlock):
1800 (insetButtonPress): call an update before setting the_locking_inset = 0
1801 as otherwise we don't repaint!
1802 (update): reset the cursor position when we changed dimensions as
1803 otherwise our cursor may be on the wrong spot.
1805 2002-04-18 Juergen Vigna <jug@sad.it>
1807 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
1808 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
1809 redraw otherwise we won't redraw.
1811 * insettext.C (draw): fixed the setting of LyXText::first_y it was
1812 not really right before, but I only discovered this with the last
1813 changes to Page up/down.
1815 2002-04-17 Juergen Vigna <jug@sad.it>
1817 * insettext.C (checkAndActivateInset): simplified as we now have the
1818 edit(bv, bool) call.
1820 * insettext.h: changed behind variables to front variables to be
1821 equal to the one in the edit call (as it is for that they are used).
1823 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1825 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
1826 not output anything at all!
1828 2002-04-16 Juergen Vigna <jug@sad.it>
1830 * insettabular.C (insetButtonPress):
1831 (insetUnlock): call a redraw on unlocking the cell inset.
1833 * insettext.C (insetButtonPress): same as below.
1834 (lockInset): new function to set initial values when inset should
1836 (insetButtonPress): use above function.
1837 (insetUnlock): don't force a repaint only set the updateStatus. The
1838 outside world should repaint if it thinks it should be done!
1840 * insettabular.C (insetButtonPress): init values if not set as locked
1841 as we are locked if someone presses on us and don't call the edit()
1842 call of the InsetText to lock it do it as BufferView does it!
1844 * inset.h (insetInInsetY): make func const and return an int.
1847 * insetcollapsable.C: adapt the above changed function.
1849 2002-04-15 Juergen Vigna <jug@sad.it>
1851 * insettext.C (getCursorPos): return relative position as to be able
1852 to give them directly to the edit() call.
1853 (edit): we have to set also x_fix as it is not set inside the
1854 setCursorFromCoordinates call!
1855 (insetMotionNotify): ditto.
1857 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1859 * insetbib.C (getKeys): strip leading '\t's from the line too.
1860 With thanks to Henry Pfister <hpfister@ucsd.edu>.
1862 2002-04-12 Juergen Vigna <jug@sad.it>
1864 * insettext.h: added cix() helper function and use it where appropriate
1866 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1868 * insetgraphics.C (prepareFile): fix bug when graphics is a
1871 2002-04-12 Juergen Vigna <jug@sad.it>
1873 * insettext.C (insertInset): remove unneeded code!
1874 (updateLocal): fitCursor() fixes.
1875 (collapseParagraphs): fix a possible problem when having a selection
1876 and collapsing the paragraphs.
1878 2002-04-08 Herbert Voss <voss@perce.de>
1880 * insetgraphic.C (write): write the rotating angle as
1881 a float as is. test only for != 0.0
1883 2002-04-11 Juergen Vigna <jug@sad.it>
1885 * insettext.C: new function ciy() and use it for setting inset_y.
1887 * insetert.C (draw): fix the x return for collapsed version.
1889 2002-04-07 Herbert Voss <voss@perce.de>
1891 * insetgraphic.C (readFigInset): fix bug with subcaption and
1894 2002-04-08 Herbert Voss <voss@lyx.org>
1896 * insetgraphicsparam.C: forgot special option and delete old
1899 2002-04-05 Juergen Vigna <jug@sad.it>
1901 * insettext.C (localDispatch): make a CURSOR update if we inserted
1904 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1906 * insetfloatlist.C (getScreenLabel):
1907 (latex): use Floating::listName
1908 (validate): new method
1910 2002-04-03 José Matos <jamatos@fep.up.pt>
1912 * insetlabel.C (docbook): the anchor is an empty element in docbook.
1914 * insetfoot.[Ch] (docbook): added forgotten method.
1916 2002-04-03 Juergen Vigna <jug@sad.it>
1918 * insettext.C (insetButtonPress): fix insetButtonPress events the same
1919 way as in Bufferview_pimpl.
1921 2002-04-03 Allan Rae <rae@lyx.org>
1923 * insetgraphics.C (latex): one % too many makes living on the bleeding
1924 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
1926 2002-03-28 Herbert Voss <voss@lyx.org>
1928 * insetgraphic.C (latex): simplify the code for the latex
1929 output when the file doesn't exist
1931 2002-03-29 Juergen Vigna <jug@sad.it>
1933 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
1936 * insettabular.C (edit): call fitCursor().
1938 * insettext.C (insetButtonPress): change behaviour of no_selection
1939 to the one in the BufferView selection_possible and fix the spurious
1940 selection bug with it.
1941 (localDispatch): revoke selection on BREAK... functions.
1943 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1945 * insetfloatlist.C (getScreenLabel): translate the GUI label.
1947 2002-03-28 Juergen Vigna <jug@sad.it>
1949 * insettabular.C (insetAllowed): return true as default value otherwise
1950 we're not able to insert insets inside paragraphs of an not locked
1953 2002-03-27 Herbert Voss <voss@lyx.org>
1955 * insetgraphicsparam.C: change c%, p% to col%, page%
1957 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1959 * insetspecialchar.C (isLineSeparator): disable the nice code to
1960 allow linebreaks after hyphenation and menu separators.
1962 2002-03-26 Herbert Voss <voss@lyx.org>
1964 * insetgraphics.C (figinsetRead): set the right lyxview
1966 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1968 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
1969 $\backslash$ and pass a "string const &" to the function.
1970 (prepareFile, latex): use Path rather than MakeAbsPath.
1972 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1974 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
1975 proper fix to the graphics cache.
1976 (latex): "really" nice output if the file is not found ;-)
1978 2002-03-26 Juergen Vigna <jug@sad.it>
1980 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
1981 (collapseParagraphs): fixed inserting of separator ' '
1983 * insettabular.C (insertAsciiString): only check for buffer lenght
1984 not if we have \t or \n inside the buffer as if we don't have we only
1985 have 1 cell and that's it!
1987 * insetert.C (close): don't collapse if inlined.
1989 2002-03-25 Herbert Voss <voss@lyx.org>
1991 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
1992 graphics file does not exist.
1994 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1996 * insetgraphics.C (prepareFile): ensure that the file has an absolute
1997 path when preparing export.
1999 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
2000 no longer MakeRelPath.
2002 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2004 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
2005 Used to determine the absolute path to the graphics file in the
2006 graphics cache and only in the graphics cache.
2007 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
2008 make graphics file name absolute if it is stored as a relative path.
2010 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
2011 make graphics file name absolute if it is stored as a relative path.
2013 * insettext.C (edit): emit an updateParagraph signal on entering a text
2014 inset. Needs to be emitted when leaving the inset also.
2016 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2018 * all files: ws cleanup
2020 * Makefile.am: remove ld -r stuff
2022 2002-03-21 Juergen Vigna <jug@sad.it>
2024 * insettext.C (appendParagraphs): new function added to append
2025 the paragraphs to this insets paragraphs.
2027 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2029 * Makefile.am: special rules if partial linking
2031 2002-03-19 Juergen Vigna <jug@sad.it>
2033 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
2035 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
2037 * insetgraphics.C: Clean up Baruch's comments a little.
2038 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
2040 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
2043 * insettheorem.C: wrap warnings
2045 * insetgraphics.C: improve messages, move cached_status_
2046 setting to safer place
2048 2002-03-18 Juergen Vigna <jug@sad.it>
2050 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
2052 (localDispatch): ditto
2054 * insettext.C (edit): removed unneeded showCursor calls.
2055 (localDispatch): ditto.
2057 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2059 * insetgraphics.h: remove display() method.
2061 2002-03-11 Juergen Vigna <jug@sad.it>
2063 * insetgraphics.C (draw): hack to fix the redrawing bug.
2064 (draw): seems this fixes #268 (force redraw of row if we changed).
2066 * insettext.C (updateInsetInInset): fixed for updates in insets inside
2067 this inset text (don't know why I missed this earlier).
2069 2002-03-08 Juergen Vigna <jug@sad.it>
2071 * insettabular.C (updateLocal): do a FULL update if we're not locked
2072 and only a CELL update is asked.
2074 * insettext.C (updateInsetInInset): update insets inside inset also
2075 if it isn't inside the_locking_inset.
2077 * insettabular.C (updateInsetInInset): ditto.
2079 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2081 * insetexternal.C (doSubstitution): check whether we are using a
2082 temp dir for defining $$FPath
2084 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2087 * insettext.C: remove #include "WorkArea.h".
2089 2002-03-06 Juergen Vigna <jug@sad.it>
2091 * insettext.C (draw): fixed frame redrawing.
2092 (clear): forgot to set the inset_owner of the paragraph.
2094 * insetert.C (status): pay attention the bv can be 0 here!
2095 (getMaxWidth): add the default leftMargin
2097 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2099 * insetert.C (getMaxWidth): make w unsigned int.
2101 2002-03-05 Juergen Vigna <jug@sad.it>
2103 * insetert.C (status): change behaviour of Inlined.
2104 (getMaxWidth): added for new inlined behaviour.
2106 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2108 * insetnote.h (linuxdoc, docbook): add empty methods.
2109 * insetinclude.C (validate): fix a case where buffer->niceFile was used
2110 before being initialized.
2112 2002-03-05 Juergen Vigna <jug@sad.it>
2114 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
2115 only that one in the inset. Should be enough.
2116 (updateLocal): set the selection cursor always if we don't have a
2117 selection to be sure it's set!
2119 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
2121 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2123 * insettext.C (clear): a gross hack to set layout on a newly
2126 2002-03-04 Juergen Vigna <jug@sad.it>
2128 * insettabular.C (localDispatch): inserted handling of
2129 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
2130 (insertAsciiString): new helper function.
2132 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2134 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
2137 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2139 * insettext.C (InsetText): initalize newly created par with
2140 default layout. add bufferparams parameter
2143 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
2144 * insetcollapsable.[Ch] (InsetCollapsable): ditto
2145 * insetert.[Ch] (InsetERT): ditto
2146 * insetfloat.[Ch] (InsetFloat): ditto
2147 * insetfoot.[Ch] (InsetFoot): ditto
2148 * insetfootlike.[Ch] (InsetFootLike): ditto
2149 * insetmarginal.[Ch] (InsetMarginal): ditto
2150 * insetminipage.[Ch] (InsetMinipage): ditto
2151 * insetnote.[Ch] (InsetNote): ditto
2152 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
2154 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2156 * insettext.C: layout as string
2158 * insetinclude.C: layout as string
2160 * insetert.C: layout as string
2162 * insetbib.C: layout as string
2164 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2167 * insettabular.C: remove #include "lyx_gui_misc.h".
2169 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2174 * inset.h: remove figinset, yahoo !
2176 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2178 * insetgraphics.C (c-tors): initialise parent classes explicitly in
2179 copy c-tor and initialise member variables in the correct order.
2181 2002-02-28 Juergen Vigna <jug@sad.it>
2183 * insettabular.C (localDispatch): clear selection on PgUp/Down.
2185 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2187 * inset.h: ... and add a better one here.
2189 * insetcommand.C (insetButtonRelease): remove that one which was a
2192 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2194 * insetcommand.C (insetButtonRelease): ... and move it here.
2196 * inseturl.h: remove insetButtonRelease from there...
2198 2002-02-26 Juergen Vigna <jug@sad.it>
2200 * inseturl.h: Added a insetButtonRelease call returning true as
2203 * insetlabel.C (edit): Fixed wrong update handling after change I
2204 leave in the wrong code for the one who wrote it to remove and have
2205 a look what he did wrong.
2207 * insettabular.C (localDispatch): force a SELECTION update if we
2208 had a selection and we passed the event down to the inset (fix #213)
2209 (localDispatch): handle font changing stuff when we have a cell
2210 selection so that the selection is not rewoked. I don't really like
2211 this fix, but it's the only way I see to do it right now.
2213 2002-02-22 Juergen Vigna <jug@sad.it>
2215 * insettext.C (insetUnlock): set the cursor to the second paragraph
2216 if available and if the first one is empty (fix #191).
2218 2002-02-20 Juergen Vigna <jug@sad.it>
2220 * insettext.C (getDrawFont): implemented this function to call the
2221 one of the owner if present as the owner normally knows what to do
2224 * insetert.C: implement getDrawFont() function and comment out all
2225 the crap for setting a special latex font inside this inset.
2226 (InsetERT): added a Lanugage parameter to this constructor.
2228 * inset.h: added function getDrawFont(LyXFont & font) to be able to
2229 change the font for being drawn on screen (used only in InsetERT for
2232 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
2233 and also above (was missing).
2234 (updateLocal): don't remove the cell selection if we have one this
2235 should be done where we really want to remove it.
2237 2002-02-20 José Matos <jamatos@fep.up.pt>
2239 * insetinclude.h: include_label made string const.
2241 * insetinclude.C (InsetInclude): moved include_label initialization.
2244 (validate): fix support for temporary directory, for docbook and
2247 * insetgraphics.h : new private member, graphic_label, that holds
2248 the entity name that defines the graphics location (SGML).
2250 * insetgraphics.C (unique_id): new function to give a unique label
2253 (validate): the file locatation is given by an entity reference.
2255 2002-02-18 Herbert Voss <voss@lyx.org>
2257 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2259 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2261 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
2262 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2264 2002-02-18 José Matos <jamatos@fep.up.pt>
2266 * insetinclude.C (validate): some code only applies to latex buffers,
2267 it was made conditional.
2269 2002-02-12 Herbert Voss <voss@lyx.org>
2271 * insetgraphics.C: (prepareFile) do not check at this time
2272 if the file is present.
2274 2002-02-12 Herbert Voss <voss@lyx.org>
2276 * insetgraphics.C: latex(), return the correct newlines
2278 2002-02-13 José Matos <jamatos@fep.up.pt>
2280 * inseturl.C (docbook): escape & in url.
2282 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2284 * insetspecialchar.C (isLineSeparator): line breaking is allowed
2285 after HYPHENATION and MENU_SEPARATOR
2287 * inset.h (isLineSeparator): new method, returns false by default.
2289 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2291 * insetert.C (status): do not update the text inset, but the ERT
2294 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
2296 * insetnote.C: use notebg for background
2298 2002-02-08 Herbert Voss <voss@lyx.org>
2301 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2302 prevent LyX from unzipping when this should be handled
2303 by latex vis the graphic.cfg.
2306 2002-02-08 Herbert Voss <voss@lyx.org>
2308 * insetgraphic.C: prepareFile(): fix bug when file doesn't
2309 exists, than return filename with extension
2311 2002-02-06 Herbert Voss <voss@lyx.org>
2313 * insetgraphic.C: prepareFile(): don't convert the file, when
2314 it's not viewed in LyX. Saves a lot of time when opening a
2317 2002-02-05 Herbert Voss <voss@lyx.org>
2320 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2321 and adding a rotate bool similiar to subcaption
2323 2002-02-04 Herbert Voss <voss@lyx.org>
2326 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2327 similiar view to the LaTeX one. Get zipped files work.
2329 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2331 * insetgraphicsParams.C (init): set display to DEFAULT.
2332 No longer #include "lyxrc.h".
2334 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2336 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2337 for now (so that the code compiles).
2339 2002-02-02 Herbert Voss <voss@lyx.org>
2341 * insetgraphic.C: delete inVariant() and some minor changes
2342 * insetgraphicsParams.[C]:
2344 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
2346 * insetgraphics.C (updateInset): if params.display == DEFAULT,
2347 interogate lyxrc.display_graphics before diaplaying the graphic.
2349 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2350 InsetGraphicsParams::DisplayType.
2352 2002-01-31 Herbert Voss <voss@lyx.org>
2354 * insetgraphic.C: (readfigInset) set display to pref-default
2356 2002-01-30 Herbert Voss <voss@lyx.org>
2358 * insetgraphic.C: get the filetyp from it's contents
2359 * insetgraphicparams.C: add token scale and lyxrc.display when
2360 creating a new inset
2362 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
2364 * figinset.C: added using std::ios directive.
2366 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2368 * figinset.C (runqueue): open translation file in binary mode (for
2371 2002-01-27 Herbert Voss <voss@lyx.org>
2373 * insetgraphic.[Ch]: mostly newritten to support graphicx with
2374 all options and to be sure that the old figinsets are correct
2376 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2377 structure and to support all lengths as LyXLength. The Parameter
2378 structure changed again, but reading of "old" 1.2 graphic insets
2381 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
2383 * insetert.h (forceDefaultParagraphs): Added
2385 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2387 * insettabular.C (getMaxWidth):
2388 (forceDefaultParagraphs): use Tabular::GetCellFromInset
2390 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2392 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2393 of LyXLength::inPixels
2395 * inset.C (latexTextWidth):
2396 * insetminipage.C (latexTextWidth): new method, which implements
2397 the equivalent of the LaTeX macro \textwidth
2399 * insetminipage.C (getMaxWidth): use latexTextWidth
2401 2002-01-18 Juergen Vigna <jug@sad.it>
2403 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2405 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2407 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2409 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2412 2002-01-17 Juergen Vigna <jug@sad.it>
2414 * insettabular.C (lockInsetInInset): same change as in insettext.
2416 * insettext.C (draw): width() function was called without setting
2417 the right top_x which could lead to wrong insetWidth setting!
2418 (lockInsetInInset): call edit instead of calling lockInset if we
2419 have to lock an inset inside!
2420 (edit): we have to also tell the inset that we have to redraw the
2421 frame on an edit call if this inset draws a frame only if locked.
2423 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2425 * insetbib.C (getFiles): uncomment Path variable.
2427 2002-01-16 Juergen Vigna <jug@sad.it>
2429 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2432 2002-01-16 Allan Rae <rae@lyx.org>
2434 * insetinclude.C (docbook): someone forgot a ";"
2436 2002-01-16 José Matos <jamatos@fep.up.pt>
2438 * figinset.C (docbook): removed a old place holder "@".
2439 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2440 * insetinclude.C (linuxdoc): if include is verbatim, then export the
2441 ascii text version, clearly guarded inside a CDATA section.
2442 (docbook): in docbook 4, inlinegraphics is empty.
2443 * insettabular.C (linuxdoc): export the ascii version of the table
2444 inside a CDATA section.
2446 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2448 * insetparent.C (InsetParent):
2449 * insetgraphicsParams.C (Write):
2451 * insetgraphics.C (prepareFile):
2454 * insetexternal.C (executeCommand):
2455 (doSubstitution): use Buffer::filePath
2457 * insetbib.C (getFiles): add a #warning for Angus
2459 * insetgraphics.C: Add a remark about how filenames should be
2460 considered to be relative to buffer (but absolute is still allowed)
2461 (draw): do not try to get status if lyxrc.use_gui is false
2463 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2466 * insetcollapsable.[Ch]:
2467 * insettabular.[Ch] (searchForward, searchBackward): change the
2468 bool const & params to bool.
2470 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2471 to avoid the name clash with InsetCollapsable's methods of the same
2472 names but different functionality.
2474 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2476 * insettext.C (ascii): use lyx::count rather than countChar.
2478 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
2480 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2482 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2484 * insetgraphics.C (updateInset): do not try to render image if
2485 lyxrc.use_gui is false (bug #104)
2487 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2488 if file does not exist
2490 * figinset.C (browseFile): add shortcuts to directory buttons
2492 * insettext.C (updateLocal): update menubar and toolbar here too.
2494 2002-01-13 Allan Rae <rae@lyx.org>
2496 * insettabular.C (InsetTabular): Both constructors now initialise
2497 all class variables.
2499 2002-01-11 Juergen Vigna <jug@sad.it>
2501 * insettext.C (insetButtonPress): set the_locking_inset to 0.
2503 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2505 * insettabular.C (getStatus): add forgotten brace around multiline
2508 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2510 * insetfloat.C (validate): require "float" instead of "floats".
2512 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2514 * insettabular.C (getStatus): use FuncStatus
2516 2002-01-08 Juergen Vigna <jug@sad.it>
2518 * insettabular.C (insetButtonRelease): now this should work too
2521 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2522 if the width is a percentage.
2524 * inset.h: added isChar() function and implemented this for
2525 insetspecialchar insetquotes and insetlatexaccent.
2526 added forceDefaultParagraphs() and implemented it for insettabular.
2528 2002-01-07 Juergen Vigna <jug@sad.it>
2530 * insettext.C (getLyXText): Fixed this function. An insert into the
2531 map is only done if we REALLY have a new BufferView.
2533 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
2535 * insettext.C: fix bug illustrated by attachment #37 of bug #59
2537 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2539 * insetinclude.C: fix use of FileInfo
2541 2002-01-07 Juergen Vigna <jug@sad.it>
2543 * insettabular.C (draw): fixed clearing of cell around inset.
2545 2002-01-05 Juergen Vigna <jug@sad.it>
2547 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2548 variables are updated.
2550 * insettabular.C (resetPos): set always the inset_y as it may be
2551 needed in another function.
2552 (searchBackward): don't draw while searching.
2554 2002-01-04 Juergen Vigna <jug@sad.it>
2556 * insettext.C (lockInsetInInset): forgot to set a cursor.
2558 2002-01-02 Juergen Vigna <jug@sad.it>
2560 * insettext.C (insertInset): make the correct undo informations on
2561 inserting new insets.
2563 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
2565 * insettabular.C: correct single-cell select vertically
2567 2001-12-27 Juergen Vigna <jug@sad.it>
2569 * insettabular.C (ascii): export as tab-separated-values if the
2570 function was not called from export (f.ex.: clipboard).
2572 * insetcollapsable.h: added default support for ascii, linuxdoc and
2573 docbook export (the insettext is exported by default!)
2575 * insettabular.C (copySelection): suff the clipboard with the tabular
2576 data in a tab separated format, seems more naturals then with all the
2579 2001-12-24 Juergen Vigna <jug@sad.it>
2581 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2582 to check for REAL mouseMotion.
2584 2001-12-20 Juergen Vigna <jug@sad.it>
2586 * inset.C (cursor): return the owners cursor if available instead of
2587 always only the bv->text->cursor.
2589 * insettabular.C (checkLongtableSpecial): works now.
2591 2001-12-19 Juergen Vigna <jug@sad.it>
2593 * insettabular.C (tabularFeatures): fix the row setting of ltt as
2594 this has to be always row + 1 as 0 means not selected!
2595 (checkLongtableSpecial): added
2596 (tabularFeatures): better longtable options support
2598 * insettext.C (resizeLyXText): reinit the text always also on a
2601 2001-12-18 Juergen Vigna <jug@sad.it>
2603 * insettext.C (updateInsetInInset): look if we have to autocollapse
2604 paragraps and return if the update is requested for ourself.
2606 * insetert.C (status): update the insettext not myself as that is what
2609 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2610 function only return if the update was requested with myself.
2612 * insettext.C (insetButtonPress): fixed stupid bug.
2613 (various functions): pay attention that lt is cleared BEFORE calling
2614 updateLocal() and try to use it in the right manner (don't use it
2615 if it's not really neccessary!)
2616 (collapseParagraphs): insert a blank between collapsing paragraphs
2617 if neccessary (not already there!).
2619 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2621 * insettabular.C: move includes around a bit, add a couple of
2624 * insettext.[Ch]: move includes around a bit, other ws changes and
2627 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2629 * insettext.C (insetButtonRelease): fix compile problem
2631 2001-12-17 Juergen Vigna <jug@sad.it>
2633 * insettext.C (insetButtonPress): set the selection cursor!
2634 (insetButtonPress): clear the selection (and set with that the
2635 selection.cursor) if we only hit an inset!
2637 * insetert.C (read): removed piece of compatibility code only needed
2640 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2643 * insetcollapsable.C (insetButtonRelease): changed so that it can
2644 open eventual existing popup dialogs on mousebutton==3.
2646 * insetfloat.C (insetButtonRelease): removed not needed anymore!
2648 * insetminipage.C (insetButtonRelease): removed not needed anymore!
2650 * inset.C (insetButtonRelease): return a bool for telling the outer
2651 world that we opened a dialog.
2653 2001-12-07 Juergen Vigna <jug@sad.it>
2655 * insettext.C (paragraph): remove the deleteing of paragraphs as
2656 it was a WRONG move!
2658 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2661 * insettabular.C: use new setSelection(). Allow
2662 selection of single cells.
2664 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2666 * insetquotes.C (latex): fix to use the local language setting at
2667 the point where the inset is inserted (different macros for
2668 different french packages)
2670 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2672 * inset.h: add par_owner_ member variable and parOwner
2675 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2677 * insettabular.C (everywhere): adapt because widths are now real
2678 widths and not strings
2680 * insettext.C (draw): re-introduce the calls to width(), ascent()
2681 and descent() to initialize the caching variables.
2683 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2685 * insettext.C (draw):
2686 (drawFrame): use insetWidth instead of last_width
2688 * insettext.h: remove variable last_width (insetWidth is exactly
2689 the same) and last_height (computed but never used!)
2691 2001-12-10 Allan Rae <rae@lyx.org>
2693 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2695 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2697 * insettext.C (insetAllowed): add comment
2699 2001-12-05 Juergen Vigna <jug@sad.it>
2701 * insettext.C (insetAllowed): fixed for the case that we directly
2702 ask the insettext from its LyXText.
2703 (paragraph): fixed the crash when assigning the par->next() from
2704 the EmptyParagraphMechanism!
2706 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2710 * insettext.C: change "while(" to "while ("
2712 2001-12-04 Juergen Vigna <jug@sad.it>
2714 * insetert.C (edit): handle Inlined status.
2716 * insettext.C (insertInset): trying John's fix for the trailing cursor
2718 * insetert.C (insetButtonPress): added to handle inlined status
2719 (insetMotionNotify): ditto.
2721 * insettext.C (clearInset): changed Painter & in BufferView * param,
2722 to be able to call ascent,descent methods.
2724 2001-12-03 Juergen Vigna <jug@sad.it>
2726 * insettext.C (updateInsetInInset): use lt variable to forbid
2727 changes of LyXText in an update call.
2728 (updateInsetInInset): fixed updating of non locked insets!
2730 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2732 * insettabular.C: capture some more functions to prevent
2733 selection drawing problems. Bug #451274
2735 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2738 * insetgraphicsParams.C: fix inverted sense of float_equal
2740 2001-11-30 Juergen Vigna <jug@sad.it>
2742 * insettabular.C (InsetTabular): use the save_id flag to create also
2743 the tabular with the same id's.
2745 * insettext.C (setParagraphData): added a same_id function for undo
2746 to set the same paragraph id's as of the paragraph we are setting.
2748 2001-11-30 José Matos <jamatos@fep.up.pt>
2751 * insettoc.[Ch]: DocBook -> docbook.
2753 2001-11-29 André Pönitz <poenitz@gmx.net>
2756 * insettext.C: further reduction of header dependencies by using
2757 lyx::layout_type and lyx::textclass_type from support/types.h
2759 2001-11-29 Juergen Vigna <jug@sad.it>
2761 * insettext.C: inserted a reinitLyXText function everywhere I delete
2762 the paragraphs! This should fixe the crashes we had.
2763 Also use the new function firstRow() instead of getRowNearY(dummy_y)
2764 (paragraph): set the InsetOwner() of the new paragraphs!
2766 2001-11-28 André Pönitz <poenitz@gmx.net>
2768 * insetnote.C: add pos initialization that I removed without
2771 2001-11-28 Juergen Vigna <jug@sad.it>
2773 * insettabular.C (resetPos): hack to not crash with infinite paints.
2775 * insettabular.h: insert missing function allowSpellcheck()!
2777 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2779 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2782 * insetfloatlist.C: derive from InsetCommand so gui can use it
2785 2001-11-26 André Pönitz <poenitz@gmx.net>
2789 * insetnote.C: reduce header dependencies, introduce type for
2792 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2794 * various: update for Alert.h
2796 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2798 * inset.h: fix comment
2800 * insettext.C: use par->isInset()
2802 2001-11-22 Allan Rae <rae@lyx.org>
2804 * insetcollapsable.h:
2805 * inset.h: Changes to checkInsertChar() behaviour.
2806 Now return value indicates whether chars can be inserted.
2808 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
2810 * various: updated to use the new LaTeXFeatures
2812 2001-11-14 José Matos <jamatos@fep.up.pt>
2814 * insetspecialchar.C (linuxdoc):
2815 (docbook): don't give a name to a unused variable.
2817 * insettext.C (docbook): removed unused variable.
2819 2001-11-13 Herbert Voss <voss@perce.de>
2821 * insetgraphic.C: fix scale bug
2823 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2825 * inset.h (isSpace):
2826 (isLetter): new virtual methods.
2828 * insetspecialchar.C (isSpace):
2829 (isLetter): implement here.
2831 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2833 * inset.h: new inline helpers
2835 * insettext.C: use new helpers
2837 2001-11-07 José Matos <jamatos@fep.up.pt>
2839 * insettext.C (docbook): full support for paragraphs inside insettext.
2841 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
2843 * insetindex.C: added header file for std::ostream.
2845 2001-11-03 José Matos <jamatos@fep.up.pt>
2847 * insetindex.C: added using std::ostream that I forgot yesterday.
2849 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
2851 * insetindex.h (docbook):
2852 * insetindex.C (docbook): added support for docbook export.
2854 2001-11-02 José Matos <jamatos@fep.up.pt>
2856 * insetcaption.C(docbook): added support for docbook export.
2858 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
2860 * insetexternal.C (updateExternal): Do not run update command if
2861 result file exists and is up to date.
2863 * ExternalTemplate.C (readFormat): Support the updateresult token.
2865 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
2867 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
2868 external_templates) to use the buffer->fileName() but only if
2869 previewing. Generating a TeX file should make FPath return
2872 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2875 * insetert.C: fix some problems
2877 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2879 * insetexternal.C (doSubstitution): Added $$FPath token
2880 to list of usable substitutions in external inset templates.
2882 2001-10-24 Juergen Vigna <jug@sad.it>
2884 * insettabular.C: use new ltType struct for setting longtable
2885 header and footers also new UNSET enums.
2887 2001-10-24 José Matos <jamatos@fep.up.pt>
2889 * insettabular.C (linuxdoc): Now exports the ascii's table version.
2890 (docbook): If the table is not inside a float then wrap it inside
2891 <informaltable>...</informaltable>.
2893 2001-10-23 José Matos <jamatos@fep.up.pt>
2895 * insetref.C (docbook): removed / terminator to conform SGML.
2897 * insetspecialchar.C (linuxdoc):
2898 (docbook): Added support for special chars, more than ascii export.
2900 2001-10-22 Juergen Vigna <jug@sad.it>
2902 * insettext.C (checkInsertChar): added for REALLY checking the
2903 font of the inserted char in the right inset!
2905 2001-10-19 Juergen Vigna <jug@sad.it>
2907 * inset.h: added method allowSpellcheck() so that insets who do
2908 not have anything to spellcheck can tell and so they are over-jumped.
2909 Implemented for InsetText and co.
2911 2001-10-18 Juergen Vigna <jug@sad.it>
2913 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2915 2001-10-15 José Matos <jamatos@fep.up.pt>
2917 * insetert.C: allow export for docbook and linuxdoc
2919 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2921 * insetquotes.C (dispString): handles latin3 and latin4 quotes
2923 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2925 * insetquotes.C (dispString): fix handling of latin9 quotes
2927 2001-10-03 Juergen Vigna <jug@sad.it>
2931 * insetcollapsable.C: change updateInset calls to not tell BV that
2932 we have changed status.
2934 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2936 * insettabular.C (deletable): make const
2938 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2940 * insetert.C (latex): Fix the returned value
2942 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2944 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
2945 Returns string(), so nothing in an ERT inset is spellchecked.
2947 * insetgraphics.C (draw): print the filename if not displaying the
2949 (width): make sure that the width and draw methods are consistent.
2950 (updateInset): don't even load the image into cache if not displaying
2953 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2955 * various files (selectNextWord): renamed as
2956 selectNextWordToSpellcheck.
2958 * insetgraphics.C (draw): remove the previous change. Right place
2959 is in imageLoaderXPM.C.
2960 (draw): don't display the image if params.display == NONE.
2962 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2964 * figinset.C (runqueue):
2965 * insetgraphics.C (draw): set background colour of inset from
2966 background to the user-configurable graphicsbg.
2968 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2970 * insetquotes.C (InsetQuotes): when trying to decide the side of
2971 the quote, choose `left' only after a space or '('
2973 2001-09-04 José Matos <jamatos@fep.up.pt>
2978 * insetcollapsable.h
2996 * insetlatexaccent.C
2997 * insetlatexaccent.h
3002 * insetspecialchar.C
3003 * insetspecialchar.h
3007 * insettext.C (docbook): rename docBook method to docbook.
3009 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
3011 * inset.h (getFirstParagraph): New virtual method.
3013 2001-08-20 Herbert Voss <voss@perce.de>
3014 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
3015 in the the bibtex-database-gui for inserting a line
3018 If no style is given than there is no tex-output.
3020 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
3022 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
3026 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
3028 * insetert.C (latex): Fix output for multiple paragraphs.
3029 (write): New code for writing paragraph data.
3030 (read): Set font after reading the inset.
3031 (localDispatch): Call set_latex_font() for more cases.
3033 * insetnote.h: Add empty validate method.
3036 * insetnote.C (InsetNote): Set language to the language of the
3039 2001-08-16 Juergen Vigna <jug@sad.it>
3041 * insettext.C: implemented the new FINISHED states.
3043 * insettabular.C: ditto
3045 * inset.h: added more FINISHED states for cursor right,up,down
3047 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3049 * insetfloatlist.C: use "FloatName List"
3051 2001-08-14 Juergen Vigna <jug@sad.it>
3053 * insetert.C (edit): forgot to set status_ in edit calls!
3055 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
3057 * insettext.C: Compilation fix
3059 2001-08-13 Juergen Vigna <jug@sad.it>
3061 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
3063 * insetcollapsable.C (edit): don't recollapse an already open inset.
3065 * insettext.C: fixed problem when reinitializing LyXText by not doing
3066 it while lt is in use and post this to the next possible time in
3068 (searchForward): fixed not unlocking of inset if nothing found.
3069 (edit): set cursor behind right (was set -1 pos).
3071 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
3073 * insettabular.C (tabularFeatures): fixed fix where deleting the
3074 last row didn't get the right actcell!
3076 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
3078 * insettext.C (localDispatch): Change language only when the inset
3081 2001-08-10 Juergen Vigna <jug@sad.it>
3083 * insettabular.C (selectNextWordInt): use the front using edit call.
3085 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
3086 the parameter overwrite class variable inset.
3088 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
3090 * insettext.C (saveLyXTextState): check for invalid cursor-par.
3091 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
3093 * insettabular.C (calculate_dimensions_of_cells): let's try to call
3094 update only for fixed with cells.
3095 (resetPos): try to fix the lockup on spellchecking or s&r.
3097 * insettext.C (update): comment this out as it seems first wrong
3098 and second not needed anymore!
3099 (some functions): call reinitLyXText() only in update() in all other
3100 positions set only need_update = INIT.
3102 2001-08-08 Juergen Vigna <jug@sad.it>
3104 * insettabular.C (setPos): fixed wrong actrow < rows() check.
3106 * insettext.C (insetUnlock): remove double-space on inset unlock.
3108 * insetcollapsable.C (draw): fix returned x when label > inset-width.
3110 * insettabular.C (update): fixed cursor positon after an insert.
3111 (insetAllowed): do not allow to insert insets when not inside the
3113 (draw): clear below an inset too as it could have changed height.
3115 * inset.C (getMaxWidth): fixed width for inset in inset.
3117 * insettext.C (update): small fix.
3119 * insettabular.C (tabularFeatures): added selection support to
3120 DELETE_ROW/DELETE_COLUMN.
3122 2001-08-07 Juergen Vigna <jug@sad.it>
3124 * inset.C (getMaxWidth): recoded and all it's implementations!
3126 * insettext.C (init,setParagraph+constructors): cleanups
3127 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
3128 are new and I want do a save/restore of the cursor position which is
3129 not possible anymore.
3131 * insetcollapsable.C (searchBackward): recollapse inset if not found.
3132 (searchBackward): ditto
3133 (selectNextWord): ditto
3135 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
3137 * insetlatexaccent.C (checkContents): Add some debug messages
3139 2001-08-07 Juergen Vigna <jug@sad.it>
3141 * insetert.C (read): don't use InsetCollapsable::read as we don't
3142 write the collapsed status anymore only the status.
3145 2001-08-06 Juergen Vigna <jug@sad.it>
3147 * insetert.C (set_latex_font): use LyXText's setFont directly.
3149 * insettext.C (drawFrame): fixed one time more the right position
3150 and size of the frame!
3152 * insetert.C (~InsetERT): hide the dialog.
3153 (showInsetDialog): added implementation
3156 (status): new function for the status of the ERT inset (3-state).
3157 (write): output also the status of the inset for readback!
3158 (read): readback the status if available otherwise use collapsed_.
3160 * insettext.C (edit): small fix of setting the position, which could
3163 * insetert.C (width): implement this function for inlined viewing.
3164 Added minimum width of 10 pixels!
3166 * insetminipage.C (InsetMinipage): just change the colors a bit so
3167 that border/background is a bit more visible. We will remove this
3170 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
3171 function for getting the important widths for drawing in various
3172 functions and in LyXText.
3173 (draw): fixed up a bit (frame drawing/clearing)
3175 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3177 * inset.C (convertFont): delete method. not used.
3179 2001-08-03 Juergen Vigna <jug@sad.it>
3181 * insettext.C (setFont): don't call for a draw update if we're just
3182 changing the cursor font!
3184 2001-08-02 Juergen Vigna <jug@sad.it>
3186 * insettext.C (draw): clear the background with the right color if
3187 needed. Update myself if x&max-width changed and return without doing
3188 anything. Let the update code handle the right stuff.
3190 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
3191 inside another inset.
3193 2001-08-01 Juergen Vigna <jug@sad.it>
3195 * insetcollapsable.C (update): added an in_update bool so we avoid
3198 * insettabular.C (update): added an in_update bool so we avoid
3201 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
3203 (update): added an in_update bool so we avoid reentering.
3205 * insettabular.C (localDispatch): clear col/row selection when doing
3206 something else inside an inset.
3208 * insettext.C (getLyXText): fixed bug when requesting a recursive
3211 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
3213 * insetcite.C (latex): Paranoia check. Make sure that there is no
3214 whitespace between the citation keys.
3216 2001-07-31 Juergen Vigna <jug@sad.it>
3218 * inset.h (nodraw): make the set function also const so that this
3219 can be called from inside other const functions.
3221 * insetcollapsable.h: removed inline variable and moved it over
3222 to the only user InsetERT.
3224 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
3225 inset opening immediately therein lying insets dialogs!
3227 * insetert.C (localDispatch): set the font also if we don't have any
3228 chars in this paragraph, otherwise if we delete all of em and start
3229 writing we have the wrong font.
3231 (draw): implemented for inline support
3232 (insetButtonRelease): ditto.
3234 2001-07-30 Juergen Vigna <jug@sad.it>
3236 * insettext.C (reinitLyXText): new function to reinit the insets
3237 text after lot's of paragraph changes. Use this instead of the
3238 cache.clear() which is VERY dangerous.
3240 * insetfloat.C (insetButtonRelease): we should only show the dialog
3241 if we press on the label otherwise we have problems to open mouse
3242 button 3 dialogs inside this float (f.ex. of a tabular!)
3244 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3246 * insetert.C: change back to "ERT"
3248 * insetfloat.C: handliign of RMB on label added.
3250 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3252 * insetgraphicsParams.C: #include LOstream.h here.
3254 * insetfoot.h: remove InsetFoot:: qualifier.
3256 2001-07-29 Baruch Even <baruch@lyx.org>
3258 * ChangeLog: Hiding time travel evidence.
3260 * insetgraphicsParams.h:
3261 * insetgraphicsParams.C:
3262 * insetgraphics.C: Added horizontal scale option, it actually scales both
3263 directions since it keeps image proportions.
3265 * insetgraphics.C: Fixed EPS detection to be non-hacky.
3267 2001-07-29 Baruch Even <baruch@lyx.org>
3269 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
3270 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
3272 HACKY! Will need to add an EPS detection routine like old InsetFig does!
3274 2001-07-29 Baruch Even <baruch@lyx.org>
3276 * insetgraphics.C: Added EPSI to be an alias of EPS.
3278 2001-07-29 Baruch Even <baruch@lyx.org>
3280 * insetgraphics.C: Change GRAPHICS to Graphics.
3281 Changed image conversion rules (documented at the beginning of file).
3283 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
3285 * insetert.C (get_new_label): int -> Paragraph::size_type to get
3288 * insetgraphics.C: added a using std::endl directive.
3290 * insetcommand.h (getScreenLabel): removed pure virtual function,
3291 as it duplicates that in InsetButton.
3293 * insetbib.[Ch] (getScreenLabel):
3294 * insetbutton.[Ch] (getScreenLabel):
3295 * insetcite.[Ch] (getScreenLabel):
3296 * insetert.[Ch] (getScreenLabel):
3297 * insetexternal.[Ch] (getScreenLabel):
3298 * insetfloatlist.[Ch] (getScreenLabel):
3299 * insetinclude.[Ch] (getScreenLabel):
3300 * insetindex.[Ch] (getScreenLabel):
3301 * insetlabel.h (getScreenLabel):
3302 * insetparent.[Ch] (getScreenLabel):
3303 * insetref.[Ch] (getScreenLabel):
3304 * insettoc.[Ch] (getScreenLabel):
3305 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3307 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3309 (validate): remove check on "cite" when using natbib.
3311 2001-07-26 Baruch Even <baruch@lyx.org>
3313 * insetgraphics.C (draw): changed casting to be in one place rather than
3314 all over the function.
3317 * insetgraphics.C (read): Added compatibility reads of InsetFig.
3319 * insetgraphicsParams.h:
3320 * insetgraphicsParams.C:
3321 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3323 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3325 * insetfoot.C (validate): Added method to ensure that the
3326 right bit of LaTeX is emitted.
3328 * insetfoot.h: Added validate method to set the correct
3329 LaTeXFeatures bit for the special footnote code.
3331 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3333 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3336 2001-07-27 Juergen Vigna <jug@sad.it>
3338 * inset.h: remove not used font variable in parameter.
3339 removed checkInsertChar in UpdatableInset as it was equal to
3340 the one in Inset and so not needed.
3342 * insetert.C (checkInsertChar): implementation of function
3345 * inset.h: added new function checkInsertChar.
3347 * various files: added c-tor and clone() function.
3349 * insetcollapsable.h: removed clone function here as this should
3350 be only realized in REAL insets and added it to all collapsable
3351 insets! (with the copy-constructor).
3353 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3355 * insetminipage.C (read): handle missing parameters more gracefully
3357 * insetcollapsable.C (read): handel missing collapsed more gracefully
3359 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3361 * insetfloat.C (read): handle missing parameters.
3363 * insettext.C (read): handle old latex end_inset
3365 * insetert.C (setButtonLabel): new method
3366 (init): use it, to set the dynamic label correctly
3369 * Makefile.am (EXTRA_DIST): add files that is not part or the
3372 * insetcollapsable.h: remove autocollapsable (no users), remove
3373 draw_label, change_label_with_text and companion code. Remove args
3375 * insetert.[Ch]: move here instead (only user)
3377 * inset.h: rename private variable name to name_, make
3378 selectNextWord return a const string. make getInsetName return a
3379 string const &. Remove bool from open, add close.
3381 * Makefile.am: don't compile insetlist, insetsection
3384 2001-07-24 Juergen Vigna <jug@sad.it>
3386 * insetert.C (InsetERT): put init after the paragraph initialization,
3387 as otherwise we don't set the draw_label right.
3389 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3390 insets with the mouse without having strange selections.
3391 (edit): if the inset was collapsed and we open it here then put the
3392 cursor always at the beginning of the inset.
3393 (get_new_label): 15 instead of 10 max chars in the label.
3395 * insetert.C (localDispatch): added and handle various stuff we
3396 need to handle here (font setting on paragraph break, not permitted
3397 layout setting, etc.).
3399 * inset.h: added default copy-consturctor and implemented this in
3400 various insets with the change to use this in the clone function!
3402 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3404 * insetminipage.C (InsetMinipage): set background color to red :)
3406 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3408 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3409 draw frame mode is LOCKED.
3411 * insetcollapsable.C (edit):
3412 (insetButtonRelease): set update status to full when
3415 * insettext.C (clearInset):
3416 * insettabular.C (draw):
3417 * insetlatexaccent.C (draw): honor background color.
3419 * inset.h: new member background_color_, initialized to
3422 * inset.C (backgroundColor): new method.
3423 (setBackgroundColor): new method.
3425 * insetert.C (init): new method, called by the ctors.
3426 (InsetERT): when inserting contents, make sure the font is
3429 * insetnote.C (InsetNote): when inserting content, remove trailing
3431 (init): set background color to LColor::note
3433 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3435 * insetcollapsable.C: adjust
3437 * insetbutton.C: adjust
3439 2001-07-23 Juergen Vigna <jug@sad.it>
3441 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3442 parameter on the _collapsed function (was not needed) and call
3443 always width_collapsed().
3445 * insetert.C (InsetERT): use setLabel with "true" flag.
3447 * insetcollapsable.C: modified various functions to set the draw_label
3448 string right in any condition.
3449 (setLabel): added a bool parameter to set change_label_with_text.
3451 * insetcollapsable.h: added draw_label string which is set to the
3452 actual drawn label-string, while label is the original static label
3453 of this collapsable inset. Added bool change_label_with_text to set
3454 if we want that the label changes to the start of the InsetText's
3455 text when collabpsed. You can set this flag with the setLabel funciton.
3456 Added bool inlined for inlined collapsable insets, but not handled
3459 * insetcollapsable.C (get_new_label): added should get a new label
3460 from the InsetText beginning (for now 10 chars).
3462 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3464 * insetquotes.C (latex): fix the handling of french double quotes
3465 when not using the french pachage.
3467 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3469 * insetcollapsable.h: make WidthCollapsed mutable.
3471 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3472 InsetPrintIndex returns INDEX_PRINT_CODE.
3474 * inset.h: add INDEX_PRINT_CODE
3476 * insetcollapsable.C (draw): init widthCollapsed if necessary
3479 * insetquotes.C (width): use the local language, not the document
3482 (dispString): add additional spacing for all french languages,
3484 (validate): make it work when there is no default language
3486 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3488 * insetnote.C (init): new method, called by the constructors
3489 (InsetNote): new constructor with contents passed as a string
3491 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3493 * insetfootlike.C (insetAllowed): disallow float in footlike.
3495 * insetert.C (InsetERT): add collapsed argument to the constrctor
3498 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3500 * insetindex.h: shut off warning
3502 2001-07-20 Juergen Vigna <jug@sad.it>
3504 * insetcollapsable.C (update): recoded hopefully works now!
3506 2001-07-19 Juergen Vigna <jug@sad.it>
3508 * most files: implemented the below new introduced function.
3510 * inset.h: added new edit(BufferView *, bool front) method to be able
3511 to enter an inset from the front/back without knowing x/y positions
3512 and baselines inside the inset. So I just can tell the inset activate
3513 me and set the cursor on the front/back of yourself.
3515 2001-07-18 Juergen Vigna <jug@sad.it>
3517 * insetcollapsable.C (edit): fixed hopefully the y parameter which
3518 is given to the InsetText.
3519 (insetButtonPress): ditto
3520 (insetButtonRelease): ditto
3521 (insetMotionNotify): ditto
3523 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3525 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3526 LIGATURE_BREAK, since the name is so stupid.
3528 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3530 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3531 the default InsetCollapsable methods. I.e., it can insert anything.
3532 (write) output the name of the inset, not some silly hack for
3533 compatability with the old InsetInfo.
3535 * insetinfo.[Ch]: removed.
3536 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3537 now collapsable, but functionality is otherwise identical to InsetInfo.
3539 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3541 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3543 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3546 * insetquotes.C: general cleanup
3547 (dispString): add spaces inside french double quotes.
3548 (latex): ditto. Moreover, treat first the case where the frenchb
3549 or french options have been given.
3551 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3553 * insetcite.[Ch] (latex, validate): new methods, required for natbib
3556 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
3558 * figinset.C (RegisterFigure): Print debug message only when
3559 current_view is available.
3561 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3563 * many files: update to match the change below
3565 * inset.h (insetAllowed): renamed from insertInsetAllowed;
3566 implement the version which takes an inset here.
3568 * insetcollapsable.[Ch]: implement open and isOpen
3570 * inset.h: remove insertInsetAllowed from Inset
3571 (open): new method, to open or close an inset
3572 (isOpen): returns the status of an inset
3573 (isCollapsable, colapse): removed
3575 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3577 * insetquotes.C (dispString): display french guillemets when using
3580 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3582 * insetcollapsable.h: remove bogus return statements
3584 2001-07-18 Juergen Vigna <jug@sad.it>
3586 * insettabular.C (selectNextWord): fixed spellchecking for the
3587 first cell of a tabular (wasn't entered!)
3588 (getLyXText): changed to enter automatically insettext and return
3589 it's LyXText if we're locked.
3591 2001-07-17 Juergen Vigna <jug@sad.it>
3593 * various files: implemented the below functions.
3595 * inset.h: added functions
3596 - virtual string selectNextWord(BufferView *, float & value) const;
3597 - virtual void selectSelectedWord(BufferView *) { return; }
3598 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3599 needed for spellchecking correctly!
3601 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
3603 * insetert.C (latex): write out all paragraphs.
3605 2001-07-17 Baruch Even <baruch@lyx.org>
3607 * insetgraphics.C (draw): Removed unneeded casts.
3609 2001-07-16 Juergen Vigna <jug@sad.it>
3611 * insettext.C (update): fixed small oversight (reset lt to 0).
3613 2001-07-14 Baruch Even <baruch@lyx.org>
3616 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3618 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3620 Consistent use of Lsstream.h:
3621 * figinset.C: removed using std::ostringstream directive.
3623 * insetgraphics.C (createLatexOptions):
3624 * insetinclude.C (unique_id):
3625 std::ostringstream -> ostringstream.
3626 * insettext.C (localDispatch): std::istringstream -> istringstream.
3628 2001-07-13 Juergen Vigna <jug@sad.it>
3630 * insetfloat.C (insertInsetAllowed): added missing const_cast.
3632 * insetcollapsable.C (getLockingInset): ditto.
3634 2001-07-12 Juergen Vigna <jug@sad.it>
3636 * insetcollapsable.h: added implementation of new function for
3639 * various files: added implementation of new insertInsetAllowed-func
3640 and redone the function a bit more.
3642 * inset.h: added isCollapsable(), bool collapsed(),
3643 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3645 * insetfloat.C (insertInsetAllowed): make a bit more checks.
3647 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3648 LyXText which is marked for removal while we're using it!
3650 * insettext.h: added private LyXText * lt to use it to assure we are
3651 not deleting our LyXText while we're using it!
3653 2001-07-11 Juergen Vigna <jug@sad.it>
3655 * insettext.C (insertInset): check if we are before the inset after
3656 inserting it! This check IS needed. Remove the Undo-Call as it is
3657 called in LyXText::insertInset!
3659 * insettext.h: added struct InnerCache.
3661 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3662 that we ONLY delete the LyXText in the getLyXText() routine. So we
3663 are sure we don't delete LyXText while someone is working with it!
3665 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3667 * insetexternal.C: (*it). -> it->
3668 * insettext.C: ditto
3670 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3672 * insetcollapsable.C (edit): always open collapsed insets (even if
3673 they are not autocollapsable)
3675 * insetcommand.C (operator=): simplify.
3677 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3679 * insetert.C (latex): handle META_NEWLINE
3681 2001-07-09 Juergen Vigna <jug@sad.it>
3683 * insetert.h: a normal InsetText can insert insets, but we won't.
3685 * inset.h: return default "false" on insertInsetAllowed and implement
3686 this function where a returnvalue != "false" is needed.
3688 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3690 * insetert.C (InsetERT): new contructor
3692 2001-07-06 Juergen Vigna <jug@sad.it>
3694 * a lot of files: added implementation of the below new functions
3695 and the change to clone(). Also the call of the new undo-functions
3698 * inset.h: added an inset_id, added functions getParFromID,
3699 getInsetFromID, firstParagraph, cursor and id functions, added
3700 bool same_ids to clone function.
3702 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3704 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3705 of BufferView * and shared_ptr<LyXText>
3707 2001-07-05 Juergen Vigna <jug@sad.it>
3709 * insettext.C (clear): deleted also the cache not only LyXText.
3710 (setParagraphData): ditto.
3712 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3714 * insetfloat.C (latex): let the specific placement take presedence
3715 if set, otherwise choose document placement if set, otherwise just
3716 use float default placement.
3718 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3720 * insettext.C (localDispatch): call CutAndPaste::'s static method
3723 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3725 * insetbib.C: no meed to include forms.h here.
3727 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
3729 * insettext.C: added using std::make_pair directive.
3731 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3733 * insettext.C (getLyXText): avoid multiple lookups, and simplify
3735 (deleteLyXText): ditto
3736 (resizeLyXText): ditto
3738 2001-07-02 Juergen Vigna <jug@sad.it>
3740 * insettext.C (getLyXText): introduce a cache in getLyXText so that
3741 following calls are only returned the right pointer without the over
3742 head to search in the map.
3743 (various funcs): reset the cached_bview variable as this signs that
3744 the cache is not valid anymore.
3746 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3748 * insettabular.C (clone): do not copy the LyXTabular twice
3750 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3752 * insettext.h (TEXT): delete method
3754 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3756 * insetmarginal.C (latex):
3757 * insetfoot.C (latex): fix spacing of notes in LaTeX
3759 * insettext.C (localDispatch): use .c_str() on istringstream
3760 constructor argument.
3762 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3767 * inseturl.C: fix method names in these to begin
3768 with small char too, so they inherit
3770 2001-06-28 Juergen Vigna <jug@sad.it>
3772 * insettext.C (setFont): fixed font settings using toggleFree()
3773 instead of setFont().
3775 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3777 * Change a lot of method names to begin with a small char.
3778 Changes to a lot of files because of this.
3780 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3782 * insetfloatlist.C (Write): std:: qualify ostream
3785 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3789 * insetgraphics.C: send debug output to Debug::INFO instead of
3792 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3795 * insettabular.C (getStatus): update to use func_status
3797 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
3799 * insetref.C (DocBook): added support for cross-references without
3802 2001-06-26 The LyX Project <jug@sad.it>
3807 * insetlabel.h: removed escape method and moved it to
3810 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3812 * insettabular.C (getMaxWidth): do the speedup in a different way,
3815 2001-06-24 The LyX Project <Asger>
3817 * insettabular.C (getMaxWidth): We cache a mapping from
3818 inset to cell in order to speed this method up.
3820 2001-06-24 The LyX Project <Asger>
3822 * insettext.C: Optimized InsetText::draw or something.
3824 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
3826 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
3828 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3830 * inset.h: name change from lyxinset.h
3832 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
3834 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
3836 2001-06-14 Juergen Vigna <jug@sad.it>
3838 * insettext.C (draw): removed warnings.
3840 2001-06-13 Juergen Vigna <jug@sad.it>
3842 * insettabular.C (nodraw): only go down the tree if we don't have
3843 that flag set otherwise it's obvious that we don't want to draw.
3844 (LocalDispatch): do also an update if we have an undispached result.
3846 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
3849 * insetgraphicsParams.C:
3850 * insettext.C: removed // -*- C++ -*- as first line.
3852 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3854 * lyxinset.h (resizeLyXText): shut off warning about unused
3857 2001-06-07 Juergen Vigna <jug@sad.it>
3859 * insettext.C (resizeLyXText): honor the new force flag.
3861 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
3863 * insettabular.C (deleteLyXText): new function
3865 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3873 * insetcollapsable.C:
3874 * insetcaption.C: LColor tidy
3876 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3878 * figinset.C: fix typo
3880 2001-06-01 Juergen Vigna <jug@sad.it>
3882 * insettabular.C (resetPos): small hack so that scroll is not set to
3883 0 when we are in the last column of a tabular. This is a problem we
3884 have because of constats 20 offset on both directions, so this can
3885 cause on the limit an endless loop.
3887 * insettext.C (SetFont): forgot that we can have locking insets ;)
3889 2001-05-31 Juergen Vigna <jug@sad.it>
3891 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
3893 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3895 * figinset.C: add using std:: directive for the C functions which
3898 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3900 * insetfloat.C (Write): write out wide info
3901 (Read): read the wide info
3902 (Latex): use the wide info when creating latex.
3904 * insettext.C: adjust
3906 * insetgraphics.[Ch] (statusMessage): change to return string
3910 * figinset.C (runqueue): add std::
3913 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3915 * insetcite.C (Ascii): add std:: qualifier
3917 2001-05-28 Juergen Vigna <jug@sad.it>
3919 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
3920 a endless-width inset (maxWidth < 0).
3921 (Edit): change language only if not equal.
3923 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
3925 * insettext.C (draw): fixed draw/clear of InsetText-Frame
3927 2001-05-16 Juergen Vigna <jug@sad.it>
3929 * insettext.C (selectAll): added
3930 (clearSelection): added
3932 * insettabular.C (SetFont): now we may set a font on a whole selection!
3933 (getSelection): added helper function.
3935 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3937 * insetcite.C (Ascii): Add method.
3939 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3942 * insetbib.C: fix path for OS/2 & Win32
3944 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3946 * insetfoot.C (Latex): don't use % after footnote.
3948 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3950 * insettext.C (Read): use clear
3951 (SetParagraphData): use LyXParagraph copy constructor instead of clone
3953 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3955 * insetfloatlist.h: add a bunch of std:: qualifiers.
3957 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3959 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
3960 FLOAT_LIST_CODE, renumber code list.
3962 * insettoc.C (getScreenLabel): remove support for float lists
3966 * insetfloatlist.[Ch]: new files
3968 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
3970 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
3972 * insettabular.C (LocalDispatch):
3973 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
3976 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3978 * insettext.C: remvoe !NEW_INSETS cruft
3980 * insettabular.C: remove !NEW_INSETS cruft
3982 * insetcollapsable.h: remove !NEW_INSETS cruft
3984 * insetbib.C: remove !NEW_INSETS cruft
3986 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3988 * insettoc.C: hack to make listof algorithm work
3990 2001-04-20 Juergen Vigna <jug@sad.it>
3992 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
3994 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3996 * insetquotes.C (Latex): improve the guard against
3997 unwanted !` and ?` ligatures. This should really be done in
3998 another place (to catch all this ligatures at low-level).
4000 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4002 * insettext.C (init): remvoe leftovers from cursor_visible change
4003 (draw): use c++ cast
4004 (LocalDispatch): dispatch LFUN_MESSAGE
4006 * insettabular.C (InsetTabular): remove leftovers from
4007 cursor_visible, and scoped_ptr changes
4008 (draw): use c++ cast
4010 * insetcollapsable.C (draw): use c++ cast
4012 * ExternalTemplate.h: inherit privaely from noncopyable
4013 * insetcommand.h: ditto
4014 * insetinclude.h: ditto
4016 2001-04-16 Allan Rae <rae@lyx.org>
4018 * insettoc.C (Ascii):
4019 * insettext.C (draw):
4020 * insettabular.C (setPos):
4021 * insetminipage.C (Read):
4022 * insetfloat.C (placement):
4023 * insetcaption.C (Ascii, DocBook):
4024 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
4025 an unrecognised preprocessor directive. So ensure they're wrapped.
4027 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
4030 * insetexternal.C: set view on Clone. Add _ to private members.
4032 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4034 * insettext.C (InsetText): fix new
4035 (InsetText): reindent some, simplify deletion of par list
4036 (clear): simplify deletion of par list, fix new
4037 (SetParagraphData): simplify deletion of par list
4039 * insettabular.[Ch] (getLabelList): implement new method
4041 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4043 * lyxinset.h: do not include gettext.h...
4051 * insetlatexaccent.C:
4055 * inseturl.C: ... and do it here instead
4057 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4059 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
4061 * insettext.[Ch] (getLabelList): add std:: on vector<string>
4063 * insetcollapsable.[Ch] (getLabelList): implement
4065 * insettext.[Ch] (getLabelList): implement
4067 * insettext.h: reindent
4069 * insettabular.h: make tabular a scoped_ptr
4071 * insettext.C (init): adjust for cursor_visible
4072 (ToggleInsetCursor): constify asc and desc, font, adjust for
4074 (ShowInsetCursor): constify asc and desc, font, adjust for
4076 (HideInsetCursor): adjust for cursor_visible
4078 * insettabular.C: reindent some
4079 (InsetTabular): adjust for scoped_ptr and cursor_visible
4080 (InsetTabular): ditto
4081 (~InsetTabular): delete delete
4082 (Clone): adjust for scoped_ptr
4083 (Read): constify old_format, adjust for scoped_ptr, move init of
4085 (draw): constify tx, localize loop vars.
4086 some other localization of variables, remove double initilizatons.
4088 * insetfoot.C: remove using std::ostream, add ostream where needed
4090 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4092 * lyxinset.h: some reindentaion, use initializer list for
4094 UpdatableInset: make cursor_visible a private var add
4095 public isCursorVisible(), add protected toggleCursorVisible() and
4096 proctected setCursorVisible(bool), make scroll call the Inset::scroll
4098 * insettoc.C: remvoe using decl
4099 (getScreenLabel): make cmdname donst
4102 (Ascii): don't use endl
4104 * insetfootlike.C: remove using decl at file scope and add std::
4106 * insetmarginal.C: ditto
4108 * insetfoot.C: some reformatting
4110 * insetfloat.C (InsetButtonRelease): adjust the hit area
4112 * insetert.C (SetFont): some reformatting
4114 * insetcollapsable.C: some reformatting and constification
4115 (Clone): comment out.
4116 * insetcollapsable.h: some reformatting
4117 (Clone): comment out.
4122 2001-03-30 Juergen Vigna <jug@sad.it>
4124 * insetcollapsable.h: changen *inset to be a InsetText inset.
4126 * some files: changed to reflect the above change.
4128 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
4130 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
4131 InsetExternal::Params.
4132 Added operator==() and operator!=() for the Params struct.
4134 2001-03-29 Juergen Vigna <jug@sad.it>
4136 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
4139 * insetminipage.C: removed widthp_ and all it's functions and changed
4140 to use new %-lengths of LyXLength.
4142 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4144 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
4146 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4148 * insetgraphicsParams.C (operator!=): new function, needed by the
4149 ControlGraphics class.
4151 2001-03-28 Juergen Vigna <jug@sad.it>
4153 * insettext.C (InsetButtonPress): only enter !inset if button == 2
4154 (checkAndActivateInset): don't use the values returned from
4155 call to bv->checkInsetHit.
4157 * insetminipage.C (Clone): set special minipage values.
4159 * insetcollapsable.C (draw): changed to draw the button in the
4160 upper left corner outside the textinset.
4161 (ascent): changed because of different drawing
4165 (InsetButtonPress): ditto
4166 (InsetButtonRelease): ditto
4167 (InsetMotionNotify): ditto
4169 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
4171 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
4175 2001-03-26 Juergen Vigna <jug@sad.it>
4177 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
4179 * insettext.C (ShowInsetDialog): implemented above function.
4181 * insettabular.C (ShowInsetDialog): ditto
4183 * insetminipage.C (ShowInsetDialog): ditto
4185 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4187 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
4188 InsetInclude::Params. Don't store a buffer * in Params. Store the
4189 master file name instead.
4191 2001-03-23 Juergen Vigna <jug@sad.it>
4193 * insetcollapsable.C (InsetMotionNotify):
4194 (InsetButtonRelease):
4195 (InsetButtonPress): fixed y-offset (minipages).
4197 * insettext.C (draw): force a FULL update if cleared == true.
4199 * insetcollapsable.C (draw): Lars forgotten entry for changing this
4200 routine to draw the minipages on its position-flag.
4201 (InsetInInsetY): give back the right y position, because of minipage
4204 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4207 * insetfloat.C (DocBook): docbook export code.
4209 2001-03-22 Juergen Vigna <jug@sad.it>
4211 * insetminipage.C (getMaxWidth): added function to set the drawing
4213 (Read): should work now!
4215 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
4216 if we create a new inset.
4218 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4220 * figinset.C (fl_set_preemptive_callback): moved definition outside
4223 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4225 * insetminipage.C (Read): prepare for reading of minipage arguments.
4227 2001-03-18 Baruch Even <baruch@lyx.org>
4229 * insetgraphics.C: Minor cleanups of the comments and code.
4231 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4233 * insetminipage.C (InsetMinipage): default to not collapsed
4235 2001-03-16 Juergen Vigna <jug@sad.it>
4237 * insetminipage.C (width): modified with to be a string
4238 (widthp): added widthp (for % width) support functions.
4239 (InsetButtonRelease): added to open the options dialog on button==3.
4240 (~InsetMinipage): added to hide the dialog.
4242 * insetminipage.h: added hideDialog signal
4244 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4246 * insetminipage.h: change the order or Position to match
4247 LyXParagraph::MINIPAGE_ALIGNMENT
4249 * several files: remvoe CXX_WORKING_NAMESPACES
4251 * ExternalTemplate.h: noncopyable is in namespace boost
4252 * insetinclude.h: ditto
4253 * insetcommand.h: ditto
4255 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4257 * insettext.C (Edit): #else# -> #else.
4258 * insettoc.C: added using directive.
4260 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4262 * insetminipage.h: add pos, inner_pos, width and height. + getters
4263 and setters for all of them.
4265 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4267 * insetinclude.C (Latex): Do not exit when the textclass of the
4268 included file differ from the textclass of the parent file.
4270 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
4272 * ExternalTemplate.C (read): the reading of external insets now checks
4273 for \end_inset and removes it form the input stream.
4275 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4277 * ExternalTemplate.h:
4278 * ExternalTemplate.C:
4280 * insetexternal.C: move form to GUII
4282 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4285 * insetinclude.C: add InsetIncludeParams, use
4286 composition rather than derivation of InsetCommand
4288 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4290 * insettoc.C (Ascii): use the Buffer typedefs
4292 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4294 * insettoc.C (Ascii): implement for dynamic number of lists
4296 * insetcaption.[Ch]: update from new_insets branch
4297 * insetfloat.[Ch]: ditto
4299 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4302 * figinset.C: use new File Dialog
4304 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4306 * insettext.C: changes becuase of ParagraphParameters.
4308 2001-02-28 Baruch Even <baruch@ev-en.org>
4310 * insetgraphics.C (updateInset): Changed due to the change in
4313 2001-02-26 Juergen Vigna <jug@sad.it>
4315 * insettext.C (SetFont): Set Undo only if we have selection (as it is
4316 handled in LyXText).
4318 2001-02-23 Juergen Vigna <jug@sad.it>
4320 * insettext.C (draw): some small repainting fixes.
4321 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4323 * inset.C (LocalDispatch): changed action to be a kb_action (as it
4324 should be) and not an int.
4326 * insettabular.C (LocalDispatch): ditto
4328 * insettext.C (LocalDispatch): ditto
4330 * insetcollapsable.C (LocalDispatch): ditto
4332 2001-02-22 Juergen Vigna <jug@sad.it>
4334 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4335 DISPATCH it and we don't have a locking_inset.
4337 2001-02-21 Baruch Even <baruch@ev-en.org>
4339 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4340 instead of GraphicsCacheItem *.
4342 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4344 * insetcollapsable.C (getLyXText): add const qualifier to second
4347 2001-02-22 Juergen Vigna <jug@sad.it>
4349 * insettext.C (getLyXText): honor the recursive parameter.
4350 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4352 * inset.C (getLyXText): added bool recursive parameter.
4354 * insettext.C (SetUpdateStatus): or the update codes.
4355 (draw): check need_update with &.
4356 (InsetButtonPress): set no_selection to not put a selection when
4357 entering an inset and it is redraws in another spot.
4359 * insettext.h: made need_update an int.
4361 2001-02-20 Baruch Even <baruch@ev-en.org>
4364 * insetgraphisc.C: Changed to use better semantics when loading images
4365 for inline view. Now it doesn't keep the pixmap itself but it's holder.
4367 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4371 * insetgraphics.C: change name of "hide" signal to "hideDialog",
4372 consistent with InsetTabular.
4374 2001-02-19 Juergen Vigna <jug@sad.it>
4376 * insettabular.C (LocalDispatch): implement PAGE up/down.
4378 * insettext.C (draw): clear all of it on need_update==INIT too!
4380 * insettabular.C (InsetUnlock): always clear the selection.
4382 * inset.C (scroll): normally we only want to scroll the inset until
4383 it is fully visible so if top_x + offset > 20 then just set scx to 0.
4385 2001-02-14 Juergen Vigna <jug@sad.it>
4387 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4388 (resetPos): fixed scroll behaviour.
4389 (LocalDispatch): do an update if moving cursor inside a table cell
4390 requests a scroll of the tabular.
4392 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4394 * insettext.C (textWidth): constify local var
4396 * insettabular.C: small cleanup.
4398 * insetfoot.C (Latex): constify local var
4400 * insetcollapsable.C: small cleanup.
4402 * figinset.C (runqueue): use compare instead of strcmp
4404 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4407 * insetinfo.C: remove cruft
4409 2001-02-14 Juergen Vigna <jug@sad.it>
4411 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4413 2001-02-13 Juergen Vigna <jug@sad.it>
4415 * insettext.C (InsertInset): don't move left (is this right?)
4417 * insettabular.C (LocalDispatch): use of the no_draw variable
4419 * insettabular.h: new no_draw variable to stop redraw
4421 * insettabular.C (TabularFeatures): fixed update for alignment change
4423 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4427 * insetbib.C: move dialogs to frontends/
4429 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4431 * insettext.C (LocalDispatch): Restore the language if the inset
4434 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4436 * insettext.C (moveRightIntern): Update the selection cursor.
4437 (moveLeftIntern): Ditto.
4439 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4441 * Makefile.am: remove BoundingBox.h
4443 * BoundingBox.h: removed
4445 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
4447 * insettext.C (LocalDispatch): Update selection cursor when moving
4448 cursor to the right.
4449 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4450 (moveLeftIntern): Ditto.
4452 2001-02-05 Baruch Even <baruch.even@writeme.com>
4454 * insetgraphics.C: Updated automatic image conversion, it now goes into
4455 temporary directory instead of with the image itself.
4457 2001-01-21 Baruch Even <baruch@ev-en.org>
4459 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4460 to EPS or PNG when needed (support bitmap graphics).
4462 2000-11-02 Baruch Even <baruch@ev-en.org>
4465 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4466 and removal of commented out code.
4468 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4470 * insetbib.C (callback): Update citations if the key has changed.
4472 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4474 * insetbib.C (InsetBibKey): Better computation of default key.
4475 (getScreenLabel) Show both the key and the label.
4476 (getBibLabel): New method.
4477 (callback): Force a redraw if the inset have been changed.
4479 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4481 * insetref.C (getType, getName): Move methods from
4482 src/frontends/xforms/FormRef.C.
4484 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
4486 * insettabular.C: Various improvements (use only one dummy position).
4488 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
4490 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4491 par->bibkey->width. This fixes the crashes when running without
4492 gui or when having included documents.
4494 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
4496 * insetcommand.C (getAsString, setFromString): Cleanup.
4498 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
4500 * insetref.C: Add the array InsetRef::types that contains
4501 information about all supported reference types.
4503 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4505 * lyxinset.h: remove trailing comma in enum.
4507 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
4509 * insettext.C: kill LyXBell.