1 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * insetwrap.C (clone): remove const_cast
5 * insetnote.C (clone): remove const_cast
7 * insetminipage.C (clone): remove const_cast
9 * insetmarginal.C (clone): remove const_cast
11 * insetfoot.C (clone): remove const_cast
13 * insetfloat.C (clone): remove const_cast
15 * insetert.C (clone): remove const_cast
17 * delete commented same_id functions from a lot of files.
19 2003-05-28 John Levon <levon@movementarian.org>
25 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
27 * insetminipage.C: fix metrics (bug 1144)
29 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
31 * insettext.C (saveLyXTextState): adjust
32 (restoreLyXTextState): adjust
35 (unlockInsetInInset): adjust
36 (localDispatch): adjust
39 * insettabular.C (insertAsciiString): adjust
41 2003-05-27 André Pönitz <poenitz@gmx.net>
54 * insettext.C: dim.w -> dim.wid
56 2003-05-26 John Levon <levon@movementarian.org>
58 * insettabular.C: avoid drawing all of a long table
59 if it's not needed. A big speedup
61 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
63 * remove same_id from function signatures, adjust
65 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
67 * insettext.C (InsetText): adjust
69 (setParagraphData): separate same_id cases, adjust
70 (appendParagraphs): adjust
71 (appendParagraphs): adjust
73 2003-05-23 André Pönitz <poenitz@gmx.net>
75 * insetbutton.h: whitespace
77 * insettabular.C: more compact code
79 * updatableinset.C: remove const_cast
82 2003-05-23 Angus Leeming <leeming@lyx.org>
84 * insetexternal.C (write): check how many lines are output.
85 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
86 if the template has defined it.
88 2003-05-23 Angus Leeming <leeming@lyx.org>
90 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
92 2003-05-23 Angus Leeming <leeming@lyx.org>
94 * insetfoot.C (latex):
95 * inseturl.C (latex): rename fragile as moving_arg.
97 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
99 * inseterror.C (localDispatch): comment out unused var.
101 2003-05-22 Angus Leeming <leeming@lyx.org>
103 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
104 passed through the LatexRunParams arg.
106 2003-05-22 Angus Leeming <leeming@lyx.org>
108 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
109 through the LatexRunParams arg.
111 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
112 arg rather than through a global var.
114 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
116 * insetspecialchar.C (dimension): use a string.
118 2003-05-22 Angus Leeming <leeming@lyx.org>
120 * insetbibtex.C (latex):
121 * insetgraphics.C (latex):
122 * insetinclude.C (latex): extract the buffer's 'nice'ness from
123 runparams rather than from the buffer itself.
125 2003-05-22 Angus Leeming <leeming@lyx.org>
127 * inset*.[Ch] (latex):
128 passed a LatexRunParams parameter.
130 * insetgraphics.C (latex): actually use it ;-)
132 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
134 * insetfloat.C (addToToc): trivial compile fix
136 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
138 * insettext.[Ch] (paragraph): delete unused function
140 * insetfloat.C (addToToc): parlist simplfication
142 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
144 * insetspace.[Ch]: added (new space insets)
146 * inset.h: handle new space insets
148 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
150 * insetfloat.C (addToToc): adjust
152 2003-05-21 André Pönitz <poenitz@gmx.net>
154 * insettext.[Ch]: fix drawing bug introduced earlier
156 2003-05-19 André Pönitz <poenitz@gmx.net>
158 * insetspecialchar.C: fix bug introduced yesterday
160 2003-05-19 André Pönitz <poenitz@gmx.net>
164 * insetcollapsable.[Ch]:
168 * insetgraphics.[Ch]:
169 * insetgraphicsParams.[Ch]:
170 * insetlatexaccent.[Ch]:
171 * insetminipage.[Ch]:
174 * insetspecialchar.[Ch]:
176 * insettext.[Ch]: dimensions() instead of ascend/descend/width
178 2003-05-19 André Pönitz <poenitz@gmx.net>
181 * insettext.C: more insetenv
183 2003-05-16 André Pönitz <poenitz@gmx.net>
186 * insetminimpage.[Ch]:
187 * insetcollapsable.[Ch]: fix #832
189 2003-05-16 André Pönitz <poenitz@gmx.net>
196 * insetcollapsable.[Ch]:
200 * insetexternal.[Ch]:
201 * insetfloatlist.[Ch]:
202 * insetgraphics.[Ch]:
206 * insetlatexaccent.[Ch]:
213 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
215 2003-05-13 André Pönitz <poenitz@gmx.net>
218 * insetcollapsable.C:
222 * insetwrap.C: tostr from own header
234 * insetwrap.C: STRCONV
237 2003-05-12 André Pönitz <poenitz@gmx.net>
249 * insetwwrap.C: boost::format -> bformat all over the place
251 2003-05-05 André Pönitz <poenitz@gmx.net>
253 * insettext.h: add missing #include <map>
255 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
257 * insettext.C (InsetText): parlist cleanup
262 (lockInsetInInset): ditto
266 (searchBackward): ditto
267 (collapseParagraphs): ditto
269 2003-05-06 John Levon <levon@movementarian.org>
271 * insetcaption.C: don't cast wrap inset to InsetFloat
274 * insetfloat.C: remove unneeded type() function
276 2003-05-05 André Pönitz <poenitz@gmx.net>
281 * insetcollapsable.[Ch]: remove unused function firstParagraph()
282 replace getFirstParagraph() by getParagraphs()
284 2003-05-03 John Levon <levon@movementarian.org>
286 * insetcollapsable.h:
287 * insetcollapsable.C:
293 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
294 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
295 getCursor(). Remove explicit cursor hides.
297 2003-05-02 André Pönitz <poenitz@gmx.net>
299 * insettext.C: remove unneeded &*
301 2003-04-30 John Levon <levon@movementarian.org>
303 * insettabular.C: fix edit message
305 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
307 * insettext.C (setFont): do not convert iterator -> pointer
309 * insettabular.C (localDispatch): do not convert iterator -> pointer
311 (tabularFeatures): ditto
313 2003-04-29 André Pönitz <poenitz@gmx.net>
315 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
317 2003-04-28 André Pönitz <poenitz@gmx.net>
319 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
322 2003-04-25 André Pönitz <poenitz@gmx.net>
324 * insetenv.C: derive from InsetText instead of InsetCollapsable
326 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * insetexternal.C (string2params): dont do anything if the string
330 * insetgraphics.C (string2params): ditto
331 * insetcommand.C (string2params): ditto
332 * insetert.C (string2params): ditto
333 * insetfloat.C (string2params): ditto
334 * insetinclude.C (string2params): ditto
335 * insetminipage.C (string2params): ditto
336 * insettabular.C (string2params): ditto
337 * insetwrap.C (string2params): ditto
339 2003-04-24 André Pönitz <poenitz@gmx.net>
341 * insetref.C: support for eqref
343 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
345 * insetert.C (read): use ParagraphList::iterator.
347 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
349 * insetquotes.C (latex): comment some code and add warnings.
351 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
353 * insetexternal.C (localDispatch): added a missing DISPATCHED
355 2003-04-12 John Levon <levon@movementarian.org>
357 * insetwrap.C (addToToc): fix a crash, conversion
358 from while to for loop forgot to remove the explicit
361 2003-04-10 John Levon <levon@movementarian.org>
363 * insettabular.C (tabularFeature): make sure
364 to update the dialog when we change something
367 (getStatus): don't disable some lfuns (bug 939)
369 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
371 * insettext.C (saveLyXTextState): adjust
372 (localDispatch): adjust
378 * insettabular.C (localDispatch): adjust
380 (tabularFeatures): adjust
382 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
384 * insettabular.C (searchForward,searchBackward): fix bug 782
386 2003-04-07 John Levon <levon@movementarian.org>
389 * insettext.C: clear status message on inset exit
391 2003-04-03 John Levon <levon@movementarian.org>
393 * insetcommand.C: return dispatched on DIALOG_UPDATE
395 2003-04-02 John Levon <levon@movementarian.org>
397 * insettabular.C: tab lfuns renamed
399 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
401 * insettext.C (update): move towards ParagraphList
406 (lockInsetInInset): ditto
407 (updateInsetInInset): ditto
408 (localDispatch): ditto
411 (resizeLyXText): ditto
412 (searchBackward): ditto
413 (collapseParagraphs): ditto
416 * insetwrap.C (InsetWrap): adjust
417 (addToToc): adjust and rewrite loop
419 * insettext.[Ch] (paragraph): delete function
421 * insettabular.C (moveNextCell): adjust
422 (movePrevCell): adjust
423 (insertAsciiString): adjust
425 * insetfloat.C (InsetFloat): adjust
428 * insetert.C (InsetERT): adjust
429 (write): adjust, and rewrite loop
430 (latex): adjust, and rewrite loop
431 (linuxdoc): adjust, and rewrite loop
432 (docbook): adjust, and rewrite loop
433 (localDispatch): adjust
434 (get_new_label): adjust
436 2003-04-01 John Levon <levon@movementarian.org>
438 From Alfredo Braunstein
441 * insetbutton.C: add localDispatch()
443 * insetcommand.C: return DISPATCHED when edit() called
445 * insettext.C: fix bug 967
447 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
449 * insettext.C: adjust
451 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
453 * insettext.C (draw): adjust
454 (crow): return a RowList::iterator not a Row*
456 * insetminipage.C (localDispatch): adjust
458 * insetert.C (localDispatch): adjust
460 2003-03-31 John Levon <levon@movementarian.org>
463 * insetgraphicsParams.C: use_gui moved to lyx_gui
465 2003-03-31 John Levon <levon@movementarian.org>
467 * insettext.C: Alert fix
469 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
471 * insettext.C (ascent): adjust for RowList
475 (toggleSelection): adjust
477 * insetminipage.C (localDispatch): adjust for RowList
479 * insetert.C (localDispatch): adjust for RowList
480 (getMaxWidth): adjust for RowList
482 2003-03-29 John Levon <levon@movementarian.org>
484 * insetert.C: Alert cleanup
486 2003-03-29 John Levon <levon@movementarian.org>
488 * insettabular.C: Alert fix
490 2003-03-28 John Levon <levon@movementarian.org>
492 * insetfloat.C: reset label on INSET_MODIFY
494 2003-03-28 John Levon <levon@movementarian.org>
496 * insetgraphicsParams.C: read subcaptionText as a whole line
499 2003-03-28 John Levon <levon@movementarian.org>
501 * insettext.C: remove unused prototypes
503 2003-03-25 Angus Leeming <leeming@lyx.org>
505 * insetbibitem.C (localDispatch): repaint the view after modifying
506 a bibitem inset in case the maximum InsetBibitem width has changed.
508 2003-03-25 John Levon <levon@movementarian.org>
511 * insettabular.C: LyXText renamings
513 2003-03-24 John Levon <levon@movementarian.org>
515 * insettext.C: remove some dead code. Fix bug 972 and
516 related by posting a repaint in updateLocal(), and making
517 the SEL functions set SELECTION.
519 2003-03-22 John Levon <levon@movementarian.org>
522 * inset.C: remove no-longer-needed topx_set
524 * insetcollapsable.h:
525 * insetcollapsable.C: remove dead code
528 * insetert.C: rebreak the rows when a possible
529 change in size is made, and reset the cursor
532 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
534 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
535 topx_set. Fix drawing errors for clearInset(). Remove
536 some unnecessary uses of topx, which should die.
538 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
539 is no longer needed. Replace it with an ugly hack.
541 2003-03-20 John Levon <levon@movementarian.org>
544 * insetcollapsable.h:
545 * insetcollapsable.C:
553 * insettext.C: remove spurious font parameter
554 from update(). Fix drawing of ERT insets inside
555 insets (bug 966). Remove unused mark_dirty from
556 tabular's updateLocal()
558 2003-03-19 John Levon <levon@movementarian.org>
567 * insetwrap.C: remove unused getter/setters
569 2003-03-19 John Levon <levon@movementarian.org>
571 * several files: bv->updateInset() doesn't take
572 a bool mark_dirty any more
574 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
576 * adjust for BufferView* arg removal from lyxtext.
578 2003-03-17 John Levon <levon@movementarian.org>
580 * most files: remove the "cleared" parameter
581 to draw in favour of always clearing. Associated
584 2003-03-16 John Levon <levon@movementarian.org>
586 * insettext.C: remove unused s.refresh
588 2003-03-13 Angus Leeming <leeming@lyx.org>
590 * insettext.C (edit): replace Dialogs::updateParagraph with
591 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
593 2003-03-13 André Pönitz <poenitz@gmx.net>
595 * Makefile.am: insert insetenv
597 * insethenv.[Ch]: new files, currently inactive
599 2003-03-12 John Levon <levon@movementarian.org>
609 * insettext.C: use new insetnewline
611 2003-03-12 John Levon <levon@movementarian.org>
613 * insettext.C: readToken became readParagraph
615 2003-03-12 John Levon <levon@movementarian.org>
617 * insettext.C: use parlist iterator for reading contents
619 2003-03-12 John Levon <levon@movementarian.org>
621 * insettext.C: name change to readToken()
623 2003-03-11 André Pönitz <poenitz@gmx.net>
625 * Makefile.am: insert insethfill
627 * insethfill.[Ch]: new files
629 2003-03-10 Angus Leeming <leeming@lyx.org>
631 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
633 (hideDialog): calls the new static Dialogs::hide() method.
635 * insetbibitem.C (edit):
636 * insetbibtex.C (edit):
637 * insetcite.C (edit):
638 * insetcommand.C (localDispatch):
639 * inseterror.C (d-tor):
640 * insetert.C (showInsetDialog):
641 * insetexternal.C (localDispatch, edit):
642 * insetfloat.C (localDispatch, showInsetDialog):
643 * insetfloatlist.C (edit):
644 * insetgraphics.C (localDispatch, edit):
645 * insetinclude.C (localDispatch, edit):
646 * insetindex.C (edit):
647 * insetlabel.C (edit):
648 * insetminipage.C (localDispatch, showInsetDialog):
650 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
651 resetPos, showInsetDialog, openLayoutDialog):
654 * insetwrap.C (localDispatch, showInsetDialog):
655 changes due to the changed MailInset interface.
657 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
659 * insetfloat.h: Set default placement to an empty string.
661 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
663 * insettext.C (latex): adjust call to latexParagraphs.
665 2003-03-10 Angus Leeming <leeming@lyx.org>
667 * mailinset.C: warn the user if the BufferView has not been cached.
669 2003-03-10 Angus Leeming <leeming@lyx.org>
671 * inset.h, insetbase.h: move cache() and view() into InsetBase.
673 * insetcommand.h (inset):
674 * insetert.h (inset):
675 * insetexternal.h (inset):
676 * insetfloat.h (inset):
677 * insetgraphics.h (inset):
678 * insetinclude.h (inset):
679 * insetminipage.h (inset):
680 * insettabular.h (inset):
681 * insetwrap.h (inset):
682 * mailinset.h (inset): return an InsetBase &, not an Inset &.
684 2003-03-10 Angus Leeming <leeming@lyx.org>
686 * insetcommand.C (string2params):
687 * insetexternal.C (string2params):
688 * insetfloat.C (string2params):
689 * insetgraphics.C (string2params):
690 * insetinclude.C (string2params):
691 * insetminipage.C (string2params):
692 * insettabular.C (string2params):
693 * insetwrap.C (string2params): cure warning message about missing
696 2003-03-09 Angus Leeming <leeming@lyx.org>
698 * insettabular.[Ch]: define a new class InsetTabularMailer and use
699 it to communicate with the frontend dialogs.
701 * mailinset.C (hideDialog): only hide the dialog if it is showing the
702 contents of this inset!
704 2003-03-07 Angus Leeming <leeming@lyx.org>
706 * inseterror.C (localDispatch): new method; calls edit() on
709 2003-03-07 Angus Leeming <leeming@lyx.org>
711 * insetbibitem.C (localDispatch):
712 * insetbibtex.C (localDispatch):
713 * insetlabel.C (localDispatch):
716 2003-03-07 Angus Leeming <leeming@lyx.org>
718 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
719 it to communicate with the frontend dialogs.
721 2003-03-07 Angus Leeming <leeming@lyx.org>
723 * insetexternal.C: remove operator== and operator!= for
724 InsetExternal::Params. They were used only by the old controller
727 2003-03-07 Angus Leeming <leeming@lyx.org>
729 * insetcommand.C (localDispatch):
730 * insetexternal.C (localDispatch):
731 * insetfloat.C (localDispatch):
732 * insetinclude.C (localDispatch):
733 * insetminipage.C (localDispatch):
734 * insetwrap.C (localDispatch):
735 add LFUN_INSET_DIALOG_UPDATE to the switch.
737 2003-03-07 Angus Leeming <leeming@lyx.org>
739 * insetcommand.C (string2params):
740 * insetexternal.C (string2params):
741 * insetfloat.C (string2params):
742 * insetinclude.C (string2params):
743 * insetwrap.C (string2params): use LyXLeX more.
746 * insetexternal.[Ch]:
749 * insetwrap.[Ch]: change Mailer::name_ to be static.
751 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
752 it to communicate with the frontend dialogs.
754 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
757 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
759 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
761 * insettext.C (updateLocal): un-const function
762 (updateLocal): adjust
763 (collapseParagraphs): un-const function
764 (collapseParagraphs): adjust
766 2003-03-05 Angus Leeming <leeming@lyx.org>
768 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
769 it to communicate with the frontend dialogs.
771 2003-03-05 Angus Leeming <leeming@lyx.org>
773 * insetcollapsable.C (draw): cache the BufferView.
775 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
776 it to communicate with the frontend dialogs.
778 2003-03-05 Angus Leeming <leeming@lyx.org>
780 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
783 2003-03-05 Angus Leeming <leeming@lyx.org>
785 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
787 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
788 it to communicate with the frontend dialogs.
790 2003-03-05 Angus Leeming <leeming@lyx.org>
792 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
793 it to communicate with the frontend dialogs.
795 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * insettext.C (collapseParagraphs): adjust
798 (appendParagraphs): make it take a Buffer* instead of a
799 BufferParams& as arg.
800 (appendParagraphs): adjust
802 2003-03-04 Angus Leeming <leeming@lyx.org>
804 * insetbibitem.C (localDispatch):
805 * insetbibtex.C (localDispatch):
806 * insetcommand.C (localDispatch):
807 * insetert.C (localDispatch):
808 * insetlabel.C (localDispatch):
809 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
811 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
813 * insettext.C (latex): adjust for ParagraphList::iterator
815 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * insetbutton.C (view): adjust for boost 1.30.0
818 * insetcollapsable.C (view): ditto
819 * insetgraphics.C (statusChanged): ditto
821 * insettext.h: move paragraphs to be public.
823 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
825 * insetnote.[Ch] (InsetNote): remove unused constructor
827 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
829 * insetgraphics.C: added include "format.h"
831 2003-02-27 Angus Leeming <leeming@lyx.org>
833 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
836 2003-02-27 Angus Leeming <leeming@lyx.org>
838 * insetbibitem.C (localDispatch):
839 * insetbibtex.C (localDispatch):
842 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
844 2003-02-26 Angus Leeming <leeming@lyx.org>
846 * insetbibitem.[Ch] (localDispatch):
847 * insetbibtex.[Ch] (localDispatch):
848 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
850 * insetcommand.C (localDispatch):
851 act only on receipt of LFUN_XYZ_APPLY.
853 * insetert.C (localDispatch): reformat.
854 add LFUN_XYZ_APPLY to the switch.
856 2003-02-26 John Levon <levon@movementarian.org>
858 * insettext.C: use RowPainter
860 * inset.h: make helpers take const *
862 2003-02-26 Angus Leeming <leeming@lyx.org>
864 * insetcommand.[Ch] (localDispatch): new method.
866 2003-02-26 Angus Leeming <leeming@lyx.org>
868 * insetinclude.C (draw): cache the BufferView* using cache not
871 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
873 * insetgraphics.C (draw)
874 * insetinclude.C (draw): Eliminate also the other argument (owner
875 inset inset) in the call to PreviewImage::image
877 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
879 * insetgraphics.C (draw)
880 * insetinclude.C (draw): Eliminate Buferview argument in call to
883 2003-02-25 John Levon <levon@movementarian.org>
885 * insetgraphicsParams.h:
886 * insetgraphics.C: don't start a load process if
887 the inset is set to NoDisplay (bug #920)
889 2003-02-22 John Levon <levon@movementarian.org>
892 * insetwrap.C: TocItem changed API (bug 913)
894 2003-02-21 Angus Leeming <leeming@lyx.org>
896 * insetcollapsable.[Ch] (cache, edit):
897 * insetbutton.[Ch] (cache, edit): new methods to cache the
898 BufferView in the draw method.
900 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
901 simplify comunication between InsetCommand-derived classes and
908 * insetfloatlist.[Ch]:
912 * inseturl.[Ch]: small changes to reflect the new interface to the
915 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
916 other, similar classes.
918 * Makefile.am: add new files.
920 2003-02-21 Angus Leeming <leeming@lyx.org>
922 * updatableinset.h (setView, view): remove.
923 * inset.h (view, cache): to be replaced by these.
925 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
928 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
931 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
933 2003-02-21 Allan Rae <rae@lyx.org>
935 * insetinclude.C (loadIfNeeded): ensure loading also works when
936 child document is under version control.
938 2003-02-17 André Pönitz <poenitz@gmx.net>
940 * insetbib.[Ch]: Adjust access to bibkeys
942 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
944 * insetquotes.C (dispString): remove use of acute accent for "'"
947 2003-02-14 John Levon <levon@movementarian.org>
949 * insettabular.C: changed method names in tabular.C
951 2003-02-14 John Levon <levon@movementarian.org>
955 * insetcollapsable.h:
956 * insetcollapsable.C:
960 * insettext.C: remove unused getParFromID()
962 2003-02-13 John Levon <levon@movementarian.org>
965 * insettext.C: remove unused beginningofMainBody()
967 2003-02-08 John Levon <levon@movementarian.org>
971 * insetcollapsable.h:
972 * insetcollapsable.C:
977 add nextChange(). Make allowSpellcheck() const. Add markErased().
979 * insetert.C: ignore deleted text
981 * insettabular.C: make sure to keep change tracking working
984 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
989 * insettext.C: Use error messages with identical spelling and punctuation
991 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
993 * insetgraphics.C (draw, width): Fix spacing around graphics inset
995 2002-12-17 Juergen Vigna <jug@lyx.org>
997 * insettext.C (localDispatch): hopefully fixed cursor up down
998 movement on leaving other insets.
1000 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1002 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
1005 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1007 * insetgraphics.C (prepareFile): do not remove the extension of
1008 the file name if it is not the default extension for the given
1009 format (that is, in latex output, remove extension from foo.eps,
1010 but not from foo.epsi)
1012 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1014 * insettext.C (lfunMouseRelease): hackish solution to the "double
1017 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1019 * insetfloat.C (addToToc): use the floats name not its type
1020 * insetwrap.C (addToToc): ditto
1022 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1024 * insetnote.C (init): make label font smaller
1026 2002-12-04 John Levon <levon@movementarian.org>
1028 * insetinclude.C: ressurect setting of command name
1030 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * insetquotes.C (dispString): disambiguate insert call
1034 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1036 * several files: ws changes
1038 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1040 * insetquotes.C (dispString): use string::insert for prepending a
1043 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1045 * insetparent.C (getScreenLabel): use boost::format
1047 * insetgraphics.C (prepareFile): use boost::format
1050 * insetfloatlist.C (latex): use boost::format
1052 * insetcaption.C (draw): use boost::format
1054 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1056 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
1059 2002-11-20 Juergen Vigna <jug@sad.it>
1061 * insettabular.C (resetPos): temporary fix for endless loop in
1062 this function on a redraw.
1064 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1066 * insettabular.C (copySelection): STRCONV
1068 * insetinclude.C (uniqueID): STRCONV
1069 (latexString): ditto
1071 * insetgraphics.C: put VersionNumber inside anon namespace
1072 (createLatexOptions): STRCONV
1074 * insetcommandparams.C: include config.h
1076 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
1078 * insetgraphicsParams.C (Write): use lyx::float_equal.
1079 Write height data correctly.
1080 (Read): zero scale when reading height data.
1082 2002-10-30 John Levon <levon@movementarian.org>
1084 * insetfloat.C (addToTOC): recursively traverse all
1085 contents looking for captions (fix #568)
1087 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1089 * insetexternal.C (doSubstitution): do not try to replace
1090 environment variables, this is done when executing the command
1092 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1094 * insetexternal.C (doSubstitution): change order of substitution
1095 to work around ReplaceEnvironmentPath brokenness
1097 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
1099 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
1101 * insetgraphicsParams.C (init, Write): associated changes
1102 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
1103 InsetGraphicsParams::scale.
1105 2002-10-21 John Levon <levon@movementarian.org>
1107 * inset.h: remove unused DISPATCH_RESULT
1109 * insettext.C: sgml open/close tag now in sgml namespace
1111 2002-10-21 Angus Leeming <leeming@lyx.org>
1113 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
1114 file path subdir/fig.eps when pasting it into a buffer in a different
1117 2002-10-16 John Levon <levon@movementarian.org>
1119 * insetspecialchar.C: remove \\protected_separator parsing
1121 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1123 * insetquote.C: fix LaTeX output of quotation marks.
1125 2002-10-14 Juergen Vigna <jug@sad.it>
1127 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
1128 Backspace functions which confused the Undo handling.
1130 2002-10-09 Angus Leeming <leeming@lyx.org>
1132 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
1133 BufferView::dispatch that turns off this optimisation when a new inset
1136 * insetcite.C (getNatbibLabel): correct logic of when and when not to
1137 reload the BibTeX keys.
1139 2002-10-11 André Pönitz <poenitz@gmx.net>
1141 * insettext.h: handle LFUN_PRIOR/NEXT
1143 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1145 * insetfloat.C: fix bug with float settings
1146 (document default != float default).
1148 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1150 * insetwrap.C (addToToc): New method.
1151 (InsetWrap): Set layout to caption.
1153 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1157 2002-09-16 John Levon <levon@movementarian.org>
1159 * insettabular.h: hasSelection() needs to be public
1161 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1163 * insetgraphicsParams.C: use empty string as default for rotateOrigin
1165 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1167 * insetgraphicsParams.C: use empty string as default for rotateOrigin
1169 2002-09-11 André Pönitz <poenitz@gmx.net>
1171 * insettabular.C: implement LFUN_WORDSEL
1173 2002-09-10 John Levon <levon@movementarian.org>
1175 * insetinclude.h: remove unused param
1177 2002-09-09 John Levon <levon@movementarian.org>
1180 * insetinclude.C: remove noload, default to input
1182 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
1184 * insetgraphics.C: disfuscated use of ']' in built output string.
1186 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1188 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
1190 2002-08-29 Juergen Vigna <jug@sad.it>
1192 * insettabular.C (lfunMousePress): Pay attention where you set
1193 the x/y values as they depend on which inset in the tabular is
1194 actually locked. So you surely have to reset them if you (un)lock
1197 2002-08-29 André Pönitz <poenitz@gmx.net>
1199 * insetfootlike.h: rename include guard to ALL CAPS
1201 * insettext.C: swap object and first parameter for checkInsetHit calls
1202 as this functions has moved from BufferView to LyXText
1205 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1207 * insetgraphicsParams.C: remove local displayTranslator and use
1208 the one from graphics/GraphicsTypes.h.
1210 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1212 * insetfloat.C (wide): add BufferParams parameter
1214 * insetfloatlist.C (read):
1217 * insetfloat.C (latex):
1219 * insetcaption.C (draw): use LyXTextClass::floats()
1221 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1223 * insetoptarg.h: add std:: qualifier.
1225 2002-08-26 Juergen Vigna <jug@sad.it>
1227 * insettext.C (localDispatch): ditto.
1229 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
1231 2002-08-25 John Levon <levon@movementarian.org>
1233 * inseturl.C: elide long URLs (bug 404)
1235 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1237 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
1238 remove "Format Version <version_no.>" string from inset header
1241 * insetgraphicsParams.[Ch]: Implement new graphics dialog
1243 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
1244 a member of "grfx::Params" anymore.
1246 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
1248 2002-08-24 John Levon <levon@movementarian.org>
1251 * insetoptarg.C: ws, pedantry ...
1253 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1255 * insettext.C (collapseParagraphs): pasteParagraph now in global
1257 (appendParagraphs): ditto
1259 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
1261 * insetcite.C (latex): Remove spaces only after commmas.
1263 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * insettext.C: remove NO_COMPABILITY stuff
1267 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * insettext.C (edit): use ParagraphList iterators
1271 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
1272 (bibitemWidest): ditto
1274 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1276 * insettext.C: include <boost/bind.hpp>
1277 add using std::for_each
1278 (saveLyXTextState): use ParagraphsList::iterator
1279 (init): use for_each on paragraphlist iterators
1280 (InsetText): remove superflous setting cached_bview to 0
1281 (latex): reformat a bit
1282 (ascii): use paragraphlist iterators
1283 (validate): use for_each + boost bind
1284 (getLabelList): use paragraphlist iterators
1285 (deleteLyXText): use for_each + boost::bind
1286 (resizeLyXText): ditto
1287 (reinitLyXText): ditto
1288 (removeNewlines): use paragraphlist iterators
1289 (getParFromID): ditto
1290 (paragraph): use for_each + boost::bind
1291 (getInsetFromID): use paragraphlist iterators
1292 (getLabelList): typo fix
1294 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * insettext.C (read): assign tmp to paragraphs after return from
1297 call to parseSingleLyXformat2Token
1300 2002-08-13 Angus Leeming <leeming@lyx.org>
1319 changes due to the changed LyXView interface that now returns references
1320 to member variables not pointers.
1322 2002-08-13 Angus Leeming <leeming@lyx.org>
1325 * insetcollapsable.h:
1328 * insettext.h: forward-declare WordLangTuple
1329 (selectNextWordToSpellcheck) constify return type.
1332 * insetcollapsable.C:
1335 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
1337 2002-08-12 Angus Leeming <leeming@lyx.org>
1339 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
1341 2002-08-12 Juergen Vigna <jug@sad.it>
1343 * insetcollapsable.C (edit): ignore if entered when pressing mouse
1346 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1348 * insetbib.C (bibitemMaxWidth): ParagraphList changes
1349 (bibitemWidest): ditto
1350 * insettext.[Ch]: ditto
1352 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1354 * insettext.C, insetert.C: use Paragraph::empty where appropriate
1356 2002-08-09 Angus Leeming <leeming@lyx.org>
1358 * insetinclude.C (latexString): remove fudge now that I've found out
1359 how to enable LaTeX to find the file using input@path.
1361 2002-08-09 John Levon <levon@movementarian.org>
1364 * insettext.C: remove unused xpos
1366 2002-08-07 Juergen Vigna <jug@lyx.org>
1368 * insettabular.C (localDispatch): make delete not put the stuff
1369 in the clipboard only do this on a cut operation.
1371 * insettext.C (localDispatch): make delete and backspace not put
1372 selected stuff to the clipboard.
1374 2002-08-07 André Pönitz <poenitz@gmx.net>
1377 * insetcollapsable.[Ch]:
1381 * insettabular.[Ch]:
1382 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
1384 2002-08-06 John Levon <levon@movementarian.org>
1388 * insetcollapsable.h:
1389 * insetcollapsable.C:
1395 * insettext.C: use WordLangTuple for spellcheck
1397 2002-08-06 Angus Leeming <leeming@lyx.org>
1399 * insetinclude.C: add a monitor to the previewed image, so that the
1400 image is refreshed if the \input-ed file changes.
1402 2002-08-04 John Levon <levon@movementarian.org>
1405 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
1407 2002-08-02 Angus Leeming <leeming@lyx.org>
1409 * insetcommandparams.[Ch] (preview): new methods returning and setting
1410 a new bool preview_ flag.
1411 (read): read this flag.
1412 (operator==): add flag to check.
1414 * insetinclude.C (write): output new preview() flag.
1415 (previewWanted): use this flag.
1417 2002-08-02 Angus Leeming <leeming@lyx.org>
1419 * insetcollapsable.[Ch] (addPreview):
1420 * insettabular.[Ch] (addPreview):
1421 * insettext.[Ch] (addPreview): new methods. Can now generate previews
1422 for insets in insets.
1424 2002-08-02 Angus Leeming <leeming@lyx.org>
1426 * insetcite.C: fix typo.
1428 * insetgraphics.C: kill current_view and instead cache the BufferView
1431 * insetinclude.C: kill current_view and pass the BufferView to the
1432 PreviewedInset so that it can cache it.
1434 2002-08-01 Angus Leeming <leeming@lyx.org>
1436 * inset.h (generatePreview): renamed as addPreview.
1437 (generatePreview): new method. Allows code to be moved out of
1438 math_nestinset.C and into the new PreviewedInset class.
1440 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
1441 add previews to the inset when \input-ing LaTeX.
1443 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1445 * several files: strip,frontStrip -> trim,ltrim,rtrim
1447 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1449 * insetbib.C (latex): modify because of strip changes
1451 * insetnote.C (InsetNote): ditto
1453 2002-07-26 Juergen Vigna <jug@sad.it>
1455 * insettabular.C (searchForward): check for lastcell if we
1456 had a locking inset.
1458 2002-07-25 Juergen Vigna <jug@sad.it>
1460 * insettabular.C (insetMotionNotify): Don't update the screen
1461 if we didn't do nothing.
1462 (searchForward): last cell was not checked.
1464 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1466 * insetfloat.C (read, write): Allow default placement
1467 (floatPlacement_ is empty).
1469 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1471 * insetminipage.h (noFontChange):
1472 * insettabular.h (noFontChange):
1473 * insetfootlike.h (noFontChange):
1474 * insetfloat.h (noFontChange): return true
1476 * inset.h (noFontChange): new method, defaulting to false
1478 2002-07-22 Herbert Voss <voss@lyx.org>
1480 * insetgraphicsParams.[Ch]: support size_type for old docs
1482 2002-07-22 Herbert Voss <voss@lyx.org>
1485 * insetgraphicsParams.[Ch]: change size_type to size_kind and
1488 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1490 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1492 * insetlatexaccent.h: do not include "lyxlex.h"
1494 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1497 * insetlatexaccent.C:
1501 * insetbib.C: #include "lyxlex.h"
1507 * insettext.C: use BufferParams::getLyXTextClass
1510 * insetfloat.C (addToToc): new method. Add to toclist the entries
1511 corresponding to Caption layouts
1512 (InsetFloat): when creating a new float, set the layout to "Caption"
1514 2002-07-21 Herbert Voss <voss@lyx.org>
1516 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1517 image relevant part into graphics/GraphicsImgae.C
1519 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1521 * insettoc.C (ascii):
1522 * insetfloatlist.C (ascii): change to use the new Toc functions
1523 instead of stuff that was in Buffer
1525 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1527 * insettext.C (localDispatch): BufferView::Dispatch has been
1528 renamed to BufferView::dispatch
1530 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1532 * insetgraphicsParams.C (as_grfxParams): use the new
1533 keepLyXAspectRatio parameter. Note that this is an adaptation of a
1534 1.2.0 patch, and I do not really know how to adapt it to the new
1535 grfx::Cache world. Angus, please could you have a look?
1537 2002-05-01 Herbert Voss <voss@lyx.org>
1539 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1541 2002-07-18 Angus Leeming <leeming@lyx.org>
1543 * insetgraphics.C: clean-up comments (from Herbert).
1544 add a new checksum variable to the cache. Use it in PrepareFile.
1545 (draw): start monitoring the file for a change.
1546 (prepareFile): re-arrange a little to avoid unnecessary steps.
1548 2002-07-17 Angus Leeming <leeming@lyx.org>
1550 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1551 a method rather than to the signal directly.
1553 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1555 * insettext.C: use view_state_changed, switchKeyMap
1557 2002-07-17 Herbert Voss <voss@perce.de>
1559 * insetgraphics.C (prepareFile): keep the extension when
1560 exporting to nice file
1562 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1564 * insetcite.C (getNatbibLabel):
1565 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1567 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1569 * insetgraphics.C: use ->isDrawable()
1571 2002-07-12 Angus Leeming <leeming@lyx.org>
1573 * insetgraphics.C: use the new smart loading capabilities of the image
1576 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1578 * insettabular.C (edit): Move into correct cell when entering a
1581 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1584 2002-07-05 Angus Leeming <leeming@lyx.org>
1586 * inset.h (generatePreview): new virtual method.
1588 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1590 * insetcommandparams.[Ch] (operator=): move out of class
1591 (operator!): move out of class
1593 2002-07-04 André Pönitz <poenitz@gmx.net>
1595 * insetcommandparams.[Ch]: new files
1597 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1599 2002-06-15 Herbert Voss <voss@perce.de>
1601 * insetgraphics.C (prepareFile): bugfix; return always
1602 files without extension
1604 2002-06-28 Angus Leeming <leeming@lyx.org>
1606 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1607 rename asGParams -> as_grfxParams.
1609 * insetgraphics.C: reflect above change.
1611 2002-06-26 Angus Leeming <leeming@lyx.org>
1613 * insetgraphics.h: use boost::scoped_ptr in preference to
1616 2002-06-26 Angus Leeming <leeming@lyx.org>
1618 * insetgraphics.C: moved the image loading stuff into a new class
1619 grfx::Loader. Simplifies this file enormously.
1621 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1623 * insetgraphicsParams.C: changes aassociated with moving
1624 grfx::DisplayType out of grfx::GParams.
1626 2002-06-26 André Pönitz <poenitz@gmx.net>
1628 * insetgraphics.C: use os::external_path where necesaary according to a
1629 patch from Claus Hentschel)
1631 2002-06-25 Angus Leeming <leeming@lyx.org>
1633 * insetgraphics.[Ch]: The inset now assumes the responsibility for
1634 generating a pixmap once the graphics file is loaded into memory.
1635 The current_view ugliness that was in grfx::ModifiedImage has been
1636 moved here now that grfx::ModifiedImage is no more.
1638 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1640 * insettext.C: layout as layout
1642 2002-05-28 André Pönitz <poenitz@gmx.net>
1644 * insetfloatlist.h: remove source of compiler warning
1646 * insetref.C: tiny whitespace
1648 2002-06-15 Herbert Voss <voss@perce.de>
1650 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1651 and take always convert when no userdefined converter was
1653 (latex) small changes in the lyxerr output
1655 2002-06-15 LyX Development team <lyx@rilke>
1657 * inset*.[Ch] (docbook): Added new argument to take the pernicious
1658 mixed content. Small white spaces clean.
1660 2002-06-14 Angus Leeming <leeming@lyx.org>
1662 * inseetexternal.C: remove the using std::difftime declaration.
1664 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
1666 * insetquotes.C: change lyxfont::draw to font_metrics::draw
1668 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
1670 * insetquotes.C (draw): fix drawing of double quotes
1672 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1674 * insettabular.C: s/scrollCB/scrollDocView/
1676 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1678 * insettext.C: change of topCursorVisible()
1681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1684 * insettext.C: rename/change of LyXScreen
1686 2002-06-07 Angus Leeming <leeming@lyx.org>
1688 Fixes needed to compile with Compaq cxx 6.5.
1690 all c-library variables have been moved into namespace std.
1691 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1693 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1695 * insetinclude.C (uniqueID):
1696 * insetgraphics.C (uniqueID): renamed from unique_id, since this
1697 conflicted with some AIX headers.
1699 2002-05-31 Juergen Vigna <jug@sad.it>
1701 * insetert.C (get_new_label): add '...' for multi-paragraph ert
1705 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1707 * insetexternal.C (clone): fix () bug when using new
1708 (updateExternal): don't only look for difftime in global scope
1710 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1712 * insettabular.C: add const
1714 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1716 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1717 file name, in case there are weird characters like ',' in there.
1720 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1722 * switch from SigC signals to boost::signals.
1724 2002-05-28 André Pönitz <poenitz@gmx.net>
1726 * insets/insetgraphicsParams.[Ch]:
1727 put in inset related stuff from src/graphic
1729 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1737 * insetcollapsable.C:
1738 * insetcollapsable.h:
1766 * inseturl.h: use mouse_state. Kill insetKeyPress
1768 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1773 * insetcollapsable.C:
1776 * insetlatexaccent.C:
1778 * insetspecialchar.C:
1780 * insettext.C: name change for font metrics
1782 2002-05-24 Juergen Vigna <jug@sad.it>
1784 * insetgraphics.h: include inset.h first (for LString.h)
1786 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1788 * insettext.C: screen moved
1790 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1808 * inseturl.C: LyXView moved into frontends/
1810 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1815 * insetcollapsable.C:
1819 * insetgraphicsParams.C:
1820 * insetlatexaccent.C:
1822 * insetspecialchar.C:
1824 * insettext.C: move Painter to frontends/
1826 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1828 * insettabular.h: use more specific smart_ptr header.
1829 * insettext.h: ditto
1831 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1834 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1836 * insettext.C: clear selection on paste (bug 393)
1838 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1840 * insettext.C (latex): Honor the moving_arg argument.
1842 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1844 * insetfoot.C (latex): if a footnote is in a title layout, then it
1845 is a \thanks. And then, its contents is a moving argument.
1847 2002-05-14 Juergen Vigna <jug@sad.it>
1849 * insetcollapsable.C (InsetCollapsable): forgot to initialize
1852 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
1854 * Insetcite.C (getNatbibLabel): don't disable natbib label support
1855 when using options "Full author list" or "Upper case".
1857 2002-05-14 Herbert Voss <voss@perce.de>
1859 * insetgraphics.C (prepareFile): allow files with same name
1861 (readFigInset): set the flags from old figinset in the right
1863 (findTargetFormat): more comments
1865 2002-05-14 Juergen Vigna <jug@sad.it>
1867 * insettext.C (edit): tell checkAndActivateInset() that we don't
1868 have a button press.
1869 (checkAndActivateInset): if button < 0 we don't have a button press
1870 on the inset and os we won't call edit on it if it's not a Highly
1871 editable inset (then we have to enter it).
1873 2002-05-13 Juergen Vigna <jug@sad.it>
1875 * insetcollapsable.C (insetButtonRelease): returned wrong return
1878 2002-05-09 Juergen Vigna <jug@sad.it>
1880 * insetcollapsable.C (edit): first_after_edit should only be
1881 set to true if we enter this inset and it was collapsed so we
1882 open it up. This is needed to reclose it after a search/replace
1883 or spellcheck function opened it and was negative.
1885 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
1887 * insetfloat.C (latex): Return correct value.
1889 2002-05-04 Herbert Voss <voss@perce.de>
1891 * InsetgraphicsParams.C (read): fix bug with WH
1893 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1895 * insetfloat.C (latex): More sensible latex output
1896 (fix the problem with endfloat).
1898 2002-05-02 José Matos <jamatos@fep.up.pt>
1900 * insetgraphics.C (validate): acess params as everyone else.
1902 2002-05-03 Juergen Vigna <jug@sad.it>
1904 * insettabular.C (fitInsetCursor): recalculate the cursor position
1907 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1909 * InsetgraphicsParams.[Ch]: whitespace.
1911 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1913 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1914 float type do not exist.
1916 2002-04-28 Herbert Voss <voss@perce.de>
1918 * insetgraphics.C (latex): fix bug with missing file-extension.
1919 LaTeX still allows a missing "eps" or "ps".
1921 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1923 * insetfloat.C (c-tor, wide): translate the name of the float.
1925 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1927 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
1928 when using natbib and make it work efficiently. Must emphasise that the
1929 real work is Herbert's.
1931 2002-04-23 Herbert Voss <voss@perce.de>
1933 * insetgraphic.C (prepareFile): fix bug with overwriting and
1934 deleting an existing *.eps-file in the doc-dir
1936 2002-04-23 Juergen Vigna <jug@sad.it>
1938 * insettabular.C (drawCellSelection): fix off by 1 error.
1940 2002-04-22 Juergen Vigna <jug@sad.it>
1942 * insettabular.C (setFont): rewoke full selection if it was asked,
1943 after we changed all we had to change.
1945 * insettext.C (insetUnlock): code was uninitialized in some situations.
1947 2002-04-19 Herbert Voss <voss@perce.de>
1949 * insetgraphic.C (prepareFile): return filename without
1950 extension if we only export without compiling
1952 2002-04-19 Juergen Vigna <jug@sad.it>
1954 * insettext.C (draw): call a fullRebreak on the row where we had a
1955 change and reset the cursor and selection-cursors.
1957 * insettabular.C (insetUnlock):
1958 (insetButtonPress): call an update before setting the_locking_inset = 0
1959 as otherwise we don't repaint!
1960 (update): reset the cursor position when we changed dimensions as
1961 otherwise our cursor may be on the wrong spot.
1963 2002-04-18 Juergen Vigna <jug@sad.it>
1965 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
1966 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
1967 redraw otherwise we won't redraw.
1969 * insettext.C (draw): fixed the setting of LyXText::first_y it was
1970 not really right before, but I only discovered this with the last
1971 changes to Page up/down.
1973 2002-04-17 Juergen Vigna <jug@sad.it>
1975 * insettext.C (checkAndActivateInset): simplified as we now have the
1976 edit(bv, bool) call.
1978 * insettext.h: changed behind variables to front variables to be
1979 equal to the one in the edit call (as it is for that they are used).
1981 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1983 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
1984 not output anything at all!
1986 2002-04-16 Juergen Vigna <jug@sad.it>
1988 * insettabular.C (insetButtonPress):
1989 (insetUnlock): call a redraw on unlocking the cell inset.
1991 * insettext.C (insetButtonPress): same as below.
1992 (lockInset): new function to set initial values when inset should
1994 (insetButtonPress): use above function.
1995 (insetUnlock): don't force a repaint only set the updateStatus. The
1996 outside world should repaint if it thinks it should be done!
1998 * insettabular.C (insetButtonPress): init values if not set as locked
1999 as we are locked if someone presses on us and don't call the edit()
2000 call of the InsetText to lock it do it as BufferView does it!
2002 * inset.h (insetInInsetY): make func const and return an int.
2005 * insetcollapsable.C: adapt the above changed function.
2007 2002-04-15 Juergen Vigna <jug@sad.it>
2009 * insettext.C (getCursorPos): return relative position as to be able
2010 to give them directly to the edit() call.
2011 (edit): we have to set also x_fix as it is not set inside the
2012 setCursorFromCoordinates call!
2013 (insetMotionNotify): ditto.
2015 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2017 * insetbib.C (getKeys): strip leading '\t's from the line too.
2018 With thanks to Henry Pfister <hpfister@ucsd.edu>.
2020 2002-04-12 Juergen Vigna <jug@sad.it>
2022 * insettext.h: added cix() helper function and use it where appropriate
2024 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2026 * insetgraphics.C (prepareFile): fix bug when graphics is a
2029 2002-04-12 Juergen Vigna <jug@sad.it>
2031 * insettext.C (insertInset): remove unneeded code!
2032 (updateLocal): fitCursor() fixes.
2033 (collapseParagraphs): fix a possible problem when having a selection
2034 and collapsing the paragraphs.
2036 2002-04-08 Herbert Voss <voss@perce.de>
2038 * insetgraphic.C (write): write the rotating angle as
2039 a float as is. test only for != 0.0
2041 2002-04-11 Juergen Vigna <jug@sad.it>
2043 * insettext.C: new function ciy() and use it for setting inset_y.
2045 * insetert.C (draw): fix the x return for collapsed version.
2047 2002-04-07 Herbert Voss <voss@perce.de>
2049 * insetgraphic.C (readFigInset): fix bug with subcaption and
2052 2002-04-08 Herbert Voss <voss@lyx.org>
2054 * insetgraphicsparam.C: forgot special option and delete old
2057 2002-04-05 Juergen Vigna <jug@sad.it>
2059 * insettext.C (localDispatch): make a CURSOR update if we inserted
2062 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2064 * insetfloatlist.C (getScreenLabel):
2065 (latex): use Floating::listName
2066 (validate): new method
2068 2002-04-03 José Matos <jamatos@fep.up.pt>
2070 * insetlabel.C (docbook): the anchor is an empty element in docbook.
2072 * insetfoot.[Ch] (docbook): added forgotten method.
2074 2002-04-03 Juergen Vigna <jug@sad.it>
2076 * insettext.C (insetButtonPress): fix insetButtonPress events the same
2077 way as in Bufferview_pimpl.
2079 2002-04-03 Allan Rae <rae@lyx.org>
2081 * insetgraphics.C (latex): one % too many makes living on the bleeding
2082 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
2084 2002-03-28 Herbert Voss <voss@lyx.org>
2086 * insetgraphic.C (latex): simplify the code for the latex
2087 output when the file doesn't exist
2089 2002-03-29 Juergen Vigna <jug@sad.it>
2091 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
2094 * insettabular.C (edit): call fitCursor().
2096 * insettext.C (insetButtonPress): change behaviour of no_selection
2097 to the one in the BufferView selection_possible and fix the spurious
2098 selection bug with it.
2099 (localDispatch): revoke selection on BREAK... functions.
2101 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2103 * insetfloatlist.C (getScreenLabel): translate the GUI label.
2105 2002-03-28 Juergen Vigna <jug@sad.it>
2107 * insettabular.C (insetAllowed): return true as default value otherwise
2108 we're not able to insert insets inside paragraphs of an not locked
2111 2002-03-27 Herbert Voss <voss@lyx.org>
2113 * insetgraphicsparam.C: change c%, p% to col%, page%
2115 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2117 * insetspecialchar.C (isLineSeparator): disable the nice code to
2118 allow linebreaks after hyphenation and menu separators.
2120 2002-03-26 Herbert Voss <voss@lyx.org>
2122 * insetgraphics.C (figinsetRead): set the right lyxview
2124 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2126 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
2127 $\backslash$ and pass a "string const &" to the function.
2128 (prepareFile, latex): use Path rather than MakeAbsPath.
2130 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2132 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
2133 proper fix to the graphics cache.
2134 (latex): "really" nice output if the file is not found ;-)
2136 2002-03-26 Juergen Vigna <jug@sad.it>
2138 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
2139 (collapseParagraphs): fixed inserting of separator ' '
2141 * insettabular.C (insertAsciiString): only check for buffer lenght
2142 not if we have \t or \n inside the buffer as if we don't have we only
2143 have 1 cell and that's it!
2145 * insetert.C (close): don't collapse if inlined.
2147 2002-03-25 Herbert Voss <voss@lyx.org>
2149 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
2150 graphics file does not exist.
2152 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
2154 * insetgraphics.C (prepareFile): ensure that the file has an absolute
2155 path when preparing export.
2157 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
2158 no longer MakeRelPath.
2160 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2162 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
2163 Used to determine the absolute path to the graphics file in the
2164 graphics cache and only in the graphics cache.
2165 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
2166 make graphics file name absolute if it is stored as a relative path.
2168 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
2169 make graphics file name absolute if it is stored as a relative path.
2171 * insettext.C (edit): emit an updateParagraph signal on entering a text
2172 inset. Needs to be emitted when leaving the inset also.
2174 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2176 * all files: ws cleanup
2178 * Makefile.am: remove ld -r stuff
2180 2002-03-21 Juergen Vigna <jug@sad.it>
2182 * insettext.C (appendParagraphs): new function added to append
2183 the paragraphs to this insets paragraphs.
2185 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2187 * Makefile.am: special rules if partial linking
2189 2002-03-19 Juergen Vigna <jug@sad.it>
2191 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
2193 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
2195 * insetgraphics.C: Clean up Baruch's comments a little.
2196 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
2198 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
2201 * insettheorem.C: wrap warnings
2203 * insetgraphics.C: improve messages, move cached_status_
2204 setting to safer place
2206 2002-03-18 Juergen Vigna <jug@sad.it>
2208 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
2210 (localDispatch): ditto
2212 * insettext.C (edit): removed unneeded showCursor calls.
2213 (localDispatch): ditto.
2215 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2217 * insetgraphics.h: remove display() method.
2219 2002-03-11 Juergen Vigna <jug@sad.it>
2221 * insetgraphics.C (draw): hack to fix the redrawing bug.
2222 (draw): seems this fixes #268 (force redraw of row if we changed).
2224 * insettext.C (updateInsetInInset): fixed for updates in insets inside
2225 this inset text (don't know why I missed this earlier).
2227 2002-03-08 Juergen Vigna <jug@sad.it>
2229 * insettabular.C (updateLocal): do a FULL update if we're not locked
2230 and only a CELL update is asked.
2232 * insettext.C (updateInsetInInset): update insets inside inset also
2233 if it isn't inside the_locking_inset.
2235 * insettabular.C (updateInsetInInset): ditto.
2237 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2239 * insetexternal.C (doSubstitution): check whether we are using a
2240 temp dir for defining $$FPath
2242 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2245 * insettext.C: remove #include "WorkArea.h".
2247 2002-03-06 Juergen Vigna <jug@sad.it>
2249 * insettext.C (draw): fixed frame redrawing.
2250 (clear): forgot to set the inset_owner of the paragraph.
2252 * insetert.C (status): pay attention the bv can be 0 here!
2253 (getMaxWidth): add the default leftMargin
2255 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2257 * insetert.C (getMaxWidth): make w unsigned int.
2259 2002-03-05 Juergen Vigna <jug@sad.it>
2261 * insetert.C (status): change behaviour of Inlined.
2262 (getMaxWidth): added for new inlined behaviour.
2264 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2266 * insetnote.h (linuxdoc, docbook): add empty methods.
2267 * insetinclude.C (validate): fix a case where buffer->niceFile was used
2268 before being initialized.
2270 2002-03-05 Juergen Vigna <jug@sad.it>
2272 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
2273 only that one in the inset. Should be enough.
2274 (updateLocal): set the selection cursor always if we don't have a
2275 selection to be sure it's set!
2277 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
2279 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2281 * insettext.C (clear): a gross hack to set layout on a newly
2284 2002-03-04 Juergen Vigna <jug@sad.it>
2286 * insettabular.C (localDispatch): inserted handling of
2287 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
2288 (insertAsciiString): new helper function.
2290 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2292 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
2295 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2297 * insettext.C (InsetText): initalize newly created par with
2298 default layout. add bufferparams parameter
2301 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
2302 * insetcollapsable.[Ch] (InsetCollapsable): ditto
2303 * insetert.[Ch] (InsetERT): ditto
2304 * insetfloat.[Ch] (InsetFloat): ditto
2305 * insetfoot.[Ch] (InsetFoot): ditto
2306 * insetfootlike.[Ch] (InsetFootLike): ditto
2307 * insetmarginal.[Ch] (InsetMarginal): ditto
2308 * insetminipage.[Ch] (InsetMinipage): ditto
2309 * insetnote.[Ch] (InsetNote): ditto
2310 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
2312 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2314 * insettext.C: layout as string
2316 * insetinclude.C: layout as string
2318 * insetert.C: layout as string
2320 * insetbib.C: layout as string
2322 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2325 * insettabular.C: remove #include "lyx_gui_misc.h".
2327 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2332 * inset.h: remove figinset, yahoo !
2334 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2336 * insetgraphics.C (c-tors): initialise parent classes explicitly in
2337 copy c-tor and initialise member variables in the correct order.
2339 2002-02-28 Juergen Vigna <jug@sad.it>
2341 * insettabular.C (localDispatch): clear selection on PgUp/Down.
2343 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2345 * inset.h: ... and add a better one here.
2347 * insetcommand.C (insetButtonRelease): remove that one which was a
2350 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2352 * insetcommand.C (insetButtonRelease): ... and move it here.
2354 * inseturl.h: remove insetButtonRelease from there...
2356 2002-02-26 Juergen Vigna <jug@sad.it>
2358 * inseturl.h: Added a insetButtonRelease call returning true as
2361 * insetlabel.C (edit): Fixed wrong update handling after change I
2362 leave in the wrong code for the one who wrote it to remove and have
2363 a look what he did wrong.
2365 * insettabular.C (localDispatch): force a SELECTION update if we
2366 had a selection and we passed the event down to the inset (fix #213)
2367 (localDispatch): handle font changing stuff when we have a cell
2368 selection so that the selection is not rewoked. I don't really like
2369 this fix, but it's the only way I see to do it right now.
2371 2002-02-22 Juergen Vigna <jug@sad.it>
2373 * insettext.C (insetUnlock): set the cursor to the second paragraph
2374 if available and if the first one is empty (fix #191).
2376 2002-02-20 Juergen Vigna <jug@sad.it>
2378 * insettext.C (getDrawFont): implemented this function to call the
2379 one of the owner if present as the owner normally knows what to do
2382 * insetert.C: implement getDrawFont() function and comment out all
2383 the crap for setting a special latex font inside this inset.
2384 (InsetERT): added a Lanugage parameter to this constructor.
2386 * inset.h: added function getDrawFont(LyXFont & font) to be able to
2387 change the font for being drawn on screen (used only in InsetERT for
2390 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
2391 and also above (was missing).
2392 (updateLocal): don't remove the cell selection if we have one this
2393 should be done where we really want to remove it.
2395 2002-02-20 José Matos <jamatos@fep.up.pt>
2397 * insetinclude.h: include_label made string const.
2399 * insetinclude.C (InsetInclude): moved include_label initialization.
2402 (validate): fix support for temporary directory, for docbook and
2405 * insetgraphics.h : new private member, graphic_label, that holds
2406 the entity name that defines the graphics location (SGML).
2408 * insetgraphics.C (unique_id): new function to give a unique label
2411 (validate): the file locatation is given by an entity reference.
2413 2002-02-18 Herbert Voss <voss@lyx.org>
2415 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2417 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2419 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
2420 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2422 2002-02-18 José Matos <jamatos@fep.up.pt>
2424 * insetinclude.C (validate): some code only applies to latex buffers,
2425 it was made conditional.
2427 2002-02-12 Herbert Voss <voss@lyx.org>
2429 * insetgraphics.C: (prepareFile) do not check at this time
2430 if the file is present.
2432 2002-02-12 Herbert Voss <voss@lyx.org>
2434 * insetgraphics.C: latex(), return the correct newlines
2436 2002-02-13 José Matos <jamatos@fep.up.pt>
2438 * inseturl.C (docbook): escape & in url.
2440 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2442 * insetspecialchar.C (isLineSeparator): line breaking is allowed
2443 after HYPHENATION and MENU_SEPARATOR
2445 * inset.h (isLineSeparator): new method, returns false by default.
2447 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2449 * insetert.C (status): do not update the text inset, but the ERT
2452 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
2454 * insetnote.C: use notebg for background
2456 2002-02-08 Herbert Voss <voss@lyx.org>
2459 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2460 prevent LyX from unzipping when this should be handled
2461 by latex vis the graphic.cfg.
2464 2002-02-08 Herbert Voss <voss@lyx.org>
2466 * insetgraphic.C: prepareFile(): fix bug when file doesn't
2467 exists, than return filename with extension
2469 2002-02-06 Herbert Voss <voss@lyx.org>
2471 * insetgraphic.C: prepareFile(): don't convert the file, when
2472 it's not viewed in LyX. Saves a lot of time when opening a
2475 2002-02-05 Herbert Voss <voss@lyx.org>
2478 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2479 and adding a rotate bool similiar to subcaption
2481 2002-02-04 Herbert Voss <voss@lyx.org>
2484 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2485 similiar view to the LaTeX one. Get zipped files work.
2487 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2489 * insetgraphicsParams.C (init): set display to DEFAULT.
2490 No longer #include "lyxrc.h".
2492 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2494 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2495 for now (so that the code compiles).
2497 2002-02-02 Herbert Voss <voss@lyx.org>
2499 * insetgraphic.C: delete inVariant() and some minor changes
2500 * insetgraphicsParams.[C]:
2502 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
2504 * insetgraphics.C (updateInset): if params.display == DEFAULT,
2505 interogate lyxrc.display_graphics before diaplaying the graphic.
2507 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2508 InsetGraphicsParams::DisplayType.
2510 2002-01-31 Herbert Voss <voss@lyx.org>
2512 * insetgraphic.C: (readfigInset) set display to pref-default
2514 2002-01-30 Herbert Voss <voss@lyx.org>
2516 * insetgraphic.C: get the filetyp from it's contents
2517 * insetgraphicparams.C: add token scale and lyxrc.display when
2518 creating a new inset
2520 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
2522 * figinset.C: added using std::ios directive.
2524 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2526 * figinset.C (runqueue): open translation file in binary mode (for
2529 2002-01-27 Herbert Voss <voss@lyx.org>
2531 * insetgraphic.[Ch]: mostly newritten to support graphicx with
2532 all options and to be sure that the old figinsets are correct
2534 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2535 structure and to support all lengths as LyXLength. The Parameter
2536 structure changed again, but reading of "old" 1.2 graphic insets
2539 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
2541 * insetert.h (forceDefaultParagraphs): Added
2543 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2545 * insettabular.C (getMaxWidth):
2546 (forceDefaultParagraphs): use Tabular::GetCellFromInset
2548 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2550 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2551 of LyXLength::inPixels
2553 * inset.C (latexTextWidth):
2554 * insetminipage.C (latexTextWidth): new method, which implements
2555 the equivalent of the LaTeX macro \textwidth
2557 * insetminipage.C (getMaxWidth): use latexTextWidth
2559 2002-01-18 Juergen Vigna <jug@sad.it>
2561 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2563 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2565 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2567 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2570 2002-01-17 Juergen Vigna <jug@sad.it>
2572 * insettabular.C (lockInsetInInset): same change as in insettext.
2574 * insettext.C (draw): width() function was called without setting
2575 the right top_x which could lead to wrong insetWidth setting!
2576 (lockInsetInInset): call edit instead of calling lockInset if we
2577 have to lock an inset inside!
2578 (edit): we have to also tell the inset that we have to redraw the
2579 frame on an edit call if this inset draws a frame only if locked.
2581 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2583 * insetbib.C (getFiles): uncomment Path variable.
2585 2002-01-16 Juergen Vigna <jug@sad.it>
2587 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2590 2002-01-16 Allan Rae <rae@lyx.org>
2592 * insetinclude.C (docbook): someone forgot a ";"
2594 2002-01-16 José Matos <jamatos@fep.up.pt>
2596 * figinset.C (docbook): removed a old place holder "@".
2597 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2598 * insetinclude.C (linuxdoc): if include is verbatim, then export the
2599 ascii text version, clearly guarded inside a CDATA section.
2600 (docbook): in docbook 4, inlinegraphics is empty.
2601 * insettabular.C (linuxdoc): export the ascii version of the table
2602 inside a CDATA section.
2604 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2606 * insetparent.C (InsetParent):
2607 * insetgraphicsParams.C (Write):
2609 * insetgraphics.C (prepareFile):
2612 * insetexternal.C (executeCommand):
2613 (doSubstitution): use Buffer::filePath
2615 * insetbib.C (getFiles): add a #warning for Angus
2617 * insetgraphics.C: Add a remark about how filenames should be
2618 considered to be relative to buffer (but absolute is still allowed)
2619 (draw): do not try to get status if lyxrc.use_gui is false
2621 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2624 * insetcollapsable.[Ch]:
2625 * insettabular.[Ch] (searchForward, searchBackward): change the
2626 bool const & params to bool.
2628 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2629 to avoid the name clash with InsetCollapsable's methods of the same
2630 names but different functionality.
2632 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2634 * insettext.C (ascii): use lyx::count rather than countChar.
2636 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
2638 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2640 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2642 * insetgraphics.C (updateInset): do not try to render image if
2643 lyxrc.use_gui is false (bug #104)
2645 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2646 if file does not exist
2648 * figinset.C (browseFile): add shortcuts to directory buttons
2650 * insettext.C (updateLocal): update menubar and toolbar here too.
2652 2002-01-13 Allan Rae <rae@lyx.org>
2654 * insettabular.C (InsetTabular): Both constructors now initialise
2655 all class variables.
2657 2002-01-11 Juergen Vigna <jug@sad.it>
2659 * insettext.C (insetButtonPress): set the_locking_inset to 0.
2661 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2663 * insettabular.C (getStatus): add forgotten brace around multiline
2666 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2668 * insetfloat.C (validate): require "float" instead of "floats".
2670 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2672 * insettabular.C (getStatus): use FuncStatus
2674 2002-01-08 Juergen Vigna <jug@sad.it>
2676 * insettabular.C (insetButtonRelease): now this should work too
2679 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2680 if the width is a percentage.
2682 * inset.h: added isChar() function and implemented this for
2683 insetspecialchar insetquotes and insetlatexaccent.
2684 added forceDefaultParagraphs() and implemented it for insettabular.
2686 2002-01-07 Juergen Vigna <jug@sad.it>
2688 * insettext.C (getLyXText): Fixed this function. An insert into the
2689 map is only done if we REALLY have a new BufferView.
2691 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
2693 * insettext.C: fix bug illustrated by attachment #37 of bug #59
2695 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2697 * insetinclude.C: fix use of FileInfo
2699 2002-01-07 Juergen Vigna <jug@sad.it>
2701 * insettabular.C (draw): fixed clearing of cell around inset.
2703 2002-01-05 Juergen Vigna <jug@sad.it>
2705 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2706 variables are updated.
2708 * insettabular.C (resetPos): set always the inset_y as it may be
2709 needed in another function.
2710 (searchBackward): don't draw while searching.
2712 2002-01-04 Juergen Vigna <jug@sad.it>
2714 * insettext.C (lockInsetInInset): forgot to set a cursor.
2716 2002-01-02 Juergen Vigna <jug@sad.it>
2718 * insettext.C (insertInset): make the correct undo informations on
2719 inserting new insets.
2721 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
2723 * insettabular.C: correct single-cell select vertically
2725 2001-12-27 Juergen Vigna <jug@sad.it>
2727 * insettabular.C (ascii): export as tab-separated-values if the
2728 function was not called from export (f.ex.: clipboard).
2730 * insetcollapsable.h: added default support for ascii, linuxdoc and
2731 docbook export (the insettext is exported by default!)
2733 * insettabular.C (copySelection): suff the clipboard with the tabular
2734 data in a tab separated format, seems more naturals then with all the
2737 2001-12-24 Juergen Vigna <jug@sad.it>
2739 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2740 to check for REAL mouseMotion.
2742 2001-12-20 Juergen Vigna <jug@sad.it>
2744 * inset.C (cursor): return the owners cursor if available instead of
2745 always only the bv->text->cursor.
2747 * insettabular.C (checkLongtableSpecial): works now.
2749 2001-12-19 Juergen Vigna <jug@sad.it>
2751 * insettabular.C (tabularFeatures): fix the row setting of ltt as
2752 this has to be always row + 1 as 0 means not selected!
2753 (checkLongtableSpecial): added
2754 (tabularFeatures): better longtable options support
2756 * insettext.C (resizeLyXText): reinit the text always also on a
2759 2001-12-18 Juergen Vigna <jug@sad.it>
2761 * insettext.C (updateInsetInInset): look if we have to autocollapse
2762 paragraps and return if the update is requested for ourself.
2764 * insetert.C (status): update the insettext not myself as that is what
2767 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2768 function only return if the update was requested with myself.
2770 * insettext.C (insetButtonPress): fixed stupid bug.
2771 (various functions): pay attention that lt is cleared BEFORE calling
2772 updateLocal() and try to use it in the right manner (don't use it
2773 if it's not really neccessary!)
2774 (collapseParagraphs): insert a blank between collapsing paragraphs
2775 if neccessary (not already there!).
2777 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2779 * insettabular.C: move includes around a bit, add a couple of
2782 * insettext.[Ch]: move includes around a bit, other ws changes and
2785 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2787 * insettext.C (insetButtonRelease): fix compile problem
2789 2001-12-17 Juergen Vigna <jug@sad.it>
2791 * insettext.C (insetButtonPress): set the selection cursor!
2792 (insetButtonPress): clear the selection (and set with that the
2793 selection.cursor) if we only hit an inset!
2795 * insetert.C (read): removed piece of compatibility code only needed
2798 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2801 * insetcollapsable.C (insetButtonRelease): changed so that it can
2802 open eventual existing popup dialogs on mousebutton==3.
2804 * insetfloat.C (insetButtonRelease): removed not needed anymore!
2806 * insetminipage.C (insetButtonRelease): removed not needed anymore!
2808 * inset.C (insetButtonRelease): return a bool for telling the outer
2809 world that we opened a dialog.
2811 2001-12-07 Juergen Vigna <jug@sad.it>
2813 * insettext.C (paragraph): remove the deleteing of paragraphs as
2814 it was a WRONG move!
2816 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2819 * insettabular.C: use new setSelection(). Allow
2820 selection of single cells.
2822 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2824 * insetquotes.C (latex): fix to use the local language setting at
2825 the point where the inset is inserted (different macros for
2826 different french packages)
2828 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2830 * inset.h: add par_owner_ member variable and parOwner
2833 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2835 * insettabular.C (everywhere): adapt because widths are now real
2836 widths and not strings
2838 * insettext.C (draw): re-introduce the calls to width(), ascent()
2839 and descent() to initialize the caching variables.
2841 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2843 * insettext.C (draw):
2844 (drawFrame): use insetWidth instead of last_width
2846 * insettext.h: remove variable last_width (insetWidth is exactly
2847 the same) and last_height (computed but never used!)
2849 2001-12-10 Allan Rae <rae@lyx.org>
2851 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2853 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2855 * insettext.C (insetAllowed): add comment
2857 2001-12-05 Juergen Vigna <jug@sad.it>
2859 * insettext.C (insetAllowed): fixed for the case that we directly
2860 ask the insettext from its LyXText.
2861 (paragraph): fixed the crash when assigning the par->next() from
2862 the EmptyParagraphMechanism!
2864 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2868 * insettext.C: change "while(" to "while ("
2870 2001-12-04 Juergen Vigna <jug@sad.it>
2872 * insetert.C (edit): handle Inlined status.
2874 * insettext.C (insertInset): trying John's fix for the trailing cursor
2876 * insetert.C (insetButtonPress): added to handle inlined status
2877 (insetMotionNotify): ditto.
2879 * insettext.C (clearInset): changed Painter & in BufferView * param,
2880 to be able to call ascent,descent methods.
2882 2001-12-03 Juergen Vigna <jug@sad.it>
2884 * insettext.C (updateInsetInInset): use lt variable to forbid
2885 changes of LyXText in an update call.
2886 (updateInsetInInset): fixed updating of non locked insets!
2888 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2890 * insettabular.C: capture some more functions to prevent
2891 selection drawing problems. Bug #451274
2893 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2896 * insetgraphicsParams.C: fix inverted sense of float_equal
2898 2001-11-30 Juergen Vigna <jug@sad.it>
2900 * insettabular.C (InsetTabular): use the save_id flag to create also
2901 the tabular with the same id's.
2903 * insettext.C (setParagraphData): added a same_id function for undo
2904 to set the same paragraph id's as of the paragraph we are setting.
2906 2001-11-30 José Matos <jamatos@fep.up.pt>
2909 * insettoc.[Ch]: DocBook -> docbook.
2911 2001-11-29 André Pönitz <poenitz@gmx.net>
2914 * insettext.C: further reduction of header dependencies by using
2915 lyx::layout_type and lyx::textclass_type from support/types.h
2917 2001-11-29 Juergen Vigna <jug@sad.it>
2919 * insettext.C: inserted a reinitLyXText function everywhere I delete
2920 the paragraphs! This should fixe the crashes we had.
2921 Also use the new function firstRow() instead of getRowNearY(dummy_y)
2922 (paragraph): set the InsetOwner() of the new paragraphs!
2924 2001-11-28 André Pönitz <poenitz@gmx.net>
2926 * insetnote.C: add pos initialization that I removed without
2929 2001-11-28 Juergen Vigna <jug@sad.it>
2931 * insettabular.C (resetPos): hack to not crash with infinite paints.
2933 * insettabular.h: insert missing function allowSpellcheck()!
2935 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2937 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2940 * insetfloatlist.C: derive from InsetCommand so gui can use it
2943 2001-11-26 André Pönitz <poenitz@gmx.net>
2947 * insetnote.C: reduce header dependencies, introduce type for
2950 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2952 * various: update for Alert.h
2954 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2956 * inset.h: fix comment
2958 * insettext.C: use par->isInset()
2960 2001-11-22 Allan Rae <rae@lyx.org>
2962 * insetcollapsable.h:
2963 * inset.h: Changes to checkInsertChar() behaviour.
2964 Now return value indicates whether chars can be inserted.
2966 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
2968 * various: updated to use the new LaTeXFeatures
2970 2001-11-14 José Matos <jamatos@fep.up.pt>
2972 * insetspecialchar.C (linuxdoc):
2973 (docbook): don't give a name to a unused variable.
2975 * insettext.C (docbook): removed unused variable.
2977 2001-11-13 Herbert Voss <voss@perce.de>
2979 * insetgraphic.C: fix scale bug
2981 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2983 * inset.h (isSpace):
2984 (isLetter): new virtual methods.
2986 * insetspecialchar.C (isSpace):
2987 (isLetter): implement here.
2989 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2991 * inset.h: new inline helpers
2993 * insettext.C: use new helpers
2995 2001-11-07 José Matos <jamatos@fep.up.pt>
2997 * insettext.C (docbook): full support for paragraphs inside insettext.
2999 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
3001 * insetindex.C: added header file for std::ostream.
3003 2001-11-03 José Matos <jamatos@fep.up.pt>
3005 * insetindex.C: added using std::ostream that I forgot yesterday.
3007 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
3009 * insetindex.h (docbook):
3010 * insetindex.C (docbook): added support for docbook export.
3012 2001-11-02 José Matos <jamatos@fep.up.pt>
3014 * insetcaption.C(docbook): added support for docbook export.
3016 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
3018 * insetexternal.C (updateExternal): Do not run update command if
3019 result file exists and is up to date.
3021 * ExternalTemplate.C (readFormat): Support the updateresult token.
3023 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
3025 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
3026 external_templates) to use the buffer->fileName() but only if
3027 previewing. Generating a TeX file should make FPath return
3030 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
3033 * insetert.C: fix some problems
3035 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
3037 * insetexternal.C (doSubstitution): Added $$FPath token
3038 to list of usable substitutions in external inset templates.
3040 2001-10-24 Juergen Vigna <jug@sad.it>
3042 * insettabular.C: use new ltType struct for setting longtable
3043 header and footers also new UNSET enums.
3045 2001-10-24 José Matos <jamatos@fep.up.pt>
3047 * insettabular.C (linuxdoc): Now exports the ascii's table version.
3048 (docbook): If the table is not inside a float then wrap it inside
3049 <informaltable>...</informaltable>.
3051 2001-10-23 José Matos <jamatos@fep.up.pt>
3053 * insetref.C (docbook): removed / terminator to conform SGML.
3055 * insetspecialchar.C (linuxdoc):
3056 (docbook): Added support for special chars, more than ascii export.
3058 2001-10-22 Juergen Vigna <jug@sad.it>
3060 * insettext.C (checkInsertChar): added for REALLY checking the
3061 font of the inserted char in the right inset!
3063 2001-10-19 Juergen Vigna <jug@sad.it>
3065 * inset.h: added method allowSpellcheck() so that insets who do
3066 not have anything to spellcheck can tell and so they are over-jumped.
3067 Implemented for InsetText and co.
3069 2001-10-18 Juergen Vigna <jug@sad.it>
3071 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
3073 2001-10-15 José Matos <jamatos@fep.up.pt>
3075 * insetert.C: allow export for docbook and linuxdoc
3077 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3079 * insetquotes.C (dispString): handles latin3 and latin4 quotes
3081 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3083 * insetquotes.C (dispString): fix handling of latin9 quotes
3085 2001-10-03 Juergen Vigna <jug@sad.it>
3089 * insetcollapsable.C: change updateInset calls to not tell BV that
3090 we have changed status.
3092 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3094 * insettabular.C (deletable): make const
3096 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
3098 * insetert.C (latex): Fix the returned value
3100 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
3102 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
3103 Returns string(), so nothing in an ERT inset is spellchecked.
3105 * insetgraphics.C (draw): print the filename if not displaying the
3107 (width): make sure that the width and draw methods are consistent.
3108 (updateInset): don't even load the image into cache if not displaying
3111 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
3113 * various files (selectNextWord): renamed as
3114 selectNextWordToSpellcheck.
3116 * insetgraphics.C (draw): remove the previous change. Right place
3117 is in imageLoaderXPM.C.
3118 (draw): don't display the image if params.display == NONE.
3120 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
3122 * figinset.C (runqueue):
3123 * insetgraphics.C (draw): set background colour of inset from
3124 background to the user-configurable graphicsbg.
3126 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3128 * insetquotes.C (InsetQuotes): when trying to decide the side of
3129 the quote, choose `left' only after a space or '('
3131 2001-09-04 José Matos <jamatos@fep.up.pt>
3136 * insetcollapsable.h
3154 * insetlatexaccent.C
3155 * insetlatexaccent.h
3160 * insetspecialchar.C
3161 * insetspecialchar.h
3165 * insettext.C (docbook): rename docBook method to docbook.
3167 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
3169 * inset.h (getFirstParagraph): New virtual method.
3171 2001-08-20 Herbert Voss <voss@perce.de>
3172 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
3173 in the the bibtex-database-gui for inserting a line
3176 If no style is given than there is no tex-output.
3178 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
3180 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
3184 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
3186 * insetert.C (latex): Fix output for multiple paragraphs.
3187 (write): New code for writing paragraph data.
3188 (read): Set font after reading the inset.
3189 (localDispatch): Call set_latex_font() for more cases.
3191 * insetnote.h: Add empty validate method.
3194 * insetnote.C (InsetNote): Set language to the language of the
3197 2001-08-16 Juergen Vigna <jug@sad.it>
3199 * insettext.C: implemented the new FINISHED states.
3201 * insettabular.C: ditto
3203 * inset.h: added more FINISHED states for cursor right,up,down
3205 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3207 * insetfloatlist.C: use "FloatName List"
3209 2001-08-14 Juergen Vigna <jug@sad.it>
3211 * insetert.C (edit): forgot to set status_ in edit calls!
3213 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
3215 * insettext.C: Compilation fix
3217 2001-08-13 Juergen Vigna <jug@sad.it>
3219 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
3221 * insetcollapsable.C (edit): don't recollapse an already open inset.
3223 * insettext.C: fixed problem when reinitializing LyXText by not doing
3224 it while lt is in use and post this to the next possible time in
3226 (searchForward): fixed not unlocking of inset if nothing found.
3227 (edit): set cursor behind right (was set -1 pos).
3229 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
3231 * insettabular.C (tabularFeatures): fixed fix where deleting the
3232 last row didn't get the right actcell!
3234 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
3236 * insettext.C (localDispatch): Change language only when the inset
3239 2001-08-10 Juergen Vigna <jug@sad.it>
3241 * insettabular.C (selectNextWordInt): use the front using edit call.
3243 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
3244 the parameter overwrite class variable inset.
3246 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
3248 * insettext.C (saveLyXTextState): check for invalid cursor-par.
3249 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
3251 * insettabular.C (calculate_dimensions_of_cells): let's try to call
3252 update only for fixed with cells.
3253 (resetPos): try to fix the lockup on spellchecking or s&r.
3255 * insettext.C (update): comment this out as it seems first wrong
3256 and second not needed anymore!
3257 (some functions): call reinitLyXText() only in update() in all other
3258 positions set only need_update = INIT.
3260 2001-08-08 Juergen Vigna <jug@sad.it>
3262 * insettabular.C (setPos): fixed wrong actrow < rows() check.
3264 * insettext.C (insetUnlock): remove double-space on inset unlock.
3266 * insetcollapsable.C (draw): fix returned x when label > inset-width.
3268 * insettabular.C (update): fixed cursor positon after an insert.
3269 (insetAllowed): do not allow to insert insets when not inside the
3271 (draw): clear below an inset too as it could have changed height.
3273 * inset.C (getMaxWidth): fixed width for inset in inset.
3275 * insettext.C (update): small fix.
3277 * insettabular.C (tabularFeatures): added selection support to
3278 DELETE_ROW/DELETE_COLUMN.
3280 2001-08-07 Juergen Vigna <jug@sad.it>
3282 * inset.C (getMaxWidth): recoded and all it's implementations!
3284 * insettext.C (init,setParagraph+constructors): cleanups
3285 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
3286 are new and I want do a save/restore of the cursor position which is
3287 not possible anymore.
3289 * insetcollapsable.C (searchBackward): recollapse inset if not found.
3290 (searchBackward): ditto
3291 (selectNextWord): ditto
3293 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
3295 * insetlatexaccent.C (checkContents): Add some debug messages
3297 2001-08-07 Juergen Vigna <jug@sad.it>
3299 * insetert.C (read): don't use InsetCollapsable::read as we don't
3300 write the collapsed status anymore only the status.
3303 2001-08-06 Juergen Vigna <jug@sad.it>
3305 * insetert.C (set_latex_font): use LyXText's setFont directly.
3307 * insettext.C (drawFrame): fixed one time more the right position
3308 and size of the frame!
3310 * insetert.C (~InsetERT): hide the dialog.
3311 (showInsetDialog): added implementation
3314 (status): new function for the status of the ERT inset (3-state).
3315 (write): output also the status of the inset for readback!
3316 (read): readback the status if available otherwise use collapsed_.
3318 * insettext.C (edit): small fix of setting the position, which could
3321 * insetert.C (width): implement this function for inlined viewing.
3322 Added minimum width of 10 pixels!
3324 * insetminipage.C (InsetMinipage): just change the colors a bit so
3325 that border/background is a bit more visible. We will remove this
3328 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
3329 function for getting the important widths for drawing in various
3330 functions and in LyXText.
3331 (draw): fixed up a bit (frame drawing/clearing)
3333 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3335 * inset.C (convertFont): delete method. not used.
3337 2001-08-03 Juergen Vigna <jug@sad.it>
3339 * insettext.C (setFont): don't call for a draw update if we're just
3340 changing the cursor font!
3342 2001-08-02 Juergen Vigna <jug@sad.it>
3344 * insettext.C (draw): clear the background with the right color if
3345 needed. Update myself if x&max-width changed and return without doing
3346 anything. Let the update code handle the right stuff.
3348 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
3349 inside another inset.
3351 2001-08-01 Juergen Vigna <jug@sad.it>
3353 * insetcollapsable.C (update): added an in_update bool so we avoid
3356 * insettabular.C (update): added an in_update bool so we avoid
3359 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
3361 (update): added an in_update bool so we avoid reentering.
3363 * insettabular.C (localDispatch): clear col/row selection when doing
3364 something else inside an inset.
3366 * insettext.C (getLyXText): fixed bug when requesting a recursive
3369 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
3371 * insetcite.C (latex): Paranoia check. Make sure that there is no
3372 whitespace between the citation keys.
3374 2001-07-31 Juergen Vigna <jug@sad.it>
3376 * inset.h (nodraw): make the set function also const so that this
3377 can be called from inside other const functions.
3379 * insetcollapsable.h: removed inline variable and moved it over
3380 to the only user InsetERT.
3382 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
3383 inset opening immediately therein lying insets dialogs!
3385 * insetert.C (localDispatch): set the font also if we don't have any
3386 chars in this paragraph, otherwise if we delete all of em and start
3387 writing we have the wrong font.
3389 (draw): implemented for inline support
3390 (insetButtonRelease): ditto.
3392 2001-07-30 Juergen Vigna <jug@sad.it>
3394 * insettext.C (reinitLyXText): new function to reinit the insets
3395 text after lot's of paragraph changes. Use this instead of the
3396 cache.clear() which is VERY dangerous.
3398 * insetfloat.C (insetButtonRelease): we should only show the dialog
3399 if we press on the label otherwise we have problems to open mouse
3400 button 3 dialogs inside this float (f.ex. of a tabular!)
3402 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3404 * insetert.C: change back to "ERT"
3406 * insetfloat.C: handliign of RMB on label added.
3408 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3410 * insetgraphicsParams.C: #include LOstream.h here.
3412 * insetfoot.h: remove InsetFoot:: qualifier.
3414 2001-07-29 Baruch Even <baruch@lyx.org>
3416 * ChangeLog: Hiding time travel evidence.
3418 * insetgraphicsParams.h:
3419 * insetgraphicsParams.C:
3420 * insetgraphics.C: Added horizontal scale option, it actually scales both
3421 directions since it keeps image proportions.
3423 * insetgraphics.C: Fixed EPS detection to be non-hacky.
3425 2001-07-29 Baruch Even <baruch@lyx.org>
3427 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
3428 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
3430 HACKY! Will need to add an EPS detection routine like old InsetFig does!
3432 2001-07-29 Baruch Even <baruch@lyx.org>
3434 * insetgraphics.C: Added EPSI to be an alias of EPS.
3436 2001-07-29 Baruch Even <baruch@lyx.org>
3438 * insetgraphics.C: Change GRAPHICS to Graphics.
3439 Changed image conversion rules (documented at the beginning of file).
3441 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
3443 * insetert.C (get_new_label): int -> Paragraph::size_type to get
3446 * insetgraphics.C: added a using std::endl directive.
3448 * insetcommand.h (getScreenLabel): removed pure virtual function,
3449 as it duplicates that in InsetButton.
3451 * insetbib.[Ch] (getScreenLabel):
3452 * insetbutton.[Ch] (getScreenLabel):
3453 * insetcite.[Ch] (getScreenLabel):
3454 * insetert.[Ch] (getScreenLabel):
3455 * insetexternal.[Ch] (getScreenLabel):
3456 * insetfloatlist.[Ch] (getScreenLabel):
3457 * insetinclude.[Ch] (getScreenLabel):
3458 * insetindex.[Ch] (getScreenLabel):
3459 * insetlabel.h (getScreenLabel):
3460 * insetparent.[Ch] (getScreenLabel):
3461 * insetref.[Ch] (getScreenLabel):
3462 * insettoc.[Ch] (getScreenLabel):
3463 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3465 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3467 (validate): remove check on "cite" when using natbib.
3469 2001-07-26 Baruch Even <baruch@lyx.org>
3471 * insetgraphics.C (draw): changed casting to be in one place rather than
3472 all over the function.
3475 * insetgraphics.C (read): Added compatibility reads of InsetFig.
3477 * insetgraphicsParams.h:
3478 * insetgraphicsParams.C:
3479 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3481 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3483 * insetfoot.C (validate): Added method to ensure that the
3484 right bit of LaTeX is emitted.
3486 * insetfoot.h: Added validate method to set the correct
3487 LaTeXFeatures bit for the special footnote code.
3489 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3491 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3494 2001-07-27 Juergen Vigna <jug@sad.it>
3496 * inset.h: remove not used font variable in parameter.
3497 removed checkInsertChar in UpdatableInset as it was equal to
3498 the one in Inset and so not needed.
3500 * insetert.C (checkInsertChar): implementation of function
3503 * inset.h: added new function checkInsertChar.
3505 * various files: added c-tor and clone() function.
3507 * insetcollapsable.h: removed clone function here as this should
3508 be only realized in REAL insets and added it to all collapsable
3509 insets! (with the copy-constructor).
3511 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3513 * insetminipage.C (read): handle missing parameters more gracefully
3515 * insetcollapsable.C (read): handel missing collapsed more gracefully
3517 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3519 * insetfloat.C (read): handle missing parameters.
3521 * insettext.C (read): handle old latex end_inset
3523 * insetert.C (setButtonLabel): new method
3524 (init): use it, to set the dynamic label correctly
3527 * Makefile.am (EXTRA_DIST): add files that is not part or the
3530 * insetcollapsable.h: remove autocollapsable (no users), remove
3531 draw_label, change_label_with_text and companion code. Remove args
3533 * insetert.[Ch]: move here instead (only user)
3535 * inset.h: rename private variable name to name_, make
3536 selectNextWord return a const string. make getInsetName return a
3537 string const &. Remove bool from open, add close.
3539 * Makefile.am: don't compile insetlist, insetsection
3542 2001-07-24 Juergen Vigna <jug@sad.it>
3544 * insetert.C (InsetERT): put init after the paragraph initialization,
3545 as otherwise we don't set the draw_label right.
3547 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3548 insets with the mouse without having strange selections.
3549 (edit): if the inset was collapsed and we open it here then put the
3550 cursor always at the beginning of the inset.
3551 (get_new_label): 15 instead of 10 max chars in the label.
3553 * insetert.C (localDispatch): added and handle various stuff we
3554 need to handle here (font setting on paragraph break, not permitted
3555 layout setting, etc.).
3557 * inset.h: added default copy-consturctor and implemented this in
3558 various insets with the change to use this in the clone function!
3560 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3562 * insetminipage.C (InsetMinipage): set background color to red :)
3564 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3566 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3567 draw frame mode is LOCKED.
3569 * insetcollapsable.C (edit):
3570 (insetButtonRelease): set update status to full when
3573 * insettext.C (clearInset):
3574 * insettabular.C (draw):
3575 * insetlatexaccent.C (draw): honor background color.
3577 * inset.h: new member background_color_, initialized to
3580 * inset.C (backgroundColor): new method.
3581 (setBackgroundColor): new method.
3583 * insetert.C (init): new method, called by the ctors.
3584 (InsetERT): when inserting contents, make sure the font is
3587 * insetnote.C (InsetNote): when inserting content, remove trailing
3589 (init): set background color to LColor::note
3591 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3593 * insetcollapsable.C: adjust
3595 * insetbutton.C: adjust
3597 2001-07-23 Juergen Vigna <jug@sad.it>
3599 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3600 parameter on the _collapsed function (was not needed) and call
3601 always width_collapsed().
3603 * insetert.C (InsetERT): use setLabel with "true" flag.
3605 * insetcollapsable.C: modified various functions to set the draw_label
3606 string right in any condition.
3607 (setLabel): added a bool parameter to set change_label_with_text.
3609 * insetcollapsable.h: added draw_label string which is set to the
3610 actual drawn label-string, while label is the original static label
3611 of this collapsable inset. Added bool change_label_with_text to set
3612 if we want that the label changes to the start of the InsetText's
3613 text when collabpsed. You can set this flag with the setLabel funciton.
3614 Added bool inlined for inlined collapsable insets, but not handled
3617 * insetcollapsable.C (get_new_label): added should get a new label
3618 from the InsetText beginning (for now 10 chars).
3620 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3622 * insetquotes.C (latex): fix the handling of french double quotes
3623 when not using the french pachage.
3625 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3627 * insetcollapsable.h: make WidthCollapsed mutable.
3629 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3630 InsetPrintIndex returns INDEX_PRINT_CODE.
3632 * inset.h: add INDEX_PRINT_CODE
3634 * insetcollapsable.C (draw): init widthCollapsed if necessary
3637 * insetquotes.C (width): use the local language, not the document
3640 (dispString): add additional spacing for all french languages,
3642 (validate): make it work when there is no default language
3644 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3646 * insetnote.C (init): new method, called by the constructors
3647 (InsetNote): new constructor with contents passed as a string
3649 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3651 * insetfootlike.C (insetAllowed): disallow float in footlike.
3653 * insetert.C (InsetERT): add collapsed argument to the constrctor
3656 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3658 * insetindex.h: shut off warning
3660 2001-07-20 Juergen Vigna <jug@sad.it>
3662 * insetcollapsable.C (update): recoded hopefully works now!
3664 2001-07-19 Juergen Vigna <jug@sad.it>
3666 * most files: implemented the below new introduced function.
3668 * inset.h: added new edit(BufferView *, bool front) method to be able
3669 to enter an inset from the front/back without knowing x/y positions
3670 and baselines inside the inset. So I just can tell the inset activate
3671 me and set the cursor on the front/back of yourself.
3673 2001-07-18 Juergen Vigna <jug@sad.it>
3675 * insetcollapsable.C (edit): fixed hopefully the y parameter which
3676 is given to the InsetText.
3677 (insetButtonPress): ditto
3678 (insetButtonRelease): ditto
3679 (insetMotionNotify): ditto
3681 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3683 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3684 LIGATURE_BREAK, since the name is so stupid.
3686 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3688 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3689 the default InsetCollapsable methods. I.e., it can insert anything.
3690 (write) output the name of the inset, not some silly hack for
3691 compatability with the old InsetInfo.
3693 * insetinfo.[Ch]: removed.
3694 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3695 now collapsable, but functionality is otherwise identical to InsetInfo.
3697 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3699 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3701 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3704 * insetquotes.C: general cleanup
3705 (dispString): add spaces inside french double quotes.
3706 (latex): ditto. Moreover, treat first the case where the frenchb
3707 or french options have been given.
3709 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3711 * insetcite.[Ch] (latex, validate): new methods, required for natbib
3714 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
3716 * figinset.C (RegisterFigure): Print debug message only when
3717 current_view is available.
3719 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3721 * many files: update to match the change below
3723 * inset.h (insetAllowed): renamed from insertInsetAllowed;
3724 implement the version which takes an inset here.
3726 * insetcollapsable.[Ch]: implement open and isOpen
3728 * inset.h: remove insertInsetAllowed from Inset
3729 (open): new method, to open or close an inset
3730 (isOpen): returns the status of an inset
3731 (isCollapsable, colapse): removed
3733 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3735 * insetquotes.C (dispString): display french guillemets when using
3738 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3740 * insetcollapsable.h: remove bogus return statements
3742 2001-07-18 Juergen Vigna <jug@sad.it>
3744 * insettabular.C (selectNextWord): fixed spellchecking for the
3745 first cell of a tabular (wasn't entered!)
3746 (getLyXText): changed to enter automatically insettext and return
3747 it's LyXText if we're locked.
3749 2001-07-17 Juergen Vigna <jug@sad.it>
3751 * various files: implemented the below functions.
3753 * inset.h: added functions
3754 - virtual string selectNextWord(BufferView *, float & value) const;
3755 - virtual void selectSelectedWord(BufferView *) { return; }
3756 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3757 needed for spellchecking correctly!
3759 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
3761 * insetert.C (latex): write out all paragraphs.
3763 2001-07-17 Baruch Even <baruch@lyx.org>
3765 * insetgraphics.C (draw): Removed unneeded casts.
3767 2001-07-16 Juergen Vigna <jug@sad.it>
3769 * insettext.C (update): fixed small oversight (reset lt to 0).
3771 2001-07-14 Baruch Even <baruch@lyx.org>
3774 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3776 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3778 Consistent use of Lsstream.h:
3779 * figinset.C: removed using std::ostringstream directive.
3781 * insetgraphics.C (createLatexOptions):
3782 * insetinclude.C (unique_id):
3783 std::ostringstream -> ostringstream.
3784 * insettext.C (localDispatch): std::istringstream -> istringstream.
3786 2001-07-13 Juergen Vigna <jug@sad.it>
3788 * insetfloat.C (insertInsetAllowed): added missing const_cast.
3790 * insetcollapsable.C (getLockingInset): ditto.
3792 2001-07-12 Juergen Vigna <jug@sad.it>
3794 * insetcollapsable.h: added implementation of new function for
3797 * various files: added implementation of new insertInsetAllowed-func
3798 and redone the function a bit more.
3800 * inset.h: added isCollapsable(), bool collapsed(),
3801 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3803 * insetfloat.C (insertInsetAllowed): make a bit more checks.
3805 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3806 LyXText which is marked for removal while we're using it!
3808 * insettext.h: added private LyXText * lt to use it to assure we are
3809 not deleting our LyXText while we're using it!
3811 2001-07-11 Juergen Vigna <jug@sad.it>
3813 * insettext.C (insertInset): check if we are before the inset after
3814 inserting it! This check IS needed. Remove the Undo-Call as it is
3815 called in LyXText::insertInset!
3817 * insettext.h: added struct InnerCache.
3819 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3820 that we ONLY delete the LyXText in the getLyXText() routine. So we
3821 are sure we don't delete LyXText while someone is working with it!
3823 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3825 * insetexternal.C: (*it). -> it->
3826 * insettext.C: ditto
3828 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3830 * insetcollapsable.C (edit): always open collapsed insets (even if
3831 they are not autocollapsable)
3833 * insetcommand.C (operator=): simplify.
3835 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3837 * insetert.C (latex): handle META_NEWLINE
3839 2001-07-09 Juergen Vigna <jug@sad.it>
3841 * insetert.h: a normal InsetText can insert insets, but we won't.
3843 * inset.h: return default "false" on insertInsetAllowed and implement
3844 this function where a returnvalue != "false" is needed.
3846 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3848 * insetert.C (InsetERT): new contructor
3850 2001-07-06 Juergen Vigna <jug@sad.it>
3852 * a lot of files: added implementation of the below new functions
3853 and the change to clone(). Also the call of the new undo-functions
3856 * inset.h: added an inset_id, added functions getParFromID,
3857 getInsetFromID, firstParagraph, cursor and id functions, added
3858 bool same_ids to clone function.
3860 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3862 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3863 of BufferView * and shared_ptr<LyXText>
3865 2001-07-05 Juergen Vigna <jug@sad.it>
3867 * insettext.C (clear): deleted also the cache not only LyXText.
3868 (setParagraphData): ditto.
3870 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3872 * insetfloat.C (latex): let the specific placement take presedence
3873 if set, otherwise choose document placement if set, otherwise just
3874 use float default placement.
3876 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3878 * insettext.C (localDispatch): call CutAndPaste::'s static method
3881 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3883 * insetbib.C: no meed to include forms.h here.
3885 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
3887 * insettext.C: added using std::make_pair directive.
3889 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3891 * insettext.C (getLyXText): avoid multiple lookups, and simplify
3893 (deleteLyXText): ditto
3894 (resizeLyXText): ditto
3896 2001-07-02 Juergen Vigna <jug@sad.it>
3898 * insettext.C (getLyXText): introduce a cache in getLyXText so that
3899 following calls are only returned the right pointer without the over
3900 head to search in the map.
3901 (various funcs): reset the cached_bview variable as this signs that
3902 the cache is not valid anymore.
3904 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3906 * insettabular.C (clone): do not copy the LyXTabular twice
3908 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3910 * insettext.h (TEXT): delete method
3912 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3914 * insetmarginal.C (latex):
3915 * insetfoot.C (latex): fix spacing of notes in LaTeX
3917 * insettext.C (localDispatch): use .c_str() on istringstream
3918 constructor argument.
3920 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3925 * inseturl.C: fix method names in these to begin
3926 with small char too, so they inherit
3928 2001-06-28 Juergen Vigna <jug@sad.it>
3930 * insettext.C (setFont): fixed font settings using toggleFree()
3931 instead of setFont().
3933 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3935 * Change a lot of method names to begin with a small char.
3936 Changes to a lot of files because of this.
3938 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3940 * insetfloatlist.C (Write): std:: qualify ostream
3943 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3947 * insetgraphics.C: send debug output to Debug::INFO instead of
3950 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3953 * insettabular.C (getStatus): update to use func_status
3955 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
3957 * insetref.C (DocBook): added support for cross-references without
3960 2001-06-26 The LyX Project <jug@sad.it>
3965 * insetlabel.h: removed escape method and moved it to
3968 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3970 * insettabular.C (getMaxWidth): do the speedup in a different way,
3973 2001-06-24 The LyX Project <Asger>
3975 * insettabular.C (getMaxWidth): We cache a mapping from
3976 inset to cell in order to speed this method up.
3978 2001-06-24 The LyX Project <Asger>
3980 * insettext.C: Optimized InsetText::draw or something.
3982 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
3984 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
3986 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3988 * inset.h: name change from lyxinset.h
3990 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
3992 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
3994 2001-06-14 Juergen Vigna <jug@sad.it>
3996 * insettext.C (draw): removed warnings.
3998 2001-06-13 Juergen Vigna <jug@sad.it>
4000 * insettabular.C (nodraw): only go down the tree if we don't have
4001 that flag set otherwise it's obvious that we don't want to draw.
4002 (LocalDispatch): do also an update if we have an undispached result.
4004 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
4007 * insetgraphicsParams.C:
4008 * insettext.C: removed // -*- C++ -*- as first line.
4010 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4012 * lyxinset.h (resizeLyXText): shut off warning about unused
4015 2001-06-07 Juergen Vigna <jug@sad.it>
4017 * insettext.C (resizeLyXText): honor the new force flag.
4019 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
4021 * insettabular.C (deleteLyXText): new function
4023 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4031 * insetcollapsable.C:
4032 * insetcaption.C: LColor tidy
4034 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4036 * figinset.C: fix typo
4038 2001-06-01 Juergen Vigna <jug@sad.it>
4040 * insettabular.C (resetPos): small hack so that scroll is not set to
4041 0 when we are in the last column of a tabular. This is a problem we
4042 have because of constats 20 offset on both directions, so this can
4043 cause on the limit an endless loop.
4045 * insettext.C (SetFont): forgot that we can have locking insets ;)
4047 2001-05-31 Juergen Vigna <jug@sad.it>
4049 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
4051 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4053 * figinset.C: add using std:: directive for the C functions which
4056 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
4058 * insetfloat.C (Write): write out wide info
4059 (Read): read the wide info
4060 (Latex): use the wide info when creating latex.
4062 * insettext.C: adjust
4064 * insetgraphics.[Ch] (statusMessage): change to return string
4068 * figinset.C (runqueue): add std::
4071 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4073 * insetcite.C (Ascii): add std:: qualifier
4075 2001-05-28 Juergen Vigna <jug@sad.it>
4077 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
4078 a endless-width inset (maxWidth < 0).
4079 (Edit): change language only if not equal.
4081 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
4083 * insettext.C (draw): fixed draw/clear of InsetText-Frame
4085 2001-05-16 Juergen Vigna <jug@sad.it>
4087 * insettext.C (selectAll): added
4088 (clearSelection): added
4090 * insettabular.C (SetFont): now we may set a font on a whole selection!
4091 (getSelection): added helper function.
4093 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
4095 * insetcite.C (Ascii): Add method.
4097 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
4100 * insetbib.C: fix path for OS/2 & Win32
4102 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4104 * insetfoot.C (Latex): don't use % after footnote.
4106 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4108 * insettext.C (Read): use clear
4109 (SetParagraphData): use LyXParagraph copy constructor instead of clone
4111 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4113 * insetfloatlist.h: add a bunch of std:: qualifiers.
4115 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4117 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
4118 FLOAT_LIST_CODE, renumber code list.
4120 * insettoc.C (getScreenLabel): remove support for float lists
4124 * insetfloatlist.[Ch]: new files
4126 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
4128 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
4130 * insettabular.C (LocalDispatch):
4131 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
4134 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4136 * insettext.C: remvoe !NEW_INSETS cruft
4138 * insettabular.C: remove !NEW_INSETS cruft
4140 * insetcollapsable.h: remove !NEW_INSETS cruft
4142 * insetbib.C: remove !NEW_INSETS cruft
4144 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4146 * insettoc.C: hack to make listof algorithm work
4148 2001-04-20 Juergen Vigna <jug@sad.it>
4150 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
4152 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4154 * insetquotes.C (Latex): improve the guard against
4155 unwanted !` and ?` ligatures. This should really be done in
4156 another place (to catch all this ligatures at low-level).
4158 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4160 * insettext.C (init): remvoe leftovers from cursor_visible change
4161 (draw): use c++ cast
4162 (LocalDispatch): dispatch LFUN_MESSAGE
4164 * insettabular.C (InsetTabular): remove leftovers from
4165 cursor_visible, and scoped_ptr changes
4166 (draw): use c++ cast
4168 * insetcollapsable.C (draw): use c++ cast
4170 * ExternalTemplate.h: inherit privaely from noncopyable
4171 * insetcommand.h: ditto
4172 * insetinclude.h: ditto
4174 2001-04-16 Allan Rae <rae@lyx.org>
4176 * insettoc.C (Ascii):
4177 * insettext.C (draw):
4178 * insettabular.C (setPos):
4179 * insetminipage.C (Read):
4180 * insetfloat.C (placement):
4181 * insetcaption.C (Ascii, DocBook):
4182 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
4183 an unrecognised preprocessor directive. So ensure they're wrapped.
4185 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
4188 * insetexternal.C: set view on Clone. Add _ to private members.
4190 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4192 * insettext.C (InsetText): fix new
4193 (InsetText): reindent some, simplify deletion of par list
4194 (clear): simplify deletion of par list, fix new
4195 (SetParagraphData): simplify deletion of par list
4197 * insettabular.[Ch] (getLabelList): implement new method
4199 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4201 * lyxinset.h: do not include gettext.h...
4209 * insetlatexaccent.C:
4213 * inseturl.C: ... and do it here instead
4215 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4217 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
4219 * insettext.[Ch] (getLabelList): add std:: on vector<string>
4221 * insetcollapsable.[Ch] (getLabelList): implement
4223 * insettext.[Ch] (getLabelList): implement
4225 * insettext.h: reindent
4227 * insettabular.h: make tabular a scoped_ptr
4229 * insettext.C (init): adjust for cursor_visible
4230 (ToggleInsetCursor): constify asc and desc, font, adjust for
4232 (ShowInsetCursor): constify asc and desc, font, adjust for
4234 (HideInsetCursor): adjust for cursor_visible
4236 * insettabular.C: reindent some
4237 (InsetTabular): adjust for scoped_ptr and cursor_visible
4238 (InsetTabular): ditto
4239 (~InsetTabular): delete delete
4240 (Clone): adjust for scoped_ptr
4241 (Read): constify old_format, adjust for scoped_ptr, move init of
4243 (draw): constify tx, localize loop vars.
4244 some other localization of variables, remove double initilizatons.
4246 * insetfoot.C: remove using std::ostream, add ostream where needed
4248 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4250 * lyxinset.h: some reindentaion, use initializer list for
4252 UpdatableInset: make cursor_visible a private var add
4253 public isCursorVisible(), add protected toggleCursorVisible() and
4254 proctected setCursorVisible(bool), make scroll call the Inset::scroll
4256 * insettoc.C: remvoe using decl
4257 (getScreenLabel): make cmdname donst
4260 (Ascii): don't use endl
4262 * insetfootlike.C: remove using decl at file scope and add std::
4264 * insetmarginal.C: ditto
4266 * insetfoot.C: some reformatting
4268 * insetfloat.C (InsetButtonRelease): adjust the hit area
4270 * insetert.C (SetFont): some reformatting
4272 * insetcollapsable.C: some reformatting and constification
4273 (Clone): comment out.
4274 * insetcollapsable.h: some reformatting
4275 (Clone): comment out.
4280 2001-03-30 Juergen Vigna <jug@sad.it>
4282 * insetcollapsable.h: changen *inset to be a InsetText inset.
4284 * some files: changed to reflect the above change.
4286 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
4288 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
4289 InsetExternal::Params.
4290 Added operator==() and operator!=() for the Params struct.
4292 2001-03-29 Juergen Vigna <jug@sad.it>
4294 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
4297 * insetminipage.C: removed widthp_ and all it's functions and changed
4298 to use new %-lengths of LyXLength.
4300 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4302 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
4304 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4306 * insetgraphicsParams.C (operator!=): new function, needed by the
4307 ControlGraphics class.
4309 2001-03-28 Juergen Vigna <jug@sad.it>
4311 * insettext.C (InsetButtonPress): only enter !inset if button == 2
4312 (checkAndActivateInset): don't use the values returned from
4313 call to bv->checkInsetHit.
4315 * insetminipage.C (Clone): set special minipage values.
4317 * insetcollapsable.C (draw): changed to draw the button in the
4318 upper left corner outside the textinset.
4319 (ascent): changed because of different drawing
4323 (InsetButtonPress): ditto
4324 (InsetButtonRelease): ditto
4325 (InsetMotionNotify): ditto
4327 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
4329 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
4333 2001-03-26 Juergen Vigna <jug@sad.it>
4335 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
4337 * insettext.C (ShowInsetDialog): implemented above function.
4339 * insettabular.C (ShowInsetDialog): ditto
4341 * insetminipage.C (ShowInsetDialog): ditto
4343 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4345 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
4346 InsetInclude::Params. Don't store a buffer * in Params. Store the
4347 master file name instead.
4349 2001-03-23 Juergen Vigna <jug@sad.it>
4351 * insetcollapsable.C (InsetMotionNotify):
4352 (InsetButtonRelease):
4353 (InsetButtonPress): fixed y-offset (minipages).
4355 * insettext.C (draw): force a FULL update if cleared == true.
4357 * insetcollapsable.C (draw): Lars forgotten entry for changing this
4358 routine to draw the minipages on its position-flag.
4359 (InsetInInsetY): give back the right y position, because of minipage
4362 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4365 * insetfloat.C (DocBook): docbook export code.
4367 2001-03-22 Juergen Vigna <jug@sad.it>
4369 * insetminipage.C (getMaxWidth): added function to set the drawing
4371 (Read): should work now!
4373 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
4374 if we create a new inset.
4376 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4378 * figinset.C (fl_set_preemptive_callback): moved definition outside
4381 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4383 * insetminipage.C (Read): prepare for reading of minipage arguments.
4385 2001-03-18 Baruch Even <baruch@lyx.org>
4387 * insetgraphics.C: Minor cleanups of the comments and code.
4389 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4391 * insetminipage.C (InsetMinipage): default to not collapsed
4393 2001-03-16 Juergen Vigna <jug@sad.it>
4395 * insetminipage.C (width): modified with to be a string
4396 (widthp): added widthp (for % width) support functions.
4397 (InsetButtonRelease): added to open the options dialog on button==3.
4398 (~InsetMinipage): added to hide the dialog.
4400 * insetminipage.h: added hideDialog signal
4402 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4404 * insetminipage.h: change the order or Position to match
4405 LyXParagraph::MINIPAGE_ALIGNMENT
4407 * several files: remvoe CXX_WORKING_NAMESPACES
4409 * ExternalTemplate.h: noncopyable is in namespace boost
4410 * insetinclude.h: ditto
4411 * insetcommand.h: ditto
4413 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4415 * insettext.C (Edit): #else# -> #else.
4416 * insettoc.C: added using directive.
4418 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4420 * insetminipage.h: add pos, inner_pos, width and height. + getters
4421 and setters for all of them.
4423 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4425 * insetinclude.C (Latex): Do not exit when the textclass of the
4426 included file differ from the textclass of the parent file.
4428 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
4430 * ExternalTemplate.C (read): the reading of external insets now checks
4431 for \end_inset and removes it form the input stream.
4433 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4435 * ExternalTemplate.h:
4436 * ExternalTemplate.C:
4438 * insetexternal.C: move form to GUII
4440 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4443 * insetinclude.C: add InsetIncludeParams, use
4444 composition rather than derivation of InsetCommand
4446 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4448 * insettoc.C (Ascii): use the Buffer typedefs
4450 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4452 * insettoc.C (Ascii): implement for dynamic number of lists
4454 * insetcaption.[Ch]: update from new_insets branch
4455 * insetfloat.[Ch]: ditto
4457 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4460 * figinset.C: use new File Dialog
4462 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4464 * insettext.C: changes becuase of ParagraphParameters.
4466 2001-02-28 Baruch Even <baruch@ev-en.org>
4468 * insetgraphics.C (updateInset): Changed due to the change in
4471 2001-02-26 Juergen Vigna <jug@sad.it>
4473 * insettext.C (SetFont): Set Undo only if we have selection (as it is
4474 handled in LyXText).
4476 2001-02-23 Juergen Vigna <jug@sad.it>
4478 * insettext.C (draw): some small repainting fixes.
4479 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4481 * inset.C (LocalDispatch): changed action to be a kb_action (as it
4482 should be) and not an int.
4484 * insettabular.C (LocalDispatch): ditto
4486 * insettext.C (LocalDispatch): ditto
4488 * insetcollapsable.C (LocalDispatch): ditto
4490 2001-02-22 Juergen Vigna <jug@sad.it>
4492 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4493 DISPATCH it and we don't have a locking_inset.
4495 2001-02-21 Baruch Even <baruch@ev-en.org>
4497 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4498 instead of GraphicsCacheItem *.
4500 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4502 * insetcollapsable.C (getLyXText): add const qualifier to second
4505 2001-02-22 Juergen Vigna <jug@sad.it>
4507 * insettext.C (getLyXText): honor the recursive parameter.
4508 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4510 * inset.C (getLyXText): added bool recursive parameter.
4512 * insettext.C (SetUpdateStatus): or the update codes.
4513 (draw): check need_update with &.
4514 (InsetButtonPress): set no_selection to not put a selection when
4515 entering an inset and it is redraws in another spot.
4517 * insettext.h: made need_update an int.
4519 2001-02-20 Baruch Even <baruch@ev-en.org>
4522 * insetgraphisc.C: Changed to use better semantics when loading images
4523 for inline view. Now it doesn't keep the pixmap itself but it's holder.
4525 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4529 * insetgraphics.C: change name of "hide" signal to "hideDialog",
4530 consistent with InsetTabular.
4532 2001-02-19 Juergen Vigna <jug@sad.it>
4534 * insettabular.C (LocalDispatch): implement PAGE up/down.
4536 * insettext.C (draw): clear all of it on need_update==INIT too!
4538 * insettabular.C (InsetUnlock): always clear the selection.
4540 * inset.C (scroll): normally we only want to scroll the inset until
4541 it is fully visible so if top_x + offset > 20 then just set scx to 0.
4543 2001-02-14 Juergen Vigna <jug@sad.it>
4545 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4546 (resetPos): fixed scroll behaviour.
4547 (LocalDispatch): do an update if moving cursor inside a table cell
4548 requests a scroll of the tabular.
4550 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4552 * insettext.C (textWidth): constify local var
4554 * insettabular.C: small cleanup.
4556 * insetfoot.C (Latex): constify local var
4558 * insetcollapsable.C: small cleanup.
4560 * figinset.C (runqueue): use compare instead of strcmp
4562 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4565 * insetinfo.C: remove cruft
4567 2001-02-14 Juergen Vigna <jug@sad.it>
4569 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4571 2001-02-13 Juergen Vigna <jug@sad.it>
4573 * insettext.C (InsertInset): don't move left (is this right?)
4575 * insettabular.C (LocalDispatch): use of the no_draw variable
4577 * insettabular.h: new no_draw variable to stop redraw
4579 * insettabular.C (TabularFeatures): fixed update for alignment change
4581 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4585 * insetbib.C: move dialogs to frontends/
4587 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4589 * insettext.C (LocalDispatch): Restore the language if the inset
4592 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4594 * insettext.C (moveRightIntern): Update the selection cursor.
4595 (moveLeftIntern): Ditto.
4597 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4599 * Makefile.am: remove BoundingBox.h
4601 * BoundingBox.h: removed
4603 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
4605 * insettext.C (LocalDispatch): Update selection cursor when moving
4606 cursor to the right.
4607 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4608 (moveLeftIntern): Ditto.
4610 2001-02-05 Baruch Even <baruch.even@writeme.com>
4612 * insetgraphics.C: Updated automatic image conversion, it now goes into
4613 temporary directory instead of with the image itself.
4615 2001-01-21 Baruch Even <baruch@ev-en.org>
4617 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4618 to EPS or PNG when needed (support bitmap graphics).
4620 2000-11-02 Baruch Even <baruch@ev-en.org>
4623 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4624 and removal of commented out code.
4626 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4628 * insetbib.C (callback): Update citations if the key has changed.
4630 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4632 * insetbib.C (InsetBibKey): Better computation of default key.
4633 (getScreenLabel) Show both the key and the label.
4634 (getBibLabel): New method.
4635 (callback): Force a redraw if the inset have been changed.
4637 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4639 * insetref.C (getType, getName): Move methods from
4640 src/frontends/xforms/FormRef.C.
4642 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
4644 * insettabular.C: Various improvements (use only one dummy position).
4646 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
4648 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4649 par->bibkey->width. This fixes the crashes when running without
4650 gui or when having included documents.
4652 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
4654 * insetcommand.C (getAsString, setFromString): Cleanup.
4656 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
4658 * insetref.C: Add the array InsetRef::types that contains
4659 information about all supported reference types.
4661 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4663 * lyxinset.h: remove trailing comma in enum.
4665 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
4667 * insettext.C: kill LyXBell.