1 2003-03-31 John Levon <levon@movementarian.org>
4 * insetgraphicsParams.C: use_gui moved to lyx_gui
6 2003-03-31 John Levon <levon@movementarian.org>
8 * insettext.C: Alert fix
10 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
12 * insettext.C (ascent): adjust for RowList
16 (toggleSelection): adjust
18 * insetminipage.C (localDispatch): adjust for RowList
20 * insetert.C (localDispatch): adjust for RowList
21 (getMaxWidth): adjust for RowList
23 2003-03-29 John Levon <levon@movementarian.org>
25 * insetert.C: Alert cleanup
27 2003-03-29 John Levon <levon@movementarian.org>
29 * insettabular.C: Alert fix
31 2003-03-28 John Levon <levon@movementarian.org>
33 * insetfloat.C: reset label on INSET_MODIFY
35 2003-03-28 John Levon <levon@movementarian.org>
37 * insetgraphicsParams.C: read subcaptionText as a whole line
40 2003-03-28 John Levon <levon@movementarian.org>
42 * insettext.C: remove unused prototypes
44 2003-03-25 Angus Leeming <leeming@lyx.org>
46 * insetbibitem.C (localDispatch): repaint the view after modifying
47 a bibitem inset in case the maximum InsetBibitem width has changed.
49 2003-03-25 John Levon <levon@movementarian.org>
52 * insettabular.C: LyXText renamings
54 2003-03-24 John Levon <levon@movementarian.org>
56 * insettext.C: remove some dead code. Fix bug 972 and
57 related by posting a repaint in updateLocal(), and making
58 the SEL functions set SELECTION.
60 2003-03-22 John Levon <levon@movementarian.org>
63 * inset.C: remove no-longer-needed topx_set
66 * insetcollapsable.C: remove dead code
69 * insetert.C: rebreak the rows when a possible
70 change in size is made, and reset the cursor
73 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
75 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
76 topx_set. Fix drawing errors for clearInset(). Remove
77 some unnecessary uses of topx, which should die.
79 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
80 is no longer needed. Replace it with an ugly hack.
82 2003-03-20 John Levon <levon@movementarian.org>
94 * insettext.C: remove spurious font parameter
95 from update(). Fix drawing of ERT insets inside
96 insets (bug 966). Remove unused mark_dirty from
97 tabular's updateLocal()
99 2003-03-19 John Levon <levon@movementarian.org>
108 * insetwrap.C: remove unused getter/setters
110 2003-03-19 John Levon <levon@movementarian.org>
112 * several files: bv->updateInset() doesn't take
113 a bool mark_dirty any more
115 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
117 * adjust for BufferView* arg removal from lyxtext.
119 2003-03-17 John Levon <levon@movementarian.org>
121 * most files: remove the "cleared" parameter
122 to draw in favour of always clearing. Associated
125 2003-03-16 John Levon <levon@movementarian.org>
127 * insettext.C: remove unused s.refresh
129 2003-03-13 Angus Leeming <leeming@lyx.org>
131 * insettext.C (edit): replace Dialogs::updateParagraph with
132 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
134 2003-03-13 André Pönitz <poenitz@gmx.net>
136 * Makefile.am: insert insetenv
138 * insethenv.[Ch]: new files, currently inactive
140 2003-03-12 John Levon <levon@movementarian.org>
150 * insettext.C: use new insetnewline
152 2003-03-12 John Levon <levon@movementarian.org>
154 * insettext.C: readToken became readParagraph
156 2003-03-12 John Levon <levon@movementarian.org>
158 * insettext.C: use parlist iterator for reading contents
160 2003-03-12 John Levon <levon@movementarian.org>
162 * insettext.C: name change to readToken()
164 2003-03-11 André Pönitz <poenitz@gmx.net>
166 * Makefile.am: insert insethfill
168 * insethfill.[Ch]: new files
170 2003-03-10 Angus Leeming <leeming@lyx.org>
172 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
174 (hideDialog): calls the new static Dialogs::hide() method.
176 * insetbibitem.C (edit):
177 * insetbibtex.C (edit):
178 * insetcite.C (edit):
179 * insetcommand.C (localDispatch):
180 * inseterror.C (d-tor):
181 * insetert.C (showInsetDialog):
182 * insetexternal.C (localDispatch, edit):
183 * insetfloat.C (localDispatch, showInsetDialog):
184 * insetfloatlist.C (edit):
185 * insetgraphics.C (localDispatch, edit):
186 * insetinclude.C (localDispatch, edit):
187 * insetindex.C (edit):
188 * insetlabel.C (edit):
189 * insetminipage.C (localDispatch, showInsetDialog):
191 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
192 resetPos, showInsetDialog, openLayoutDialog):
195 * insetwrap.C (localDispatch, showInsetDialog):
196 changes due to the changed MailInset interface.
198 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
200 * insetfloat.h: Set default placement to an empty string.
202 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
204 * insettext.C (latex): addjust call to latexParagraphs.
206 2003-03-10 Angus Leeming <leeming@lyx.org>
208 * mailinset.C: warn the user if the BufferView has not been cached.
210 2003-03-10 Angus Leeming <leeming@lyx.org>
212 * inset.h, insetbase.h: move cache() and view() into InsetBase.
214 * insetcommand.h (inset):
215 * insetert.h (inset):
216 * insetexternal.h (inset):
217 * insetfloat.h (inset):
218 * insetgraphics.h (inset):
219 * insetinclude.h (inset):
220 * insetminipage.h (inset):
221 * insettabular.h (inset):
222 * insetwrap.h (inset):
223 * mailinset.h (inset): return an InsetBase &, not an Inset &.
225 2003-03-10 Angus Leeming <leeming@lyx.org>
227 * insetcommand.C (string2params):
228 * insetexternal.C (string2params):
229 * insetfloat.C (string2params):
230 * insetgraphics.C (string2params):
231 * insetinclude.C (string2params):
232 * insetminipage.C (string2params):
233 * insettabular.C (string2params):
234 * insetwrap.C (string2params): cure warning message about missing
237 2003-03-09 Angus Leeming <leeming@lyx.org>
239 * insettabular.[Ch]: define a new class InsetTabularMailer and use
240 it to communicate with the frontend dialogs.
242 * mailinset.C (hideDialog): only hide the dialog if it is showing the
243 contents of this inset!
245 2003-03-07 Angus Leeming <leeming@lyx.org>
247 * inseterror.C (localDispatch): new method; calls edit() on
250 2003-03-07 Angus Leeming <leeming@lyx.org>
252 * insetbibitem.C (localDispatch):
253 * insetbibtex.C (localDispatch):
254 * insetlabel.C (localDispatch):
257 2003-03-07 Angus Leeming <leeming@lyx.org>
259 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
260 it to communicate with the frontend dialogs.
262 cd src2003-03-07 Angus Leeming <leeming@lyx.org>
264 * insetexternal.C: remove operator== and operator!= for
265 InsetExternal::Params. They were used only by the old controller
268 2003-03-07 Angus Leeming <leeming@lyx.org>
270 * insetcommand.C (localDispatch):
271 * insetexternal.C (localDispatch):
272 * insetfloat.C (localDispatch):
273 * insetinclude.C (localDispatch):
274 * insetminipage.C (localDispatch):
275 * insetwrap.C (localDispatch):
276 add LFUN_INSET_DIALOG_UPDATE to the switch.
278 2003-03-07 Angus Leeming <leeming@lyx.org>
280 * insetcommand.C (string2params):
281 * insetexternal.C (string2params):
282 * insetfloat.C (string2params):
283 * insetinclude.C (string2params):
284 * insetwrap.C (string2params): use LyXLeX more.
287 * insetexternal.[Ch]:
290 * insetwrap.[Ch]: change Mailer::name_ to be static.
292 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
293 it to communicate with the frontend dialogs.
295 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
298 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
300 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
302 * insettext.C (updateLocal): un-const function
303 (updateLocal): adjust
304 (collapseParagraphs): un-const function
305 (collapseParagraphs): adjust
307 2003-03-05 Angus Leeming <leeming@lyx.org>
309 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
310 it to communicate with the frontend dialogs.
312 2003-03-05 Angus Leeming <leeming@lyx.org>
314 * insetcollapsable.C (draw): cache the BufferView.
316 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
317 it to communicate with the frontend dialogs.
319 2003-03-05 Angus Leeming <leeming@lyx.org>
321 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
324 2003-03-05 Angus Leeming <leeming@lyx.org>
326 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
328 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
329 it to communicate with the frontend dialogs.
331 2003-03-05 Angus Leeming <leeming@lyx.org>
333 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
334 it to communicate with the frontend dialogs.
336 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
338 * insettext.C (collapseParagraphs): adjust
339 (appendParagraphs): make it take a Buffer* instead of a
340 BufferParams& as arg.
341 (appendParagraphs): adjust
343 2003-03-04 Angus Leeming <leeming@lyx.org>
345 * insetbibitem.C (localDispatch):
346 * insetbibtex.C (localDispatch):
347 * insetcommand.C (localDispatch):
348 * insetert.C (localDispatch):
349 * insetlabel.C (localDispatch):
350 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
352 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
354 * insettext.C (latex): adjust for ParagraphList::iterator
356 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
358 * insetbutton.C (view): adjust for boost 1.30.0
359 * insetcollapsable.C (view): ditto
360 * insetgraphics.C (statusChanged): ditto
362 * insettext.h: move paragraphs to be public.
364 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
366 * insetnote.[Ch] (InsetNote): remove unused constructor
368 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
370 * insetgraphics.C: added include "format.h"
372 2003-02-27 Angus Leeming <leeming@lyx.org>
374 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
377 2003-02-27 Angus Leeming <leeming@lyx.org>
379 * insetbibitem.C (localDispatch):
380 * insetbibtex.C (localDispatch):
383 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
385 2003-02-26 Angus Leeming <leeming@lyx.org>
387 * insetbibitem.[Ch] (localDispatch):
388 * insetbibtex.[Ch] (localDispatch):
389 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
391 * insetcommand.C (localDispatch):
392 act only on receipt of LFUN_XYZ_APPLY.
394 * insetert.C (localDispatch): reformat.
395 add LFUN_XYZ_APPLY to the switch.
397 2003-02-26 John Levon <levon@movementarian.org>
399 * insettext.C: use RowPainter
401 * inset.h: make helpers take const *
403 2003-02-26 Angus Leeming <leeming@lyx.org>
405 * insetcommand.[Ch] (localDispatch): new method.
407 2003-02-26 Angus Leeming <leeming@lyx.org>
409 * insetinclude.C (draw): cache the BufferView* using cache not
412 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
414 * insetgraphics.C (draw)
415 * insetinclude.C (draw): Eliminate also the other argument (owner
416 inset inset) in the call to PreviewImage::image
418 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
420 * insetgraphics.C (draw)
421 * insetinclude.C (draw): Eliminate Buferview argument in call to
424 2003-02-25 John Levon <levon@movementarian.org>
426 * insetgraphicsParams.h:
427 * insetgraphics.C: don't start a load process if
428 the inset is set to NoDisplay (bug #920)
430 2003-02-22 John Levon <levon@movementarian.org>
433 * insetwrap.C: TocItem changed API (bug 913)
435 2003-02-21 Angus Leeming <leeming@lyx.org>
437 * insetcollapsable.[Ch] (cache, edit):
438 * insetbutton.[Ch] (cache, edit): new methods to cache the
439 BufferView in the draw method.
441 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
442 simplify comunication between InsetCommand-derived classes and
449 * insetfloatlist.[Ch]:
453 * inseturl.[Ch]: small changes to reflect the new interface to the
456 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
457 other, similar classes.
459 * Makefile.am: add new files.
461 2003-02-21 Angus Leeming <leeming@lyx.org>
463 * updatableinset.h (setView, view): remove.
464 * inset.h (view, cache): to be replaced by these.
466 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
469 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
472 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
474 2003-02-21 Allan Rae <rae@lyx.org>
476 * insetinclude.C (loadIfNeeded): ensure loading also works when
477 child document is under version control.
479 2003-02-17 André Pönitz <poenitz@gmx.net>
481 * insetbib.[Ch]: Adjust access to bibkeys
483 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
485 * insetquotes.C (dispString): remove use of acute accent for "'"
488 2003-02-14 John Levon <levon@movementarian.org>
490 * insettabular.C: changed method names in tabular.C
492 2003-02-14 John Levon <levon@movementarian.org>
496 * insetcollapsable.h:
497 * insetcollapsable.C:
501 * insettext.C: remove unused getParFromID()
503 2003-02-13 John Levon <levon@movementarian.org>
506 * insettext.C: remove unused beginningofMainBody()
508 2003-02-08 John Levon <levon@movementarian.org>
512 * insetcollapsable.h:
513 * insetcollapsable.C:
518 add nextChange(). Make allowSpellcheck() const. Add markErased().
520 * insetert.C: ignore deleted text
522 * insettabular.C: make sure to keep change tracking working
525 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
530 * insettext.C: Use error messages with identical spelling and punctuation
532 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
534 * insetgraphics.C (draw, width): Fix spacing around graphics inset
536 2002-12-17 Juergen Vigna <jug@lyx.org>
538 * insettext.C (localDispatch): hopefully fixed cursor up down
539 movement on leaving other insets.
541 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
543 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
546 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
548 * insetgraphics.C (prepareFile): do not remove the extension of
549 the file name if it is not the default extension for the given
550 format (that is, in latex output, remove extension from foo.eps,
551 but not from foo.epsi)
553 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
555 * insettext.C (lfunMouseRelease): hackish solution to the "double
558 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
560 * insetfloat.C (addToToc): use the floats name not its type
561 * insetwrap.C (addToToc): ditto
563 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
565 * insetnote.C (init): make label font smaller
567 2002-12-04 John Levon <levon@movementarian.org>
569 * insetinclude.C: ressurect setting of command name
571 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
573 * insetquotes.C (dispString): disambiguate insert call
575 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
577 * several files: ws changes
579 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
581 * insetquotes.C (dispString): use string::insert for prepending a
584 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
586 * insetparent.C (getScreenLabel): use boost::format
588 * insetgraphics.C (prepareFile): use boost::format
591 * insetfloatlist.C (latex): use boost::format
593 * insetcaption.C (draw): use boost::format
595 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
597 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
600 2002-11-20 Juergen Vigna <jug@sad.it>
602 * insettabular.C (resetPos): temporary fix for endless loop in
603 this function on a redraw.
605 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
607 * insettabular.C (copySelection): STRCONV
609 * insetinclude.C (uniqueID): STRCONV
612 * insetgraphics.C: put VersionNumber inside anon namespace
613 (createLatexOptions): STRCONV
615 * insetcommandparams.C: include config.h
617 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
619 * insetgraphicsParams.C (Write): use lyx::float_equal.
620 Write height data correctly.
621 (Read): zero scale when reading height data.
623 2002-10-30 John Levon <levon@movementarian.org>
625 * insetfloat.C (addToTOC): recursively traverse all
626 contents looking for captions (fix #568)
628 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
630 * insetexternal.C (doSubstitution): do not try to replace
631 environment variables, this is done when executing the command
633 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
635 * insetexternal.C (doSubstitution): change order of substitution
636 to work around ReplaceEnvironmentPath brokenness
638 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
640 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
642 * insetgraphicsParams.C (init, Write): associated changes
643 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
644 InsetGraphicsParams::scale.
646 2002-10-21 John Levon <levon@movementarian.org>
648 * inset.h: remove unused DISPATCH_RESULT
650 * insettext.C: sgml open/close tag now in sgml namespace
652 2002-10-21 Angus Leeming <leeming@lyx.org>
654 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
655 file path subdir/fig.eps when pasting it into a buffer in a different
658 2002-10-16 John Levon <levon@movementarian.org>
660 * insetspecialchar.C: remove \\protected_separator parsing
662 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
664 * insetquote.C: fix LaTeX output of quotation marks.
666 2002-10-14 Juergen Vigna <jug@sad.it>
668 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
669 Backspace functions which confused the Undo handling.
671 2002-10-09 Angus Leeming <leeming@lyx.org>
673 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
674 BufferView::dispatch that turns off this optimisation when a new inset
677 * insetcite.C (getNatbibLabel): correct logic of when and when not to
678 reload the BibTeX keys.
680 2002-10-11 André Pönitz <poenitz@gmx.net>
682 * insettext.h: handle LFUN_PRIOR/NEXT
684 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
686 * insetfloat.C: fix bug with float settings
687 (document default != float default).
689 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
691 * insetwrap.C (addToToc): New method.
692 (InsetWrap): Set layout to caption.
694 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
696 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
698 2002-09-16 John Levon <levon@movementarian.org>
700 * insettabular.h: hasSelection() needs to be public
702 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
704 * insetgraphicsParams.C: use empty string as default for rotateOrigin
706 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
708 * insetgraphicsParams.C: use empty string as default for rotateOrigin
710 2002-09-11 André Pönitz <poenitz@gmx.net>
712 * insettabular.C: implement LFUN_WORDSEL
714 2002-09-10 John Levon <levon@movementarian.org>
716 * insetinclude.h: remove unused param
718 2002-09-09 John Levon <levon@movementarian.org>
721 * insetinclude.C: remove noload, default to input
723 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
725 * insetgraphics.C: disfuscated use of ']' in built output string.
727 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
731 2002-08-29 Juergen Vigna <jug@sad.it>
733 * insettabular.C (lfunMousePress): Pay attention where you set
734 the x/y values as they depend on which inset in the tabular is
735 actually locked. So you surely have to reset them if you (un)lock
738 2002-08-29 André Pönitz <poenitz@gmx.net>
740 * insetfootlike.h: rename include guard to ALL CAPS
742 * insettext.C: swap object and first parameter for checkInsetHit calls
743 as this functions has moved from BufferView to LyXText
746 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
748 * insetgraphicsParams.C: remove local displayTranslator and use
749 the one from graphics/GraphicsTypes.h.
751 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
753 * insetfloat.C (wide): add BufferParams parameter
755 * insetfloatlist.C (read):
758 * insetfloat.C (latex):
760 * insetcaption.C (draw): use LyXTextClass::floats()
762 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
764 * insetoptarg.h: add std:: qualifier.
766 2002-08-26 Juergen Vigna <jug@sad.it>
768 * insettext.C (localDispatch): ditto.
770 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
772 2002-08-25 John Levon <levon@movementarian.org>
774 * inseturl.C: elide long URLs (bug 404)
776 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
778 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
779 remove "Format Version <version_no.>" string from inset header
782 * insetgraphicsParams.[Ch]: Implement new graphics dialog
784 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
785 a member of "grfx::Params" anymore.
787 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
789 2002-08-24 John Levon <levon@movementarian.org>
792 * insetoptarg.C: ws, pedantry ...
794 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
796 * insettext.C (collapseParagraphs): pasteParagraph now in global
798 (appendParagraphs): ditto
800 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
802 * insetcite.C (latex): Remove spaces only after commmas.
804 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
806 * insettext.C: remove NO_COMPABILITY stuff
808 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * insettext.C (edit): use ParagraphList iterators
812 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
813 (bibitemWidest): ditto
815 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * insettext.C: include <boost/bind.hpp>
818 add using std::for_each
819 (saveLyXTextState): use ParagraphsList::iterator
820 (init): use for_each on paragraphlist iterators
821 (InsetText): remove superflous setting cached_bview to 0
822 (latex): reformat a bit
823 (ascii): use paragraphlist iterators
824 (validate): use for_each + boost bind
825 (getLabelList): use paragraphlist iterators
826 (deleteLyXText): use for_each + boost::bind
827 (resizeLyXText): ditto
828 (reinitLyXText): ditto
829 (removeNewlines): use paragraphlist iterators
830 (getParFromID): ditto
831 (paragraph): use for_each + boost::bind
832 (getInsetFromID): use paragraphlist iterators
833 (getLabelList): typo fix
835 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * insettext.C (read): assign tmp to paragraphs after return from
838 call to parseSingleLyXformat2Token
841 2002-08-13 Angus Leeming <leeming@lyx.org>
860 changes due to the changed LyXView interface that now returns references
861 to member variables not pointers.
863 2002-08-13 Angus Leeming <leeming@lyx.org>
866 * insetcollapsable.h:
869 * insettext.h: forward-declare WordLangTuple
870 (selectNextWordToSpellcheck) constify return type.
873 * insetcollapsable.C:
876 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
878 2002-08-12 Angus Leeming <leeming@lyx.org>
880 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
882 2002-08-12 Juergen Vigna <jug@sad.it>
884 * insetcollapsable.C (edit): ignore if entered when pressing mouse
887 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
889 * insetbib.C (bibitemMaxWidth): ParagraphList changes
890 (bibitemWidest): ditto
891 * insettext.[Ch]: ditto
893 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
895 * insettext.C, insetert.C: use Paragraph::empty where appropriate
897 2002-08-09 Angus Leeming <leeming@lyx.org>
899 * insetinclude.C (latexString): remove fudge now that I've found out
900 how to enable LaTeX to find the file using input@path.
902 2002-08-09 John Levon <levon@movementarian.org>
905 * insettext.C: remove unused xpos
907 2002-08-07 Juergen Vigna <jug@lyx.org>
909 * insettabular.C (localDispatch): make delete not put the stuff
910 in the clipboard only do this on a cut operation.
912 * insettext.C (localDispatch): make delete and backspace not put
913 selected stuff to the clipboard.
915 2002-08-07 André Pönitz <poenitz@gmx.net>
918 * insetcollapsable.[Ch]:
923 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
925 2002-08-06 John Levon <levon@movementarian.org>
929 * insetcollapsable.h:
930 * insetcollapsable.C:
936 * insettext.C: use WordLangTuple for spellcheck
938 2002-08-06 Angus Leeming <leeming@lyx.org>
940 * insetinclude.C: add a monitor to the previewed image, so that the
941 image is refreshed if the \input-ed file changes.
943 2002-08-04 John Levon <levon@movementarian.org>
946 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
948 2002-08-02 Angus Leeming <leeming@lyx.org>
950 * insetcommandparams.[Ch] (preview): new methods returning and setting
951 a new bool preview_ flag.
952 (read): read this flag.
953 (operator==): add flag to check.
955 * insetinclude.C (write): output new preview() flag.
956 (previewWanted): use this flag.
958 2002-08-02 Angus Leeming <leeming@lyx.org>
960 * insetcollapsable.[Ch] (addPreview):
961 * insettabular.[Ch] (addPreview):
962 * insettext.[Ch] (addPreview): new methods. Can now generate previews
963 for insets in insets.
965 2002-08-02 Angus Leeming <leeming@lyx.org>
967 * insetcite.C: fix typo.
969 * insetgraphics.C: kill current_view and instead cache the BufferView
972 * insetinclude.C: kill current_view and pass the BufferView to the
973 PreviewedInset so that it can cache it.
975 2002-08-01 Angus Leeming <leeming@lyx.org>
977 * inset.h (generatePreview): renamed as addPreview.
978 (generatePreview): new method. Allows code to be moved out of
979 math_nestinset.C and into the new PreviewedInset class.
981 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
982 add previews to the inset when \input-ing LaTeX.
984 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * several files: strip,frontStrip -> trim,ltrim,rtrim
988 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
990 * insetbib.C (latex): modify because of strip changes
992 * insetnote.C (InsetNote): ditto
994 2002-07-26 Juergen Vigna <jug@sad.it>
996 * insettabular.C (searchForward): check for lastcell if we
999 2002-07-25 Juergen Vigna <jug@sad.it>
1001 * insettabular.C (insetMotionNotify): Don't update the screen
1002 if we didn't do nothing.
1003 (searchForward): last cell was not checked.
1005 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1007 * insetfloat.C (read, write): Allow default placement
1008 (floatPlacement_ is empty).
1010 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1012 * insetminipage.h (noFontChange):
1013 * insettabular.h (noFontChange):
1014 * insetfootlike.h (noFontChange):
1015 * insetfloat.h (noFontChange): return true
1017 * inset.h (noFontChange): new method, defaulting to false
1019 2002-07-22 Herbert Voss <voss@lyx.org>
1021 * insetgraphicsParams.[Ch]: support size_type for old docs
1023 2002-07-22 Herbert Voss <voss@lyx.org>
1026 * insetgraphicsParams.[Ch]: change size_type to size_kind and
1029 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1031 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1033 * insetlatexaccent.h: do not include "lyxlex.h"
1035 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1038 * insetlatexaccent.C:
1042 * insetbib.C: #include "lyxlex.h"
1048 * insettext.C: use BufferParams::getLyXTextClass
1051 * insetfloat.C (addToToc): new method. Add to toclist the entries
1052 corresponding to Caption layouts
1053 (InsetFloat): when creating a new float, set the layout to "Caption"
1055 2002-07-21 Herbert Voss <voss@lyx.org>
1057 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1058 image relevant part into graphics/GraphicsImgae.C
1060 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1062 * insettoc.C (ascii):
1063 * insetfloatlist.C (ascii): change to use the new Toc functions
1064 instead of stuff that was in Buffer
1066 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1068 * insettext.C (localDispatch): BufferView::Dispatch has been
1069 renamed to BufferView::dispatch
1071 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1073 * insetgraphicsParams.C (as_grfxParams): use the new
1074 keepLyXAspectRatio parameter. Note that this is an adaptation of a
1075 1.2.0 patch, and I do not really know how to adapt it to the new
1076 grfx::Cache world. Angus, please could you have a look?
1078 2002-05-01 Herbert Voss <voss@lyx.org>
1080 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1082 2002-07-18 Angus Leeming <leeming@lyx.org>
1084 * insetgraphics.C: clean-up comments (from Herbert).
1085 add a new checksum variable to the cache. Use it in PrepareFile.
1086 (draw): start monitoring the file for a change.
1087 (prepareFile): re-arrange a little to avoid unnecessary steps.
1089 2002-07-17 Angus Leeming <leeming@lyx.org>
1091 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1092 a method rather than to the signal directly.
1094 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1096 * insettext.C: use view_state_changed, switchKeyMap
1098 2002-07-17 Herbert Voss <voss@perce.de>
1100 * insetgraphics.C (prepareFile): keep the extension when
1101 exporting to nice file
1103 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1105 * insetcite.C (getNatbibLabel):
1106 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1108 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1110 * insetgraphics.C: use ->isDrawable()
1112 2002-07-12 Angus Leeming <leeming@lyx.org>
1114 * insetgraphics.C: use the new smart loading capabilities of the image
1117 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1119 * insettabular.C (edit): Move into correct cell when entering a
1122 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1125 2002-07-05 Angus Leeming <leeming@lyx.org>
1127 * inset.h (generatePreview): new virtual method.
1129 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1131 * insetcommandparams.[Ch] (operator=): move out of class
1132 (operator!): move out of class
1134 2002-07-04 André Pönitz <poenitz@gmx.net>
1136 * insetcommandparams.[Ch]: new files
1138 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1140 2002-06-15 Herbert Voss <voss@perce.de>
1142 * insetgraphics.C (prepareFile): bugfix; return always
1143 files without extension
1145 2002-06-28 Angus Leeming <leeming@lyx.org>
1147 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1148 rename asGParams -> as_grfxParams.
1150 * insetgraphics.C: reflect above change.
1152 2002-06-26 Angus Leeming <leeming@lyx.org>
1154 * insetgraphics.h: use boost::scoped_ptr in preference to
1157 2002-06-26 Angus Leeming <leeming@lyx.org>
1159 * insetgraphics.C: moved the image loading stuff into a new class
1160 grfx::Loader. Simplifies this file enormously.
1162 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1164 * insetgraphicsParams.C: changes aassociated with moving
1165 grfx::DisplayType out of grfx::GParams.
1167 2002-06-26 André Pönitz <poenitz@gmx.net>
1169 * insetgraphics.C: use os::external_path where necesaary according to a
1170 patch from Claus Hentschel)
1172 2002-06-25 Angus Leeming <leeming@lyx.org>
1174 * insetgraphics.[Ch]: The inset now assumes the responsibility for
1175 generating a pixmap once the graphics file is loaded into memory.
1176 The current_view ugliness that was in grfx::ModifiedImage has been
1177 moved here now that grfx::ModifiedImage is no more.
1179 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1181 * insettext.C: layout as layout
1183 2002-05-28 André Pönitz <poenitz@gmx.net>
1185 * insetfloatlist.h: remove source of compiler warning
1187 * insetref.C: tiny whitespace
1189 2002-06-15 Herbert Voss <voss@perce.de>
1191 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1192 and take always convert when no userdefined converter was
1194 (latex) small changes in the lyxerr output
1196 2002-06-15 LyX Development team <lyx@rilke>
1198 * inset*.[Ch] (docbook): Added new argument to take the pernicious
1199 mixed content. Small white spaces clean.
1201 2002-06-14 Angus Leeming <leeming@lyx.org>
1203 * inseetexternal.C: remove the using std::difftime declaration.
1205 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
1207 * insetquotes.C: change lyxfont::draw to font_metrics::draw
1209 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
1211 * insetquotes.C (draw): fix drawing of double quotes
1213 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1215 * insettabular.C: s/scrollCB/scrollDocView/
1217 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1219 * insettext.C: change of topCursorVisible()
1222 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1225 * insettext.C: rename/change of LyXScreen
1227 2002-06-07 Angus Leeming <leeming@lyx.org>
1229 Fixes needed to compile with Compaq cxx 6.5.
1231 all c-library variables have been moved into namespace std.
1232 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1234 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1236 * insetinclude.C (uniqueID):
1237 * insetgraphics.C (uniqueID): renamed from unique_id, since this
1238 conflicted with some AIX headers.
1240 2002-05-31 Juergen Vigna <jug@sad.it>
1242 * insetert.C (get_new_label): add '...' for multi-paragraph ert
1246 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1248 * insetexternal.C (clone): fix () bug when using new
1249 (updateExternal): don't only look for difftime in global scope
1251 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1253 * insettabular.C: add const
1255 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1257 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1258 file name, in case there are weird characters like ',' in there.
1261 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1263 * switch from SigC signals to boost::signals.
1265 2002-05-28 André Pönitz <poenitz@gmx.net>
1267 * insets/insetgraphicsParams.[Ch]:
1268 put in inset related stuff from src/graphic
1270 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1278 * insetcollapsable.C:
1279 * insetcollapsable.h:
1307 * inseturl.h: use mouse_state. Kill insetKeyPress
1309 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1314 * insetcollapsable.C:
1317 * insetlatexaccent.C:
1319 * insetspecialchar.C:
1321 * insettext.C: name change for font metrics
1323 2002-05-24 Juergen Vigna <jug@sad.it>
1325 * insetgraphics.h: include inset.h first (for LString.h)
1327 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1329 * insettext.C: screen moved
1331 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1349 * inseturl.C: LyXView moved into frontends/
1351 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1356 * insetcollapsable.C:
1360 * insetgraphicsParams.C:
1361 * insetlatexaccent.C:
1363 * insetspecialchar.C:
1365 * insettext.C: move Painter to frontends/
1367 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1369 * insettabular.h: use more specific smart_ptr header.
1370 * insettext.h: ditto
1372 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1375 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1377 * insettext.C: clear selection on paste (bug 393)
1379 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1381 * insettext.C (latex): Honor the moving_arg argument.
1383 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1385 * insetfoot.C (latex): if a footnote is in a title layout, then it
1386 is a \thanks. And then, its contents is a moving argument.
1388 2002-05-14 Juergen Vigna <jug@sad.it>
1390 * insetcollapsable.C (InsetCollapsable): forgot to initialize
1393 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
1395 * Insetcite.C (getNatbibLabel): don't disable natbib label support
1396 when using options "Full author list" or "Upper case".
1398 2002-05-14 Herbert Voss <voss@perce.de>
1400 * insetgraphics.C (prepareFile): allow files with same name
1402 (readFigInset): set the flags from old figinset in the right
1404 (findTargetFormat): more comments
1406 2002-05-14 Juergen Vigna <jug@sad.it>
1408 * insettext.C (edit): tell checkAndActivateInset() that we don't
1409 have a button press.
1410 (checkAndActivateInset): if button < 0 we don't have a button press
1411 on the inset and os we won't call edit on it if it's not a Highly
1412 editable inset (then we have to enter it).
1414 2002-05-13 Juergen Vigna <jug@sad.it>
1416 * insetcollapsable.C (insetButtonRelease): returned wrong return
1419 2002-05-09 Juergen Vigna <jug@sad.it>
1421 * insetcollapsable.C (edit): first_after_edit should only be
1422 set to true if we enter this inset and it was collapsed so we
1423 open it up. This is needed to reclose it after a search/replace
1424 or spellcheck function opened it and was negative.
1426 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
1428 * insetfloat.C (latex): Return correct value.
1430 2002-05-04 Herbert Voss <voss@perce.de>
1432 * InsetgraphicsParams.C (read): fix bug with WH
1434 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1436 * insetfloat.C (latex): More sensible latex output
1437 (fix the problem with endfloat).
1439 2002-05-02 José Matos <jamatos@fep.up.pt>
1441 * insetgraphics.C (validate): acess params as everyone else.
1443 2002-05-03 Juergen Vigna <jug@sad.it>
1445 * insettabular.C (fitInsetCursor): recalculate the cursor position
1448 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
1450 * InsetgraphicsParams.[Ch]: whitespace.
1452 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1454 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1455 float type do not exist.
1457 2002-04-28 Herbert Voss <voss@perce.de>
1459 * insetgraphics.C (latex): fix bug with missing file-extension.
1460 LaTeX still allows a missing "eps" or "ps".
1462 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1464 * insetfloat.C (c-tor, wide): translate the name of the float.
1466 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1468 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
1469 when using natbib and make it work efficiently. Must emphasise that the
1470 real work is Herbert's.
1472 2002-04-23 Herbert Voss <voss@perce.de>
1474 * insetgraphic.C (prepareFile): fix bug with overwriting and
1475 deleting an existing *.eps-file in the doc-dir
1477 2002-04-23 Juergen Vigna <jug@sad.it>
1479 * insettabular.C (drawCellSelection): fix off by 1 error.
1481 2002-04-22 Juergen Vigna <jug@sad.it>
1483 * insettabular.C (setFont): rewoke full selection if it was asked,
1484 after we changed all we had to change.
1486 * insettext.C (insetUnlock): code was uninitialized in some situations.
1488 2002-04-19 Herbert Voss <voss@perce.de>
1490 * insetgraphic.C (prepareFile): return filename without
1491 extension if we only export without compiling
1493 2002-04-19 Juergen Vigna <jug@sad.it>
1495 * insettext.C (draw): call a fullRebreak on the row where we had a
1496 change and reset the cursor and selection-cursors.
1498 * insettabular.C (insetUnlock):
1499 (insetButtonPress): call an update before setting the_locking_inset = 0
1500 as otherwise we don't repaint!
1501 (update): reset the cursor position when we changed dimensions as
1502 otherwise our cursor may be on the wrong spot.
1504 2002-04-18 Juergen Vigna <jug@sad.it>
1506 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
1507 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
1508 redraw otherwise we won't redraw.
1510 * insettext.C (draw): fixed the setting of LyXText::first_y it was
1511 not really right before, but I only discovered this with the last
1512 changes to Page up/down.
1514 2002-04-17 Juergen Vigna <jug@sad.it>
1516 * insettext.C (checkAndActivateInset): simplified as we now have the
1517 edit(bv, bool) call.
1519 * insettext.h: changed behind variables to front variables to be
1520 equal to the one in the edit call (as it is for that they are used).
1522 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1524 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
1525 not output anything at all!
1527 2002-04-16 Juergen Vigna <jug@sad.it>
1529 * insettabular.C (insetButtonPress):
1530 (insetUnlock): call a redraw on unlocking the cell inset.
1532 * insettext.C (insetButtonPress): same as below.
1533 (lockInset): new function to set initial values when inset should
1535 (insetButtonPress): use above function.
1536 (insetUnlock): don't force a repaint only set the updateStatus. The
1537 outside world should repaint if it thinks it should be done!
1539 * insettabular.C (insetButtonPress): init values if not set as locked
1540 as we are locked if someone presses on us and don't call the edit()
1541 call of the InsetText to lock it do it as BufferView does it!
1543 * inset.h (insetInInsetY): make func const and return an int.
1546 * insetcollapsable.C: adapt the above changed function.
1548 2002-04-15 Juergen Vigna <jug@sad.it>
1550 * insettext.C (getCursorPos): return relative position as to be able
1551 to give them directly to the edit() call.
1552 (edit): we have to set also x_fix as it is not set inside the
1553 setCursorFromCoordinates call!
1554 (insetMotionNotify): ditto.
1556 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1558 * insetbib.C (getKeys): strip leading '\t's from the line too.
1559 With thanks to Henry Pfister <hpfister@ucsd.edu>.
1561 2002-04-12 Juergen Vigna <jug@sad.it>
1563 * insettext.h: added cix() helper function and use it where appropriate
1565 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1567 * insetgraphics.C (prepareFile): fix bug when graphics is a
1570 2002-04-12 Juergen Vigna <jug@sad.it>
1572 * insettext.C (insertInset): remove unneeded code!
1573 (updateLocal): fitCursor() fixes.
1574 (collapseParagraphs): fix a possible problem when having a selection
1575 and collapsing the paragraphs.
1577 2002-04-08 Herbert Voss <voss@perce.de>
1579 * insetgraphic.C (write): write the rotating angle as
1580 a float as is. test only for != 0.0
1582 2002-04-11 Juergen Vigna <jug@sad.it>
1584 * insettext.C: new function ciy() and use it for setting inset_y.
1586 * insetert.C (draw): fix the x return for collapsed version.
1588 2002-04-07 Herbert Voss <voss@perce.de>
1590 * insetgraphic.C (readFigInset): fix bug with subcaption and
1593 2002-04-08 Herbert Voss <voss@lyx.org>
1595 * insetgraphicsparam.C: forgot special option and delete old
1598 2002-04-05 Juergen Vigna <jug@sad.it>
1600 * insettext.C (localDispatch): make a CURSOR update if we inserted
1603 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1605 * insetfloatlist.C (getScreenLabel):
1606 (latex): use Floating::listName
1607 (validate): new method
1609 2002-04-03 José Matos <jamatos@fep.up.pt>
1611 * insetlabel.C (docbook): the anchor is an empty element in docbook.
1613 * insetfoot.[Ch] (docbook): added forgotten method.
1615 2002-04-03 Juergen Vigna <jug@sad.it>
1617 * insettext.C (insetButtonPress): fix insetButtonPress events the same
1618 way as in Bufferview_pimpl.
1620 2002-04-03 Allan Rae <rae@lyx.org>
1622 * insetgraphics.C (latex): one % too many makes living on the bleeding
1623 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
1625 2002-03-28 Herbert Voss <voss@lyx.org>
1627 * insetgraphic.C (latex): simplify the code for the latex
1628 output when the file doesn't exist
1630 2002-03-29 Juergen Vigna <jug@sad.it>
1632 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
1635 * insettabular.C (edit): call fitCursor().
1637 * insettext.C (insetButtonPress): change behaviour of no_selection
1638 to the one in the BufferView selection_possible and fix the spurious
1639 selection bug with it.
1640 (localDispatch): revoke selection on BREAK... functions.
1642 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1644 * insetfloatlist.C (getScreenLabel): translate the GUI label.
1646 2002-03-28 Juergen Vigna <jug@sad.it>
1648 * insettabular.C (insetAllowed): return true as default value otherwise
1649 we're not able to insert insets inside paragraphs of an not locked
1652 2002-03-27 Herbert Voss <voss@lyx.org>
1654 * insetgraphicsparam.C: change c%, p% to col%, page%
1656 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1658 * insetspecialchar.C (isLineSeparator): disable the nice code to
1659 allow linebreaks after hyphenation and menu separators.
1661 2002-03-26 Herbert Voss <voss@lyx.org>
1663 * insetgraphics.C (figinsetRead): set the right lyxview
1665 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1667 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
1668 $\backslash$ and pass a "string const &" to the function.
1669 (prepareFile, latex): use Path rather than MakeAbsPath.
1671 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
1673 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
1674 proper fix to the graphics cache.
1675 (latex): "really" nice output if the file is not found ;-)
1677 2002-03-26 Juergen Vigna <jug@sad.it>
1679 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
1680 (collapseParagraphs): fixed inserting of separator ' '
1682 * insettabular.C (insertAsciiString): only check for buffer lenght
1683 not if we have \t or \n inside the buffer as if we don't have we only
1684 have 1 cell and that's it!
1686 * insetert.C (close): don't collapse if inlined.
1688 2002-03-25 Herbert Voss <voss@lyx.org>
1690 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
1691 graphics file does not exist.
1693 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1695 * insetgraphics.C (prepareFile): ensure that the file has an absolute
1696 path when preparing export.
1698 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
1699 no longer MakeRelPath.
1701 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1703 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
1704 Used to determine the absolute path to the graphics file in the
1705 graphics cache and only in the graphics cache.
1706 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
1707 make graphics file name absolute if it is stored as a relative path.
1709 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
1710 make graphics file name absolute if it is stored as a relative path.
1712 * insettext.C (edit): emit an updateParagraph signal on entering a text
1713 inset. Needs to be emitted when leaving the inset also.
1715 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1717 * all files: ws cleanup
1719 * Makefile.am: remove ld -r stuff
1721 2002-03-21 Juergen Vigna <jug@sad.it>
1723 * insettext.C (appendParagraphs): new function added to append
1724 the paragraphs to this insets paragraphs.
1726 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1728 * Makefile.am: special rules if partial linking
1730 2002-03-19 Juergen Vigna <jug@sad.it>
1732 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
1734 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
1736 * insetgraphics.C: Clean up Baruch's comments a little.
1737 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
1739 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
1742 * insettheorem.C: wrap warnings
1744 * insetgraphics.C: improve messages, move cached_status_
1745 setting to safer place
1747 2002-03-18 Juergen Vigna <jug@sad.it>
1749 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
1751 (localDispatch): ditto
1753 * insettext.C (edit): removed unneeded showCursor calls.
1754 (localDispatch): ditto.
1756 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1758 * insetgraphics.h: remove display() method.
1760 2002-03-11 Juergen Vigna <jug@sad.it>
1762 * insetgraphics.C (draw): hack to fix the redrawing bug.
1763 (draw): seems this fixes #268 (force redraw of row if we changed).
1765 * insettext.C (updateInsetInInset): fixed for updates in insets inside
1766 this inset text (don't know why I missed this earlier).
1768 2002-03-08 Juergen Vigna <jug@sad.it>
1770 * insettabular.C (updateLocal): do a FULL update if we're not locked
1771 and only a CELL update is asked.
1773 * insettext.C (updateInsetInInset): update insets inside inset also
1774 if it isn't inside the_locking_inset.
1776 * insettabular.C (updateInsetInInset): ditto.
1778 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1780 * insetexternal.C (doSubstitution): check whether we are using a
1781 temp dir for defining $$FPath
1783 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1786 * insettext.C: remove #include "WorkArea.h".
1788 2002-03-06 Juergen Vigna <jug@sad.it>
1790 * insettext.C (draw): fixed frame redrawing.
1791 (clear): forgot to set the inset_owner of the paragraph.
1793 * insetert.C (status): pay attention the bv can be 0 here!
1794 (getMaxWidth): add the default leftMargin
1796 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1798 * insetert.C (getMaxWidth): make w unsigned int.
1800 2002-03-05 Juergen Vigna <jug@sad.it>
1802 * insetert.C (status): change behaviour of Inlined.
1803 (getMaxWidth): added for new inlined behaviour.
1805 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
1807 * insetnote.h (linuxdoc, docbook): add empty methods.
1808 * insetinclude.C (validate): fix a case where buffer->niceFile was used
1809 before being initialized.
1811 2002-03-05 Juergen Vigna <jug@sad.it>
1813 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
1814 only that one in the inset. Should be enough.
1815 (updateLocal): set the selection cursor always if we don't have a
1816 selection to be sure it's set!
1818 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
1820 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1822 * insettext.C (clear): a gross hack to set layout on a newly
1825 2002-03-04 Juergen Vigna <jug@sad.it>
1827 * insettabular.C (localDispatch): inserted handling of
1828 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
1829 (insertAsciiString): new helper function.
1831 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
1833 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
1836 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1838 * insettext.C (InsetText): initalize newly created par with
1839 default layout. add bufferparams parameter
1842 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
1843 * insetcollapsable.[Ch] (InsetCollapsable): ditto
1844 * insetert.[Ch] (InsetERT): ditto
1845 * insetfloat.[Ch] (InsetFloat): ditto
1846 * insetfoot.[Ch] (InsetFoot): ditto
1847 * insetfootlike.[Ch] (InsetFootLike): ditto
1848 * insetmarginal.[Ch] (InsetMarginal): ditto
1849 * insetminipage.[Ch] (InsetMinipage): ditto
1850 * insetnote.[Ch] (InsetNote): ditto
1851 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
1853 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1855 * insettext.C: layout as string
1857 * insetinclude.C: layout as string
1859 * insetert.C: layout as string
1861 * insetbib.C: layout as string
1863 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1866 * insettabular.C: remove #include "lyx_gui_misc.h".
1868 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1873 * inset.h: remove figinset, yahoo !
1875 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1877 * insetgraphics.C (c-tors): initialise parent classes explicitly in
1878 copy c-tor and initialise member variables in the correct order.
1880 2002-02-28 Juergen Vigna <jug@sad.it>
1882 * insettabular.C (localDispatch): clear selection on PgUp/Down.
1884 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1886 * inset.h: ... and add a better one here.
1888 * insetcommand.C (insetButtonRelease): remove that one which was a
1891 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1893 * insetcommand.C (insetButtonRelease): ... and move it here.
1895 * inseturl.h: remove insetButtonRelease from there...
1897 2002-02-26 Juergen Vigna <jug@sad.it>
1899 * inseturl.h: Added a insetButtonRelease call returning true as
1902 * insetlabel.C (edit): Fixed wrong update handling after change I
1903 leave in the wrong code for the one who wrote it to remove and have
1904 a look what he did wrong.
1906 * insettabular.C (localDispatch): force a SELECTION update if we
1907 had a selection and we passed the event down to the inset (fix #213)
1908 (localDispatch): handle font changing stuff when we have a cell
1909 selection so that the selection is not rewoked. I don't really like
1910 this fix, but it's the only way I see to do it right now.
1912 2002-02-22 Juergen Vigna <jug@sad.it>
1914 * insettext.C (insetUnlock): set the cursor to the second paragraph
1915 if available and if the first one is empty (fix #191).
1917 2002-02-20 Juergen Vigna <jug@sad.it>
1919 * insettext.C (getDrawFont): implemented this function to call the
1920 one of the owner if present as the owner normally knows what to do
1923 * insetert.C: implement getDrawFont() function and comment out all
1924 the crap for setting a special latex font inside this inset.
1925 (InsetERT): added a Lanugage parameter to this constructor.
1927 * inset.h: added function getDrawFont(LyXFont & font) to be able to
1928 change the font for being drawn on screen (used only in InsetERT for
1931 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
1932 and also above (was missing).
1933 (updateLocal): don't remove the cell selection if we have one this
1934 should be done where we really want to remove it.
1936 2002-02-20 José Matos <jamatos@fep.up.pt>
1938 * insetinclude.h: include_label made string const.
1940 * insetinclude.C (InsetInclude): moved include_label initialization.
1943 (validate): fix support for temporary directory, for docbook and
1946 * insetgraphics.h : new private member, graphic_label, that holds
1947 the entity name that defines the graphics location (SGML).
1949 * insetgraphics.C (unique_id): new function to give a unique label
1952 (validate): the file locatation is given by an entity reference.
1954 2002-02-18 Herbert Voss <voss@lyx.org>
1956 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
1958 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1960 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
1961 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1963 2002-02-18 José Matos <jamatos@fep.up.pt>
1965 * insetinclude.C (validate): some code only applies to latex buffers,
1966 it was made conditional.
1968 2002-02-12 Herbert Voss <voss@lyx.org>
1970 * insetgraphics.C: (prepareFile) do not check at this time
1971 if the file is present.
1973 2002-02-12 Herbert Voss <voss@lyx.org>
1975 * insetgraphics.C: latex(), return the correct newlines
1977 2002-02-13 José Matos <jamatos@fep.up.pt>
1979 * inseturl.C (docbook): escape & in url.
1981 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1983 * insetspecialchar.C (isLineSeparator): line breaking is allowed
1984 after HYPHENATION and MENU_SEPARATOR
1986 * inset.h (isLineSeparator): new method, returns false by default.
1988 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1990 * insetert.C (status): do not update the text inset, but the ERT
1993 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
1995 * insetnote.C: use notebg for background
1997 2002-02-08 Herbert Voss <voss@lyx.org>
2000 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2001 prevent LyX from unzipping when this should be handled
2002 by latex vis the graphic.cfg.
2005 2002-02-08 Herbert Voss <voss@lyx.org>
2007 * insetgraphic.C: prepareFile(): fix bug when file doesn't
2008 exists, than return filename with extension
2010 2002-02-06 Herbert Voss <voss@lyx.org>
2012 * insetgraphic.C: prepareFile(): don't convert the file, when
2013 it's not viewed in LyX. Saves a lot of time when opening a
2016 2002-02-05 Herbert Voss <voss@lyx.org>
2019 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2020 and adding a rotate bool similiar to subcaption
2022 2002-02-04 Herbert Voss <voss@lyx.org>
2025 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2026 similiar view to the LaTeX one. Get zipped files work.
2028 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2030 * insetgraphicsParams.C (init): set display to DEFAULT.
2031 No longer #include "lyxrc.h".
2033 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2035 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2036 for now (so that the code compiles).
2038 2002-02-02 Herbert Voss <voss@lyx.org>
2040 * insetgraphic.C: delete inVariant() and some minor changes
2041 * insetgraphicsParams.[C]:
2043 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
2045 * insetgraphics.C (updateInset): if params.display == DEFAULT,
2046 interogate lyxrc.display_graphics before diaplaying the graphic.
2048 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2049 InsetGraphicsParams::DisplayType.
2051 2002-01-31 Herbert Voss <voss@lyx.org>
2053 * insetgraphic.C: (readfigInset) set display to pref-default
2055 2002-01-30 Herbert Voss <voss@lyx.org>
2057 * insetgraphic.C: get the filetyp from it's contents
2058 * insetgraphicparams.C: add token scale and lyxrc.display when
2059 creating a new inset
2061 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
2063 * figinset.C: added using std::ios directive.
2065 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2067 * figinset.C (runqueue): open translation file in binary mode (for
2070 2002-01-27 Herbert Voss <voss@lyx.org>
2072 * insetgraphic.[Ch]: mostly newritten to support graphicx with
2073 all options and to be sure that the old figinsets are correct
2075 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2076 structure and to support all lengths as LyXLength. The Parameter
2077 structure changed again, but reading of "old" 1.2 graphic insets
2080 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
2082 * insetert.h (forceDefaultParagraphs): Added
2084 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2086 * insettabular.C (getMaxWidth):
2087 (forceDefaultParagraphs): use Tabular::GetCellFromInset
2089 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2091 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2092 of LyXLength::inPixels
2094 * inset.C (latexTextWidth):
2095 * insetminipage.C (latexTextWidth): new method, which implements
2096 the equivalent of the LaTeX macro \textwidth
2098 * insetminipage.C (getMaxWidth): use latexTextWidth
2100 2002-01-18 Juergen Vigna <jug@sad.it>
2102 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2104 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2106 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2108 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2111 2002-01-17 Juergen Vigna <jug@sad.it>
2113 * insettabular.C (lockInsetInInset): same change as in insettext.
2115 * insettext.C (draw): width() function was called without setting
2116 the right top_x which could lead to wrong insetWidth setting!
2117 (lockInsetInInset): call edit instead of calling lockInset if we
2118 have to lock an inset inside!
2119 (edit): we have to also tell the inset that we have to redraw the
2120 frame on an edit call if this inset draws a frame only if locked.
2122 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2124 * insetbib.C (getFiles): uncomment Path variable.
2126 2002-01-16 Juergen Vigna <jug@sad.it>
2128 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2131 2002-01-16 Allan Rae <rae@lyx.org>
2133 * insetinclude.C (docbook): someone forgot a ";"
2135 2002-01-16 José Matos <jamatos@fep.up.pt>
2137 * figinset.C (docbook): removed a old place holder "@".
2138 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2139 * insetinclude.C (linuxdoc): if include is verbatim, then export the
2140 ascii text version, clearly guarded inside a CDATA section.
2141 (docbook): in docbook 4, inlinegraphics is empty.
2142 * insettabular.C (linuxdoc): export the ascii version of the table
2143 inside a CDATA section.
2145 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2147 * insetparent.C (InsetParent):
2148 * insetgraphicsParams.C (Write):
2150 * insetgraphics.C (prepareFile):
2153 * insetexternal.C (executeCommand):
2154 (doSubstitution): use Buffer::filePath
2156 * insetbib.C (getFiles): add a #warning for Angus
2158 * insetgraphics.C: Add a remark about how filenames should be
2159 considered to be relative to buffer (but absolute is still allowed)
2160 (draw): do not try to get status if lyxrc.use_gui is false
2162 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2165 * insetcollapsable.[Ch]:
2166 * insettabular.[Ch] (searchForward, searchBackward): change the
2167 bool const & params to bool.
2169 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2170 to avoid the name clash with InsetCollapsable's methods of the same
2171 names but different functionality.
2173 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2175 * insettext.C (ascii): use lyx::count rather than countChar.
2177 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
2179 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2181 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2183 * insetgraphics.C (updateInset): do not try to render image if
2184 lyxrc.use_gui is false (bug #104)
2186 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2187 if file does not exist
2189 * figinset.C (browseFile): add shortcuts to directory buttons
2191 * insettext.C (updateLocal): update menubar and toolbar here too.
2193 2002-01-13 Allan Rae <rae@lyx.org>
2195 * insettabular.C (InsetTabular): Both constructors now initialise
2196 all class variables.
2198 2002-01-11 Juergen Vigna <jug@sad.it>
2200 * insettext.C (insetButtonPress): set the_locking_inset to 0.
2202 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2204 * insettabular.C (getStatus): add forgotten brace around multiline
2207 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2209 * insetfloat.C (validate): require "float" instead of "floats".
2211 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2213 * insettabular.C (getStatus): use FuncStatus
2215 2002-01-08 Juergen Vigna <jug@sad.it>
2217 * insettabular.C (insetButtonRelease): now this should work too
2220 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2221 if the width is a percentage.
2223 * inset.h: added isChar() function and implemented this for
2224 insetspecialchar insetquotes and insetlatexaccent.
2225 added forceDefaultParagraphs() and implemented it for insettabular.
2227 2002-01-07 Juergen Vigna <jug@sad.it>
2229 * insettext.C (getLyXText): Fixed this function. An insert into the
2230 map is only done if we REALLY have a new BufferView.
2232 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
2234 * insettext.C: fix bug illustrated by attachment #37 of bug #59
2236 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2238 * insetinclude.C: fix use of FileInfo
2240 2002-01-07 Juergen Vigna <jug@sad.it>
2242 * insettabular.C (draw): fixed clearing of cell around inset.
2244 2002-01-05 Juergen Vigna <jug@sad.it>
2246 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2247 variables are updated.
2249 * insettabular.C (resetPos): set always the inset_y as it may be
2250 needed in another function.
2251 (searchBackward): don't draw while searching.
2253 2002-01-04 Juergen Vigna <jug@sad.it>
2255 * insettext.C (lockInsetInInset): forgot to set a cursor.
2257 2002-01-02 Juergen Vigna <jug@sad.it>
2259 * insettext.C (insertInset): make the correct undo informations on
2260 inserting new insets.
2262 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
2264 * insettabular.C: correct single-cell select vertically
2266 2001-12-27 Juergen Vigna <jug@sad.it>
2268 * insettabular.C (ascii): export as tab-separated-values if the
2269 function was not called from export (f.ex.: clipboard).
2271 * insetcollapsable.h: added default support for ascii, linuxdoc and
2272 docbook export (the insettext is exported by default!)
2274 * insettabular.C (copySelection): suff the clipboard with the tabular
2275 data in a tab separated format, seems more naturals then with all the
2278 2001-12-24 Juergen Vigna <jug@sad.it>
2280 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2281 to check for REAL mouseMotion.
2283 2001-12-20 Juergen Vigna <jug@sad.it>
2285 * inset.C (cursor): return the owners cursor if available instead of
2286 always only the bv->text->cursor.
2288 * insettabular.C (checkLongtableSpecial): works now.
2290 2001-12-19 Juergen Vigna <jug@sad.it>
2292 * insettabular.C (tabularFeatures): fix the row setting of ltt as
2293 this has to be always row + 1 as 0 means not selected!
2294 (checkLongtableSpecial): added
2295 (tabularFeatures): better longtable options support
2297 * insettext.C (resizeLyXText): reinit the text always also on a
2300 2001-12-18 Juergen Vigna <jug@sad.it>
2302 * insettext.C (updateInsetInInset): look if we have to autocollapse
2303 paragraps and return if the update is requested for ourself.
2305 * insetert.C (status): update the insettext not myself as that is what
2308 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2309 function only return if the update was requested with myself.
2311 * insettext.C (insetButtonPress): fixed stupid bug.
2312 (various functions): pay attention that lt is cleared BEFORE calling
2313 updateLocal() and try to use it in the right manner (don't use it
2314 if it's not really neccessary!)
2315 (collapseParagraphs): insert a blank between collapsing paragraphs
2316 if neccessary (not already there!).
2318 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2320 * insettabular.C: move includes around a bit, add a couple of
2323 * insettext.[Ch]: move includes around a bit, other ws changes and
2326 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2328 * insettext.C (insetButtonRelease): fix compile problem
2330 2001-12-17 Juergen Vigna <jug@sad.it>
2332 * insettext.C (insetButtonPress): set the selection cursor!
2333 (insetButtonPress): clear the selection (and set with that the
2334 selection.cursor) if we only hit an inset!
2336 * insetert.C (read): removed piece of compatibility code only needed
2339 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2342 * insetcollapsable.C (insetButtonRelease): changed so that it can
2343 open eventual existing popup dialogs on mousebutton==3.
2345 * insetfloat.C (insetButtonRelease): removed not needed anymore!
2347 * insetminipage.C (insetButtonRelease): removed not needed anymore!
2349 * inset.C (insetButtonRelease): return a bool for telling the outer
2350 world that we opened a dialog.
2352 2001-12-07 Juergen Vigna <jug@sad.it>
2354 * insettext.C (paragraph): remove the deleteing of paragraphs as
2355 it was a WRONG move!
2357 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2360 * insettabular.C: use new setSelection(). Allow
2361 selection of single cells.
2363 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2365 * insetquotes.C (latex): fix to use the local language setting at
2366 the point where the inset is inserted (different macros for
2367 different french packages)
2369 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2371 * inset.h: add par_owner_ member variable and parOwner
2374 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2376 * insettabular.C (everywhere): adapt because widths are now real
2377 widths and not strings
2379 * insettext.C (draw): re-introduce the calls to width(), ascent()
2380 and descent() to initialize the caching variables.
2382 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2384 * insettext.C (draw):
2385 (drawFrame): use insetWidth instead of last_width
2387 * insettext.h: remove variable last_width (insetWidth is exactly
2388 the same) and last_height (computed but never used!)
2390 2001-12-10 Allan Rae <rae@lyx.org>
2392 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2394 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2396 * insettext.C (insetAllowed): add comment
2398 2001-12-05 Juergen Vigna <jug@sad.it>
2400 * insettext.C (insetAllowed): fixed for the case that we directly
2401 ask the insettext from its LyXText.
2402 (paragraph): fixed the crash when assigning the par->next() from
2403 the EmptyParagraphMechanism!
2405 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2409 * insettext.C: change "while(" to "while ("
2411 2001-12-04 Juergen Vigna <jug@sad.it>
2413 * insetert.C (edit): handle Inlined status.
2415 * insettext.C (insertInset): trying John's fix for the trailing cursor
2417 * insetert.C (insetButtonPress): added to handle inlined status
2418 (insetMotionNotify): ditto.
2420 * insettext.C (clearInset): changed Painter & in BufferView * param,
2421 to be able to call ascent,descent methods.
2423 2001-12-03 Juergen Vigna <jug@sad.it>
2425 * insettext.C (updateInsetInInset): use lt variable to forbid
2426 changes of LyXText in an update call.
2427 (updateInsetInInset): fixed updating of non locked insets!
2429 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2431 * insettabular.C: capture some more functions to prevent
2432 selection drawing problems. Bug #451274
2434 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
2437 * insetgraphicsParams.C: fix inverted sense of float_equal
2439 2001-11-30 Juergen Vigna <jug@sad.it>
2441 * insettabular.C (InsetTabular): use the save_id flag to create also
2442 the tabular with the same id's.
2444 * insettext.C (setParagraphData): added a same_id function for undo
2445 to set the same paragraph id's as of the paragraph we are setting.
2447 2001-11-30 José Matos <jamatos@fep.up.pt>
2450 * insettoc.[Ch]: DocBook -> docbook.
2452 2001-11-29 André Pönitz <poenitz@gmx.net>
2455 * insettext.C: further reduction of header dependencies by using
2456 lyx::layout_type and lyx::textclass_type from support/types.h
2458 2001-11-29 Juergen Vigna <jug@sad.it>
2460 * insettext.C: inserted a reinitLyXText function everywhere I delete
2461 the paragraphs! This should fixe the crashes we had.
2462 Also use the new function firstRow() instead of getRowNearY(dummy_y)
2463 (paragraph): set the InsetOwner() of the new paragraphs!
2465 2001-11-28 André Pönitz <poenitz@gmx.net>
2467 * insetnote.C: add pos initialization that I removed without
2470 2001-11-28 Juergen Vigna <jug@sad.it>
2472 * insettabular.C (resetPos): hack to not crash with infinite paints.
2474 * insettabular.h: insert missing function allowSpellcheck()!
2476 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2478 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2481 * insetfloatlist.C: derive from InsetCommand so gui can use it
2484 2001-11-26 André Pönitz <poenitz@gmx.net>
2488 * insetnote.C: reduce header dependencies, introduce type for
2491 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
2493 * various: update for Alert.h
2495 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
2497 * inset.h: fix comment
2499 * insettext.C: use par->isInset()
2501 2001-11-22 Allan Rae <rae@lyx.org>
2503 * insetcollapsable.h:
2504 * inset.h: Changes to checkInsertChar() behaviour.
2505 Now return value indicates whether chars can be inserted.
2507 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
2509 * various: updated to use the new LaTeXFeatures
2511 2001-11-14 José Matos <jamatos@fep.up.pt>
2513 * insetspecialchar.C (linuxdoc):
2514 (docbook): don't give a name to a unused variable.
2516 * insettext.C (docbook): removed unused variable.
2518 2001-11-13 Herbert Voss <voss@perce.de>
2520 * insetgraphic.C: fix scale bug
2522 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2524 * inset.h (isSpace):
2525 (isLetter): new virtual methods.
2527 * insetspecialchar.C (isSpace):
2528 (isLetter): implement here.
2530 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
2532 * inset.h: new inline helpers
2534 * insettext.C: use new helpers
2536 2001-11-07 José Matos <jamatos@fep.up.pt>
2538 * insettext.C (docbook): full support for paragraphs inside insettext.
2540 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
2542 * insetindex.C: added header file for std::ostream.
2544 2001-11-03 José Matos <jamatos@fep.up.pt>
2546 * insetindex.C: added using std::ostream that I forgot yesterday.
2548 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
2550 * insetindex.h (docbook):
2551 * insetindex.C (docbook): added support for docbook export.
2553 2001-11-02 José Matos <jamatos@fep.up.pt>
2555 * insetcaption.C(docbook): added support for docbook export.
2557 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
2559 * insetexternal.C (updateExternal): Do not run update command if
2560 result file exists and is up to date.
2562 * ExternalTemplate.C (readFormat): Support the updateresult token.
2564 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
2566 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
2567 external_templates) to use the buffer->fileName() but only if
2568 previewing. Generating a TeX file should make FPath return
2571 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
2574 * insetert.C: fix some problems
2576 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
2578 * insetexternal.C (doSubstitution): Added $$FPath token
2579 to list of usable substitutions in external inset templates.
2581 2001-10-24 Juergen Vigna <jug@sad.it>
2583 * insettabular.C: use new ltType struct for setting longtable
2584 header and footers also new UNSET enums.
2586 2001-10-24 José Matos <jamatos@fep.up.pt>
2588 * insettabular.C (linuxdoc): Now exports the ascii's table version.
2589 (docbook): If the table is not inside a float then wrap it inside
2590 <informaltable>...</informaltable>.
2592 2001-10-23 José Matos <jamatos@fep.up.pt>
2594 * insetref.C (docbook): removed / terminator to conform SGML.
2596 * insetspecialchar.C (linuxdoc):
2597 (docbook): Added support for special chars, more than ascii export.
2599 2001-10-22 Juergen Vigna <jug@sad.it>
2601 * insettext.C (checkInsertChar): added for REALLY checking the
2602 font of the inserted char in the right inset!
2604 2001-10-19 Juergen Vigna <jug@sad.it>
2606 * inset.h: added method allowSpellcheck() so that insets who do
2607 not have anything to spellcheck can tell and so they are over-jumped.
2608 Implemented for InsetText and co.
2610 2001-10-18 Juergen Vigna <jug@sad.it>
2612 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2614 2001-10-15 José Matos <jamatos@fep.up.pt>
2616 * insetert.C: allow export for docbook and linuxdoc
2618 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2620 * insetquotes.C (dispString): handles latin3 and latin4 quotes
2622 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2624 * insetquotes.C (dispString): fix handling of latin9 quotes
2626 2001-10-03 Juergen Vigna <jug@sad.it>
2630 * insetcollapsable.C: change updateInset calls to not tell BV that
2631 we have changed status.
2633 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2635 * insettabular.C (deletable): make const
2637 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
2639 * insetert.C (latex): Fix the returned value
2641 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
2643 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
2644 Returns string(), so nothing in an ERT inset is spellchecked.
2646 * insetgraphics.C (draw): print the filename if not displaying the
2648 (width): make sure that the width and draw methods are consistent.
2649 (updateInset): don't even load the image into cache if not displaying
2652 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
2654 * various files (selectNextWord): renamed as
2655 selectNextWordToSpellcheck.
2657 * insetgraphics.C (draw): remove the previous change. Right place
2658 is in imageLoaderXPM.C.
2659 (draw): don't display the image if params.display == NONE.
2661 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
2663 * figinset.C (runqueue):
2664 * insetgraphics.C (draw): set background colour of inset from
2665 background to the user-configurable graphicsbg.
2667 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2669 * insetquotes.C (InsetQuotes): when trying to decide the side of
2670 the quote, choose `left' only after a space or '('
2672 2001-09-04 José Matos <jamatos@fep.up.pt>
2677 * insetcollapsable.h
2695 * insetlatexaccent.C
2696 * insetlatexaccent.h
2701 * insetspecialchar.C
2702 * insetspecialchar.h
2706 * insettext.C (docbook): rename docBook method to docbook.
2708 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
2710 * inset.h (getFirstParagraph): New virtual method.
2712 2001-08-20 Herbert Voss <voss@perce.de>
2713 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
2714 in the the bibtex-database-gui for inserting a line
2717 If no style is given than there is no tex-output.
2719 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
2721 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
2725 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
2727 * insetert.C (latex): Fix output for multiple paragraphs.
2728 (write): New code for writing paragraph data.
2729 (read): Set font after reading the inset.
2730 (localDispatch): Call set_latex_font() for more cases.
2732 * insetnote.h: Add empty validate method.
2735 * insetnote.C (InsetNote): Set language to the language of the
2738 2001-08-16 Juergen Vigna <jug@sad.it>
2740 * insettext.C: implemented the new FINISHED states.
2742 * insettabular.C: ditto
2744 * inset.h: added more FINISHED states for cursor right,up,down
2746 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
2748 * insetfloatlist.C: use "FloatName List"
2750 2001-08-14 Juergen Vigna <jug@sad.it>
2752 * insetert.C (edit): forgot to set status_ in edit calls!
2754 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
2756 * insettext.C: Compilation fix
2758 2001-08-13 Juergen Vigna <jug@sad.it>
2760 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
2762 * insetcollapsable.C (edit): don't recollapse an already open inset.
2764 * insettext.C: fixed problem when reinitializing LyXText by not doing
2765 it while lt is in use and post this to the next possible time in
2767 (searchForward): fixed not unlocking of inset if nothing found.
2768 (edit): set cursor behind right (was set -1 pos).
2770 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
2772 * insettabular.C (tabularFeatures): fixed fix where deleting the
2773 last row didn't get the right actcell!
2775 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
2777 * insettext.C (localDispatch): Change language only when the inset
2780 2001-08-10 Juergen Vigna <jug@sad.it>
2782 * insettabular.C (selectNextWordInt): use the front using edit call.
2784 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
2785 the parameter overwrite class variable inset.
2787 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
2789 * insettext.C (saveLyXTextState): check for invalid cursor-par.
2790 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
2792 * insettabular.C (calculate_dimensions_of_cells): let's try to call
2793 update only for fixed with cells.
2794 (resetPos): try to fix the lockup on spellchecking or s&r.
2796 * insettext.C (update): comment this out as it seems first wrong
2797 and second not needed anymore!
2798 (some functions): call reinitLyXText() only in update() in all other
2799 positions set only need_update = INIT.
2801 2001-08-08 Juergen Vigna <jug@sad.it>
2803 * insettabular.C (setPos): fixed wrong actrow < rows() check.
2805 * insettext.C (insetUnlock): remove double-space on inset unlock.
2807 * insetcollapsable.C (draw): fix returned x when label > inset-width.
2809 * insettabular.C (update): fixed cursor positon after an insert.
2810 (insetAllowed): do not allow to insert insets when not inside the
2812 (draw): clear below an inset too as it could have changed height.
2814 * inset.C (getMaxWidth): fixed width for inset in inset.
2816 * insettext.C (update): small fix.
2818 * insettabular.C (tabularFeatures): added selection support to
2819 DELETE_ROW/DELETE_COLUMN.
2821 2001-08-07 Juergen Vigna <jug@sad.it>
2823 * inset.C (getMaxWidth): recoded and all it's implementations!
2825 * insettext.C (init,setParagraph+constructors): cleanups
2826 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
2827 are new and I want do a save/restore of the cursor position which is
2828 not possible anymore.
2830 * insetcollapsable.C (searchBackward): recollapse inset if not found.
2831 (searchBackward): ditto
2832 (selectNextWord): ditto
2834 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
2836 * insetlatexaccent.C (checkContents): Add some debug messages
2838 2001-08-07 Juergen Vigna <jug@sad.it>
2840 * insetert.C (read): don't use InsetCollapsable::read as we don't
2841 write the collapsed status anymore only the status.
2844 2001-08-06 Juergen Vigna <jug@sad.it>
2846 * insetert.C (set_latex_font): use LyXText's setFont directly.
2848 * insettext.C (drawFrame): fixed one time more the right position
2849 and size of the frame!
2851 * insetert.C (~InsetERT): hide the dialog.
2852 (showInsetDialog): added implementation
2855 (status): new function for the status of the ERT inset (3-state).
2856 (write): output also the status of the inset for readback!
2857 (read): readback the status if available otherwise use collapsed_.
2859 * insettext.C (edit): small fix of setting the position, which could
2862 * insetert.C (width): implement this function for inlined viewing.
2863 Added minimum width of 10 pixels!
2865 * insetminipage.C (InsetMinipage): just change the colors a bit so
2866 that border/background is a bit more visible. We will remove this
2869 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
2870 function for getting the important widths for drawing in various
2871 functions and in LyXText.
2872 (draw): fixed up a bit (frame drawing/clearing)
2874 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2876 * inset.C (convertFont): delete method. not used.
2878 2001-08-03 Juergen Vigna <jug@sad.it>
2880 * insettext.C (setFont): don't call for a draw update if we're just
2881 changing the cursor font!
2883 2001-08-02 Juergen Vigna <jug@sad.it>
2885 * insettext.C (draw): clear the background with the right color if
2886 needed. Update myself if x&max-width changed and return without doing
2887 anything. Let the update code handle the right stuff.
2889 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
2890 inside another inset.
2892 2001-08-01 Juergen Vigna <jug@sad.it>
2894 * insetcollapsable.C (update): added an in_update bool so we avoid
2897 * insettabular.C (update): added an in_update bool so we avoid
2900 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
2902 (update): added an in_update bool so we avoid reentering.
2904 * insettabular.C (localDispatch): clear col/row selection when doing
2905 something else inside an inset.
2907 * insettext.C (getLyXText): fixed bug when requesting a recursive
2910 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
2912 * insetcite.C (latex): Paranoia check. Make sure that there is no
2913 whitespace between the citation keys.
2915 2001-07-31 Juergen Vigna <jug@sad.it>
2917 * inset.h (nodraw): make the set function also const so that this
2918 can be called from inside other const functions.
2920 * insetcollapsable.h: removed inline variable and moved it over
2921 to the only user InsetERT.
2923 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
2924 inset opening immediately therein lying insets dialogs!
2926 * insetert.C (localDispatch): set the font also if we don't have any
2927 chars in this paragraph, otherwise if we delete all of em and start
2928 writing we have the wrong font.
2930 (draw): implemented for inline support
2931 (insetButtonRelease): ditto.
2933 2001-07-30 Juergen Vigna <jug@sad.it>
2935 * insettext.C (reinitLyXText): new function to reinit the insets
2936 text after lot's of paragraph changes. Use this instead of the
2937 cache.clear() which is VERY dangerous.
2939 * insetfloat.C (insetButtonRelease): we should only show the dialog
2940 if we press on the label otherwise we have problems to open mouse
2941 button 3 dialogs inside this float (f.ex. of a tabular!)
2943 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2945 * insetert.C: change back to "ERT"
2947 * insetfloat.C: handliign of RMB on label added.
2949 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2951 * insetgraphicsParams.C: #include LOstream.h here.
2953 * insetfoot.h: remove InsetFoot:: qualifier.
2955 2001-07-29 Baruch Even <baruch@lyx.org>
2957 * ChangeLog: Hiding time travel evidence.
2959 * insetgraphicsParams.h:
2960 * insetgraphicsParams.C:
2961 * insetgraphics.C: Added horizontal scale option, it actually scales both
2962 directions since it keeps image proportions.
2964 * insetgraphics.C: Fixed EPS detection to be non-hacky.
2966 2001-07-29 Baruch Even <baruch@lyx.org>
2968 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
2969 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
2971 HACKY! Will need to add an EPS detection routine like old InsetFig does!
2973 2001-07-29 Baruch Even <baruch@lyx.org>
2975 * insetgraphics.C: Added EPSI to be an alias of EPS.
2977 2001-07-29 Baruch Even <baruch@lyx.org>
2979 * insetgraphics.C: Change GRAPHICS to Graphics.
2980 Changed image conversion rules (documented at the beginning of file).
2982 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
2984 * insetert.C (get_new_label): int -> Paragraph::size_type to get
2987 * insetgraphics.C: added a using std::endl directive.
2989 * insetcommand.h (getScreenLabel): removed pure virtual function,
2990 as it duplicates that in InsetButton.
2992 * insetbib.[Ch] (getScreenLabel):
2993 * insetbutton.[Ch] (getScreenLabel):
2994 * insetcite.[Ch] (getScreenLabel):
2995 * insetert.[Ch] (getScreenLabel):
2996 * insetexternal.[Ch] (getScreenLabel):
2997 * insetfloatlist.[Ch] (getScreenLabel):
2998 * insetinclude.[Ch] (getScreenLabel):
2999 * insetindex.[Ch] (getScreenLabel):
3000 * insetlabel.h (getScreenLabel):
3001 * insetparent.[Ch] (getScreenLabel):
3002 * insetref.[Ch] (getScreenLabel):
3003 * insettoc.[Ch] (getScreenLabel):
3004 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3006 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3008 (validate): remove check on "cite" when using natbib.
3010 2001-07-26 Baruch Even <baruch@lyx.org>
3012 * insetgraphics.C (draw): changed casting to be in one place rather than
3013 all over the function.
3016 * insetgraphics.C (read): Added compatibility reads of InsetFig.
3018 * insetgraphicsParams.h:
3019 * insetgraphicsParams.C:
3020 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3022 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3024 * insetfoot.C (validate): Added method to ensure that the
3025 right bit of LaTeX is emitted.
3027 * insetfoot.h: Added validate method to set the correct
3028 LaTeXFeatures bit for the special footnote code.
3030 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3032 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3035 2001-07-27 Juergen Vigna <jug@sad.it>
3037 * inset.h: remove not used font variable in parameter.
3038 removed checkInsertChar in UpdatableInset as it was equal to
3039 the one in Inset and so not needed.
3041 * insetert.C (checkInsertChar): implementation of function
3044 * inset.h: added new function checkInsertChar.
3046 * various files: added c-tor and clone() function.
3048 * insetcollapsable.h: removed clone function here as this should
3049 be only realized in REAL insets and added it to all collapsable
3050 insets! (with the copy-constructor).
3052 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3054 * insetminipage.C (read): handle missing parameters more gracefully
3056 * insetcollapsable.C (read): handel missing collapsed more gracefully
3058 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3060 * insetfloat.C (read): handle missing parameters.
3062 * insettext.C (read): handle old latex end_inset
3064 * insetert.C (setButtonLabel): new method
3065 (init): use it, to set the dynamic label correctly
3068 * Makefile.am (EXTRA_DIST): add files that is not part or the
3071 * insetcollapsable.h: remove autocollapsable (no users), remove
3072 draw_label, change_label_with_text and companion code. Remove args
3074 * insetert.[Ch]: move here instead (only user)
3076 * inset.h: rename private variable name to name_, make
3077 selectNextWord return a const string. make getInsetName return a
3078 string const &. Remove bool from open, add close.
3080 * Makefile.am: don't compile insetlist, insetsection
3083 2001-07-24 Juergen Vigna <jug@sad.it>
3085 * insetert.C (InsetERT): put init after the paragraph initialization,
3086 as otherwise we don't set the draw_label right.
3088 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3089 insets with the mouse without having strange selections.
3090 (edit): if the inset was collapsed and we open it here then put the
3091 cursor always at the beginning of the inset.
3092 (get_new_label): 15 instead of 10 max chars in the label.
3094 * insetert.C (localDispatch): added and handle various stuff we
3095 need to handle here (font setting on paragraph break, not permitted
3096 layout setting, etc.).
3098 * inset.h: added default copy-consturctor and implemented this in
3099 various insets with the change to use this in the clone function!
3101 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3103 * insetminipage.C (InsetMinipage): set background color to red :)
3105 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3108 draw frame mode is LOCKED.
3110 * insetcollapsable.C (edit):
3111 (insetButtonRelease): set update status to full when
3114 * insettext.C (clearInset):
3115 * insettabular.C (draw):
3116 * insetlatexaccent.C (draw): honor background color.
3118 * inset.h: new member background_color_, initialized to
3121 * inset.C (backgroundColor): new method.
3122 (setBackgroundColor): new method.
3124 * insetert.C (init): new method, called by the ctors.
3125 (InsetERT): when inserting contents, make sure the font is
3128 * insetnote.C (InsetNote): when inserting content, remove trailing
3130 (init): set background color to LColor::note
3132 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3134 * insetcollapsable.C: adjust
3136 * insetbutton.C: adjust
3138 2001-07-23 Juergen Vigna <jug@sad.it>
3140 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3141 parameter on the _collapsed function (was not needed) and call
3142 always width_collapsed().
3144 * insetert.C (InsetERT): use setLabel with "true" flag.
3146 * insetcollapsable.C: modified various functions to set the draw_label
3147 string right in any condition.
3148 (setLabel): added a bool parameter to set change_label_with_text.
3150 * insetcollapsable.h: added draw_label string which is set to the
3151 actual drawn label-string, while label is the original static label
3152 of this collapsable inset. Added bool change_label_with_text to set
3153 if we want that the label changes to the start of the InsetText's
3154 text when collabpsed. You can set this flag with the setLabel funciton.
3155 Added bool inlined for inlined collapsable insets, but not handled
3158 * insetcollapsable.C (get_new_label): added should get a new label
3159 from the InsetText beginning (for now 10 chars).
3161 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3163 * insetquotes.C (latex): fix the handling of french double quotes
3164 when not using the french pachage.
3166 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3168 * insetcollapsable.h: make WidthCollapsed mutable.
3170 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3171 InsetPrintIndex returns INDEX_PRINT_CODE.
3173 * inset.h: add INDEX_PRINT_CODE
3175 * insetcollapsable.C (draw): init widthCollapsed if necessary
3178 * insetquotes.C (width): use the local language, not the document
3181 (dispString): add additional spacing for all french languages,
3183 (validate): make it work when there is no default language
3185 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3187 * insetnote.C (init): new method, called by the constructors
3188 (InsetNote): new constructor with contents passed as a string
3190 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3192 * insetfootlike.C (insetAllowed): disallow float in footlike.
3194 * insetert.C (InsetERT): add collapsed argument to the constrctor
3197 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3199 * insetindex.h: shut off warning
3201 2001-07-20 Juergen Vigna <jug@sad.it>
3203 * insetcollapsable.C (update): recoded hopefully works now!
3205 2001-07-19 Juergen Vigna <jug@sad.it>
3207 * most files: implemented the below new introduced function.
3209 * inset.h: added new edit(BufferView *, bool front) method to be able
3210 to enter an inset from the front/back without knowing x/y positions
3211 and baselines inside the inset. So I just can tell the inset activate
3212 me and set the cursor on the front/back of yourself.
3214 2001-07-18 Juergen Vigna <jug@sad.it>
3216 * insetcollapsable.C (edit): fixed hopefully the y parameter which
3217 is given to the InsetText.
3218 (insetButtonPress): ditto
3219 (insetButtonRelease): ditto
3220 (insetMotionNotify): ditto
3222 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3224 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3225 LIGATURE_BREAK, since the name is so stupid.
3227 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
3229 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3230 the default InsetCollapsable methods. I.e., it can insert anything.
3231 (write) output the name of the inset, not some silly hack for
3232 compatability with the old InsetInfo.
3234 * insetinfo.[Ch]: removed.
3235 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3236 now collapsable, but functionality is otherwise identical to InsetInfo.
3238 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3240 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3242 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3245 * insetquotes.C: general cleanup
3246 (dispString): add spaces inside french double quotes.
3247 (latex): ditto. Moreover, treat first the case where the frenchb
3248 or french options have been given.
3250 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
3252 * insetcite.[Ch] (latex, validate): new methods, required for natbib
3255 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
3257 * figinset.C (RegisterFigure): Print debug message only when
3258 current_view is available.
3260 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3262 * many files: update to match the change below
3264 * inset.h (insetAllowed): renamed from insertInsetAllowed;
3265 implement the version which takes an inset here.
3267 * insetcollapsable.[Ch]: implement open and isOpen
3269 * inset.h: remove insertInsetAllowed from Inset
3270 (open): new method, to open or close an inset
3271 (isOpen): returns the status of an inset
3272 (isCollapsable, colapse): removed
3274 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
3276 * insetquotes.C (dispString): display french guillemets when using
3279 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3281 * insetcollapsable.h: remove bogus return statements
3283 2001-07-18 Juergen Vigna <jug@sad.it>
3285 * insettabular.C (selectNextWord): fixed spellchecking for the
3286 first cell of a tabular (wasn't entered!)
3287 (getLyXText): changed to enter automatically insettext and return
3288 it's LyXText if we're locked.
3290 2001-07-17 Juergen Vigna <jug@sad.it>
3292 * various files: implemented the below functions.
3294 * inset.h: added functions
3295 - virtual string selectNextWord(BufferView *, float & value) const;
3296 - virtual void selectSelectedWord(BufferView *) { return; }
3297 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3298 needed for spellchecking correctly!
3300 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
3302 * insetert.C (latex): write out all paragraphs.
3304 2001-07-17 Baruch Even <baruch@lyx.org>
3306 * insetgraphics.C (draw): Removed unneeded casts.
3308 2001-07-16 Juergen Vigna <jug@sad.it>
3310 * insettext.C (update): fixed small oversight (reset lt to 0).
3312 2001-07-14 Baruch Even <baruch@lyx.org>
3315 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3317 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
3319 Consistent use of Lsstream.h:
3320 * figinset.C: removed using std::ostringstream directive.
3322 * insetgraphics.C (createLatexOptions):
3323 * insetinclude.C (unique_id):
3324 std::ostringstream -> ostringstream.
3325 * insettext.C (localDispatch): std::istringstream -> istringstream.
3327 2001-07-13 Juergen Vigna <jug@sad.it>
3329 * insetfloat.C (insertInsetAllowed): added missing const_cast.
3331 * insetcollapsable.C (getLockingInset): ditto.
3333 2001-07-12 Juergen Vigna <jug@sad.it>
3335 * insetcollapsable.h: added implementation of new function for
3338 * various files: added implementation of new insertInsetAllowed-func
3339 and redone the function a bit more.
3341 * inset.h: added isCollapsable(), bool collapsed(),
3342 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3344 * insetfloat.C (insertInsetAllowed): make a bit more checks.
3346 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3347 LyXText which is marked for removal while we're using it!
3349 * insettext.h: added private LyXText * lt to use it to assure we are
3350 not deleting our LyXText while we're using it!
3352 2001-07-11 Juergen Vigna <jug@sad.it>
3354 * insettext.C (insertInset): check if we are before the inset after
3355 inserting it! This check IS needed. Remove the Undo-Call as it is
3356 called in LyXText::insertInset!
3358 * insettext.h: added struct InnerCache.
3360 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3361 that we ONLY delete the LyXText in the getLyXText() routine. So we
3362 are sure we don't delete LyXText while someone is working with it!
3364 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3366 * insetexternal.C: (*it). -> it->
3367 * insettext.C: ditto
3369 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3371 * insetcollapsable.C (edit): always open collapsed insets (even if
3372 they are not autocollapsable)
3374 * insetcommand.C (operator=): simplify.
3376 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3378 * insetert.C (latex): handle META_NEWLINE
3380 2001-07-09 Juergen Vigna <jug@sad.it>
3382 * insetert.h: a normal InsetText can insert insets, but we won't.
3384 * inset.h: return default "false" on insertInsetAllowed and implement
3385 this function where a returnvalue != "false" is needed.
3387 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3389 * insetert.C (InsetERT): new contructor
3391 2001-07-06 Juergen Vigna <jug@sad.it>
3393 * a lot of files: added implementation of the below new functions
3394 and the change to clone(). Also the call of the new undo-functions
3397 * inset.h: added an inset_id, added functions getParFromID,
3398 getInsetFromID, firstParagraph, cursor and id functions, added
3399 bool same_ids to clone function.
3401 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3403 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3404 of BufferView * and shared_ptr<LyXText>
3406 2001-07-05 Juergen Vigna <jug@sad.it>
3408 * insettext.C (clear): deleted also the cache not only LyXText.
3409 (setParagraphData): ditto.
3411 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3413 * insetfloat.C (latex): let the specific placement take presedence
3414 if set, otherwise choose document placement if set, otherwise just
3415 use float default placement.
3417 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3419 * insettext.C (localDispatch): call CutAndPaste::'s static method
3422 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3424 * insetbib.C: no meed to include forms.h here.
3426 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
3428 * insettext.C: added using std::make_pair directive.
3430 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3432 * insettext.C (getLyXText): avoid multiple lookups, and simplify
3434 (deleteLyXText): ditto
3435 (resizeLyXText): ditto
3437 2001-07-02 Juergen Vigna <jug@sad.it>
3439 * insettext.C (getLyXText): introduce a cache in getLyXText so that
3440 following calls are only returned the right pointer without the over
3441 head to search in the map.
3442 (various funcs): reset the cached_bview variable as this signs that
3443 the cache is not valid anymore.
3445 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3447 * insettabular.C (clone): do not copy the LyXTabular twice
3449 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3451 * insettext.h (TEXT): delete method
3453 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3455 * insetmarginal.C (latex):
3456 * insetfoot.C (latex): fix spacing of notes in LaTeX
3458 * insettext.C (localDispatch): use .c_str() on istringstream
3459 constructor argument.
3461 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
3466 * inseturl.C: fix method names in these to begin
3467 with small char too, so they inherit
3469 2001-06-28 Juergen Vigna <jug@sad.it>
3471 * insettext.C (setFont): fixed font settings using toggleFree()
3472 instead of setFont().
3474 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3476 * Change a lot of method names to begin with a small char.
3477 Changes to a lot of files because of this.
3479 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3481 * insetfloatlist.C (Write): std:: qualify ostream
3484 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
3488 * insetgraphics.C: send debug output to Debug::INFO instead of
3491 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
3494 * insettabular.C (getStatus): update to use func_status
3496 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
3498 * insetref.C (DocBook): added support for cross-references without
3501 2001-06-26 The LyX Project <jug@sad.it>
3506 * insetlabel.h: removed escape method and moved it to
3509 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3511 * insettabular.C (getMaxWidth): do the speedup in a different way,
3514 2001-06-24 The LyX Project <Asger>
3516 * insettabular.C (getMaxWidth): We cache a mapping from
3517 inset to cell in order to speed this method up.
3519 2001-06-24 The LyX Project <Asger>
3521 * insettext.C: Optimized InsetText::draw or something.
3523 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
3525 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
3527 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3529 * inset.h: name change from lyxinset.h
3531 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
3533 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
3535 2001-06-14 Juergen Vigna <jug@sad.it>
3537 * insettext.C (draw): removed warnings.
3539 2001-06-13 Juergen Vigna <jug@sad.it>
3541 * insettabular.C (nodraw): only go down the tree if we don't have
3542 that flag set otherwise it's obvious that we don't want to draw.
3543 (LocalDispatch): do also an update if we have an undispached result.
3545 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
3548 * insetgraphicsParams.C:
3549 * insettext.C: removed // -*- C++ -*- as first line.
3551 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3553 * lyxinset.h (resizeLyXText): shut off warning about unused
3556 2001-06-07 Juergen Vigna <jug@sad.it>
3558 * insettext.C (resizeLyXText): honor the new force flag.
3560 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
3562 * insettabular.C (deleteLyXText): new function
3564 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3572 * insetcollapsable.C:
3573 * insetcaption.C: LColor tidy
3575 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3577 * figinset.C: fix typo
3579 2001-06-01 Juergen Vigna <jug@sad.it>
3581 * insettabular.C (resetPos): small hack so that scroll is not set to
3582 0 when we are in the last column of a tabular. This is a problem we
3583 have because of constats 20 offset on both directions, so this can
3584 cause on the limit an endless loop.
3586 * insettext.C (SetFont): forgot that we can have locking insets ;)
3588 2001-05-31 Juergen Vigna <jug@sad.it>
3590 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
3592 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3594 * figinset.C: add using std:: directive for the C functions which
3597 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3599 * insetfloat.C (Write): write out wide info
3600 (Read): read the wide info
3601 (Latex): use the wide info when creating latex.
3603 * insettext.C: adjust
3605 * insetgraphics.[Ch] (statusMessage): change to return string
3609 * figinset.C (runqueue): add std::
3612 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3614 * insetcite.C (Ascii): add std:: qualifier
3616 2001-05-28 Juergen Vigna <jug@sad.it>
3618 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
3619 a endless-width inset (maxWidth < 0).
3620 (Edit): change language only if not equal.
3622 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
3624 * insettext.C (draw): fixed draw/clear of InsetText-Frame
3626 2001-05-16 Juergen Vigna <jug@sad.it>
3628 * insettext.C (selectAll): added
3629 (clearSelection): added
3631 * insettabular.C (SetFont): now we may set a font on a whole selection!
3632 (getSelection): added helper function.
3634 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3636 * insetcite.C (Ascii): Add method.
3638 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3641 * insetbib.C: fix path for OS/2 & Win32
3643 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3645 * insetfoot.C (Latex): don't use % after footnote.
3647 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3649 * insettext.C (Read): use clear
3650 (SetParagraphData): use LyXParagraph copy constructor instead of clone
3652 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3654 * insetfloatlist.h: add a bunch of std:: qualifiers.
3656 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3658 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
3659 FLOAT_LIST_CODE, renumber code list.
3661 * insettoc.C (getScreenLabel): remove support for float lists
3665 * insetfloatlist.[Ch]: new files
3667 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
3669 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
3671 * insettabular.C (LocalDispatch):
3672 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
3675 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3677 * insettext.C: remvoe !NEW_INSETS cruft
3679 * insettabular.C: remove !NEW_INSETS cruft
3681 * insetcollapsable.h: remove !NEW_INSETS cruft
3683 * insetbib.C: remove !NEW_INSETS cruft
3685 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3687 * insettoc.C: hack to make listof algorithm work
3689 2001-04-20 Juergen Vigna <jug@sad.it>
3691 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
3693 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3695 * insetquotes.C (Latex): improve the guard against
3696 unwanted !` and ?` ligatures. This should really be done in
3697 another place (to catch all this ligatures at low-level).
3699 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3701 * insettext.C (init): remvoe leftovers from cursor_visible change
3702 (draw): use c++ cast
3703 (LocalDispatch): dispatch LFUN_MESSAGE
3705 * insettabular.C (InsetTabular): remove leftovers from
3706 cursor_visible, and scoped_ptr changes
3707 (draw): use c++ cast
3709 * insetcollapsable.C (draw): use c++ cast
3711 * ExternalTemplate.h: inherit privaely from noncopyable
3712 * insetcommand.h: ditto
3713 * insetinclude.h: ditto
3715 2001-04-16 Allan Rae <rae@lyx.org>
3717 * insettoc.C (Ascii):
3718 * insettext.C (draw):
3719 * insettabular.C (setPos):
3720 * insetminipage.C (Read):
3721 * insetfloat.C (placement):
3722 * insetcaption.C (Ascii, DocBook):
3723 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
3724 an unrecognised preprocessor directive. So ensure they're wrapped.
3726 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
3729 * insetexternal.C: set view on Clone. Add _ to private members.
3731 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3733 * insettext.C (InsetText): fix new
3734 (InsetText): reindent some, simplify deletion of par list
3735 (clear): simplify deletion of par list, fix new
3736 (SetParagraphData): simplify deletion of par list
3738 * insettabular.[Ch] (getLabelList): implement new method
3740 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3742 * lyxinset.h: do not include gettext.h...
3750 * insetlatexaccent.C:
3754 * inseturl.C: ... and do it here instead
3756 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3758 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
3760 * insettext.[Ch] (getLabelList): add std:: on vector<string>
3762 * insetcollapsable.[Ch] (getLabelList): implement
3764 * insettext.[Ch] (getLabelList): implement
3766 * insettext.h: reindent
3768 * insettabular.h: make tabular a scoped_ptr
3770 * insettext.C (init): adjust for cursor_visible
3771 (ToggleInsetCursor): constify asc and desc, font, adjust for
3773 (ShowInsetCursor): constify asc and desc, font, adjust for
3775 (HideInsetCursor): adjust for cursor_visible
3777 * insettabular.C: reindent some
3778 (InsetTabular): adjust for scoped_ptr and cursor_visible
3779 (InsetTabular): ditto
3780 (~InsetTabular): delete delete
3781 (Clone): adjust for scoped_ptr
3782 (Read): constify old_format, adjust for scoped_ptr, move init of
3784 (draw): constify tx, localize loop vars.
3785 some other localization of variables, remove double initilizatons.
3787 * insetfoot.C: remove using std::ostream, add ostream where needed
3789 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3791 * lyxinset.h: some reindentaion, use initializer list for
3793 UpdatableInset: make cursor_visible a private var add
3794 public isCursorVisible(), add protected toggleCursorVisible() and
3795 proctected setCursorVisible(bool), make scroll call the Inset::scroll
3797 * insettoc.C: remvoe using decl
3798 (getScreenLabel): make cmdname donst
3801 (Ascii): don't use endl
3803 * insetfootlike.C: remove using decl at file scope and add std::
3805 * insetmarginal.C: ditto
3807 * insetfoot.C: some reformatting
3809 * insetfloat.C (InsetButtonRelease): adjust the hit area
3811 * insetert.C (SetFont): some reformatting
3813 * insetcollapsable.C: some reformatting and constification
3814 (Clone): comment out.
3815 * insetcollapsable.h: some reformatting
3816 (Clone): comment out.
3821 2001-03-30 Juergen Vigna <jug@sad.it>
3823 * insetcollapsable.h: changen *inset to be a InsetText inset.
3825 * some files: changed to reflect the above change.
3827 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
3829 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
3830 InsetExternal::Params.
3831 Added operator==() and operator!=() for the Params struct.
3833 2001-03-29 Juergen Vigna <jug@sad.it>
3835 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
3838 * insetminipage.C: removed widthp_ and all it's functions and changed
3839 to use new %-lengths of LyXLength.
3841 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3843 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
3845 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3847 * insetgraphicsParams.C (operator!=): new function, needed by the
3848 ControlGraphics class.
3850 2001-03-28 Juergen Vigna <jug@sad.it>
3852 * insettext.C (InsetButtonPress): only enter !inset if button == 2
3853 (checkAndActivateInset): don't use the values returned from
3854 call to bv->checkInsetHit.
3856 * insetminipage.C (Clone): set special minipage values.
3858 * insetcollapsable.C (draw): changed to draw the button in the
3859 upper left corner outside the textinset.
3860 (ascent): changed because of different drawing
3864 (InsetButtonPress): ditto
3865 (InsetButtonRelease): ditto
3866 (InsetMotionNotify): ditto
3868 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
3870 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
3874 2001-03-26 Juergen Vigna <jug@sad.it>
3876 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
3878 * insettext.C (ShowInsetDialog): implemented above function.
3880 * insettabular.C (ShowInsetDialog): ditto
3882 * insetminipage.C (ShowInsetDialog): ditto
3884 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3886 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
3887 InsetInclude::Params. Don't store a buffer * in Params. Store the
3888 master file name instead.
3890 2001-03-23 Juergen Vigna <jug@sad.it>
3892 * insetcollapsable.C (InsetMotionNotify):
3893 (InsetButtonRelease):
3894 (InsetButtonPress): fixed y-offset (minipages).
3896 * insettext.C (draw): force a FULL update if cleared == true.
3898 * insetcollapsable.C (draw): Lars forgotten entry for changing this
3899 routine to draw the minipages on its position-flag.
3900 (InsetInInsetY): give back the right y position, because of minipage
3903 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3906 * insetfloat.C (DocBook): docbook export code.
3908 2001-03-22 Juergen Vigna <jug@sad.it>
3910 * insetminipage.C (getMaxWidth): added function to set the drawing
3912 (Read): should work now!
3914 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
3915 if we create a new inset.
3917 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3919 * figinset.C (fl_set_preemptive_callback): moved definition outside
3922 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3924 * insetminipage.C (Read): prepare for reading of minipage arguments.
3926 2001-03-18 Baruch Even <baruch@lyx.org>
3928 * insetgraphics.C: Minor cleanups of the comments and code.
3930 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3932 * insetminipage.C (InsetMinipage): default to not collapsed
3934 2001-03-16 Juergen Vigna <jug@sad.it>
3936 * insetminipage.C (width): modified with to be a string
3937 (widthp): added widthp (for % width) support functions.
3938 (InsetButtonRelease): added to open the options dialog on button==3.
3939 (~InsetMinipage): added to hide the dialog.
3941 * insetminipage.h: added hideDialog signal
3943 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3945 * insetminipage.h: change the order or Position to match
3946 LyXParagraph::MINIPAGE_ALIGNMENT
3948 * several files: remvoe CXX_WORKING_NAMESPACES
3950 * ExternalTemplate.h: noncopyable is in namespace boost
3951 * insetinclude.h: ditto
3952 * insetcommand.h: ditto
3954 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3956 * insettext.C (Edit): #else# -> #else.
3957 * insettoc.C: added using directive.
3959 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3961 * insetminipage.h: add pos, inner_pos, width and height. + getters
3962 and setters for all of them.
3964 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3966 * insetinclude.C (Latex): Do not exit when the textclass of the
3967 included file differ from the textclass of the parent file.
3969 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
3971 * ExternalTemplate.C (read): the reading of external insets now checks
3972 for \end_inset and removes it form the input stream.
3974 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3976 * ExternalTemplate.h:
3977 * ExternalTemplate.C:
3979 * insetexternal.C: move form to GUII
3981 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3984 * insetinclude.C: add InsetIncludeParams, use
3985 composition rather than derivation of InsetCommand
3987 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3989 * insettoc.C (Ascii): use the Buffer typedefs
3991 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3993 * insettoc.C (Ascii): implement for dynamic number of lists
3995 * insetcaption.[Ch]: update from new_insets branch
3996 * insetfloat.[Ch]: ditto
3998 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4001 * figinset.C: use new File Dialog
4003 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4005 * insettext.C: changes becuase of ParagraphParameters.
4007 2001-02-28 Baruch Even <baruch@ev-en.org>
4009 * insetgraphics.C (updateInset): Changed due to the change in
4012 2001-02-26 Juergen Vigna <jug@sad.it>
4014 * insettext.C (SetFont): Set Undo only if we have selection (as it is
4015 handled in LyXText).
4017 2001-02-23 Juergen Vigna <jug@sad.it>
4019 * insettext.C (draw): some small repainting fixes.
4020 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4022 * inset.C (LocalDispatch): changed action to be a kb_action (as it
4023 should be) and not an int.
4025 * insettabular.C (LocalDispatch): ditto
4027 * insettext.C (LocalDispatch): ditto
4029 * insetcollapsable.C (LocalDispatch): ditto
4031 2001-02-22 Juergen Vigna <jug@sad.it>
4033 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4034 DISPATCH it and we don't have a locking_inset.
4036 2001-02-21 Baruch Even <baruch@ev-en.org>
4038 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4039 instead of GraphicsCacheItem *.
4041 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4043 * insetcollapsable.C (getLyXText): add const qualifier to second
4046 2001-02-22 Juergen Vigna <jug@sad.it>
4048 * insettext.C (getLyXText): honor the recursive parameter.
4049 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4051 * inset.C (getLyXText): added bool recursive parameter.
4053 * insettext.C (SetUpdateStatus): or the update codes.
4054 (draw): check need_update with &.
4055 (InsetButtonPress): set no_selection to not put a selection when
4056 entering an inset and it is redraws in another spot.
4058 * insettext.h: made need_update an int.
4060 2001-02-20 Baruch Even <baruch@ev-en.org>
4063 * insetgraphisc.C: Changed to use better semantics when loading images
4064 for inline view. Now it doesn't keep the pixmap itself but it's holder.
4066 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4070 * insetgraphics.C: change name of "hide" signal to "hideDialog",
4071 consistent with InsetTabular.
4073 2001-02-19 Juergen Vigna <jug@sad.it>
4075 * insettabular.C (LocalDispatch): implement PAGE up/down.
4077 * insettext.C (draw): clear all of it on need_update==INIT too!
4079 * insettabular.C (InsetUnlock): always clear the selection.
4081 * inset.C (scroll): normally we only want to scroll the inset until
4082 it is fully visible so if top_x + offset > 20 then just set scx to 0.
4084 2001-02-14 Juergen Vigna <jug@sad.it>
4086 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4087 (resetPos): fixed scroll behaviour.
4088 (LocalDispatch): do an update if moving cursor inside a table cell
4089 requests a scroll of the tabular.
4091 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4093 * insettext.C (textWidth): constify local var
4095 * insettabular.C: small cleanup.
4097 * insetfoot.C (Latex): constify local var
4099 * insetcollapsable.C: small cleanup.
4101 * figinset.C (runqueue): use compare instead of strcmp
4103 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4106 * insetinfo.C: remove cruft
4108 2001-02-14 Juergen Vigna <jug@sad.it>
4110 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4112 2001-02-13 Juergen Vigna <jug@sad.it>
4114 * insettext.C (InsertInset): don't move left (is this right?)
4116 * insettabular.C (LocalDispatch): use of the no_draw variable
4118 * insettabular.h: new no_draw variable to stop redraw
4120 * insettabular.C (TabularFeatures): fixed update for alignment change
4122 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4126 * insetbib.C: move dialogs to frontends/
4128 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4130 * insettext.C (LocalDispatch): Restore the language if the inset
4133 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4135 * insettext.C (moveRightIntern): Update the selection cursor.
4136 (moveLeftIntern): Ditto.
4138 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4140 * Makefile.am: remove BoundingBox.h
4142 * BoundingBox.h: removed
4144 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
4146 * insettext.C (LocalDispatch): Update selection cursor when moving
4147 cursor to the right.
4148 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4149 (moveLeftIntern): Ditto.
4151 2001-02-05 Baruch Even <baruch.even@writeme.com>
4153 * insetgraphics.C: Updated automatic image conversion, it now goes into
4154 temporary directory instead of with the image itself.
4156 2001-01-21 Baruch Even <baruch@ev-en.org>
4158 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4159 to EPS or PNG when needed (support bitmap graphics).
4161 2000-11-02 Baruch Even <baruch@ev-en.org>
4164 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4165 and removal of commented out code.
4167 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4169 * insetbib.C (callback): Update citations if the key has changed.
4171 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4173 * insetbib.C (InsetBibKey): Better computation of default key.
4174 (getScreenLabel) Show both the key and the label.
4175 (getBibLabel): New method.
4176 (callback): Force a redraw if the inset have been changed.
4178 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4180 * insetref.C (getType, getName): Move methods from
4181 src/frontends/xforms/FormRef.C.
4183 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
4185 * insettabular.C: Various improvements (use only one dummy position).
4187 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
4189 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4190 par->bibkey->width. This fixes the crashes when running without
4191 gui or when having included documents.
4193 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
4195 * insetcommand.C (getAsString, setFromString): Cleanup.
4197 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
4199 * insetref.C: Add the array InsetRef::types that contains
4200 information about all supported reference types.
4202 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4204 * lyxinset.h: remove trailing comma in enum.
4206 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
4208 * insettext.C: kill LyXBell.