2 2003-05-05 André Pönitz <poenitz@gmx.net>
4 * insettext.h: add missing #include <map>
6 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8 * insettext.C (InsetText): parlist cleanup
13 (lockInsetInInset): ditto
17 (searchBackward): ditto
18 (collapseParagraphs): ditto
20 2003-05-06 John Levon <levon@movementarian.org>
22 * insetcaption.C: don't cast wrap inset to InsetFloat
25 * insetfloat.C: remove unneeded type() function
27 2003-05-05 André Pönitz <poenitz@gmx.net>
32 * insetcollapsable.[Ch]: remove unused function firstParagraph()
33 replace getFirstParagraph() by getParagraphs()
35 2003-05-03 John Levon <levon@movementarian.org>
44 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
45 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
46 getCursor(). Remove explicit cursor hides.
48 2003-05-02 André Pönitz <poenitz@gmx.net>
50 * insettext.C: remove unneeded &*
52 2003-04-30 John Levon <levon@movementarian.org>
54 * insettabular.C: fix edit message
56 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
58 * insettext.C (setFont): do not convert iterator -> pointer
60 * insettabular.C (localDispatch): do not convert iterator -> pointer
62 (tabularFeatures): ditto
64 2003-04-29 André Pönitz <poenitz@gmx.net>
66 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
68 2003-04-28 André Pönitz <poenitz@gmx.net>
70 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
73 2003-04-25 André Pönitz <poenitz@gmx.net>
75 * insetenv.C: derive from InsetText instead of InsetCollapsable
77 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
79 * insetexternal.C (string2params): dont do anything if the string
81 * insetgraphics.C (string2params): ditto
82 * insetcommand.C (string2params): ditto
83 * insetert.C (string2params): ditto
84 * insetfloat.C (string2params): ditto
85 * insetinclude.C (string2params): ditto
86 * insetminipage.C (string2params): ditto
87 * insettabular.C (string2params): ditto
88 * insetwrap.C (string2params): ditto
90 2003-04-24 André Pönitz <poenitz@gmx.net>
92 * insetref.C: support for eqref
94 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
96 * insetert.C (read): use ParagraphList::iterator.
98 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
100 * insetquotes.C (latex): comment some code and add warnings.
102 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
104 * insetexternal.C (localDispatch): added a missing DISPATCHED
106 2003-04-12 John Levon <levon@movementarian.org>
108 * insetwrap.C (addToToc): fix a crash, conversion
109 from while to for loop forgot to remove the explicit
112 2003-04-10 John Levon <levon@movementarian.org>
114 * insettabular.C (tabularFeature): make sure
115 to update the dialog when we change something
118 (getStatus): don't disable some lfuns (bug 939)
120 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
122 * insettext.C (saveLyXTextState): adjust
123 (localDispatch): adjust
129 * insettabular.C (localDispatch): adjust
131 (tabularFeatures): adjust
133 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
135 * insettabular.C (searchForward,searchBackward): fix bug 782
137 2003-04-07 John Levon <levon@movementarian.org>
140 * insettext.C: clear status message on inset exit
142 2003-04-03 John Levon <levon@movementarian.org>
144 * insetcommand.C: return dispatched on DIALOG_UPDATE
146 2003-04-02 John Levon <levon@movementarian.org>
148 * insettabular.C: tab lfuns renamed
150 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
152 * insettext.C (update): move towards ParagraphList
157 (lockInsetInInset): ditto
158 (updateInsetInInset): ditto
159 (localDispatch): ditto
162 (resizeLyXText): ditto
163 (searchBackward): ditto
164 (collapseParagraphs): ditto
167 * insetwrap.C (InsetWrap): adjust
168 (addToToc): adjust and rewrite loop
170 * insettext.[Ch] (paragraph): delete function
172 * insettabular.C (moveNextCell): adjust
173 (movePrevCell): adjust
174 (insertAsciiString): adjust
176 * insetfloat.C (InsetFloat): adjust
179 * insetert.C (InsetERT): adjust
180 (write): adjust, and rewrite loop
181 (latex): adjust, and rewrite loop
182 (linuxdoc): adjust, and rewrite loop
183 (docbook): adjust, and rewrite loop
184 (localDispatch): adjust
185 (get_new_label): adjust
187 2003-04-01 John Levon <levon@movementarian.org>
189 From Alfredo Braunstein
192 * insetbutton.C: add localDispatch()
194 * insetcommand.C: return DISPATCHED when edit() called
196 * insettext.C: fix bug 967
198 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
200 * insettext.C: adjust
202 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
204 * insettext.C (draw): adjust
205 (crow): return a RowList::iterator not a Row*
207 * insetminipage.C (localDispatch): adjust
209 * insetert.C (localDispatch): adjust
211 2003-03-31 John Levon <levon@movementarian.org>
214 * insetgraphicsParams.C: use_gui moved to lyx_gui
216 2003-03-31 John Levon <levon@movementarian.org>
218 * insettext.C: Alert fix
220 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
222 * insettext.C (ascent): adjust for RowList
226 (toggleSelection): adjust
228 * insetminipage.C (localDispatch): adjust for RowList
230 * insetert.C (localDispatch): adjust for RowList
231 (getMaxWidth): adjust for RowList
233 2003-03-29 John Levon <levon@movementarian.org>
235 * insetert.C: Alert cleanup
237 2003-03-29 John Levon <levon@movementarian.org>
239 * insettabular.C: Alert fix
241 2003-03-28 John Levon <levon@movementarian.org>
243 * insetfloat.C: reset label on INSET_MODIFY
245 2003-03-28 John Levon <levon@movementarian.org>
247 * insetgraphicsParams.C: read subcaptionText as a whole line
250 2003-03-28 John Levon <levon@movementarian.org>
252 * insettext.C: remove unused prototypes
254 2003-03-25 Angus Leeming <leeming@lyx.org>
256 * insetbibitem.C (localDispatch): repaint the view after modifying
257 a bibitem inset in case the maximum InsetBibitem width has changed.
259 2003-03-25 John Levon <levon@movementarian.org>
262 * insettabular.C: LyXText renamings
264 2003-03-24 John Levon <levon@movementarian.org>
266 * insettext.C: remove some dead code. Fix bug 972 and
267 related by posting a repaint in updateLocal(), and making
268 the SEL functions set SELECTION.
270 2003-03-22 John Levon <levon@movementarian.org>
273 * inset.C: remove no-longer-needed topx_set
275 * insetcollapsable.h:
276 * insetcollapsable.C: remove dead code
279 * insetert.C: rebreak the rows when a possible
280 change in size is made, and reset the cursor
283 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
285 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
286 topx_set. Fix drawing errors for clearInset(). Remove
287 some unnecessary uses of topx, which should die.
289 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
290 is no longer needed. Replace it with an ugly hack.
292 2003-03-20 John Levon <levon@movementarian.org>
295 * insetcollapsable.h:
296 * insetcollapsable.C:
304 * insettext.C: remove spurious font parameter
305 from update(). Fix drawing of ERT insets inside
306 insets (bug 966). Remove unused mark_dirty from
307 tabular's updateLocal()
309 2003-03-19 John Levon <levon@movementarian.org>
318 * insetwrap.C: remove unused getter/setters
320 2003-03-19 John Levon <levon@movementarian.org>
322 * several files: bv->updateInset() doesn't take
323 a bool mark_dirty any more
325 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * adjust for BufferView* arg removal from lyxtext.
329 2003-03-17 John Levon <levon@movementarian.org>
331 * most files: remove the "cleared" parameter
332 to draw in favour of always clearing. Associated
335 2003-03-16 John Levon <levon@movementarian.org>
337 * insettext.C: remove unused s.refresh
339 2003-03-13 Angus Leeming <leeming@lyx.org>
341 * insettext.C (edit): replace Dialogs::updateParagraph with
342 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
344 2003-03-13 André Pönitz <poenitz@gmx.net>
346 * Makefile.am: insert insetenv
348 * insethenv.[Ch]: new files, currently inactive
350 2003-03-12 John Levon <levon@movementarian.org>
360 * insettext.C: use new insetnewline
362 2003-03-12 John Levon <levon@movementarian.org>
364 * insettext.C: readToken became readParagraph
366 2003-03-12 John Levon <levon@movementarian.org>
368 * insettext.C: use parlist iterator for reading contents
370 2003-03-12 John Levon <levon@movementarian.org>
372 * insettext.C: name change to readToken()
374 2003-03-11 André Pönitz <poenitz@gmx.net>
376 * Makefile.am: insert insethfill
378 * insethfill.[Ch]: new files
380 2003-03-10 Angus Leeming <leeming@lyx.org>
382 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
384 (hideDialog): calls the new static Dialogs::hide() method.
386 * insetbibitem.C (edit):
387 * insetbibtex.C (edit):
388 * insetcite.C (edit):
389 * insetcommand.C (localDispatch):
390 * inseterror.C (d-tor):
391 * insetert.C (showInsetDialog):
392 * insetexternal.C (localDispatch, edit):
393 * insetfloat.C (localDispatch, showInsetDialog):
394 * insetfloatlist.C (edit):
395 * insetgraphics.C (localDispatch, edit):
396 * insetinclude.C (localDispatch, edit):
397 * insetindex.C (edit):
398 * insetlabel.C (edit):
399 * insetminipage.C (localDispatch, showInsetDialog):
401 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
402 resetPos, showInsetDialog, openLayoutDialog):
405 * insetwrap.C (localDispatch, showInsetDialog):
406 changes due to the changed MailInset interface.
408 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
410 * insetfloat.h: Set default placement to an empty string.
412 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
414 * insettext.C (latex): adjust call to latexParagraphs.
416 2003-03-10 Angus Leeming <leeming@lyx.org>
418 * mailinset.C: warn the user if the BufferView has not been cached.
420 2003-03-10 Angus Leeming <leeming@lyx.org>
422 * inset.h, insetbase.h: move cache() and view() into InsetBase.
424 * insetcommand.h (inset):
425 * insetert.h (inset):
426 * insetexternal.h (inset):
427 * insetfloat.h (inset):
428 * insetgraphics.h (inset):
429 * insetinclude.h (inset):
430 * insetminipage.h (inset):
431 * insettabular.h (inset):
432 * insetwrap.h (inset):
433 * mailinset.h (inset): return an InsetBase &, not an Inset &.
435 2003-03-10 Angus Leeming <leeming@lyx.org>
437 * insetcommand.C (string2params):
438 * insetexternal.C (string2params):
439 * insetfloat.C (string2params):
440 * insetgraphics.C (string2params):
441 * insetinclude.C (string2params):
442 * insetminipage.C (string2params):
443 * insettabular.C (string2params):
444 * insetwrap.C (string2params): cure warning message about missing
447 2003-03-09 Angus Leeming <leeming@lyx.org>
449 * insettabular.[Ch]: define a new class InsetTabularMailer and use
450 it to communicate with the frontend dialogs.
452 * mailinset.C (hideDialog): only hide the dialog if it is showing the
453 contents of this inset!
455 2003-03-07 Angus Leeming <leeming@lyx.org>
457 * inseterror.C (localDispatch): new method; calls edit() on
460 2003-03-07 Angus Leeming <leeming@lyx.org>
462 * insetbibitem.C (localDispatch):
463 * insetbibtex.C (localDispatch):
464 * insetlabel.C (localDispatch):
467 2003-03-07 Angus Leeming <leeming@lyx.org>
469 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
470 it to communicate with the frontend dialogs.
472 2003-03-07 Angus Leeming <leeming@lyx.org>
474 * insetexternal.C: remove operator== and operator!= for
475 InsetExternal::Params. They were used only by the old controller
478 2003-03-07 Angus Leeming <leeming@lyx.org>
480 * insetcommand.C (localDispatch):
481 * insetexternal.C (localDispatch):
482 * insetfloat.C (localDispatch):
483 * insetinclude.C (localDispatch):
484 * insetminipage.C (localDispatch):
485 * insetwrap.C (localDispatch):
486 add LFUN_INSET_DIALOG_UPDATE to the switch.
488 2003-03-07 Angus Leeming <leeming@lyx.org>
490 * insetcommand.C (string2params):
491 * insetexternal.C (string2params):
492 * insetfloat.C (string2params):
493 * insetinclude.C (string2params):
494 * insetwrap.C (string2params): use LyXLeX more.
497 * insetexternal.[Ch]:
500 * insetwrap.[Ch]: change Mailer::name_ to be static.
502 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
503 it to communicate with the frontend dialogs.
505 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
508 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
510 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
512 * insettext.C (updateLocal): un-const function
513 (updateLocal): adjust
514 (collapseParagraphs): un-const function
515 (collapseParagraphs): adjust
517 2003-03-05 Angus Leeming <leeming@lyx.org>
519 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
520 it to communicate with the frontend dialogs.
522 2003-03-05 Angus Leeming <leeming@lyx.org>
524 * insetcollapsable.C (draw): cache the BufferView.
526 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
527 it to communicate with the frontend dialogs.
529 2003-03-05 Angus Leeming <leeming@lyx.org>
531 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
534 2003-03-05 Angus Leeming <leeming@lyx.org>
536 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
538 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
539 it to communicate with the frontend dialogs.
541 2003-03-05 Angus Leeming <leeming@lyx.org>
543 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
544 it to communicate with the frontend dialogs.
546 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * insettext.C (collapseParagraphs): adjust
549 (appendParagraphs): make it take a Buffer* instead of a
550 BufferParams& as arg.
551 (appendParagraphs): adjust
553 2003-03-04 Angus Leeming <leeming@lyx.org>
555 * insetbibitem.C (localDispatch):
556 * insetbibtex.C (localDispatch):
557 * insetcommand.C (localDispatch):
558 * insetert.C (localDispatch):
559 * insetlabel.C (localDispatch):
560 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
562 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
564 * insettext.C (latex): adjust for ParagraphList::iterator
566 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * insetbutton.C (view): adjust for boost 1.30.0
569 * insetcollapsable.C (view): ditto
570 * insetgraphics.C (statusChanged): ditto
572 * insettext.h: move paragraphs to be public.
574 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
576 * insetnote.[Ch] (InsetNote): remove unused constructor
578 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
580 * insetgraphics.C: added include "format.h"
582 2003-02-27 Angus Leeming <leeming@lyx.org>
584 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
587 2003-02-27 Angus Leeming <leeming@lyx.org>
589 * insetbibitem.C (localDispatch):
590 * insetbibtex.C (localDispatch):
593 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
595 2003-02-26 Angus Leeming <leeming@lyx.org>
597 * insetbibitem.[Ch] (localDispatch):
598 * insetbibtex.[Ch] (localDispatch):
599 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
601 * insetcommand.C (localDispatch):
602 act only on receipt of LFUN_XYZ_APPLY.
604 * insetert.C (localDispatch): reformat.
605 add LFUN_XYZ_APPLY to the switch.
607 2003-02-26 John Levon <levon@movementarian.org>
609 * insettext.C: use RowPainter
611 * inset.h: make helpers take const *
613 2003-02-26 Angus Leeming <leeming@lyx.org>
615 * insetcommand.[Ch] (localDispatch): new method.
617 2003-02-26 Angus Leeming <leeming@lyx.org>
619 * insetinclude.C (draw): cache the BufferView* using cache not
622 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
624 * insetgraphics.C (draw)
625 * insetinclude.C (draw): Eliminate also the other argument (owner
626 inset inset) in the call to PreviewImage::image
628 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
630 * insetgraphics.C (draw)
631 * insetinclude.C (draw): Eliminate Buferview argument in call to
634 2003-02-25 John Levon <levon@movementarian.org>
636 * insetgraphicsParams.h:
637 * insetgraphics.C: don't start a load process if
638 the inset is set to NoDisplay (bug #920)
640 2003-02-22 John Levon <levon@movementarian.org>
643 * insetwrap.C: TocItem changed API (bug 913)
645 2003-02-21 Angus Leeming <leeming@lyx.org>
647 * insetcollapsable.[Ch] (cache, edit):
648 * insetbutton.[Ch] (cache, edit): new methods to cache the
649 BufferView in the draw method.
651 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
652 simplify comunication between InsetCommand-derived classes and
659 * insetfloatlist.[Ch]:
663 * inseturl.[Ch]: small changes to reflect the new interface to the
666 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
667 other, similar classes.
669 * Makefile.am: add new files.
671 2003-02-21 Angus Leeming <leeming@lyx.org>
673 * updatableinset.h (setView, view): remove.
674 * inset.h (view, cache): to be replaced by these.
676 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
679 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
682 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
684 2003-02-21 Allan Rae <rae@lyx.org>
686 * insetinclude.C (loadIfNeeded): ensure loading also works when
687 child document is under version control.
689 2003-02-17 André Pönitz <poenitz@gmx.net>
691 * insetbib.[Ch]: Adjust access to bibkeys
693 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
695 * insetquotes.C (dispString): remove use of acute accent for "'"
698 2003-02-14 John Levon <levon@movementarian.org>
700 * insettabular.C: changed method names in tabular.C
702 2003-02-14 John Levon <levon@movementarian.org>
706 * insetcollapsable.h:
707 * insetcollapsable.C:
711 * insettext.C: remove unused getParFromID()
713 2003-02-13 John Levon <levon@movementarian.org>
716 * insettext.C: remove unused beginningofMainBody()
718 2003-02-08 John Levon <levon@movementarian.org>
722 * insetcollapsable.h:
723 * insetcollapsable.C:
728 add nextChange(). Make allowSpellcheck() const. Add markErased().
730 * insetert.C: ignore deleted text
732 * insettabular.C: make sure to keep change tracking working
735 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
740 * insettext.C: Use error messages with identical spelling and punctuation
742 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
744 * insetgraphics.C (draw, width): Fix spacing around graphics inset
746 2002-12-17 Juergen Vigna <jug@lyx.org>
748 * insettext.C (localDispatch): hopefully fixed cursor up down
749 movement on leaving other insets.
751 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
753 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
756 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
758 * insetgraphics.C (prepareFile): do not remove the extension of
759 the file name if it is not the default extension for the given
760 format (that is, in latex output, remove extension from foo.eps,
761 but not from foo.epsi)
763 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
765 * insettext.C (lfunMouseRelease): hackish solution to the "double
768 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
770 * insetfloat.C (addToToc): use the floats name not its type
771 * insetwrap.C (addToToc): ditto
773 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
775 * insetnote.C (init): make label font smaller
777 2002-12-04 John Levon <levon@movementarian.org>
779 * insetinclude.C: ressurect setting of command name
781 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
783 * insetquotes.C (dispString): disambiguate insert call
785 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
787 * several files: ws changes
789 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * insetquotes.C (dispString): use string::insert for prepending a
794 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
796 * insetparent.C (getScreenLabel): use boost::format
798 * insetgraphics.C (prepareFile): use boost::format
801 * insetfloatlist.C (latex): use boost::format
803 * insetcaption.C (draw): use boost::format
805 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
807 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
810 2002-11-20 Juergen Vigna <jug@sad.it>
812 * insettabular.C (resetPos): temporary fix for endless loop in
813 this function on a redraw.
815 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * insettabular.C (copySelection): STRCONV
819 * insetinclude.C (uniqueID): STRCONV
822 * insetgraphics.C: put VersionNumber inside anon namespace
823 (createLatexOptions): STRCONV
825 * insetcommandparams.C: include config.h
827 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
829 * insetgraphicsParams.C (Write): use lyx::float_equal.
830 Write height data correctly.
831 (Read): zero scale when reading height data.
833 2002-10-30 John Levon <levon@movementarian.org>
835 * insetfloat.C (addToTOC): recursively traverse all
836 contents looking for captions (fix #568)
838 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
840 * insetexternal.C (doSubstitution): do not try to replace
841 environment variables, this is done when executing the command
843 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
845 * insetexternal.C (doSubstitution): change order of substitution
846 to work around ReplaceEnvironmentPath brokenness
848 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
850 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
852 * insetgraphicsParams.C (init, Write): associated changes
853 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
854 InsetGraphicsParams::scale.
856 2002-10-21 John Levon <levon@movementarian.org>
858 * inset.h: remove unused DISPATCH_RESULT
860 * insettext.C: sgml open/close tag now in sgml namespace
862 2002-10-21 Angus Leeming <leeming@lyx.org>
864 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
865 file path subdir/fig.eps when pasting it into a buffer in a different
868 2002-10-16 John Levon <levon@movementarian.org>
870 * insetspecialchar.C: remove \\protected_separator parsing
872 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
874 * insetquote.C: fix LaTeX output of quotation marks.
876 2002-10-14 Juergen Vigna <jug@sad.it>
878 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
879 Backspace functions which confused the Undo handling.
881 2002-10-09 Angus Leeming <leeming@lyx.org>
883 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
884 BufferView::dispatch that turns off this optimisation when a new inset
887 * insetcite.C (getNatbibLabel): correct logic of when and when not to
888 reload the BibTeX keys.
890 2002-10-11 André Pönitz <poenitz@gmx.net>
892 * insettext.h: handle LFUN_PRIOR/NEXT
894 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
896 * insetfloat.C: fix bug with float settings
897 (document default != float default).
899 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
901 * insetwrap.C (addToToc): New method.
902 (InsetWrap): Set layout to caption.
904 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
906 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
908 2002-09-16 John Levon <levon@movementarian.org>
910 * insettabular.h: hasSelection() needs to be public
912 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
914 * insetgraphicsParams.C: use empty string as default for rotateOrigin
916 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
918 * insetgraphicsParams.C: use empty string as default for rotateOrigin
920 2002-09-11 André Pönitz <poenitz@gmx.net>
922 * insettabular.C: implement LFUN_WORDSEL
924 2002-09-10 John Levon <levon@movementarian.org>
926 * insetinclude.h: remove unused param
928 2002-09-09 John Levon <levon@movementarian.org>
931 * insetinclude.C: remove noload, default to input
933 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
935 * insetgraphics.C: disfuscated use of ']' in built output string.
937 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
939 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
941 2002-08-29 Juergen Vigna <jug@sad.it>
943 * insettabular.C (lfunMousePress): Pay attention where you set
944 the x/y values as they depend on which inset in the tabular is
945 actually locked. So you surely have to reset them if you (un)lock
948 2002-08-29 André Pönitz <poenitz@gmx.net>
950 * insetfootlike.h: rename include guard to ALL CAPS
952 * insettext.C: swap object and first parameter for checkInsetHit calls
953 as this functions has moved from BufferView to LyXText
956 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
958 * insetgraphicsParams.C: remove local displayTranslator and use
959 the one from graphics/GraphicsTypes.h.
961 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
963 * insetfloat.C (wide): add BufferParams parameter
965 * insetfloatlist.C (read):
968 * insetfloat.C (latex):
970 * insetcaption.C (draw): use LyXTextClass::floats()
972 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
974 * insetoptarg.h: add std:: qualifier.
976 2002-08-26 Juergen Vigna <jug@sad.it>
978 * insettext.C (localDispatch): ditto.
980 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
982 2002-08-25 John Levon <levon@movementarian.org>
984 * inseturl.C: elide long URLs (bug 404)
986 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
988 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
989 remove "Format Version <version_no.>" string from inset header
992 * insetgraphicsParams.[Ch]: Implement new graphics dialog
994 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
995 a member of "grfx::Params" anymore.
997 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
999 2002-08-24 John Levon <levon@movementarian.org>
1002 * insetoptarg.C: ws, pedantry ...
1004 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1006 * insettext.C (collapseParagraphs): pasteParagraph now in global
1008 (appendParagraphs): ditto
1010 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
1012 * insetcite.C (latex): Remove spaces only after commmas.
1014 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * insettext.C: remove NO_COMPABILITY stuff
1018 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * insettext.C (edit): use ParagraphList iterators
1022 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
1023 (bibitemWidest): ditto
1025 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * insettext.C: include <boost/bind.hpp>
1028 add using std::for_each
1029 (saveLyXTextState): use ParagraphsList::iterator
1030 (init): use for_each on paragraphlist iterators
1031 (InsetText): remove superflous setting cached_bview to 0
1032 (latex): reformat a bit
1033 (ascii): use paragraphlist iterators
1034 (validate): use for_each + boost bind
1035 (getLabelList): use paragraphlist iterators
1036 (deleteLyXText): use for_each + boost::bind
1037 (resizeLyXText): ditto
1038 (reinitLyXText): ditto
1039 (removeNewlines): use paragraphlist iterators
1040 (getParFromID): ditto
1041 (paragraph): use for_each + boost::bind
1042 (getInsetFromID): use paragraphlist iterators
1043 (getLabelList): typo fix
1045 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * insettext.C (read): assign tmp to paragraphs after return from
1048 call to parseSingleLyXformat2Token
1051 2002-08-13 Angus Leeming <leeming@lyx.org>
1070 changes due to the changed LyXView interface that now returns references
1071 to member variables not pointers.
1073 2002-08-13 Angus Leeming <leeming@lyx.org>
1076 * insetcollapsable.h:
1079 * insettext.h: forward-declare WordLangTuple
1080 (selectNextWordToSpellcheck) constify return type.
1083 * insetcollapsable.C:
1086 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
1088 2002-08-12 Angus Leeming <leeming@lyx.org>
1090 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
1092 2002-08-12 Juergen Vigna <jug@sad.it>
1094 * insetcollapsable.C (edit): ignore if entered when pressing mouse
1097 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1099 * insetbib.C (bibitemMaxWidth): ParagraphList changes
1100 (bibitemWidest): ditto
1101 * insettext.[Ch]: ditto
1103 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1105 * insettext.C, insetert.C: use Paragraph::empty where appropriate
1107 2002-08-09 Angus Leeming <leeming@lyx.org>
1109 * insetinclude.C (latexString): remove fudge now that I've found out
1110 how to enable LaTeX to find the file using input@path.
1112 2002-08-09 John Levon <levon@movementarian.org>
1115 * insettext.C: remove unused xpos
1117 2002-08-07 Juergen Vigna <jug@lyx.org>
1119 * insettabular.C (localDispatch): make delete not put the stuff
1120 in the clipboard only do this on a cut operation.
1122 * insettext.C (localDispatch): make delete and backspace not put
1123 selected stuff to the clipboard.
1125 2002-08-07 André Pönitz <poenitz@gmx.net>
1128 * insetcollapsable.[Ch]:
1132 * insettabular.[Ch]:
1133 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
1135 2002-08-06 John Levon <levon@movementarian.org>
1139 * insetcollapsable.h:
1140 * insetcollapsable.C:
1146 * insettext.C: use WordLangTuple for spellcheck
1148 2002-08-06 Angus Leeming <leeming@lyx.org>
1150 * insetinclude.C: add a monitor to the previewed image, so that the
1151 image is refreshed if the \input-ed file changes.
1153 2002-08-04 John Levon <levon@movementarian.org>
1156 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
1158 2002-08-02 Angus Leeming <leeming@lyx.org>
1160 * insetcommandparams.[Ch] (preview): new methods returning and setting
1161 a new bool preview_ flag.
1162 (read): read this flag.
1163 (operator==): add flag to check.
1165 * insetinclude.C (write): output new preview() flag.
1166 (previewWanted): use this flag.
1168 2002-08-02 Angus Leeming <leeming@lyx.org>
1170 * insetcollapsable.[Ch] (addPreview):
1171 * insettabular.[Ch] (addPreview):
1172 * insettext.[Ch] (addPreview): new methods. Can now generate previews
1173 for insets in insets.
1175 2002-08-02 Angus Leeming <leeming@lyx.org>
1177 * insetcite.C: fix typo.
1179 * insetgraphics.C: kill current_view and instead cache the BufferView
1182 * insetinclude.C: kill current_view and pass the BufferView to the
1183 PreviewedInset so that it can cache it.
1185 2002-08-01 Angus Leeming <leeming@lyx.org>
1187 * inset.h (generatePreview): renamed as addPreview.
1188 (generatePreview): new method. Allows code to be moved out of
1189 math_nestinset.C and into the new PreviewedInset class.
1191 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
1192 add previews to the inset when \input-ing LaTeX.
1194 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1196 * several files: strip,frontStrip -> trim,ltrim,rtrim
1198 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * insetbib.C (latex): modify because of strip changes
1202 * insetnote.C (InsetNote): ditto
1204 2002-07-26 Juergen Vigna <jug@sad.it>
1206 * insettabular.C (searchForward): check for lastcell if we
1207 had a locking inset.
1209 2002-07-25 Juergen Vigna <jug@sad.it>
1211 * insettabular.C (insetMotionNotify): Don't update the screen
1212 if we didn't do nothing.
1213 (searchForward): last cell was not checked.
1215 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1217 * insetfloat.C (read, write): Allow default placement
1218 (floatPlacement_ is empty).
1220 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1222 * insetminipage.h (noFontChange):
1223 * insettabular.h (noFontChange):
1224 * insetfootlike.h (noFontChange):
1225 * insetfloat.h (noFontChange): return true
1227 * inset.h (noFontChange): new method, defaulting to false
1229 2002-07-22 Herbert Voss <voss@lyx.org>
1231 * insetgraphicsParams.[Ch]: support size_type for old docs
1233 2002-07-22 Herbert Voss <voss@lyx.org>
1236 * insetgraphicsParams.[Ch]: change size_type to size_kind and
1239 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1241 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1243 * insetlatexaccent.h: do not include "lyxlex.h"
1245 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1248 * insetlatexaccent.C:
1252 * insetbib.C: #include "lyxlex.h"
1258 * insettext.C: use BufferParams::getLyXTextClass
1261 * insetfloat.C (addToToc): new method. Add to toclist the entries
1262 corresponding to Caption layouts
1263 (InsetFloat): when creating a new float, set the layout to "Caption"
1265 2002-07-21 Herbert Voss <voss@lyx.org>
1267 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1268 image relevant part into graphics/GraphicsImgae.C
1270 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1272 * insettoc.C (ascii):
1273 * insetfloatlist.C (ascii): change to use the new Toc functions
1274 instead of stuff that was in Buffer
1276 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1278 * insettext.C (localDispatch): BufferView::Dispatch has been
1279 renamed to BufferView::dispatch
1281 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1283 * insetgraphicsParams.C (as_grfxParams): use the new
1284 keepLyXAspectRatio parameter. Note that this is an adaptation of a
1285 1.2.0 patch, and I do not really know how to adapt it to the new
1286 grfx::Cache world. Angus, please could you have a look?
1288 2002-05-01 Herbert Voss <voss@lyx.org>
1290 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1292 2002-07-18 Angus Leeming <leeming@lyx.org>
1294 * insetgraphics.C: clean-up comments (from Herbert).
1295 add a new checksum variable to the cache. Use it in PrepareFile.
1296 (draw): start monitoring the file for a change.
1297 (prepareFile): re-arrange a little to avoid unnecessary steps.
1299 2002-07-17 Angus Leeming <leeming@lyx.org>
1301 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1302 a method rather than to the signal directly.
1304 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1306 * insettext.C: use view_state_changed, switchKeyMap
1308 2002-07-17 Herbert Voss <voss@perce.de>
1310 * insetgraphics.C (prepareFile): keep the extension when
1311 exporting to nice file
1313 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1315 * insetcite.C (getNatbibLabel):
1316 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1318 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1320 * insetgraphics.C: use ->isDrawable()
1322 2002-07-12 Angus Leeming <leeming@lyx.org>
1324 * insetgraphics.C: use the new smart loading capabilities of the image
1327 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1329 * insettabular.C (edit): Move into correct cell when entering a
1332 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1335 2002-07-05 Angus Leeming <leeming@lyx.org>
1337 * inset.h (generatePreview): new virtual method.
1339 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1341 * insetcommandparams.[Ch] (operator=): move out of class
1342 (operator!): move out of class
1344 2002-07-04 André Pönitz <poenitz@gmx.net>
1346 * insetcommandparams.[Ch]: new files
1348 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1350 2002-06-15 Herbert Voss <voss@perce.de>
1352 * insetgraphics.C (prepareFile): bugfix; return always
1353 files without extension
1355 2002-06-28 Angus Leeming <leeming@lyx.org>
1357 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1358 rename asGParams -> as_grfxParams.
1360 * insetgraphics.C: reflect above change.
1362 2002-06-26 Angus Leeming <leeming@lyx.org>
1364 * insetgraphics.h: use boost::scoped_ptr in preference to
1367 2002-06-26 Angus Leeming <leeming@lyx.org>
1369 * insetgraphics.C: moved the image loading stuff into a new class
1370 grfx::Loader. Simplifies this file enormously.
1372 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1374 * insetgraphicsParams.C: changes aassociated with moving
1375 grfx::DisplayType out of grfx::GParams.
1377 2002-06-26 André Pönitz <poenitz@gmx.net>
1379 * insetgraphics.C: use os::external_path where necesaary according to a
1380 patch from Claus Hentschel)
1382 2002-06-25 Angus Leeming <leeming@lyx.org>
1384 * insetgraphics.[Ch]: The inset now assumes the responsibility for
1385 generating a pixmap once the graphics file is loaded into memory.
1386 The current_view ugliness that was in grfx::ModifiedImage has been
1387 moved here now that grfx::ModifiedImage is no more.
1389 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1391 * insettext.C: layout as layout
1393 2002-05-28 André Pönitz <poenitz@gmx.net>
1395 * insetfloatlist.h: remove source of compiler warning
1397 * insetref.C: tiny whitespace
1399 2002-06-15 Herbert Voss <voss@perce.de>
1401 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1402 and take always convert when no userdefined converter was
1404 (latex) small changes in the lyxerr output
1406 2002-06-15 LyX Development team <lyx@rilke>
1408 * inset*.[Ch] (docbook): Added new argument to take the pernicious
1409 mixed content. Small white spaces clean.
1411 2002-06-14 Angus Leeming <leeming@lyx.org>
1413 * inseetexternal.C: remove the using std::difftime declaration.
1415 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
1417 * insetquotes.C: change lyxfont::draw to font_metrics::draw
1419 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
1421 * insetquotes.C (draw): fix drawing of double quotes
1423 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1425 * insettabular.C: s/scrollCB/scrollDocView/
1427 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1429 * insettext.C: change of topCursorVisible()
1432 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1435 * insettext.C: rename/change of LyXScreen
1437 2002-06-07 Angus Leeming <leeming@lyx.org>
1439 Fixes needed to compile with Compaq cxx 6.5.
1441 all c-library variables have been moved into namespace std.
1442 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1444 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1446 * insetinclude.C (uniqueID):
1447 * insetgraphics.C (uniqueID): renamed from unique_id, since this
1448 conflicted with some AIX headers.
1450 2002-05-31 Juergen Vigna <jug@sad.it>
1452 * insetert.C (get_new_label): add '...' for multi-paragraph ert
1456 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1458 * insetexternal.C (clone): fix () bug when using new
1459 (updateExternal): don't only look for difftime in global scope
1461 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1463 * insettabular.C: add const
1465 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1467 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1468 file name, in case there are weird characters like ',' in there.
1471 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1473 * switch from SigC signals to boost::signals.
1475 2002-05-28 André Pönitz <poenitz@gmx.net>
1477 * insets/insetgraphicsParams.[Ch]:
1478 put in inset related stuff from src/graphic
1480 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1488 * insetcollapsable.C:
1489 * insetcollapsable.h:
1517 * inseturl.h: use mouse_state. Kill insetKeyPress
1519 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1524 * insetcollapsable.C:
1527 * insetlatexaccent.C:
1529 * insetspecialchar.C:
1531 * insettext.C: name change for font metrics
1533 2002-05-24 Juergen Vigna <jug@sad.it>
1535 * insetgraphics.h: include inset.h first (for LString.h)
1537 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1539 * insettext.C: screen moved
1541 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1559 * inseturl.C: LyXView moved into frontends/
1561 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1566 * insetcollapsable.C:
1570 * insetgraphicsParams.C:
1571 * insetlatexaccent.C:
1573 * insetspecialchar.C:
1575 * insettext.C: move Painter to frontends/
1577 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1579 * insettabular.h: use more specific smart_ptr header.
1580 * insettext.h: ditto
1582 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1585 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1587 * insettext.C: clear selection on paste (bug 393)
1589 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1591 * insettext.C (latex): Honor the moving_arg argument.
1593 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1595 * insetfoot.C (latex): if a footnote is in a title layout, then it
1596 is a \thanks. And then, its contents is a moving argument.
1598 2002-05-14 Juergen Vigna <jug@sad.it>
1600 * insetcollapsable.C (InsetCollapsable): forgot to initialize
1603 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
1605 * Insetcite.C (getNatbibLabel): don't disable natbib label support
1606 when using options "Full author list" or "Upper case".
1608 2002-05-14 Herbert Voss <voss@perce.de>
1610 * insetgraphics.C (prepareFile): allow files with same name
1612 (readFigInset): set the flags from old figinset in the right
1614 (findTargetFormat): more comments
1616 2002-05-14 Juergen Vigna <jug@sad.it>
1618 * insettext.C (edit): tell checkAndActivateInset() that we don't
1619 have a button press.
1620 (checkAndActivateInset): if button < 0 we don't have a button press
1621 on the inset and os we won't call edit on it if it's not a Highly
1622 editable inset (then we have to enter it).
1624 2002-05-13 Juergen Vigna <jug@sad.it>
1626 * insetcollapsable.C (insetButtonRelease): returned wrong return
1629 2002-05-09 Juergen Vigna <jug@sad.it>
1631 * insetcollapsable.C (edit): first_after_edit should only be
1632 set to true if we enter this inset and it was collapsed so we
1633 open it up. This is needed to reclose it after a search/replace
1634 or spellcheck function opened it and was negative.
1636 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
1638 * insetfloat.C (latex): Return correct value.
1640 2002-05-04 Herbert Voss <voss@perce.de>
1642 * InsetgraphicsParams.C (read): fix bug with WH
1644 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1646 * insetfloat.C (latex): More sensible latex output
1647 (fix the problem with endfloat).
1649 2002-05-02 José Matos <jamatos@fep.up.pt>
1651 * insetgraphics.C (validate): acess params as everyone else.
1653 2002-05-03 Juergen Vigna <jug@sad.it>
1655 * insettabular.C (fitInsetCursor): recalculate the cursor position
1658 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1660 * InsetgraphicsParams.[Ch]: whitespace.
1662 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1664 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1665 float type do not exist.
1667 2002-04-28 Herbert Voss <voss@perce.de>
1669 * insetgraphics.C (latex): fix bug with missing file-extension.
1670 LaTeX still allows a missing "eps" or "ps".
1672 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1674 * insetfloat.C (c-tor, wide): translate the name of the float.
1676 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1678 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
1679 when using natbib and make it work efficiently. Must emphasise that the
1680 real work is Herbert's.
1682 2002-04-23 Herbert Voss <voss@perce.de>
1684 * insetgraphic.C (prepareFile): fix bug with overwriting and
1685 deleting an existing *.eps-file in the doc-dir
1687 2002-04-23 Juergen Vigna <jug@sad.it>
1689 * insettabular.C (drawCellSelection): fix off by 1 error.
1691 2002-04-22 Juergen Vigna <jug@sad.it>
1693 * insettabular.C (setFont): rewoke full selection if it was asked,
1694 after we changed all we had to change.
1696 * insettext.C (insetUnlock): code was uninitialized in some situations.
1698 2002-04-19 Herbert Voss <voss@perce.de>
1700 * insetgraphic.C (prepareFile): return filename without
1701 extension if we only export without compiling
1703 2002-04-19 Juergen Vigna <jug@sad.it>
1705 * insettext.C (draw): call a fullRebreak on the row where we had a
1706 change and reset the cursor and selection-cursors.
1708 * insettabular.C (insetUnlock):
1709 (insetButtonPress): call an update before setting the_locking_inset = 0
1710 as otherwise we don't repaint!
1711 (update): reset the cursor position when we changed dimensions as
1712 otherwise our cursor may be on the wrong spot.
1714 2002-04-18 Juergen Vigna <jug@sad.it>
1716 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
1717 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
1718 redraw otherwise we won't redraw.
1720 * insettext.C (draw): fixed the setting of LyXText::first_y it was
1721 not really right before, but I only discovered this with the last
1722 changes to Page up/down.
1724 2002-04-17 Juergen Vigna <jug@sad.it>
1726 * insettext.C (checkAndActivateInset): simplified as we now have the
1727 edit(bv, bool) call.
1729 * insettext.h: changed behind variables to front variables to be
1730 equal to the one in the edit call (as it is for that they are used).
1732 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1734 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
1735 not output anything at all!
1737 2002-04-16 Juergen Vigna <jug@sad.it>
1739 * insettabular.C (insetButtonPress):
1740 (insetUnlock): call a redraw on unlocking the cell inset.
1742 * insettext.C (insetButtonPress): same as below.
1743 (lockInset): new function to set initial values when inset should
1745 (insetButtonPress): use above function.
1746 (insetUnlock): don't force a repaint only set the updateStatus. The
1747 outside world should repaint if it thinks it should be done!
1749 * insettabular.C (insetButtonPress): init values if not set as locked
1750 as we are locked if someone presses on us and don't call the edit()
1751 call of the InsetText to lock it do it as BufferView does it!
1753 * inset.h (insetInInsetY): make func const and return an int.
1756 * insetcollapsable.C: adapt the above changed function.
1758 2002-04-15 Juergen Vigna <jug@sad.it>
1760 * insettext.C (getCursorPos): return relative position as to be able
1761 to give them directly to the edit() call.
1762 (edit): we have to set also x_fix as it is not set inside the
1763 setCursorFromCoordinates call!
1764 (insetMotionNotify): ditto.
1766 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1768 * insetbib.C (getKeys): strip leading '\t's from the line too.
1769 With thanks to Henry Pfister <hpfister@ucsd.edu>.
1771 2002-04-12 Juergen Vigna <jug@sad.it>
1773 * insettext.h: added cix() helper function and use it where appropriate
1775 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1777 * insetgraphics.C (prepareFile): fix bug when graphics is a
1780 2002-04-12 Juergen Vigna <jug@sad.it>
1782 * insettext.C (insertInset): remove unneeded code!
1783 (updateLocal): fitCursor() fixes.
1784 (collapseParagraphs): fix a possible problem when having a selection
1785 and collapsing the paragraphs.
1787 2002-04-08 Herbert Voss <voss@perce.de>
1789 * insetgraphic.C (write): write the rotating angle as
1790 a float as is. test only for != 0.0
1792 2002-04-11 Juergen Vigna <jug@sad.it>
1794 * insettext.C: new function ciy() and use it for setting inset_y.
1796 * insetert.C (draw): fix the x return for collapsed version.
1798 2002-04-07 Herbert Voss <voss@perce.de>
1800 * insetgraphic.C (readFigInset): fix bug with subcaption and
1803 2002-04-08 Herbert Voss <voss@lyx.org>
1805 * insetgraphicsparam.C: forgot special option and delete old
1808 2002-04-05 Juergen Vigna <jug@sad.it>
1810 * insettext.C (localDispatch): make a CURSOR update if we inserted
1813 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1815 * insetfloatlist.C (getScreenLabel):
1816 (latex): use Floating::listName
1817 (validate): new method
1819 2002-04-03 José Matos <jamatos@fep.up.pt>
1821 * insetlabel.C (docbook): the anchor is an empty element in docbook.
1823 * insetfoot.[Ch] (docbook): added forgotten method.
1825 2002-04-03 Juergen Vigna <jug@sad.it>
1827 * insettext.C (insetButtonPress): fix insetButtonPress events the same
1828 way as in Bufferview_pimpl.
1830 2002-04-03 Allan Rae <rae@lyx.org>
1832 * insetgraphics.C (latex): one % too many makes living on the bleeding
1833 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
1835 2002-03-28 Herbert Voss <voss@lyx.org>
1837 * insetgraphic.C (latex): simplify the code for the latex
1838 output when the file doesn't exist
1840 2002-03-29 Juergen Vigna <jug@sad.it>
1842 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
1845 * insettabular.C (edit): call fitCursor().
1847 * insettext.C (insetButtonPress): change behaviour of no_selection
1848 to the one in the BufferView selection_possible and fix the spurious
1849 selection bug with it.
1850 (localDispatch): revoke selection on BREAK... functions.
1852 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1854 * insetfloatlist.C (getScreenLabel): translate the GUI label.
1856 2002-03-28 Juergen Vigna <jug@sad.it>
1858 * insettabular.C (insetAllowed): return true as default value otherwise
1859 we're not able to insert insets inside paragraphs of an not locked
1862 2002-03-27 Herbert Voss <voss@lyx.org>
1864 * insetgraphicsparam.C: change c%, p% to col%, page%
1866 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1868 * insetspecialchar.C (isLineSeparator): disable the nice code to
1869 allow linebreaks after hyphenation and menu separators.
1871 2002-03-26 Herbert Voss <voss@lyx.org>
1873 * insetgraphics.C (figinsetRead): set the right lyxview
1875 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1877 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
1878 $\backslash$ and pass a "string const &" to the function.
1879 (prepareFile, latex): use Path rather than MakeAbsPath.
1881 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1883 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
1884 proper fix to the graphics cache.
1885 (latex): "really" nice output if the file is not found ;-)
1887 2002-03-26 Juergen Vigna <jug@sad.it>
1889 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
1890 (collapseParagraphs): fixed inserting of separator ' '
1892 * insettabular.C (insertAsciiString): only check for buffer lenght
1893 not if we have \t or \n inside the buffer as if we don't have we only
1894 have 1 cell and that's it!
1896 * insetert.C (close): don't collapse if inlined.
1898 2002-03-25 Herbert Voss <voss@lyx.org>
1900 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
1901 graphics file does not exist.
1903 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1905 * insetgraphics.C (prepareFile): ensure that the file has an absolute
1906 path when preparing export.
1908 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
1909 no longer MakeRelPath.
1911 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1913 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
1914 Used to determine the absolute path to the graphics file in the
1915 graphics cache and only in the graphics cache.
1916 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
1917 make graphics file name absolute if it is stored as a relative path.
1919 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
1920 make graphics file name absolute if it is stored as a relative path.
1922 * insettext.C (edit): emit an updateParagraph signal on entering a text
1923 inset. Needs to be emitted when leaving the inset also.
1925 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1927 * all files: ws cleanup
1929 * Makefile.am: remove ld -r stuff
1931 2002-03-21 Juergen Vigna <jug@sad.it>
1933 * insettext.C (appendParagraphs): new function added to append
1934 the paragraphs to this insets paragraphs.
1936 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1938 * Makefile.am: special rules if partial linking
1940 2002-03-19 Juergen Vigna <jug@sad.it>
1942 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
1944 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1946 * insetgraphics.C: Clean up Baruch's comments a little.
1947 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
1949 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
1952 * insettheorem.C: wrap warnings
1954 * insetgraphics.C: improve messages, move cached_status_
1955 setting to safer place
1957 2002-03-18 Juergen Vigna <jug@sad.it>
1959 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
1961 (localDispatch): ditto
1963 * insettext.C (edit): removed unneeded showCursor calls.
1964 (localDispatch): ditto.
1966 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1968 * insetgraphics.h: remove display() method.
1970 2002-03-11 Juergen Vigna <jug@sad.it>
1972 * insetgraphics.C (draw): hack to fix the redrawing bug.
1973 (draw): seems this fixes #268 (force redraw of row if we changed).
1975 * insettext.C (updateInsetInInset): fixed for updates in insets inside
1976 this inset text (don't know why I missed this earlier).
1978 2002-03-08 Juergen Vigna <jug@sad.it>
1980 * insettabular.C (updateLocal): do a FULL update if we're not locked
1981 and only a CELL update is asked.
1983 * insettext.C (updateInsetInInset): update insets inside inset also
1984 if it isn't inside the_locking_inset.
1986 * insettabular.C (updateInsetInInset): ditto.
1988 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1990 * insetexternal.C (doSubstitution): check whether we are using a
1991 temp dir for defining $$FPath
1993 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1996 * insettext.C: remove #include "WorkArea.h".
1998 2002-03-06 Juergen Vigna <jug@sad.it>
2000 * insettext.C (draw): fixed frame redrawing.
2001 (clear): forgot to set the inset_owner of the paragraph.
2003 * insetert.C (status): pay attention the bv can be 0 here!
2004 (getMaxWidth): add the default leftMargin
2006 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2008 * insetert.C (getMaxWidth): make w unsigned int.
2010 2002-03-05 Juergen Vigna <jug@sad.it>
2012 * insetert.C (status): change behaviour of Inlined.
2013 (getMaxWidth): added for new inlined behaviour.
2015 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2017 * insetnote.h (linuxdoc, docbook): add empty methods.
2018 * insetinclude.C (validate): fix a case where buffer->niceFile was used
2019 before being initialized.
2021 2002-03-05 Juergen Vigna <jug@sad.it>
2023 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
2024 only that one in the inset. Should be enough.
2025 (updateLocal): set the selection cursor always if we don't have a
2026 selection to be sure it's set!
2028 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
2030 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2032 * insettext.C (clear): a gross hack to set layout on a newly
2035 2002-03-04 Juergen Vigna <jug@sad.it>
2037 * insettabular.C (localDispatch): inserted handling of
2038 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
2039 (insertAsciiString): new helper function.
2041 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2043 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
2046 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2048 * insettext.C (InsetText): initalize newly created par with
2049 default layout. add bufferparams parameter
2052 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
2053 * insetcollapsable.[Ch] (InsetCollapsable): ditto
2054 * insetert.[Ch] (InsetERT): ditto
2055 * insetfloat.[Ch] (InsetFloat): ditto
2056 * insetfoot.[Ch] (InsetFoot): ditto
2057 * insetfootlike.[Ch] (InsetFootLike): ditto
2058 * insetmarginal.[Ch] (InsetMarginal): ditto
2059 * insetminipage.[Ch] (InsetMinipage): ditto
2060 * insetnote.[Ch] (InsetNote): ditto
2061 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
2063 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2065 * insettext.C: layout as string
2067 * insetinclude.C: layout as string
2069 * insetert.C: layout as string
2071 * insetbib.C: layout as string
2073 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2076 * insettabular.C: remove #include "lyx_gui_misc.h".
2078 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2083 * inset.h: remove figinset, yahoo !
2085 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2087 * insetgraphics.C (c-tors): initialise parent classes explicitly in
2088 copy c-tor and initialise member variables in the correct order.
2090 2002-02-28 Juergen Vigna <jug@sad.it>
2092 * insettabular.C (localDispatch): clear selection on PgUp/Down.
2094 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2096 * inset.h: ... and add a better one here.
2098 * insetcommand.C (insetButtonRelease): remove that one which was a
2101 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2103 * insetcommand.C (insetButtonRelease): ... and move it here.
2105 * inseturl.h: remove insetButtonRelease from there...
2107 2002-02-26 Juergen Vigna <jug@sad.it>
2109 * inseturl.h: Added a insetButtonRelease call returning true as
2112 * insetlabel.C (edit): Fixed wrong update handling after change I
2113 leave in the wrong code for the one who wrote it to remove and have
2114 a look what he did wrong.
2116 * insettabular.C (localDispatch): force a SELECTION update if we
2117 had a selection and we passed the event down to the inset (fix #213)
2118 (localDispatch): handle font changing stuff when we have a cell
2119 selection so that the selection is not rewoked. I don't really like
2120 this fix, but it's the only way I see to do it right now.
2122 2002-02-22 Juergen Vigna <jug@sad.it>
2124 * insettext.C (insetUnlock): set the cursor to the second paragraph
2125 if available and if the first one is empty (fix #191).
2127 2002-02-20 Juergen Vigna <jug@sad.it>
2129 * insettext.C (getDrawFont): implemented this function to call the
2130 one of the owner if present as the owner normally knows what to do
2133 * insetert.C: implement getDrawFont() function and comment out all
2134 the crap for setting a special latex font inside this inset.
2135 (InsetERT): added a Lanugage parameter to this constructor.
2137 * inset.h: added function getDrawFont(LyXFont & font) to be able to
2138 change the font for being drawn on screen (used only in InsetERT for
2141 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
2142 and also above (was missing).
2143 (updateLocal): don't remove the cell selection if we have one this
2144 should be done where we really want to remove it.
2146 2002-02-20 José Matos <jamatos@fep.up.pt>
2148 * insetinclude.h: include_label made string const.
2150 * insetinclude.C (InsetInclude): moved include_label initialization.
2153 (validate): fix support for temporary directory, for docbook and
2156 * insetgraphics.h : new private member, graphic_label, that holds
2157 the entity name that defines the graphics location (SGML).
2159 * insetgraphics.C (unique_id): new function to give a unique label
2162 (validate): the file locatation is given by an entity reference.
2164 2002-02-18 Herbert Voss <voss@lyx.org>
2166 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2168 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2170 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
2171 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2173 2002-02-18 José Matos <jamatos@fep.up.pt>
2175 * insetinclude.C (validate): some code only applies to latex buffers,
2176 it was made conditional.
2178 2002-02-12 Herbert Voss <voss@lyx.org>
2180 * insetgraphics.C: (prepareFile) do not check at this time
2181 if the file is present.
2183 2002-02-12 Herbert Voss <voss@lyx.org>
2185 * insetgraphics.C: latex(), return the correct newlines
2187 2002-02-13 José Matos <jamatos@fep.up.pt>
2189 * inseturl.C (docbook): escape & in url.
2191 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2193 * insetspecialchar.C (isLineSeparator): line breaking is allowed
2194 after HYPHENATION and MENU_SEPARATOR
2196 * inset.h (isLineSeparator): new method, returns false by default.
2198 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2200 * insetert.C (status): do not update the text inset, but the ERT
2203 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
2205 * insetnote.C: use notebg for background
2207 2002-02-08 Herbert Voss <voss@lyx.org>
2210 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2211 prevent LyX from unzipping when this should be handled
2212 by latex vis the graphic.cfg.
2215 2002-02-08 Herbert Voss <voss@lyx.org>
2217 * insetgraphic.C: prepareFile(): fix bug when file doesn't
2218 exists, than return filename with extension
2220 2002-02-06 Herbert Voss <voss@lyx.org>
2222 * insetgraphic.C: prepareFile(): don't convert the file, when
2223 it's not viewed in LyX. Saves a lot of time when opening a
2226 2002-02-05 Herbert Voss <voss@lyx.org>
2229 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2230 and adding a rotate bool similiar to subcaption
2232 2002-02-04 Herbert Voss <voss@lyx.org>
2235 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2236 similiar view to the LaTeX one. Get zipped files work.
2238 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2240 * insetgraphicsParams.C (init): set display to DEFAULT.
2241 No longer #include "lyxrc.h".
2243 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2245 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2246 for now (so that the code compiles).
2248 2002-02-02 Herbert Voss <voss@lyx.org>
2250 * insetgraphic.C: delete inVariant() and some minor changes
2251 * insetgraphicsParams.[C]:
2253 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
2255 * insetgraphics.C (updateInset): if params.display == DEFAULT,
2256 interogate lyxrc.display_graphics before diaplaying the graphic.
2258 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2259 InsetGraphicsParams::DisplayType.
2261 2002-01-31 Herbert Voss <voss@lyx.org>
2263 * insetgraphic.C: (readfigInset) set display to pref-default
2265 2002-01-30 Herbert Voss <voss@lyx.org>
2267 * insetgraphic.C: get the filetyp from it's contents
2268 * insetgraphicparams.C: add token scale and lyxrc.display when
2269 creating a new inset
2271 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
2273 * figinset.C: added using std::ios directive.
2275 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2277 * figinset.C (runqueue): open translation file in binary mode (for
2280 2002-01-27 Herbert Voss <voss@lyx.org>
2282 * insetgraphic.[Ch]: mostly newritten to support graphicx with
2283 all options and to be sure that the old figinsets are correct
2285 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2286 structure and to support all lengths as LyXLength. The Parameter
2287 structure changed again, but reading of "old" 1.2 graphic insets
2290 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
2292 * insetert.h (forceDefaultParagraphs): Added
2294 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2296 * insettabular.C (getMaxWidth):
2297 (forceDefaultParagraphs): use Tabular::GetCellFromInset
2299 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2301 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2302 of LyXLength::inPixels
2304 * inset.C (latexTextWidth):
2305 * insetminipage.C (latexTextWidth): new method, which implements
2306 the equivalent of the LaTeX macro \textwidth
2308 * insetminipage.C (getMaxWidth): use latexTextWidth
2310 2002-01-18 Juergen Vigna <jug@sad.it>
2312 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2314 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2316 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2318 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2321 2002-01-17 Juergen Vigna <jug@sad.it>
2323 * insettabular.C (lockInsetInInset): same change as in insettext.
2325 * insettext.C (draw): width() function was called without setting
2326 the right top_x which could lead to wrong insetWidth setting!
2327 (lockInsetInInset): call edit instead of calling lockInset if we
2328 have to lock an inset inside!
2329 (edit): we have to also tell the inset that we have to redraw the
2330 frame on an edit call if this inset draws a frame only if locked.
2332 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2334 * insetbib.C (getFiles): uncomment Path variable.
2336 2002-01-16 Juergen Vigna <jug@sad.it>
2338 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2341 2002-01-16 Allan Rae <rae@lyx.org>
2343 * insetinclude.C (docbook): someone forgot a ";"
2345 2002-01-16 José Matos <jamatos@fep.up.pt>
2347 * figinset.C (docbook): removed a old place holder "@".
2348 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2349 * insetinclude.C (linuxdoc): if include is verbatim, then export the
2350 ascii text version, clearly guarded inside a CDATA section.
2351 (docbook): in docbook 4, inlinegraphics is empty.
2352 * insettabular.C (linuxdoc): export the ascii version of the table
2353 inside a CDATA section.
2355 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2357 * insetparent.C (InsetParent):
2358 * insetgraphicsParams.C (Write):
2360 * insetgraphics.C (prepareFile):
2363 * insetexternal.C (executeCommand):
2364 (doSubstitution): use Buffer::filePath
2366 * insetbib.C (getFiles): add a #warning for Angus
2368 * insetgraphics.C: Add a remark about how filenames should be
2369 considered to be relative to buffer (but absolute is still allowed)
2370 (draw): do not try to get status if lyxrc.use_gui is false
2372 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2375 * insetcollapsable.[Ch]:
2376 * insettabular.[Ch] (searchForward, searchBackward): change the
2377 bool const & params to bool.
2379 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2380 to avoid the name clash with InsetCollapsable's methods of the same
2381 names but different functionality.
2383 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2385 * insettext.C (ascii): use lyx::count rather than countChar.
2387 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
2389 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2391 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2393 * insetgraphics.C (updateInset): do not try to render image if
2394 lyxrc.use_gui is false (bug #104)
2396 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2397 if file does not exist
2399 * figinset.C (browseFile): add shortcuts to directory buttons
2401 * insettext.C (updateLocal): update menubar and toolbar here too.
2403 2002-01-13 Allan Rae <rae@lyx.org>
2405 * insettabular.C (InsetTabular): Both constructors now initialise
2406 all class variables.
2408 2002-01-11 Juergen Vigna <jug@sad.it>
2410 * insettext.C (insetButtonPress): set the_locking_inset to 0.
2412 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2414 * insettabular.C (getStatus): add forgotten brace around multiline
2417 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2419 * insetfloat.C (validate): require "float" instead of "floats".
2421 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2423 * insettabular.C (getStatus): use FuncStatus
2425 2002-01-08 Juergen Vigna <jug@sad.it>
2427 * insettabular.C (insetButtonRelease): now this should work too
2430 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2431 if the width is a percentage.
2433 * inset.h: added isChar() function and implemented this for
2434 insetspecialchar insetquotes and insetlatexaccent.
2435 added forceDefaultParagraphs() and implemented it for insettabular.
2437 2002-01-07 Juergen Vigna <jug@sad.it>
2439 * insettext.C (getLyXText): Fixed this function. An insert into the
2440 map is only done if we REALLY have a new BufferView.
2442 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
2444 * insettext.C: fix bug illustrated by attachment #37 of bug #59
2446 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2448 * insetinclude.C: fix use of FileInfo
2450 2002-01-07 Juergen Vigna <jug@sad.it>
2452 * insettabular.C (draw): fixed clearing of cell around inset.
2454 2002-01-05 Juergen Vigna <jug@sad.it>
2456 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2457 variables are updated.
2459 * insettabular.C (resetPos): set always the inset_y as it may be
2460 needed in another function.
2461 (searchBackward): don't draw while searching.
2463 2002-01-04 Juergen Vigna <jug@sad.it>
2465 * insettext.C (lockInsetInInset): forgot to set a cursor.
2467 2002-01-02 Juergen Vigna <jug@sad.it>
2469 * insettext.C (insertInset): make the correct undo informations on
2470 inserting new insets.
2472 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
2474 * insettabular.C: correct single-cell select vertically
2476 2001-12-27 Juergen Vigna <jug@sad.it>
2478 * insettabular.C (ascii): export as tab-separated-values if the
2479 function was not called from export (f.ex.: clipboard).
2481 * insetcollapsable.h: added default support for ascii, linuxdoc and
2482 docbook export (the insettext is exported by default!)
2484 * insettabular.C (copySelection): suff the clipboard with the tabular
2485 data in a tab separated format, seems more naturals then with all the
2488 2001-12-24 Juergen Vigna <jug@sad.it>
2490 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2491 to check for REAL mouseMotion.
2493 2001-12-20 Juergen Vigna <jug@sad.it>
2495 * inset.C (cursor): return the owners cursor if available instead of
2496 always only the bv->text->cursor.
2498 * insettabular.C (checkLongtableSpecial): works now.
2500 2001-12-19 Juergen Vigna <jug@sad.it>
2502 * insettabular.C (tabularFeatures): fix the row setting of ltt as
2503 this has to be always row + 1 as 0 means not selected!
2504 (checkLongtableSpecial): added
2505 (tabularFeatures): better longtable options support
2507 * insettext.C (resizeLyXText): reinit the text always also on a
2510 2001-12-18 Juergen Vigna <jug@sad.it>
2512 * insettext.C (updateInsetInInset): look if we have to autocollapse
2513 paragraps and return if the update is requested for ourself.
2515 * insetert.C (status): update the insettext not myself as that is what
2518 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2519 function only return if the update was requested with myself.
2521 * insettext.C (insetButtonPress): fixed stupid bug.
2522 (various functions): pay attention that lt is cleared BEFORE calling
2523 updateLocal() and try to use it in the right manner (don't use it
2524 if it's not really neccessary!)
2525 (collapseParagraphs): insert a blank between collapsing paragraphs
2526 if neccessary (not already there!).
2528 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2530 * insettabular.C: move includes around a bit, add a couple of
2533 * insettext.[Ch]: move includes around a bit, other ws changes and
2536 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2538 * insettext.C (insetButtonRelease): fix compile problem
2540 2001-12-17 Juergen Vigna <jug@sad.it>
2542 * insettext.C (insetButtonPress): set the selection cursor!
2543 (insetButtonPress): clear the selection (and set with that the
2544 selection.cursor) if we only hit an inset!
2546 * insetert.C (read): removed piece of compatibility code only needed
2549 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2552 * insetcollapsable.C (insetButtonRelease): changed so that it can
2553 open eventual existing popup dialogs on mousebutton==3.
2555 * insetfloat.C (insetButtonRelease): removed not needed anymore!
2557 * insetminipage.C (insetButtonRelease): removed not needed anymore!
2559 * inset.C (insetButtonRelease): return a bool for telling the outer
2560 world that we opened a dialog.
2562 2001-12-07 Juergen Vigna <jug@sad.it>
2564 * insettext.C (paragraph): remove the deleteing of paragraphs as
2565 it was a WRONG move!
2567 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2570 * insettabular.C: use new setSelection(). Allow
2571 selection of single cells.
2573 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2575 * insetquotes.C (latex): fix to use the local language setting at
2576 the point where the inset is inserted (different macros for
2577 different french packages)
2579 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2581 * inset.h: add par_owner_ member variable and parOwner
2584 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2586 * insettabular.C (everywhere): adapt because widths are now real
2587 widths and not strings
2589 * insettext.C (draw): re-introduce the calls to width(), ascent()
2590 and descent() to initialize the caching variables.
2592 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2594 * insettext.C (draw):
2595 (drawFrame): use insetWidth instead of last_width
2597 * insettext.h: remove variable last_width (insetWidth is exactly
2598 the same) and last_height (computed but never used!)
2600 2001-12-10 Allan Rae <rae@lyx.org>
2602 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2604 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2606 * insettext.C (insetAllowed): add comment
2608 2001-12-05 Juergen Vigna <jug@sad.it>
2610 * insettext.C (insetAllowed): fixed for the case that we directly
2611 ask the insettext from its LyXText.
2612 (paragraph): fixed the crash when assigning the par->next() from
2613 the EmptyParagraphMechanism!
2615 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2619 * insettext.C: change "while(" to "while ("
2621 2001-12-04 Juergen Vigna <jug@sad.it>
2623 * insetert.C (edit): handle Inlined status.
2625 * insettext.C (insertInset): trying John's fix for the trailing cursor
2627 * insetert.C (insetButtonPress): added to handle inlined status
2628 (insetMotionNotify): ditto.
2630 * insettext.C (clearInset): changed Painter & in BufferView * param,
2631 to be able to call ascent,descent methods.
2633 2001-12-03 Juergen Vigna <jug@sad.it>
2635 * insettext.C (updateInsetInInset): use lt variable to forbid
2636 changes of LyXText in an update call.
2637 (updateInsetInInset): fixed updating of non locked insets!
2639 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2641 * insettabular.C: capture some more functions to prevent
2642 selection drawing problems. Bug #451274
2644 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2647 * insetgraphicsParams.C: fix inverted sense of float_equal
2649 2001-11-30 Juergen Vigna <jug@sad.it>
2651 * insettabular.C (InsetTabular): use the save_id flag to create also
2652 the tabular with the same id's.
2654 * insettext.C (setParagraphData): added a same_id function for undo
2655 to set the same paragraph id's as of the paragraph we are setting.
2657 2001-11-30 José Matos <jamatos@fep.up.pt>
2660 * insettoc.[Ch]: DocBook -> docbook.
2662 2001-11-29 André Pönitz <poenitz@gmx.net>
2665 * insettext.C: further reduction of header dependencies by using
2666 lyx::layout_type and lyx::textclass_type from support/types.h
2668 2001-11-29 Juergen Vigna <jug@sad.it>
2670 * insettext.C: inserted a reinitLyXText function everywhere I delete
2671 the paragraphs! This should fixe the crashes we had.
2672 Also use the new function firstRow() instead of getRowNearY(dummy_y)
2673 (paragraph): set the InsetOwner() of the new paragraphs!
2675 2001-11-28 André Pönitz <poenitz@gmx.net>
2677 * insetnote.C: add pos initialization that I removed without
2680 2001-11-28 Juergen Vigna <jug@sad.it>
2682 * insettabular.C (resetPos): hack to not crash with infinite paints.
2684 * insettabular.h: insert missing function allowSpellcheck()!
2686 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2688 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2691 * insetfloatlist.C: derive from InsetCommand so gui can use it
2694 2001-11-26 André Pönitz <poenitz@gmx.net>
2698 * insetnote.C: reduce header dependencies, introduce type for
2701 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2703 * various: update for Alert.h
2705 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2707 * inset.h: fix comment
2709 * insettext.C: use par->isInset()
2711 2001-11-22 Allan Rae <rae@lyx.org>
2713 * insetcollapsable.h:
2714 * inset.h: Changes to checkInsertChar() behaviour.
2715 Now return value indicates whether chars can be inserted.
2717 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
2719 * various: updated to use the new LaTeXFeatures
2721 2001-11-14 José Matos <jamatos@fep.up.pt>
2723 * insetspecialchar.C (linuxdoc):
2724 (docbook): don't give a name to a unused variable.
2726 * insettext.C (docbook): removed unused variable.
2728 2001-11-13 Herbert Voss <voss@perce.de>
2730 * insetgraphic.C: fix scale bug
2732 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2734 * inset.h (isSpace):
2735 (isLetter): new virtual methods.
2737 * insetspecialchar.C (isSpace):
2738 (isLetter): implement here.
2740 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2742 * inset.h: new inline helpers
2744 * insettext.C: use new helpers
2746 2001-11-07 José Matos <jamatos@fep.up.pt>
2748 * insettext.C (docbook): full support for paragraphs inside insettext.
2750 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
2752 * insetindex.C: added header file for std::ostream.
2754 2001-11-03 José Matos <jamatos@fep.up.pt>
2756 * insetindex.C: added using std::ostream that I forgot yesterday.
2758 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
2760 * insetindex.h (docbook):
2761 * insetindex.C (docbook): added support for docbook export.
2763 2001-11-02 José Matos <jamatos@fep.up.pt>
2765 * insetcaption.C(docbook): added support for docbook export.
2767 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
2769 * insetexternal.C (updateExternal): Do not run update command if
2770 result file exists and is up to date.
2772 * ExternalTemplate.C (readFormat): Support the updateresult token.
2774 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
2776 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
2777 external_templates) to use the buffer->fileName() but only if
2778 previewing. Generating a TeX file should make FPath return
2781 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2784 * insetert.C: fix some problems
2786 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2788 * insetexternal.C (doSubstitution): Added $$FPath token
2789 to list of usable substitutions in external inset templates.
2791 2001-10-24 Juergen Vigna <jug@sad.it>
2793 * insettabular.C: use new ltType struct for setting longtable
2794 header and footers also new UNSET enums.
2796 2001-10-24 José Matos <jamatos@fep.up.pt>
2798 * insettabular.C (linuxdoc): Now exports the ascii's table version.
2799 (docbook): If the table is not inside a float then wrap it inside
2800 <informaltable>...</informaltable>.
2802 2001-10-23 José Matos <jamatos@fep.up.pt>
2804 * insetref.C (docbook): removed / terminator to conform SGML.
2806 * insetspecialchar.C (linuxdoc):
2807 (docbook): Added support for special chars, more than ascii export.
2809 2001-10-22 Juergen Vigna <jug@sad.it>
2811 * insettext.C (checkInsertChar): added for REALLY checking the
2812 font of the inserted char in the right inset!
2814 2001-10-19 Juergen Vigna <jug@sad.it>
2816 * inset.h: added method allowSpellcheck() so that insets who do
2817 not have anything to spellcheck can tell and so they are over-jumped.
2818 Implemented for InsetText and co.
2820 2001-10-18 Juergen Vigna <jug@sad.it>
2822 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2824 2001-10-15 José Matos <jamatos@fep.up.pt>
2826 * insetert.C: allow export for docbook and linuxdoc
2828 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2830 * insetquotes.C (dispString): handles latin3 and latin4 quotes
2832 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2834 * insetquotes.C (dispString): fix handling of latin9 quotes
2836 2001-10-03 Juergen Vigna <jug@sad.it>
2840 * insetcollapsable.C: change updateInset calls to not tell BV that
2841 we have changed status.
2843 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2845 * insettabular.C (deletable): make const
2847 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2849 * insetert.C (latex): Fix the returned value
2851 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2853 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
2854 Returns string(), so nothing in an ERT inset is spellchecked.
2856 * insetgraphics.C (draw): print the filename if not displaying the
2858 (width): make sure that the width and draw methods are consistent.
2859 (updateInset): don't even load the image into cache if not displaying
2862 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2864 * various files (selectNextWord): renamed as
2865 selectNextWordToSpellcheck.
2867 * insetgraphics.C (draw): remove the previous change. Right place
2868 is in imageLoaderXPM.C.
2869 (draw): don't display the image if params.display == NONE.
2871 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2873 * figinset.C (runqueue):
2874 * insetgraphics.C (draw): set background colour of inset from
2875 background to the user-configurable graphicsbg.
2877 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2879 * insetquotes.C (InsetQuotes): when trying to decide the side of
2880 the quote, choose `left' only after a space or '('
2882 2001-09-04 José Matos <jamatos@fep.up.pt>
2887 * insetcollapsable.h
2905 * insetlatexaccent.C
2906 * insetlatexaccent.h
2911 * insetspecialchar.C
2912 * insetspecialchar.h
2916 * insettext.C (docbook): rename docBook method to docbook.
2918 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2920 * inset.h (getFirstParagraph): New virtual method.
2922 2001-08-20 Herbert Voss <voss@perce.de>
2923 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
2924 in the the bibtex-database-gui for inserting a line
2927 If no style is given than there is no tex-output.
2929 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
2931 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
2935 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
2937 * insetert.C (latex): Fix output for multiple paragraphs.
2938 (write): New code for writing paragraph data.
2939 (read): Set font after reading the inset.
2940 (localDispatch): Call set_latex_font() for more cases.
2942 * insetnote.h: Add empty validate method.
2945 * insetnote.C (InsetNote): Set language to the language of the
2948 2001-08-16 Juergen Vigna <jug@sad.it>
2950 * insettext.C: implemented the new FINISHED states.
2952 * insettabular.C: ditto
2954 * inset.h: added more FINISHED states for cursor right,up,down
2956 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2958 * insetfloatlist.C: use "FloatName List"
2960 2001-08-14 Juergen Vigna <jug@sad.it>
2962 * insetert.C (edit): forgot to set status_ in edit calls!
2964 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2966 * insettext.C: Compilation fix
2968 2001-08-13 Juergen Vigna <jug@sad.it>
2970 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
2972 * insetcollapsable.C (edit): don't recollapse an already open inset.
2974 * insettext.C: fixed problem when reinitializing LyXText by not doing
2975 it while lt is in use and post this to the next possible time in
2977 (searchForward): fixed not unlocking of inset if nothing found.
2978 (edit): set cursor behind right (was set -1 pos).
2980 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
2982 * insettabular.C (tabularFeatures): fixed fix where deleting the
2983 last row didn't get the right actcell!
2985 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2987 * insettext.C (localDispatch): Change language only when the inset
2990 2001-08-10 Juergen Vigna <jug@sad.it>
2992 * insettabular.C (selectNextWordInt): use the front using edit call.
2994 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
2995 the parameter overwrite class variable inset.
2997 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
2999 * insettext.C (saveLyXTextState): check for invalid cursor-par.
3000 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
3002 * insettabular.C (calculate_dimensions_of_cells): let's try to call
3003 update only for fixed with cells.
3004 (resetPos): try to fix the lockup on spellchecking or s&r.
3006 * insettext.C (update): comment this out as it seems first wrong
3007 and second not needed anymore!
3008 (some functions): call reinitLyXText() only in update() in all other
3009 positions set only need_update = INIT.
3011 2001-08-08 Juergen Vigna <jug@sad.it>
3013 * insettabular.C (setPos): fixed wrong actrow < rows() check.
3015 * insettext.C (insetUnlock): remove double-space on inset unlock.
3017 * insetcollapsable.C (draw): fix returned x when label > inset-width.
3019 * insettabular.C (update): fixed cursor positon after an insert.
3020 (insetAllowed): do not allow to insert insets when not inside the
3022 (draw): clear below an inset too as it could have changed height.
3024 * inset.C (getMaxWidth): fixed width for inset in inset.
3026 * insettext.C (update): small fix.
3028 * insettabular.C (tabularFeatures): added selection support to
3029 DELETE_ROW/DELETE_COLUMN.
3031 2001-08-07 Juergen Vigna <jug@sad.it>
3033 * inset.C (getMaxWidth): recoded and all it's implementations!
3035 * insettext.C (init,setParagraph+constructors): cleanups
3036 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
3037 are new and I want do a save/restore of the cursor position which is
3038 not possible anymore.
3040 * insetcollapsable.C (searchBackward): recollapse inset if not found.
3041 (searchBackward): ditto
3042 (selectNextWord): ditto
3044 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
3046 * insetlatexaccent.C (checkContents): Add some debug messages
3048 2001-08-07 Juergen Vigna <jug@sad.it>
3050 * insetert.C (read): don't use InsetCollapsable::read as we don't
3051 write the collapsed status anymore only the status.
3054 2001-08-06 Juergen Vigna <jug@sad.it>
3056 * insetert.C (set_latex_font): use LyXText's setFont directly.
3058 * insettext.C (drawFrame): fixed one time more the right position
3059 and size of the frame!
3061 * insetert.C (~InsetERT): hide the dialog.
3062 (showInsetDialog): added implementation
3065 (status): new function for the status of the ERT inset (3-state).
3066 (write): output also the status of the inset for readback!
3067 (read): readback the status if available otherwise use collapsed_.
3069 * insettext.C (edit): small fix of setting the position, which could
3072 * insetert.C (width): implement this function for inlined viewing.
3073 Added minimum width of 10 pixels!
3075 * insetminipage.C (InsetMinipage): just change the colors a bit so
3076 that border/background is a bit more visible. We will remove this
3079 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
3080 function for getting the important widths for drawing in various
3081 functions and in LyXText.
3082 (draw): fixed up a bit (frame drawing/clearing)
3084 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3086 * inset.C (convertFont): delete method. not used.
3088 2001-08-03 Juergen Vigna <jug@sad.it>
3090 * insettext.C (setFont): don't call for a draw update if we're just
3091 changing the cursor font!
3093 2001-08-02 Juergen Vigna <jug@sad.it>
3095 * insettext.C (draw): clear the background with the right color if
3096 needed. Update myself if x&max-width changed and return without doing
3097 anything. Let the update code handle the right stuff.
3099 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
3100 inside another inset.
3102 2001-08-01 Juergen Vigna <jug@sad.it>
3104 * insetcollapsable.C (update): added an in_update bool so we avoid
3107 * insettabular.C (update): added an in_update bool so we avoid
3110 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
3112 (update): added an in_update bool so we avoid reentering.
3114 * insettabular.C (localDispatch): clear col/row selection when doing
3115 something else inside an inset.
3117 * insettext.C (getLyXText): fixed bug when requesting a recursive
3120 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
3122 * insetcite.C (latex): Paranoia check. Make sure that there is no
3123 whitespace between the citation keys.
3125 2001-07-31 Juergen Vigna <jug@sad.it>
3127 * inset.h (nodraw): make the set function also const so that this
3128 can be called from inside other const functions.
3130 * insetcollapsable.h: removed inline variable and moved it over
3131 to the only user InsetERT.
3133 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
3134 inset opening immediately therein lying insets dialogs!
3136 * insetert.C (localDispatch): set the font also if we don't have any
3137 chars in this paragraph, otherwise if we delete all of em and start
3138 writing we have the wrong font.
3140 (draw): implemented for inline support
3141 (insetButtonRelease): ditto.
3143 2001-07-30 Juergen Vigna <jug@sad.it>
3145 * insettext.C (reinitLyXText): new function to reinit the insets
3146 text after lot's of paragraph changes. Use this instead of the
3147 cache.clear() which is VERY dangerous.
3149 * insetfloat.C (insetButtonRelease): we should only show the dialog
3150 if we press on the label otherwise we have problems to open mouse
3151 button 3 dialogs inside this float (f.ex. of a tabular!)
3153 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3155 * insetert.C: change back to "ERT"
3157 * insetfloat.C: handliign of RMB on label added.
3159 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3161 * insetgraphicsParams.C: #include LOstream.h here.
3163 * insetfoot.h: remove InsetFoot:: qualifier.
3165 2001-07-29 Baruch Even <baruch@lyx.org>
3167 * ChangeLog: Hiding time travel evidence.
3169 * insetgraphicsParams.h:
3170 * insetgraphicsParams.C:
3171 * insetgraphics.C: Added horizontal scale option, it actually scales both
3172 directions since it keeps image proportions.
3174 * insetgraphics.C: Fixed EPS detection to be non-hacky.
3176 2001-07-29 Baruch Even <baruch@lyx.org>
3178 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
3179 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
3181 HACKY! Will need to add an EPS detection routine like old InsetFig does!
3183 2001-07-29 Baruch Even <baruch@lyx.org>
3185 * insetgraphics.C: Added EPSI to be an alias of EPS.
3187 2001-07-29 Baruch Even <baruch@lyx.org>
3189 * insetgraphics.C: Change GRAPHICS to Graphics.
3190 Changed image conversion rules (documented at the beginning of file).
3192 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
3194 * insetert.C (get_new_label): int -> Paragraph::size_type to get
3197 * insetgraphics.C: added a using std::endl directive.
3199 * insetcommand.h (getScreenLabel): removed pure virtual function,
3200 as it duplicates that in InsetButton.
3202 * insetbib.[Ch] (getScreenLabel):
3203 * insetbutton.[Ch] (getScreenLabel):
3204 * insetcite.[Ch] (getScreenLabel):
3205 * insetert.[Ch] (getScreenLabel):
3206 * insetexternal.[Ch] (getScreenLabel):
3207 * insetfloatlist.[Ch] (getScreenLabel):
3208 * insetinclude.[Ch] (getScreenLabel):
3209 * insetindex.[Ch] (getScreenLabel):
3210 * insetlabel.h (getScreenLabel):
3211 * insetparent.[Ch] (getScreenLabel):
3212 * insetref.[Ch] (getScreenLabel):
3213 * insettoc.[Ch] (getScreenLabel):
3214 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3216 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3218 (validate): remove check on "cite" when using natbib.
3220 2001-07-26 Baruch Even <baruch@lyx.org>
3222 * insetgraphics.C (draw): changed casting to be in one place rather than
3223 all over the function.
3226 * insetgraphics.C (read): Added compatibility reads of InsetFig.
3228 * insetgraphicsParams.h:
3229 * insetgraphicsParams.C:
3230 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3232 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3234 * insetfoot.C (validate): Added method to ensure that the
3235 right bit of LaTeX is emitted.
3237 * insetfoot.h: Added validate method to set the correct
3238 LaTeXFeatures bit for the special footnote code.
3240 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3242 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3245 2001-07-27 Juergen Vigna <jug@sad.it>
3247 * inset.h: remove not used font variable in parameter.
3248 removed checkInsertChar in UpdatableInset as it was equal to
3249 the one in Inset and so not needed.
3251 * insetert.C (checkInsertChar): implementation of function
3254 * inset.h: added new function checkInsertChar.
3256 * various files: added c-tor and clone() function.
3258 * insetcollapsable.h: removed clone function here as this should
3259 be only realized in REAL insets and added it to all collapsable
3260 insets! (with the copy-constructor).
3262 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3264 * insetminipage.C (read): handle missing parameters more gracefully
3266 * insetcollapsable.C (read): handel missing collapsed more gracefully
3268 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3270 * insetfloat.C (read): handle missing parameters.
3272 * insettext.C (read): handle old latex end_inset
3274 * insetert.C (setButtonLabel): new method
3275 (init): use it, to set the dynamic label correctly
3278 * Makefile.am (EXTRA_DIST): add files that is not part or the
3281 * insetcollapsable.h: remove autocollapsable (no users), remove
3282 draw_label, change_label_with_text and companion code. Remove args
3284 * insetert.[Ch]: move here instead (only user)
3286 * inset.h: rename private variable name to name_, make
3287 selectNextWord return a const string. make getInsetName return a
3288 string const &. Remove bool from open, add close.
3290 * Makefile.am: don't compile insetlist, insetsection
3293 2001-07-24 Juergen Vigna <jug@sad.it>
3295 * insetert.C (InsetERT): put init after the paragraph initialization,
3296 as otherwise we don't set the draw_label right.
3298 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3299 insets with the mouse without having strange selections.
3300 (edit): if the inset was collapsed and we open it here then put the
3301 cursor always at the beginning of the inset.
3302 (get_new_label): 15 instead of 10 max chars in the label.
3304 * insetert.C (localDispatch): added and handle various stuff we
3305 need to handle here (font setting on paragraph break, not permitted
3306 layout setting, etc.).
3308 * inset.h: added default copy-consturctor and implemented this in
3309 various insets with the change to use this in the clone function!
3311 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3313 * insetminipage.C (InsetMinipage): set background color to red :)
3315 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3317 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3318 draw frame mode is LOCKED.
3320 * insetcollapsable.C (edit):
3321 (insetButtonRelease): set update status to full when
3324 * insettext.C (clearInset):
3325 * insettabular.C (draw):
3326 * insetlatexaccent.C (draw): honor background color.
3328 * inset.h: new member background_color_, initialized to
3331 * inset.C (backgroundColor): new method.
3332 (setBackgroundColor): new method.
3334 * insetert.C (init): new method, called by the ctors.
3335 (InsetERT): when inserting contents, make sure the font is
3338 * insetnote.C (InsetNote): when inserting content, remove trailing
3340 (init): set background color to LColor::note
3342 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3344 * insetcollapsable.C: adjust
3346 * insetbutton.C: adjust
3348 2001-07-23 Juergen Vigna <jug@sad.it>
3350 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3351 parameter on the _collapsed function (was not needed) and call
3352 always width_collapsed().
3354 * insetert.C (InsetERT): use setLabel with "true" flag.
3356 * insetcollapsable.C: modified various functions to set the draw_label
3357 string right in any condition.
3358 (setLabel): added a bool parameter to set change_label_with_text.
3360 * insetcollapsable.h: added draw_label string which is set to the
3361 actual drawn label-string, while label is the original static label
3362 of this collapsable inset. Added bool change_label_with_text to set
3363 if we want that the label changes to the start of the InsetText's
3364 text when collabpsed. You can set this flag with the setLabel funciton.
3365 Added bool inlined for inlined collapsable insets, but not handled
3368 * insetcollapsable.C (get_new_label): added should get a new label
3369 from the InsetText beginning (for now 10 chars).
3371 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3373 * insetquotes.C (latex): fix the handling of french double quotes
3374 when not using the french pachage.
3376 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3378 * insetcollapsable.h: make WidthCollapsed mutable.
3380 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3381 InsetPrintIndex returns INDEX_PRINT_CODE.
3383 * inset.h: add INDEX_PRINT_CODE
3385 * insetcollapsable.C (draw): init widthCollapsed if necessary
3388 * insetquotes.C (width): use the local language, not the document
3391 (dispString): add additional spacing for all french languages,
3393 (validate): make it work when there is no default language
3395 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3397 * insetnote.C (init): new method, called by the constructors
3398 (InsetNote): new constructor with contents passed as a string
3400 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3402 * insetfootlike.C (insetAllowed): disallow float in footlike.
3404 * insetert.C (InsetERT): add collapsed argument to the constrctor
3407 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3409 * insetindex.h: shut off warning
3411 2001-07-20 Juergen Vigna <jug@sad.it>
3413 * insetcollapsable.C (update): recoded hopefully works now!
3415 2001-07-19 Juergen Vigna <jug@sad.it>
3417 * most files: implemented the below new introduced function.
3419 * inset.h: added new edit(BufferView *, bool front) method to be able
3420 to enter an inset from the front/back without knowing x/y positions
3421 and baselines inside the inset. So I just can tell the inset activate
3422 me and set the cursor on the front/back of yourself.
3424 2001-07-18 Juergen Vigna <jug@sad.it>
3426 * insetcollapsable.C (edit): fixed hopefully the y parameter which
3427 is given to the InsetText.
3428 (insetButtonPress): ditto
3429 (insetButtonRelease): ditto
3430 (insetMotionNotify): ditto
3432 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3434 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3435 LIGATURE_BREAK, since the name is so stupid.
3437 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3439 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3440 the default InsetCollapsable methods. I.e., it can insert anything.
3441 (write) output the name of the inset, not some silly hack for
3442 compatability with the old InsetInfo.
3444 * insetinfo.[Ch]: removed.
3445 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3446 now collapsable, but functionality is otherwise identical to InsetInfo.
3448 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3450 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3452 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3455 * insetquotes.C: general cleanup
3456 (dispString): add spaces inside french double quotes.
3457 (latex): ditto. Moreover, treat first the case where the frenchb
3458 or french options have been given.
3460 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3462 * insetcite.[Ch] (latex, validate): new methods, required for natbib
3465 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
3467 * figinset.C (RegisterFigure): Print debug message only when
3468 current_view is available.
3470 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3472 * many files: update to match the change below
3474 * inset.h (insetAllowed): renamed from insertInsetAllowed;
3475 implement the version which takes an inset here.
3477 * insetcollapsable.[Ch]: implement open and isOpen
3479 * inset.h: remove insertInsetAllowed from Inset
3480 (open): new method, to open or close an inset
3481 (isOpen): returns the status of an inset
3482 (isCollapsable, colapse): removed
3484 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3486 * insetquotes.C (dispString): display french guillemets when using
3489 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3491 * insetcollapsable.h: remove bogus return statements
3493 2001-07-18 Juergen Vigna <jug@sad.it>
3495 * insettabular.C (selectNextWord): fixed spellchecking for the
3496 first cell of a tabular (wasn't entered!)
3497 (getLyXText): changed to enter automatically insettext and return
3498 it's LyXText if we're locked.
3500 2001-07-17 Juergen Vigna <jug@sad.it>
3502 * various files: implemented the below functions.
3504 * inset.h: added functions
3505 - virtual string selectNextWord(BufferView *, float & value) const;
3506 - virtual void selectSelectedWord(BufferView *) { return; }
3507 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3508 needed for spellchecking correctly!
3510 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
3512 * insetert.C (latex): write out all paragraphs.
3514 2001-07-17 Baruch Even <baruch@lyx.org>
3516 * insetgraphics.C (draw): Removed unneeded casts.
3518 2001-07-16 Juergen Vigna <jug@sad.it>
3520 * insettext.C (update): fixed small oversight (reset lt to 0).
3522 2001-07-14 Baruch Even <baruch@lyx.org>
3525 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3527 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3529 Consistent use of Lsstream.h:
3530 * figinset.C: removed using std::ostringstream directive.
3532 * insetgraphics.C (createLatexOptions):
3533 * insetinclude.C (unique_id):
3534 std::ostringstream -> ostringstream.
3535 * insettext.C (localDispatch): std::istringstream -> istringstream.
3537 2001-07-13 Juergen Vigna <jug@sad.it>
3539 * insetfloat.C (insertInsetAllowed): added missing const_cast.
3541 * insetcollapsable.C (getLockingInset): ditto.
3543 2001-07-12 Juergen Vigna <jug@sad.it>
3545 * insetcollapsable.h: added implementation of new function for
3548 * various files: added implementation of new insertInsetAllowed-func
3549 and redone the function a bit more.
3551 * inset.h: added isCollapsable(), bool collapsed(),
3552 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3554 * insetfloat.C (insertInsetAllowed): make a bit more checks.
3556 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3557 LyXText which is marked for removal while we're using it!
3559 * insettext.h: added private LyXText * lt to use it to assure we are
3560 not deleting our LyXText while we're using it!
3562 2001-07-11 Juergen Vigna <jug@sad.it>
3564 * insettext.C (insertInset): check if we are before the inset after
3565 inserting it! This check IS needed. Remove the Undo-Call as it is
3566 called in LyXText::insertInset!
3568 * insettext.h: added struct InnerCache.
3570 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3571 that we ONLY delete the LyXText in the getLyXText() routine. So we
3572 are sure we don't delete LyXText while someone is working with it!
3574 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3576 * insetexternal.C: (*it). -> it->
3577 * insettext.C: ditto
3579 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3581 * insetcollapsable.C (edit): always open collapsed insets (even if
3582 they are not autocollapsable)
3584 * insetcommand.C (operator=): simplify.
3586 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3588 * insetert.C (latex): handle META_NEWLINE
3590 2001-07-09 Juergen Vigna <jug@sad.it>
3592 * insetert.h: a normal InsetText can insert insets, but we won't.
3594 * inset.h: return default "false" on insertInsetAllowed and implement
3595 this function where a returnvalue != "false" is needed.
3597 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3599 * insetert.C (InsetERT): new contructor
3601 2001-07-06 Juergen Vigna <jug@sad.it>
3603 * a lot of files: added implementation of the below new functions
3604 and the change to clone(). Also the call of the new undo-functions
3607 * inset.h: added an inset_id, added functions getParFromID,
3608 getInsetFromID, firstParagraph, cursor and id functions, added
3609 bool same_ids to clone function.
3611 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3613 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3614 of BufferView * and shared_ptr<LyXText>
3616 2001-07-05 Juergen Vigna <jug@sad.it>
3618 * insettext.C (clear): deleted also the cache not only LyXText.
3619 (setParagraphData): ditto.
3621 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3623 * insetfloat.C (latex): let the specific placement take presedence
3624 if set, otherwise choose document placement if set, otherwise just
3625 use float default placement.
3627 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3629 * insettext.C (localDispatch): call CutAndPaste::'s static method
3632 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3634 * insetbib.C: no meed to include forms.h here.
3636 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
3638 * insettext.C: added using std::make_pair directive.
3640 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3642 * insettext.C (getLyXText): avoid multiple lookups, and simplify
3644 (deleteLyXText): ditto
3645 (resizeLyXText): ditto
3647 2001-07-02 Juergen Vigna <jug@sad.it>
3649 * insettext.C (getLyXText): introduce a cache in getLyXText so that
3650 following calls are only returned the right pointer without the over
3651 head to search in the map.
3652 (various funcs): reset the cached_bview variable as this signs that
3653 the cache is not valid anymore.
3655 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3657 * insettabular.C (clone): do not copy the LyXTabular twice
3659 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3661 * insettext.h (TEXT): delete method
3663 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3665 * insetmarginal.C (latex):
3666 * insetfoot.C (latex): fix spacing of notes in LaTeX
3668 * insettext.C (localDispatch): use .c_str() on istringstream
3669 constructor argument.
3671 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3676 * inseturl.C: fix method names in these to begin
3677 with small char too, so they inherit
3679 2001-06-28 Juergen Vigna <jug@sad.it>
3681 * insettext.C (setFont): fixed font settings using toggleFree()
3682 instead of setFont().
3684 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3686 * Change a lot of method names to begin with a small char.
3687 Changes to a lot of files because of this.
3689 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3691 * insetfloatlist.C (Write): std:: qualify ostream
3694 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3698 * insetgraphics.C: send debug output to Debug::INFO instead of
3701 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3704 * insettabular.C (getStatus): update to use func_status
3706 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
3708 * insetref.C (DocBook): added support for cross-references without
3711 2001-06-26 The LyX Project <jug@sad.it>
3716 * insetlabel.h: removed escape method and moved it to
3719 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3721 * insettabular.C (getMaxWidth): do the speedup in a different way,
3724 2001-06-24 The LyX Project <Asger>
3726 * insettabular.C (getMaxWidth): We cache a mapping from
3727 inset to cell in order to speed this method up.
3729 2001-06-24 The LyX Project <Asger>
3731 * insettext.C: Optimized InsetText::draw or something.
3733 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
3735 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
3737 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3739 * inset.h: name change from lyxinset.h
3741 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
3743 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
3745 2001-06-14 Juergen Vigna <jug@sad.it>
3747 * insettext.C (draw): removed warnings.
3749 2001-06-13 Juergen Vigna <jug@sad.it>
3751 * insettabular.C (nodraw): only go down the tree if we don't have
3752 that flag set otherwise it's obvious that we don't want to draw.
3753 (LocalDispatch): do also an update if we have an undispached result.
3755 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
3758 * insetgraphicsParams.C:
3759 * insettext.C: removed // -*- C++ -*- as first line.
3761 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3763 * lyxinset.h (resizeLyXText): shut off warning about unused
3766 2001-06-07 Juergen Vigna <jug@sad.it>
3768 * insettext.C (resizeLyXText): honor the new force flag.
3770 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
3772 * insettabular.C (deleteLyXText): new function
3774 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3782 * insetcollapsable.C:
3783 * insetcaption.C: LColor tidy
3785 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3787 * figinset.C: fix typo
3789 2001-06-01 Juergen Vigna <jug@sad.it>
3791 * insettabular.C (resetPos): small hack so that scroll is not set to
3792 0 when we are in the last column of a tabular. This is a problem we
3793 have because of constats 20 offset on both directions, so this can
3794 cause on the limit an endless loop.
3796 * insettext.C (SetFont): forgot that we can have locking insets ;)
3798 2001-05-31 Juergen Vigna <jug@sad.it>
3800 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
3802 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3804 * figinset.C: add using std:: directive for the C functions which
3807 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3809 * insetfloat.C (Write): write out wide info
3810 (Read): read the wide info
3811 (Latex): use the wide info when creating latex.
3813 * insettext.C: adjust
3815 * insetgraphics.[Ch] (statusMessage): change to return string
3819 * figinset.C (runqueue): add std::
3822 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3824 * insetcite.C (Ascii): add std:: qualifier
3826 2001-05-28 Juergen Vigna <jug@sad.it>
3828 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
3829 a endless-width inset (maxWidth < 0).
3830 (Edit): change language only if not equal.
3832 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
3834 * insettext.C (draw): fixed draw/clear of InsetText-Frame
3836 2001-05-16 Juergen Vigna <jug@sad.it>
3838 * insettext.C (selectAll): added
3839 (clearSelection): added
3841 * insettabular.C (SetFont): now we may set a font on a whole selection!
3842 (getSelection): added helper function.
3844 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3846 * insetcite.C (Ascii): Add method.
3848 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3851 * insetbib.C: fix path for OS/2 & Win32
3853 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3855 * insetfoot.C (Latex): don't use % after footnote.
3857 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3859 * insettext.C (Read): use clear
3860 (SetParagraphData): use LyXParagraph copy constructor instead of clone
3862 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3864 * insetfloatlist.h: add a bunch of std:: qualifiers.
3866 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3868 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
3869 FLOAT_LIST_CODE, renumber code list.
3871 * insettoc.C (getScreenLabel): remove support for float lists
3875 * insetfloatlist.[Ch]: new files
3877 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
3879 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
3881 * insettabular.C (LocalDispatch):
3882 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
3885 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3887 * insettext.C: remvoe !NEW_INSETS cruft
3889 * insettabular.C: remove !NEW_INSETS cruft
3891 * insetcollapsable.h: remove !NEW_INSETS cruft
3893 * insetbib.C: remove !NEW_INSETS cruft
3895 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3897 * insettoc.C: hack to make listof algorithm work
3899 2001-04-20 Juergen Vigna <jug@sad.it>
3901 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
3903 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3905 * insetquotes.C (Latex): improve the guard against
3906 unwanted !` and ?` ligatures. This should really be done in
3907 another place (to catch all this ligatures at low-level).
3909 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3911 * insettext.C (init): remvoe leftovers from cursor_visible change
3912 (draw): use c++ cast
3913 (LocalDispatch): dispatch LFUN_MESSAGE
3915 * insettabular.C (InsetTabular): remove leftovers from
3916 cursor_visible, and scoped_ptr changes
3917 (draw): use c++ cast
3919 * insetcollapsable.C (draw): use c++ cast
3921 * ExternalTemplate.h: inherit privaely from noncopyable
3922 * insetcommand.h: ditto
3923 * insetinclude.h: ditto
3925 2001-04-16 Allan Rae <rae@lyx.org>
3927 * insettoc.C (Ascii):
3928 * insettext.C (draw):
3929 * insettabular.C (setPos):
3930 * insetminipage.C (Read):
3931 * insetfloat.C (placement):
3932 * insetcaption.C (Ascii, DocBook):
3933 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
3934 an unrecognised preprocessor directive. So ensure they're wrapped.
3936 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
3939 * insetexternal.C: set view on Clone. Add _ to private members.
3941 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3943 * insettext.C (InsetText): fix new
3944 (InsetText): reindent some, simplify deletion of par list
3945 (clear): simplify deletion of par list, fix new
3946 (SetParagraphData): simplify deletion of par list
3948 * insettabular.[Ch] (getLabelList): implement new method
3950 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3952 * lyxinset.h: do not include gettext.h...
3960 * insetlatexaccent.C:
3964 * inseturl.C: ... and do it here instead
3966 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3968 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
3970 * insettext.[Ch] (getLabelList): add std:: on vector<string>
3972 * insetcollapsable.[Ch] (getLabelList): implement
3974 * insettext.[Ch] (getLabelList): implement
3976 * insettext.h: reindent
3978 * insettabular.h: make tabular a scoped_ptr
3980 * insettext.C (init): adjust for cursor_visible
3981 (ToggleInsetCursor): constify asc and desc, font, adjust for
3983 (ShowInsetCursor): constify asc and desc, font, adjust for
3985 (HideInsetCursor): adjust for cursor_visible
3987 * insettabular.C: reindent some
3988 (InsetTabular): adjust for scoped_ptr and cursor_visible
3989 (InsetTabular): ditto
3990 (~InsetTabular): delete delete
3991 (Clone): adjust for scoped_ptr
3992 (Read): constify old_format, adjust for scoped_ptr, move init of
3994 (draw): constify tx, localize loop vars.
3995 some other localization of variables, remove double initilizatons.
3997 * insetfoot.C: remove using std::ostream, add ostream where needed
3999 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4001 * lyxinset.h: some reindentaion, use initializer list for
4003 UpdatableInset: make cursor_visible a private var add
4004 public isCursorVisible(), add protected toggleCursorVisible() and
4005 proctected setCursorVisible(bool), make scroll call the Inset::scroll
4007 * insettoc.C: remvoe using decl
4008 (getScreenLabel): make cmdname donst
4011 (Ascii): don't use endl
4013 * insetfootlike.C: remove using decl at file scope and add std::
4015 * insetmarginal.C: ditto
4017 * insetfoot.C: some reformatting
4019 * insetfloat.C (InsetButtonRelease): adjust the hit area
4021 * insetert.C (SetFont): some reformatting
4023 * insetcollapsable.C: some reformatting and constification
4024 (Clone): comment out.
4025 * insetcollapsable.h: some reformatting
4026 (Clone): comment out.
4031 2001-03-30 Juergen Vigna <jug@sad.it>
4033 * insetcollapsable.h: changen *inset to be a InsetText inset.
4035 * some files: changed to reflect the above change.
4037 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
4039 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
4040 InsetExternal::Params.
4041 Added operator==() and operator!=() for the Params struct.
4043 2001-03-29 Juergen Vigna <jug@sad.it>
4045 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
4048 * insetminipage.C: removed widthp_ and all it's functions and changed
4049 to use new %-lengths of LyXLength.
4051 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4053 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
4055 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4057 * insetgraphicsParams.C (operator!=): new function, needed by the
4058 ControlGraphics class.
4060 2001-03-28 Juergen Vigna <jug@sad.it>
4062 * insettext.C (InsetButtonPress): only enter !inset if button == 2
4063 (checkAndActivateInset): don't use the values returned from
4064 call to bv->checkInsetHit.
4066 * insetminipage.C (Clone): set special minipage values.
4068 * insetcollapsable.C (draw): changed to draw the button in the
4069 upper left corner outside the textinset.
4070 (ascent): changed because of different drawing
4074 (InsetButtonPress): ditto
4075 (InsetButtonRelease): ditto
4076 (InsetMotionNotify): ditto
4078 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
4080 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
4084 2001-03-26 Juergen Vigna <jug@sad.it>
4086 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
4088 * insettext.C (ShowInsetDialog): implemented above function.
4090 * insettabular.C (ShowInsetDialog): ditto
4092 * insetminipage.C (ShowInsetDialog): ditto
4094 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4096 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
4097 InsetInclude::Params. Don't store a buffer * in Params. Store the
4098 master file name instead.
4100 2001-03-23 Juergen Vigna <jug@sad.it>
4102 * insetcollapsable.C (InsetMotionNotify):
4103 (InsetButtonRelease):
4104 (InsetButtonPress): fixed y-offset (minipages).
4106 * insettext.C (draw): force a FULL update if cleared == true.
4108 * insetcollapsable.C (draw): Lars forgotten entry for changing this
4109 routine to draw the minipages on its position-flag.
4110 (InsetInInsetY): give back the right y position, because of minipage
4113 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4116 * insetfloat.C (DocBook): docbook export code.
4118 2001-03-22 Juergen Vigna <jug@sad.it>
4120 * insetminipage.C (getMaxWidth): added function to set the drawing
4122 (Read): should work now!
4124 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
4125 if we create a new inset.
4127 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4129 * figinset.C (fl_set_preemptive_callback): moved definition outside
4132 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4134 * insetminipage.C (Read): prepare for reading of minipage arguments.
4136 2001-03-18 Baruch Even <baruch@lyx.org>
4138 * insetgraphics.C: Minor cleanups of the comments and code.
4140 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4142 * insetminipage.C (InsetMinipage): default to not collapsed
4144 2001-03-16 Juergen Vigna <jug@sad.it>
4146 * insetminipage.C (width): modified with to be a string
4147 (widthp): added widthp (for % width) support functions.
4148 (InsetButtonRelease): added to open the options dialog on button==3.
4149 (~InsetMinipage): added to hide the dialog.
4151 * insetminipage.h: added hideDialog signal
4153 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4155 * insetminipage.h: change the order or Position to match
4156 LyXParagraph::MINIPAGE_ALIGNMENT
4158 * several files: remvoe CXX_WORKING_NAMESPACES
4160 * ExternalTemplate.h: noncopyable is in namespace boost
4161 * insetinclude.h: ditto
4162 * insetcommand.h: ditto
4164 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4166 * insettext.C (Edit): #else# -> #else.
4167 * insettoc.C: added using directive.
4169 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4171 * insetminipage.h: add pos, inner_pos, width and height. + getters
4172 and setters for all of them.
4174 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4176 * insetinclude.C (Latex): Do not exit when the textclass of the
4177 included file differ from the textclass of the parent file.
4179 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
4181 * ExternalTemplate.C (read): the reading of external insets now checks
4182 for \end_inset and removes it form the input stream.
4184 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4186 * ExternalTemplate.h:
4187 * ExternalTemplate.C:
4189 * insetexternal.C: move form to GUII
4191 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4194 * insetinclude.C: add InsetIncludeParams, use
4195 composition rather than derivation of InsetCommand
4197 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4199 * insettoc.C (Ascii): use the Buffer typedefs
4201 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4203 * insettoc.C (Ascii): implement for dynamic number of lists
4205 * insetcaption.[Ch]: update from new_insets branch
4206 * insetfloat.[Ch]: ditto
4208 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4211 * figinset.C: use new File Dialog
4213 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4215 * insettext.C: changes becuase of ParagraphParameters.
4217 2001-02-28 Baruch Even <baruch@ev-en.org>
4219 * insetgraphics.C (updateInset): Changed due to the change in
4222 2001-02-26 Juergen Vigna <jug@sad.it>
4224 * insettext.C (SetFont): Set Undo only if we have selection (as it is
4225 handled in LyXText).
4227 2001-02-23 Juergen Vigna <jug@sad.it>
4229 * insettext.C (draw): some small repainting fixes.
4230 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4232 * inset.C (LocalDispatch): changed action to be a kb_action (as it
4233 should be) and not an int.
4235 * insettabular.C (LocalDispatch): ditto
4237 * insettext.C (LocalDispatch): ditto
4239 * insetcollapsable.C (LocalDispatch): ditto
4241 2001-02-22 Juergen Vigna <jug@sad.it>
4243 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4244 DISPATCH it and we don't have a locking_inset.
4246 2001-02-21 Baruch Even <baruch@ev-en.org>
4248 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4249 instead of GraphicsCacheItem *.
4251 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4253 * insetcollapsable.C (getLyXText): add const qualifier to second
4256 2001-02-22 Juergen Vigna <jug@sad.it>
4258 * insettext.C (getLyXText): honor the recursive parameter.
4259 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4261 * inset.C (getLyXText): added bool recursive parameter.
4263 * insettext.C (SetUpdateStatus): or the update codes.
4264 (draw): check need_update with &.
4265 (InsetButtonPress): set no_selection to not put a selection when
4266 entering an inset and it is redraws in another spot.
4268 * insettext.h: made need_update an int.
4270 2001-02-20 Baruch Even <baruch@ev-en.org>
4273 * insetgraphisc.C: Changed to use better semantics when loading images
4274 for inline view. Now it doesn't keep the pixmap itself but it's holder.
4276 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4280 * insetgraphics.C: change name of "hide" signal to "hideDialog",
4281 consistent with InsetTabular.
4283 2001-02-19 Juergen Vigna <jug@sad.it>
4285 * insettabular.C (LocalDispatch): implement PAGE up/down.
4287 * insettext.C (draw): clear all of it on need_update==INIT too!
4289 * insettabular.C (InsetUnlock): always clear the selection.
4291 * inset.C (scroll): normally we only want to scroll the inset until
4292 it is fully visible so if top_x + offset > 20 then just set scx to 0.
4294 2001-02-14 Juergen Vigna <jug@sad.it>
4296 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4297 (resetPos): fixed scroll behaviour.
4298 (LocalDispatch): do an update if moving cursor inside a table cell
4299 requests a scroll of the tabular.
4301 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4303 * insettext.C (textWidth): constify local var
4305 * insettabular.C: small cleanup.
4307 * insetfoot.C (Latex): constify local var
4309 * insetcollapsable.C: small cleanup.
4311 * figinset.C (runqueue): use compare instead of strcmp
4313 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4316 * insetinfo.C: remove cruft
4318 2001-02-14 Juergen Vigna <jug@sad.it>
4320 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4322 2001-02-13 Juergen Vigna <jug@sad.it>
4324 * insettext.C (InsertInset): don't move left (is this right?)
4326 * insettabular.C (LocalDispatch): use of the no_draw variable
4328 * insettabular.h: new no_draw variable to stop redraw
4330 * insettabular.C (TabularFeatures): fixed update for alignment change
4332 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4336 * insetbib.C: move dialogs to frontends/
4338 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4340 * insettext.C (LocalDispatch): Restore the language if the inset
4343 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4345 * insettext.C (moveRightIntern): Update the selection cursor.
4346 (moveLeftIntern): Ditto.
4348 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4350 * Makefile.am: remove BoundingBox.h
4352 * BoundingBox.h: removed
4354 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
4356 * insettext.C (LocalDispatch): Update selection cursor when moving
4357 cursor to the right.
4358 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4359 (moveLeftIntern): Ditto.
4361 2001-02-05 Baruch Even <baruch.even@writeme.com>
4363 * insetgraphics.C: Updated automatic image conversion, it now goes into
4364 temporary directory instead of with the image itself.
4366 2001-01-21 Baruch Even <baruch@ev-en.org>
4368 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4369 to EPS or PNG when needed (support bitmap graphics).
4371 2000-11-02 Baruch Even <baruch@ev-en.org>
4374 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4375 and removal of commented out code.
4377 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4379 * insetbib.C (callback): Update citations if the key has changed.
4381 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4383 * insetbib.C (InsetBibKey): Better computation of default key.
4384 (getScreenLabel) Show both the key and the label.
4385 (getBibLabel): New method.
4386 (callback): Force a redraw if the inset have been changed.
4388 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4390 * insetref.C (getType, getName): Move methods from
4391 src/frontends/xforms/FormRef.C.
4393 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
4395 * insettabular.C: Various improvements (use only one dummy position).
4397 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
4399 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4400 par->bibkey->width. This fixes the crashes when running without
4401 gui or when having included documents.
4403 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
4405 * insetcommand.C (getAsString, setFromString): Cleanup.
4407 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
4409 * insetref.C: Add the array InsetRef::types that contains
4410 information about all supported reference types.
4412 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4414 * lyxinset.h: remove trailing comma in enum.
4416 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
4418 * insettext.C: kill LyXBell.