1 2003-06-02 John Levon <levon@movementarian.org>
3 * insettabular.C: fix resize of column width
5 2003-06-02 John Levon <levon@movementarian.org>
10 * insetparent.C: remove insetparent
12 2003-06-02 André Pönitz <poenitz@gmx.net>
19 * insetcollapsable.[Ch]:
25 * insetlatexaccent.[Ch]:
30 * insetspecialchar.[Ch]:
32 * insettext.[Ch]: unify first drawing phase
35 * insetbase.h: move validate() to the base
37 2003-05-31 Angus Leeming <leeming@lyx.org>
39 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
41 2003-05-30 André Pönitz <poenitz@gmx.net>
47 * insetcollapsable.[Ch]:
52 * insetlatexaccent.[Ch]:
56 * insetspecialchar.[Ch]:
59 * updatableinset.[Ch]: unify second drawing phase
61 2003-05-30 John Levon <levon@movementarian.org>
63 * insetgraphics.C: fix a bformat
65 2003-05-29 John Levon <levon@movementarian.org>
67 * insettabular.C: remove unused bufferOwner()
69 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
71 * insettext.C (lockInsetInInset): adjust
72 (getLabelList): use const_iterator, adjust
73 (getInsetFromID): use const_iterator, adjust
74 (addPreview): use const_iterator, adjust
76 * insetwrap.C (clone): remove const_cast
78 * insetnote.C (clone): remove const_cast
80 * insetminipage.C (clone): remove const_cast
82 * insetmarginal.C (clone): remove const_cast
84 * insetfoot.C (clone): remove const_cast
86 * insetfloat.C (clone): remove const_cast
88 * insetert.C (clone): remove const_cast
90 * delete commented same_id functions from a lot of files.
92 2003-05-28 John Levon <levon@movementarian.org>
98 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
100 * insetminipage.C: fix metrics (bug 1144)
102 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
104 * insettext.C (saveLyXTextState): adjust
105 (restoreLyXTextState): adjust
108 (unlockInsetInInset): adjust
109 (localDispatch): adjust
112 * insettabular.C (insertAsciiString): adjust
114 2003-05-27 André Pönitz <poenitz@gmx.net>
117 * insetcollapsable.C:
120 * insetlatexaccent.C:
125 * insetspecialchar.C:
127 * insettext.C: dim.w -> dim.wid
129 2003-05-26 John Levon <levon@movementarian.org>
131 * insettabular.C: avoid drawing all of a long table
132 if it's not needed. A big speedup
134 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
136 * remove same_id from function signatures, adjust
138 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
140 * insettext.C (InsetText): adjust
142 (setParagraphData): separate same_id cases, adjust
143 (appendParagraphs): adjust
144 (appendParagraphs): adjust
146 2003-05-23 André Pönitz <poenitz@gmx.net>
148 * insetbutton.h: whitespace
150 * insettabular.C: more compact code
152 * updatableinset.C: remove const_cast
155 2003-05-23 Angus Leeming <leeming@lyx.org>
157 * insetexternal.C (write): check how many lines are output.
158 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
159 if the template has defined it.
161 2003-05-23 Angus Leeming <leeming@lyx.org>
163 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
165 2003-05-23 Angus Leeming <leeming@lyx.org>
167 * insetfoot.C (latex):
168 * inseturl.C (latex): rename fragile as moving_arg.
170 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
172 * inseterror.C (localDispatch): comment out unused var.
174 2003-05-22 Angus Leeming <leeming@lyx.org>
176 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
177 passed through the LatexRunParams arg.
179 2003-05-22 Angus Leeming <leeming@lyx.org>
181 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
182 through the LatexRunParams arg.
184 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
185 arg rather than through a global var.
187 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
189 * insetspecialchar.C (dimension): use a string.
191 2003-05-22 Angus Leeming <leeming@lyx.org>
193 * insetbibtex.C (latex):
194 * insetgraphics.C (latex):
195 * insetinclude.C (latex): extract the buffer's 'nice'ness from
196 runparams rather than from the buffer itself.
198 2003-05-22 Angus Leeming <leeming@lyx.org>
200 * inset*.[Ch] (latex):
201 passed a LatexRunParams parameter.
203 * insetgraphics.C (latex): actually use it ;-)
205 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
207 * insetfloat.C (addToToc): trivial compile fix
209 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
211 * insettext.[Ch] (paragraph): delete unused function
213 * insetfloat.C (addToToc): parlist simplfication
215 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
217 * insetspace.[Ch]: added (new space insets)
219 * inset.h: handle new space insets
221 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * insetfloat.C (addToToc): adjust
225 2003-05-21 André Pönitz <poenitz@gmx.net>
227 * insettext.[Ch]: fix drawing bug introduced earlier
229 2003-05-19 André Pönitz <poenitz@gmx.net>
231 * insetspecialchar.C: fix bug introduced yesterday
233 2003-05-19 André Pönitz <poenitz@gmx.net>
237 * insetcollapsable.[Ch]:
241 * insetgraphics.[Ch]:
242 * insetgraphicsParams.[Ch]:
243 * insetlatexaccent.[Ch]:
244 * insetminipage.[Ch]:
247 * insetspecialchar.[Ch]:
249 * insettext.[Ch]: dimensions() instead of ascend/descend/width
251 2003-05-19 André Pönitz <poenitz@gmx.net>
254 * insettext.C: more insetenv
256 2003-05-16 André Pönitz <poenitz@gmx.net>
259 * insetminimpage.[Ch]:
260 * insetcollapsable.[Ch]: fix #832
262 2003-05-16 André Pönitz <poenitz@gmx.net>
269 * insetcollapsable.[Ch]:
273 * insetexternal.[Ch]:
274 * insetfloatlist.[Ch]:
275 * insetgraphics.[Ch]:
279 * insetlatexaccent.[Ch]:
286 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
288 2003-05-13 André Pönitz <poenitz@gmx.net>
291 * insetcollapsable.C:
295 * insetwrap.C: tostr from own header
307 * insetwrap.C: STRCONV
310 2003-05-12 André Pönitz <poenitz@gmx.net>
322 * insetwwrap.C: boost::format -> bformat all over the place
324 2003-05-05 André Pönitz <poenitz@gmx.net>
326 * insettext.h: add missing #include <map>
328 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
330 * insettext.C (InsetText): parlist cleanup
335 (lockInsetInInset): ditto
339 (searchBackward): ditto
340 (collapseParagraphs): ditto
342 2003-05-06 John Levon <levon@movementarian.org>
344 * insetcaption.C: don't cast wrap inset to InsetFloat
347 * insetfloat.C: remove unneeded type() function
349 2003-05-05 André Pönitz <poenitz@gmx.net>
354 * insetcollapsable.[Ch]: remove unused function firstParagraph()
355 replace getFirstParagraph() by getParagraphs()
357 2003-05-03 John Levon <levon@movementarian.org>
359 * insetcollapsable.h:
360 * insetcollapsable.C:
366 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
367 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
368 getCursor(). Remove explicit cursor hides.
370 2003-05-02 André Pönitz <poenitz@gmx.net>
372 * insettext.C: remove unneeded &*
374 2003-04-30 John Levon <levon@movementarian.org>
376 * insettabular.C: fix edit message
378 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
380 * insettext.C (setFont): do not convert iterator -> pointer
382 * insettabular.C (localDispatch): do not convert iterator -> pointer
384 (tabularFeatures): ditto
386 2003-04-29 André Pönitz <poenitz@gmx.net>
388 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
390 2003-04-28 André Pönitz <poenitz@gmx.net>
392 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
395 2003-04-25 André Pönitz <poenitz@gmx.net>
397 * insetenv.C: derive from InsetText instead of InsetCollapsable
399 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
401 * insetexternal.C (string2params): dont do anything if the string
403 * insetgraphics.C (string2params): ditto
404 * insetcommand.C (string2params): ditto
405 * insetert.C (string2params): ditto
406 * insetfloat.C (string2params): ditto
407 * insetinclude.C (string2params): ditto
408 * insetminipage.C (string2params): ditto
409 * insettabular.C (string2params): ditto
410 * insetwrap.C (string2params): ditto
412 2003-04-24 André Pönitz <poenitz@gmx.net>
414 * insetref.C: support for eqref
416 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
418 * insetert.C (read): use ParagraphList::iterator.
420 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
422 * insetquotes.C (latex): comment some code and add warnings.
424 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
426 * insetexternal.C (localDispatch): added a missing DISPATCHED
428 2003-04-12 John Levon <levon@movementarian.org>
430 * insetwrap.C (addToToc): fix a crash, conversion
431 from while to for loop forgot to remove the explicit
434 2003-04-10 John Levon <levon@movementarian.org>
436 * insettabular.C (tabularFeature): make sure
437 to update the dialog when we change something
440 (getStatus): don't disable some lfuns (bug 939)
442 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
444 * insettext.C (saveLyXTextState): adjust
445 (localDispatch): adjust
451 * insettabular.C (localDispatch): adjust
453 (tabularFeatures): adjust
455 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
457 * insettabular.C (searchForward,searchBackward): fix bug 782
459 2003-04-07 John Levon <levon@movementarian.org>
462 * insettext.C: clear status message on inset exit
464 2003-04-03 John Levon <levon@movementarian.org>
466 * insetcommand.C: return dispatched on DIALOG_UPDATE
468 2003-04-02 John Levon <levon@movementarian.org>
470 * insettabular.C: tab lfuns renamed
472 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
474 * insettext.C (update): move towards ParagraphList
479 (lockInsetInInset): ditto
480 (updateInsetInInset): ditto
481 (localDispatch): ditto
484 (resizeLyXText): ditto
485 (searchBackward): ditto
486 (collapseParagraphs): ditto
489 * insetwrap.C (InsetWrap): adjust
490 (addToToc): adjust and rewrite loop
492 * insettext.[Ch] (paragraph): delete function
494 * insettabular.C (moveNextCell): adjust
495 (movePrevCell): adjust
496 (insertAsciiString): adjust
498 * insetfloat.C (InsetFloat): adjust
501 * insetert.C (InsetERT): adjust
502 (write): adjust, and rewrite loop
503 (latex): adjust, and rewrite loop
504 (linuxdoc): adjust, and rewrite loop
505 (docbook): adjust, and rewrite loop
506 (localDispatch): adjust
507 (get_new_label): adjust
509 2003-04-01 John Levon <levon@movementarian.org>
511 From Alfredo Braunstein
514 * insetbutton.C: add localDispatch()
516 * insetcommand.C: return DISPATCHED when edit() called
518 * insettext.C: fix bug 967
520 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
522 * insettext.C: adjust
524 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
526 * insettext.C (draw): adjust
527 (crow): return a RowList::iterator not a Row*
529 * insetminipage.C (localDispatch): adjust
531 * insetert.C (localDispatch): adjust
533 2003-03-31 John Levon <levon@movementarian.org>
536 * insetgraphicsParams.C: use_gui moved to lyx_gui
538 2003-03-31 John Levon <levon@movementarian.org>
540 * insettext.C: Alert fix
542 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
544 * insettext.C (ascent): adjust for RowList
548 (toggleSelection): adjust
550 * insetminipage.C (localDispatch): adjust for RowList
552 * insetert.C (localDispatch): adjust for RowList
553 (getMaxWidth): adjust for RowList
555 2003-03-29 John Levon <levon@movementarian.org>
557 * insetert.C: Alert cleanup
559 2003-03-29 John Levon <levon@movementarian.org>
561 * insettabular.C: Alert fix
563 2003-03-28 John Levon <levon@movementarian.org>
565 * insetfloat.C: reset label on INSET_MODIFY
567 2003-03-28 John Levon <levon@movementarian.org>
569 * insetgraphicsParams.C: read subcaptionText as a whole line
572 2003-03-28 John Levon <levon@movementarian.org>
574 * insettext.C: remove unused prototypes
576 2003-03-25 Angus Leeming <leeming@lyx.org>
578 * insetbibitem.C (localDispatch): repaint the view after modifying
579 a bibitem inset in case the maximum InsetBibitem width has changed.
581 2003-03-25 John Levon <levon@movementarian.org>
584 * insettabular.C: LyXText renamings
586 2003-03-24 John Levon <levon@movementarian.org>
588 * insettext.C: remove some dead code. Fix bug 972 and
589 related by posting a repaint in updateLocal(), and making
590 the SEL functions set SELECTION.
592 2003-03-22 John Levon <levon@movementarian.org>
595 * inset.C: remove no-longer-needed topx_set
597 * insetcollapsable.h:
598 * insetcollapsable.C: remove dead code
601 * insetert.C: rebreak the rows when a possible
602 change in size is made, and reset the cursor
605 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
607 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
608 topx_set. Fix drawing errors for clearInset(). Remove
609 some unnecessary uses of topx, which should die.
611 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
612 is no longer needed. Replace it with an ugly hack.
614 2003-03-20 John Levon <levon@movementarian.org>
617 * insetcollapsable.h:
618 * insetcollapsable.C:
626 * insettext.C: remove spurious font parameter
627 from update(). Fix drawing of ERT insets inside
628 insets (bug 966). Remove unused mark_dirty from
629 tabular's updateLocal()
631 2003-03-19 John Levon <levon@movementarian.org>
640 * insetwrap.C: remove unused getter/setters
642 2003-03-19 John Levon <levon@movementarian.org>
644 * several files: bv->updateInset() doesn't take
645 a bool mark_dirty any more
647 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
649 * adjust for BufferView* arg removal from lyxtext.
651 2003-03-17 John Levon <levon@movementarian.org>
653 * most files: remove the "cleared" parameter
654 to draw in favour of always clearing. Associated
657 2003-03-16 John Levon <levon@movementarian.org>
659 * insettext.C: remove unused s.refresh
661 2003-03-13 Angus Leeming <leeming@lyx.org>
663 * insettext.C (edit): replace Dialogs::updateParagraph with
664 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
666 2003-03-13 André Pönitz <poenitz@gmx.net>
668 * Makefile.am: insert insetenv
670 * insethenv.[Ch]: new files, currently inactive
672 2003-03-12 John Levon <levon@movementarian.org>
682 * insettext.C: use new insetnewline
684 2003-03-12 John Levon <levon@movementarian.org>
686 * insettext.C: readToken became readParagraph
688 2003-03-12 John Levon <levon@movementarian.org>
690 * insettext.C: use parlist iterator for reading contents
692 2003-03-12 John Levon <levon@movementarian.org>
694 * insettext.C: name change to readToken()
696 2003-03-11 André Pönitz <poenitz@gmx.net>
698 * Makefile.am: insert insethfill
700 * insethfill.[Ch]: new files
702 2003-03-10 Angus Leeming <leeming@lyx.org>
704 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
706 (hideDialog): calls the new static Dialogs::hide() method.
708 * insetbibitem.C (edit):
709 * insetbibtex.C (edit):
710 * insetcite.C (edit):
711 * insetcommand.C (localDispatch):
712 * inseterror.C (d-tor):
713 * insetert.C (showInsetDialog):
714 * insetexternal.C (localDispatch, edit):
715 * insetfloat.C (localDispatch, showInsetDialog):
716 * insetfloatlist.C (edit):
717 * insetgraphics.C (localDispatch, edit):
718 * insetinclude.C (localDispatch, edit):
719 * insetindex.C (edit):
720 * insetlabel.C (edit):
721 * insetminipage.C (localDispatch, showInsetDialog):
723 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
724 resetPos, showInsetDialog, openLayoutDialog):
727 * insetwrap.C (localDispatch, showInsetDialog):
728 changes due to the changed MailInset interface.
730 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
732 * insetfloat.h: Set default placement to an empty string.
734 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
736 * insettext.C (latex): adjust call to latexParagraphs.
738 2003-03-10 Angus Leeming <leeming@lyx.org>
740 * mailinset.C: warn the user if the BufferView has not been cached.
742 2003-03-10 Angus Leeming <leeming@lyx.org>
744 * inset.h, insetbase.h: move cache() and view() into InsetBase.
746 * insetcommand.h (inset):
747 * insetert.h (inset):
748 * insetexternal.h (inset):
749 * insetfloat.h (inset):
750 * insetgraphics.h (inset):
751 * insetinclude.h (inset):
752 * insetminipage.h (inset):
753 * insettabular.h (inset):
754 * insetwrap.h (inset):
755 * mailinset.h (inset): return an InsetBase &, not an Inset &.
757 2003-03-10 Angus Leeming <leeming@lyx.org>
759 * insetcommand.C (string2params):
760 * insetexternal.C (string2params):
761 * insetfloat.C (string2params):
762 * insetgraphics.C (string2params):
763 * insetinclude.C (string2params):
764 * insetminipage.C (string2params):
765 * insettabular.C (string2params):
766 * insetwrap.C (string2params): cure warning message about missing
769 2003-03-09 Angus Leeming <leeming@lyx.org>
771 * insettabular.[Ch]: define a new class InsetTabularMailer and use
772 it to communicate with the frontend dialogs.
774 * mailinset.C (hideDialog): only hide the dialog if it is showing the
775 contents of this inset!
777 2003-03-07 Angus Leeming <leeming@lyx.org>
779 * inseterror.C (localDispatch): new method; calls edit() on
782 2003-03-07 Angus Leeming <leeming@lyx.org>
784 * insetbibitem.C (localDispatch):
785 * insetbibtex.C (localDispatch):
786 * insetlabel.C (localDispatch):
789 2003-03-07 Angus Leeming <leeming@lyx.org>
791 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
792 it to communicate with the frontend dialogs.
794 2003-03-07 Angus Leeming <leeming@lyx.org>
796 * insetexternal.C: remove operator== and operator!= for
797 InsetExternal::Params. They were used only by the old controller
800 2003-03-07 Angus Leeming <leeming@lyx.org>
802 * insetcommand.C (localDispatch):
803 * insetexternal.C (localDispatch):
804 * insetfloat.C (localDispatch):
805 * insetinclude.C (localDispatch):
806 * insetminipage.C (localDispatch):
807 * insetwrap.C (localDispatch):
808 add LFUN_INSET_DIALOG_UPDATE to the switch.
810 2003-03-07 Angus Leeming <leeming@lyx.org>
812 * insetcommand.C (string2params):
813 * insetexternal.C (string2params):
814 * insetfloat.C (string2params):
815 * insetinclude.C (string2params):
816 * insetwrap.C (string2params): use LyXLeX more.
819 * insetexternal.[Ch]:
822 * insetwrap.[Ch]: change Mailer::name_ to be static.
824 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
825 it to communicate with the frontend dialogs.
827 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
830 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
832 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
834 * insettext.C (updateLocal): un-const function
835 (updateLocal): adjust
836 (collapseParagraphs): un-const function
837 (collapseParagraphs): adjust
839 2003-03-05 Angus Leeming <leeming@lyx.org>
841 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
842 it to communicate with the frontend dialogs.
844 2003-03-05 Angus Leeming <leeming@lyx.org>
846 * insetcollapsable.C (draw): cache the BufferView.
848 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
849 it to communicate with the frontend dialogs.
851 2003-03-05 Angus Leeming <leeming@lyx.org>
853 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
856 2003-03-05 Angus Leeming <leeming@lyx.org>
858 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
860 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
861 it to communicate with the frontend dialogs.
863 2003-03-05 Angus Leeming <leeming@lyx.org>
865 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
866 it to communicate with the frontend dialogs.
868 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
870 * insettext.C (collapseParagraphs): adjust
871 (appendParagraphs): make it take a Buffer* instead of a
872 BufferParams& as arg.
873 (appendParagraphs): adjust
875 2003-03-04 Angus Leeming <leeming@lyx.org>
877 * insetbibitem.C (localDispatch):
878 * insetbibtex.C (localDispatch):
879 * insetcommand.C (localDispatch):
880 * insetert.C (localDispatch):
881 * insetlabel.C (localDispatch):
882 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
884 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
886 * insettext.C (latex): adjust for ParagraphList::iterator
888 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
890 * insetbutton.C (view): adjust for boost 1.30.0
891 * insetcollapsable.C (view): ditto
892 * insetgraphics.C (statusChanged): ditto
894 * insettext.h: move paragraphs to be public.
896 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * insetnote.[Ch] (InsetNote): remove unused constructor
900 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
902 * insetgraphics.C: added include "format.h"
904 2003-02-27 Angus Leeming <leeming@lyx.org>
906 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
909 2003-02-27 Angus Leeming <leeming@lyx.org>
911 * insetbibitem.C (localDispatch):
912 * insetbibtex.C (localDispatch):
915 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
917 2003-02-26 Angus Leeming <leeming@lyx.org>
919 * insetbibitem.[Ch] (localDispatch):
920 * insetbibtex.[Ch] (localDispatch):
921 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
923 * insetcommand.C (localDispatch):
924 act only on receipt of LFUN_XYZ_APPLY.
926 * insetert.C (localDispatch): reformat.
927 add LFUN_XYZ_APPLY to the switch.
929 2003-02-26 John Levon <levon@movementarian.org>
931 * insettext.C: use RowPainter
933 * inset.h: make helpers take const *
935 2003-02-26 Angus Leeming <leeming@lyx.org>
937 * insetcommand.[Ch] (localDispatch): new method.
939 2003-02-26 Angus Leeming <leeming@lyx.org>
941 * insetinclude.C (draw): cache the BufferView* using cache not
944 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
946 * insetgraphics.C (draw)
947 * insetinclude.C (draw): Eliminate also the other argument (owner
948 inset inset) in the call to PreviewImage::image
950 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
952 * insetgraphics.C (draw)
953 * insetinclude.C (draw): Eliminate Buferview argument in call to
956 2003-02-25 John Levon <levon@movementarian.org>
958 * insetgraphicsParams.h:
959 * insetgraphics.C: don't start a load process if
960 the inset is set to NoDisplay (bug #920)
962 2003-02-22 John Levon <levon@movementarian.org>
965 * insetwrap.C: TocItem changed API (bug 913)
967 2003-02-21 Angus Leeming <leeming@lyx.org>
969 * insetcollapsable.[Ch] (cache, edit):
970 * insetbutton.[Ch] (cache, edit): new methods to cache the
971 BufferView in the draw method.
973 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
974 simplify comunication between InsetCommand-derived classes and
981 * insetfloatlist.[Ch]:
985 * inseturl.[Ch]: small changes to reflect the new interface to the
988 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
989 other, similar classes.
991 * Makefile.am: add new files.
993 2003-02-21 Angus Leeming <leeming@lyx.org>
995 * updatableinset.h (setView, view): remove.
996 * inset.h (view, cache): to be replaced by these.
998 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
1001 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
1004 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
1006 2003-02-21 Allan Rae <rae@lyx.org>
1008 * insetinclude.C (loadIfNeeded): ensure loading also works when
1009 child document is under version control.
1011 2003-02-17 André Pönitz <poenitz@gmx.net>
1013 * insetbib.[Ch]: Adjust access to bibkeys
1015 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1017 * insetquotes.C (dispString): remove use of acute accent for "'"
1020 2003-02-14 John Levon <levon@movementarian.org>
1022 * insettabular.C: changed method names in tabular.C
1024 2003-02-14 John Levon <levon@movementarian.org>
1028 * insetcollapsable.h:
1029 * insetcollapsable.C:
1033 * insettext.C: remove unused getParFromID()
1035 2003-02-13 John Levon <levon@movementarian.org>
1038 * insettext.C: remove unused beginningofMainBody()
1040 2003-02-08 John Levon <levon@movementarian.org>
1044 * insetcollapsable.h:
1045 * insetcollapsable.C:
1050 add nextChange(). Make allowSpellcheck() const. Add markErased().
1052 * insetert.C: ignore deleted text
1054 * insettabular.C: make sure to keep change tracking working
1057 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1062 * insettext.C: Use error messages with identical spelling and punctuation
1064 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
1066 * insetgraphics.C (draw, width): Fix spacing around graphics inset
1068 2002-12-17 Juergen Vigna <jug@lyx.org>
1070 * insettext.C (localDispatch): hopefully fixed cursor up down
1071 movement on leaving other insets.
1073 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1075 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
1078 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1080 * insetgraphics.C (prepareFile): do not remove the extension of
1081 the file name if it is not the default extension for the given
1082 format (that is, in latex output, remove extension from foo.eps,
1083 but not from foo.epsi)
1085 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1087 * insettext.C (lfunMouseRelease): hackish solution to the "double
1090 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1092 * insetfloat.C (addToToc): use the floats name not its type
1093 * insetwrap.C (addToToc): ditto
1095 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1097 * insetnote.C (init): make label font smaller
1099 2002-12-04 John Levon <levon@movementarian.org>
1101 * insetinclude.C: ressurect setting of command name
1103 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1105 * insetquotes.C (dispString): disambiguate insert call
1107 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1109 * several files: ws changes
1111 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * insetquotes.C (dispString): use string::insert for prepending a
1116 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1118 * insetparent.C (getScreenLabel): use boost::format
1120 * insetgraphics.C (prepareFile): use boost::format
1123 * insetfloatlist.C (latex): use boost::format
1125 * insetcaption.C (draw): use boost::format
1127 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1129 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
1132 2002-11-20 Juergen Vigna <jug@sad.it>
1134 * insettabular.C (resetPos): temporary fix for endless loop in
1135 this function on a redraw.
1137 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1139 * insettabular.C (copySelection): STRCONV
1141 * insetinclude.C (uniqueID): STRCONV
1142 (latexString): ditto
1144 * insetgraphics.C: put VersionNumber inside anon namespace
1145 (createLatexOptions): STRCONV
1147 * insetcommandparams.C: include config.h
1149 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
1151 * insetgraphicsParams.C (Write): use lyx::float_equal.
1152 Write height data correctly.
1153 (Read): zero scale when reading height data.
1155 2002-10-30 John Levon <levon@movementarian.org>
1157 * insetfloat.C (addToTOC): recursively traverse all
1158 contents looking for captions (fix #568)
1160 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1162 * insetexternal.C (doSubstitution): do not try to replace
1163 environment variables, this is done when executing the command
1165 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1167 * insetexternal.C (doSubstitution): change order of substitution
1168 to work around ReplaceEnvironmentPath brokenness
1170 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
1172 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
1174 * insetgraphicsParams.C (init, Write): associated changes
1175 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
1176 InsetGraphicsParams::scale.
1178 2002-10-21 John Levon <levon@movementarian.org>
1180 * inset.h: remove unused DISPATCH_RESULT
1182 * insettext.C: sgml open/close tag now in sgml namespace
1184 2002-10-21 Angus Leeming <leeming@lyx.org>
1186 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
1187 file path subdir/fig.eps when pasting it into a buffer in a different
1190 2002-10-16 John Levon <levon@movementarian.org>
1192 * insetspecialchar.C: remove \\protected_separator parsing
1194 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1196 * insetquote.C: fix LaTeX output of quotation marks.
1198 2002-10-14 Juergen Vigna <jug@sad.it>
1200 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
1201 Backspace functions which confused the Undo handling.
1203 2002-10-09 Angus Leeming <leeming@lyx.org>
1205 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
1206 BufferView::dispatch that turns off this optimisation when a new inset
1209 * insetcite.C (getNatbibLabel): correct logic of when and when not to
1210 reload the BibTeX keys.
1212 2002-10-11 André Pönitz <poenitz@gmx.net>
1214 * insettext.h: handle LFUN_PRIOR/NEXT
1216 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1218 * insetfloat.C: fix bug with float settings
1219 (document default != float default).
1221 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1223 * insetwrap.C (addToToc): New method.
1224 (InsetWrap): Set layout to caption.
1226 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1228 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1230 2002-09-16 John Levon <levon@movementarian.org>
1232 * insettabular.h: hasSelection() needs to be public
1234 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1236 * insetgraphicsParams.C: use empty string as default for rotateOrigin
1238 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1240 * insetgraphicsParams.C: use empty string as default for rotateOrigin
1242 2002-09-11 André Pönitz <poenitz@gmx.net>
1244 * insettabular.C: implement LFUN_WORDSEL
1246 2002-09-10 John Levon <levon@movementarian.org>
1248 * insetinclude.h: remove unused param
1250 2002-09-09 John Levon <levon@movementarian.org>
1253 * insetinclude.C: remove noload, default to input
1255 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
1257 * insetgraphics.C: disfuscated use of ']' in built output string.
1259 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1261 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
1263 2002-08-29 Juergen Vigna <jug@sad.it>
1265 * insettabular.C (lfunMousePress): Pay attention where you set
1266 the x/y values as they depend on which inset in the tabular is
1267 actually locked. So you surely have to reset them if you (un)lock
1270 2002-08-29 André Pönitz <poenitz@gmx.net>
1272 * insetfootlike.h: rename include guard to ALL CAPS
1274 * insettext.C: swap object and first parameter for checkInsetHit calls
1275 as this functions has moved from BufferView to LyXText
1278 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1280 * insetgraphicsParams.C: remove local displayTranslator and use
1281 the one from graphics/GraphicsTypes.h.
1283 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1285 * insetfloat.C (wide): add BufferParams parameter
1287 * insetfloatlist.C (read):
1290 * insetfloat.C (latex):
1292 * insetcaption.C (draw): use LyXTextClass::floats()
1294 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1296 * insetoptarg.h: add std:: qualifier.
1298 2002-08-26 Juergen Vigna <jug@sad.it>
1300 * insettext.C (localDispatch): ditto.
1302 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
1304 2002-08-25 John Levon <levon@movementarian.org>
1306 * inseturl.C: elide long URLs (bug 404)
1308 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1310 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
1311 remove "Format Version <version_no.>" string from inset header
1314 * insetgraphicsParams.[Ch]: Implement new graphics dialog
1316 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
1317 a member of "grfx::Params" anymore.
1319 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
1321 2002-08-24 John Levon <levon@movementarian.org>
1324 * insetoptarg.C: ws, pedantry ...
1326 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1328 * insettext.C (collapseParagraphs): pasteParagraph now in global
1330 (appendParagraphs): ditto
1332 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
1334 * insetcite.C (latex): Remove spaces only after commmas.
1336 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1338 * insettext.C: remove NO_COMPABILITY stuff
1340 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * insettext.C (edit): use ParagraphList iterators
1344 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
1345 (bibitemWidest): ditto
1347 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * insettext.C: include <boost/bind.hpp>
1350 add using std::for_each
1351 (saveLyXTextState): use ParagraphsList::iterator
1352 (init): use for_each on paragraphlist iterators
1353 (InsetText): remove superflous setting cached_bview to 0
1354 (latex): reformat a bit
1355 (ascii): use paragraphlist iterators
1356 (validate): use for_each + boost bind
1357 (getLabelList): use paragraphlist iterators
1358 (deleteLyXText): use for_each + boost::bind
1359 (resizeLyXText): ditto
1360 (reinitLyXText): ditto
1361 (removeNewlines): use paragraphlist iterators
1362 (getParFromID): ditto
1363 (paragraph): use for_each + boost::bind
1364 (getInsetFromID): use paragraphlist iterators
1365 (getLabelList): typo fix
1367 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * insettext.C (read): assign tmp to paragraphs after return from
1370 call to parseSingleLyXformat2Token
1373 2002-08-13 Angus Leeming <leeming@lyx.org>
1392 changes due to the changed LyXView interface that now returns references
1393 to member variables not pointers.
1395 2002-08-13 Angus Leeming <leeming@lyx.org>
1398 * insetcollapsable.h:
1401 * insettext.h: forward-declare WordLangTuple
1402 (selectNextWordToSpellcheck) constify return type.
1405 * insetcollapsable.C:
1408 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
1410 2002-08-12 Angus Leeming <leeming@lyx.org>
1412 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
1414 2002-08-12 Juergen Vigna <jug@sad.it>
1416 * insetcollapsable.C (edit): ignore if entered when pressing mouse
1419 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1421 * insetbib.C (bibitemMaxWidth): ParagraphList changes
1422 (bibitemWidest): ditto
1423 * insettext.[Ch]: ditto
1425 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1427 * insettext.C, insetert.C: use Paragraph::empty where appropriate
1429 2002-08-09 Angus Leeming <leeming@lyx.org>
1431 * insetinclude.C (latexString): remove fudge now that I've found out
1432 how to enable LaTeX to find the file using input@path.
1434 2002-08-09 John Levon <levon@movementarian.org>
1437 * insettext.C: remove unused xpos
1439 2002-08-07 Juergen Vigna <jug@lyx.org>
1441 * insettabular.C (localDispatch): make delete not put the stuff
1442 in the clipboard only do this on a cut operation.
1444 * insettext.C (localDispatch): make delete and backspace not put
1445 selected stuff to the clipboard.
1447 2002-08-07 André Pönitz <poenitz@gmx.net>
1450 * insetcollapsable.[Ch]:
1454 * insettabular.[Ch]:
1455 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
1457 2002-08-06 John Levon <levon@movementarian.org>
1461 * insetcollapsable.h:
1462 * insetcollapsable.C:
1468 * insettext.C: use WordLangTuple for spellcheck
1470 2002-08-06 Angus Leeming <leeming@lyx.org>
1472 * insetinclude.C: add a monitor to the previewed image, so that the
1473 image is refreshed if the \input-ed file changes.
1475 2002-08-04 John Levon <levon@movementarian.org>
1478 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
1480 2002-08-02 Angus Leeming <leeming@lyx.org>
1482 * insetcommandparams.[Ch] (preview): new methods returning and setting
1483 a new bool preview_ flag.
1484 (read): read this flag.
1485 (operator==): add flag to check.
1487 * insetinclude.C (write): output new preview() flag.
1488 (previewWanted): use this flag.
1490 2002-08-02 Angus Leeming <leeming@lyx.org>
1492 * insetcollapsable.[Ch] (addPreview):
1493 * insettabular.[Ch] (addPreview):
1494 * insettext.[Ch] (addPreview): new methods. Can now generate previews
1495 for insets in insets.
1497 2002-08-02 Angus Leeming <leeming@lyx.org>
1499 * insetcite.C: fix typo.
1501 * insetgraphics.C: kill current_view and instead cache the BufferView
1504 * insetinclude.C: kill current_view and pass the BufferView to the
1505 PreviewedInset so that it can cache it.
1507 2002-08-01 Angus Leeming <leeming@lyx.org>
1509 * inset.h (generatePreview): renamed as addPreview.
1510 (generatePreview): new method. Allows code to be moved out of
1511 math_nestinset.C and into the new PreviewedInset class.
1513 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
1514 add previews to the inset when \input-ing LaTeX.
1516 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * several files: strip,frontStrip -> trim,ltrim,rtrim
1520 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1522 * insetbib.C (latex): modify because of strip changes
1524 * insetnote.C (InsetNote): ditto
1526 2002-07-26 Juergen Vigna <jug@sad.it>
1528 * insettabular.C (searchForward): check for lastcell if we
1529 had a locking inset.
1531 2002-07-25 Juergen Vigna <jug@sad.it>
1533 * insettabular.C (insetMotionNotify): Don't update the screen
1534 if we didn't do nothing.
1535 (searchForward): last cell was not checked.
1537 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1539 * insetfloat.C (read, write): Allow default placement
1540 (floatPlacement_ is empty).
1542 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1544 * insetminipage.h (noFontChange):
1545 * insettabular.h (noFontChange):
1546 * insetfootlike.h (noFontChange):
1547 * insetfloat.h (noFontChange): return true
1549 * inset.h (noFontChange): new method, defaulting to false
1551 2002-07-22 Herbert Voss <voss@lyx.org>
1553 * insetgraphicsParams.[Ch]: support size_type for old docs
1555 2002-07-22 Herbert Voss <voss@lyx.org>
1558 * insetgraphicsParams.[Ch]: change size_type to size_kind and
1561 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1563 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1565 * insetlatexaccent.h: do not include "lyxlex.h"
1567 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1570 * insetlatexaccent.C:
1574 * insetbib.C: #include "lyxlex.h"
1580 * insettext.C: use BufferParams::getLyXTextClass
1583 * insetfloat.C (addToToc): new method. Add to toclist the entries
1584 corresponding to Caption layouts
1585 (InsetFloat): when creating a new float, set the layout to "Caption"
1587 2002-07-21 Herbert Voss <voss@lyx.org>
1589 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1590 image relevant part into graphics/GraphicsImgae.C
1592 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1594 * insettoc.C (ascii):
1595 * insetfloatlist.C (ascii): change to use the new Toc functions
1596 instead of stuff that was in Buffer
1598 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1600 * insettext.C (localDispatch): BufferView::Dispatch has been
1601 renamed to BufferView::dispatch
1603 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1605 * insetgraphicsParams.C (as_grfxParams): use the new
1606 keepLyXAspectRatio parameter. Note that this is an adaptation of a
1607 1.2.0 patch, and I do not really know how to adapt it to the new
1608 grfx::Cache world. Angus, please could you have a look?
1610 2002-05-01 Herbert Voss <voss@lyx.org>
1612 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1614 2002-07-18 Angus Leeming <leeming@lyx.org>
1616 * insetgraphics.C: clean-up comments (from Herbert).
1617 add a new checksum variable to the cache. Use it in PrepareFile.
1618 (draw): start monitoring the file for a change.
1619 (prepareFile): re-arrange a little to avoid unnecessary steps.
1621 2002-07-17 Angus Leeming <leeming@lyx.org>
1623 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1624 a method rather than to the signal directly.
1626 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1628 * insettext.C: use view_state_changed, switchKeyMap
1630 2002-07-17 Herbert Voss <voss@perce.de>
1632 * insetgraphics.C (prepareFile): keep the extension when
1633 exporting to nice file
1635 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1637 * insetcite.C (getNatbibLabel):
1638 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1640 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1642 * insetgraphics.C: use ->isDrawable()
1644 2002-07-12 Angus Leeming <leeming@lyx.org>
1646 * insetgraphics.C: use the new smart loading capabilities of the image
1649 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1651 * insettabular.C (edit): Move into correct cell when entering a
1654 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1657 2002-07-05 Angus Leeming <leeming@lyx.org>
1659 * inset.h (generatePreview): new virtual method.
1661 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1663 * insetcommandparams.[Ch] (operator=): move out of class
1664 (operator!): move out of class
1666 2002-07-04 André Pönitz <poenitz@gmx.net>
1668 * insetcommandparams.[Ch]: new files
1670 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1672 2002-06-15 Herbert Voss <voss@perce.de>
1674 * insetgraphics.C (prepareFile): bugfix; return always
1675 files without extension
1677 2002-06-28 Angus Leeming <leeming@lyx.org>
1679 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1680 rename asGParams -> as_grfxParams.
1682 * insetgraphics.C: reflect above change.
1684 2002-06-26 Angus Leeming <leeming@lyx.org>
1686 * insetgraphics.h: use boost::scoped_ptr in preference to
1689 2002-06-26 Angus Leeming <leeming@lyx.org>
1691 * insetgraphics.C: moved the image loading stuff into a new class
1692 grfx::Loader. Simplifies this file enormously.
1694 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1696 * insetgraphicsParams.C: changes aassociated with moving
1697 grfx::DisplayType out of grfx::GParams.
1699 2002-06-26 André Pönitz <poenitz@gmx.net>
1701 * insetgraphics.C: use os::external_path where necesaary according to a
1702 patch from Claus Hentschel)
1704 2002-06-25 Angus Leeming <leeming@lyx.org>
1706 * insetgraphics.[Ch]: The inset now assumes the responsibility for
1707 generating a pixmap once the graphics file is loaded into memory.
1708 The current_view ugliness that was in grfx::ModifiedImage has been
1709 moved here now that grfx::ModifiedImage is no more.
1711 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1713 * insettext.C: layout as layout
1715 2002-05-28 André Pönitz <poenitz@gmx.net>
1717 * insetfloatlist.h: remove source of compiler warning
1719 * insetref.C: tiny whitespace
1721 2002-06-15 Herbert Voss <voss@perce.de>
1723 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1724 and take always convert when no userdefined converter was
1726 (latex) small changes in the lyxerr output
1728 2002-06-15 LyX Development team <lyx@rilke>
1730 * inset*.[Ch] (docbook): Added new argument to take the pernicious
1731 mixed content. Small white spaces clean.
1733 2002-06-14 Angus Leeming <leeming@lyx.org>
1735 * inseetexternal.C: remove the using std::difftime declaration.
1737 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
1739 * insetquotes.C: change lyxfont::draw to font_metrics::draw
1741 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
1743 * insetquotes.C (draw): fix drawing of double quotes
1745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1747 * insettabular.C: s/scrollCB/scrollDocView/
1749 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1751 * insettext.C: change of topCursorVisible()
1754 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1757 * insettext.C: rename/change of LyXScreen
1759 2002-06-07 Angus Leeming <leeming@lyx.org>
1761 Fixes needed to compile with Compaq cxx 6.5.
1763 all c-library variables have been moved into namespace std.
1764 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1766 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1768 * insetinclude.C (uniqueID):
1769 * insetgraphics.C (uniqueID): renamed from unique_id, since this
1770 conflicted with some AIX headers.
1772 2002-05-31 Juergen Vigna <jug@sad.it>
1774 * insetert.C (get_new_label): add '...' for multi-paragraph ert
1778 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1780 * insetexternal.C (clone): fix () bug when using new
1781 (updateExternal): don't only look for difftime in global scope
1783 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1785 * insettabular.C: add const
1787 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1789 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1790 file name, in case there are weird characters like ',' in there.
1793 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1795 * switch from SigC signals to boost::signals.
1797 2002-05-28 André Pönitz <poenitz@gmx.net>
1799 * insets/insetgraphicsParams.[Ch]:
1800 put in inset related stuff from src/graphic
1802 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1810 * insetcollapsable.C:
1811 * insetcollapsable.h:
1839 * inseturl.h: use mouse_state. Kill insetKeyPress
1841 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1846 * insetcollapsable.C:
1849 * insetlatexaccent.C:
1851 * insetspecialchar.C:
1853 * insettext.C: name change for font metrics
1855 2002-05-24 Juergen Vigna <jug@sad.it>
1857 * insetgraphics.h: include inset.h first (for LString.h)
1859 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1861 * insettext.C: screen moved
1863 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1881 * inseturl.C: LyXView moved into frontends/
1883 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1888 * insetcollapsable.C:
1892 * insetgraphicsParams.C:
1893 * insetlatexaccent.C:
1895 * insetspecialchar.C:
1897 * insettext.C: move Painter to frontends/
1899 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1901 * insettabular.h: use more specific smart_ptr header.
1902 * insettext.h: ditto
1904 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1907 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1909 * insettext.C: clear selection on paste (bug 393)
1911 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1913 * insettext.C (latex): Honor the moving_arg argument.
1915 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1917 * insetfoot.C (latex): if a footnote is in a title layout, then it
1918 is a \thanks. And then, its contents is a moving argument.
1920 2002-05-14 Juergen Vigna <jug@sad.it>
1922 * insetcollapsable.C (InsetCollapsable): forgot to initialize
1925 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
1927 * Insetcite.C (getNatbibLabel): don't disable natbib label support
1928 when using options "Full author list" or "Upper case".
1930 2002-05-14 Herbert Voss <voss@perce.de>
1932 * insetgraphics.C (prepareFile): allow files with same name
1934 (readFigInset): set the flags from old figinset in the right
1936 (findTargetFormat): more comments
1938 2002-05-14 Juergen Vigna <jug@sad.it>
1940 * insettext.C (edit): tell checkAndActivateInset() that we don't
1941 have a button press.
1942 (checkAndActivateInset): if button < 0 we don't have a button press
1943 on the inset and os we won't call edit on it if it's not a Highly
1944 editable inset (then we have to enter it).
1946 2002-05-13 Juergen Vigna <jug@sad.it>
1948 * insetcollapsable.C (insetButtonRelease): returned wrong return
1951 2002-05-09 Juergen Vigna <jug@sad.it>
1953 * insetcollapsable.C (edit): first_after_edit should only be
1954 set to true if we enter this inset and it was collapsed so we
1955 open it up. This is needed to reclose it after a search/replace
1956 or spellcheck function opened it and was negative.
1958 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
1960 * insetfloat.C (latex): Return correct value.
1962 2002-05-04 Herbert Voss <voss@perce.de>
1964 * InsetgraphicsParams.C (read): fix bug with WH
1966 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1968 * insetfloat.C (latex): More sensible latex output
1969 (fix the problem with endfloat).
1971 2002-05-02 José Matos <jamatos@fep.up.pt>
1973 * insetgraphics.C (validate): acess params as everyone else.
1975 2002-05-03 Juergen Vigna <jug@sad.it>
1977 * insettabular.C (fitInsetCursor): recalculate the cursor position
1980 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1982 * InsetgraphicsParams.[Ch]: whitespace.
1984 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1986 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1987 float type do not exist.
1989 2002-04-28 Herbert Voss <voss@perce.de>
1991 * insetgraphics.C (latex): fix bug with missing file-extension.
1992 LaTeX still allows a missing "eps" or "ps".
1994 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1996 * insetfloat.C (c-tor, wide): translate the name of the float.
1998 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2000 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
2001 when using natbib and make it work efficiently. Must emphasise that the
2002 real work is Herbert's.
2004 2002-04-23 Herbert Voss <voss@perce.de>
2006 * insetgraphic.C (prepareFile): fix bug with overwriting and
2007 deleting an existing *.eps-file in the doc-dir
2009 2002-04-23 Juergen Vigna <jug@sad.it>
2011 * insettabular.C (drawCellSelection): fix off by 1 error.
2013 2002-04-22 Juergen Vigna <jug@sad.it>
2015 * insettabular.C (setFont): rewoke full selection if it was asked,
2016 after we changed all we had to change.
2018 * insettext.C (insetUnlock): code was uninitialized in some situations.
2020 2002-04-19 Herbert Voss <voss@perce.de>
2022 * insetgraphic.C (prepareFile): return filename without
2023 extension if we only export without compiling
2025 2002-04-19 Juergen Vigna <jug@sad.it>
2027 * insettext.C (draw): call a fullRebreak on the row where we had a
2028 change and reset the cursor and selection-cursors.
2030 * insettabular.C (insetUnlock):
2031 (insetButtonPress): call an update before setting the_locking_inset = 0
2032 as otherwise we don't repaint!
2033 (update): reset the cursor position when we changed dimensions as
2034 otherwise our cursor may be on the wrong spot.
2036 2002-04-18 Juergen Vigna <jug@sad.it>
2038 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
2039 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
2040 redraw otherwise we won't redraw.
2042 * insettext.C (draw): fixed the setting of LyXText::first_y it was
2043 not really right before, but I only discovered this with the last
2044 changes to Page up/down.
2046 2002-04-17 Juergen Vigna <jug@sad.it>
2048 * insettext.C (checkAndActivateInset): simplified as we now have the
2049 edit(bv, bool) call.
2051 * insettext.h: changed behind variables to front variables to be
2052 equal to the one in the edit call (as it is for that they are used).
2054 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2056 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
2057 not output anything at all!
2059 2002-04-16 Juergen Vigna <jug@sad.it>
2061 * insettabular.C (insetButtonPress):
2062 (insetUnlock): call a redraw on unlocking the cell inset.
2064 * insettext.C (insetButtonPress): same as below.
2065 (lockInset): new function to set initial values when inset should
2067 (insetButtonPress): use above function.
2068 (insetUnlock): don't force a repaint only set the updateStatus. The
2069 outside world should repaint if it thinks it should be done!
2071 * insettabular.C (insetButtonPress): init values if not set as locked
2072 as we are locked if someone presses on us and don't call the edit()
2073 call of the InsetText to lock it do it as BufferView does it!
2075 * inset.h (insetInInsetY): make func const and return an int.
2078 * insetcollapsable.C: adapt the above changed function.
2080 2002-04-15 Juergen Vigna <jug@sad.it>
2082 * insettext.C (getCursorPos): return relative position as to be able
2083 to give them directly to the edit() call.
2084 (edit): we have to set also x_fix as it is not set inside the
2085 setCursorFromCoordinates call!
2086 (insetMotionNotify): ditto.
2088 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2090 * insetbib.C (getKeys): strip leading '\t's from the line too.
2091 With thanks to Henry Pfister <hpfister@ucsd.edu>.
2093 2002-04-12 Juergen Vigna <jug@sad.it>
2095 * insettext.h: added cix() helper function and use it where appropriate
2097 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2099 * insetgraphics.C (prepareFile): fix bug when graphics is a
2102 2002-04-12 Juergen Vigna <jug@sad.it>
2104 * insettext.C (insertInset): remove unneeded code!
2105 (updateLocal): fitCursor() fixes.
2106 (collapseParagraphs): fix a possible problem when having a selection
2107 and collapsing the paragraphs.
2109 2002-04-08 Herbert Voss <voss@perce.de>
2111 * insetgraphic.C (write): write the rotating angle as
2112 a float as is. test only for != 0.0
2114 2002-04-11 Juergen Vigna <jug@sad.it>
2116 * insettext.C: new function ciy() and use it for setting inset_y.
2118 * insetert.C (draw): fix the x return for collapsed version.
2120 2002-04-07 Herbert Voss <voss@perce.de>
2122 * insetgraphic.C (readFigInset): fix bug with subcaption and
2125 2002-04-08 Herbert Voss <voss@lyx.org>
2127 * insetgraphicsparam.C: forgot special option and delete old
2130 2002-04-05 Juergen Vigna <jug@sad.it>
2132 * insettext.C (localDispatch): make a CURSOR update if we inserted
2135 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2137 * insetfloatlist.C (getScreenLabel):
2138 (latex): use Floating::listName
2139 (validate): new method
2141 2002-04-03 José Matos <jamatos@fep.up.pt>
2143 * insetlabel.C (docbook): the anchor is an empty element in docbook.
2145 * insetfoot.[Ch] (docbook): added forgotten method.
2147 2002-04-03 Juergen Vigna <jug@sad.it>
2149 * insettext.C (insetButtonPress): fix insetButtonPress events the same
2150 way as in Bufferview_pimpl.
2152 2002-04-03 Allan Rae <rae@lyx.org>
2154 * insetgraphics.C (latex): one % too many makes living on the bleeding
2155 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
2157 2002-03-28 Herbert Voss <voss@lyx.org>
2159 * insetgraphic.C (latex): simplify the code for the latex
2160 output when the file doesn't exist
2162 2002-03-29 Juergen Vigna <jug@sad.it>
2164 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
2167 * insettabular.C (edit): call fitCursor().
2169 * insettext.C (insetButtonPress): change behaviour of no_selection
2170 to the one in the BufferView selection_possible and fix the spurious
2171 selection bug with it.
2172 (localDispatch): revoke selection on BREAK... functions.
2174 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2176 * insetfloatlist.C (getScreenLabel): translate the GUI label.
2178 2002-03-28 Juergen Vigna <jug@sad.it>
2180 * insettabular.C (insetAllowed): return true as default value otherwise
2181 we're not able to insert insets inside paragraphs of an not locked
2184 2002-03-27 Herbert Voss <voss@lyx.org>
2186 * insetgraphicsparam.C: change c%, p% to col%, page%
2188 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2190 * insetspecialchar.C (isLineSeparator): disable the nice code to
2191 allow linebreaks after hyphenation and menu separators.
2193 2002-03-26 Herbert Voss <voss@lyx.org>
2195 * insetgraphics.C (figinsetRead): set the right lyxview
2197 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2199 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
2200 $\backslash$ and pass a "string const &" to the function.
2201 (prepareFile, latex): use Path rather than MakeAbsPath.
2203 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2205 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
2206 proper fix to the graphics cache.
2207 (latex): "really" nice output if the file is not found ;-)
2209 2002-03-26 Juergen Vigna <jug@sad.it>
2211 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
2212 (collapseParagraphs): fixed inserting of separator ' '
2214 * insettabular.C (insertAsciiString): only check for buffer lenght
2215 not if we have \t or \n inside the buffer as if we don't have we only
2216 have 1 cell and that's it!
2218 * insetert.C (close): don't collapse if inlined.
2220 2002-03-25 Herbert Voss <voss@lyx.org>
2222 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
2223 graphics file does not exist.
2225 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
2227 * insetgraphics.C (prepareFile): ensure that the file has an absolute
2228 path when preparing export.
2230 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
2231 no longer MakeRelPath.
2233 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2235 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
2236 Used to determine the absolute path to the graphics file in the
2237 graphics cache and only in the graphics cache.
2238 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
2239 make graphics file name absolute if it is stored as a relative path.
2241 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
2242 make graphics file name absolute if it is stored as a relative path.
2244 * insettext.C (edit): emit an updateParagraph signal on entering a text
2245 inset. Needs to be emitted when leaving the inset also.
2247 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2249 * all files: ws cleanup
2251 * Makefile.am: remove ld -r stuff
2253 2002-03-21 Juergen Vigna <jug@sad.it>
2255 * insettext.C (appendParagraphs): new function added to append
2256 the paragraphs to this insets paragraphs.
2258 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2260 * Makefile.am: special rules if partial linking
2262 2002-03-19 Juergen Vigna <jug@sad.it>
2264 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
2266 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
2268 * insetgraphics.C: Clean up Baruch's comments a little.
2269 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
2271 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
2274 * insettheorem.C: wrap warnings
2276 * insetgraphics.C: improve messages, move cached_status_
2277 setting to safer place
2279 2002-03-18 Juergen Vigna <jug@sad.it>
2281 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
2283 (localDispatch): ditto
2285 * insettext.C (edit): removed unneeded showCursor calls.
2286 (localDispatch): ditto.
2288 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2290 * insetgraphics.h: remove display() method.
2292 2002-03-11 Juergen Vigna <jug@sad.it>
2294 * insetgraphics.C (draw): hack to fix the redrawing bug.
2295 (draw): seems this fixes #268 (force redraw of row if we changed).
2297 * insettext.C (updateInsetInInset): fixed for updates in insets inside
2298 this inset text (don't know why I missed this earlier).
2300 2002-03-08 Juergen Vigna <jug@sad.it>
2302 * insettabular.C (updateLocal): do a FULL update if we're not locked
2303 and only a CELL update is asked.
2305 * insettext.C (updateInsetInInset): update insets inside inset also
2306 if it isn't inside the_locking_inset.
2308 * insettabular.C (updateInsetInInset): ditto.
2310 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2312 * insetexternal.C (doSubstitution): check whether we are using a
2313 temp dir for defining $$FPath
2315 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2318 * insettext.C: remove #include "WorkArea.h".
2320 2002-03-06 Juergen Vigna <jug@sad.it>
2322 * insettext.C (draw): fixed frame redrawing.
2323 (clear): forgot to set the inset_owner of the paragraph.
2325 * insetert.C (status): pay attention the bv can be 0 here!
2326 (getMaxWidth): add the default leftMargin
2328 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2330 * insetert.C (getMaxWidth): make w unsigned int.
2332 2002-03-05 Juergen Vigna <jug@sad.it>
2334 * insetert.C (status): change behaviour of Inlined.
2335 (getMaxWidth): added for new inlined behaviour.
2337 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2339 * insetnote.h (linuxdoc, docbook): add empty methods.
2340 * insetinclude.C (validate): fix a case where buffer->niceFile was used
2341 before being initialized.
2343 2002-03-05 Juergen Vigna <jug@sad.it>
2345 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
2346 only that one in the inset. Should be enough.
2347 (updateLocal): set the selection cursor always if we don't have a
2348 selection to be sure it's set!
2350 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
2352 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2354 * insettext.C (clear): a gross hack to set layout on a newly
2357 2002-03-04 Juergen Vigna <jug@sad.it>
2359 * insettabular.C (localDispatch): inserted handling of
2360 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
2361 (insertAsciiString): new helper function.
2363 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2365 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
2368 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2370 * insettext.C (InsetText): initalize newly created par with
2371 default layout. add bufferparams parameter
2374 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
2375 * insetcollapsable.[Ch] (InsetCollapsable): ditto
2376 * insetert.[Ch] (InsetERT): ditto
2377 * insetfloat.[Ch] (InsetFloat): ditto
2378 * insetfoot.[Ch] (InsetFoot): ditto
2379 * insetfootlike.[Ch] (InsetFootLike): ditto
2380 * insetmarginal.[Ch] (InsetMarginal): ditto
2381 * insetminipage.[Ch] (InsetMinipage): ditto
2382 * insetnote.[Ch] (InsetNote): ditto
2383 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
2385 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2387 * insettext.C: layout as string
2389 * insetinclude.C: layout as string
2391 * insetert.C: layout as string
2393 * insetbib.C: layout as string
2395 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2398 * insettabular.C: remove #include "lyx_gui_misc.h".
2400 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2405 * inset.h: remove figinset, yahoo !
2407 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2409 * insetgraphics.C (c-tors): initialise parent classes explicitly in
2410 copy c-tor and initialise member variables in the correct order.
2412 2002-02-28 Juergen Vigna <jug@sad.it>
2414 * insettabular.C (localDispatch): clear selection on PgUp/Down.
2416 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2418 * inset.h: ... and add a better one here.
2420 * insetcommand.C (insetButtonRelease): remove that one which was a
2423 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2425 * insetcommand.C (insetButtonRelease): ... and move it here.
2427 * inseturl.h: remove insetButtonRelease from there...
2429 2002-02-26 Juergen Vigna <jug@sad.it>
2431 * inseturl.h: Added a insetButtonRelease call returning true as
2434 * insetlabel.C (edit): Fixed wrong update handling after change I
2435 leave in the wrong code for the one who wrote it to remove and have
2436 a look what he did wrong.
2438 * insettabular.C (localDispatch): force a SELECTION update if we
2439 had a selection and we passed the event down to the inset (fix #213)
2440 (localDispatch): handle font changing stuff when we have a cell
2441 selection so that the selection is not rewoked. I don't really like
2442 this fix, but it's the only way I see to do it right now.
2444 2002-02-22 Juergen Vigna <jug@sad.it>
2446 * insettext.C (insetUnlock): set the cursor to the second paragraph
2447 if available and if the first one is empty (fix #191).
2449 2002-02-20 Juergen Vigna <jug@sad.it>
2451 * insettext.C (getDrawFont): implemented this function to call the
2452 one of the owner if present as the owner normally knows what to do
2455 * insetert.C: implement getDrawFont() function and comment out all
2456 the crap for setting a special latex font inside this inset.
2457 (InsetERT): added a Lanugage parameter to this constructor.
2459 * inset.h: added function getDrawFont(LyXFont & font) to be able to
2460 change the font for being drawn on screen (used only in InsetERT for
2463 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
2464 and also above (was missing).
2465 (updateLocal): don't remove the cell selection if we have one this
2466 should be done where we really want to remove it.
2468 2002-02-20 José Matos <jamatos@fep.up.pt>
2470 * insetinclude.h: include_label made string const.
2472 * insetinclude.C (InsetInclude): moved include_label initialization.
2475 (validate): fix support for temporary directory, for docbook and
2478 * insetgraphics.h : new private member, graphic_label, that holds
2479 the entity name that defines the graphics location (SGML).
2481 * insetgraphics.C (unique_id): new function to give a unique label
2484 (validate): the file locatation is given by an entity reference.
2486 2002-02-18 Herbert Voss <voss@lyx.org>
2488 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2490 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2492 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
2493 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2495 2002-02-18 José Matos <jamatos@fep.up.pt>
2497 * insetinclude.C (validate): some code only applies to latex buffers,
2498 it was made conditional.
2500 2002-02-12 Herbert Voss <voss@lyx.org>
2502 * insetgraphics.C: (prepareFile) do not check at this time
2503 if the file is present.
2505 2002-02-12 Herbert Voss <voss@lyx.org>
2507 * insetgraphics.C: latex(), return the correct newlines
2509 2002-02-13 José Matos <jamatos@fep.up.pt>
2511 * inseturl.C (docbook): escape & in url.
2513 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2515 * insetspecialchar.C (isLineSeparator): line breaking is allowed
2516 after HYPHENATION and MENU_SEPARATOR
2518 * inset.h (isLineSeparator): new method, returns false by default.
2520 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2522 * insetert.C (status): do not update the text inset, but the ERT
2525 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
2527 * insetnote.C: use notebg for background
2529 2002-02-08 Herbert Voss <voss@lyx.org>
2532 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2533 prevent LyX from unzipping when this should be handled
2534 by latex vis the graphic.cfg.
2537 2002-02-08 Herbert Voss <voss@lyx.org>
2539 * insetgraphic.C: prepareFile(): fix bug when file doesn't
2540 exists, than return filename with extension
2542 2002-02-06 Herbert Voss <voss@lyx.org>
2544 * insetgraphic.C: prepareFile(): don't convert the file, when
2545 it's not viewed in LyX. Saves a lot of time when opening a
2548 2002-02-05 Herbert Voss <voss@lyx.org>
2551 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2552 and adding a rotate bool similiar to subcaption
2554 2002-02-04 Herbert Voss <voss@lyx.org>
2557 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2558 similiar view to the LaTeX one. Get zipped files work.
2560 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2562 * insetgraphicsParams.C (init): set display to DEFAULT.
2563 No longer #include "lyxrc.h".
2565 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2567 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2568 for now (so that the code compiles).
2570 2002-02-02 Herbert Voss <voss@lyx.org>
2572 * insetgraphic.C: delete inVariant() and some minor changes
2573 * insetgraphicsParams.[C]:
2575 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
2577 * insetgraphics.C (updateInset): if params.display == DEFAULT,
2578 interogate lyxrc.display_graphics before diaplaying the graphic.
2580 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2581 InsetGraphicsParams::DisplayType.
2583 2002-01-31 Herbert Voss <voss@lyx.org>
2585 * insetgraphic.C: (readfigInset) set display to pref-default
2587 2002-01-30 Herbert Voss <voss@lyx.org>
2589 * insetgraphic.C: get the filetyp from it's contents
2590 * insetgraphicparams.C: add token scale and lyxrc.display when
2591 creating a new inset
2593 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
2595 * figinset.C: added using std::ios directive.
2597 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2599 * figinset.C (runqueue): open translation file in binary mode (for
2602 2002-01-27 Herbert Voss <voss@lyx.org>
2604 * insetgraphic.[Ch]: mostly newritten to support graphicx with
2605 all options and to be sure that the old figinsets are correct
2607 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2608 structure and to support all lengths as LyXLength. The Parameter
2609 structure changed again, but reading of "old" 1.2 graphic insets
2612 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
2614 * insetert.h (forceDefaultParagraphs): Added
2616 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2618 * insettabular.C (getMaxWidth):
2619 (forceDefaultParagraphs): use Tabular::GetCellFromInset
2621 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2623 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2624 of LyXLength::inPixels
2626 * inset.C (latexTextWidth):
2627 * insetminipage.C (latexTextWidth): new method, which implements
2628 the equivalent of the LaTeX macro \textwidth
2630 * insetminipage.C (getMaxWidth): use latexTextWidth
2632 2002-01-18 Juergen Vigna <jug@sad.it>
2634 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2636 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2638 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2640 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2643 2002-01-17 Juergen Vigna <jug@sad.it>
2645 * insettabular.C (lockInsetInInset): same change as in insettext.
2647 * insettext.C (draw): width() function was called without setting
2648 the right top_x which could lead to wrong insetWidth setting!
2649 (lockInsetInInset): call edit instead of calling lockInset if we
2650 have to lock an inset inside!
2651 (edit): we have to also tell the inset that we have to redraw the
2652 frame on an edit call if this inset draws a frame only if locked.
2654 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2656 * insetbib.C (getFiles): uncomment Path variable.
2658 2002-01-16 Juergen Vigna <jug@sad.it>
2660 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2663 2002-01-16 Allan Rae <rae@lyx.org>
2665 * insetinclude.C (docbook): someone forgot a ";"
2667 2002-01-16 José Matos <jamatos@fep.up.pt>
2669 * figinset.C (docbook): removed a old place holder "@".
2670 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2671 * insetinclude.C (linuxdoc): if include is verbatim, then export the
2672 ascii text version, clearly guarded inside a CDATA section.
2673 (docbook): in docbook 4, inlinegraphics is empty.
2674 * insettabular.C (linuxdoc): export the ascii version of the table
2675 inside a CDATA section.
2677 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2679 * insetparent.C (InsetParent):
2680 * insetgraphicsParams.C (Write):
2682 * insetgraphics.C (prepareFile):
2685 * insetexternal.C (executeCommand):
2686 (doSubstitution): use Buffer::filePath
2688 * insetbib.C (getFiles): add a #warning for Angus
2690 * insetgraphics.C: Add a remark about how filenames should be
2691 considered to be relative to buffer (but absolute is still allowed)
2692 (draw): do not try to get status if lyxrc.use_gui is false
2694 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2697 * insetcollapsable.[Ch]:
2698 * insettabular.[Ch] (searchForward, searchBackward): change the
2699 bool const & params to bool.
2701 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2702 to avoid the name clash with InsetCollapsable's methods of the same
2703 names but different functionality.
2705 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2707 * insettext.C (ascii): use lyx::count rather than countChar.
2709 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
2711 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2713 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2715 * insetgraphics.C (updateInset): do not try to render image if
2716 lyxrc.use_gui is false (bug #104)
2718 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2719 if file does not exist
2721 * figinset.C (browseFile): add shortcuts to directory buttons
2723 * insettext.C (updateLocal): update menubar and toolbar here too.
2725 2002-01-13 Allan Rae <rae@lyx.org>
2727 * insettabular.C (InsetTabular): Both constructors now initialise
2728 all class variables.
2730 2002-01-11 Juergen Vigna <jug@sad.it>
2732 * insettext.C (insetButtonPress): set the_locking_inset to 0.
2734 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2736 * insettabular.C (getStatus): add forgotten brace around multiline
2739 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2741 * insetfloat.C (validate): require "float" instead of "floats".
2743 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2745 * insettabular.C (getStatus): use FuncStatus
2747 2002-01-08 Juergen Vigna <jug@sad.it>
2749 * insettabular.C (insetButtonRelease): now this should work too
2752 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2753 if the width is a percentage.
2755 * inset.h: added isChar() function and implemented this for
2756 insetspecialchar insetquotes and insetlatexaccent.
2757 added forceDefaultParagraphs() and implemented it for insettabular.
2759 2002-01-07 Juergen Vigna <jug@sad.it>
2761 * insettext.C (getLyXText): Fixed this function. An insert into the
2762 map is only done if we REALLY have a new BufferView.
2764 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
2766 * insettext.C: fix bug illustrated by attachment #37 of bug #59
2768 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2770 * insetinclude.C: fix use of FileInfo
2772 2002-01-07 Juergen Vigna <jug@sad.it>
2774 * insettabular.C (draw): fixed clearing of cell around inset.
2776 2002-01-05 Juergen Vigna <jug@sad.it>
2778 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2779 variables are updated.
2781 * insettabular.C (resetPos): set always the inset_y as it may be
2782 needed in another function.
2783 (searchBackward): don't draw while searching.
2785 2002-01-04 Juergen Vigna <jug@sad.it>
2787 * insettext.C (lockInsetInInset): forgot to set a cursor.
2789 2002-01-02 Juergen Vigna <jug@sad.it>
2791 * insettext.C (insertInset): make the correct undo informations on
2792 inserting new insets.
2794 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
2796 * insettabular.C: correct single-cell select vertically
2798 2001-12-27 Juergen Vigna <jug@sad.it>
2800 * insettabular.C (ascii): export as tab-separated-values if the
2801 function was not called from export (f.ex.: clipboard).
2803 * insetcollapsable.h: added default support for ascii, linuxdoc and
2804 docbook export (the insettext is exported by default!)
2806 * insettabular.C (copySelection): suff the clipboard with the tabular
2807 data in a tab separated format, seems more naturals then with all the
2810 2001-12-24 Juergen Vigna <jug@sad.it>
2812 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2813 to check for REAL mouseMotion.
2815 2001-12-20 Juergen Vigna <jug@sad.it>
2817 * inset.C (cursor): return the owners cursor if available instead of
2818 always only the bv->text->cursor.
2820 * insettabular.C (checkLongtableSpecial): works now.
2822 2001-12-19 Juergen Vigna <jug@sad.it>
2824 * insettabular.C (tabularFeatures): fix the row setting of ltt as
2825 this has to be always row + 1 as 0 means not selected!
2826 (checkLongtableSpecial): added
2827 (tabularFeatures): better longtable options support
2829 * insettext.C (resizeLyXText): reinit the text always also on a
2832 2001-12-18 Juergen Vigna <jug@sad.it>
2834 * insettext.C (updateInsetInInset): look if we have to autocollapse
2835 paragraps and return if the update is requested for ourself.
2837 * insetert.C (status): update the insettext not myself as that is what
2840 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2841 function only return if the update was requested with myself.
2843 * insettext.C (insetButtonPress): fixed stupid bug.
2844 (various functions): pay attention that lt is cleared BEFORE calling
2845 updateLocal() and try to use it in the right manner (don't use it
2846 if it's not really neccessary!)
2847 (collapseParagraphs): insert a blank between collapsing paragraphs
2848 if neccessary (not already there!).
2850 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2852 * insettabular.C: move includes around a bit, add a couple of
2855 * insettext.[Ch]: move includes around a bit, other ws changes and
2858 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2860 * insettext.C (insetButtonRelease): fix compile problem
2862 2001-12-17 Juergen Vigna <jug@sad.it>
2864 * insettext.C (insetButtonPress): set the selection cursor!
2865 (insetButtonPress): clear the selection (and set with that the
2866 selection.cursor) if we only hit an inset!
2868 * insetert.C (read): removed piece of compatibility code only needed
2871 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2874 * insetcollapsable.C (insetButtonRelease): changed so that it can
2875 open eventual existing popup dialogs on mousebutton==3.
2877 * insetfloat.C (insetButtonRelease): removed not needed anymore!
2879 * insetminipage.C (insetButtonRelease): removed not needed anymore!
2881 * inset.C (insetButtonRelease): return a bool for telling the outer
2882 world that we opened a dialog.
2884 2001-12-07 Juergen Vigna <jug@sad.it>
2886 * insettext.C (paragraph): remove the deleteing of paragraphs as
2887 it was a WRONG move!
2889 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2892 * insettabular.C: use new setSelection(). Allow
2893 selection of single cells.
2895 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2897 * insetquotes.C (latex): fix to use the local language setting at
2898 the point where the inset is inserted (different macros for
2899 different french packages)
2901 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2903 * inset.h: add par_owner_ member variable and parOwner
2906 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2908 * insettabular.C (everywhere): adapt because widths are now real
2909 widths and not strings
2911 * insettext.C (draw): re-introduce the calls to width(), ascent()
2912 and descent() to initialize the caching variables.
2914 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2916 * insettext.C (draw):
2917 (drawFrame): use insetWidth instead of last_width
2919 * insettext.h: remove variable last_width (insetWidth is exactly
2920 the same) and last_height (computed but never used!)
2922 2001-12-10 Allan Rae <rae@lyx.org>
2924 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2926 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2928 * insettext.C (insetAllowed): add comment
2930 2001-12-05 Juergen Vigna <jug@sad.it>
2932 * insettext.C (insetAllowed): fixed for the case that we directly
2933 ask the insettext from its LyXText.
2934 (paragraph): fixed the crash when assigning the par->next() from
2935 the EmptyParagraphMechanism!
2937 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2941 * insettext.C: change "while(" to "while ("
2943 2001-12-04 Juergen Vigna <jug@sad.it>
2945 * insetert.C (edit): handle Inlined status.
2947 * insettext.C (insertInset): trying John's fix for the trailing cursor
2949 * insetert.C (insetButtonPress): added to handle inlined status
2950 (insetMotionNotify): ditto.
2952 * insettext.C (clearInset): changed Painter & in BufferView * param,
2953 to be able to call ascent,descent methods.
2955 2001-12-03 Juergen Vigna <jug@sad.it>
2957 * insettext.C (updateInsetInInset): use lt variable to forbid
2958 changes of LyXText in an update call.
2959 (updateInsetInInset): fixed updating of non locked insets!
2961 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2963 * insettabular.C: capture some more functions to prevent
2964 selection drawing problems. Bug #451274
2966 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2969 * insetgraphicsParams.C: fix inverted sense of float_equal
2971 2001-11-30 Juergen Vigna <jug@sad.it>
2973 * insettabular.C (InsetTabular): use the save_id flag to create also
2974 the tabular with the same id's.
2976 * insettext.C (setParagraphData): added a same_id function for undo
2977 to set the same paragraph id's as of the paragraph we are setting.
2979 2001-11-30 José Matos <jamatos@fep.up.pt>
2982 * insettoc.[Ch]: DocBook -> docbook.
2984 2001-11-29 André Pönitz <poenitz@gmx.net>
2987 * insettext.C: further reduction of header dependencies by using
2988 lyx::layout_type and lyx::textclass_type from support/types.h
2990 2001-11-29 Juergen Vigna <jug@sad.it>
2992 * insettext.C: inserted a reinitLyXText function everywhere I delete
2993 the paragraphs! This should fixe the crashes we had.
2994 Also use the new function firstRow() instead of getRowNearY(dummy_y)
2995 (paragraph): set the InsetOwner() of the new paragraphs!
2997 2001-11-28 André Pönitz <poenitz@gmx.net>
2999 * insetnote.C: add pos initialization that I removed without
3002 2001-11-28 Juergen Vigna <jug@sad.it>
3004 * insettabular.C (resetPos): hack to not crash with infinite paints.
3006 * insettabular.h: insert missing function allowSpellcheck()!
3008 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
3010 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
3013 * insetfloatlist.C: derive from InsetCommand so gui can use it
3016 2001-11-26 André Pönitz <poenitz@gmx.net>
3020 * insetnote.C: reduce header dependencies, introduce type for
3023 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3025 * various: update for Alert.h
3027 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
3029 * inset.h: fix comment
3031 * insettext.C: use par->isInset()
3033 2001-11-22 Allan Rae <rae@lyx.org>
3035 * insetcollapsable.h:
3036 * inset.h: Changes to checkInsertChar() behaviour.
3037 Now return value indicates whether chars can be inserted.
3039 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
3041 * various: updated to use the new LaTeXFeatures
3043 2001-11-14 José Matos <jamatos@fep.up.pt>
3045 * insetspecialchar.C (linuxdoc):
3046 (docbook): don't give a name to a unused variable.
3048 * insettext.C (docbook): removed unused variable.
3050 2001-11-13 Herbert Voss <voss@perce.de>
3052 * insetgraphic.C: fix scale bug
3054 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3056 * inset.h (isSpace):
3057 (isLetter): new virtual methods.
3059 * insetspecialchar.C (isSpace):
3060 (isLetter): implement here.
3062 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
3064 * inset.h: new inline helpers
3066 * insettext.C: use new helpers
3068 2001-11-07 José Matos <jamatos@fep.up.pt>
3070 * insettext.C (docbook): full support for paragraphs inside insettext.
3072 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
3074 * insetindex.C: added header file for std::ostream.
3076 2001-11-03 José Matos <jamatos@fep.up.pt>
3078 * insetindex.C: added using std::ostream that I forgot yesterday.
3080 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
3082 * insetindex.h (docbook):
3083 * insetindex.C (docbook): added support for docbook export.
3085 2001-11-02 José Matos <jamatos@fep.up.pt>
3087 * insetcaption.C(docbook): added support for docbook export.
3089 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
3091 * insetexternal.C (updateExternal): Do not run update command if
3092 result file exists and is up to date.
3094 * ExternalTemplate.C (readFormat): Support the updateresult token.
3096 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
3098 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
3099 external_templates) to use the buffer->fileName() but only if
3100 previewing. Generating a TeX file should make FPath return
3103 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
3106 * insetert.C: fix some problems
3108 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
3110 * insetexternal.C (doSubstitution): Added $$FPath token
3111 to list of usable substitutions in external inset templates.
3113 2001-10-24 Juergen Vigna <jug@sad.it>
3115 * insettabular.C: use new ltType struct for setting longtable
3116 header and footers also new UNSET enums.
3118 2001-10-24 José Matos <jamatos@fep.up.pt>
3120 * insettabular.C (linuxdoc): Now exports the ascii's table version.
3121 (docbook): If the table is not inside a float then wrap it inside
3122 <informaltable>...</informaltable>.
3124 2001-10-23 José Matos <jamatos@fep.up.pt>
3126 * insetref.C (docbook): removed / terminator to conform SGML.
3128 * insetspecialchar.C (linuxdoc):
3129 (docbook): Added support for special chars, more than ascii export.
3131 2001-10-22 Juergen Vigna <jug@sad.it>
3133 * insettext.C (checkInsertChar): added for REALLY checking the
3134 font of the inserted char in the right inset!
3136 2001-10-19 Juergen Vigna <jug@sad.it>
3138 * inset.h: added method allowSpellcheck() so that insets who do
3139 not have anything to spellcheck can tell and so they are over-jumped.
3140 Implemented for InsetText and co.
3142 2001-10-18 Juergen Vigna <jug@sad.it>
3144 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
3146 2001-10-15 José Matos <jamatos@fep.up.pt>
3148 * insetert.C: allow export for docbook and linuxdoc
3150 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3152 * insetquotes.C (dispString): handles latin3 and latin4 quotes
3154 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3156 * insetquotes.C (dispString): fix handling of latin9 quotes
3158 2001-10-03 Juergen Vigna <jug@sad.it>
3162 * insetcollapsable.C: change updateInset calls to not tell BV that
3163 we have changed status.
3165 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3167 * insettabular.C (deletable): make const
3169 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
3171 * insetert.C (latex): Fix the returned value
3173 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
3175 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
3176 Returns string(), so nothing in an ERT inset is spellchecked.
3178 * insetgraphics.C (draw): print the filename if not displaying the
3180 (width): make sure that the width and draw methods are consistent.
3181 (updateInset): don't even load the image into cache if not displaying
3184 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
3186 * various files (selectNextWord): renamed as
3187 selectNextWordToSpellcheck.
3189 * insetgraphics.C (draw): remove the previous change. Right place
3190 is in imageLoaderXPM.C.
3191 (draw): don't display the image if params.display == NONE.
3193 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
3195 * figinset.C (runqueue):
3196 * insetgraphics.C (draw): set background colour of inset from
3197 background to the user-configurable graphicsbg.
3199 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3201 * insetquotes.C (InsetQuotes): when trying to decide the side of
3202 the quote, choose `left' only after a space or '('
3204 2001-09-04 José Matos <jamatos@fep.up.pt>
3209 * insetcollapsable.h
3227 * insetlatexaccent.C
3228 * insetlatexaccent.h
3233 * insetspecialchar.C
3234 * insetspecialchar.h
3238 * insettext.C (docbook): rename docBook method to docbook.
3240 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
3242 * inset.h (getFirstParagraph): New virtual method.
3244 2001-08-20 Herbert Voss <voss@perce.de>
3245 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
3246 in the the bibtex-database-gui for inserting a line
3249 If no style is given than there is no tex-output.
3251 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
3253 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
3257 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
3259 * insetert.C (latex): Fix output for multiple paragraphs.
3260 (write): New code for writing paragraph data.
3261 (read): Set font after reading the inset.
3262 (localDispatch): Call set_latex_font() for more cases.
3264 * insetnote.h: Add empty validate method.
3267 * insetnote.C (InsetNote): Set language to the language of the
3270 2001-08-16 Juergen Vigna <jug@sad.it>
3272 * insettext.C: implemented the new FINISHED states.
3274 * insettabular.C: ditto
3276 * inset.h: added more FINISHED states for cursor right,up,down
3278 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3280 * insetfloatlist.C: use "FloatName List"
3282 2001-08-14 Juergen Vigna <jug@sad.it>
3284 * insetert.C (edit): forgot to set status_ in edit calls!
3286 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
3288 * insettext.C: Compilation fix
3290 2001-08-13 Juergen Vigna <jug@sad.it>
3292 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
3294 * insetcollapsable.C (edit): don't recollapse an already open inset.
3296 * insettext.C: fixed problem when reinitializing LyXText by not doing
3297 it while lt is in use and post this to the next possible time in
3299 (searchForward): fixed not unlocking of inset if nothing found.
3300 (edit): set cursor behind right (was set -1 pos).
3302 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
3304 * insettabular.C (tabularFeatures): fixed fix where deleting the
3305 last row didn't get the right actcell!
3307 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
3309 * insettext.C (localDispatch): Change language only when the inset
3312 2001-08-10 Juergen Vigna <jug@sad.it>
3314 * insettabular.C (selectNextWordInt): use the front using edit call.
3316 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
3317 the parameter overwrite class variable inset.
3319 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
3321 * insettext.C (saveLyXTextState): check for invalid cursor-par.
3322 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
3324 * insettabular.C (calculate_dimensions_of_cells): let's try to call
3325 update only for fixed with cells.
3326 (resetPos): try to fix the lockup on spellchecking or s&r.
3328 * insettext.C (update): comment this out as it seems first wrong
3329 and second not needed anymore!
3330 (some functions): call reinitLyXText() only in update() in all other
3331 positions set only need_update = INIT.
3333 2001-08-08 Juergen Vigna <jug@sad.it>
3335 * insettabular.C (setPos): fixed wrong actrow < rows() check.
3337 * insettext.C (insetUnlock): remove double-space on inset unlock.
3339 * insetcollapsable.C (draw): fix returned x when label > inset-width.
3341 * insettabular.C (update): fixed cursor positon after an insert.
3342 (insetAllowed): do not allow to insert insets when not inside the
3344 (draw): clear below an inset too as it could have changed height.
3346 * inset.C (getMaxWidth): fixed width for inset in inset.
3348 * insettext.C (update): small fix.
3350 * insettabular.C (tabularFeatures): added selection support to
3351 DELETE_ROW/DELETE_COLUMN.
3353 2001-08-07 Juergen Vigna <jug@sad.it>
3355 * inset.C (getMaxWidth): recoded and all it's implementations!
3357 * insettext.C (init,setParagraph+constructors): cleanups
3358 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
3359 are new and I want do a save/restore of the cursor position which is
3360 not possible anymore.
3362 * insetcollapsable.C (searchBackward): recollapse inset if not found.
3363 (searchBackward): ditto
3364 (selectNextWord): ditto
3366 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
3368 * insetlatexaccent.C (checkContents): Add some debug messages
3370 2001-08-07 Juergen Vigna <jug@sad.it>
3372 * insetert.C (read): don't use InsetCollapsable::read as we don't
3373 write the collapsed status anymore only the status.
3376 2001-08-06 Juergen Vigna <jug@sad.it>
3378 * insetert.C (set_latex_font): use LyXText's setFont directly.
3380 * insettext.C (drawFrame): fixed one time more the right position
3381 and size of the frame!
3383 * insetert.C (~InsetERT): hide the dialog.
3384 (showInsetDialog): added implementation
3387 (status): new function for the status of the ERT inset (3-state).
3388 (write): output also the status of the inset for readback!
3389 (read): readback the status if available otherwise use collapsed_.
3391 * insettext.C (edit): small fix of setting the position, which could
3394 * insetert.C (width): implement this function for inlined viewing.
3395 Added minimum width of 10 pixels!
3397 * insetminipage.C (InsetMinipage): just change the colors a bit so
3398 that border/background is a bit more visible. We will remove this
3401 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
3402 function for getting the important widths for drawing in various
3403 functions and in LyXText.
3404 (draw): fixed up a bit (frame drawing/clearing)
3406 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3408 * inset.C (convertFont): delete method. not used.
3410 2001-08-03 Juergen Vigna <jug@sad.it>
3412 * insettext.C (setFont): don't call for a draw update if we're just
3413 changing the cursor font!
3415 2001-08-02 Juergen Vigna <jug@sad.it>
3417 * insettext.C (draw): clear the background with the right color if
3418 needed. Update myself if x&max-width changed and return without doing
3419 anything. Let the update code handle the right stuff.
3421 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
3422 inside another inset.
3424 2001-08-01 Juergen Vigna <jug@sad.it>
3426 * insetcollapsable.C (update): added an in_update bool so we avoid
3429 * insettabular.C (update): added an in_update bool so we avoid
3432 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
3434 (update): added an in_update bool so we avoid reentering.
3436 * insettabular.C (localDispatch): clear col/row selection when doing
3437 something else inside an inset.
3439 * insettext.C (getLyXText): fixed bug when requesting a recursive
3442 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
3444 * insetcite.C (latex): Paranoia check. Make sure that there is no
3445 whitespace between the citation keys.
3447 2001-07-31 Juergen Vigna <jug@sad.it>
3449 * inset.h (nodraw): make the set function also const so that this
3450 can be called from inside other const functions.
3452 * insetcollapsable.h: removed inline variable and moved it over
3453 to the only user InsetERT.
3455 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
3456 inset opening immediately therein lying insets dialogs!
3458 * insetert.C (localDispatch): set the font also if we don't have any
3459 chars in this paragraph, otherwise if we delete all of em and start
3460 writing we have the wrong font.
3462 (draw): implemented for inline support
3463 (insetButtonRelease): ditto.
3465 2001-07-30 Juergen Vigna <jug@sad.it>
3467 * insettext.C (reinitLyXText): new function to reinit the insets
3468 text after lot's of paragraph changes. Use this instead of the
3469 cache.clear() which is VERY dangerous.
3471 * insetfloat.C (insetButtonRelease): we should only show the dialog
3472 if we press on the label otherwise we have problems to open mouse
3473 button 3 dialogs inside this float (f.ex. of a tabular!)
3475 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3477 * insetert.C: change back to "ERT"
3479 * insetfloat.C: handliign of RMB on label added.
3481 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3483 * insetgraphicsParams.C: #include LOstream.h here.
3485 * insetfoot.h: remove InsetFoot:: qualifier.
3487 2001-07-29 Baruch Even <baruch@lyx.org>
3489 * ChangeLog: Hiding time travel evidence.
3491 * insetgraphicsParams.h:
3492 * insetgraphicsParams.C:
3493 * insetgraphics.C: Added horizontal scale option, it actually scales both
3494 directions since it keeps image proportions.
3496 * insetgraphics.C: Fixed EPS detection to be non-hacky.
3498 2001-07-29 Baruch Even <baruch@lyx.org>
3500 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
3501 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
3503 HACKY! Will need to add an EPS detection routine like old InsetFig does!
3505 2001-07-29 Baruch Even <baruch@lyx.org>
3507 * insetgraphics.C: Added EPSI to be an alias of EPS.
3509 2001-07-29 Baruch Even <baruch@lyx.org>
3511 * insetgraphics.C: Change GRAPHICS to Graphics.
3512 Changed image conversion rules (documented at the beginning of file).
3514 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
3516 * insetert.C (get_new_label): int -> Paragraph::size_type to get
3519 * insetgraphics.C: added a using std::endl directive.
3521 * insetcommand.h (getScreenLabel): removed pure virtual function,
3522 as it duplicates that in InsetButton.
3524 * insetbib.[Ch] (getScreenLabel):
3525 * insetbutton.[Ch] (getScreenLabel):
3526 * insetcite.[Ch] (getScreenLabel):
3527 * insetert.[Ch] (getScreenLabel):
3528 * insetexternal.[Ch] (getScreenLabel):
3529 * insetfloatlist.[Ch] (getScreenLabel):
3530 * insetinclude.[Ch] (getScreenLabel):
3531 * insetindex.[Ch] (getScreenLabel):
3532 * insetlabel.h (getScreenLabel):
3533 * insetparent.[Ch] (getScreenLabel):
3534 * insetref.[Ch] (getScreenLabel):
3535 * insettoc.[Ch] (getScreenLabel):
3536 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3538 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3540 (validate): remove check on "cite" when using natbib.
3542 2001-07-26 Baruch Even <baruch@lyx.org>
3544 * insetgraphics.C (draw): changed casting to be in one place rather than
3545 all over the function.
3548 * insetgraphics.C (read): Added compatibility reads of InsetFig.
3550 * insetgraphicsParams.h:
3551 * insetgraphicsParams.C:
3552 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3554 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3556 * insetfoot.C (validate): Added method to ensure that the
3557 right bit of LaTeX is emitted.
3559 * insetfoot.h: Added validate method to set the correct
3560 LaTeXFeatures bit for the special footnote code.
3562 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3564 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3567 2001-07-27 Juergen Vigna <jug@sad.it>
3569 * inset.h: remove not used font variable in parameter.
3570 removed checkInsertChar in UpdatableInset as it was equal to
3571 the one in Inset and so not needed.
3573 * insetert.C (checkInsertChar): implementation of function
3576 * inset.h: added new function checkInsertChar.
3578 * various files: added c-tor and clone() function.
3580 * insetcollapsable.h: removed clone function here as this should
3581 be only realized in REAL insets and added it to all collapsable
3582 insets! (with the copy-constructor).
3584 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3586 * insetminipage.C (read): handle missing parameters more gracefully
3588 * insetcollapsable.C (read): handel missing collapsed more gracefully
3590 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3592 * insetfloat.C (read): handle missing parameters.
3594 * insettext.C (read): handle old latex end_inset
3596 * insetert.C (setButtonLabel): new method
3597 (init): use it, to set the dynamic label correctly
3600 * Makefile.am (EXTRA_DIST): add files that is not part or the
3603 * insetcollapsable.h: remove autocollapsable (no users), remove
3604 draw_label, change_label_with_text and companion code. Remove args
3606 * insetert.[Ch]: move here instead (only user)
3608 * inset.h: rename private variable name to name_, make
3609 selectNextWord return a const string. make getInsetName return a
3610 string const &. Remove bool from open, add close.
3612 * Makefile.am: don't compile insetlist, insetsection
3615 2001-07-24 Juergen Vigna <jug@sad.it>
3617 * insetert.C (InsetERT): put init after the paragraph initialization,
3618 as otherwise we don't set the draw_label right.
3620 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3621 insets with the mouse without having strange selections.
3622 (edit): if the inset was collapsed and we open it here then put the
3623 cursor always at the beginning of the inset.
3624 (get_new_label): 15 instead of 10 max chars in the label.
3626 * insetert.C (localDispatch): added and handle various stuff we
3627 need to handle here (font setting on paragraph break, not permitted
3628 layout setting, etc.).
3630 * inset.h: added default copy-consturctor and implemented this in
3631 various insets with the change to use this in the clone function!
3633 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3635 * insetminipage.C (InsetMinipage): set background color to red :)
3637 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3639 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3640 draw frame mode is LOCKED.
3642 * insetcollapsable.C (edit):
3643 (insetButtonRelease): set update status to full when
3646 * insettext.C (clearInset):
3647 * insettabular.C (draw):
3648 * insetlatexaccent.C (draw): honor background color.
3650 * inset.h: new member background_color_, initialized to
3653 * inset.C (backgroundColor): new method.
3654 (setBackgroundColor): new method.
3656 * insetert.C (init): new method, called by the ctors.
3657 (InsetERT): when inserting contents, make sure the font is
3660 * insetnote.C (InsetNote): when inserting content, remove trailing
3662 (init): set background color to LColor::note
3664 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3666 * insetcollapsable.C: adjust
3668 * insetbutton.C: adjust
3670 2001-07-23 Juergen Vigna <jug@sad.it>
3672 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3673 parameter on the _collapsed function (was not needed) and call
3674 always width_collapsed().
3676 * insetert.C (InsetERT): use setLabel with "true" flag.
3678 * insetcollapsable.C: modified various functions to set the draw_label
3679 string right in any condition.
3680 (setLabel): added a bool parameter to set change_label_with_text.
3682 * insetcollapsable.h: added draw_label string which is set to the
3683 actual drawn label-string, while label is the original static label
3684 of this collapsable inset. Added bool change_label_with_text to set
3685 if we want that the label changes to the start of the InsetText's
3686 text when collabpsed. You can set this flag with the setLabel funciton.
3687 Added bool inlined for inlined collapsable insets, but not handled
3690 * insetcollapsable.C (get_new_label): added should get a new label
3691 from the InsetText beginning (for now 10 chars).
3693 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3695 * insetquotes.C (latex): fix the handling of french double quotes
3696 when not using the french pachage.
3698 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3700 * insetcollapsable.h: make WidthCollapsed mutable.
3702 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3703 InsetPrintIndex returns INDEX_PRINT_CODE.
3705 * inset.h: add INDEX_PRINT_CODE
3707 * insetcollapsable.C (draw): init widthCollapsed if necessary
3710 * insetquotes.C (width): use the local language, not the document
3713 (dispString): add additional spacing for all french languages,
3715 (validate): make it work when there is no default language
3717 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3719 * insetnote.C (init): new method, called by the constructors
3720 (InsetNote): new constructor with contents passed as a string
3722 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3724 * insetfootlike.C (insetAllowed): disallow float in footlike.
3726 * insetert.C (InsetERT): add collapsed argument to the constrctor
3729 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3731 * insetindex.h: shut off warning
3733 2001-07-20 Juergen Vigna <jug@sad.it>
3735 * insetcollapsable.C (update): recoded hopefully works now!
3737 2001-07-19 Juergen Vigna <jug@sad.it>
3739 * most files: implemented the below new introduced function.
3741 * inset.h: added new edit(BufferView *, bool front) method to be able
3742 to enter an inset from the front/back without knowing x/y positions
3743 and baselines inside the inset. So I just can tell the inset activate
3744 me and set the cursor on the front/back of yourself.
3746 2001-07-18 Juergen Vigna <jug@sad.it>
3748 * insetcollapsable.C (edit): fixed hopefully the y parameter which
3749 is given to the InsetText.
3750 (insetButtonPress): ditto
3751 (insetButtonRelease): ditto
3752 (insetMotionNotify): ditto
3754 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3756 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3757 LIGATURE_BREAK, since the name is so stupid.
3759 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3761 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3762 the default InsetCollapsable methods. I.e., it can insert anything.
3763 (write) output the name of the inset, not some silly hack for
3764 compatability with the old InsetInfo.
3766 * insetinfo.[Ch]: removed.
3767 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3768 now collapsable, but functionality is otherwise identical to InsetInfo.
3770 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3772 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3774 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3777 * insetquotes.C: general cleanup
3778 (dispString): add spaces inside french double quotes.
3779 (latex): ditto. Moreover, treat first the case where the frenchb
3780 or french options have been given.
3782 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3784 * insetcite.[Ch] (latex, validate): new methods, required for natbib
3787 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
3789 * figinset.C (RegisterFigure): Print debug message only when
3790 current_view is available.
3792 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3794 * many files: update to match the change below
3796 * inset.h (insetAllowed): renamed from insertInsetAllowed;
3797 implement the version which takes an inset here.
3799 * insetcollapsable.[Ch]: implement open and isOpen
3801 * inset.h: remove insertInsetAllowed from Inset
3802 (open): new method, to open or close an inset
3803 (isOpen): returns the status of an inset
3804 (isCollapsable, colapse): removed
3806 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3808 * insetquotes.C (dispString): display french guillemets when using
3811 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3813 * insetcollapsable.h: remove bogus return statements
3815 2001-07-18 Juergen Vigna <jug@sad.it>
3817 * insettabular.C (selectNextWord): fixed spellchecking for the
3818 first cell of a tabular (wasn't entered!)
3819 (getLyXText): changed to enter automatically insettext and return
3820 it's LyXText if we're locked.
3822 2001-07-17 Juergen Vigna <jug@sad.it>
3824 * various files: implemented the below functions.
3826 * inset.h: added functions
3827 - virtual string selectNextWord(BufferView *, float & value) const;
3828 - virtual void selectSelectedWord(BufferView *) { return; }
3829 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3830 needed for spellchecking correctly!
3832 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
3834 * insetert.C (latex): write out all paragraphs.
3836 2001-07-17 Baruch Even <baruch@lyx.org>
3838 * insetgraphics.C (draw): Removed unneeded casts.
3840 2001-07-16 Juergen Vigna <jug@sad.it>
3842 * insettext.C (update): fixed small oversight (reset lt to 0).
3844 2001-07-14 Baruch Even <baruch@lyx.org>
3847 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3849 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3851 Consistent use of Lsstream.h:
3852 * figinset.C: removed using std::ostringstream directive.
3854 * insetgraphics.C (createLatexOptions):
3855 * insetinclude.C (unique_id):
3856 std::ostringstream -> ostringstream.
3857 * insettext.C (localDispatch): std::istringstream -> istringstream.
3859 2001-07-13 Juergen Vigna <jug@sad.it>
3861 * insetfloat.C (insertInsetAllowed): added missing const_cast.
3863 * insetcollapsable.C (getLockingInset): ditto.
3865 2001-07-12 Juergen Vigna <jug@sad.it>
3867 * insetcollapsable.h: added implementation of new function for
3870 * various files: added implementation of new insertInsetAllowed-func
3871 and redone the function a bit more.
3873 * inset.h: added isCollapsable(), bool collapsed(),
3874 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3876 * insetfloat.C (insertInsetAllowed): make a bit more checks.
3878 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3879 LyXText which is marked for removal while we're using it!
3881 * insettext.h: added private LyXText * lt to use it to assure we are
3882 not deleting our LyXText while we're using it!
3884 2001-07-11 Juergen Vigna <jug@sad.it>
3886 * insettext.C (insertInset): check if we are before the inset after
3887 inserting it! This check IS needed. Remove the Undo-Call as it is
3888 called in LyXText::insertInset!
3890 * insettext.h: added struct InnerCache.
3892 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3893 that we ONLY delete the LyXText in the getLyXText() routine. So we
3894 are sure we don't delete LyXText while someone is working with it!
3896 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3898 * insetexternal.C: (*it). -> it->
3899 * insettext.C: ditto
3901 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3903 * insetcollapsable.C (edit): always open collapsed insets (even if
3904 they are not autocollapsable)
3906 * insetcommand.C (operator=): simplify.
3908 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3910 * insetert.C (latex): handle META_NEWLINE
3912 2001-07-09 Juergen Vigna <jug@sad.it>
3914 * insetert.h: a normal InsetText can insert insets, but we won't.
3916 * inset.h: return default "false" on insertInsetAllowed and implement
3917 this function where a returnvalue != "false" is needed.
3919 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3921 * insetert.C (InsetERT): new contructor
3923 2001-07-06 Juergen Vigna <jug@sad.it>
3925 * a lot of files: added implementation of the below new functions
3926 and the change to clone(). Also the call of the new undo-functions
3929 * inset.h: added an inset_id, added functions getParFromID,
3930 getInsetFromID, firstParagraph, cursor and id functions, added
3931 bool same_ids to clone function.
3933 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3935 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3936 of BufferView * and shared_ptr<LyXText>
3938 2001-07-05 Juergen Vigna <jug@sad.it>
3940 * insettext.C (clear): deleted also the cache not only LyXText.
3941 (setParagraphData): ditto.
3943 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3945 * insetfloat.C (latex): let the specific placement take presedence
3946 if set, otherwise choose document placement if set, otherwise just
3947 use float default placement.
3949 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3951 * insettext.C (localDispatch): call CutAndPaste::'s static method
3954 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3956 * insetbib.C: no meed to include forms.h here.
3958 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
3960 * insettext.C: added using std::make_pair directive.
3962 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3964 * insettext.C (getLyXText): avoid multiple lookups, and simplify
3966 (deleteLyXText): ditto
3967 (resizeLyXText): ditto
3969 2001-07-02 Juergen Vigna <jug@sad.it>
3971 * insettext.C (getLyXText): introduce a cache in getLyXText so that
3972 following calls are only returned the right pointer without the over
3973 head to search in the map.
3974 (various funcs): reset the cached_bview variable as this signs that
3975 the cache is not valid anymore.
3977 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3979 * insettabular.C (clone): do not copy the LyXTabular twice
3981 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3983 * insettext.h (TEXT): delete method
3985 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3987 * insetmarginal.C (latex):
3988 * insetfoot.C (latex): fix spacing of notes in LaTeX
3990 * insettext.C (localDispatch): use .c_str() on istringstream
3991 constructor argument.
3993 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3998 * inseturl.C: fix method names in these to begin
3999 with small char too, so they inherit
4001 2001-06-28 Juergen Vigna <jug@sad.it>
4003 * insettext.C (setFont): fixed font settings using toggleFree()
4004 instead of setFont().
4006 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4008 * Change a lot of method names to begin with a small char.
4009 Changes to a lot of files because of this.
4011 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4013 * insetfloatlist.C (Write): std:: qualify ostream
4016 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
4020 * insetgraphics.C: send debug output to Debug::INFO instead of
4023 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
4026 * insettabular.C (getStatus): update to use func_status
4028 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
4030 * insetref.C (DocBook): added support for cross-references without
4033 2001-06-26 The LyX Project <jug@sad.it>
4038 * insetlabel.h: removed escape method and moved it to
4041 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4043 * insettabular.C (getMaxWidth): do the speedup in a different way,
4046 2001-06-24 The LyX Project <Asger>
4048 * insettabular.C (getMaxWidth): We cache a mapping from
4049 inset to cell in order to speed this method up.
4051 2001-06-24 The LyX Project <Asger>
4053 * insettext.C: Optimized InsetText::draw or something.
4055 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
4057 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
4059 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4061 * inset.h: name change from lyxinset.h
4063 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
4065 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
4067 2001-06-14 Juergen Vigna <jug@sad.it>
4069 * insettext.C (draw): removed warnings.
4071 2001-06-13 Juergen Vigna <jug@sad.it>
4073 * insettabular.C (nodraw): only go down the tree if we don't have
4074 that flag set otherwise it's obvious that we don't want to draw.
4075 (LocalDispatch): do also an update if we have an undispached result.
4077 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
4080 * insetgraphicsParams.C:
4081 * insettext.C: removed // -*- C++ -*- as first line.
4083 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4085 * lyxinset.h (resizeLyXText): shut off warning about unused
4088 2001-06-07 Juergen Vigna <jug@sad.it>
4090 * insettext.C (resizeLyXText): honor the new force flag.
4092 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
4094 * insettabular.C (deleteLyXText): new function
4096 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4104 * insetcollapsable.C:
4105 * insetcaption.C: LColor tidy
4107 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4109 * figinset.C: fix typo
4111 2001-06-01 Juergen Vigna <jug@sad.it>
4113 * insettabular.C (resetPos): small hack so that scroll is not set to
4114 0 when we are in the last column of a tabular. This is a problem we
4115 have because of constats 20 offset on both directions, so this can
4116 cause on the limit an endless loop.
4118 * insettext.C (SetFont): forgot that we can have locking insets ;)
4120 2001-05-31 Juergen Vigna <jug@sad.it>
4122 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
4124 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4126 * figinset.C: add using std:: directive for the C functions which
4129 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
4131 * insetfloat.C (Write): write out wide info
4132 (Read): read the wide info
4133 (Latex): use the wide info when creating latex.
4135 * insettext.C: adjust
4137 * insetgraphics.[Ch] (statusMessage): change to return string
4141 * figinset.C (runqueue): add std::
4144 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4146 * insetcite.C (Ascii): add std:: qualifier
4148 2001-05-28 Juergen Vigna <jug@sad.it>
4150 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
4151 a endless-width inset (maxWidth < 0).
4152 (Edit): change language only if not equal.
4154 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
4156 * insettext.C (draw): fixed draw/clear of InsetText-Frame
4158 2001-05-16 Juergen Vigna <jug@sad.it>
4160 * insettext.C (selectAll): added
4161 (clearSelection): added
4163 * insettabular.C (SetFont): now we may set a font on a whole selection!
4164 (getSelection): added helper function.
4166 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
4168 * insetcite.C (Ascii): Add method.
4170 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
4173 * insetbib.C: fix path for OS/2 & Win32
4175 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4177 * insetfoot.C (Latex): don't use % after footnote.
4179 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4181 * insettext.C (Read): use clear
4182 (SetParagraphData): use LyXParagraph copy constructor instead of clone
4184 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4186 * insetfloatlist.h: add a bunch of std:: qualifiers.
4188 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4190 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
4191 FLOAT_LIST_CODE, renumber code list.
4193 * insettoc.C (getScreenLabel): remove support for float lists
4197 * insetfloatlist.[Ch]: new files
4199 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
4201 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
4203 * insettabular.C (LocalDispatch):
4204 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
4207 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4209 * insettext.C: remvoe !NEW_INSETS cruft
4211 * insettabular.C: remove !NEW_INSETS cruft
4213 * insetcollapsable.h: remove !NEW_INSETS cruft
4215 * insetbib.C: remove !NEW_INSETS cruft
4217 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4219 * insettoc.C: hack to make listof algorithm work
4221 2001-04-20 Juergen Vigna <jug@sad.it>
4223 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
4225 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4227 * insetquotes.C (Latex): improve the guard against
4228 unwanted !` and ?` ligatures. This should really be done in
4229 another place (to catch all this ligatures at low-level).
4231 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4233 * insettext.C (init): remvoe leftovers from cursor_visible change
4234 (draw): use c++ cast
4235 (LocalDispatch): dispatch LFUN_MESSAGE
4237 * insettabular.C (InsetTabular): remove leftovers from
4238 cursor_visible, and scoped_ptr changes
4239 (draw): use c++ cast
4241 * insetcollapsable.C (draw): use c++ cast
4243 * ExternalTemplate.h: inherit privaely from noncopyable
4244 * insetcommand.h: ditto
4245 * insetinclude.h: ditto
4247 2001-04-16 Allan Rae <rae@lyx.org>
4249 * insettoc.C (Ascii):
4250 * insettext.C (draw):
4251 * insettabular.C (setPos):
4252 * insetminipage.C (Read):
4253 * insetfloat.C (placement):
4254 * insetcaption.C (Ascii, DocBook):
4255 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
4256 an unrecognised preprocessor directive. So ensure they're wrapped.
4258 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
4261 * insetexternal.C: set view on Clone. Add _ to private members.
4263 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4265 * insettext.C (InsetText): fix new
4266 (InsetText): reindent some, simplify deletion of par list
4267 (clear): simplify deletion of par list, fix new
4268 (SetParagraphData): simplify deletion of par list
4270 * insettabular.[Ch] (getLabelList): implement new method
4272 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4274 * lyxinset.h: do not include gettext.h...
4282 * insetlatexaccent.C:
4286 * inseturl.C: ... and do it here instead
4288 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4290 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
4292 * insettext.[Ch] (getLabelList): add std:: on vector<string>
4294 * insetcollapsable.[Ch] (getLabelList): implement
4296 * insettext.[Ch] (getLabelList): implement
4298 * insettext.h: reindent
4300 * insettabular.h: make tabular a scoped_ptr
4302 * insettext.C (init): adjust for cursor_visible
4303 (ToggleInsetCursor): constify asc and desc, font, adjust for
4305 (ShowInsetCursor): constify asc and desc, font, adjust for
4307 (HideInsetCursor): adjust for cursor_visible
4309 * insettabular.C: reindent some
4310 (InsetTabular): adjust for scoped_ptr and cursor_visible
4311 (InsetTabular): ditto
4312 (~InsetTabular): delete delete
4313 (Clone): adjust for scoped_ptr
4314 (Read): constify old_format, adjust for scoped_ptr, move init of
4316 (draw): constify tx, localize loop vars.
4317 some other localization of variables, remove double initilizatons.
4319 * insetfoot.C: remove using std::ostream, add ostream where needed
4321 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4323 * lyxinset.h: some reindentaion, use initializer list for
4325 UpdatableInset: make cursor_visible a private var add
4326 public isCursorVisible(), add protected toggleCursorVisible() and
4327 proctected setCursorVisible(bool), make scroll call the Inset::scroll
4329 * insettoc.C: remvoe using decl
4330 (getScreenLabel): make cmdname donst
4333 (Ascii): don't use endl
4335 * insetfootlike.C: remove using decl at file scope and add std::
4337 * insetmarginal.C: ditto
4339 * insetfoot.C: some reformatting
4341 * insetfloat.C (InsetButtonRelease): adjust the hit area
4343 * insetert.C (SetFont): some reformatting
4345 * insetcollapsable.C: some reformatting and constification
4346 (Clone): comment out.
4347 * insetcollapsable.h: some reformatting
4348 (Clone): comment out.
4353 2001-03-30 Juergen Vigna <jug@sad.it>
4355 * insetcollapsable.h: changen *inset to be a InsetText inset.
4357 * some files: changed to reflect the above change.
4359 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
4361 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
4362 InsetExternal::Params.
4363 Added operator==() and operator!=() for the Params struct.
4365 2001-03-29 Juergen Vigna <jug@sad.it>
4367 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
4370 * insetminipage.C: removed widthp_ and all it's functions and changed
4371 to use new %-lengths of LyXLength.
4373 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4375 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
4377 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4379 * insetgraphicsParams.C (operator!=): new function, needed by the
4380 ControlGraphics class.
4382 2001-03-28 Juergen Vigna <jug@sad.it>
4384 * insettext.C (InsetButtonPress): only enter !inset if button == 2
4385 (checkAndActivateInset): don't use the values returned from
4386 call to bv->checkInsetHit.
4388 * insetminipage.C (Clone): set special minipage values.
4390 * insetcollapsable.C (draw): changed to draw the button in the
4391 upper left corner outside the textinset.
4392 (ascent): changed because of different drawing
4396 (InsetButtonPress): ditto
4397 (InsetButtonRelease): ditto
4398 (InsetMotionNotify): ditto
4400 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
4402 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
4406 2001-03-26 Juergen Vigna <jug@sad.it>
4408 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
4410 * insettext.C (ShowInsetDialog): implemented above function.
4412 * insettabular.C (ShowInsetDialog): ditto
4414 * insetminipage.C (ShowInsetDialog): ditto
4416 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4418 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
4419 InsetInclude::Params. Don't store a buffer * in Params. Store the
4420 master file name instead.
4422 2001-03-23 Juergen Vigna <jug@sad.it>
4424 * insetcollapsable.C (InsetMotionNotify):
4425 (InsetButtonRelease):
4426 (InsetButtonPress): fixed y-offset (minipages).
4428 * insettext.C (draw): force a FULL update if cleared == true.
4430 * insetcollapsable.C (draw): Lars forgotten entry for changing this
4431 routine to draw the minipages on its position-flag.
4432 (InsetInInsetY): give back the right y position, because of minipage
4435 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4438 * insetfloat.C (DocBook): docbook export code.
4440 2001-03-22 Juergen Vigna <jug@sad.it>
4442 * insetminipage.C (getMaxWidth): added function to set the drawing
4444 (Read): should work now!
4446 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
4447 if we create a new inset.
4449 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4451 * figinset.C (fl_set_preemptive_callback): moved definition outside
4454 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4456 * insetminipage.C (Read): prepare for reading of minipage arguments.
4458 2001-03-18 Baruch Even <baruch@lyx.org>
4460 * insetgraphics.C: Minor cleanups of the comments and code.
4462 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4464 * insetminipage.C (InsetMinipage): default to not collapsed
4466 2001-03-16 Juergen Vigna <jug@sad.it>
4468 * insetminipage.C (width): modified with to be a string
4469 (widthp): added widthp (for % width) support functions.
4470 (InsetButtonRelease): added to open the options dialog on button==3.
4471 (~InsetMinipage): added to hide the dialog.
4473 * insetminipage.h: added hideDialog signal
4475 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4477 * insetminipage.h: change the order or Position to match
4478 LyXParagraph::MINIPAGE_ALIGNMENT
4480 * several files: remvoe CXX_WORKING_NAMESPACES
4482 * ExternalTemplate.h: noncopyable is in namespace boost
4483 * insetinclude.h: ditto
4484 * insetcommand.h: ditto
4486 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4488 * insettext.C (Edit): #else# -> #else.
4489 * insettoc.C: added using directive.
4491 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4493 * insetminipage.h: add pos, inner_pos, width and height. + getters
4494 and setters for all of them.
4496 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4498 * insetinclude.C (Latex): Do not exit when the textclass of the
4499 included file differ from the textclass of the parent file.
4501 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
4503 * ExternalTemplate.C (read): the reading of external insets now checks
4504 for \end_inset and removes it form the input stream.
4506 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4508 * ExternalTemplate.h:
4509 * ExternalTemplate.C:
4511 * insetexternal.C: move form to GUII
4513 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4516 * insetinclude.C: add InsetIncludeParams, use
4517 composition rather than derivation of InsetCommand
4519 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4521 * insettoc.C (Ascii): use the Buffer typedefs
4523 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4525 * insettoc.C (Ascii): implement for dynamic number of lists
4527 * insetcaption.[Ch]: update from new_insets branch
4528 * insetfloat.[Ch]: ditto
4530 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4533 * figinset.C: use new File Dialog
4535 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4537 * insettext.C: changes becuase of ParagraphParameters.
4539 2001-02-28 Baruch Even <baruch@ev-en.org>
4541 * insetgraphics.C (updateInset): Changed due to the change in
4544 2001-02-26 Juergen Vigna <jug@sad.it>
4546 * insettext.C (SetFont): Set Undo only if we have selection (as it is
4547 handled in LyXText).
4549 2001-02-23 Juergen Vigna <jug@sad.it>
4551 * insettext.C (draw): some small repainting fixes.
4552 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4554 * inset.C (LocalDispatch): changed action to be a kb_action (as it
4555 should be) and not an int.
4557 * insettabular.C (LocalDispatch): ditto
4559 * insettext.C (LocalDispatch): ditto
4561 * insetcollapsable.C (LocalDispatch): ditto
4563 2001-02-22 Juergen Vigna <jug@sad.it>
4565 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4566 DISPATCH it and we don't have a locking_inset.
4568 2001-02-21 Baruch Even <baruch@ev-en.org>
4570 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4571 instead of GraphicsCacheItem *.
4573 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4575 * insetcollapsable.C (getLyXText): add const qualifier to second
4578 2001-02-22 Juergen Vigna <jug@sad.it>
4580 * insettext.C (getLyXText): honor the recursive parameter.
4581 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4583 * inset.C (getLyXText): added bool recursive parameter.
4585 * insettext.C (SetUpdateStatus): or the update codes.
4586 (draw): check need_update with &.
4587 (InsetButtonPress): set no_selection to not put a selection when
4588 entering an inset and it is redraws in another spot.
4590 * insettext.h: made need_update an int.
4592 2001-02-20 Baruch Even <baruch@ev-en.org>
4595 * insetgraphisc.C: Changed to use better semantics when loading images
4596 for inline view. Now it doesn't keep the pixmap itself but it's holder.
4598 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4602 * insetgraphics.C: change name of "hide" signal to "hideDialog",
4603 consistent with InsetTabular.
4605 2001-02-19 Juergen Vigna <jug@sad.it>
4607 * insettabular.C (LocalDispatch): implement PAGE up/down.
4609 * insettext.C (draw): clear all of it on need_update==INIT too!
4611 * insettabular.C (InsetUnlock): always clear the selection.
4613 * inset.C (scroll): normally we only want to scroll the inset until
4614 it is fully visible so if top_x + offset > 20 then just set scx to 0.
4616 2001-02-14 Juergen Vigna <jug@sad.it>
4618 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4619 (resetPos): fixed scroll behaviour.
4620 (LocalDispatch): do an update if moving cursor inside a table cell
4621 requests a scroll of the tabular.
4623 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4625 * insettext.C (textWidth): constify local var
4627 * insettabular.C: small cleanup.
4629 * insetfoot.C (Latex): constify local var
4631 * insetcollapsable.C: small cleanup.
4633 * figinset.C (runqueue): use compare instead of strcmp
4635 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4638 * insetinfo.C: remove cruft
4640 2001-02-14 Juergen Vigna <jug@sad.it>
4642 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4644 2001-02-13 Juergen Vigna <jug@sad.it>
4646 * insettext.C (InsertInset): don't move left (is this right?)
4648 * insettabular.C (LocalDispatch): use of the no_draw variable
4650 * insettabular.h: new no_draw variable to stop redraw
4652 * insettabular.C (TabularFeatures): fixed update for alignment change
4654 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4658 * insetbib.C: move dialogs to frontends/
4660 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4662 * insettext.C (LocalDispatch): Restore the language if the inset
4665 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4667 * insettext.C (moveRightIntern): Update the selection cursor.
4668 (moveLeftIntern): Ditto.
4670 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4672 * Makefile.am: remove BoundingBox.h
4674 * BoundingBox.h: removed
4676 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
4678 * insettext.C (LocalDispatch): Update selection cursor when moving
4679 cursor to the right.
4680 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4681 (moveLeftIntern): Ditto.
4683 2001-02-05 Baruch Even <baruch.even@writeme.com>
4685 * insetgraphics.C: Updated automatic image conversion, it now goes into
4686 temporary directory instead of with the image itself.
4688 2001-01-21 Baruch Even <baruch@ev-en.org>
4690 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4691 to EPS or PNG when needed (support bitmap graphics).
4693 2000-11-02 Baruch Even <baruch@ev-en.org>
4696 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4697 and removal of commented out code.
4699 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4701 * insetbib.C (callback): Update citations if the key has changed.
4703 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4705 * insetbib.C (InsetBibKey): Better computation of default key.
4706 (getScreenLabel) Show both the key and the label.
4707 (getBibLabel): New method.
4708 (callback): Force a redraw if the inset have been changed.
4710 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4712 * insetref.C (getType, getName): Move methods from
4713 src/frontends/xforms/FormRef.C.
4715 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
4717 * insettabular.C: Various improvements (use only one dummy position).
4719 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
4721 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4722 par->bibkey->width. This fixes the crashes when running without
4723 gui or when having included documents.
4725 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
4727 * insetcommand.C (getAsString, setFromString): Cleanup.
4729 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
4731 * insetref.C: Add the array InsetRef::types that contains
4732 information about all supported reference types.
4734 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4736 * lyxinset.h: remove trailing comma in enum.
4738 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
4740 * insettext.C: kill LyXBell.