lyx_mirror/src/insets/ChangeLog

5328 lines
149 KiB
Plaintext
Raw Normal View History

2003-08-07 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.[Ch]: move non-crucial functions out-of-line
* insettext.C: rely on LyXText's LFUN handlers in some more cases,
remove duplicated code.
2003-08-05 Andr<64> P<>nitz <poenitz@gmx.net>
* insetbibitem.C:
* insetcollapsable.[Ch]:
* insetcommand.C:
* insetert.C:
* insetexternal.C:
* insetfloat.C:
* insetgraphics.C:
* insetinclude.C:
* insetlabel.C:
* insetminipage.C:
* insetnote.C:
* insettabular.[Ch]:
* insettext.[Ch]:
* insetwrap.C:
* updatableinset.[Ch]: rip out "deep update"
* insettext.C (localDispatch): merge cases with default branch
* insettext.C (frame_x,y,w,h): replace member with automatic variables
* insettabular.[Ch] (updateLocal): simplify logic
2003-08-04 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
is 'FULL' all the time.
2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetert.C (get_new_label): only add ... to the (closed) label
when the string has been shortened
2003-08-02 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* Always use std::endl with lyxerr
2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
* insetnote.C: update \author list
2003-07-31 Andr<64> P<>nitz <poenitz@gmx.net>
* insetcollapsable.h:
* insettabular.[Ch]:
* insettext.[Ch]: remove toggleSelection
2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
(with help from Juergen Spitzmueller)
* insetnote.C: add add i18n support. Use Prefs-definable
colours for Comment and Greyedout.
2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
* insetcollapsable.[Ch]:
* insetnote.C:
* insetert.C: factor out the detection of clicking on the inset
button as 'hitButton'. John Levon contributed.
2003-07-30 Andr<64> P<>nitz <poenitz@gmx.net>
* insetcollapsable.C:
* insetfootlike.C:
* insettabular.C: parantheses, localize vars etc.
2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
* insetnote.C: Implement a newenvironment in preamble for
greyedout. Patch provided by J<>rgen Spitzm<7A>ller.
2003-07-29 Angus Leeming <leeming@lyx.org>
* insetcommand.C (localDispatch): default to
InsetOld::localDispatch.
* insetbibitem.C (localDispatch):
* insetbibtex.C (localDispatch): remove call to
ChangeCitationsIfUnique.
* insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
* insetexternal.C (read): use pushpophelper.
2003-07-28 Jos<6F> Matos <jamatos@lyx.org>
* insetext.C (read): \end_document replaces \the_end.
2003-07-28 Jos<6F> Matos <jamatos@fep.up.pt>
* insetert.C (write): \layout -> \begin_layout.
Add missing \end_layout.
2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetquotes.C: document a bit the format
* insettabular.C (write): remove extra space
2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
* insetnote.C: Umpf. Hope I *now* get it right :-(
2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
*insetnote.C: did the right fix to greyedout: \color
instead of \textcolor.
2003-07-28 Angus Leeming <leeming@lyx.org>
* insetbibtex.h: remove extraneous forward declaration.
* insetbibitem.h:
* insetbibtex.h: Also remove long-dead Holder member class
and variable.
2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
* insetbase.h: add #include <memory> needed by gcc 2.95.2 at
least.
2003-07-27 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetwrap.C (addToToc): adjust for lyx::toc
* insetfloatlist.C (ascii): adjust for lyx::toc
* insetfloat.C (addToToc): adjust for lyx::toc
2003-07-27 Jos<6F> Matos <jamatos@fep.up.pt>
* insetnote.h (linuxdoc,docbook): update support.
2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetfloat.C (wide): add a space to label, for consistency
2003-07-27 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (nextChange): adjust for lyx::find
(searchForward): ditto
(searchBackward): ditto
2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetgraphicsParams.C:
* insetexternal.C: declare extern displayTranslator
* insetexternal.C:
* renderers.C: add #include "support/LAssert.h"
2003-07-27 Jos<6F> Matos <jamatos@fep.up.pt>
* insetfloat.[Ch] (linuxdoc):
* insetgraphics.C (linuxdoc):
* insettabular.C (linuxdoc):
* insettext.[Ch] (linuxdoc): add support for tables and figures
(linuxdoc).
2003-07-27 Jos<6F> Matos <jamatos@fep.up.pt>
* insetinclude (latex): comply with makeLaTeXFile argument change.
2003-07-26 Asger Alstrup <alstrup@local>
* insettext.C (reinitLyXText): Get rid of updateLocal which causes
the undo crashes. We'll see what problems other places this will
cause.
2003-07-26 Angus Leeming <leeming@lyx.org>
* insetgraphics.C: remove unused declaration of system_tempdir.
2003-07-25 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* rename Inset to InsetOld
* all inset files (clone): return a auto_ptr<InsetBase>
2003-07-23 Angus Leeming <leeming@lyx.org>
* insetexternal.[Ch] (setParams): pass it a Buffer const *.
2003-07-23 Angus Leeming <leeming@lyx.org>
* mailinset.[Ch] (inset2string):
* insetcommand.[Ch] (inset2string):
* insetert.[Ch] (inset2string):
* insetexternal.[Ch] (inset2string):
* insetfloat.[Ch] (inset2string):
* insetgraphics.[Ch] (inset2string):
* insetinclude.[Ch] (inset2string):
* insetminipage.[Ch] (inset2string):
* insetnote.[Ch] (inset2string):
* insettabular.[Ch] (inset2string):
* insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
* insetexternal.[Ch]:
* insetgraphics.[Ch]: get rid of the view() function. Associated
changes to the mailers' string2params and params2string functions.
2003-07-23 Angus Leeming <leeming@lyx.org>
* insetexternal.[Ch]: store the external file name in a FileName
member variable rather than a string + associated changes.
2003-07-21 Angus Leeming <leeming@lyx.org>
* insetgraphicsParams.[Ch]: store the graphics file name in
a FileName member variable rather than a string.
* insetgraphics.[Ch]:
* insetgraphicsParams.[Ch]: Associated changes.
2003-07-21 Angus Leeming <leeming@lyx.org>
* insetgraphics.[Ch] (string2params, params2string): passed a
buffer_path argument.
(view): new method.
2003-07-21 Angus Leeming <leeming@lyx.org>
* insetexternal.C:
* insetgraphicsParams.[Ch]:
* insetinclude.C:
* renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
* insetnote.C: fixed greyout and conditionals layout foul-ups.
2003-07-18 Andr<64> P<>nitz <poenitz@gmx.net>
* insetert.[Ch]:
* insetminipage.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]:
* insetwrap.[Ch]:
* updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2003-07-18 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.[Ch]:
* insetbibitem.C:
* insetcollapsable.C:
* insetcommand.C:
* insetert.C:
* insetexternal.C:
* insetgraphics.[Ch]:
* insetlatexaccent.[Ch]:
* insetminipage.C:
* insetnewline.C:
* insetquotes.C:
* insetspace.C:
* insetspecialchar.C:
* insettabular.[Ch]:
* insettext.[Ch]:
* updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2003-07-17 Andr<64> P<>nitz <poenitz@gmx.net>
* insetcollapsable.C:
* insettabular.C:
* insettext.C: don't call Inset::update() anymore
* insettext.[Ch]:
* insettabular.[Ch]: remove unneeded in_update_ members
* insettext.[Ch]: remove unneeded InsetText::old_max_width member
2003-07-16 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.C (selectAll): remove
2003-07-16 John Levon <levon@movementarian.org>
* insetnote.h:
* insetnote.C: implement showInsetDialog()
2003-07-15 Andr<64> P<>nitz <poenitz@gmx.net>
* insettabular.C:
* insettext.C: refresh_status tristate -> need_update bool
2003-07-15 Alfredo Braunstein <abraunst@libero.it>
* insettext.C: adjust call to LyXText::init
2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* insettext.C: use bufferview_funcs->replaceSelection()
to delete selections in some cases (bugs 441, 673, 702, 954).
2003-07-14 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.C (draw): use slimmed down rowpainter interface
2003-07-14 Andr<64> P<>nitz <poenitz@gmx.net>
* insetcollapsable.C:
* insetert.C:
* insettext.[Ch] (cy, ciy, setUpdateStatus):
remove unused BufferView * argument
2003-07-14 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.[Ch]: used cached metrics a bit more
2003-07-10 Alfredo Brauntein <abraunst@libero.it>
* insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2003-07-10 Andr<64> P<>nitz <poenitz@gmx.net>
* insettabular.C:
* insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2003-07-04 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* introduce namespace lyx::graphics
2003-07-01 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* introduce namespace lyx::support
2003-06-30 Andr<64> P<>nitz <poenitz@gmx.net>
* insetcite.C (localDispatch): fix case of missing return value
* insetcite.C (ascii): remove unneeded temporary
2003-06-28 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetspace.h: fix \file
* insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
* insetinclude.C (fillWithBibKeys): ditto
* insetbibitem.C: fix type const order
* inset.C (getLyXText): add varname for arg
* ExternalTemplate.h: fix type const order
2003-06-27 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.C: take care of removed LyXCursor::row_ member
* insettext.[Ch]: use new TextCursor struct for sstate
2003-06-21 Alfredo Braunstein <abraunst@libero.it>
* inseterror.[Ch]: removed
2003-06-21 Alfredo Braunstein <abraunst@libero.it>
* insetinclude.C (docbook): use parseError instead of sgmlError
2003-06-19 Alfredo Braunstein <abraunst@libero.it>
* insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
of BufferList::loadLyXFile
2003-06-18 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (update): simplify
(updateLocal): remove commented code
(insetUnlock): simplify
(lockInset): simplify
(updateInsetInInset): simplify
(localDispatch): simplify
(setFont): simplify
(resizeLyXText): simplify
(collapseParagraphs): simplify
* insetert.C (get_new_label): simplify
2003-06-17 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* insettext.C (localDispatch): handle arg to LFUN_PASTE, call
pasteSelection with index
2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2003-06-16 Andr<64> P<>nitz <poenitz@gmx.net>
* insetbase.h: new virtual base function clone()
* *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
Inset * clone() -> InsetBase * clone()
2003-06-13 Andr<64> P<>nitz <poenitz@gmx.net>
* insettabular.[Ch]: make tabular a proper member
2003-06-12 Andr<64> P<>nitz <poenitz@gmx.net>
* insettabular.[Ch]: some renaming plus whitespace
2003-06-11 Angus Leeming <leeming@lyx.org>
* Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
Add renderers.[Ch].
* insetbutton.[Ch]: removed.
* graphicinset.[Ch]: renamed as renderers.[Ch].
* renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
Create a new class ButtonRenderer using the InsetButton::metrics() and
draw() functions.
Derive both from a common RenderedInset base class.
* insetcommand.[Ch]:
* insetinclude.[Ch]: derive from Inset, not InsetButton.
Give it a ButtonRenderer member variable. Use it.
Give the classes working copy c-tors.
No longer derive from boost::noncopyable.
* insetexternal.[Ch]: enable the inset to choose dynamically whether to
display its contents as a button or as a graphic.
* insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
GraphicRenderer.
2003-06-11 Angus Leeming <leeming@lyx.org>
* insetcite.C (localDispatch): reformat.
* insetref.C (localDispatch): enable dialog to be lauched.
2003-06-11 John Levon <levon@movementarian.org>
* insettabular.C: correctly mark all cells as erased
2003-06-11 Angus Leeming <leeming@lyx.org>
* insetexternal.[Ch]: InsetExternal::Params no longer stores the
ExternalTemplate but its name, templatename. This means that a file
containing a reference to an External Template not installed on the
current machine will be saved retaining this info rather than inserting
the first "valid" template from the list of templates.
As a by product, the visual statement that the Template is missing is
now very clear!
2003-06-10 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* insettext.C (appendParagraphs): remove some commented code.
2003-06-10 Angus Leeming <leeming@lyx.org>
* graphicinset.[Ch] (view): removed the publicly accessible function to set
the cache.
* insetexternal.[Ch]: move tempname_ into the Params struct.
(Params d-tor): new function, to clean-up this temp file.
(localDispatch): dispatch LFUN_EXTERNAL_EDIT.
(cache): removed.
(editExternal, doSubstitution): move out of class.
2003-06-10 Angus Leeming <leeming@lyx.org>
* graphicinset.[Ch] (params): removed.
* graphicinset.h (operator=): declared private but not defined.
(statusMessage): made private.
* insetexternal.[Ch]: graphic_ renamed as renderer_.
2003-06-07 John Levon <levon@movementarian.org>
* insetert.C (latex): make a newline mean just that not
a new par
2003-06-07 Jos<6F> Matos <jamatos@fep.up.pt>
* insethfill.[Ch] (linuxdoc, docbook): implement output
* insetspace.C (linuxdoc, docbook): remove coments as the code
is correct.
2003-06-06 Jos<6F> Matos <jamatos@fep.up.pt>
* insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2003-06-06 Andr<64> P<>nitz <poenitz@gmx.net>
* insetwrap.[Ch]: code compactification
2003-06-06 Alfredo Braunstein <abraunst@libero.it>
* mailinset.C (updateDialog): use Dialogs::visible
2003-06-04 Angus Leeming <leeming@lyx.org>
* graphicinset.C (draw): add a comment for the #if 0 block.
* insetexternal.h: remove Params::parameters variable.
* insetexternal.C (read, write): rewrite to output new ExternalInset format
and read it back making full use of LyXLex.
2003-06-04 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2003-06-04 John Levon <levon@movementarian.org>
* insettabular.C: back out tall table speed up. It was broken
2003-06-03 Angus Leeming <leeming@lyx.org>
* ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
Remove ViewCommand and UpdateCommand.
* graphicinset.C (update): bug fix. Set the params before calling the
loader.
* graphicinset.[Ch] (view): new method. A bit of a fudge to set the
BufferView cache to enable the InsetExternal::editCommand to be invoked
from the frontends. Would not be needed if this were dispatched properly.
(old_ascent_): variable removed.
* insetexternal.[Ch]: large clean-up to use the converter mechanism to
do any necessary conversions of external material. Also use the
new GraphicsInset to display the inset within LyX.
2003-06-03 Angus Leeming <leeming@lyx.org>
* graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
and move it somewhere where InsetExternal can use it too.
* Makefile.am: add the new files.
* insetgraphics.[Ch]: make use of the new GraphicInset.
2003-06-03 John Levon <levon@movementarian.org>
* inset.h:
* insetbibitem.[Ch]:
* insetbibtex.h:
* insetcite.h:
* insetcommand.[Ch]:
* insetenv.[Ch]:
* inseterror.h:
* insetert.[Ch]:
* insetexternal.[Ch]:
* insetfloat.[Ch]:
* insetfloatlist.h:
* insetfoot.[Ch]:
* insetgraphics.[Ch]:
* insethfill.h:
* insetinclude.[Ch]:
* insetindex.h:
* insetlabel.h:
* insetlatexaccent.[Ch]:
* insetmarginal.[Ch]:
* insetminipage.[Ch]:
* insetnewline.h:
* insetnote.[Ch]:
* insetoptarg.[Ch]:
* insetquotes.[Ch]:
* insetref.[Ch]:
* insetspace.[Ch]:
* insetspecialchar.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]:
* insetthereom.[Ch]:
* insettoc.h:
* inseturl.h:
* insetwrap.[Ch]: make clone() not take a Buffer * arg
* insetgraphics.[Ch]:
* insetgraphicsParams.[Ch]: always store an absolute
path at runtime
2003-06-02 Andr<64> P<>nitz <poenitz@gmx.net>
* inseterror.C:
* insetgraphics.C:
* insetlatexaccent.C: remove duplicated call to metrics()
2003-06-02 John Levon <levon@movementarian.org>
* insettabular.C: fix resize of column width
2003-06-02 John Levon <levon@movementarian.org>
* Makefile.am:
* inset.h:
* insetparent.h:
* insetparent.C: remove insetparent
2003-06-02 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.[Ch]:
* insetbase.h:
* insetbibtex.[Ch]:
* insetbutton.[Ch]:
* insetcaption.C:
* insetcollapsable.[Ch]:
* inseterror.[Ch]:
* insetert.[Ch]:
* insetfootlike.C:
* insetgraphics.[Ch]:
* insetinclude.[Ch]:
* insetlatexaccent.[Ch]:
* insetminipage.[Ch]:
* insetnewline.[Ch]:
* insetquotes.[Ch]:
* insetspace.[Ch]:
* insetspecialchar.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]: unify first drawing phase
* inset.[Ch]:
* insetbase.h: move validate() to the base
2003-05-31 Angus Leeming <leeming@lyx.org>
* Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2003-05-30 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.h:
* insetbase.h:
* insetbutton.[Ch]:
* insetcaption.[Ch]:
* insetcollapsable.[Ch]:
* inseterror.[Ch]:
* insetert.[Ch]:
* insetgraphics.[Ch]:
* insetinclude.[Ch]:
* insetlatexaccent.[Ch]:
* insetnewline.[Ch]:
* insetquotes.[Ch]:
* insetspace.[Ch]:
* insetspecialchar.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]:
* updatableinset.[Ch]: unify second drawing phase
2003-05-30 John Levon <levon@movementarian.org>
* insetgraphics.C: fix a bformat
2003-05-29 John Levon <levon@movementarian.org>
* insettabular.C: remove unused bufferOwner()
2003-05-29 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (lockInsetInInset): adjust
(getLabelList): use const_iterator, adjust
(getInsetFromID): use const_iterator, adjust
(addPreview): use const_iterator, adjust
* insetwrap.C (clone): remove const_cast
* insetnote.C (clone): remove const_cast
* insetminipage.C (clone): remove const_cast
* insetmarginal.C (clone): remove const_cast
* insetfoot.C (clone): remove const_cast
* insetfloat.C (clone): remove const_cast
* insetert.C (clone): remove const_cast
* delete commented same_id functions from a lot of files.
2003-05-28 John Levon <levon@movementarian.org>
* insetcite.C:
* insetinclude.C:
* insetindex.C:
* insetparent.C:
* insettoc.C: fix dispatch of mouse release (bug 1143 and others)
* insetminipage.C: fix metrics (bug 1144)
2003-05-27 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (saveLyXTextState): adjust
(restoreLyXTextState): adjust
(init): adjust
(lockInset): adjust
(unlockInsetInInset): adjust
(localDispatch): adjust
(getLyXText): adjust
* insettabular.C (insertAsciiString): adjust
2003-05-27 Andr<64> P<>nitz <poenitz@gmx.net>
* insetbutton.C:
* insetcollapsable.C:
* inseterror.C:
* insetgraphics.C:
* insetlatexaccent.C:
* insetminipage.C:
* insetnewline.C:
* insetquotes.C:
* insetspace.C:
* insetspecialchar.C:
* insettabular.C:
* insettext.C: dim.w -> dim.wid
2003-05-26 John Levon <levon@movementarian.org>
* insettabular.C: avoid drawing all of a long table
if it's not needed. A big speedup
2003-05-26 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* remove same_id from function signatures, adjust
2003-05-24 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (InsetText): adjust
(clear): adjust
(setParagraphData): separate same_id cases, adjust
(appendParagraphs): adjust
(appendParagraphs): adjust
2003-05-23 Andr<64> P<>nitz <poenitz@gmx.net>
* insetbutton.h: whitespace
* insettabular.C: more compact code
* updatableinset.C: remove const_cast
2003-05-23 Angus Leeming <leeming@lyx.org>
* insetexternal.C (write): check how many lines are output.
(latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
if the template has defined it.
2003-05-23 Angus Leeming <leeming@lyx.org>
* insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2003-05-23 Angus Leeming <leeming@lyx.org>
* insetfoot.C (latex):
* inseturl.C (latex): rename fragile as moving_arg.
2003-05-23 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* inseterror.C (localDispatch): comment out unused var.
2003-05-22 Angus Leeming <leeming@lyx.org>
* inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
passed through the LatexRunParams arg.
2003-05-22 Angus Leeming <leeming@lyx.org>
* inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
through the LatexRunParams arg.
* insetquotes.C (latex): accesses use_babel through the LatexRunParams
arg rather than through a global var.
2003-05-22 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetspecialchar.C (dimension): use a string.
2003-05-22 Angus Leeming <leeming@lyx.org>
* insetbibtex.C (latex):
* insetgraphics.C (latex):
* insetinclude.C (latex): extract the buffer's 'nice'ness from
runparams rather than from the buffer itself.
2003-05-22 Angus Leeming <leeming@lyx.org>
* inset*.[Ch] (latex):
passed a LatexRunParams parameter.
* insetgraphics.C (latex): actually use it ;-)
2003-05-22 Alfredo Braunstein <abraunst@libero.it>
* insetfloat.C (addToToc): trivial compile fix
2003-05-22 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.[Ch] (paragraph): delete unused function
* insetfloat.C (addToToc): parlist simplfication
2003-05-20 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
* insetspace.[Ch]: added (new space insets)
* Makefile.am:
* inset.h: handle new space insets
2003-05-21 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetfloat.C (addToToc): adjust
2003-05-21 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.[Ch]: fix drawing bug introduced earlier
2003-05-19 Andr<64> P<>nitz <poenitz@gmx.net>
* insetspecialchar.C: fix bug introduced yesterday
2003-05-19 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.[Ch]:
* insetbutton.[Ch]:
* insetcollapsable.[Ch]:
* inseterror.[Ch]:
* insetert.[Ch]:
* insetfoot.[Ch]:
* insetgraphics.[Ch]:
* insetgraphicsParams.[Ch]:
* insetlatexaccent.[Ch]:
* insetminipage.[Ch]:
* insetnewline.[Ch]:
* insetquotes.[Ch]:
* insetspecialchar.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]: dimensions() instead of ascend/descend/width
2003-05-19 Andr<64> P<>nitz <poenitz@gmx.net>
* insetenv.[Ch]:
* insettext.C: more insetenv
2003-05-16 Andr<64> P<>nitz <poenitz@gmx.net>
* insetcommand.C:
* insetminimpage.[Ch]:
* insetcollapsable.[Ch]: fix #832
2003-05-16 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.[Ch]:
* insetbibitem.[Ch]:
* insetbibtex.[Ch]:
* insetbutton.[Ch]:
* insetcite.[Ch]:
* insetcollapsable.[Ch]:
* insetcommand.[Ch]:
* inseterror.[Ch]:
* insetert.[Ch]:
* insetexternal.[Ch]:
* insetfloatlist.[Ch]:
* insetgraphics.[Ch]:
* insetinclude.[Ch]:
* insetindex.[Ch]:
* insetlabel.[Ch]:
* insetlatexaccent.[Ch]:
* insetparent.[Ch]:
* insetref.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]:
* insettoc.[Ch]:
* inseturl.[Ch]:
* updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2003-05-13 Andr<64> P<>nitz <poenitz@gmx.net>
* insetbibitem.C:
* insetcollapsable.C:
* insetert.C:
* insetfloat.C:
* insetinclude.C:
* insetwrap.C: tostr from own header
* insetcommand.C:
* insetexternal.C:
* insetfloat.C:
* insetfloat.h:
* insetgraphics.C:
* insetinclude.C:
* insetminipage.C:
* insetparent.C:
* insettabular.C:
* insettext.C:
* insetwrap.C: STRCONV
2003-05-12 Andr<64> P<>nitz <poenitz@gmx.net>
* insetcaption.C:
* insetexternal.C:
* insetfloat.C:
* insetfloatlist.C:
* insetgraphics.C:
* insetinclude.C:
* insetminipage.C:
* insetminipage.C:
* insettabular.C:
* insettext.C:
* insetwwrap.C: boost::format -> bformat all over the place
2003-05-05 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.h: add missing #include <map>
2003-05-07 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (InsetText): parlist cleanup
(clear): ditto
(edit): ditto
(insetUnlock): ditto
(lockInset): ditto
(lockInsetInInset): ditto
(cx): ditto
(cix): ditto
(getLyXText): ditto
(searchBackward): ditto
(collapseParagraphs): ditto
2003-05-06 John Levon <levon@movementarian.org>
* insetcaption.C: don't cast wrap inset to InsetFloat
* insetfloat.h:
* insetfloat.C: remove unneeded type() function
2003-05-05 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.h:
* insettext.[Ch]:
* insettabular.[Ch]:
* insetcollapsable.[Ch]: remove unused function firstParagraph()
replace getFirstParagraph() by getParagraphs()
2003-05-03 John Levon <levon@movementarian.org>
* insetcollapsable.h:
* insetcollapsable.C:
* insettabular.h:
* insettabular.C:
* insettext.h:
* insettext.C:
* updatableinset.h:
* updatableinset.C: remove cursor_visible_, showInsetCursor(),
hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
getCursor(). Remove explicit cursor hides.
2003-05-02 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.C: remove unneeded &*
2003-04-30 John Levon <levon@movementarian.org>
* insettabular.C: fix edit message
2003-04-30 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (setFont): do not convert iterator -> pointer
* insettabular.C (localDispatch): do not convert iterator -> pointer
(setFont): ditto
(tabularFeatures): ditto
2003-04-29 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2003-04-28 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
Changes
2003-04-25 Andr<64> P<>nitz <poenitz@gmx.net>
* insetenv.C: derive from InsetText instead of InsetCollapsable
2003-04-24 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetexternal.C (string2params): dont do anything if the string
is empty.
* insetgraphics.C (string2params): ditto
* insetcommand.C (string2params): ditto
* insetert.C (string2params): ditto
* insetfloat.C (string2params): ditto
* insetinclude.C (string2params): ditto
* insetminipage.C (string2params): ditto
* insettabular.C (string2params): ditto
* insetwrap.C (string2params): ditto
2003-04-24 Andr<64> P<>nitz <poenitz@gmx.net>
* insetref.C: support for eqref
2003-04-16 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetert.C (read): use ParagraphList::iterator.
2003-04-15 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetquotes.C (latex): comment some code and add warnings.
2003-04-14 Alfredo Braunstein <abraunst@libero.it>
* insetexternal.C (localDispatch): added a missing DISPATCHED
2003-04-12 John Levon <levon@movementarian.org>
* insetwrap.C (addToToc): fix a crash, conversion
from while to for loop forgot to remove the explicit
increment
2003-04-10 John Levon <levon@movementarian.org>
* insettabular.C (tabularFeature): make sure
to update the dialog when we change something
(bug 1036).
(getStatus): don't disable some lfuns (bug 939)
2003-04-09 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (saveLyXTextState): adjust
(localDispatch): adjust
(setFont): adjust
(cx): adjust
(cix): adjust
(cpar): adjust
* insettabular.C (localDispatch): adjust
(setFont): adjust
(tabularFeatures): adjust
2003-04-05 Alfredo Braunstein <abraunst@libero.it>
* insettabular.C (searchForward,searchBackward): fix bug 782
2003-04-07 John Levon <levon@movementarian.org>
* insettabular.C:
* insettext.C: clear status message on inset exit
2003-04-03 John Levon <levon@movementarian.org>
* insetcommand.C: return dispatched on DIALOG_UPDATE
2003-04-02 John Levon <levon@movementarian.org>
* insettabular.C: tab lfuns renamed
2003-04-02 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (update): move towards ParagraphList
(updateLocal): ditto
(edit): ditto
(insetUnlock): ditto
(lockInset): ditto
(lockInsetInInset): ditto
(updateInsetInInset): ditto
(localDispatch): ditto
(docbook): ditto
(setFont): ditto
(resizeLyXText): ditto
(searchBackward): ditto
(collapseParagraphs): ditto
(addPreview): ditto
* insetwrap.C (InsetWrap): adjust
(addToToc): adjust and rewrite loop
* insettext.[Ch] (paragraph): delete function
* insettabular.C (moveNextCell): adjust
(movePrevCell): adjust
(insertAsciiString): adjust
* insetfloat.C (InsetFloat): adjust
(addToToc): adjust
* insetert.C (InsetERT): adjust
(write): adjust, and rewrite loop
(latex): adjust, and rewrite loop
(linuxdoc): adjust, and rewrite loop
(docbook): adjust, and rewrite loop
(localDispatch): adjust
(get_new_label): adjust
2003-04-01 John Levon <levon@movementarian.org>
From Alfredo Braunstein
* insetbutton.h:
* insetbutton.C: add localDispatch()
* insetcommand.C: return DISPATCHED when edit() called
* insettext.C: fix bug 967
2003-04-01 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C: adjust
2003-04-01 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (draw): adjust
(crow): return a RowList::iterator not a Row*
* insetminipage.C (localDispatch): adjust
* insetert.C (localDispatch): adjust
2003-03-31 John Levon <levon@movementarian.org>
* insetgraphics.C:
* insetgraphicsParams.C: use_gui moved to lyx_gui
2003-03-31 John Levon <levon@movementarian.org>
* insettext.C: Alert fix
2003-03-30 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (ascent): adjust for RowList
(descent): ditto
(draw): ditto
(getLyXText): adjust
(toggleSelection): adjust
* insetminipage.C (localDispatch): adjust for RowList
* insetert.C (localDispatch): adjust for RowList
(getMaxWidth): adjust for RowList
2003-03-29 John Levon <levon@movementarian.org>
* insetert.C: Alert cleanup
2003-03-29 John Levon <levon@movementarian.org>
* insettabular.C: Alert fix
2003-03-28 John Levon <levon@movementarian.org>
* insetfloat.C: reset label on INSET_MODIFY
2003-03-28 John Levon <levon@movementarian.org>
* insetgraphicsParams.C: read subcaptionText as a whole line
(bug 656)
2003-03-28 John Levon <levon@movementarian.org>
* insettext.C: remove unused prototypes
2003-03-25 Angus Leeming <leeming@lyx.org>
* insetbibitem.C (localDispatch): repaint the view after modifying
a bibitem inset in case the maximum InsetBibitem width has changed.
2003-03-25 John Levon <levon@movementarian.org>
* insettext.C:
* insettabular.C: LyXText renamings
2003-03-24 John Levon <levon@movementarian.org>
* insettext.C: remove some dead code. Fix bug 972 and
related by posting a repaint in updateLocal(), and making
the SEL functions set SELECTION.
2003-03-22 John Levon <levon@movementarian.org>
* inset.h:
* inset.C: remove no-longer-needed topx_set
* insetcollapsable.h:
* insetcollapsable.C: remove dead code
* insetminipage.C:
* insetert.C: rebreak the rows when a possible
change in size is made, and reset the cursor
(bug 962, bug 965)
* insettabular.C: remove topx_set, CHANGED_IN_DRAW
* insettext.C: remove CHANGED_IN_DRAW noticing/handling,
topx_set. Fix drawing errors for clearInset(). Remove
some unnecessary uses of topx, which should die.
* updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
is no longer needed. Replace it with an ugly hack.
2003-03-20 John Levon <levon@movementarian.org>
* inset.h:
* insetcollapsable.h:
* insetcollapsable.C:
* insetert.h:
* insetert.C:
* insetminipage.C:
* insetminipage.C:
* insettabular.h:
* insettabular.C:
* insettext.h:
* insettext.C: remove spurious font parameter
from update(). Fix drawing of ERT insets inside
insets (bug 966). Remove unused mark_dirty from
tabular's updateLocal()
2003-03-19 John Levon <levon@movementarian.org>
* insetfloat.h:
* insetfloat.C:
* insetinclude.h:
* insetinclude.C:
* insetminipage.h:
* insetminipage.C:
* insetwrap.h:
* insetwrap.C: remove unused getter/setters
2003-03-19 John Levon <levon@movementarian.org>
* several files: bv->updateInset() doesn't take
a bool mark_dirty any more
2003-03-17 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* adjust for BufferView* arg removal from lyxtext.
2003-03-17 John Levon <levon@movementarian.org>
* most files: remove the "cleared" parameter
to draw in favour of always clearing. Associated
code removal.
2003-03-16 John Levon <levon@movementarian.org>
* insettext.C: remove unused s.refresh
2003-03-13 Angus Leeming <leeming@lyx.org>
* insettext.C (edit): replace Dialogs::updateParagraph with
BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2003-03-13 Andr<64> P<>nitz <poenitz@gmx.net>
* Makefile.am: insert insetenv
* insethenv.[Ch]: new files, currently inactive
2003-03-12 John Levon <levon@movementarian.org>
* Makefile.am:
* inset.h:
* inset.C:
* insetert.h:
* insetert.C:
* insetnewline.h:
* insetnewline.C:
* insetquotes.C:
* insettext.C: use new insetnewline
2003-03-12 John Levon <levon@movementarian.org>
* insettext.C: readToken became readParagraph
2003-03-12 John Levon <levon@movementarian.org>
* insettext.C: use parlist iterator for reading contents
2003-03-12 John Levon <levon@movementarian.org>
* insettext.C: name change to readToken()
2003-03-11 Andr<64> P<>nitz <poenitz@gmx.net>
* Makefile.am: insert insethfill
* insethfill.[Ch]: new files
2003-03-10 Angus Leeming <leeming@lyx.org>
* mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
BufferView * arg.
(hideDialog): calls the new static Dialogs::hide() method.
* insetbibitem.C (edit):
* insetbibtex.C (edit):
* insetcite.C (edit):
* insetcommand.C (localDispatch):
* inseterror.C (d-tor):
* insetert.C (showInsetDialog):
* insetexternal.C (localDispatch, edit):
* insetfloat.C (localDispatch, showInsetDialog):
* insetfloatlist.C (edit):
* insetgraphics.C (localDispatch, edit):
* insetinclude.C (localDispatch, edit):
* insetindex.C (edit):
* insetlabel.C (edit):
* insetminipage.C (localDispatch, showInsetDialog):
* insetref.C (edit):
* insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
resetPos, showInsetDialog, openLayoutDialog):
* insettoc.C (edit):
* inseturl.C (edit):
* insetwrap.C (localDispatch, showInsetDialog):
changes due to the changed MailInset interface.
2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
* insetfloat.h: Set default placement to an empty string.
2003-03-10 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (latex): adjust call to latexParagraphs.
2003-03-10 Angus Leeming <leeming@lyx.org>
* mailinset.C: warn the user if the BufferView has not been cached.
2003-03-10 Angus Leeming <leeming@lyx.org>
* inset.h, insetbase.h: move cache() and view() into InsetBase.
* insetcommand.h (inset):
* insetert.h (inset):
* insetexternal.h (inset):
* insetfloat.h (inset):
* insetgraphics.h (inset):
* insetinclude.h (inset):
* insetminipage.h (inset):
* insettabular.h (inset):
* insetwrap.h (inset):
* mailinset.h (inset): return an InsetBase &, not an Inset &.
2003-03-10 Angus Leeming <leeming@lyx.org>
* insetcommand.C (string2params):
* insetexternal.C (string2params):
* insetfloat.C (string2params):
* insetgraphics.C (string2params):
* insetinclude.C (string2params):
* insetminipage.C (string2params):
* insettabular.C (string2params):
* insetwrap.C (string2params): cure warning message about missing
'\end_inset'.
2003-03-09 Angus Leeming <leeming@lyx.org>
* insettabular.[Ch]: define a new class InsetTabularMailer and use
it to communicate with the frontend dialogs.
* mailinset.C (hideDialog): only hide the dialog if it is showing the
contents of this inset!
2003-03-07 Angus Leeming <leeming@lyx.org>
* inseterror.C (localDispatch): new method; calls edit() on
LFUN_MOUSE_RELEASE.
2003-03-07 Angus Leeming <leeming@lyx.org>
* insetbibitem.C (localDispatch):
* insetbibtex.C (localDispatch):
* insetlabel.C (localDispatch):
rewrite as a switch.
2003-03-07 Angus Leeming <leeming@lyx.org>
* insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
it to communicate with the frontend dialogs.
2003-03-07 Angus Leeming <leeming@lyx.org>
* insetexternal.C: remove operator== and operator!= for
InsetExternal::Params. They were used only by the old controller
scheme.
2003-03-07 Angus Leeming <leeming@lyx.org>
* insetcommand.C (localDispatch):
* insetexternal.C (localDispatch):
* insetfloat.C (localDispatch):
* insetinclude.C (localDispatch):
* insetminipage.C (localDispatch):
* insetwrap.C (localDispatch):
add LFUN_INSET_DIALOG_UPDATE to the switch.
2003-03-07 Angus Leeming <leeming@lyx.org>
* insetcommand.C (string2params):
* insetexternal.C (string2params):
* insetfloat.C (string2params):
* insetinclude.C (string2params):
* insetwrap.C (string2params): use LyXLeX more.
* insetert.[Ch]:
* insetexternal.[Ch]:
* insetfloat.[Ch]:
* insetinclude.[Ch]:
* insetwrap.[Ch]: change Mailer::name_ to be static.
* insetminipage.[Ch]: define a new class InsetMinipageMailer and use
it to communicate with the frontend dialogs.
2003-03-06 Alfredo Braunstein <abraunst@libero.it>
* insettext.C:
* insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2003-03-06 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (updateLocal): un-const function
(updateLocal): adjust
(collapseParagraphs): un-const function
(collapseParagraphs): adjust
2003-03-05 Angus Leeming <leeming@lyx.org>
* insetwrap.[Ch]: define a new class InsetWrapMailer and use
it to communicate with the frontend dialogs.
2003-03-05 Angus Leeming <leeming@lyx.org>
* insetcollapsable.C (draw): cache the BufferView.
* insetfloat.[Ch]: define a new class InsetFloatMailer and use
it to communicate with the frontend dialogs.
2003-03-05 Angus Leeming <leeming@lyx.org>
* insetfloat.[Ch]: move the params into a separate InsetFloatParams
struct.
2003-03-05 Angus Leeming <leeming@lyx.org>
* insetcommandparams.[Ch] (getAsString, setFromString): remove.
* insetinclude.[Ch]: define a new class InsetIncludeMailer and use
it to communicate with the frontend dialogs.
2003-03-05 Angus Leeming <leeming@lyx.org>
* insetexternal.[Ch]: define a new class InsetExternalMailer and use
it to communicate with the frontend dialogs.
2003-03-04 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (collapseParagraphs): adjust
(appendParagraphs): make it take a Buffer* instead of a
BufferParams& as arg.
(appendParagraphs): adjust
2003-03-04 Angus Leeming <leeming@lyx.org>
* insetbibitem.C (localDispatch):
* insetbibtex.C (localDispatch):
* insetcommand.C (localDispatch):
* insetert.C (localDispatch):
* insetlabel.C (localDispatch):
handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2003-03-04 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (latex): adjust for ParagraphList::iterator
2003-03-03 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetbutton.C (view): adjust for boost 1.30.0
* insetcollapsable.C (view): ditto
* insetgraphics.C (statusChanged): ditto
* insettext.h: move paragraphs to be public.
2003-03-02 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetnote.[Ch] (InsetNote): remove unused constructor
2003-02-28 Alfredo Braunstein <abraunst@libero.it>
* insetgraphics.C: added include "format.h"
2003-02-27 Angus Leeming <leeming@lyx.org>
* indexlabel.C: use a real, LyX dialog rather than that nasty Alert
thingy.
2003-02-27 Angus Leeming <leeming@lyx.org>
* insetbibitem.C (localDispatch):
* insetbibtex.C (localDispatch):
* insetcommand.C:
* insetert:
collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2003-02-26 Angus Leeming <leeming@lyx.org>
* insetbibitem.[Ch] (localDispatch):
* insetbibtex.[Ch] (localDispatch):
new method. Modify inset on receipt of LFUN_XYZ_APPLY.
* insetcommand.C (localDispatch):
act only on receipt of LFUN_XYZ_APPLY.
* insetert.C (localDispatch): reformat.
add LFUN_XYZ_APPLY to the switch.
2003-02-26 John Levon <levon@movementarian.org>
* insettext.C: use RowPainter
* inset.h: make helpers take const *
2003-02-26 Angus Leeming <leeming@lyx.org>
* insetcommand.[Ch] (localDispatch): new method.
2003-02-26 Angus Leeming <leeming@lyx.org>
* insetinclude.C (draw): cache the BufferView* using cache not
PreviewImpl::setView
2003-02-26 Alfredo Braunstein <abraunst@libero.it>
* insetgraphics.C (draw)
* insetinclude.C (draw): Eliminate also the other argument (owner
inset inset) in the call to PreviewImage::image
2003-02-25 Alfredo Braunstein <abraunst@libero.it>
* insetgraphics.C (draw)
* insetinclude.C (draw): Eliminate Buferview argument in call to
PreviewImage::image
2003-02-25 John Levon <levon@movementarian.org>
* insetgraphicsParams.h:
* insetgraphics.C: don't start a load process if
the inset is set to NoDisplay (bug #920)
2003-02-22 John Levon <levon@movementarian.org>
* insetfloat.C:
* insetwrap.C: TocItem changed API (bug 913)
2003-02-21 Angus Leeming <leeming@lyx.org>
* insetcollapsable.[Ch] (cache, edit):
* insetbutton.[Ch] (cache, edit): new methods to cache the
BufferView in the draw method.
* insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
simplify comunication between InsetCommand-derived classes and
the Dialogs.
* insetbibitem.[Ch]:
* insetbibtex.[Ch]:
* insetcite.[Ch]:
* inseterror.[Ch]:
* insetfloatlist.[Ch]:
* insetindex.[Ch]:
* insetref.[Ch]:
* insettoc.[Ch]:
* inseturl.[Ch]: small changes to reflect the new interface to the
Dialogs code.
* mailinset.[Ch]: new files. Base class to InsetCommandMailer and
other, similar classes.
* Makefile.am: add new files.
2003-02-21 Angus Leeming <leeming@lyx.org>
* updatableinset.h (setView, view): remove.
* inset.h (view, cache): to be replaced by these.
* insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
insetbibtex.[Ch]:
* Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
insetbibtex.[Ch].
* inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2003-02-21 Allan Rae <rae@lyx.org>
* insetinclude.C (loadIfNeeded): ensure loading also works when
child document is under version control.
2003-02-17 Andr<64> P<>nitz <poenitz@gmx.net>
* insetbib.[Ch]: Adjust access to bibkeys
2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetquotes.C (dispString): remove use of acute accent for "'"
right quote.
2003-02-14 John Levon <levon@movementarian.org>
* insettabular.C: changed method names in tabular.C
2003-02-14 John Levon <levon@movementarian.org>
* inset.h:
* inset.C:
* insetcollapsable.h:
* insetcollapsable.C:
* insettabular.h:
* insettabular.C:
* insettext.h:
* insettext.C: remove unused getParFromID()
2003-02-13 John Levon <levon@movementarian.org>
* insettext.h:
* insettext.C: remove unused beginningofMainBody()
2003-02-08 John Levon <levon@movementarian.org>
* inset.h:
* inset.C:
* insetcollapsable.h:
* insetcollapsable.C:
* insettabular.h:
* insettabular.C:
* insettext.h:
* insettext.C:
add nextChange(). Make allowSpellcheck() const. Add markErased().
* insetert.C: ignore deleted text
* insettabular.C: make sure to keep change tracking working
properly.
2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
* insetert.C:
* insetgraphics.C:
* insettabular.C:
* insettext.C: Use error messages with identical spelling and punctuation
2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
* insetgraphics.C (draw, width): Fix spacing around graphics inset
2002-12-17 Juergen Vigna <jug@lyx.org>
* insettext.C (localDispatch): hopefully fixed cursor up down
movement on leaving other insets.
2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
* insettext.C: fix inconsistent usage of spaces, colons, capitalization,
and the like.
2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetgraphics.C (prepareFile): do not remove the extension of
the file name if it is not the default extension for the given
format (that is, in latex output, remove extension from foo.eps,
but not from foo.epsi)
2002-12-17 Alfredo Braunstein <abraunst@libero.it>
* insettext.C (lfunMouseRelease): hackish solution to the "double
menu open" bug
2002-12-08 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetfloat.C (addToToc): use the floats name not its type
* insetwrap.C (addToToc): ditto
2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetnote.C (init): make label font smaller
2002-12-04 John Levon <levon@movementarian.org>
* insetinclude.C: ressurect setting of command name
2002-12-02 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetquotes.C (dispString): disambiguate insert call
2002-12-01 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* several files: ws changes
2002-12-01 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetquotes.C (dispString): use string::insert for prepending a
char.
2002-11-21 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetparent.C (getScreenLabel): use boost::format
* insetgraphics.C (prepareFile): use boost::format
(ascii): ditto
* insetfloatlist.C (latex): use boost::format
* insetcaption.C (draw): use boost::format
2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
* insettabular.C (tabularFeatures): Support for block alignment in fixed width
columns.
2002-11-20 Juergen Vigna <jug@sad.it>
* insettabular.C (resetPos): temporary fix for endless loop in
this function on a redraw.
2002-11-04 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettabular.C (copySelection): STRCONV
* insetinclude.C (uniqueID): STRCONV
(latexString): ditto
* insetgraphics.C: put VersionNumber inside anon namespace
(createLatexOptions): STRCONV
* insetcommandparams.C: include config.h
2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
* insetgraphicsParams.C (Write): use lyx::float_equal.
Write height data correctly.
(Read): zero scale when reading height data.
2002-10-30 John Levon <levon@movementarian.org>
* insetfloat.C (addToTOC): recursively traverse all
contents looking for captions (fix #568)
2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetexternal.C (doSubstitution): do not try to replace
environment variables, this is done when executing the command
2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetexternal.C (doSubstitution): change order of substitution
to work around ReplaceEnvironmentPath brokenness
2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
* insetgraphicsParams.h (scale): is now a float, not an unsigned int.
* insetgraphicsParams.C (init, Write): associated changes
* insetgraphics.C (createLatexOptions): use lyx::float_equal with
InsetGraphicsParams::scale.
2002-10-21 John Levon <levon@movementarian.org>
* inset.h: remove unused DISPATCH_RESULT
* insettext.C: sgml open/close tag now in sgml namespace
2002-10-21 Angus Leeming <leeming@lyx.org>
* insetgraphics.C (draw): Fix the drawing of an inset with a relative
file path subdir/fig.eps when pasting it into a buffer in a different
directory.
2002-10-16 John Levon <levon@movementarian.org>
* insetspecialchar.C: remove \\protected_separator parsing
2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* insetquote.C: fix LaTeX output of quotation marks.
2002-10-14 Juergen Vigna <jug@sad.it>
* insettext.C (localDispatch): remove double setUndo in Cut/Delete/
Backspace functions which confused the Undo handling.
2002-10-09 Angus Leeming <leeming@lyx.org>
* insetcite.[Ch] (setLoadingBuffer): new method, invoked by
BufferView::dispatch that turns off this optimisation when a new inset
is inserted.
* insetcite.C (getNatbibLabel): correct logic of when and when not to
reload the BibTeX keys.
2002-10-11 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.h: handle LFUN_PRIOR/NEXT
2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* insetfloat.C: fix bug with float settings
(document default != float default).
2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
* insetwrap.C (addToToc): New method.
(InsetWrap): Set layout to caption.
2002-09-24 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* Makefile.am (INCLUDES): loose SIGC_INCLUDES
2002-09-16 John Levon <levon@movementarian.org>
* insettabular.h: hasSelection() needs to be public
2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
* insetgraphicsParams.C: use empty string as default for rotateOrigin
2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
* insetgraphicsParams.C: use empty string as default for rotateOrigin
2002-09-11 Andr<64> P<>nitz <poenitz@gmx.net>
* insettabular.C: implement LFUN_WORDSEL
2002-09-10 John Levon <levon@movementarian.org>
* insetinclude.h: remove unused param
2002-09-09 John Levon <levon@movementarian.org>
* insetinclude.h:
* insetinclude.C: remove noload, default to input
2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
* insetgraphics.C: disfuscated use of ']' in built output string.
2002-09-06 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2002-08-29 Juergen Vigna <jug@sad.it>
* insettabular.C (lfunMousePress): Pay attention where you set
the x/y values as they depend on which inset in the tabular is
actually locked. So you surely have to reset them if you (un)lock
a inset!
2002-08-29 Andr<64> P<>nitz <poenitz@gmx.net>
* insetfootlike.h: rename include guard to ALL CAPS
* insettext.C: swap object and first parameter for checkInsetHit calls
as this functions has moved from BufferView to LyXText
2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
* insetgraphicsParams.C: remove local displayTranslator and use
the one from graphics/GraphicsTypes.h.
2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetfloat.C (wide): add BufferParams parameter
* insetfloatlist.C (read):
(latex):
(getScreenLabel):
* insetfloat.C (latex):
(floatname):
* insetcaption.C (draw): use LyXTextClass::floats()
2002-08-26 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetoptarg.h: add std:: qualifier.
2002-08-26 Juergen Vigna <jug@sad.it>
* insettext.C (localDispatch): ditto.
* insettabular.C (localDispatch): fixed mouse pressing lfuns.
2002-08-25 John Levon <levon@movementarian.org>
* inseturl.C: elide long URLs (bug 404)
2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
* insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
remove "Format Version <version_no.>" string from inset header
* insetgraphics.C:
* insetgraphicsParams.[Ch]: Implement new graphics dialog
* insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
a member of "grfx::Params" anymore.
* insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2002-08-24 John Levon <levon@movementarian.org>
* insetoptarg.h:
* insetoptarg.C: ws, pedantry ...
2002-08-21 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (collapseParagraphs): pasteParagraph now in global
scope
(appendParagraphs): ditto
2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
* insetcite.C (latex): Remove spaces only after commmas.
2002-08-21 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C: remove NO_COMPABILITY stuff
2002-08-15 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (edit): use ParagraphList iterators
* insetbib.C (bibitemMaxWidth): use ParagraphList iterators
(bibitemWidest): ditto
2002-08-14 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C: include <boost/bind.hpp>
add using std::for_each
(saveLyXTextState): use ParagraphsList::iterator
(init): use for_each on paragraphlist iterators
(InsetText): remove superflous setting cached_bview to 0
(latex): reformat a bit
(ascii): use paragraphlist iterators
(validate): use for_each + boost bind
(getLabelList): use paragraphlist iterators
(deleteLyXText): use for_each + boost::bind
(resizeLyXText): ditto
(reinitLyXText): ditto
(removeNewlines): use paragraphlist iterators
(getParFromID): ditto
(paragraph): use for_each + boost::bind
(getInsetFromID): use paragraphlist iterators
(getLabelList): typo fix
2002-08-14 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C (read): assign tmp to paragraphs after return from
call to parseSingleLyXformat2Token
2002-08-13 Angus Leeming <leeming@lyx.org>
* insetbib.C:
* insetcite.C:
* inseterror.C:
* insetert.C:
* insetexternal.C:
* insetfloat.C:
* insetfloatlist.C:
* insetgraphics.C:
* insetinclude.C:
* insetindex.C:
* insetminipage.C:
* insetparent.C:
* insetref.C:
* insettabular.C:
* insettext.C:
* insettoc.C:
* inseturl.C:
changes due to the changed LyXView interface that now returns references
to member variables not pointers.
2002-08-13 Angus Leeming <leeming@lyx.org>
* inset.h:
* insetcollapsable.h:
* insetert.h:
* insettabular.h:
* insettext.h: forward-declare WordLangTuple
(selectNextWordToSpellcheck) constify return type.
* inset.C:
* insetcollapsable.C:
* insetert.C:
* insettabular.C:
* insettext.C: #include "WordLangTuple.h" and rearrange included files.
2002-08-12 Angus Leeming <leeming@lyx.org>
* insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2002-08-12 Juergen Vigna <jug@sad.it>
* insetcollapsable.C (edit): ignore if entered when pressing mouse
button 3.
2002-08-12 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetbib.C (bibitemMaxWidth): ParagraphList changes
(bibitemWidest): ditto
* insettext.[Ch]: ditto
2002-08-10 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insettext.C, insetert.C: use Paragraph::empty where appropriate
2002-08-09 Angus Leeming <leeming@lyx.org>
* insetinclude.C (latexString): remove fudge now that I've found out
how to enable LaTeX to find the file using input@path.
2002-08-09 John Levon <levon@movementarian.org>
* insettext.h:
* insettext.C: remove unused xpos
2002-08-07 Juergen Vigna <jug@lyx.org>
* insettabular.C (localDispatch): make delete not put the stuff
in the clipboard only do this on a cut operation.
* insettext.C (localDispatch): make delete and backspace not put
selected stuff to the clipboard.
2002-08-07 Andr<64> P<>nitz <poenitz@gmx.net>
* inset.[Ch]:
* insetcollapsable.[Ch]:
* insetert.[Ch]:
* insetparent.[Ch]:
* insetref.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2002-08-06 John Levon <levon@movementarian.org>
* inset.h:
* inset.C:
* insetcollapsable.h:
* insetcollapsable.C:
* insetert.h:
* insetert.C:
* insettabular.h:
* insettabular.C:
* insettext.h:
* insettext.C: use WordLangTuple for spellcheck
2002-08-06 Angus Leeming <leeming@lyx.org>
* insetinclude.C: add a monitor to the previewed image, so that the
image is refreshed if the \input-ed file changes.
2002-08-04 John Levon <levon@movementarian.org>
* inset.h:
* insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2002-08-02 Angus Leeming <leeming@lyx.org>
* insetcommandparams.[Ch] (preview): new methods returning and setting
a new bool preview_ flag.
(read): read this flag.
(operator==): add flag to check.
* insetinclude.C (write): output new preview() flag.
(previewWanted): use this flag.
2002-08-02 Angus Leeming <leeming@lyx.org>
* insetcollapsable.[Ch] (addPreview):
* insettabular.[Ch] (addPreview):
* insettext.[Ch] (addPreview): new methods. Can now generate previews
for insets in insets.
2002-08-02 Angus Leeming <leeming@lyx.org>
* insetcite.C: fix typo.
* insetgraphics.C: kill current_view and instead cache the BufferView
as a weak_ptr.
* insetinclude.C: kill current_view and pass the BufferView to the
PreviewedInset so that it can cache it.
2002-08-01 Angus Leeming <leeming@lyx.org>
* inset.h (generatePreview): renamed as addPreview.
(generatePreview): new method. Allows code to be moved out of
math_nestinset.C and into the new PreviewedInset class.
* insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
add previews to the inset when \input-ing LaTeX.
2002-07-29 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* several files: strip,frontStrip -> trim,ltrim,rtrim
2002-07-28 Lars Gullik Bj<42>nnes <larsbj@gullik.net>
* insetbib.C (latex): modify because of strip changes
(getKeys): ditto
* insetnote.C (InsetNote): ditto
2002-07-26 Juergen Vigna <jug@sad.it>
* insettabular.C (searchForward): check for lastcell if we
had a locking inset.
2002-07-25 Juergen Vigna <jug@sad.it>
* insettabular.C (insetMotionNotify): Don't update the screen
if we didn't do nothing.
(searchForward): last cell was not checked.
2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
* insetfloat.C (read, write): Allow default placement
(floatPlacement_ is empty).
2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetminipage.h (noFontChange):
* insettabular.h (noFontChange):
* insetfootlike.h (noFontChange):
* insetfloat.h (noFontChange): return true
* inset.h (noFontChange): new method, defaulting to false
2002-07-22 Herbert Voss <voss@lyx.org>
* insetgraphicsParams.[Ch]: support size_type for old docs
2002-07-22 Herbert Voss <voss@lyx.org>
* insetgraphics.C:
* insetgraphicsParams.[Ch]: change size_type to size_kind and
other small changes
2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettext.h: do not include "paragraph.h" and "lyxcursor.h"
* insetlatexaccent.h: do not include "lyxlex.h"
* insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
* insetquotes.C:
* insetlatexaccent.C:
* insetgraphics.C:
* insetexternal.C:
* insetert.C:
* insetbib.C: #include "lyxlex.h"
* insetinclude.C:
* insetfloat.C:
* insetert.C:
* insetbib.C:
* insettext.C: use BufferParams::getLyXTextClass
* insetfloat.C (addToToc): new method. Add to toclist the entries
corresponding to Caption layouts
(InsetFloat): when creating a new float, set the layout to "Caption"
2002-07-21 Herbert Voss <voss@lyx.org>
* insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
image relevant part into graphics/GraphicsImgae.C
2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettoc.C (ascii):
* insetfloatlist.C (ascii): change to use the new Toc functions
instead of stuff that was in Buffer
2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettext.C (localDispatch): BufferView::Dispatch has been
renamed to BufferView::dispatch
2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetgraphicsParams.C (as_grfxParams): use the new
keepLyXAspectRatio parameter. Note that this is an adaptation of a
1.2.0 patch, and I do not really know how to adapt it to the new
grfx::Cache world. Angus, please could you have a look?
2002-05-01 Herbert Voss <voss@lyx.org>
* insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2002-07-18 Angus Leeming <leeming@lyx.org>
* insetgraphics.C: clean-up comments (from Herbert).
add a new checksum variable to the cache. Use it in PrepareFile.
(draw): start monitoring the file for a change.
(prepareFile): re-arrange a little to avoid unnecessary steps.
2002-07-17 Angus Leeming <leeming@lyx.org>
* insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
a method rather than to the signal directly.
2002-07-17 John Levon <moz@compsoc.man.ac.uk>
* insettext.C: use view_state_changed, switchKeyMap
2002-07-17 Herbert Voss <voss@perce.de>
* insetgraphics.C (prepareFile): keep the extension when
exporting to nice file
2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetcite.C (getNatbibLabel):
* insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2002-07-15 John Levon <moz@compsoc.man.ac.uk>
* insetgraphics.C: use ->isDrawable()
2002-07-12 Angus Leeming <leeming@lyx.org>
* insetgraphics.C: use the new smart loading capabilities of the image
loader.
2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
* insettabular.C (edit): Move into correct cell when entering a
tabular in
* insettext.C (unlockInsetInInset): Correct cursor behaviour for
RTL paragraphs.
2002-07-05 Angus Leeming <leeming@lyx.org>
* inset.h (generatePreview): new virtual method.
2002-07-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetcommandparams.[Ch] (operator=): move out of class
(operator!): move out of class
2002-07-04 Andr<64> P<>nitz <poenitz@gmx.net>
* insetcommandparams.[Ch]: new files
* insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2002-06-15 Herbert Voss <voss@perce.de>
* insetgraphics.C (prepareFile): bugfix; return always
files without extension
2002-06-28 Angus Leeming <leeming@lyx.org>
* insetgraphicsParams.[Ch]: forward declare grfx::Params.
rename asGParams -> as_grfxParams.
* insetgraphics.C: reflect above change.
2002-06-26 Angus Leeming <leeming@lyx.org>
* insetgraphics.h: use boost::scoped_ptr in preference to
std::auto_ptr.
2002-06-26 Angus Leeming <leeming@lyx.org>
* insetgraphics.C: moved the image loading stuff into a new class
grfx::Loader. Simplifies this file enormously.
* insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
* insetgraphicsParams.C: changes aassociated with moving
grfx::DisplayType out of grfx::GParams.
2002-06-26 Andr<64> P<>nitz <poenitz@gmx.net>
* insetgraphics.C: use os::external_path where necesaary according to a
patch from Claus Hentschel)
2002-06-25 Angus Leeming <leeming@lyx.org>
* insetgraphics.[Ch]: The inset now assumes the responsibility for
generating a pixmap once the graphics file is loaded into memory.
The current_view ugliness that was in grfx::ModifiedImage has been
moved here now that grfx::ModifiedImage is no more.
2002-06-24 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C: layout as layout
2002-05-28 Andr<64> P<>nitz <poenitz@gmx.net>
* insetfloatlist.h: remove source of compiler warning
* insetref.C: tiny whitespace
2002-06-15 Herbert Voss <voss@perce.de>
* insetgraphics.C: (prepareFile) fix bug with zipped eps-files
and take always convert when no userdefined converter was
found
(latex) small changes in the lyxerr output
2002-06-15 LyX Development team <lyx@rilke>
* inset*.[Ch] (docbook): Added new argument to take the pernicious
mixed content. Small white spaces clean.
2002-06-14 Angus Leeming <leeming@lyx.org>
* inseetexternal.C: remove the using std::difftime declaration.
2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
* insetquotes.C: change lyxfont::draw to font_metrics::draw
2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
* insetquotes.C (draw): fix drawing of double quotes
2002-06-12 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C: s/scrollCB/scrollDocView/
2002-06-12 John Levon <moz@compsoc.man.ac.uk>
* insettext.C: change of topCursorVisible()
prototype
2002-06-12 John Levon <moz@compsoc.man.ac.uk>
* insettext.h:
* insettext.C: rename/change of LyXScreen
2002-06-07 Angus Leeming <leeming@lyx.org>
Fixes needed to compile with Compaq cxx 6.5.
* insetexternal.C:
all c-library variables have been moved into namespace std.
Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetinclude.C (uniqueID):
* insetgraphics.C (uniqueID): renamed from unique_id, since this
conflicted with some AIX headers.
2002-05-31 Juergen Vigna <jug@sad.it>
* insetert.C (get_new_label): add '...' for multi-paragraph ert
insets too
(update) new method
2002-05-30 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetexternal.C (clone): fix () bug when using new
(updateExternal): don't only look for difftime in global scope
2002-05-30 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C: add const
2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
file name, in case there are weird characters like ',' in there.
(bug #407)
2002-05-29 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* switch from SigC signals to boost::signals.
2002-05-28 Andr<64> P<>nitz <poenitz@gmx.net>
* insets/insetgraphicsParams.[Ch]:
put in inset related stuff from src/graphic
2002-05-26 John Levon <moz@compsoc.man.ac.uk>
* inset.C:
* inset.h:
* insetbib.C:
* insetbib.h:
* insetcite.h:
* insetcite.C:
* insetcollapsable.C:
* insetcollapsable.h:
* inseterror.C:
* inseterror.h:
* insetert.C:
* insetert.h:
* insetexternal.C:
* insetexternal.h:
* insetfloatlist.C:
* insetfloatlist.h:
* insetgraphics.C:
* insetgraphics.h:
* insetinclude.C:
* insetinclude.h:
* insetindex.C:
* insetindex.h:
* insetlabel.C:
* insetlabel.h:
* insetparent.C:
* insetparent.h:
* insetref.C:
* insetref.h:
* insettabular.C:
* insettabular.h:
* insettext.C:
* insettext.h:
* insettoc.C:
* insettoc.h:
* inseturl.C:
* inseturl.h: use mouse_state. Kill insetKeyPress
2002-05-24 John Levon <moz@compsoc.man.ac.uk>
* insetbib.C:
* insetbutton.C:
* insetcaption.C:
* insetcollapsable.C:
* inseterror.C:
* insetgraphics.C:
* insetlatexaccent.C:
* insetquotes.C:
* insetspecialchar.C:
* insettabular.C:
* insettext.C: name change for font metrics
2002-05-24 Juergen Vigna <jug@sad.it>
* insetgraphics.h: include inset.h first (for LString.h)
2002-05-23 John Levon <moz@compsoc.man.ac.uk>
* insettext.C: screen moved
2002-05-23 John Levon <moz@compsoc.man.ac.uk>
* insetbib.C:
* insetcite.C:
* inseterror.C:
* insetert.C:
* insetexternal.C:
* insetfloat.C:
* insetfloatlist.C:
* insetgraphics.C:
* insetinclude.C:
* insetindex.C:
* insetminipage.C:
* insetparent.C:
* insetref.C:
* insettabular.C:
* insettext.C:
* insettoc.C:
* inseturl.C: LyXView moved into frontends/
2002-05-23 John Levon <moz@compsoc.man.ac.uk>
* inset.C:
* insetbutton.C:
* insetcaption.C:
* insetcollapsable.C:
* insetcommand.C:
* inseterror.C:
* insetgraphics.C:
* insetgraphicsParams.C:
* insetlatexaccent.C:
* insetquotes.C:
* insetspecialchar.C:
* insettabular.C:
* insettext.C: move Painter to frontends/
2002-05-22 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettabular.h: use more specific smart_ptr header.
* insettext.h: ditto
* insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
(draw): ditto
2002-05-15 John Levon <moz@compsoc.man.ac.uk>
* insettext.C: clear selection on paste (bug 393)
2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
* insettext.C (latex): Honor the moving_arg argument.
2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetfoot.C (latex): if a footnote is in a title layout, then it
is a \thanks. And then, its contents is a moving argument.
2002-05-14 Juergen Vigna <jug@sad.it>
* insetcollapsable.C (InsetCollapsable): forgot to initialize
first_after_edit.
2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
* Insetcite.C (getNatbibLabel): don't disable natbib label support
when using options "Full author list" or "Upper case".
2002-05-14 Herbert Voss <voss@perce.de>
* insetgraphics.C (prepareFile): allow files with same name
in different dirs
(readFigInset): set the flags from old figinset in the right
manner
(findTargetFormat): more comments
2002-05-14 Juergen Vigna <jug@sad.it>
* insettext.C (edit): tell checkAndActivateInset() that we don't
have a button press.
(checkAndActivateInset): if button < 0 we don't have a button press
on the inset and os we won't call edit on it if it's not a Highly
editable inset (then we have to enter it).
2002-05-13 Juergen Vigna <jug@sad.it>
* insetcollapsable.C (insetButtonRelease): returned wrong return
value.
2002-05-09 Juergen Vigna <jug@sad.it>
* insetcollapsable.C (edit): first_after_edit should only be
set to true if we enter this inset and it was collapsed so we
open it up. This is needed to reclose it after a search/replace
or spellcheck function opened it and was negative.
2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
* insetfloat.C (latex): Return correct value.
2002-05-04 Herbert Voss <voss@perce.de>
* InsetgraphicsParams.C (read): fix bug with WH
2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
* insetfloat.C (latex): More sensible latex output
(fix the problem with endfloat).
2002-05-02 Jos<6F> Matos <jamatos@fep.up.pt>
* insetgraphics.C (validate): acess params as everyone else.
2002-05-03 Juergen Vigna <jug@sad.it>
* insettabular.C (fitInsetCursor): recalculate the cursor position
if I request it.
2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
* InsetgraphicsParams.[Ch]: whitespace.
2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
* insetfloatlist.C (getScreenLabel): Fix crash in the case where
float type do not exist.
2002-04-28 Herbert Voss <voss@perce.de>
* insetgraphics.C (latex): fix bug with missing file-extension.
LaTeX still allows a missing "eps" or "ps".
2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
* insetfloat.C (c-tor, wide): translate the name of the float.
2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
* insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
when using natbib and make it work efficiently. Must emphasise that the
real work is Herbert's.
2002-04-23 Herbert Voss <voss@perce.de>
* insetgraphic.C (prepareFile): fix bug with overwriting and
deleting an existing *.eps-file in the doc-dir
2002-04-23 Juergen Vigna <jug@sad.it>
* insettabular.C (drawCellSelection): fix off by 1 error.
2002-04-22 Juergen Vigna <jug@sad.it>
* insettabular.C (setFont): rewoke full selection if it was asked,
after we changed all we had to change.
* insettext.C (insetUnlock): code was uninitialized in some situations.
2002-04-19 Herbert Voss <voss@perce.de>
* insetgraphic.C (prepareFile): return filename without
extension if we only export without compiling
2002-04-19 Juergen Vigna <jug@sad.it>
* insettext.C (draw): call a fullRebreak on the row where we had a
change and reset the cursor and selection-cursors.
* insettabular.C (insetUnlock):
(insetButtonPress): call an update before setting the_locking_inset = 0
as otherwise we don't repaint!
(update): reset the cursor position when we changed dimensions as
otherwise our cursor may be on the wrong spot.
2002-04-18 Juergen Vigna <jug@sad.it>
* insettabular.C (localDispatch): repaint the cell if it was unlocked.
(unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
redraw otherwise we won't redraw.
* insettext.C (draw): fixed the setting of LyXText::first_y it was
not really right before, but I only discovered this with the last
changes to Page up/down.
2002-04-17 Juergen Vigna <jug@sad.it>
* insettext.C (checkAndActivateInset): simplified as we now have the
edit(bv, bool) call.
* insettext.h: changed behind variables to front variables to be
equal to the one in the edit call (as it is for that they are used).
2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
* insetnote.h (ascii): overide the InsetCollapsable::ascii method to
not output anything at all!
2002-04-16 Juergen Vigna <jug@sad.it>
* insettabular.C (insetButtonPress):
(insetUnlock): call a redraw on unlocking the cell inset.
* insettext.C (insetButtonPress): same as below.
(lockInset): new function to set initial values when inset should
be locked.
(insetButtonPress): use above function.
(insetUnlock): don't force a repaint only set the updateStatus. The
outside world should repaint if it thinks it should be done!
* insettabular.C (insetButtonPress): init values if not set as locked
as we are locked if someone presses on us and don't call the edit()
call of the InsetText to lock it do it as BufferView does it!
* inset.h (insetInInsetY): make func const and return an int.
* insettext.C:
* insettabular.C:
* insetcollapsable.C: adapt the above changed function.
2002-04-15 Juergen Vigna <jug@sad.it>
* insettext.C (getCursorPos): return relative position as to be able
to give them directly to the edit() call.
(edit): we have to set also x_fix as it is not set inside the
setCursorFromCoordinates call!
(insetMotionNotify): ditto.
2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
* insetbib.C (getKeys): strip leading '\t's from the line too.
With thanks to Henry Pfister <hpfister@ucsd.edu>.
2002-04-12 Juergen Vigna <jug@sad.it>
* insettext.h: added cix() helper function and use it where appropriate
2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetgraphics.C (prepareFile): fix bug when graphics is a
relative path
2002-04-12 Juergen Vigna <jug@sad.it>
* insettext.C (insertInset): remove unneeded code!
(updateLocal): fitCursor() fixes.
(collapseParagraphs): fix a possible problem when having a selection
and collapsing the paragraphs.
2002-04-08 Herbert Voss <voss@perce.de>
* insetgraphic.C (write): write the rotating angle as
a float as is. test only for != 0.0
2002-04-11 Juergen Vigna <jug@sad.it>
* insettext.C: new function ciy() and use it for setting inset_y.
* insetert.C (draw): fix the x return for collapsed version.
2002-04-07 Herbert Voss <voss@perce.de>
* insetgraphic.C (readFigInset): fix bug with subcaption and
rotating
2002-04-08 Herbert Voss <voss@lyx.org>
* insetgraphicsparam.C: forgot special option and delete old
1.2.0 stuff
2002-04-05 Juergen Vigna <jug@sad.it>
* insettext.C (localDispatch): make a CURSOR update if we inserted
a character.
2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetfloatlist.C (getScreenLabel):
(latex): use Floating::listName
(validate): new method
2002-04-03 Jos<6F> Matos <jamatos@fep.up.pt>
* insetlabel.C (docbook): the anchor is an empty element in docbook.
* insetfoot.[Ch] (docbook): added forgotten method.
2002-04-03 Juergen Vigna <jug@sad.it>
* insettext.C (insetButtonPress): fix insetButtonPress events the same
way as in Bufferview_pimpl.
2002-04-03 Allan Rae <rae@lyx.org>
* insetgraphics.C (latex): one % too many makes living on the bleeding
edge fun with less than 30 minutes to a meeting with a PhD supervisor.
2002-03-28 Herbert Voss <voss@lyx.org>
* insetgraphic.C (latex): simplify the code for the latex
output when the file doesn't exist
2002-03-29 Juergen Vigna <jug@sad.it>
* insettext.C (updateLocal): fixes to fitCursor calls when locking/
unlocking inset.
* insettabular.C (edit): call fitCursor().
* insettext.C (insetButtonPress): change behaviour of no_selection
to the one in the BufferView selection_possible and fix the spurious
selection bug with it.
(localDispatch): revoke selection on BREAK... functions.
2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetfloatlist.C (getScreenLabel): translate the GUI label.
2002-03-28 Juergen Vigna <jug@sad.it>
* insettabular.C (insetAllowed): return true as default value otherwise
we're not able to insert insets inside paragraphs of an not locked
insettext!
2002-03-27 Herbert Voss <voss@lyx.org>
* insetgraphicsparam.C: change c%, p% to col%, page%
2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetspecialchar.C (isLineSeparator): disable the nice code to
allow linebreaks after hyphenation and menu separators.
2002-03-26 Herbert Voss <voss@lyx.org>
* insetgraphics.C (figinsetRead): set the right lyxview
2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphicsParams.C (latexify): use \textbackslash in preference to
$\backslash$ and pass a "string const &" to the function.
(prepareFile, latex): use Path rather than MakeAbsPath.
2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphicsParams.C (Read): revert Herbert's fix and apply the
proper fix to the graphics cache.
(latex): "really" nice output if the file is not found ;-)
2002-03-26 Juergen Vigna <jug@sad.it>
* insettext.C (setText): added a LyXFont param and call reinitLyXText()
(collapseParagraphs): fixed inserting of separator ' '
* insettabular.C (insertAsciiString): only check for buffer lenght
not if we have \t or \n inside the buffer as if we don't have we only
have 1 cell and that's it!
* insetert.C (close): don't collapse if inlined.
2002-03-25 Herbert Voss <voss@lyx.org>
* insetgraphicsParams.C (Read): prevent LyX from hanging if the
graphics file does not exist.
2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphics.C (prepareFile): ensure that the file has an absolute
path when preparing export.
* insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
no longer MakeRelPath.
2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
Used to determine the absolute path to the graphics file in the
graphics cache and only in the graphics cache.
(readInsetGraphics, readFigInset) : no longer passed buffer. Do not
make graphics file name absolute if it is stored as a relative path.
* insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
make graphics file name absolute if it is stored as a relative path.
* insettext.C (edit): emit an updateParagraph signal on entering a text
inset. Needs to be emitted when leaving the inset also.
2002-03-21 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* all files: ws cleanup
* Makefile.am: remove ld -r stuff
2002-03-21 Juergen Vigna <jug@sad.it>
* insettext.C (appendParagraphs): new function added to append
the paragraphs to this insets paragraphs.
2002-03-20 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* Makefile.am: special rules if partial linking
2002-03-19 Juergen Vigna <jug@sad.it>
* insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphics.C: Clean up Baruch's comments a little.
(c-tor): remove code setting id_, as it's set in the Inset c-tor.
2002-03-14 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C:
* insettheorem.C: wrap warnings
* insetgraphics.C: improve messages, move cached_status_
setting to safer place
2002-03-18 Juergen Vigna <jug@sad.it>
* insettabular.C (unlockInsetInInset): removed unneeded showCursor
calls.
(localDispatch): ditto
* insettext.C (edit): removed unneeded showCursor calls.
(localDispatch): ditto.
2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetgraphics.h: remove display() method.
2002-03-11 Juergen Vigna <jug@sad.it>
* insetgraphics.C (draw): hack to fix the redrawing bug.
(draw): seems this fixes #268 (force redraw of row if we changed).
* insettext.C (updateInsetInInset): fixed for updates in insets inside
this inset text (don't know why I missed this earlier).
2002-03-08 Juergen Vigna <jug@sad.it>
* insettabular.C (updateLocal): do a FULL update if we're not locked
and only a CELL update is asked.
* insettext.C (updateInsetInInset): update insets inside inset also
if it isn't inside the_locking_inset.
* insettabular.C (updateInsetInInset): ditto.
2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetexternal.C (doSubstitution): check whether we are using a
temp dir for defining $$FPath
2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
* insettabular.C:
* insettext.C: remove #include "WorkArea.h".
2002-03-06 Juergen Vigna <jug@sad.it>
* insettext.C (draw): fixed frame redrawing.
(clear): forgot to set the inset_owner of the paragraph.
* insetert.C (status): pay attention the bv can be 0 here!
(getMaxWidth): add the default leftMargin
2002-03-06 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetert.C (getMaxWidth): make w unsigned int.
2002-03-05 Juergen Vigna <jug@sad.it>
* insetert.C (status): change behaviour of Inlined.
(getMaxWidth): added for new inlined behaviour.
2002-03-05 Jos<6F> Ab<41>lio Oliveira Matos <jamatos@novalis.fc.up.pt>
* insetnote.h (linuxdoc, docbook): add empty methods.
* insetinclude.C (validate): fix a case where buffer->niceFile was used
before being initialized.
2002-03-05 Juergen Vigna <jug@sad.it>
* insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
only that one in the inset. Should be enough.
(updateLocal): set the selection cursor always if we don't have a
selection to be sure it's set!
* insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
2002-03-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (clear): a gross hack to set layout on a newly
created paragraph.
2002-03-04 Juergen Vigna <jug@sad.it>
* insettabular.C (localDispatch): inserted handling of
LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
(insertAsciiString): new helper function.
2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
* insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
argument.
2002-03-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (InsetText): initalize newly created par with
default layout. add bufferparams parameter
first -> first_y
* insetcaption.[Ch] (InsetCaption): add BufferParams parameter
* insetcollapsable.[Ch] (InsetCollapsable): ditto
* insetert.[Ch] (InsetERT): ditto
* insetfloat.[Ch] (InsetFloat): ditto
* insetfoot.[Ch] (InsetFoot): ditto
* insetfootlike.[Ch] (InsetFootLike): ditto
* insetmarginal.[Ch] (InsetMarginal): ditto
* insetminipage.[Ch] (InsetMinipage): ditto
* insetnote.[Ch] (InsetNote): ditto
* insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
2002-03-02 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C: layout as string
* insetinclude.C: layout as string
* insetert.C: layout as string
* insetbib.C: layout as string
2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
* insetert.C:
* insettabular.C: remove #include "lyx_gui_misc.h".
2002-02-26 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am:
* figinset.h:
* figinset.C:
* inset.h: remove figinset, yahoo !
2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphics.C (c-tors): initialise parent classes explicitly in
copy c-tor and initialise member variables in the correct order.
2002-02-28 Juergen Vigna <jug@sad.it>
* insettabular.C (localDispatch): clear selection on PgUp/Down.
2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* inset.h: ... and add a better one here.
* insetcommand.C (insetButtonRelease): remove that one which was a
bit broken...
2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetcommand.C (insetButtonRelease): ... and move it here.
* inseturl.h: remove insetButtonRelease from there...
2002-02-26 Juergen Vigna <jug@sad.it>
* inseturl.h: Added a insetButtonRelease call returning true as
prove of concept.
* insetlabel.C (edit): Fixed wrong update handling after change I
leave in the wrong code for the one who wrote it to remove and have
a look what he did wrong.
* insettabular.C (localDispatch): force a SELECTION update if we
had a selection and we passed the event down to the inset (fix #213)
(localDispatch): handle font changing stuff when we have a cell
selection so that the selection is not rewoked. I don't really like
this fix, but it's the only way I see to do it right now.
2002-02-22 Juergen Vigna <jug@sad.it>
* insettext.C (insetUnlock): set the cursor to the second paragraph
if available and if the first one is empty (fix #191).
2002-02-20 Juergen Vigna <jug@sad.it>
* insettext.C (getDrawFont): implemented this function to call the
one of the owner if present as the owner normally knows what to do
with us.
* insetert.C: implement getDrawFont() function and comment out all
the crap for setting a special latex font inside this inset.
(InsetERT): added a Lanugage parameter to this constructor.
* inset.h: added function getDrawFont(LyXFont & font) to be able to
change the font for being drawn on screen (used only in InsetERT for
now).
* insettabular.C (draw): clear the parts around a cellinset ALWAYS
and also above (was missing).
(updateLocal): don't remove the cell selection if we have one this
should be done where we really want to remove it.
2002-02-20 Jos<6F> Matos <jamatos@fep.up.pt>
* insetinclude.h: include_label made string const.
* insetinclude.C (InsetInclude): moved include_label initialization.
(linuxdoc):
(docbook):
(validate): fix support for temporary directory, for docbook and
linuxdoc.
* insetgraphics.h : new private member, graphic_label, that holds
the entity name that defines the graphics location (SGML).
* insetgraphics.C (unique_id): new function to give a unique label
for graphic.
(docbook):
(validate): the file locatation is given by an entity reference.
2002-02-18 Herbert Voss <voss@lyx.org>
* insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
* insetexternal.C Changes due to the renaming of support/syscall.[Ch]
as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2002-02-18 Jos<6F> Matos <jamatos@fep.up.pt>
* insetinclude.C (validate): some code only applies to latex buffers,
it was made conditional.
2002-02-12 Herbert Voss <voss@lyx.org>
* insetgraphics.C: (prepareFile) do not check at this time
if the file is present.
2002-02-12 Herbert Voss <voss@lyx.org>
* insetgraphics.C: latex(), return the correct newlines
2002-02-13 Jos<6F> Matos <jamatos@fep.up.pt>
* inseturl.C (docbook): escape & in url.
2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetspecialchar.C (isLineSeparator): line breaking is allowed
after HYPHENATION and MENU_SEPARATOR
* inset.h (isLineSeparator): new method, returns false by default.
2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetert.C (status): do not update the text inset, but the ERT
inset.
2002-02-11 John Levon <moz@compsoc.man.ac.uk>
* insetnote.C: use notebg for background
2002-02-08 Herbert Voss <voss@lyx.org>
* insetgraphic.C:
* insetgraphicsParams.[Ch]: adding new Option noUnzip to
prevent LyX from unzipping when this should be handled
by latex vis the graphic.cfg.
clean up the code
2002-02-08 Herbert Voss <voss@lyx.org>
* insetgraphic.C: prepareFile(): fix bug when file doesn't
exists, than return filename with extension
2002-02-06 Herbert Voss <voss@lyx.org>
* insetgraphic.C: prepareFile(): don't convert the file, when
it's not viewed in LyX. Saves a lot of time when opening a
document!
2002-02-05 Herbert Voss <voss@lyx.org>
* insetgraphic.C:
* insetgraphicsParams.[Ch]: some cosmetic changes to latex output
and adding a rotate bool similiar to subcaption
2002-02-04 Herbert Voss <voss@lyx.org>
* insetgraphic.C:
* insetgraphicsParams.[Ch]: add a LyXView-scale to have a
similiar view to the LaTeX one. Get zipped files work.
2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphicsParams.C (init): set display to DEFAULT.
No longer #include "lyxrc.h".
2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
for now (so that the code compiles).
2002-02-02 Herbert Voss <voss@lyx.org>
* insetgraphic.C: delete inVariant() and some minor changes
* insetgraphicsParams.[C]:
2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphics.C (updateInset): if params.display == DEFAULT,
interogate lyxrc.display_graphics before diaplaying the graphic.
* insetgraphicsParams.[Ch]: respect the new DEFAULT state of
InsetGraphicsParams::DisplayType.
2002-01-31 Herbert Voss <voss@lyx.org>
* insetgraphic.C: (readfigInset) set display to pref-default
2002-01-30 Herbert Voss <voss@lyx.org>
* insetgraphic.C: get the filetyp from it's contents
* insetgraphicparams.C: add token scale and lyxrc.display when
creating a new inset
2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
* figinset.C: added using std::ios directive.
2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* figinset.C (runqueue): open translation file in binary mode (for
cygwin).
2002-01-27 Herbert Voss <voss@lyx.org>
* insetgraphic.[Ch]: mostly newritten to support graphicx with
all options and to be sure that the old figinsets are correct
converted.
* insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
structure and to support all lengths as LyXLength. The Parameter
structure changed again, but reading of "old" 1.2 graphic insets
is no problem.
2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
* insetert.h (forceDefaultParagraphs): Added
2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettabular.C (getMaxWidth):
(forceDefaultParagraphs): use Tabular::GetCellFromInset
2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettabular.C (getMaxWidthOfCell): adapt to the new definition
of LyXLength::inPixels
* inset.C (latexTextWidth):
* insetminipage.C (latexTextWidth): new method, which implements
the equivalent of the LaTeX macro \textwidth
* insetminipage.C (getMaxWidth): use latexTextWidth
2002-01-18 Juergen Vigna <jug@sad.it>
* inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
* insetminipage.[Ch]: change width_ and height_ to be LyXLength
instead of string
2002-01-17 Juergen Vigna <jug@sad.it>
* insettabular.C (lockInsetInInset): same change as in insettext.
* insettext.C (draw): width() function was called without setting
the right top_x which could lead to wrong insetWidth setting!
(lockInsetInInset): call edit instead of calling lockInset if we
have to lock an inset inside!
(edit): we have to also tell the inset that we have to redraw the
frame on an edit call if this inset draws a frame only if locked.
2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetbib.C (getFiles): uncomment Path variable.
2002-01-16 Juergen Vigna <jug@sad.it>
* insettabular.C (forceDefaultParagraphs): fixed bug returning value
of wrong cell.
2002-01-16 Allan Rae <rae@lyx.org>
* insetinclude.C (docbook): someone forgot a ";"
2002-01-16 Jos<6F> Matos <jamatos@fep.up.pt>
* figinset.C (docbook): removed a old place holder "@".
* insetgraphics.C (docbook): remove the file sufix if graphic is eps.
* insetinclude.C (linuxdoc): if include is verbatim, then export the
ascii text version, clearly guarded inside a CDATA section.
(docbook): in docbook 4, inlinegraphics is empty.
* insettabular.C (linuxdoc): export the ascii version of the table
inside a CDATA section.
2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetparent.C (InsetParent):
* insetgraphicsParams.C (Write):
(Read):
* insetgraphics.C (prepareFile):
(readFigInset):
(docbook):
* insetexternal.C (executeCommand):
(doSubstitution): use Buffer::filePath
* insetbib.C (getFiles): add a #warning for Angus
* insetgraphics.C: Add a remark about how filenames should be
considered to be relative to buffer (but absolute is still allowed)
(draw): do not try to get status if lyxrc.use_gui is false
2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
* inset.[Ch]:
* insetcollapsable.[Ch]:
* insettabular.[Ch] (searchForward, searchBackward): change the
bool const & params to bool.
* insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
to avoid the name clash with InsetCollapsable's methods of the same
names but different functionality.
2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
* insettext.C (ascii): use lyx::count rather than countChar.
2002-01-14 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetgraphics.C (updateInset): do not try to render image if
lyxrc.use_gui is false (bug #104)
* insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
if file does not exist
* figinset.C (browseFile): add shortcuts to directory buttons
* insettext.C (updateLocal): update menubar and toolbar here too.
2002-01-13 Allan Rae <rae@lyx.org>
* insettabular.C (InsetTabular): Both constructors now initialise
all class variables.
2002-01-11 Juergen Vigna <jug@sad.it>
* insettext.C (insetButtonPress): set the_locking_inset to 0.
2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettabular.C (getStatus): add forgotten brace around multiline
if statement.
2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetfloat.C (validate): require "float" instead of "floats".
2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
* insettabular.C (getStatus): use FuncStatus
2002-01-08 Juergen Vigna <jug@sad.it>
* insettabular.C (insetButtonRelease): now this should work too
correctly.
* insetminipage.C (getMaxWidth): fixed for minipage inside insets and
if the width is a percentage.
* inset.h: added isChar() function and implemented this for
insetspecialchar insetquotes and insetlatexaccent.
added forceDefaultParagraphs() and implemented it for insettabular.
2002-01-07 Juergen Vigna <jug@sad.it>
* insettext.C (getLyXText): Fixed this function. An insert into the
map is only done if we REALLY have a new BufferView.
2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
* insettext.C: fix bug illustrated by attachment #37 of bug #59
2002-01-05 John Levon <moz@compsoc.man.ac.uk>
* insetinclude.C: fix use of FileInfo
2002-01-07 Juergen Vigna <jug@sad.it>
* insettabular.C (draw): fixed clearing of cell around inset.
2002-01-05 Juergen Vigna <jug@sad.it>
* insettext.C (draw): move the calls so that insetWidth/Asc/Desc
variables are updated.
* insettabular.C (resetPos): set always the inset_y as it may be
needed in another function.
(searchBackward): don't draw while searching.
2002-01-04 Juergen Vigna <jug@sad.it>
* insettext.C (lockInsetInInset): forgot to set a cursor.
2002-01-02 Juergen Vigna <jug@sad.it>
* insettext.C (insertInset): make the correct undo informations on
inserting new insets.
2001-12-31 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C: correct single-cell select vertically
2001-12-27 Juergen Vigna <jug@sad.it>
* insettabular.C (ascii): export as tab-separated-values if the
function was not called from export (f.ex.: clipboard).
* insetcollapsable.h: added default support for ascii, linuxdoc and
docbook export (the insettext is exported by default!)
* insettabular.C (copySelection): suff the clipboard with the tabular
data in a tab separated format, seems more naturals then with all the
formating.
2001-12-24 Juergen Vigna <jug@sad.it>
* insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
to check for REAL mouseMotion.
2001-12-20 Juergen Vigna <jug@sad.it>
* inset.C (cursor): return the owners cursor if available instead of
always only the bv->text->cursor.
* insettabular.C (checkLongtableSpecial): works now.
2001-12-19 Juergen Vigna <jug@sad.it>
* insettabular.C (tabularFeatures): fix the row setting of ltt as
this has to be always row + 1 as 0 means not selected!
(checkLongtableSpecial): added
(tabularFeatures): better longtable options support
* insettext.C (resizeLyXText): reinit the text always also on a
empty insettext!
2001-12-18 Juergen Vigna <jug@sad.it>
* insettext.C (updateInsetInInset): look if we have to autocollapse
paragraps and return if the update is requested for ourself.
* insetert.C (status): update the insettext not myself as that is what
we need.
* insetcollapsable.C (updateInsetInInset): always call the InsetText's
function only return if the update was requested with myself.
* insettext.C (insetButtonPress): fixed stupid bug.
(various functions): pay attention that lt is cleared BEFORE calling
updateLocal() and try to use it in the right manner (don't use it
if it's not really neccessary!)
(collapseParagraphs): insert a blank between collapsing paragraphs
if neccessary (not already there!).
2001-12-18 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettabular.C: move includes around a bit, add a couple of
consts.
* insettext.[Ch]: move includes around a bit, other ws changes and
small stuff.
2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettext.C (insetButtonRelease): fix compile problem
2001-12-17 Juergen Vigna <jug@sad.it>
* insettext.C (insetButtonPress): set the selection cursor!
(insetButtonPress): clear the selection (and set with that the
selection.cursor) if we only hit an inset!
* insetert.C (read): removed piece of compatibility code only needed
for 1.2.0.
* insettabular.C (insetButtonRelease): fixed so that sub-dialogs
can be opened.
* insetcollapsable.C (insetButtonRelease): changed so that it can
open eventual existing popup dialogs on mousebutton==3.
* insetfloat.C (insetButtonRelease): removed not needed anymore!
* insetminipage.C (insetButtonRelease): removed not needed anymore!
* inset.C (insetButtonRelease): return a bool for telling the outer
world that we opened a dialog.
2001-12-07 Juergen Vigna <jug@sad.it>
* insettext.C (paragraph): remove the deleteing of paragraphs as
it was a WRONG move!
2001-12-06 John Levon <moz@compsoc.man.ac.uk>
* insettabular.h:
* insettabular.C: use new setSelection(). Allow
selection of single cells.
2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetquotes.C (latex): fix to use the local language setting at
the point where the inset is inserted (different macros for
different french packages)
2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* inset.h: add par_owner_ member variable and parOwner
setter/accessor.
2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettabular.C (everywhere): adapt because widths are now real
widths and not strings
* insettext.C (draw): re-introduce the calls to width(), ascent()
and descent() to initialize the caching variables.
2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettext.C (draw):
(drawFrame): use insetWidth instead of last_width
* insettext.h: remove variable last_width (insetWidth is exactly
the same) and last_height (computed but never used!)
2001-12-10 Allan Rae <rae@lyx.org>
* insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2001-12-05 John Levon <moz@compsoc.man.ac.uk>
* insettext.C (insetAllowed): add comment
2001-12-05 Juergen Vigna <jug@sad.it>
* insettext.C (insetAllowed): fixed for the case that we directly
ask the insettext from its LyXText.
(paragraph): fixed the crash when assigning the par->next() from
the EmptyParagraphMechanism!
2001-12-05 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetbib.C:
* insettabular.C:
* insettext.C: change "while(" to "while ("
2001-12-04 Juergen Vigna <jug@sad.it>
* insetert.C (edit): handle Inlined status.
* insettext.C (insertInset): trying John's fix for the trailing cursor
* insetert.C (insetButtonPress): added to handle inlined status
(insetMotionNotify): ditto.
* insettext.C (clearInset): changed Painter & in BufferView * param,
to be able to call ascent,descent methods.
2001-12-03 Juergen Vigna <jug@sad.it>
* insettext.C (updateInsetInInset): use lt variable to forbid
changes of LyXText in an update call.
(updateInsetInInset): fixed updating of non locked insets!
2001-12-01 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C: capture some more functions to prevent
selection drawing problems. Bug #451274
2001-12-01 John Levon <moz@compsoc.man.ac.uk>
* insetgraphics.C:
* insetgraphicsParams.C: fix inverted sense of float_equal
2001-11-30 Juergen Vigna <jug@sad.it>
* insettabular.C (InsetTabular): use the save_id flag to create also
the tabular with the same id's.
* insettext.C (setParagraphData): added a same_id function for undo
to set the same paragraph id's as of the paragraph we are setting.
2001-11-30 Jos<6F> Matos <jamatos@fep.up.pt>
* inseturl.[Ch]:
* insettoc.[Ch]: DocBook -> docbook.
2001-11-29 Andr<64> P<>nitz <poenitz@gmx.net>
* inseterror.C:
* insettext.C: further reduction of header dependencies by using
lyx::layout_type and lyx::textclass_type from support/types.h
2001-11-29 Juergen Vigna <jug@sad.it>
* insettext.C: inserted a reinitLyXText function everywhere I delete
the paragraphs! This should fixe the crashes we had.
Also use the new function firstRow() instead of getRowNearY(dummy_y)
(paragraph): set the InsetOwner() of the new paragraphs!
2001-11-28 Andr<64> P<>nitz <poenitz@gmx.net>
* insetnote.C: add pos initialization that I removed without
knowing what I did.
2001-11-28 Juergen Vigna <jug@sad.it>
* insettabular.C (resetPos): hack to not crash with infinite paints.
* insettabular.h: insert missing function allowSpellcheck()!
* insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2001-11-04 John Levon <moz@compsoc.man.ac.uk>
* insetfloatlist.h:
* insetfloatlist.C: derive from InsetCommand so gui can use it
easily
2001-11-26 Andr<64> P<>nitz <poenitz@gmx.net>
* insettext.[Ch]:
* insetert.C:
* insetnote.C: reduce header dependencies, introduce type for
positions
2001-11-23 John Levon <moz@compsoc.man.ac.uk>
* various: update for Alert.h
2001-11-22 John Levon <moz@compsoc.man.ac.uk>
* inset.h: fix comment
* insettext.C: use par->isInset()
2001-11-22 Allan Rae <rae@lyx.org>
* insetcollapsable.h:
* inset.h: Changes to checkInsertChar() behaviour.
Now return value indicates whether chars can be inserted.
2001-11-11 Michael A. Koziarski <michael@koziarski.org>
* various: updated to use the new LaTeXFeatures
2001-11-14 Jos<6F> Matos <jamatos@fep.up.pt>
* insetspecialchar.C (linuxdoc):
(docbook): don't give a name to a unused variable.
* insettext.C (docbook): removed unused variable.
2001-11-13 Herbert Voss <voss@perce.de>
* insetgraphic.C: fix scale bug
2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* inset.h (isSpace):
(isLetter): new virtual methods.
* insetspecialchar.C (isSpace):
(isLetter): implement here.
2001-11-04 John Levon <moz@compsoc.man.ac.uk>
* inset.h: new inline helpers
* insettext.C: use new helpers
2001-11-07 Jos<6F> Matos <jamatos@fep.up.pt>
* insettext.C (docbook): full support for paragraphs inside insettext.
2001-11-06 Jos<6F> Matos <jamatos@novalis.fc.up.pt>
* insetindex.C: added header file for std::ostream.
2001-11-03 Jos<6F> Matos <jamatos@fep.up.pt>
* insetindex.C: added using std::ostream that I forgot yesterday.
2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
* insetindex.h (docbook):
* insetindex.C (docbook): added support for docbook export.
2001-11-02 Jos<6F> Matos <jamatos@fep.up.pt>
* insetcaption.C(docbook): added support for docbook export.
2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
* insetexternal.C (updateExternal): Do not run update command if
result file exists and is up to date.
* ExternalTemplate.C (readFormat): Support the updateresult token.
2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
* insetexternal.C (doSubstitution): Fix filepath ($$FPath in
external_templates) to use the buffer->fileName() but only if
previewing. Generating a TeX file should make FPath return
"".
2001-10-30 John Levon <moz@compsoc.man.ac.uk>
* insetert.h:
* insetert.C: fix some problems
2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
* insetexternal.C (doSubstitution): Added $$FPath token
to list of usable substitutions in external inset templates.
2001-10-24 Juergen Vigna <jug@sad.it>
* insettabular.C: use new ltType struct for setting longtable
header and footers also new UNSET enums.
2001-10-24 Jos<6F> Matos <jamatos@fep.up.pt>
* insettabular.C (linuxdoc): Now exports the ascii's table version.
(docbook): If the table is not inside a float then wrap it inside
<informaltable>...</informaltable>.
2001-10-23 Jos<6F> Matos <jamatos@fep.up.pt>
* insetref.C (docbook): removed / terminator to conform SGML.
* insetspecialchar.C (linuxdoc):
(docbook): Added support for special chars, more than ascii export.
2001-10-22 Juergen Vigna <jug@sad.it>
* insettext.C (checkInsertChar): added for REALLY checking the
font of the inserted char in the right inset!
2001-10-19 Juergen Vigna <jug@sad.it>
* inset.h: added method allowSpellcheck() so that insets who do
not have anything to spellcheck can tell and so they are over-jumped.
Implemented for InsetText and co.
2001-10-18 Juergen Vigna <jug@sad.it>
* inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2001-10-15 Jos<6F> Matos <jamatos@fep.up.pt>
* insetert.C: allow export for docbook and linuxdoc
2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
* insetquotes.C (dispString): handles latin3 and latin4 quotes
2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetquotes.C (dispString): fix handling of latin9 quotes
2001-10-03 Juergen Vigna <jug@sad.it>
* insetert.C: ditto
* insetcollapsable.C: change updateInset calls to not tell BV that
we have changed status.
2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insettabular.C (deletable): make const
2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
* insetert.C (latex): Fix the returned value
2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
* insetert.[Ch] (selectNextWordToSpellcheck): new method.
Returns string(), so nothing in an ERT inset is spellchecked.
* insetgraphics.C (draw): print the filename if not displaying the
image.
(width): make sure that the width and draw methods are consistent.
(updateInset): don't even load the image into cache if not displaying
it.
2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
* various files (selectNextWord): renamed as
selectNextWordToSpellcheck.
* insetgraphics.C (draw): remove the previous change. Right place
is in imageLoaderXPM.C.
(draw): don't display the image if params.display == NONE.
2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
* figinset.C (runqueue):
* insetgraphics.C (draw): set background colour of inset from
background to the user-configurable graphicsbg.
2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetquotes.C (InsetQuotes): when trying to decide the side of
the quote, choose `left' only after a space or '('
2001-09-04 Jos<6F> Matos <jamatos@fep.up.pt>
* figinset.C
* figinset.h
* insetcaption.C
* insetcaption.h
* insetcollapsable.h
* insetcommand.C
* insetcommand.h
* inseterror.h
* insetert.C
* insetert.h
* insetexternal.C
* insetexternal.h
* insetfloat.C
* insetfloat.h
* insetfloatlist.h
* insetgraphics.C
* insetgraphics.h
* inset.h
* insetinclude.C
* insetinclude.h
* insetlabel.C
* insetlabel.h
* insetlatexaccent.C
* insetlatexaccent.h
* insetquotes.C
* insetquotes.h
* insetref.C
* insetref.h
* insetspecialchar.C
* insetspecialchar.h
* insettabular.C
* insettabular.h
* insettext.C
* insettext.C (docbook): rename docBook method to docbook.
2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
* inset.h (getFirstParagraph): New virtual method.
2001-08-20 Herbert Voss <voss@perce.de>
* insetbib.C: added a option bibtotoc which is from "BIB to TOC"
in the the bibtex-database-gui for inserting a line
\addcontentsline...
If no style is given than there is no tex-output.
2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
* insetbib.[Ch] (getFiles): new method, returning the BibTeX database
files as a vector.
(getKeys): use it.
2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
* insetert.C (latex): Fix output for multiple paragraphs.
(write): New code for writing paragraph data.
(read): Set font after reading the inset.
(localDispatch): Call set_latex_font() for more cases.
* insetnote.h: Add empty validate method.
* insetert.h: Ditto
* insetnote.C (InsetNote): Set language to the language of the
document.
2001-08-16 Juergen Vigna <jug@sad.it>
* insettext.C: implemented the new FINISHED states.
* insettabular.C: ditto
* inset.h: added more FINISHED states for cursor right,up,down
2001-08-16 John Levon <moz@compsoc.man.ac.uk>
* insetfloatlist.C: use "FloatName List"
2001-08-14 Juergen Vigna <jug@sad.it>
* insetert.C (edit): forgot to set status_ in edit calls!
2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
* insettext.C: Compilation fix
2001-08-13 Juergen Vigna <jug@sad.it>
* inset.C (getMaxWidth): fixed bug of returning the wrong max width.
* insetcollapsable.C (edit): don't recollapse an already open inset.
* insettext.C: fixed problem when reinitializing LyXText by not doing
it while lt is in use and post this to the next possible time in
getLyXText().
(searchForward): fixed not unlocking of inset if nothing found.
(edit): set cursor behind right (was set -1 pos).
* insetert.C (InsetERT): init status_ also in the 3rd constructor.
* insettabular.C (tabularFeatures): fixed fix where deleting the
last row didn't get the right actcell!
2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
* insettext.C (localDispatch): Change language only when the inset
becomes empty.
2001-08-10 Juergen Vigna <jug@sad.it>
* insettabular.C (selectNextWordInt): use the front using edit call.
* insetcollapsable.C (getMaxWidth): rename inset to in to not have
the parameter overwrite class variable inset.
* inset.C (getMaxWidth): fix the setting of the minwidth = 10.
* insettext.C (saveLyXTextState): check for invalid cursor-par.
(reinitLyXText): remove wrong_cursor bool as not needed anymore!
* insettabular.C (calculate_dimensions_of_cells): let's try to call
update only for fixed with cells.
(resetPos): try to fix the lockup on spellchecking or s&r.
* insettext.C (update): comment this out as it seems first wrong
and second not needed anymore!
(some functions): call reinitLyXText() only in update() in all other
positions set only need_update = INIT.
2001-08-08 Juergen Vigna <jug@sad.it>
* insettabular.C (setPos): fixed wrong actrow < rows() check.
* insettext.C (insetUnlock): remove double-space on inset unlock.
* insetcollapsable.C (draw): fix returned x when label > inset-width.
* insettabular.C (update): fixed cursor positon after an insert.
(insetAllowed): do not allow to insert insets when not inside the
inset!
(draw): clear below an inset too as it could have changed height.
* inset.C (getMaxWidth): fixed width for inset in inset.
* insettext.C (update): small fix.
* insettabular.C (tabularFeatures): added selection support to
DELETE_ROW/DELETE_COLUMN.
2001-08-07 Juergen Vigna <jug@sad.it>
* inset.C (getMaxWidth): recoded and all it's implementations!
* insettext.C (init,setParagraph+constructors): cleanups
(reinitLyXText): fixed problem with wrong cursor when all paragraphs
are new and I want do a save/restore of the cursor position which is
not possible anymore.
* insetcollapsable.C (searchBackward): recollapse inset if not found.
(searchBackward): ditto
(selectNextWord): ditto
2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
* insetlatexaccent.C (checkContents): Add some debug messages
2001-08-07 Juergen Vigna <jug@sad.it>
* insetert.C (read): don't use InsetCollapsable::read as we don't
write the collapsed status anymore only the status.
(write): ditto.
2001-08-06 Juergen Vigna <jug@sad.it>
* insetert.C (set_latex_font): use LyXText's setFont directly.
* insettext.C (drawFrame): fixed one time more the right position
and size of the frame!
* insetert.C (~InsetERT): hide the dialog.
(showInsetDialog): added implementation
(open): ditto
(close): ditto
(status): new function for the status of the ERT inset (3-state).
(write): output also the status of the inset for readback!
(read): readback the status if available otherwise use collapsed_.
* insettext.C (edit): small fix of setting the position, which could
have gone < 0.
* insetert.C (width): implement this function for inlined viewing.
Added minimum width of 10 pixels!
* insetminipage.C (InsetMinipage): just change the colors a bit so
that border/background is a bit more visible. We will remove this
anyway for 1.2.0!
* insettext.C (textWidth): add a 'bool fordraw' parameter and use this
function for getting the important widths for drawing in various
functions and in LyXText.
(draw): fixed up a bit (frame drawing/clearing)
2001-08-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* inset.C (convertFont): delete method. not used.
2001-08-03 Juergen Vigna <jug@sad.it>
* insettext.C (setFont): don't call for a draw update if we're just
changing the cursor font!
2001-08-02 Juergen Vigna <jug@sad.it>
* insettext.C (draw): clear the background with the right color if
needed. Update myself if x&max-width changed and return without doing
anything. Let the update code handle the right stuff.
* insetminipage.C (getMaxWidth): fixed returning of maxwidth when
inside another inset.
2001-08-01 Juergen Vigna <jug@sad.it>
* insetcollapsable.C (update): added an in_update bool so we avoid
reentering.
* insettabular.C (update): added an in_update bool so we avoid
reentering.
* insettext.C (insetButtonPress): hopefully fixed setselection/clear
selection problem.
(update): added an in_update bool so we avoid reentering.
* insettabular.C (localDispatch): clear col/row selection when doing
something else inside an inset.
* insettext.C (getLyXText): fixed bug when requesting a recursive
insettext!
2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
* insetcite.C (latex): Paranoia check. Make sure that there is no
whitespace between the citation keys.
2001-07-31 Juergen Vigna <jug@sad.it>
* inset.h (nodraw): make the set function also const so that this
can be called from inside other const functions.
* insetcollapsable.h: removed inline variable and moved it over
to the only user InsetERT.
* insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
inset opening immediately therein lying insets dialogs!
* insetert.C (localDispatch): set the font also if we don't have any
chars in this paragraph, otherwise if we delete all of em and start
writing we have the wrong font.
(inlined): added
(draw): implemented for inline support
(insetButtonRelease): ditto.
2001-07-30 Juergen Vigna <jug@sad.it>
* insettext.C (reinitLyXText): new function to reinit the insets
text after lot's of paragraph changes. Use this instead of the
cache.clear() which is VERY dangerous.
* insetfloat.C (insetButtonRelease): we should only show the dialog
if we press on the label otherwise we have problems to open mouse
button 3 dialogs inside this float (f.ex. of a tabular!)
2001-07-30 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetert.C: change back to "ERT"
* insetfloat.C: handliign of RMB on label added.
2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetgraphicsParams.C: #include LOstream.h here.
* insetfoot.h: remove InsetFoot:: qualifier.
2001-07-29 Baruch Even <baruch@lyx.org>
* ChangeLog: Hiding time travel evidence.
* insetgraphicsParams.h:
* insetgraphicsParams.C:
* insetgraphics.C: Added horizontal scale option, it actually scales both
directions since it keeps image proportions.
* insetgraphics.C: Fixed EPS detection to be non-hacky.
2001-07-29 Baruch Even <baruch@lyx.org>
* insetgraphics.C (decideOutputImageFormat): when doing postscript output
convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
HACKY! Will need to add an EPS detection routine like old InsetFig does!
2001-07-29 Baruch Even <baruch@lyx.org>
* insetgraphics.C: Added EPSI to be an alias of EPS.
2001-07-29 Baruch Even <baruch@lyx.org>
* insetgraphics.C: Change GRAPHICS to Graphics.
Changed image conversion rules (documented at the beginning of file).
2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
* insetert.C (get_new_label): int -> Paragraph::size_type to get
std::min working.
* insetgraphics.C: added a using std::endl directive.
* insetcommand.h (getScreenLabel): removed pure virtual function,
as it duplicates that in InsetButton.
* insetbib.[Ch] (getScreenLabel):
* insetbutton.[Ch] (getScreenLabel):
* insetcite.[Ch] (getScreenLabel):
* insetert.[Ch] (getScreenLabel):
* insetexternal.[Ch] (getScreenLabel):
* insetfloatlist.[Ch] (getScreenLabel):
* insetinclude.[Ch] (getScreenLabel):
* insetindex.[Ch] (getScreenLabel):
* insetlabel.h (getScreenLabel):
* insetparent.[Ch] (getScreenLabel):
* insetref.[Ch] (getScreenLabel):
* insettoc.[Ch] (getScreenLabel):
* inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
* insetcite.C (getScreenLabel): use this Buffer parameter in creating
the label.
(validate): remove check on "cite" when using natbib.
2001-07-26 Baruch Even <baruch@lyx.org>
* insetgraphics.C (draw): changed casting to be in one place rather than
all over the function.
* insetgraphics.h:
* insetgraphics.C (read): Added compatibility reads of InsetFig.
* insetgraphicsParams.h:
* insetgraphicsParams.C:
* insetgraphics.C: Removed inline option and changed rotateAngle to float.
2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
* insetfoot.C (validate): Added method to ensure that the
right bit of LaTeX is emitted.
* insetfoot.h: Added validate method to set the correct
LaTeXFeatures bit for the special footnote code.
2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
* insetquotes.C (dispString): display the right ISO8859-{1,9,15}
quotes
2001-07-27 Juergen Vigna <jug@sad.it>
* inset.h: remove not used font variable in parameter.
removed checkInsertChar in UpdatableInset as it was equal to
the one in Inset and so not needed.
* insetert.C (checkInsertChar): implementation of function
checkInsertChar.
* inset.h: added new function checkInsertChar.
* various files: added c-tor and clone() function.
* insetcollapsable.h: removed clone function here as this should
be only realized in REAL insets and added it to all collapsable
insets! (with the copy-constructor).
2001-07-26 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetminipage.C (read): handle missing parameters more gracefully
* insetcollapsable.C (read): handel missing collapsed more gracefully
2001-07-25 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetfloat.C (read): handle missing parameters.
* insettext.C (read): handle old latex end_inset
* insetert.C (setButtonLabel): new method
(init): use it, to set the dynamic label correctly
(read): use it
* Makefile.am (EXTRA_DIST): add files that is not part or the
binary here.
* insetcollapsable.h: remove autocollapsable (no users), remove
draw_label, change_label_with_text and companion code. Remove args
from some methods.
* insetert.[Ch]: move here instead (only user)
* inset.h: rename private variable name to name_, make
selectNextWord return a const string. make getInsetName return a
string const &. Remove bool from open, add close.
* Makefile.am: don't compile insetlist, insetsection
and insettheorem
2001-07-24 Juergen Vigna <jug@sad.it>
* insetert.C (InsetERT): put init after the paragraph initialization,
as otherwise we don't set the draw_label right.
* insetcollapsable.C (insetMotionNotify): fixed opening/closing the
insets with the mouse without having strange selections.
(edit): if the inset was collapsed and we open it here then put the
cursor always at the beginning of the inset.
(get_new_label): 15 instead of 10 max chars in the label.
* insetert.C (localDispatch): added and handle various stuff we
need to handle here (font setting on paragraph break, not permitted
layout setting, etc.).
* inset.h: added default copy-consturctor and implemented this in
various insets with the change to use this in the clone function!
2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetminipage.C (InsetMinipage): set background color to red :)
2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insettext.C (insetUnlock): only set update to CLEAR_FRAME if
draw frame mode is LOCKED.
* insetcollapsable.C (edit):
(insetButtonRelease): set update status to full when
opening inset.
* insettext.C (clearInset):
* insettabular.C (draw):
* insetlatexaccent.C (draw): honor background color.
* inset.h: new member background_color_, initialized to
LColor::inherit.
* inset.C (backgroundColor): new method.
(setBackgroundColor): new method.
* insetert.C (init): new method, called by the ctors.
(InsetERT): when inserting contents, make sure the font is
ALL_INHERIT.
* insetnote.C (InsetNote): when inserting content, remove trailing
newline
(init): set background color to LColor::note
2001-07-24 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetcollapsable.C: adjust
* insetbutton.C: adjust
2001-07-23 Juergen Vigna <jug@sad.it>
* insetcollapsable.h: removed widthCollapsed variable, LyXFont
parameter on the _collapsed function (was not needed) and call
always width_collapsed().
* insetert.C (InsetERT): use setLabel with "true" flag.
* insetcollapsable.C: modified various functions to set the draw_label
string right in any condition.
(setLabel): added a bool parameter to set change_label_with_text.
* insetcollapsable.h: added draw_label string which is set to the
actual drawn label-string, while label is the original static label
of this collapsable inset. Added bool change_label_with_text to set
if we want that the label changes to the start of the InsetText's
text when collabpsed. You can set this flag with the setLabel funciton.
Added bool inlined for inlined collapsable insets, but not handled
yet.
* insetcollapsable.C (get_new_label): added should get a new label
from the InsetText beginning (for now 10 chars).
2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
* insetquotes.C (latex): fix the handling of french double quotes
when not using the french pachage.
2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetcollapsable.h: make WidthCollapsed mutable.
* insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
InsetPrintIndex returns INDEX_PRINT_CODE.
* inset.h: add INDEX_PRINT_CODE
* insetcollapsable.C (draw): init widthCollapsed if necessary
(width): ditto.
* insetquotes.C (width): use the local language, not the document
language.
(draw): ditto.
(dispString): add additional spacing for all french languages,
like fr_CA.
(validate): make it work when there is no default language
* insetspecialchar.h: rename kind to kind_; add kind() accessor.
* insetnote.C (init): new method, called by the constructors
(InsetNote): new constructor with contents passed as a string
2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetfootlike.C (insetAllowed): disallow float in footlike.
* insetert.C (InsetERT): add collapsed argument to the constrctor
with contents.
2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetindex.h: shut off warning
2001-07-20 Juergen Vigna <jug@sad.it>
* insetcollapsable.C (update): recoded hopefully works now!
2001-07-19 Juergen Vigna <jug@sad.it>
* most files: implemented the below new introduced function.
* inset.h: added new edit(BufferView *, bool front) method to be able
to enter an inset from the front/back without knowing x/y positions
and baselines inside the inset. So I just can tell the inset activate
me and set the cursor on the front/back of yourself.
2001-07-18 Juergen Vigna <jug@sad.it>
* insetcollapsable.C (edit): fixed hopefully the y parameter which
is given to the InsetText.
(insetButtonPress): ditto
(insetButtonRelease): ditto
(insetMotionNotify): ditto
2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetspecialchar.[Ch]: change HYPHENATION_BREAK to
LIGATURE_BREAK, since the name is so stupid.
2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
* insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
the default InsetCollapsable methods. I.e., it can insert anything.
(write) output the name of the inset, not some silly hack for
compatability with the old InsetInfo.
* insetinfo.[Ch]: removed.
* insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
now collapsable, but functionality is otherwise identical to InsetInfo.
* Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
reformatting
* insetquotes.C: general cleanup
(dispString): add spaces inside french double quotes.
(latex): ditto. Moreover, treat first the case where the frenchb
or french options have been given.
2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
* insetcite.[Ch] (latex, validate): new methods, required for natbib
support.
2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
* figinset.C (RegisterFigure): Print debug message only when
current_view is available.
2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* many files: update to match the change below
* inset.h (insetAllowed): renamed from insertInsetAllowed;
implement the version which takes an inset here.
* insetcollapsable.[Ch]: implement open and isOpen
* inset.h: remove insertInsetAllowed from Inset
(open): new method, to open or close an inset
(isOpen): returns the status of an inset
(isCollapsable, colapse): removed
2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
* insetquotes.C (dispString): display french guillemets when using
ISO8859-15.
2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetcollapsable.h: remove bogus return statements
2001-07-18 Juergen Vigna <jug@sad.it>
* insettabular.C (selectNextWord): fixed spellchecking for the
first cell of a tabular (wasn't entered!)
(getLyXText): changed to enter automatically insettext and return
it's LyXText if we're locked.
2001-07-17 Juergen Vigna <jug@sad.it>
* various files: implemented the below functions.
* inset.h: added functions
- virtual string selectNextWord(BufferView *, float & value) const;
- virtual void selectSelectedWord(BufferView *) { return; }
- virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
needed for spellchecking correctly!
2001-07-16 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetert.C (latex): write out all paragraphs.
2001-07-17 Baruch Even <baruch@lyx.org>
* insetgraphics.C (draw): Removed unneeded casts.
2001-07-16 Juergen Vigna <jug@sad.it>
* insettext.C (update): fixed small oversight (reset lt to 0).
2001-07-14 Baruch Even <baruch@lyx.org>
* insetgraphics.h:
* insetgraphics.C: Added a copy c-tor and handled the same_id case.
2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
Consistent use of Lsstream.h:
* figinset.C: removed using std::ostringstream directive.
* insetgraphics.C (createLatexOptions):
* insetinclude.C (unique_id):
std::ostringstream -> ostringstream.
* insettext.C (localDispatch): std::istringstream -> istringstream.
2001-07-13 Juergen Vigna <jug@sad.it>
* insetfloat.C (insertInsetAllowed): added missing const_cast.
* insetcollapsable.C (getLockingInset): ditto.
2001-07-12 Juergen Vigna <jug@sad.it>
* insetcollapsable.h: added implementation of new function for
collapsable status.
* various files: added implementation of new insertInsetAllowed-func
and redone the function a bit more.
* inset.h: added isCollapsable(), bool collapsed(),
collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
* insetfloat.C (insertInsetAllowed): make a bit more checks.
* insettext.C (getLyXText): use 'lt' to assure we're not erasing the
LyXText which is marked for removal while we're using it!
* insettext.h: added private LyXText * lt to use it to assure we are
not deleting our LyXText while we're using it!
2001-07-11 Juergen Vigna <jug@sad.it>
* insettext.C (insertInset): check if we are before the inset after
inserting it! This check IS needed. Remove the Undo-Call as it is
called in LyXText::insertInset!
* insettext.h: added struct InnerCache.
* insettext.C (deleteLyXText): insert a new InnerCache mechanism so
that we ONLY delete the LyXText in the getLyXText() routine. So we
are sure we don't delete LyXText while someone is working with it!
2001-07-12 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetexternal.C: (*it). -> it->
* insettext.C: ditto
2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetcollapsable.C (edit): always open collapsed insets (even if
they are not autocollapsable)
* insetcommand.C (operator=): simplify.
2001-07-10 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetert.C (latex): handle META_NEWLINE
2001-07-09 Juergen Vigna <jug@sad.it>
* insetert.h: a normal InsetText can insert insets, but we won't.
* inset.h: return default "false" on insertInsetAllowed and implement
this function where a returnvalue != "false" is needed.
2001-07-08 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetert.C (InsetERT): new contructor
2001-07-06 Juergen Vigna <jug@sad.it>
* a lot of files: added implementation of the below new functions
and the change to clone(). Also the call of the new undo-functions
where needed.
* inset.h: added an inset_id, added functions getParFromID,
getInsetFromID, firstParagraph, cursor and id functions, added
bool same_ids to clone function.
2001-07-05 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
of BufferView * and shared_ptr<LyXText>
2001-07-05 Juergen Vigna <jug@sad.it>
* insettext.C (clear): deleted also the cache not only LyXText.
(setParagraphData): ditto.
2001-07-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetfloat.C (latex): let the specific placement take presedence
if set, otherwise choose document placement if set, otherwise just
use float default placement.
2001-07-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (localDispatch): call CutAndPaste::'s static method
directly.
2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetbib.C: no meed to include forms.h here.
2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
* insettext.C: added using std::make_pair directive.
2001-07-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (getLyXText): avoid multiple lookups, and simplify
slightly
(deleteLyXText): ditto
(resizeLyXText): ditto
2001-07-02 Juergen Vigna <jug@sad.it>
* insettext.C (getLyXText): introduce a cache in getLyXText so that
following calls are only returned the right pointer without the over
head to search in the map.
(various funcs): reset the cached_bview variable as this signs that
the cache is not valid anymore.
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insettabular.C (clone): do not copy the LyXTabular twice
2001-06-29 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.h (TEXT): delete method
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetmarginal.C (latex):
* insetfoot.C (latex): fix spacing of notes in LaTeX
* insettext.C (localDispatch): use .c_str() on istringstream
constructor argument.
2001-06-29 John Levon <moz@compsoc.man.ac.uk>
* insettoc.h:
* insettoc.C:
* inseturl.h:
* inseturl.C: fix method names in these to begin
with small char too, so they inherit
2001-06-28 Juergen Vigna <jug@sad.it>
* insettext.C (setFont): fixed font settings using toggleFree()
instead of setFont().
2001-06-28 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* Change a lot of method names to begin with a small char.
Changes to a lot of files because of this.
2001-06-27 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetfloatlist.C (Write): std:: qualify ostream
(Latex): ditto
2001-06-26 The LyX Project <lyx@violet.home.sad.it>
* figinset.C:
* inset.C:
* insetgraphics.C: send debug output to Debug::INFO instead of
Debug::ANY.
2001-06-26 The LyX Project <lyx@rose.home.sad.it>
* insettabular.h:
* insettabular.C (getStatus): update to use func_status
2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
* insetref.C (DocBook): added support for cross-references without
a name.
2001-06-26 The LyX Project <jug@sad.it>
* insetref.C:
* insetref.h:
* insetlabel.C:
* insetlabel.h: removed escape method and moved it to
support/lstrings.h.
2001-06-26 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettabular.C (getMaxWidth): do the speedup in a different way,
remove dead code
2001-06-24 The LyX Project <Asger>
* insettabular.C (getMaxWidth): We cache a mapping from
inset to cell in order to speed this method up.
2001-06-24 The LyX Project <Asger>
* insettext.C: Optimized InsetText::draw or something.
2001-06-23 The LyX Project <lyx@rose.home.sad.it>
* insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2001-06-23 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* inset.h: name change from lyxinset.h
2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
* insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2001-06-14 Juergen Vigna <jug@sad.it>
* insettext.C (draw): removed warnings.
2001-06-13 Juergen Vigna <jug@sad.it>
* insettabular.C (nodraw): only go down the tree if we don't have
that flag set otherwise it's obvious that we don't want to draw.
(LocalDispatch): do also an update if we have an undispached result.
2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
* insetcite.C:
* insetgraphicsParams.C:
* insettext.C: removed // -*- C++ -*- as first line.
2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxinset.h (resizeLyXText): shut off warning about unused
parameter "force"
2001-06-07 Juergen Vigna <jug@sad.it>
* insettext.C (resizeLyXText): honor the new force flag.
* lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
* insettabular.C (deleteLyXText): new function
2001-06-02 John Levon <moz@compsoc.man.ac.uk>
* insettheorem.C:
* insetminipage.C:
* insetlist.C:
* insetfootlike.C:
* insetfloat.C:
* insetert.C:
* insetcollapsable.C:
* insetcaption.C: LColor tidy
2001-06-01 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* figinset.C: fix typo
2001-06-01 Juergen Vigna <jug@sad.it>
* insettabular.C (resetPos): small hack so that scroll is not set to
0 when we are in the last column of a tabular. This is a problem we
have because of constats 20 offset on both directions, so this can
cause on the limit an endless loop.
* insettext.C (SetFont): forgot that we can have locking insets ;)
2001-05-31 Juergen Vigna <jug@sad.it>
* insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* figinset.C: add using std:: directive for the C functions which
need that.
2001-05-31 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetfloat.C (Write): write out wide info
(Read): read the wide info
(Latex): use the wide info when creating latex.
* insettext.C: adjust
* insetgraphics.[Ch] (statusMessage): change to return string
(width): adjust
(draw): adjust
* figinset.C (runqueue): add std::
(Recompute): ditto
2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetcite.C (Ascii): add std:: qualifier
2001-05-28 Juergen Vigna <jug@sad.it>
* insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
a endless-width inset (maxWidth < 0).
(Edit): change language only if not equal.
* insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
* insettext.C (draw): fixed draw/clear of InsetText-Frame
2001-05-16 Juergen Vigna <jug@sad.it>
* insettext.C (selectAll): added
(clearSelection): added
* insettabular.C (SetFont): now we may set a font on a whole selection!
(getSelection): added helper function.
2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
* insetcite.C (Ascii): Add method.
2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
* figinset.C:
* insetbib.C: fix path for OS/2 & Win32
2001-05-10 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetfoot.C (Latex): don't use % after footnote.
2001-05-08 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (Read): use clear
(SetParagraphData): use LyXParagraph copy constructor instead of clone
2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetfloatlist.h: add a bunch of std:: qualifiers.
2001-05-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
FLOAT_LIST_CODE, renumber code list.
* insettoc.C (getScreenLabel): remove support for float lists
(LyxCode): ditto
(Ascii): ditto
* insetfloatlist.[Ch]: new files
* Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
* insettabular.C (LocalDispatch):
* insettext.C (LocalDispatch): getClipboard() is now a BufferView
method
2001-05-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C: remvoe !NEW_INSETS cruft
* insettabular.C: remove !NEW_INSETS cruft
* insetcollapsable.h: remove !NEW_INSETS cruft
* insetbib.C: remove !NEW_INSETS cruft
2001-04-27 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettoc.C: hack to make listof algorithm work
2001-04-20 Juergen Vigna <jug@sad.it>
* insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetquotes.C (Latex): improve the guard against
unwanted !` and ?` ligatures. This should really be done in
another place (to catch all this ligatures at low-level).
2001-04-17 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (init): remvoe leftovers from cursor_visible change
(draw): use c++ cast
(LocalDispatch): dispatch LFUN_MESSAGE
* insettabular.C (InsetTabular): remove leftovers from
cursor_visible, and scoped_ptr changes
(draw): use c++ cast
* insetcollapsable.C (draw): use c++ cast
* ExternalTemplate.h: inherit privaely from noncopyable
* insetcommand.h: ditto
* insetinclude.h: ditto
2001-04-16 Allan Rae <rae@lyx.org>
* insettoc.C (Ascii):
* insettext.C (draw):
* insettabular.C (setPos):
* insetminipage.C (Read):
* insetfloat.C (placement):
* insetcaption.C (Ascii, DocBook):
* figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
an unrecognised preprocessor directive. So ensure they're wrapped.
2001-04-06 John Levon <moz@compsoc.man.ac.uk>
* insetexternal.h:
* insetexternal.C: set view on Clone. Add _ to private members.
2001-04-06 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insettext.C (InsetText): fix new
(InsetText): reindent some, simplify deletion of par list
(clear): simplify deletion of par list, fix new
(SetParagraphData): simplify deletion of par list
* insettabular.[Ch] (getLabelList): implement new method
2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxinset.h: do not include gettext.h...
* inset.C:
* insetcaption.C:
* insetexternal.C:
* insetgraphics.C:
* insetindex.C:
* insetlabel.C:
* insetlatexaccent.C:
* insetminipage.C:
* insetquotes.C:
* insettabular.C:
* inseturl.C: ... and do it here instead
2001-04-05 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
* insettext.[Ch] (getLabelList): add std:: on vector<string>
* insetcollapsable.[Ch] (getLabelList): implement
* insettext.[Ch] (getLabelList): implement
* insettext.h: reindent
* insettabular.h: make tabular a scoped_ptr
* insettext.C (init): adjust for cursor_visible
(ToggleInsetCursor): constify asc and desc, font, adjust for
cursor_visible
(ShowInsetCursor): constify asc and desc, font, adjust for
cursor_visible
(HideInsetCursor): adjust for cursor_visible
* insettabular.C: reindent some
(InsetTabular): adjust for scoped_ptr and cursor_visible
(InsetTabular): ditto
(~InsetTabular): delete delete
(Clone): adjust for scoped_ptr
(Read): constify old_format, adjust for scoped_ptr, move init of
token
(draw): constify tx, localize loop vars.
some other localization of variables, remove double initilizatons.
* insetfoot.C: remove using std::ostream, add ostream where needed
2001-04-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxinset.h: some reindentaion, use initializer list for
constructro.
UpdatableInset: make cursor_visible a private var add
public isCursorVisible(), add protected toggleCursorVisible() and
proctected setCursorVisible(bool), make scroll call the Inset::scroll
* insettoc.C: remvoe using decl
(getScreenLabel): make cmdname donst
(LyxCode): ditto
(Ascii): ditto
(Ascii): don't use endl
* insetfootlike.C: remove using decl at file scope and add std::
where needed
* insetmarginal.C: ditto
* insetfoot.C: some reformatting
* insetfloat.C (InsetButtonRelease): adjust the hit area
* insetert.C (SetFont): some reformatting
* insetcollapsable.C: some reformatting and constification
(Clone): comment out.
* insetcollapsable.h: some reformatting
(Clone): comment out.
* inset.C: reindent
(scroll): simplify
2001-03-30 Juergen Vigna <jug@sad.it>
* insetcollapsable.h: changen *inset to be a InsetText inset.
* some files: changed to reflect the above change.
2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
* insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
InsetExternal::Params.
Added operator==() and operator!=() for the Params struct.
2001-03-29 Juergen Vigna <jug@sad.it>
* lyxinset.h: changed parameter of getMaxWidth from Painter & to
BufferView *.
* insetminipage.C: removed widthp_ and all it's functions and changed
to use new %-lengths of LyXLength.
2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
* figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphicsParams.C (operator!=): new function, needed by the
ControlGraphics class.
2001-03-28 Juergen Vigna <jug@sad.it>
* insettext.C (InsetButtonPress): only enter !inset if button == 2
(checkAndActivateInset): don't use the values returned from
call to bv->checkInsetHit.
* insetminipage.C (Clone): set special minipage values.
* insetcollapsable.C (draw): changed to draw the button in the
upper left corner outside the textinset.
(ascent): changed because of different drawing
(descent): ditto
(width): ditto
(Edit): ditto
(InsetButtonPress): ditto
(InsetButtonRelease): ditto
(InsetMotionNotify): ditto
2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
* figinset.C (GetPSSizes): Fix for the case when filename doesn't
contain a suffix.
(Clone): ditto
2001-03-26 Juergen Vigna <jug@sad.it>
* lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
* insettext.C (ShowInsetDialog): implemented above function.
* insettabular.C (ShowInsetDialog): ditto
* insetminipage.C (ShowInsetDialog): ditto
2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
* insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
InsetInclude::Params. Don't store a buffer * in Params. Store the
master file name instead.
2001-03-23 Juergen Vigna <jug@sad.it>
* insetcollapsable.C (InsetMotionNotify):
(InsetButtonRelease):
(InsetButtonPress): fixed y-offset (minipages).
* insettext.C (draw): force a FULL update if cleared == true.
* insetcollapsable.C (draw): Lars forgotten entry for changing this
routine to draw the minipages on its position-flag.
(InsetInInsetY): give back the right y position, because of minipage
position-flag.
2001-03-23 Jos<6F> Ab<41>lio Matos <jamatos@fep.up.pt>
* insetfloat.h
* insetfloat.C (DocBook): docbook export code.
2001-03-22 Juergen Vigna <jug@sad.it>
* insetminipage.C (getMaxWidth): added function to set the drawing
width!
(Read): should work now!
* insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
if we create a new inset.
2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
* figinset.C (fl_set_preemptive_callback): moved definition outside
of namespace anon.
2001-03-20 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* insetminipage.C (Read): prepare for reading of minipage arguments.
2001-03-18 Baruch Even <baruch@lyx.org>
* insetgraphics.C: Minor cleanups of the comments and code.
2001-03-17 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* insetminipage.C (InsetMinipage): default to not collapsed
2001-03-16 Juergen Vigna <jug@sad.it>
* insetminipage.C (width): modified with to be a string
(widthp): added widthp (for % width) support functions.
(InsetButtonRelease): added to open the options dialog on button==3.
(~InsetMinipage): added to hide the dialog.
* insetminipage.h: added hideDialog signal
2001-03-15 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* insetminipage.h: change the order or Position to match
LyXParagraph::MINIPAGE_ALIGNMENT
* several files: remvoe CXX_WORKING_NAMESPACES
* ExternalTemplate.h: noncopyable is in namespace boost
* insetinclude.h: ditto
* insetcommand.h: ditto
2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
* insettext.C (Edit): #else# -> #else.
* insettoc.C: added using directive.
2001-03-14 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* insetminipage.h: add pos, inner_pos, width and height. + getters
and setters for all of them.
2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
* insetinclude.C (Latex): Do not exit when the textclass of the
included file differ from the textclass of the parent file.
2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
* ExternalTemplate.C (read): the reading of external insets now checks
for \end_inset and removes it form the input stream.
2001-03-09 John Levon <moz@compsoc.man.ac.uk>
* ExternalTemplate.h:
* ExternalTemplate.C:
* insetexternal.h:
* insetexternal.C: move form to GUII
2001-03-12 John Levon <moz@compsoc.man.ac.uk>
* insetinclude.h:
* insetinclude.C: add InsetIncludeParams, use
composition rather than derivation of InsetCommand
2001-03-12 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* insettoc.C (Ascii): use the Buffer typedefs
2001-03-11 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* insettoc.C (Ascii): implement for dynamic number of lists
* insetcaption.[Ch]: update from new_insets branch
* insetfloat.[Ch]: ditto
2001-03-06 John Levon <moz@compsoc.man.ac.uk>
* insetexternal.C:
* figinset.C: use new File Dialog
2001-03-06 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* insettext.C: changes becuase of ParagraphParameters.
2001-02-28 Baruch Even <baruch@ev-en.org>
* insetgraphics.C (updateInset): Changed due to the change in
GraphicsCache.
2001-02-26 Juergen Vigna <jug@sad.it>
* insettext.C (SetFont): Set Undo only if we have selection (as it is
handled in LyXText).
2001-02-23 Juergen Vigna <jug@sad.it>
* insettext.C (draw): some small repainting fixes.
(LocalDispatch): put the sel_cursor stuff after the insert of chars.
* inset.C (LocalDispatch): changed action to be a kb_action (as it
should be) and not an int.
* insettabular.C (LocalDispatch): ditto
* insettext.C (LocalDispatch): ditto
* insetcollapsable.C (LocalDispatch): ditto
2001-02-22 Juergen Vigna <jug@sad.it>
* insettabular.C (LocalDispatch): return DISPATCHED if we cannot
DISPATCH it and we don't have a locking_inset.
2001-02-21 Baruch Even <baruch@ev-en.org>
* insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
instead of GraphicsCacheItem *.
2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetcollapsable.C (getLyXText): add const qualifier to second
parameter.
2001-02-22 Juergen Vigna <jug@sad.it>
* insettext.C (getLyXText): honor the recursive parameter.
(SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
* inset.C (getLyXText): added bool recursive parameter.
* insettext.C (SetUpdateStatus): or the update codes.
(draw): check need_update with &.
(InsetButtonPress): set no_selection to not put a selection when
entering an inset and it is redraws in another spot.
* insettext.h: made need_update an int.
2001-02-20 Baruch Even <baruch@ev-en.org>
* insetgraphics.h:
* insetgraphisc.C: Changed to use better semantics when loading images
for inline view. Now it doesn't keep the pixmap itself but it's holder.
2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
* insetcommand.h:
* inseterror.h:
* insetgraphics.C: change name of "hide" signal to "hideDialog",
consistent with InsetTabular.
2001-02-19 Juergen Vigna <jug@sad.it>
* insettabular.C (LocalDispatch): implement PAGE up/down.
* insettext.C (draw): clear all of it on need_update==INIT too!
* insettabular.C (InsetUnlock): always clear the selection.
* inset.C (scroll): normally we only want to scroll the inset until
it is fully visible so if top_x + offset > 20 then just set scx to 0.
2001-02-14 Juergen Vigna <jug@sad.it>
* insettabular.C (LocalDispatch): remove x_fix as it is not used.
(resetPos): fixed scroll behaviour.
(LocalDispatch): do an update if moving cursor inside a table cell
requests a scroll of the tabular.
2001-02-16 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* insettext.C (textWidth): constify local var
* insettabular.C: small cleanup.
* insetfoot.C (Latex): constify local var
* insetcollapsable.C: small cleanup.
* figinset.C (runqueue): use compare instead of strcmp
2001-02-14 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* insettext.C:
* insetinfo.C: remove cruft
2001-02-14 Juergen Vigna <jug@sad.it>
* insettext.C (SetUpdateStatus): added a BufferView * parameter.
2001-02-13 Juergen Vigna <jug@sad.it>
* insettext.C (InsertInset): don't move left (is this right?)
* insettabular.C (LocalDispatch): use of the no_draw variable
* insettabular.h: new no_draw variable to stop redraw
* insettabular.C (TabularFeatures): fixed update for alignment change
2001-02-12 John Levon <moz@compsoc.man.ac.uk>
* insetinclude.C:
* insetbib.h:
* insetbib.C: move dialogs to frontends/
2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
* insettext.C (LocalDispatch): Restore the language if the inset
becomes empty.
2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
* insettext.C (moveRightIntern): Update the selection cursor.
(moveLeftIntern): Ditto.
2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* Makefile.am: remove BoundingBox.h
* BoundingBox.h: removed
2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
* insettext.C (LocalDispatch): Update selection cursor when moving
cursor to the right.
(moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
(moveLeftIntern): Ditto.
2001-02-05 Baruch Even <baruch.even@writeme.com>
* insetgraphics.C: Updated automatic image conversion, it now goes into
temporary directory instead of with the image itself.
2001-01-21 Baruch Even <baruch@ev-en.org>
* insetgraphics.C: Added Docbook support. Added Automatic image conversion
to EPS or PNG when needed (support bitmap graphics).
2000-11-02 Baruch Even <baruch@ev-en.org>
* insetgraphics.C:
* insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
and removal of commented out code.
2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
* insetbib.C (callback): Update citations if the key has changed.
2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
* insetbib.C (InsetBibKey): Better computation of default key.
(getScreenLabel) Show both the key and the label.
(getBibLabel): New method.
(callback): Force a redraw if the inset have been changed.
2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
* insetref.C (getType, getName): Move methods from
src/frontends/xforms/FormRef.C.
2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
* insettabular.C: Various improvements (use only one dummy position).
2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
* insetbib.C (bibitemWidest): Use lyxfont::width instead of
par->bibkey->width. This fixes the crashes when running without
gui or when having included documents.
2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
* insetcommand.C (getAsString, setFromString): Cleanup.
2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
* insetref.C: Add the array InsetRef::types that contains
information about all supported reference types.
2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxinset.h: remove trailing comma in enum.
2001-01-17 John Levon <moz@compsoc.man.ac.uk>
* insettext.C: kill LyXBell.