1 2003-04-02 John Levon <levon@movementarian.org>
3 * insettabular.C: tab lfuns renamed
5 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * insettext.C (update): move towards ParagraphList
12 (lockInsetInInset): ditto
13 (updateInsetInInset): ditto
14 (localDispatch): ditto
17 (resizeLyXText): ditto
18 (searchBackward): ditto
19 (collapseParagraphs): ditto
22 * insetwrap.C (InsetWrap): adjust
23 (addToToc): adjust and rewrite loop
25 * insettext.[Ch] (paragraph): delete function
27 * insettabular.C (moveNextCell): adjust
28 (movePrevCell): adjust
29 (insertAsciiString): adjust
31 * insetfloat.C (InsetFloat): adjust
34 * insetert.C (InsetERT): adjust
35 (write): adjust, and rewrite loop
36 (latex): adjust, and rewrite loop
37 (linuxdoc): adjust, and rewrite loop
38 (docbook): adjust, and rewrite loop
39 (localDispatch): adjust
40 (get_new_label): adjust
42 2003-04-01 John Levon <levon@movementarian.org>
44 From Alfredo Braunstein
47 * insetbutton.C: add localDispatch()
49 * insetcommand.C: return DISPATCHED when edit() called
51 * insettext.C: fix bug 967
53 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
57 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
59 * insettext.C (draw): adjust
60 (crow): return a RowList::iterator not a Row*
62 * insetminipage.C (localDispatch): adjust
64 * insetert.C (localDispatch): adjust
66 2003-03-31 John Levon <levon@movementarian.org>
69 * insetgraphicsParams.C: use_gui moved to lyx_gui
71 2003-03-31 John Levon <levon@movementarian.org>
73 * insettext.C: Alert fix
75 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
77 * insettext.C (ascent): adjust for RowList
81 (toggleSelection): adjust
83 * insetminipage.C (localDispatch): adjust for RowList
85 * insetert.C (localDispatch): adjust for RowList
86 (getMaxWidth): adjust for RowList
88 2003-03-29 John Levon <levon@movementarian.org>
90 * insetert.C: Alert cleanup
92 2003-03-29 John Levon <levon@movementarian.org>
94 * insettabular.C: Alert fix
96 2003-03-28 John Levon <levon@movementarian.org>
98 * insetfloat.C: reset label on INSET_MODIFY
100 2003-03-28 John Levon <levon@movementarian.org>
102 * insetgraphicsParams.C: read subcaptionText as a whole line
105 2003-03-28 John Levon <levon@movementarian.org>
107 * insettext.C: remove unused prototypes
109 2003-03-25 Angus Leeming <leeming@lyx.org>
111 * insetbibitem.C (localDispatch): repaint the view after modifying
112 a bibitem inset in case the maximum InsetBibitem width has changed.
114 2003-03-25 John Levon <levon@movementarian.org>
117 * insettabular.C: LyXText renamings
119 2003-03-24 John Levon <levon@movementarian.org>
121 * insettext.C: remove some dead code. Fix bug 972 and
122 related by posting a repaint in updateLocal(), and making
123 the SEL functions set SELECTION.
125 2003-03-22 John Levon <levon@movementarian.org>
128 * inset.C: remove no-longer-needed topx_set
130 * insetcollapsable.h:
131 * insetcollapsable.C: remove dead code
134 * insetert.C: rebreak the rows when a possible
135 change in size is made, and reset the cursor
138 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
140 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
141 topx_set. Fix drawing errors for clearInset(). Remove
142 some unnecessary uses of topx, which should die.
144 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
145 is no longer needed. Replace it with an ugly hack.
147 2003-03-20 John Levon <levon@movementarian.org>
150 * insetcollapsable.h:
151 * insetcollapsable.C:
159 * insettext.C: remove spurious font parameter
160 from update(). Fix drawing of ERT insets inside
161 insets (bug 966). Remove unused mark_dirty from
162 tabular's updateLocal()
164 2003-03-19 John Levon <levon@movementarian.org>
173 * insetwrap.C: remove unused getter/setters
175 2003-03-19 John Levon <levon@movementarian.org>
177 * several files: bv->updateInset() doesn't take
178 a bool mark_dirty any more
180 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
182 * adjust for BufferView* arg removal from lyxtext.
184 2003-03-17 John Levon <levon@movementarian.org>
186 * most files: remove the "cleared" parameter
187 to draw in favour of always clearing. Associated
190 2003-03-16 John Levon <levon@movementarian.org>
192 * insettext.C: remove unused s.refresh
194 2003-03-13 Angus Leeming <leeming@lyx.org>
196 * insettext.C (edit): replace Dialogs::updateParagraph with
197 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
199 2003-03-13 André Pönitz <poenitz@gmx.net>
201 * Makefile.am: insert insetenv
203 * insethenv.[Ch]: new files, currently inactive
205 2003-03-12 John Levon <levon@movementarian.org>
215 * insettext.C: use new insetnewline
217 2003-03-12 John Levon <levon@movementarian.org>
219 * insettext.C: readToken became readParagraph
221 2003-03-12 John Levon <levon@movementarian.org>
223 * insettext.C: use parlist iterator for reading contents
225 2003-03-12 John Levon <levon@movementarian.org>
227 * insettext.C: name change to readToken()
229 2003-03-11 André Pönitz <poenitz@gmx.net>
231 * Makefile.am: insert insethfill
233 * insethfill.[Ch]: new files
235 2003-03-10 Angus Leeming <leeming@lyx.org>
237 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
239 (hideDialog): calls the new static Dialogs::hide() method.
241 * insetbibitem.C (edit):
242 * insetbibtex.C (edit):
243 * insetcite.C (edit):
244 * insetcommand.C (localDispatch):
245 * inseterror.C (d-tor):
246 * insetert.C (showInsetDialog):
247 * insetexternal.C (localDispatch, edit):
248 * insetfloat.C (localDispatch, showInsetDialog):
249 * insetfloatlist.C (edit):
250 * insetgraphics.C (localDispatch, edit):
251 * insetinclude.C (localDispatch, edit):
252 * insetindex.C (edit):
253 * insetlabel.C (edit):
254 * insetminipage.C (localDispatch, showInsetDialog):
256 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
257 resetPos, showInsetDialog, openLayoutDialog):
260 * insetwrap.C (localDispatch, showInsetDialog):
261 changes due to the changed MailInset interface.
263 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
265 * insetfloat.h: Set default placement to an empty string.
267 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
269 * insettext.C (latex): addjust call to latexParagraphs.
271 2003-03-10 Angus Leeming <leeming@lyx.org>
273 * mailinset.C: warn the user if the BufferView has not been cached.
275 2003-03-10 Angus Leeming <leeming@lyx.org>
277 * inset.h, insetbase.h: move cache() and view() into InsetBase.
279 * insetcommand.h (inset):
280 * insetert.h (inset):
281 * insetexternal.h (inset):
282 * insetfloat.h (inset):
283 * insetgraphics.h (inset):
284 * insetinclude.h (inset):
285 * insetminipage.h (inset):
286 * insettabular.h (inset):
287 * insetwrap.h (inset):
288 * mailinset.h (inset): return an InsetBase &, not an Inset &.
290 2003-03-10 Angus Leeming <leeming@lyx.org>
292 * insetcommand.C (string2params):
293 * insetexternal.C (string2params):
294 * insetfloat.C (string2params):
295 * insetgraphics.C (string2params):
296 * insetinclude.C (string2params):
297 * insetminipage.C (string2params):
298 * insettabular.C (string2params):
299 * insetwrap.C (string2params): cure warning message about missing
302 2003-03-09 Angus Leeming <leeming@lyx.org>
304 * insettabular.[Ch]: define a new class InsetTabularMailer and use
305 it to communicate with the frontend dialogs.
307 * mailinset.C (hideDialog): only hide the dialog if it is showing the
308 contents of this inset!
310 2003-03-07 Angus Leeming <leeming@lyx.org>
312 * inseterror.C (localDispatch): new method; calls edit() on
315 2003-03-07 Angus Leeming <leeming@lyx.org>
317 * insetbibitem.C (localDispatch):
318 * insetbibtex.C (localDispatch):
319 * insetlabel.C (localDispatch):
322 2003-03-07 Angus Leeming <leeming@lyx.org>
324 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
325 it to communicate with the frontend dialogs.
327 cd src2003-03-07 Angus Leeming <leeming@lyx.org>
329 * insetexternal.C: remove operator== and operator!= for
330 InsetExternal::Params. They were used only by the old controller
333 2003-03-07 Angus Leeming <leeming@lyx.org>
335 * insetcommand.C (localDispatch):
336 * insetexternal.C (localDispatch):
337 * insetfloat.C (localDispatch):
338 * insetinclude.C (localDispatch):
339 * insetminipage.C (localDispatch):
340 * insetwrap.C (localDispatch):
341 add LFUN_INSET_DIALOG_UPDATE to the switch.
343 2003-03-07 Angus Leeming <leeming@lyx.org>
345 * insetcommand.C (string2params):
346 * insetexternal.C (string2params):
347 * insetfloat.C (string2params):
348 * insetinclude.C (string2params):
349 * insetwrap.C (string2params): use LyXLeX more.
352 * insetexternal.[Ch]:
355 * insetwrap.[Ch]: change Mailer::name_ to be static.
357 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
358 it to communicate with the frontend dialogs.
360 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
363 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
365 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
367 * insettext.C (updateLocal): un-const function
368 (updateLocal): adjust
369 (collapseParagraphs): un-const function
370 (collapseParagraphs): adjust
372 2003-03-05 Angus Leeming <leeming@lyx.org>
374 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
375 it to communicate with the frontend dialogs.
377 2003-03-05 Angus Leeming <leeming@lyx.org>
379 * insetcollapsable.C (draw): cache the BufferView.
381 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
382 it to communicate with the frontend dialogs.
384 2003-03-05 Angus Leeming <leeming@lyx.org>
386 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
389 2003-03-05 Angus Leeming <leeming@lyx.org>
391 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
393 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
394 it to communicate with the frontend dialogs.
396 2003-03-05 Angus Leeming <leeming@lyx.org>
398 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
399 it to communicate with the frontend dialogs.
401 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
403 * insettext.C (collapseParagraphs): adjust
404 (appendParagraphs): make it take a Buffer* instead of a
405 BufferParams& as arg.
406 (appendParagraphs): adjust
408 2003-03-04 Angus Leeming <leeming@lyx.org>
410 * insetbibitem.C (localDispatch):
411 * insetbibtex.C (localDispatch):
412 * insetcommand.C (localDispatch):
413 * insetert.C (localDispatch):
414 * insetlabel.C (localDispatch):
415 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
417 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
419 * insettext.C (latex): adjust for ParagraphList::iterator
421 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
423 * insetbutton.C (view): adjust for boost 1.30.0
424 * insetcollapsable.C (view): ditto
425 * insetgraphics.C (statusChanged): ditto
427 * insettext.h: move paragraphs to be public.
429 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
431 * insetnote.[Ch] (InsetNote): remove unused constructor
433 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
435 * insetgraphics.C: added include "format.h"
437 2003-02-27 Angus Leeming <leeming@lyx.org>
439 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
442 2003-02-27 Angus Leeming <leeming@lyx.org>
444 * insetbibitem.C (localDispatch):
445 * insetbibtex.C (localDispatch):
448 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
450 2003-02-26 Angus Leeming <leeming@lyx.org>
452 * insetbibitem.[Ch] (localDispatch):
453 * insetbibtex.[Ch] (localDispatch):
454 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
456 * insetcommand.C (localDispatch):
457 act only on receipt of LFUN_XYZ_APPLY.
459 * insetert.C (localDispatch): reformat.
460 add LFUN_XYZ_APPLY to the switch.
462 2003-02-26 John Levon <levon@movementarian.org>
464 * insettext.C: use RowPainter
466 * inset.h: make helpers take const *
468 2003-02-26 Angus Leeming <leeming@lyx.org>
470 * insetcommand.[Ch] (localDispatch): new method.
472 2003-02-26 Angus Leeming <leeming@lyx.org>
474 * insetinclude.C (draw): cache the BufferView* using cache not
477 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
479 * insetgraphics.C (draw)
480 * insetinclude.C (draw): Eliminate also the other argument (owner
481 inset inset) in the call to PreviewImage::image
483 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
485 * insetgraphics.C (draw)
486 * insetinclude.C (draw): Eliminate Buferview argument in call to
489 2003-02-25 John Levon <levon@movementarian.org>
491 * insetgraphicsParams.h:
492 * insetgraphics.C: don't start a load process if
493 the inset is set to NoDisplay (bug #920)
495 2003-02-22 John Levon <levon@movementarian.org>
498 * insetwrap.C: TocItem changed API (bug 913)
500 2003-02-21 Angus Leeming <leeming@lyx.org>
502 * insetcollapsable.[Ch] (cache, edit):
503 * insetbutton.[Ch] (cache, edit): new methods to cache the
504 BufferView in the draw method.
506 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
507 simplify comunication between InsetCommand-derived classes and
514 * insetfloatlist.[Ch]:
518 * inseturl.[Ch]: small changes to reflect the new interface to the
521 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
522 other, similar classes.
524 * Makefile.am: add new files.
526 2003-02-21 Angus Leeming <leeming@lyx.org>
528 * updatableinset.h (setView, view): remove.
529 * inset.h (view, cache): to be replaced by these.
531 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
534 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
537 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
539 2003-02-21 Allan Rae <rae@lyx.org>
541 * insetinclude.C (loadIfNeeded): ensure loading also works when
542 child document is under version control.
544 2003-02-17 André Pönitz <poenitz@gmx.net>
546 * insetbib.[Ch]: Adjust access to bibkeys
548 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
550 * insetquotes.C (dispString): remove use of acute accent for "'"
553 2003-02-14 John Levon <levon@movementarian.org>
555 * insettabular.C: changed method names in tabular.C
557 2003-02-14 John Levon <levon@movementarian.org>
561 * insetcollapsable.h:
562 * insetcollapsable.C:
566 * insettext.C: remove unused getParFromID()
568 2003-02-13 John Levon <levon@movementarian.org>
571 * insettext.C: remove unused beginningofMainBody()
573 2003-02-08 John Levon <levon@movementarian.org>
577 * insetcollapsable.h:
578 * insetcollapsable.C:
583 add nextChange(). Make allowSpellcheck() const. Add markErased().
585 * insetert.C: ignore deleted text
587 * insettabular.C: make sure to keep change tracking working
590 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
595 * insettext.C: Use error messages with identical spelling and punctuation
597 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
599 * insetgraphics.C (draw, width): Fix spacing around graphics inset
601 2002-12-17 Juergen Vigna <jug@lyx.org>
603 * insettext.C (localDispatch): hopefully fixed cursor up down
604 movement on leaving other insets.
606 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
608 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
611 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
613 * insetgraphics.C (prepareFile): do not remove the extension of
614 the file name if it is not the default extension for the given
615 format (that is, in latex output, remove extension from foo.eps,
616 but not from foo.epsi)
618 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
620 * insettext.C (lfunMouseRelease): hackish solution to the "double
623 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
625 * insetfloat.C (addToToc): use the floats name not its type
626 * insetwrap.C (addToToc): ditto
628 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
630 * insetnote.C (init): make label font smaller
632 2002-12-04 John Levon <levon@movementarian.org>
634 * insetinclude.C: ressurect setting of command name
636 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
638 * insetquotes.C (dispString): disambiguate insert call
640 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * several files: ws changes
644 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * insetquotes.C (dispString): use string::insert for prepending a
649 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
651 * insetparent.C (getScreenLabel): use boost::format
653 * insetgraphics.C (prepareFile): use boost::format
656 * insetfloatlist.C (latex): use boost::format
658 * insetcaption.C (draw): use boost::format
660 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
662 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
665 2002-11-20 Juergen Vigna <jug@sad.it>
667 * insettabular.C (resetPos): temporary fix for endless loop in
668 this function on a redraw.
670 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
672 * insettabular.C (copySelection): STRCONV
674 * insetinclude.C (uniqueID): STRCONV
677 * insetgraphics.C: put VersionNumber inside anon namespace
678 (createLatexOptions): STRCONV
680 * insetcommandparams.C: include config.h
682 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
684 * insetgraphicsParams.C (Write): use lyx::float_equal.
685 Write height data correctly.
686 (Read): zero scale when reading height data.
688 2002-10-30 John Levon <levon@movementarian.org>
690 * insetfloat.C (addToTOC): recursively traverse all
691 contents looking for captions (fix #568)
693 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
695 * insetexternal.C (doSubstitution): do not try to replace
696 environment variables, this is done when executing the command
698 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
700 * insetexternal.C (doSubstitution): change order of substitution
701 to work around ReplaceEnvironmentPath brokenness
703 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
705 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
707 * insetgraphicsParams.C (init, Write): associated changes
708 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
709 InsetGraphicsParams::scale.
711 2002-10-21 John Levon <levon@movementarian.org>
713 * inset.h: remove unused DISPATCH_RESULT
715 * insettext.C: sgml open/close tag now in sgml namespace
717 2002-10-21 Angus Leeming <leeming@lyx.org>
719 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
720 file path subdir/fig.eps when pasting it into a buffer in a different
723 2002-10-16 John Levon <levon@movementarian.org>
725 * insetspecialchar.C: remove \\protected_separator parsing
727 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
729 * insetquote.C: fix LaTeX output of quotation marks.
731 2002-10-14 Juergen Vigna <jug@sad.it>
733 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
734 Backspace functions which confused the Undo handling.
736 2002-10-09 Angus Leeming <leeming@lyx.org>
738 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
739 BufferView::dispatch that turns off this optimisation when a new inset
742 * insetcite.C (getNatbibLabel): correct logic of when and when not to
743 reload the BibTeX keys.
745 2002-10-11 André Pönitz <poenitz@gmx.net>
747 * insettext.h: handle LFUN_PRIOR/NEXT
749 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
751 * insetfloat.C: fix bug with float settings
752 (document default != float default).
754 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
756 * insetwrap.C (addToToc): New method.
757 (InsetWrap): Set layout to caption.
759 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
761 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
763 2002-09-16 John Levon <levon@movementarian.org>
765 * insettabular.h: hasSelection() needs to be public
767 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
769 * insetgraphicsParams.C: use empty string as default for rotateOrigin
771 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
773 * insetgraphicsParams.C: use empty string as default for rotateOrigin
775 2002-09-11 André Pönitz <poenitz@gmx.net>
777 * insettabular.C: implement LFUN_WORDSEL
779 2002-09-10 John Levon <levon@movementarian.org>
781 * insetinclude.h: remove unused param
783 2002-09-09 John Levon <levon@movementarian.org>
786 * insetinclude.C: remove noload, default to input
788 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
790 * insetgraphics.C: disfuscated use of ']' in built output string.
792 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
794 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
796 2002-08-29 Juergen Vigna <jug@sad.it>
798 * insettabular.C (lfunMousePress): Pay attention where you set
799 the x/y values as they depend on which inset in the tabular is
800 actually locked. So you surely have to reset them if you (un)lock
803 2002-08-29 André Pönitz <poenitz@gmx.net>
805 * insetfootlike.h: rename include guard to ALL CAPS
807 * insettext.C: swap object and first parameter for checkInsetHit calls
808 as this functions has moved from BufferView to LyXText
811 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
813 * insetgraphicsParams.C: remove local displayTranslator and use
814 the one from graphics/GraphicsTypes.h.
816 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
818 * insetfloat.C (wide): add BufferParams parameter
820 * insetfloatlist.C (read):
823 * insetfloat.C (latex):
825 * insetcaption.C (draw): use LyXTextClass::floats()
827 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
829 * insetoptarg.h: add std:: qualifier.
831 2002-08-26 Juergen Vigna <jug@sad.it>
833 * insettext.C (localDispatch): ditto.
835 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
837 2002-08-25 John Levon <levon@movementarian.org>
839 * inseturl.C: elide long URLs (bug 404)
841 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
843 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
844 remove "Format Version <version_no.>" string from inset header
847 * insetgraphicsParams.[Ch]: Implement new graphics dialog
849 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
850 a member of "grfx::Params" anymore.
852 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
854 2002-08-24 John Levon <levon@movementarian.org>
857 * insetoptarg.C: ws, pedantry ...
859 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
861 * insettext.C (collapseParagraphs): pasteParagraph now in global
863 (appendParagraphs): ditto
865 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
867 * insetcite.C (latex): Remove spaces only after commmas.
869 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
871 * insettext.C: remove NO_COMPABILITY stuff
873 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
875 * insettext.C (edit): use ParagraphList iterators
877 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
878 (bibitemWidest): ditto
880 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * insettext.C: include <boost/bind.hpp>
883 add using std::for_each
884 (saveLyXTextState): use ParagraphsList::iterator
885 (init): use for_each on paragraphlist iterators
886 (InsetText): remove superflous setting cached_bview to 0
887 (latex): reformat a bit
888 (ascii): use paragraphlist iterators
889 (validate): use for_each + boost bind
890 (getLabelList): use paragraphlist iterators
891 (deleteLyXText): use for_each + boost::bind
892 (resizeLyXText): ditto
893 (reinitLyXText): ditto
894 (removeNewlines): use paragraphlist iterators
895 (getParFromID): ditto
896 (paragraph): use for_each + boost::bind
897 (getInsetFromID): use paragraphlist iterators
898 (getLabelList): typo fix
900 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * insettext.C (read): assign tmp to paragraphs after return from
903 call to parseSingleLyXformat2Token
906 2002-08-13 Angus Leeming <leeming@lyx.org>
925 changes due to the changed LyXView interface that now returns references
926 to member variables not pointers.
928 2002-08-13 Angus Leeming <leeming@lyx.org>
931 * insetcollapsable.h:
934 * insettext.h: forward-declare WordLangTuple
935 (selectNextWordToSpellcheck) constify return type.
938 * insetcollapsable.C:
941 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
943 2002-08-12 Angus Leeming <leeming@lyx.org>
945 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
947 2002-08-12 Juergen Vigna <jug@sad.it>
949 * insetcollapsable.C (edit): ignore if entered when pressing mouse
952 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
954 * insetbib.C (bibitemMaxWidth): ParagraphList changes
955 (bibitemWidest): ditto
956 * insettext.[Ch]: ditto
958 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * insettext.C, insetert.C: use Paragraph::empty where appropriate
962 2002-08-09 Angus Leeming <leeming@lyx.org>
964 * insetinclude.C (latexString): remove fudge now that I've found out
965 how to enable LaTeX to find the file using input@path.
967 2002-08-09 John Levon <levon@movementarian.org>
970 * insettext.C: remove unused xpos
972 2002-08-07 Juergen Vigna <jug@lyx.org>
974 * insettabular.C (localDispatch): make delete not put the stuff
975 in the clipboard only do this on a cut operation.
977 * insettext.C (localDispatch): make delete and backspace not put
978 selected stuff to the clipboard.
980 2002-08-07 André Pönitz <poenitz@gmx.net>
983 * insetcollapsable.[Ch]:
988 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
990 2002-08-06 John Levon <levon@movementarian.org>
994 * insetcollapsable.h:
995 * insetcollapsable.C:
1001 * insettext.C: use WordLangTuple for spellcheck
1003 2002-08-06 Angus Leeming <leeming@lyx.org>
1005 * insetinclude.C: add a monitor to the previewed image, so that the
1006 image is refreshed if the \input-ed file changes.
1008 2002-08-04 John Levon <levon@movementarian.org>
1011 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
1013 2002-08-02 Angus Leeming <leeming@lyx.org>
1015 * insetcommandparams.[Ch] (preview): new methods returning and setting
1016 a new bool preview_ flag.
1017 (read): read this flag.
1018 (operator==): add flag to check.
1020 * insetinclude.C (write): output new preview() flag.
1021 (previewWanted): use this flag.
1023 2002-08-02 Angus Leeming <leeming@lyx.org>
1025 * insetcollapsable.[Ch] (addPreview):
1026 * insettabular.[Ch] (addPreview):
1027 * insettext.[Ch] (addPreview): new methods. Can now generate previews
1028 for insets in insets.
1030 2002-08-02 Angus Leeming <leeming@lyx.org>
1032 * insetcite.C: fix typo.
1034 * insetgraphics.C: kill current_view and instead cache the BufferView
1037 * insetinclude.C: kill current_view and pass the BufferView to the
1038 PreviewedInset so that it can cache it.
1040 2002-08-01 Angus Leeming <leeming@lyx.org>
1042 * inset.h (generatePreview): renamed as addPreview.
1043 (generatePreview): new method. Allows code to be moved out of
1044 math_nestinset.C and into the new PreviewedInset class.
1046 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
1047 add previews to the inset when \input-ing LaTeX.
1049 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * several files: strip,frontStrip -> trim,ltrim,rtrim
1053 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * insetbib.C (latex): modify because of strip changes
1057 * insetnote.C (InsetNote): ditto
1059 2002-07-26 Juergen Vigna <jug@sad.it>
1061 * insettabular.C (searchForward): check for lastcell if we
1062 had a locking inset.
1064 2002-07-25 Juergen Vigna <jug@sad.it>
1066 * insettabular.C (insetMotionNotify): Don't update the screen
1067 if we didn't do nothing.
1068 (searchForward): last cell was not checked.
1070 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1072 * insetfloat.C (read, write): Allow default placement
1073 (floatPlacement_ is empty).
1075 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1077 * insetminipage.h (noFontChange):
1078 * insettabular.h (noFontChange):
1079 * insetfootlike.h (noFontChange):
1080 * insetfloat.h (noFontChange): return true
1082 * inset.h (noFontChange): new method, defaulting to false
1084 2002-07-22 Herbert Voss <voss@lyx.org>
1086 * insetgraphicsParams.[Ch]: support size_type for old docs
1088 2002-07-22 Herbert Voss <voss@lyx.org>
1091 * insetgraphicsParams.[Ch]: change size_type to size_kind and
1094 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1096 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1098 * insetlatexaccent.h: do not include "lyxlex.h"
1100 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1103 * insetlatexaccent.C:
1107 * insetbib.C: #include "lyxlex.h"
1113 * insettext.C: use BufferParams::getLyXTextClass
1116 * insetfloat.C (addToToc): new method. Add to toclist the entries
1117 corresponding to Caption layouts
1118 (InsetFloat): when creating a new float, set the layout to "Caption"
1120 2002-07-21 Herbert Voss <voss@lyx.org>
1122 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1123 image relevant part into graphics/GraphicsImgae.C
1125 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1127 * insettoc.C (ascii):
1128 * insetfloatlist.C (ascii): change to use the new Toc functions
1129 instead of stuff that was in Buffer
1131 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1133 * insettext.C (localDispatch): BufferView::Dispatch has been
1134 renamed to BufferView::dispatch
1136 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1138 * insetgraphicsParams.C (as_grfxParams): use the new
1139 keepLyXAspectRatio parameter. Note that this is an adaptation of a
1140 1.2.0 patch, and I do not really know how to adapt it to the new
1141 grfx::Cache world. Angus, please could you have a look?
1143 2002-05-01 Herbert Voss <voss@lyx.org>
1145 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1147 2002-07-18 Angus Leeming <leeming@lyx.org>
1149 * insetgraphics.C: clean-up comments (from Herbert).
1150 add a new checksum variable to the cache. Use it in PrepareFile.
1151 (draw): start monitoring the file for a change.
1152 (prepareFile): re-arrange a little to avoid unnecessary steps.
1154 2002-07-17 Angus Leeming <leeming@lyx.org>
1156 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1157 a method rather than to the signal directly.
1159 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1161 * insettext.C: use view_state_changed, switchKeyMap
1163 2002-07-17 Herbert Voss <voss@perce.de>
1165 * insetgraphics.C (prepareFile): keep the extension when
1166 exporting to nice file
1168 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1170 * insetcite.C (getNatbibLabel):
1171 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1173 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1175 * insetgraphics.C: use ->isDrawable()
1177 2002-07-12 Angus Leeming <leeming@lyx.org>
1179 * insetgraphics.C: use the new smart loading capabilities of the image
1182 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1184 * insettabular.C (edit): Move into correct cell when entering a
1187 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1190 2002-07-05 Angus Leeming <leeming@lyx.org>
1192 * inset.h (generatePreview): new virtual method.
1194 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1196 * insetcommandparams.[Ch] (operator=): move out of class
1197 (operator!): move out of class
1199 2002-07-04 André Pönitz <poenitz@gmx.net>
1201 * insetcommandparams.[Ch]: new files
1203 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1205 2002-06-15 Herbert Voss <voss@perce.de>
1207 * insetgraphics.C (prepareFile): bugfix; return always
1208 files without extension
1210 2002-06-28 Angus Leeming <leeming@lyx.org>
1212 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1213 rename asGParams -> as_grfxParams.
1215 * insetgraphics.C: reflect above change.
1217 2002-06-26 Angus Leeming <leeming@lyx.org>
1219 * insetgraphics.h: use boost::scoped_ptr in preference to
1222 2002-06-26 Angus Leeming <leeming@lyx.org>
1224 * insetgraphics.C: moved the image loading stuff into a new class
1225 grfx::Loader. Simplifies this file enormously.
1227 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1229 * insetgraphicsParams.C: changes aassociated with moving
1230 grfx::DisplayType out of grfx::GParams.
1232 2002-06-26 André Pönitz <poenitz@gmx.net>
1234 * insetgraphics.C: use os::external_path where necesaary according to a
1235 patch from Claus Hentschel)
1237 2002-06-25 Angus Leeming <leeming@lyx.org>
1239 * insetgraphics.[Ch]: The inset now assumes the responsibility for
1240 generating a pixmap once the graphics file is loaded into memory.
1241 The current_view ugliness that was in grfx::ModifiedImage has been
1242 moved here now that grfx::ModifiedImage is no more.
1244 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1246 * insettext.C: layout as layout
1248 2002-05-28 André Pönitz <poenitz@gmx.net>
1250 * insetfloatlist.h: remove source of compiler warning
1252 * insetref.C: tiny whitespace
1254 2002-06-15 Herbert Voss <voss@perce.de>
1256 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1257 and take always convert when no userdefined converter was
1259 (latex) small changes in the lyxerr output
1261 2002-06-15 LyX Development team <lyx@rilke>
1263 * inset*.[Ch] (docbook): Added new argument to take the pernicious
1264 mixed content. Small white spaces clean.
1266 2002-06-14 Angus Leeming <leeming@lyx.org>
1268 * inseetexternal.C: remove the using std::difftime declaration.
1270 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
1272 * insetquotes.C: change lyxfont::draw to font_metrics::draw
1274 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
1276 * insetquotes.C (draw): fix drawing of double quotes
1278 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1280 * insettabular.C: s/scrollCB/scrollDocView/
1282 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1284 * insettext.C: change of topCursorVisible()
1287 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1290 * insettext.C: rename/change of LyXScreen
1292 2002-06-07 Angus Leeming <leeming@lyx.org>
1294 Fixes needed to compile with Compaq cxx 6.5.
1296 all c-library variables have been moved into namespace std.
1297 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1299 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1301 * insetinclude.C (uniqueID):
1302 * insetgraphics.C (uniqueID): renamed from unique_id, since this
1303 conflicted with some AIX headers.
1305 2002-05-31 Juergen Vigna <jug@sad.it>
1307 * insetert.C (get_new_label): add '...' for multi-paragraph ert
1311 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1313 * insetexternal.C (clone): fix () bug when using new
1314 (updateExternal): don't only look for difftime in global scope
1316 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1318 * insettabular.C: add const
1320 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1322 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1323 file name, in case there are weird characters like ',' in there.
1326 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1328 * switch from SigC signals to boost::signals.
1330 2002-05-28 André Pönitz <poenitz@gmx.net>
1332 * insets/insetgraphicsParams.[Ch]:
1333 put in inset related stuff from src/graphic
1335 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1343 * insetcollapsable.C:
1344 * insetcollapsable.h:
1372 * inseturl.h: use mouse_state. Kill insetKeyPress
1374 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1379 * insetcollapsable.C:
1382 * insetlatexaccent.C:
1384 * insetspecialchar.C:
1386 * insettext.C: name change for font metrics
1388 2002-05-24 Juergen Vigna <jug@sad.it>
1390 * insetgraphics.h: include inset.h first (for LString.h)
1392 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1394 * insettext.C: screen moved
1396 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1414 * inseturl.C: LyXView moved into frontends/
1416 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1421 * insetcollapsable.C:
1425 * insetgraphicsParams.C:
1426 * insetlatexaccent.C:
1428 * insetspecialchar.C:
1430 * insettext.C: move Painter to frontends/
1432 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1434 * insettabular.h: use more specific smart_ptr header.
1435 * insettext.h: ditto
1437 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1440 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1442 * insettext.C: clear selection on paste (bug 393)
1444 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1446 * insettext.C (latex): Honor the moving_arg argument.
1448 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1450 * insetfoot.C (latex): if a footnote is in a title layout, then it
1451 is a \thanks. And then, its contents is a moving argument.
1453 2002-05-14 Juergen Vigna <jug@sad.it>
1455 * insetcollapsable.C (InsetCollapsable): forgot to initialize
1458 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
1460 * Insetcite.C (getNatbibLabel): don't disable natbib label support
1461 when using options "Full author list" or "Upper case".
1463 2002-05-14 Herbert Voss <voss@perce.de>
1465 * insetgraphics.C (prepareFile): allow files with same name
1467 (readFigInset): set the flags from old figinset in the right
1469 (findTargetFormat): more comments
1471 2002-05-14 Juergen Vigna <jug@sad.it>
1473 * insettext.C (edit): tell checkAndActivateInset() that we don't
1474 have a button press.
1475 (checkAndActivateInset): if button < 0 we don't have a button press
1476 on the inset and os we won't call edit on it if it's not a Highly
1477 editable inset (then we have to enter it).
1479 2002-05-13 Juergen Vigna <jug@sad.it>
1481 * insetcollapsable.C (insetButtonRelease): returned wrong return
1484 2002-05-09 Juergen Vigna <jug@sad.it>
1486 * insetcollapsable.C (edit): first_after_edit should only be
1487 set to true if we enter this inset and it was collapsed so we
1488 open it up. This is needed to reclose it after a search/replace
1489 or spellcheck function opened it and was negative.
1491 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
1493 * insetfloat.C (latex): Return correct value.
1495 2002-05-04 Herbert Voss <voss@perce.de>
1497 * InsetgraphicsParams.C (read): fix bug with WH
1499 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1501 * insetfloat.C (latex): More sensible latex output
1502 (fix the problem with endfloat).
1504 2002-05-02 José Matos <jamatos@fep.up.pt>
1506 * insetgraphics.C (validate): acess params as everyone else.
1508 2002-05-03 Juergen Vigna <jug@sad.it>
1510 * insettabular.C (fitInsetCursor): recalculate the cursor position
1513 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1515 * InsetgraphicsParams.[Ch]: whitespace.
1517 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1519 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1520 float type do not exist.
1522 2002-04-28 Herbert Voss <voss@perce.de>
1524 * insetgraphics.C (latex): fix bug with missing file-extension.
1525 LaTeX still allows a missing "eps" or "ps".
1527 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1529 * insetfloat.C (c-tor, wide): translate the name of the float.
1531 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1533 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
1534 when using natbib and make it work efficiently. Must emphasise that the
1535 real work is Herbert's.
1537 2002-04-23 Herbert Voss <voss@perce.de>
1539 * insetgraphic.C (prepareFile): fix bug with overwriting and
1540 deleting an existing *.eps-file in the doc-dir
1542 2002-04-23 Juergen Vigna <jug@sad.it>
1544 * insettabular.C (drawCellSelection): fix off by 1 error.
1546 2002-04-22 Juergen Vigna <jug@sad.it>
1548 * insettabular.C (setFont): rewoke full selection if it was asked,
1549 after we changed all we had to change.
1551 * insettext.C (insetUnlock): code was uninitialized in some situations.
1553 2002-04-19 Herbert Voss <voss@perce.de>
1555 * insetgraphic.C (prepareFile): return filename without
1556 extension if we only export without compiling
1558 2002-04-19 Juergen Vigna <jug@sad.it>
1560 * insettext.C (draw): call a fullRebreak on the row where we had a
1561 change and reset the cursor and selection-cursors.
1563 * insettabular.C (insetUnlock):
1564 (insetButtonPress): call an update before setting the_locking_inset = 0
1565 as otherwise we don't repaint!
1566 (update): reset the cursor position when we changed dimensions as
1567 otherwise our cursor may be on the wrong spot.
1569 2002-04-18 Juergen Vigna <jug@sad.it>
1571 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
1572 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
1573 redraw otherwise we won't redraw.
1575 * insettext.C (draw): fixed the setting of LyXText::first_y it was
1576 not really right before, but I only discovered this with the last
1577 changes to Page up/down.
1579 2002-04-17 Juergen Vigna <jug@sad.it>
1581 * insettext.C (checkAndActivateInset): simplified as we now have the
1582 edit(bv, bool) call.
1584 * insettext.h: changed behind variables to front variables to be
1585 equal to the one in the edit call (as it is for that they are used).
1587 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1589 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
1590 not output anything at all!
1592 2002-04-16 Juergen Vigna <jug@sad.it>
1594 * insettabular.C (insetButtonPress):
1595 (insetUnlock): call a redraw on unlocking the cell inset.
1597 * insettext.C (insetButtonPress): same as below.
1598 (lockInset): new function to set initial values when inset should
1600 (insetButtonPress): use above function.
1601 (insetUnlock): don't force a repaint only set the updateStatus. The
1602 outside world should repaint if it thinks it should be done!
1604 * insettabular.C (insetButtonPress): init values if not set as locked
1605 as we are locked if someone presses on us and don't call the edit()
1606 call of the InsetText to lock it do it as BufferView does it!
1608 * inset.h (insetInInsetY): make func const and return an int.
1611 * insetcollapsable.C: adapt the above changed function.
1613 2002-04-15 Juergen Vigna <jug@sad.it>
1615 * insettext.C (getCursorPos): return relative position as to be able
1616 to give them directly to the edit() call.
1617 (edit): we have to set also x_fix as it is not set inside the
1618 setCursorFromCoordinates call!
1619 (insetMotionNotify): ditto.
1621 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1623 * insetbib.C (getKeys): strip leading '\t's from the line too.
1624 With thanks to Henry Pfister <hpfister@ucsd.edu>.
1626 2002-04-12 Juergen Vigna <jug@sad.it>
1628 * insettext.h: added cix() helper function and use it where appropriate
1630 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1632 * insetgraphics.C (prepareFile): fix bug when graphics is a
1635 2002-04-12 Juergen Vigna <jug@sad.it>
1637 * insettext.C (insertInset): remove unneeded code!
1638 (updateLocal): fitCursor() fixes.
1639 (collapseParagraphs): fix a possible problem when having a selection
1640 and collapsing the paragraphs.
1642 2002-04-08 Herbert Voss <voss@perce.de>
1644 * insetgraphic.C (write): write the rotating angle as
1645 a float as is. test only for != 0.0
1647 2002-04-11 Juergen Vigna <jug@sad.it>
1649 * insettext.C: new function ciy() and use it for setting inset_y.
1651 * insetert.C (draw): fix the x return for collapsed version.
1653 2002-04-07 Herbert Voss <voss@perce.de>
1655 * insetgraphic.C (readFigInset): fix bug with subcaption and
1658 2002-04-08 Herbert Voss <voss@lyx.org>
1660 * insetgraphicsparam.C: forgot special option and delete old
1663 2002-04-05 Juergen Vigna <jug@sad.it>
1665 * insettext.C (localDispatch): make a CURSOR update if we inserted
1668 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1670 * insetfloatlist.C (getScreenLabel):
1671 (latex): use Floating::listName
1672 (validate): new method
1674 2002-04-03 José Matos <jamatos@fep.up.pt>
1676 * insetlabel.C (docbook): the anchor is an empty element in docbook.
1678 * insetfoot.[Ch] (docbook): added forgotten method.
1680 2002-04-03 Juergen Vigna <jug@sad.it>
1682 * insettext.C (insetButtonPress): fix insetButtonPress events the same
1683 way as in Bufferview_pimpl.
1685 2002-04-03 Allan Rae <rae@lyx.org>
1687 * insetgraphics.C (latex): one % too many makes living on the bleeding
1688 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
1690 2002-03-28 Herbert Voss <voss@lyx.org>
1692 * insetgraphic.C (latex): simplify the code for the latex
1693 output when the file doesn't exist
1695 2002-03-29 Juergen Vigna <jug@sad.it>
1697 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
1700 * insettabular.C (edit): call fitCursor().
1702 * insettext.C (insetButtonPress): change behaviour of no_selection
1703 to the one in the BufferView selection_possible and fix the spurious
1704 selection bug with it.
1705 (localDispatch): revoke selection on BREAK... functions.
1707 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1709 * insetfloatlist.C (getScreenLabel): translate the GUI label.
1711 2002-03-28 Juergen Vigna <jug@sad.it>
1713 * insettabular.C (insetAllowed): return true as default value otherwise
1714 we're not able to insert insets inside paragraphs of an not locked
1717 2002-03-27 Herbert Voss <voss@lyx.org>
1719 * insetgraphicsparam.C: change c%, p% to col%, page%
1721 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1723 * insetspecialchar.C (isLineSeparator): disable the nice code to
1724 allow linebreaks after hyphenation and menu separators.
1726 2002-03-26 Herbert Voss <voss@lyx.org>
1728 * insetgraphics.C (figinsetRead): set the right lyxview
1730 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1732 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
1733 $\backslash$ and pass a "string const &" to the function.
1734 (prepareFile, latex): use Path rather than MakeAbsPath.
1736 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1738 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
1739 proper fix to the graphics cache.
1740 (latex): "really" nice output if the file is not found ;-)
1742 2002-03-26 Juergen Vigna <jug@sad.it>
1744 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
1745 (collapseParagraphs): fixed inserting of separator ' '
1747 * insettabular.C (insertAsciiString): only check for buffer lenght
1748 not if we have \t or \n inside the buffer as if we don't have we only
1749 have 1 cell and that's it!
1751 * insetert.C (close): don't collapse if inlined.
1753 2002-03-25 Herbert Voss <voss@lyx.org>
1755 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
1756 graphics file does not exist.
1758 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1760 * insetgraphics.C (prepareFile): ensure that the file has an absolute
1761 path when preparing export.
1763 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
1764 no longer MakeRelPath.
1766 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1768 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
1769 Used to determine the absolute path to the graphics file in the
1770 graphics cache and only in the graphics cache.
1771 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
1772 make graphics file name absolute if it is stored as a relative path.
1774 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
1775 make graphics file name absolute if it is stored as a relative path.
1777 * insettext.C (edit): emit an updateParagraph signal on entering a text
1778 inset. Needs to be emitted when leaving the inset also.
1780 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1782 * all files: ws cleanup
1784 * Makefile.am: remove ld -r stuff
1786 2002-03-21 Juergen Vigna <jug@sad.it>
1788 * insettext.C (appendParagraphs): new function added to append
1789 the paragraphs to this insets paragraphs.
1791 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1793 * Makefile.am: special rules if partial linking
1795 2002-03-19 Juergen Vigna <jug@sad.it>
1797 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
1799 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1801 * insetgraphics.C: Clean up Baruch's comments a little.
1802 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
1804 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
1807 * insettheorem.C: wrap warnings
1809 * insetgraphics.C: improve messages, move cached_status_
1810 setting to safer place
1812 2002-03-18 Juergen Vigna <jug@sad.it>
1814 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
1816 (localDispatch): ditto
1818 * insettext.C (edit): removed unneeded showCursor calls.
1819 (localDispatch): ditto.
1821 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1823 * insetgraphics.h: remove display() method.
1825 2002-03-11 Juergen Vigna <jug@sad.it>
1827 * insetgraphics.C (draw): hack to fix the redrawing bug.
1828 (draw): seems this fixes #268 (force redraw of row if we changed).
1830 * insettext.C (updateInsetInInset): fixed for updates in insets inside
1831 this inset text (don't know why I missed this earlier).
1833 2002-03-08 Juergen Vigna <jug@sad.it>
1835 * insettabular.C (updateLocal): do a FULL update if we're not locked
1836 and only a CELL update is asked.
1838 * insettext.C (updateInsetInInset): update insets inside inset also
1839 if it isn't inside the_locking_inset.
1841 * insettabular.C (updateInsetInInset): ditto.
1843 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1845 * insetexternal.C (doSubstitution): check whether we are using a
1846 temp dir for defining $$FPath
1848 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1851 * insettext.C: remove #include "WorkArea.h".
1853 2002-03-06 Juergen Vigna <jug@sad.it>
1855 * insettext.C (draw): fixed frame redrawing.
1856 (clear): forgot to set the inset_owner of the paragraph.
1858 * insetert.C (status): pay attention the bv can be 0 here!
1859 (getMaxWidth): add the default leftMargin
1861 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1863 * insetert.C (getMaxWidth): make w unsigned int.
1865 2002-03-05 Juergen Vigna <jug@sad.it>
1867 * insetert.C (status): change behaviour of Inlined.
1868 (getMaxWidth): added for new inlined behaviour.
1870 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
1872 * insetnote.h (linuxdoc, docbook): add empty methods.
1873 * insetinclude.C (validate): fix a case where buffer->niceFile was used
1874 before being initialized.
1876 2002-03-05 Juergen Vigna <jug@sad.it>
1878 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
1879 only that one in the inset. Should be enough.
1880 (updateLocal): set the selection cursor always if we don't have a
1881 selection to be sure it's set!
1883 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
1885 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1887 * insettext.C (clear): a gross hack to set layout on a newly
1890 2002-03-04 Juergen Vigna <jug@sad.it>
1892 * insettabular.C (localDispatch): inserted handling of
1893 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
1894 (insertAsciiString): new helper function.
1896 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
1898 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
1901 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1903 * insettext.C (InsetText): initalize newly created par with
1904 default layout. add bufferparams parameter
1907 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
1908 * insetcollapsable.[Ch] (InsetCollapsable): ditto
1909 * insetert.[Ch] (InsetERT): ditto
1910 * insetfloat.[Ch] (InsetFloat): ditto
1911 * insetfoot.[Ch] (InsetFoot): ditto
1912 * insetfootlike.[Ch] (InsetFootLike): ditto
1913 * insetmarginal.[Ch] (InsetMarginal): ditto
1914 * insetminipage.[Ch] (InsetMinipage): ditto
1915 * insetnote.[Ch] (InsetNote): ditto
1916 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
1918 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1920 * insettext.C: layout as string
1922 * insetinclude.C: layout as string
1924 * insetert.C: layout as string
1926 * insetbib.C: layout as string
1928 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1931 * insettabular.C: remove #include "lyx_gui_misc.h".
1933 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1938 * inset.h: remove figinset, yahoo !
1940 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1942 * insetgraphics.C (c-tors): initialise parent classes explicitly in
1943 copy c-tor and initialise member variables in the correct order.
1945 2002-02-28 Juergen Vigna <jug@sad.it>
1947 * insettabular.C (localDispatch): clear selection on PgUp/Down.
1949 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1951 * inset.h: ... and add a better one here.
1953 * insetcommand.C (insetButtonRelease): remove that one which was a
1956 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1958 * insetcommand.C (insetButtonRelease): ... and move it here.
1960 * inseturl.h: remove insetButtonRelease from there...
1962 2002-02-26 Juergen Vigna <jug@sad.it>
1964 * inseturl.h: Added a insetButtonRelease call returning true as
1967 * insetlabel.C (edit): Fixed wrong update handling after change I
1968 leave in the wrong code for the one who wrote it to remove and have
1969 a look what he did wrong.
1971 * insettabular.C (localDispatch): force a SELECTION update if we
1972 had a selection and we passed the event down to the inset (fix #213)
1973 (localDispatch): handle font changing stuff when we have a cell
1974 selection so that the selection is not rewoked. I don't really like
1975 this fix, but it's the only way I see to do it right now.
1977 2002-02-22 Juergen Vigna <jug@sad.it>
1979 * insettext.C (insetUnlock): set the cursor to the second paragraph
1980 if available and if the first one is empty (fix #191).
1982 2002-02-20 Juergen Vigna <jug@sad.it>
1984 * insettext.C (getDrawFont): implemented this function to call the
1985 one of the owner if present as the owner normally knows what to do
1988 * insetert.C: implement getDrawFont() function and comment out all
1989 the crap for setting a special latex font inside this inset.
1990 (InsetERT): added a Lanugage parameter to this constructor.
1992 * inset.h: added function getDrawFont(LyXFont & font) to be able to
1993 change the font for being drawn on screen (used only in InsetERT for
1996 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
1997 and also above (was missing).
1998 (updateLocal): don't remove the cell selection if we have one this
1999 should be done where we really want to remove it.
2001 2002-02-20 José Matos <jamatos@fep.up.pt>
2003 * insetinclude.h: include_label made string const.
2005 * insetinclude.C (InsetInclude): moved include_label initialization.
2008 (validate): fix support for temporary directory, for docbook and
2011 * insetgraphics.h : new private member, graphic_label, that holds
2012 the entity name that defines the graphics location (SGML).
2014 * insetgraphics.C (unique_id): new function to give a unique label
2017 (validate): the file locatation is given by an entity reference.
2019 2002-02-18 Herbert Voss <voss@lyx.org>
2021 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2023 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2025 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
2026 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2028 2002-02-18 José Matos <jamatos@fep.up.pt>
2030 * insetinclude.C (validate): some code only applies to latex buffers,
2031 it was made conditional.
2033 2002-02-12 Herbert Voss <voss@lyx.org>
2035 * insetgraphics.C: (prepareFile) do not check at this time
2036 if the file is present.
2038 2002-02-12 Herbert Voss <voss@lyx.org>
2040 * insetgraphics.C: latex(), return the correct newlines
2042 2002-02-13 José Matos <jamatos@fep.up.pt>
2044 * inseturl.C (docbook): escape & in url.
2046 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2048 * insetspecialchar.C (isLineSeparator): line breaking is allowed
2049 after HYPHENATION and MENU_SEPARATOR
2051 * inset.h (isLineSeparator): new method, returns false by default.
2053 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2055 * insetert.C (status): do not update the text inset, but the ERT
2058 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
2060 * insetnote.C: use notebg for background
2062 2002-02-08 Herbert Voss <voss@lyx.org>
2065 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2066 prevent LyX from unzipping when this should be handled
2067 by latex vis the graphic.cfg.
2070 2002-02-08 Herbert Voss <voss@lyx.org>
2072 * insetgraphic.C: prepareFile(): fix bug when file doesn't
2073 exists, than return filename with extension
2075 2002-02-06 Herbert Voss <voss@lyx.org>
2077 * insetgraphic.C: prepareFile(): don't convert the file, when
2078 it's not viewed in LyX. Saves a lot of time when opening a
2081 2002-02-05 Herbert Voss <voss@lyx.org>
2084 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2085 and adding a rotate bool similiar to subcaption
2087 2002-02-04 Herbert Voss <voss@lyx.org>
2090 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2091 similiar view to the LaTeX one. Get zipped files work.
2093 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2095 * insetgraphicsParams.C (init): set display to DEFAULT.
2096 No longer #include "lyxrc.h".
2098 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2100 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2101 for now (so that the code compiles).
2103 2002-02-02 Herbert Voss <voss@lyx.org>
2105 * insetgraphic.C: delete inVariant() and some minor changes
2106 * insetgraphicsParams.[C]:
2108 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
2110 * insetgraphics.C (updateInset): if params.display == DEFAULT,
2111 interogate lyxrc.display_graphics before diaplaying the graphic.
2113 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2114 InsetGraphicsParams::DisplayType.
2116 2002-01-31 Herbert Voss <voss@lyx.org>
2118 * insetgraphic.C: (readfigInset) set display to pref-default
2120 2002-01-30 Herbert Voss <voss@lyx.org>
2122 * insetgraphic.C: get the filetyp from it's contents
2123 * insetgraphicparams.C: add token scale and lyxrc.display when
2124 creating a new inset
2126 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
2128 * figinset.C: added using std::ios directive.
2130 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2132 * figinset.C (runqueue): open translation file in binary mode (for
2135 2002-01-27 Herbert Voss <voss@lyx.org>
2137 * insetgraphic.[Ch]: mostly newritten to support graphicx with
2138 all options and to be sure that the old figinsets are correct
2140 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2141 structure and to support all lengths as LyXLength. The Parameter
2142 structure changed again, but reading of "old" 1.2 graphic insets
2145 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
2147 * insetert.h (forceDefaultParagraphs): Added
2149 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2151 * insettabular.C (getMaxWidth):
2152 (forceDefaultParagraphs): use Tabular::GetCellFromInset
2154 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2156 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2157 of LyXLength::inPixels
2159 * inset.C (latexTextWidth):
2160 * insetminipage.C (latexTextWidth): new method, which implements
2161 the equivalent of the LaTeX macro \textwidth
2163 * insetminipage.C (getMaxWidth): use latexTextWidth
2165 2002-01-18 Juergen Vigna <jug@sad.it>
2167 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2169 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2171 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2173 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2176 2002-01-17 Juergen Vigna <jug@sad.it>
2178 * insettabular.C (lockInsetInInset): same change as in insettext.
2180 * insettext.C (draw): width() function was called without setting
2181 the right top_x which could lead to wrong insetWidth setting!
2182 (lockInsetInInset): call edit instead of calling lockInset if we
2183 have to lock an inset inside!
2184 (edit): we have to also tell the inset that we have to redraw the
2185 frame on an edit call if this inset draws a frame only if locked.
2187 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2189 * insetbib.C (getFiles): uncomment Path variable.
2191 2002-01-16 Juergen Vigna <jug@sad.it>
2193 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2196 2002-01-16 Allan Rae <rae@lyx.org>
2198 * insetinclude.C (docbook): someone forgot a ";"
2200 2002-01-16 José Matos <jamatos@fep.up.pt>
2202 * figinset.C (docbook): removed a old place holder "@".
2203 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2204 * insetinclude.C (linuxdoc): if include is verbatim, then export the
2205 ascii text version, clearly guarded inside a CDATA section.
2206 (docbook): in docbook 4, inlinegraphics is empty.
2207 * insettabular.C (linuxdoc): export the ascii version of the table
2208 inside a CDATA section.
2210 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2212 * insetparent.C (InsetParent):
2213 * insetgraphicsParams.C (Write):
2215 * insetgraphics.C (prepareFile):
2218 * insetexternal.C (executeCommand):
2219 (doSubstitution): use Buffer::filePath
2221 * insetbib.C (getFiles): add a #warning for Angus
2223 * insetgraphics.C: Add a remark about how filenames should be
2224 considered to be relative to buffer (but absolute is still allowed)
2225 (draw): do not try to get status if lyxrc.use_gui is false
2227 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2230 * insetcollapsable.[Ch]:
2231 * insettabular.[Ch] (searchForward, searchBackward): change the
2232 bool const & params to bool.
2234 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2235 to avoid the name clash with InsetCollapsable's methods of the same
2236 names but different functionality.
2238 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2240 * insettext.C (ascii): use lyx::count rather than countChar.
2242 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
2244 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2246 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2248 * insetgraphics.C (updateInset): do not try to render image if
2249 lyxrc.use_gui is false (bug #104)
2251 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2252 if file does not exist
2254 * figinset.C (browseFile): add shortcuts to directory buttons
2256 * insettext.C (updateLocal): update menubar and toolbar here too.
2258 2002-01-13 Allan Rae <rae@lyx.org>
2260 * insettabular.C (InsetTabular): Both constructors now initialise
2261 all class variables.
2263 2002-01-11 Juergen Vigna <jug@sad.it>
2265 * insettext.C (insetButtonPress): set the_locking_inset to 0.
2267 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2269 * insettabular.C (getStatus): add forgotten brace around multiline
2272 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2274 * insetfloat.C (validate): require "float" instead of "floats".
2276 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2278 * insettabular.C (getStatus): use FuncStatus
2280 2002-01-08 Juergen Vigna <jug@sad.it>
2282 * insettabular.C (insetButtonRelease): now this should work too
2285 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2286 if the width is a percentage.
2288 * inset.h: added isChar() function and implemented this for
2289 insetspecialchar insetquotes and insetlatexaccent.
2290 added forceDefaultParagraphs() and implemented it for insettabular.
2292 2002-01-07 Juergen Vigna <jug@sad.it>
2294 * insettext.C (getLyXText): Fixed this function. An insert into the
2295 map is only done if we REALLY have a new BufferView.
2297 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
2299 * insettext.C: fix bug illustrated by attachment #37 of bug #59
2301 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2303 * insetinclude.C: fix use of FileInfo
2305 2002-01-07 Juergen Vigna <jug@sad.it>
2307 * insettabular.C (draw): fixed clearing of cell around inset.
2309 2002-01-05 Juergen Vigna <jug@sad.it>
2311 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2312 variables are updated.
2314 * insettabular.C (resetPos): set always the inset_y as it may be
2315 needed in another function.
2316 (searchBackward): don't draw while searching.
2318 2002-01-04 Juergen Vigna <jug@sad.it>
2320 * insettext.C (lockInsetInInset): forgot to set a cursor.
2322 2002-01-02 Juergen Vigna <jug@sad.it>
2324 * insettext.C (insertInset): make the correct undo informations on
2325 inserting new insets.
2327 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
2329 * insettabular.C: correct single-cell select vertically
2331 2001-12-27 Juergen Vigna <jug@sad.it>
2333 * insettabular.C (ascii): export as tab-separated-values if the
2334 function was not called from export (f.ex.: clipboard).
2336 * insetcollapsable.h: added default support for ascii, linuxdoc and
2337 docbook export (the insettext is exported by default!)
2339 * insettabular.C (copySelection): suff the clipboard with the tabular
2340 data in a tab separated format, seems more naturals then with all the
2343 2001-12-24 Juergen Vigna <jug@sad.it>
2345 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2346 to check for REAL mouseMotion.
2348 2001-12-20 Juergen Vigna <jug@sad.it>
2350 * inset.C (cursor): return the owners cursor if available instead of
2351 always only the bv->text->cursor.
2353 * insettabular.C (checkLongtableSpecial): works now.
2355 2001-12-19 Juergen Vigna <jug@sad.it>
2357 * insettabular.C (tabularFeatures): fix the row setting of ltt as
2358 this has to be always row + 1 as 0 means not selected!
2359 (checkLongtableSpecial): added
2360 (tabularFeatures): better longtable options support
2362 * insettext.C (resizeLyXText): reinit the text always also on a
2365 2001-12-18 Juergen Vigna <jug@sad.it>
2367 * insettext.C (updateInsetInInset): look if we have to autocollapse
2368 paragraps and return if the update is requested for ourself.
2370 * insetert.C (status): update the insettext not myself as that is what
2373 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2374 function only return if the update was requested with myself.
2376 * insettext.C (insetButtonPress): fixed stupid bug.
2377 (various functions): pay attention that lt is cleared BEFORE calling
2378 updateLocal() and try to use it in the right manner (don't use it
2379 if it's not really neccessary!)
2380 (collapseParagraphs): insert a blank between collapsing paragraphs
2381 if neccessary (not already there!).
2383 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2385 * insettabular.C: move includes around a bit, add a couple of
2388 * insettext.[Ch]: move includes around a bit, other ws changes and
2391 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2393 * insettext.C (insetButtonRelease): fix compile problem
2395 2001-12-17 Juergen Vigna <jug@sad.it>
2397 * insettext.C (insetButtonPress): set the selection cursor!
2398 (insetButtonPress): clear the selection (and set with that the
2399 selection.cursor) if we only hit an inset!
2401 * insetert.C (read): removed piece of compatibility code only needed
2404 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2407 * insetcollapsable.C (insetButtonRelease): changed so that it can
2408 open eventual existing popup dialogs on mousebutton==3.
2410 * insetfloat.C (insetButtonRelease): removed not needed anymore!
2412 * insetminipage.C (insetButtonRelease): removed not needed anymore!
2414 * inset.C (insetButtonRelease): return a bool for telling the outer
2415 world that we opened a dialog.
2417 2001-12-07 Juergen Vigna <jug@sad.it>
2419 * insettext.C (paragraph): remove the deleteing of paragraphs as
2420 it was a WRONG move!
2422 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2425 * insettabular.C: use new setSelection(). Allow
2426 selection of single cells.
2428 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2430 * insetquotes.C (latex): fix to use the local language setting at
2431 the point where the inset is inserted (different macros for
2432 different french packages)
2434 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2436 * inset.h: add par_owner_ member variable and parOwner
2439 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2441 * insettabular.C (everywhere): adapt because widths are now real
2442 widths and not strings
2444 * insettext.C (draw): re-introduce the calls to width(), ascent()
2445 and descent() to initialize the caching variables.
2447 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2449 * insettext.C (draw):
2450 (drawFrame): use insetWidth instead of last_width
2452 * insettext.h: remove variable last_width (insetWidth is exactly
2453 the same) and last_height (computed but never used!)
2455 2001-12-10 Allan Rae <rae@lyx.org>
2457 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2459 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2461 * insettext.C (insetAllowed): add comment
2463 2001-12-05 Juergen Vigna <jug@sad.it>
2465 * insettext.C (insetAllowed): fixed for the case that we directly
2466 ask the insettext from its LyXText.
2467 (paragraph): fixed the crash when assigning the par->next() from
2468 the EmptyParagraphMechanism!
2470 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2474 * insettext.C: change "while(" to "while ("
2476 2001-12-04 Juergen Vigna <jug@sad.it>
2478 * insetert.C (edit): handle Inlined status.
2480 * insettext.C (insertInset): trying John's fix for the trailing cursor
2482 * insetert.C (insetButtonPress): added to handle inlined status
2483 (insetMotionNotify): ditto.
2485 * insettext.C (clearInset): changed Painter & in BufferView * param,
2486 to be able to call ascent,descent methods.
2488 2001-12-03 Juergen Vigna <jug@sad.it>
2490 * insettext.C (updateInsetInInset): use lt variable to forbid
2491 changes of LyXText in an update call.
2492 (updateInsetInInset): fixed updating of non locked insets!
2494 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2496 * insettabular.C: capture some more functions to prevent
2497 selection drawing problems. Bug #451274
2499 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2502 * insetgraphicsParams.C: fix inverted sense of float_equal
2504 2001-11-30 Juergen Vigna <jug@sad.it>
2506 * insettabular.C (InsetTabular): use the save_id flag to create also
2507 the tabular with the same id's.
2509 * insettext.C (setParagraphData): added a same_id function for undo
2510 to set the same paragraph id's as of the paragraph we are setting.
2512 2001-11-30 José Matos <jamatos@fep.up.pt>
2515 * insettoc.[Ch]: DocBook -> docbook.
2517 2001-11-29 André Pönitz <poenitz@gmx.net>
2520 * insettext.C: further reduction of header dependencies by using
2521 lyx::layout_type and lyx::textclass_type from support/types.h
2523 2001-11-29 Juergen Vigna <jug@sad.it>
2525 * insettext.C: inserted a reinitLyXText function everywhere I delete
2526 the paragraphs! This should fixe the crashes we had.
2527 Also use the new function firstRow() instead of getRowNearY(dummy_y)
2528 (paragraph): set the InsetOwner() of the new paragraphs!
2530 2001-11-28 André Pönitz <poenitz@gmx.net>
2532 * insetnote.C: add pos initialization that I removed without
2535 2001-11-28 Juergen Vigna <jug@sad.it>
2537 * insettabular.C (resetPos): hack to not crash with infinite paints.
2539 * insettabular.h: insert missing function allowSpellcheck()!
2541 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2543 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2546 * insetfloatlist.C: derive from InsetCommand so gui can use it
2549 2001-11-26 André Pönitz <poenitz@gmx.net>
2553 * insetnote.C: reduce header dependencies, introduce type for
2556 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2558 * various: update for Alert.h
2560 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2562 * inset.h: fix comment
2564 * insettext.C: use par->isInset()
2566 2001-11-22 Allan Rae <rae@lyx.org>
2568 * insetcollapsable.h:
2569 * inset.h: Changes to checkInsertChar() behaviour.
2570 Now return value indicates whether chars can be inserted.
2572 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
2574 * various: updated to use the new LaTeXFeatures
2576 2001-11-14 José Matos <jamatos@fep.up.pt>
2578 * insetspecialchar.C (linuxdoc):
2579 (docbook): don't give a name to a unused variable.
2581 * insettext.C (docbook): removed unused variable.
2583 2001-11-13 Herbert Voss <voss@perce.de>
2585 * insetgraphic.C: fix scale bug
2587 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2589 * inset.h (isSpace):
2590 (isLetter): new virtual methods.
2592 * insetspecialchar.C (isSpace):
2593 (isLetter): implement here.
2595 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2597 * inset.h: new inline helpers
2599 * insettext.C: use new helpers
2601 2001-11-07 José Matos <jamatos@fep.up.pt>
2603 * insettext.C (docbook): full support for paragraphs inside insettext.
2605 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
2607 * insetindex.C: added header file for std::ostream.
2609 2001-11-03 José Matos <jamatos@fep.up.pt>
2611 * insetindex.C: added using std::ostream that I forgot yesterday.
2613 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
2615 * insetindex.h (docbook):
2616 * insetindex.C (docbook): added support for docbook export.
2618 2001-11-02 José Matos <jamatos@fep.up.pt>
2620 * insetcaption.C(docbook): added support for docbook export.
2622 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
2624 * insetexternal.C (updateExternal): Do not run update command if
2625 result file exists and is up to date.
2627 * ExternalTemplate.C (readFormat): Support the updateresult token.
2629 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
2631 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
2632 external_templates) to use the buffer->fileName() but only if
2633 previewing. Generating a TeX file should make FPath return
2636 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2639 * insetert.C: fix some problems
2641 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2643 * insetexternal.C (doSubstitution): Added $$FPath token
2644 to list of usable substitutions in external inset templates.
2646 2001-10-24 Juergen Vigna <jug@sad.it>
2648 * insettabular.C: use new ltType struct for setting longtable
2649 header and footers also new UNSET enums.
2651 2001-10-24 José Matos <jamatos@fep.up.pt>
2653 * insettabular.C (linuxdoc): Now exports the ascii's table version.
2654 (docbook): If the table is not inside a float then wrap it inside
2655 <informaltable>...</informaltable>.
2657 2001-10-23 José Matos <jamatos@fep.up.pt>
2659 * insetref.C (docbook): removed / terminator to conform SGML.
2661 * insetspecialchar.C (linuxdoc):
2662 (docbook): Added support for special chars, more than ascii export.
2664 2001-10-22 Juergen Vigna <jug@sad.it>
2666 * insettext.C (checkInsertChar): added for REALLY checking the
2667 font of the inserted char in the right inset!
2669 2001-10-19 Juergen Vigna <jug@sad.it>
2671 * inset.h: added method allowSpellcheck() so that insets who do
2672 not have anything to spellcheck can tell and so they are over-jumped.
2673 Implemented for InsetText and co.
2675 2001-10-18 Juergen Vigna <jug@sad.it>
2677 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2679 2001-10-15 José Matos <jamatos@fep.up.pt>
2681 * insetert.C: allow export for docbook and linuxdoc
2683 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2685 * insetquotes.C (dispString): handles latin3 and latin4 quotes
2687 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2689 * insetquotes.C (dispString): fix handling of latin9 quotes
2691 2001-10-03 Juergen Vigna <jug@sad.it>
2695 * insetcollapsable.C: change updateInset calls to not tell BV that
2696 we have changed status.
2698 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2700 * insettabular.C (deletable): make const
2702 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2704 * insetert.C (latex): Fix the returned value
2706 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2708 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
2709 Returns string(), so nothing in an ERT inset is spellchecked.
2711 * insetgraphics.C (draw): print the filename if not displaying the
2713 (width): make sure that the width and draw methods are consistent.
2714 (updateInset): don't even load the image into cache if not displaying
2717 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2719 * various files (selectNextWord): renamed as
2720 selectNextWordToSpellcheck.
2722 * insetgraphics.C (draw): remove the previous change. Right place
2723 is in imageLoaderXPM.C.
2724 (draw): don't display the image if params.display == NONE.
2726 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2728 * figinset.C (runqueue):
2729 * insetgraphics.C (draw): set background colour of inset from
2730 background to the user-configurable graphicsbg.
2732 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2734 * insetquotes.C (InsetQuotes): when trying to decide the side of
2735 the quote, choose `left' only after a space or '('
2737 2001-09-04 José Matos <jamatos@fep.up.pt>
2742 * insetcollapsable.h
2760 * insetlatexaccent.C
2761 * insetlatexaccent.h
2766 * insetspecialchar.C
2767 * insetspecialchar.h
2771 * insettext.C (docbook): rename docBook method to docbook.
2773 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2775 * inset.h (getFirstParagraph): New virtual method.
2777 2001-08-20 Herbert Voss <voss@perce.de>
2778 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
2779 in the the bibtex-database-gui for inserting a line
2782 If no style is given than there is no tex-output.
2784 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
2786 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
2790 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
2792 * insetert.C (latex): Fix output for multiple paragraphs.
2793 (write): New code for writing paragraph data.
2794 (read): Set font after reading the inset.
2795 (localDispatch): Call set_latex_font() for more cases.
2797 * insetnote.h: Add empty validate method.
2800 * insetnote.C (InsetNote): Set language to the language of the
2803 2001-08-16 Juergen Vigna <jug@sad.it>
2805 * insettext.C: implemented the new FINISHED states.
2807 * insettabular.C: ditto
2809 * inset.h: added more FINISHED states for cursor right,up,down
2811 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2813 * insetfloatlist.C: use "FloatName List"
2815 2001-08-14 Juergen Vigna <jug@sad.it>
2817 * insetert.C (edit): forgot to set status_ in edit calls!
2819 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2821 * insettext.C: Compilation fix
2823 2001-08-13 Juergen Vigna <jug@sad.it>
2825 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
2827 * insetcollapsable.C (edit): don't recollapse an already open inset.
2829 * insettext.C: fixed problem when reinitializing LyXText by not doing
2830 it while lt is in use and post this to the next possible time in
2832 (searchForward): fixed not unlocking of inset if nothing found.
2833 (edit): set cursor behind right (was set -1 pos).
2835 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
2837 * insettabular.C (tabularFeatures): fixed fix where deleting the
2838 last row didn't get the right actcell!
2840 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2842 * insettext.C (localDispatch): Change language only when the inset
2845 2001-08-10 Juergen Vigna <jug@sad.it>
2847 * insettabular.C (selectNextWordInt): use the front using edit call.
2849 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
2850 the parameter overwrite class variable inset.
2852 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
2854 * insettext.C (saveLyXTextState): check for invalid cursor-par.
2855 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
2857 * insettabular.C (calculate_dimensions_of_cells): let's try to call
2858 update only for fixed with cells.
2859 (resetPos): try to fix the lockup on spellchecking or s&r.
2861 * insettext.C (update): comment this out as it seems first wrong
2862 and second not needed anymore!
2863 (some functions): call reinitLyXText() only in update() in all other
2864 positions set only need_update = INIT.
2866 2001-08-08 Juergen Vigna <jug@sad.it>
2868 * insettabular.C (setPos): fixed wrong actrow < rows() check.
2870 * insettext.C (insetUnlock): remove double-space on inset unlock.
2872 * insetcollapsable.C (draw): fix returned x when label > inset-width.
2874 * insettabular.C (update): fixed cursor positon after an insert.
2875 (insetAllowed): do not allow to insert insets when not inside the
2877 (draw): clear below an inset too as it could have changed height.
2879 * inset.C (getMaxWidth): fixed width for inset in inset.
2881 * insettext.C (update): small fix.
2883 * insettabular.C (tabularFeatures): added selection support to
2884 DELETE_ROW/DELETE_COLUMN.
2886 2001-08-07 Juergen Vigna <jug@sad.it>
2888 * inset.C (getMaxWidth): recoded and all it's implementations!
2890 * insettext.C (init,setParagraph+constructors): cleanups
2891 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
2892 are new and I want do a save/restore of the cursor position which is
2893 not possible anymore.
2895 * insetcollapsable.C (searchBackward): recollapse inset if not found.
2896 (searchBackward): ditto
2897 (selectNextWord): ditto
2899 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
2901 * insetlatexaccent.C (checkContents): Add some debug messages
2903 2001-08-07 Juergen Vigna <jug@sad.it>
2905 * insetert.C (read): don't use InsetCollapsable::read as we don't
2906 write the collapsed status anymore only the status.
2909 2001-08-06 Juergen Vigna <jug@sad.it>
2911 * insetert.C (set_latex_font): use LyXText's setFont directly.
2913 * insettext.C (drawFrame): fixed one time more the right position
2914 and size of the frame!
2916 * insetert.C (~InsetERT): hide the dialog.
2917 (showInsetDialog): added implementation
2920 (status): new function for the status of the ERT inset (3-state).
2921 (write): output also the status of the inset for readback!
2922 (read): readback the status if available otherwise use collapsed_.
2924 * insettext.C (edit): small fix of setting the position, which could
2927 * insetert.C (width): implement this function for inlined viewing.
2928 Added minimum width of 10 pixels!
2930 * insetminipage.C (InsetMinipage): just change the colors a bit so
2931 that border/background is a bit more visible. We will remove this
2934 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
2935 function for getting the important widths for drawing in various
2936 functions and in LyXText.
2937 (draw): fixed up a bit (frame drawing/clearing)
2939 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2941 * inset.C (convertFont): delete method. not used.
2943 2001-08-03 Juergen Vigna <jug@sad.it>
2945 * insettext.C (setFont): don't call for a draw update if we're just
2946 changing the cursor font!
2948 2001-08-02 Juergen Vigna <jug@sad.it>
2950 * insettext.C (draw): clear the background with the right color if
2951 needed. Update myself if x&max-width changed and return without doing
2952 anything. Let the update code handle the right stuff.
2954 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
2955 inside another inset.
2957 2001-08-01 Juergen Vigna <jug@sad.it>
2959 * insetcollapsable.C (update): added an in_update bool so we avoid
2962 * insettabular.C (update): added an in_update bool so we avoid
2965 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
2967 (update): added an in_update bool so we avoid reentering.
2969 * insettabular.C (localDispatch): clear col/row selection when doing
2970 something else inside an inset.
2972 * insettext.C (getLyXText): fixed bug when requesting a recursive
2975 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
2977 * insetcite.C (latex): Paranoia check. Make sure that there is no
2978 whitespace between the citation keys.
2980 2001-07-31 Juergen Vigna <jug@sad.it>
2982 * inset.h (nodraw): make the set function also const so that this
2983 can be called from inside other const functions.
2985 * insetcollapsable.h: removed inline variable and moved it over
2986 to the only user InsetERT.
2988 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
2989 inset opening immediately therein lying insets dialogs!
2991 * insetert.C (localDispatch): set the font also if we don't have any
2992 chars in this paragraph, otherwise if we delete all of em and start
2993 writing we have the wrong font.
2995 (draw): implemented for inline support
2996 (insetButtonRelease): ditto.
2998 2001-07-30 Juergen Vigna <jug@sad.it>
3000 * insettext.C (reinitLyXText): new function to reinit the insets
3001 text after lot's of paragraph changes. Use this instead of the
3002 cache.clear() which is VERY dangerous.
3004 * insetfloat.C (insetButtonRelease): we should only show the dialog
3005 if we press on the label otherwise we have problems to open mouse
3006 button 3 dialogs inside this float (f.ex. of a tabular!)
3008 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3010 * insetert.C: change back to "ERT"
3012 * insetfloat.C: handliign of RMB on label added.
3014 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3016 * insetgraphicsParams.C: #include LOstream.h here.
3018 * insetfoot.h: remove InsetFoot:: qualifier.
3020 2001-07-29 Baruch Even <baruch@lyx.org>
3022 * ChangeLog: Hiding time travel evidence.
3024 * insetgraphicsParams.h:
3025 * insetgraphicsParams.C:
3026 * insetgraphics.C: Added horizontal scale option, it actually scales both
3027 directions since it keeps image proportions.
3029 * insetgraphics.C: Fixed EPS detection to be non-hacky.
3031 2001-07-29 Baruch Even <baruch@lyx.org>
3033 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
3034 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
3036 HACKY! Will need to add an EPS detection routine like old InsetFig does!
3038 2001-07-29 Baruch Even <baruch@lyx.org>
3040 * insetgraphics.C: Added EPSI to be an alias of EPS.
3042 2001-07-29 Baruch Even <baruch@lyx.org>
3044 * insetgraphics.C: Change GRAPHICS to Graphics.
3045 Changed image conversion rules (documented at the beginning of file).
3047 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
3049 * insetert.C (get_new_label): int -> Paragraph::size_type to get
3052 * insetgraphics.C: added a using std::endl directive.
3054 * insetcommand.h (getScreenLabel): removed pure virtual function,
3055 as it duplicates that in InsetButton.
3057 * insetbib.[Ch] (getScreenLabel):
3058 * insetbutton.[Ch] (getScreenLabel):
3059 * insetcite.[Ch] (getScreenLabel):
3060 * insetert.[Ch] (getScreenLabel):
3061 * insetexternal.[Ch] (getScreenLabel):
3062 * insetfloatlist.[Ch] (getScreenLabel):
3063 * insetinclude.[Ch] (getScreenLabel):
3064 * insetindex.[Ch] (getScreenLabel):
3065 * insetlabel.h (getScreenLabel):
3066 * insetparent.[Ch] (getScreenLabel):
3067 * insetref.[Ch] (getScreenLabel):
3068 * insettoc.[Ch] (getScreenLabel):
3069 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3071 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3073 (validate): remove check on "cite" when using natbib.
3075 2001-07-26 Baruch Even <baruch@lyx.org>
3077 * insetgraphics.C (draw): changed casting to be in one place rather than
3078 all over the function.
3081 * insetgraphics.C (read): Added compatibility reads of InsetFig.
3083 * insetgraphicsParams.h:
3084 * insetgraphicsParams.C:
3085 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3087 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3089 * insetfoot.C (validate): Added method to ensure that the
3090 right bit of LaTeX is emitted.
3092 * insetfoot.h: Added validate method to set the correct
3093 LaTeXFeatures bit for the special footnote code.
3095 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3097 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3100 2001-07-27 Juergen Vigna <jug@sad.it>
3102 * inset.h: remove not used font variable in parameter.
3103 removed checkInsertChar in UpdatableInset as it was equal to
3104 the one in Inset and so not needed.
3106 * insetert.C (checkInsertChar): implementation of function
3109 * inset.h: added new function checkInsertChar.
3111 * various files: added c-tor and clone() function.
3113 * insetcollapsable.h: removed clone function here as this should
3114 be only realized in REAL insets and added it to all collapsable
3115 insets! (with the copy-constructor).
3117 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3119 * insetminipage.C (read): handle missing parameters more gracefully
3121 * insetcollapsable.C (read): handel missing collapsed more gracefully
3123 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3125 * insetfloat.C (read): handle missing parameters.
3127 * insettext.C (read): handle old latex end_inset
3129 * insetert.C (setButtonLabel): new method
3130 (init): use it, to set the dynamic label correctly
3133 * Makefile.am (EXTRA_DIST): add files that is not part or the
3136 * insetcollapsable.h: remove autocollapsable (no users), remove
3137 draw_label, change_label_with_text and companion code. Remove args
3139 * insetert.[Ch]: move here instead (only user)
3141 * inset.h: rename private variable name to name_, make
3142 selectNextWord return a const string. make getInsetName return a
3143 string const &. Remove bool from open, add close.
3145 * Makefile.am: don't compile insetlist, insetsection
3148 2001-07-24 Juergen Vigna <jug@sad.it>
3150 * insetert.C (InsetERT): put init after the paragraph initialization,
3151 as otherwise we don't set the draw_label right.
3153 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3154 insets with the mouse without having strange selections.
3155 (edit): if the inset was collapsed and we open it here then put the
3156 cursor always at the beginning of the inset.
3157 (get_new_label): 15 instead of 10 max chars in the label.
3159 * insetert.C (localDispatch): added and handle various stuff we
3160 need to handle here (font setting on paragraph break, not permitted
3161 layout setting, etc.).
3163 * inset.h: added default copy-consturctor and implemented this in
3164 various insets with the change to use this in the clone function!
3166 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3168 * insetminipage.C (InsetMinipage): set background color to red :)
3170 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3172 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3173 draw frame mode is LOCKED.
3175 * insetcollapsable.C (edit):
3176 (insetButtonRelease): set update status to full when
3179 * insettext.C (clearInset):
3180 * insettabular.C (draw):
3181 * insetlatexaccent.C (draw): honor background color.
3183 * inset.h: new member background_color_, initialized to
3186 * inset.C (backgroundColor): new method.
3187 (setBackgroundColor): new method.
3189 * insetert.C (init): new method, called by the ctors.
3190 (InsetERT): when inserting contents, make sure the font is
3193 * insetnote.C (InsetNote): when inserting content, remove trailing
3195 (init): set background color to LColor::note
3197 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3199 * insetcollapsable.C: adjust
3201 * insetbutton.C: adjust
3203 2001-07-23 Juergen Vigna <jug@sad.it>
3205 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3206 parameter on the _collapsed function (was not needed) and call
3207 always width_collapsed().
3209 * insetert.C (InsetERT): use setLabel with "true" flag.
3211 * insetcollapsable.C: modified various functions to set the draw_label
3212 string right in any condition.
3213 (setLabel): added a bool parameter to set change_label_with_text.
3215 * insetcollapsable.h: added draw_label string which is set to the
3216 actual drawn label-string, while label is the original static label
3217 of this collapsable inset. Added bool change_label_with_text to set
3218 if we want that the label changes to the start of the InsetText's
3219 text when collabpsed. You can set this flag with the setLabel funciton.
3220 Added bool inlined for inlined collapsable insets, but not handled
3223 * insetcollapsable.C (get_new_label): added should get a new label
3224 from the InsetText beginning (for now 10 chars).
3226 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3228 * insetquotes.C (latex): fix the handling of french double quotes
3229 when not using the french pachage.
3231 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3233 * insetcollapsable.h: make WidthCollapsed mutable.
3235 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3236 InsetPrintIndex returns INDEX_PRINT_CODE.
3238 * inset.h: add INDEX_PRINT_CODE
3240 * insetcollapsable.C (draw): init widthCollapsed if necessary
3243 * insetquotes.C (width): use the local language, not the document
3246 (dispString): add additional spacing for all french languages,
3248 (validate): make it work when there is no default language
3250 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3252 * insetnote.C (init): new method, called by the constructors
3253 (InsetNote): new constructor with contents passed as a string
3255 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3257 * insetfootlike.C (insetAllowed): disallow float in footlike.
3259 * insetert.C (InsetERT): add collapsed argument to the constrctor
3262 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3264 * insetindex.h: shut off warning
3266 2001-07-20 Juergen Vigna <jug@sad.it>
3268 * insetcollapsable.C (update): recoded hopefully works now!
3270 2001-07-19 Juergen Vigna <jug@sad.it>
3272 * most files: implemented the below new introduced function.
3274 * inset.h: added new edit(BufferView *, bool front) method to be able
3275 to enter an inset from the front/back without knowing x/y positions
3276 and baselines inside the inset. So I just can tell the inset activate
3277 me and set the cursor on the front/back of yourself.
3279 2001-07-18 Juergen Vigna <jug@sad.it>
3281 * insetcollapsable.C (edit): fixed hopefully the y parameter which
3282 is given to the InsetText.
3283 (insetButtonPress): ditto
3284 (insetButtonRelease): ditto
3285 (insetMotionNotify): ditto
3287 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3289 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3290 LIGATURE_BREAK, since the name is so stupid.
3292 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3294 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3295 the default InsetCollapsable methods. I.e., it can insert anything.
3296 (write) output the name of the inset, not some silly hack for
3297 compatability with the old InsetInfo.
3299 * insetinfo.[Ch]: removed.
3300 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3301 now collapsable, but functionality is otherwise identical to InsetInfo.
3303 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3305 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3307 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3310 * insetquotes.C: general cleanup
3311 (dispString): add spaces inside french double quotes.
3312 (latex): ditto. Moreover, treat first the case where the frenchb
3313 or french options have been given.
3315 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3317 * insetcite.[Ch] (latex, validate): new methods, required for natbib
3320 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
3322 * figinset.C (RegisterFigure): Print debug message only when
3323 current_view is available.
3325 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3327 * many files: update to match the change below
3329 * inset.h (insetAllowed): renamed from insertInsetAllowed;
3330 implement the version which takes an inset here.
3332 * insetcollapsable.[Ch]: implement open and isOpen
3334 * inset.h: remove insertInsetAllowed from Inset
3335 (open): new method, to open or close an inset
3336 (isOpen): returns the status of an inset
3337 (isCollapsable, colapse): removed
3339 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3341 * insetquotes.C (dispString): display french guillemets when using
3344 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3346 * insetcollapsable.h: remove bogus return statements
3348 2001-07-18 Juergen Vigna <jug@sad.it>
3350 * insettabular.C (selectNextWord): fixed spellchecking for the
3351 first cell of a tabular (wasn't entered!)
3352 (getLyXText): changed to enter automatically insettext and return
3353 it's LyXText if we're locked.
3355 2001-07-17 Juergen Vigna <jug@sad.it>
3357 * various files: implemented the below functions.
3359 * inset.h: added functions
3360 - virtual string selectNextWord(BufferView *, float & value) const;
3361 - virtual void selectSelectedWord(BufferView *) { return; }
3362 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3363 needed for spellchecking correctly!
3365 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
3367 * insetert.C (latex): write out all paragraphs.
3369 2001-07-17 Baruch Even <baruch@lyx.org>
3371 * insetgraphics.C (draw): Removed unneeded casts.
3373 2001-07-16 Juergen Vigna <jug@sad.it>
3375 * insettext.C (update): fixed small oversight (reset lt to 0).
3377 2001-07-14 Baruch Even <baruch@lyx.org>
3380 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3382 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3384 Consistent use of Lsstream.h:
3385 * figinset.C: removed using std::ostringstream directive.
3387 * insetgraphics.C (createLatexOptions):
3388 * insetinclude.C (unique_id):
3389 std::ostringstream -> ostringstream.
3390 * insettext.C (localDispatch): std::istringstream -> istringstream.
3392 2001-07-13 Juergen Vigna <jug@sad.it>
3394 * insetfloat.C (insertInsetAllowed): added missing const_cast.
3396 * insetcollapsable.C (getLockingInset): ditto.
3398 2001-07-12 Juergen Vigna <jug@sad.it>
3400 * insetcollapsable.h: added implementation of new function for
3403 * various files: added implementation of new insertInsetAllowed-func
3404 and redone the function a bit more.
3406 * inset.h: added isCollapsable(), bool collapsed(),
3407 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3409 * insetfloat.C (insertInsetAllowed): make a bit more checks.
3411 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3412 LyXText which is marked for removal while we're using it!
3414 * insettext.h: added private LyXText * lt to use it to assure we are
3415 not deleting our LyXText while we're using it!
3417 2001-07-11 Juergen Vigna <jug@sad.it>
3419 * insettext.C (insertInset): check if we are before the inset after
3420 inserting it! This check IS needed. Remove the Undo-Call as it is
3421 called in LyXText::insertInset!
3423 * insettext.h: added struct InnerCache.
3425 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3426 that we ONLY delete the LyXText in the getLyXText() routine. So we
3427 are sure we don't delete LyXText while someone is working with it!
3429 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3431 * insetexternal.C: (*it). -> it->
3432 * insettext.C: ditto
3434 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3436 * insetcollapsable.C (edit): always open collapsed insets (even if
3437 they are not autocollapsable)
3439 * insetcommand.C (operator=): simplify.
3441 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3443 * insetert.C (latex): handle META_NEWLINE
3445 2001-07-09 Juergen Vigna <jug@sad.it>
3447 * insetert.h: a normal InsetText can insert insets, but we won't.
3449 * inset.h: return default "false" on insertInsetAllowed and implement
3450 this function where a returnvalue != "false" is needed.
3452 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3454 * insetert.C (InsetERT): new contructor
3456 2001-07-06 Juergen Vigna <jug@sad.it>
3458 * a lot of files: added implementation of the below new functions
3459 and the change to clone(). Also the call of the new undo-functions
3462 * inset.h: added an inset_id, added functions getParFromID,
3463 getInsetFromID, firstParagraph, cursor and id functions, added
3464 bool same_ids to clone function.
3466 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3468 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3469 of BufferView * and shared_ptr<LyXText>
3471 2001-07-05 Juergen Vigna <jug@sad.it>
3473 * insettext.C (clear): deleted also the cache not only LyXText.
3474 (setParagraphData): ditto.
3476 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3478 * insetfloat.C (latex): let the specific placement take presedence
3479 if set, otherwise choose document placement if set, otherwise just
3480 use float default placement.
3482 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3484 * insettext.C (localDispatch): call CutAndPaste::'s static method
3487 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3489 * insetbib.C: no meed to include forms.h here.
3491 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
3493 * insettext.C: added using std::make_pair directive.
3495 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3497 * insettext.C (getLyXText): avoid multiple lookups, and simplify
3499 (deleteLyXText): ditto
3500 (resizeLyXText): ditto
3502 2001-07-02 Juergen Vigna <jug@sad.it>
3504 * insettext.C (getLyXText): introduce a cache in getLyXText so that
3505 following calls are only returned the right pointer without the over
3506 head to search in the map.
3507 (various funcs): reset the cached_bview variable as this signs that
3508 the cache is not valid anymore.
3510 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3512 * insettabular.C (clone): do not copy the LyXTabular twice
3514 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3516 * insettext.h (TEXT): delete method
3518 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3520 * insetmarginal.C (latex):
3521 * insetfoot.C (latex): fix spacing of notes in LaTeX
3523 * insettext.C (localDispatch): use .c_str() on istringstream
3524 constructor argument.
3526 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3531 * inseturl.C: fix method names in these to begin
3532 with small char too, so they inherit
3534 2001-06-28 Juergen Vigna <jug@sad.it>
3536 * insettext.C (setFont): fixed font settings using toggleFree()
3537 instead of setFont().
3539 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3541 * Change a lot of method names to begin with a small char.
3542 Changes to a lot of files because of this.
3544 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3546 * insetfloatlist.C (Write): std:: qualify ostream
3549 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3553 * insetgraphics.C: send debug output to Debug::INFO instead of
3556 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3559 * insettabular.C (getStatus): update to use func_status
3561 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
3563 * insetref.C (DocBook): added support for cross-references without
3566 2001-06-26 The LyX Project <jug@sad.it>
3571 * insetlabel.h: removed escape method and moved it to
3574 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3576 * insettabular.C (getMaxWidth): do the speedup in a different way,
3579 2001-06-24 The LyX Project <Asger>
3581 * insettabular.C (getMaxWidth): We cache a mapping from
3582 inset to cell in order to speed this method up.
3584 2001-06-24 The LyX Project <Asger>
3586 * insettext.C: Optimized InsetText::draw or something.
3588 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
3590 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
3592 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3594 * inset.h: name change from lyxinset.h
3596 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
3598 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
3600 2001-06-14 Juergen Vigna <jug@sad.it>
3602 * insettext.C (draw): removed warnings.
3604 2001-06-13 Juergen Vigna <jug@sad.it>
3606 * insettabular.C (nodraw): only go down the tree if we don't have
3607 that flag set otherwise it's obvious that we don't want to draw.
3608 (LocalDispatch): do also an update if we have an undispached result.
3610 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
3613 * insetgraphicsParams.C:
3614 * insettext.C: removed // -*- C++ -*- as first line.
3616 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3618 * lyxinset.h (resizeLyXText): shut off warning about unused
3621 2001-06-07 Juergen Vigna <jug@sad.it>
3623 * insettext.C (resizeLyXText): honor the new force flag.
3625 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
3627 * insettabular.C (deleteLyXText): new function
3629 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3637 * insetcollapsable.C:
3638 * insetcaption.C: LColor tidy
3640 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3642 * figinset.C: fix typo
3644 2001-06-01 Juergen Vigna <jug@sad.it>
3646 * insettabular.C (resetPos): small hack so that scroll is not set to
3647 0 when we are in the last column of a tabular. This is a problem we
3648 have because of constats 20 offset on both directions, so this can
3649 cause on the limit an endless loop.
3651 * insettext.C (SetFont): forgot that we can have locking insets ;)
3653 2001-05-31 Juergen Vigna <jug@sad.it>
3655 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
3657 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3659 * figinset.C: add using std:: directive for the C functions which
3662 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3664 * insetfloat.C (Write): write out wide info
3665 (Read): read the wide info
3666 (Latex): use the wide info when creating latex.
3668 * insettext.C: adjust
3670 * insetgraphics.[Ch] (statusMessage): change to return string
3674 * figinset.C (runqueue): add std::
3677 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3679 * insetcite.C (Ascii): add std:: qualifier
3681 2001-05-28 Juergen Vigna <jug@sad.it>
3683 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
3684 a endless-width inset (maxWidth < 0).
3685 (Edit): change language only if not equal.
3687 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
3689 * insettext.C (draw): fixed draw/clear of InsetText-Frame
3691 2001-05-16 Juergen Vigna <jug@sad.it>
3693 * insettext.C (selectAll): added
3694 (clearSelection): added
3696 * insettabular.C (SetFont): now we may set a font on a whole selection!
3697 (getSelection): added helper function.
3699 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3701 * insetcite.C (Ascii): Add method.
3703 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3706 * insetbib.C: fix path for OS/2 & Win32
3708 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3710 * insetfoot.C (Latex): don't use % after footnote.
3712 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3714 * insettext.C (Read): use clear
3715 (SetParagraphData): use LyXParagraph copy constructor instead of clone
3717 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3719 * insetfloatlist.h: add a bunch of std:: qualifiers.
3721 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3723 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
3724 FLOAT_LIST_CODE, renumber code list.
3726 * insettoc.C (getScreenLabel): remove support for float lists
3730 * insetfloatlist.[Ch]: new files
3732 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
3734 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
3736 * insettabular.C (LocalDispatch):
3737 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
3740 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3742 * insettext.C: remvoe !NEW_INSETS cruft
3744 * insettabular.C: remove !NEW_INSETS cruft
3746 * insetcollapsable.h: remove !NEW_INSETS cruft
3748 * insetbib.C: remove !NEW_INSETS cruft
3750 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3752 * insettoc.C: hack to make listof algorithm work
3754 2001-04-20 Juergen Vigna <jug@sad.it>
3756 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
3758 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3760 * insetquotes.C (Latex): improve the guard against
3761 unwanted !` and ?` ligatures. This should really be done in
3762 another place (to catch all this ligatures at low-level).
3764 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3766 * insettext.C (init): remvoe leftovers from cursor_visible change
3767 (draw): use c++ cast
3768 (LocalDispatch): dispatch LFUN_MESSAGE
3770 * insettabular.C (InsetTabular): remove leftovers from
3771 cursor_visible, and scoped_ptr changes
3772 (draw): use c++ cast
3774 * insetcollapsable.C (draw): use c++ cast
3776 * ExternalTemplate.h: inherit privaely from noncopyable
3777 * insetcommand.h: ditto
3778 * insetinclude.h: ditto
3780 2001-04-16 Allan Rae <rae@lyx.org>
3782 * insettoc.C (Ascii):
3783 * insettext.C (draw):
3784 * insettabular.C (setPos):
3785 * insetminipage.C (Read):
3786 * insetfloat.C (placement):
3787 * insetcaption.C (Ascii, DocBook):
3788 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
3789 an unrecognised preprocessor directive. So ensure they're wrapped.
3791 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
3794 * insetexternal.C: set view on Clone. Add _ to private members.
3796 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3798 * insettext.C (InsetText): fix new
3799 (InsetText): reindent some, simplify deletion of par list
3800 (clear): simplify deletion of par list, fix new
3801 (SetParagraphData): simplify deletion of par list
3803 * insettabular.[Ch] (getLabelList): implement new method
3805 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3807 * lyxinset.h: do not include gettext.h...
3815 * insetlatexaccent.C:
3819 * inseturl.C: ... and do it here instead
3821 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3823 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
3825 * insettext.[Ch] (getLabelList): add std:: on vector<string>
3827 * insetcollapsable.[Ch] (getLabelList): implement
3829 * insettext.[Ch] (getLabelList): implement
3831 * insettext.h: reindent
3833 * insettabular.h: make tabular a scoped_ptr
3835 * insettext.C (init): adjust for cursor_visible
3836 (ToggleInsetCursor): constify asc and desc, font, adjust for
3838 (ShowInsetCursor): constify asc and desc, font, adjust for
3840 (HideInsetCursor): adjust for cursor_visible
3842 * insettabular.C: reindent some
3843 (InsetTabular): adjust for scoped_ptr and cursor_visible
3844 (InsetTabular): ditto
3845 (~InsetTabular): delete delete
3846 (Clone): adjust for scoped_ptr
3847 (Read): constify old_format, adjust for scoped_ptr, move init of
3849 (draw): constify tx, localize loop vars.
3850 some other localization of variables, remove double initilizatons.
3852 * insetfoot.C: remove using std::ostream, add ostream where needed
3854 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3856 * lyxinset.h: some reindentaion, use initializer list for
3858 UpdatableInset: make cursor_visible a private var add
3859 public isCursorVisible(), add protected toggleCursorVisible() and
3860 proctected setCursorVisible(bool), make scroll call the Inset::scroll
3862 * insettoc.C: remvoe using decl
3863 (getScreenLabel): make cmdname donst
3866 (Ascii): don't use endl
3868 * insetfootlike.C: remove using decl at file scope and add std::
3870 * insetmarginal.C: ditto
3872 * insetfoot.C: some reformatting
3874 * insetfloat.C (InsetButtonRelease): adjust the hit area
3876 * insetert.C (SetFont): some reformatting
3878 * insetcollapsable.C: some reformatting and constification
3879 (Clone): comment out.
3880 * insetcollapsable.h: some reformatting
3881 (Clone): comment out.
3886 2001-03-30 Juergen Vigna <jug@sad.it>
3888 * insetcollapsable.h: changen *inset to be a InsetText inset.
3890 * some files: changed to reflect the above change.
3892 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
3894 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
3895 InsetExternal::Params.
3896 Added operator==() and operator!=() for the Params struct.
3898 2001-03-29 Juergen Vigna <jug@sad.it>
3900 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
3903 * insetminipage.C: removed widthp_ and all it's functions and changed
3904 to use new %-lengths of LyXLength.
3906 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3908 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
3910 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3912 * insetgraphicsParams.C (operator!=): new function, needed by the
3913 ControlGraphics class.
3915 2001-03-28 Juergen Vigna <jug@sad.it>
3917 * insettext.C (InsetButtonPress): only enter !inset if button == 2
3918 (checkAndActivateInset): don't use the values returned from
3919 call to bv->checkInsetHit.
3921 * insetminipage.C (Clone): set special minipage values.
3923 * insetcollapsable.C (draw): changed to draw the button in the
3924 upper left corner outside the textinset.
3925 (ascent): changed because of different drawing
3929 (InsetButtonPress): ditto
3930 (InsetButtonRelease): ditto
3931 (InsetMotionNotify): ditto
3933 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
3935 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
3939 2001-03-26 Juergen Vigna <jug@sad.it>
3941 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
3943 * insettext.C (ShowInsetDialog): implemented above function.
3945 * insettabular.C (ShowInsetDialog): ditto
3947 * insetminipage.C (ShowInsetDialog): ditto
3949 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3951 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
3952 InsetInclude::Params. Don't store a buffer * in Params. Store the
3953 master file name instead.
3955 2001-03-23 Juergen Vigna <jug@sad.it>
3957 * insetcollapsable.C (InsetMotionNotify):
3958 (InsetButtonRelease):
3959 (InsetButtonPress): fixed y-offset (minipages).
3961 * insettext.C (draw): force a FULL update if cleared == true.
3963 * insetcollapsable.C (draw): Lars forgotten entry for changing this
3964 routine to draw the minipages on its position-flag.
3965 (InsetInInsetY): give back the right y position, because of minipage
3968 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3971 * insetfloat.C (DocBook): docbook export code.
3973 2001-03-22 Juergen Vigna <jug@sad.it>
3975 * insetminipage.C (getMaxWidth): added function to set the drawing
3977 (Read): should work now!
3979 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
3980 if we create a new inset.
3982 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3984 * figinset.C (fl_set_preemptive_callback): moved definition outside
3987 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3989 * insetminipage.C (Read): prepare for reading of minipage arguments.
3991 2001-03-18 Baruch Even <baruch@lyx.org>
3993 * insetgraphics.C: Minor cleanups of the comments and code.
3995 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3997 * insetminipage.C (InsetMinipage): default to not collapsed
3999 2001-03-16 Juergen Vigna <jug@sad.it>
4001 * insetminipage.C (width): modified with to be a string
4002 (widthp): added widthp (for % width) support functions.
4003 (InsetButtonRelease): added to open the options dialog on button==3.
4004 (~InsetMinipage): added to hide the dialog.
4006 * insetminipage.h: added hideDialog signal
4008 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4010 * insetminipage.h: change the order or Position to match
4011 LyXParagraph::MINIPAGE_ALIGNMENT
4013 * several files: remvoe CXX_WORKING_NAMESPACES
4015 * ExternalTemplate.h: noncopyable is in namespace boost
4016 * insetinclude.h: ditto
4017 * insetcommand.h: ditto
4019 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4021 * insettext.C (Edit): #else# -> #else.
4022 * insettoc.C: added using directive.
4024 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4026 * insetminipage.h: add pos, inner_pos, width and height. + getters
4027 and setters for all of them.
4029 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4031 * insetinclude.C (Latex): Do not exit when the textclass of the
4032 included file differ from the textclass of the parent file.
4034 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
4036 * ExternalTemplate.C (read): the reading of external insets now checks
4037 for \end_inset and removes it form the input stream.
4039 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4041 * ExternalTemplate.h:
4042 * ExternalTemplate.C:
4044 * insetexternal.C: move form to GUII
4046 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4049 * insetinclude.C: add InsetIncludeParams, use
4050 composition rather than derivation of InsetCommand
4052 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4054 * insettoc.C (Ascii): use the Buffer typedefs
4056 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4058 * insettoc.C (Ascii): implement for dynamic number of lists
4060 * insetcaption.[Ch]: update from new_insets branch
4061 * insetfloat.[Ch]: ditto
4063 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4066 * figinset.C: use new File Dialog
4068 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4070 * insettext.C: changes becuase of ParagraphParameters.
4072 2001-02-28 Baruch Even <baruch@ev-en.org>
4074 * insetgraphics.C (updateInset): Changed due to the change in
4077 2001-02-26 Juergen Vigna <jug@sad.it>
4079 * insettext.C (SetFont): Set Undo only if we have selection (as it is
4080 handled in LyXText).
4082 2001-02-23 Juergen Vigna <jug@sad.it>
4084 * insettext.C (draw): some small repainting fixes.
4085 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4087 * inset.C (LocalDispatch): changed action to be a kb_action (as it
4088 should be) and not an int.
4090 * insettabular.C (LocalDispatch): ditto
4092 * insettext.C (LocalDispatch): ditto
4094 * insetcollapsable.C (LocalDispatch): ditto
4096 2001-02-22 Juergen Vigna <jug@sad.it>
4098 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4099 DISPATCH it and we don't have a locking_inset.
4101 2001-02-21 Baruch Even <baruch@ev-en.org>
4103 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4104 instead of GraphicsCacheItem *.
4106 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4108 * insetcollapsable.C (getLyXText): add const qualifier to second
4111 2001-02-22 Juergen Vigna <jug@sad.it>
4113 * insettext.C (getLyXText): honor the recursive parameter.
4114 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4116 * inset.C (getLyXText): added bool recursive parameter.
4118 * insettext.C (SetUpdateStatus): or the update codes.
4119 (draw): check need_update with &.
4120 (InsetButtonPress): set no_selection to not put a selection when
4121 entering an inset and it is redraws in another spot.
4123 * insettext.h: made need_update an int.
4125 2001-02-20 Baruch Even <baruch@ev-en.org>
4128 * insetgraphisc.C: Changed to use better semantics when loading images
4129 for inline view. Now it doesn't keep the pixmap itself but it's holder.
4131 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4135 * insetgraphics.C: change name of "hide" signal to "hideDialog",
4136 consistent with InsetTabular.
4138 2001-02-19 Juergen Vigna <jug@sad.it>
4140 * insettabular.C (LocalDispatch): implement PAGE up/down.
4142 * insettext.C (draw): clear all of it on need_update==INIT too!
4144 * insettabular.C (InsetUnlock): always clear the selection.
4146 * inset.C (scroll): normally we only want to scroll the inset until
4147 it is fully visible so if top_x + offset > 20 then just set scx to 0.
4149 2001-02-14 Juergen Vigna <jug@sad.it>
4151 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4152 (resetPos): fixed scroll behaviour.
4153 (LocalDispatch): do an update if moving cursor inside a table cell
4154 requests a scroll of the tabular.
4156 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4158 * insettext.C (textWidth): constify local var
4160 * insettabular.C: small cleanup.
4162 * insetfoot.C (Latex): constify local var
4164 * insetcollapsable.C: small cleanup.
4166 * figinset.C (runqueue): use compare instead of strcmp
4168 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4171 * insetinfo.C: remove cruft
4173 2001-02-14 Juergen Vigna <jug@sad.it>
4175 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4177 2001-02-13 Juergen Vigna <jug@sad.it>
4179 * insettext.C (InsertInset): don't move left (is this right?)
4181 * insettabular.C (LocalDispatch): use of the no_draw variable
4183 * insettabular.h: new no_draw variable to stop redraw
4185 * insettabular.C (TabularFeatures): fixed update for alignment change
4187 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4191 * insetbib.C: move dialogs to frontends/
4193 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4195 * insettext.C (LocalDispatch): Restore the language if the inset
4198 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4200 * insettext.C (moveRightIntern): Update the selection cursor.
4201 (moveLeftIntern): Ditto.
4203 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4205 * Makefile.am: remove BoundingBox.h
4207 * BoundingBox.h: removed
4209 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
4211 * insettext.C (LocalDispatch): Update selection cursor when moving
4212 cursor to the right.
4213 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4214 (moveLeftIntern): Ditto.
4216 2001-02-05 Baruch Even <baruch.even@writeme.com>
4218 * insetgraphics.C: Updated automatic image conversion, it now goes into
4219 temporary directory instead of with the image itself.
4221 2001-01-21 Baruch Even <baruch@ev-en.org>
4223 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4224 to EPS or PNG when needed (support bitmap graphics).
4226 2000-11-02 Baruch Even <baruch@ev-en.org>
4229 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4230 and removal of commented out code.
4232 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4234 * insetbib.C (callback): Update citations if the key has changed.
4236 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4238 * insetbib.C (InsetBibKey): Better computation of default key.
4239 (getScreenLabel) Show both the key and the label.
4240 (getBibLabel): New method.
4241 (callback): Force a redraw if the inset have been changed.
4243 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4245 * insetref.C (getType, getName): Move methods from
4246 src/frontends/xforms/FormRef.C.
4248 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
4250 * insettabular.C: Various improvements (use only one dummy position).
4252 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
4254 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4255 par->bibkey->width. This fixes the crashes when running without
4256 gui or when having included documents.
4258 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
4260 * insetcommand.C (getAsString, setFromString): Cleanup.
4262 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
4264 * insetref.C: Add the array InsetRef::types that contains
4265 information about all supported reference types.
4267 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4269 * lyxinset.h: remove trailing comma in enum.
4271 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
4273 * insettext.C: kill LyXBell.