Commit Graph

2376 Commits

Author SHA1 Message Date
Georg Baum
dbb03f91f0 * src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Rename file in the temp dir if the
	extension does not match the format (bug 2235)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13898 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 09:15:33 +00:00
Georg Baum
ff4b3ba8fc Prevent automatic opening of child docs because of natbib labels
* src/insets/insetinclude.h
	(updateBibfilesCache): adjust comment
	(getBibfilesCache): ditto

	* src/insets/insetinclude.C
	(getChildBuffer): new, return the buffer of the child if it exists
	(updateBibfilesCache): update the child buffer only if already loaded
	(getBibfilesCache): scan the child buffer only if already loaded

	* src/buffer.h
	(updateBibfilesCache): adjust comment
	(getBibfilesCache): ditto
	(bibfilesCache_): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13869 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-19 07:21:43 +00:00
Lars Gullik Bjønnes
5e3b997b85 Remove the now superseeded SConscript files, and some small missing parts to SConstruct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13825 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 18:05:12 +00:00
Michael Schmitt
1396ade8b1 fix LFUN enum values (some of them were broken by r13801)
adjust some commands according to the LyX naming conventions
(toggle-tooltip => tooltip-toggle, *-change(s) => change(s)-*) 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-08 18:09:19 +00:00
Bo Peng
7168ce58b5 scons-based build system, by Bo Peng (ben.bob@gmail.com)
* SConstruct: main SConstruct file
	* scons_utils.py: utility functions
	* qt4.py: qt4 support is not yet official, and I have to patch this file
	* src/SConscript
	* src/insets/SConscript
	* src/graphics/SConscript
	* src/mathed/SConscript
	* src/frontends/qt3/SConscript
	* src/frontends/qt4/SConscript
	* src/frontends/SConscript
	* src/frontends/controllers/SConscript
	* src/support/SConscript
	* src/client/SConscript
	* src/tex2lyx/SConscript
	* boost/libs/SConscript
	* boost/libs/signals/src/SConscript
	* boost/libs/filesystem/src/SConscript
	* boost/libs/iostreams/src/SConscript
	* boost/libs/regex/src/SConscript


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13807 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-07 22:44:54 +00:00
André Pönitz
da65e2b7fb rename LFUN enum values according to their command (as used in th minibuffer/bind files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13801 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 20:23:12 +00:00
Martin Vermeer
69429f22f5 Restore the caption inset to functionality on-screen
* insetcaption.[Ch]

	(InsetCaption::draw): draw label with surrounding-float-sensitive name
	and true counter number
	cursorPos, metrics, edit, editXY: add



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13797 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 05:51:51 +00:00
Abdelrazak Younes
8c0bd3a77b * TocBackend.[Ch]: new files defining class TocBackend. This class contains adapted code from former toc.C
* toc.[Ch]:
    - rewritten to take advantage of new TocBackend class. The toc
    cache is implemented as a static variable:
    static map<Buffer const *, lyx::TocBackend> toc_backend_;

* buffer_funcs.C:
    updateLabels(Buffer const & buf) now calls
    "lyx::toc::updateToc(buf);"

* pariterator.h: added default constructor
    ParConstIterator(): DocIterator() {}

* insetfloat.C: added pit parameter to TocItem construction

* insetwrap.C: added pit parameter to TocItem construction

* MenuBackend.C: use a const ref instead of a copy of TocList

* ControlToc.[Ch]: optimisation of the API by using const reference instead of copy.

* qt4/TocPanel.[Ch]:
    - optimisation of the API by using const reference instead of
    copy
    - directly use of TocBackend::TocIterator instead of identification by paragraph contents.

* qt4/QToc.C:
    - optimisation of the API by using const reference instead of
    copy
    - makes use of TocBackend::Item::uid()

* qt2/QToc.C:
    - use TocItem::depth() and TocItem::str() instead of public member access.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13713 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-22 18:48:28 +00:00
Jürgen Spitzmüller
6e836024f5 Don't jump back to cursor on inset clicking:
* src/insets/insetcollapsable.C
	(void InsetCollapsable::doDispatch): undispatch cursor after lmb button click.
* src/insets/insettabular.C
	(void InsetTabular::doDispatch):  undispatch cursor after rmb click.
* src/insets/insetref.C
	(void InsetRef::doDispatch):  undispatch cursor after rmb click.
* src/text3.C
	(void LyXText::dispatch): set cursor also after rmb click.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13684 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 15:10:03 +00:00
Jürgen Spitzmüller
1bed69439f Much better performance when using natbib (bug 2460):
* src/BufferView_pimpl.C
	(bool BufferView::Pimpl::dispatch): update bibfiles cache after adding or
	deleting a bib database
* src/buffer.C
	(bool Buffer::readDocument): update bibfiles cache after the document 
	was read
* src/buffer.[Ch]
	(void Buffer::updateBibfilesCache): new method to build or update a cached
	vector with all used bibtex databases. 
	(void Buffer::getBibfilesCache): new method that returns the actual cache.
	(Buffer * Buffer::getMasterBuffer): new (non-const) method to get the buffer 
	of the master document

* src/insets/insetbibtex.C
	(void InsetBibtex::doDispatch): update the bibfiles cache after the inset has
	been modified.
* src/insets/insetinclude.C.
	(void Insetinclude::doDispatch): update the bibfiles cache after the inset 
	has Been modified.
* src/insets/insetinclude.[Ch]:
	(void Insetinclude::updateBibfilesCache): new method to build or update 
	a cached vector with all used bibtex databases. 
	(void Insetinclude::getBibfilesCache): new method that returns the actual 
	cache.
* src/insets/insetcite.C
	(string const getNatbibLabel): store a map of timestamps for all used bibtex 
	files (buffer's bibfiles cache) and rebuild the list of keys only if the timestamps
	or the list of files have changed. This is the actual performance boost. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13681 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 11:46:17 +00:00
Jürgen Spitzmüller
6fb5b5cd4e * src/insets/insettabular (doDispatch): use insertAsciiString in
LFUN_PASTESELECTION. Simplifies the code a lot and fixes 
	wrong language settings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13665 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 14:19:12 +00:00
Bo Peng
d7bccc5f88 Update on view-source feature (r13610), from Bo Peng (ben.bob@gmail.com)
* src/text3.C, src/lyxfunc.C: no special treatment of view-source dialog now.
	* src/frontends/controllers/ControlViewSource.h, .C:
		handle everything (get source type, code) in the controller.
	* src/insets/insetbibtex.C, insetexternal.C insetinclude.C:
		add dryrun mode to file copying etc.
	* src/frontends/qt2/QViewSource.C: small changes when calling the controller.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13627 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 16:27:59 +00:00
Bo Peng
eb485caa96 view-source feature, from Bo Peng <ben.bob@gmail.com>
* src/buffer.h buffer.C - getSourceCode()
	* src/lyxfunc.C -  open view-source dialog
	* src/text3.C - change LFUN_MOUSE_RELEASE
	* src/output_linuxdoc.C, src/output_docbook.C, src/output_latex.C 
		- intercept output
	* src/outputparams.h, outputparams.C - add par_begin, par_end, dryrun
	* src/insets/insetgraphics.C  - add dryrun mode of file conversion
	* lib/ui/stdmenus.ui - add view-source menu item under view
	* Add view-source dialog, add 
	    src/frontends/qt2/QViewSourceDialog.h, QViewSource.C, QViewSource.h, QViewSourceDialog.C
	    src/frontends/qt2/ui/QViewSourceDialogBase.ui
	    src/frontends/controllers/ControlViewSource.h ControlViewSource.C
	  modify
	    src/frontends/qt2/Makefile.dialogs, Makefile.am, Dialogs.C,
	    src/frontends/controllers/Makefile.am, po.POTFILES.in


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:48:54 +00:00
Lars Gullik Bjønnes
cf4293824f * Change several freestanding and class methods with first letter
capitalized to have first letter lowercased.
* Adjust all affected files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +00:00
Lars Gullik Bjønnes
8c93f63b48 * filetools.[Ch]: Make functions that start with a capital
letter start with a lower letter.
	* All other .C and .h in the cs: adjust for above change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 22:31:11 +00:00
Georg Baum
4d0a568d4c * src/insets/insetgraphics.C (prepareFile): output correct file name
of compressed files (bug 2231)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13596 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 09:11:25 +00:00
André Pönitz
1f5c5a06ee support/textutils.h:
support/filetools.h: rename IsDirWriteable IsFileReadable IsLyXFilename
IsSGMLFilename IsLineSeparatorChar IsLetterChar IsPrintable
IsPrintableNonspace IsDigit to lower case initial

lyxvc.C:
LaTeXFeatures.C:
lyx_cb.C:
insets/insetbibtex.C:
insets/insetexternal.C:
insets/insetgraphics.C:
insets/ExternalSupport.C:
insets/insetinclude.C:
BufferView_pimpl.C:
graphics/GraphicsCacheItem.C:
text2.C:
converter.C:
buffer.C:
lyxfunc.C:
frontends/gtk/ghelpers.C:
frontends/controllers/ControlGraphics.C:
frontends/controllers/ControlInclude.C:
frontends/controllers/ControlSpellchecker.C:
support/filetools.C:
support/filetools.h: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13595 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 09:09:57 +00:00
Lars Gullik Bjønnes
3b9338a3a8 Whitespace cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Georg Baum
768d523494 Fix bug 2186 (from Bo Peng):
* src/insets/insetbibtex.C
	(InsetBibtex::latex): mangle filename of bst file for "non-nice"
	.tex files

	* src/insets/insetgraphics.C
	(RemoveExtension): move ...
	* src/support/filetools.[Ch]
	(removeExtension): ... here


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13540 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 10:49:58 +00:00
Martin Vermeer
726637fc29 A more general way of setting paragraphs in an inset to standard
layout upon paste.

	* insettext.[Ch]: add forceParagraphsToDefault method

	* insettabular.C
	(InsetTabular::doDispatch): use it for cell

	* insetbox.C
	(InsetBox::doDispatch): use it

	* insetert.C
	(InsetERT::doDispatch): use it

	* insetcharstyle.C
	(InsetCharStyle::doDispatch): use it



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13535 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-30 12:43:32 +00:00
Georg Baum
a7ec02ea03 revert my faulty fix of bug 2380 and use one by Jean-Marc instead:
* insets/insettabular.C
        (InsetTabular::insertAsciiString): set BufferView cache of cell


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13524 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 10:13:40 +00:00
Georg Baum
fc7f2d9805 Fix bug 2107:
* src/LaTeXFeatures.[Ch]: replace nice_ by runparams_

        * src/insets/insetexternal.C
        (InsetExternal::validate): Use the correct template for the desired
        output format

        * src/insets/insetgraphics.C
        (InsetGraphics::prepareFile): Record the needed files for "latex"
        or "pdflatex" format, dependant on the desired output format

        * src/insets/insetinclude.C
        (InsetInclude::latex): ditto

        * src/BufferView_pimpl.C
        (BufferView::Pimpl::getStatus): adapt to LaTeXFeatures changes

        * src/paragraph_pimpl.C
        (Paragraph::Pimpl::simpleTeXSpecialC): ditto

        * src/buffer.C
        (Buffer::makeLaTeXFile): ditto
        (Buffer::makeLinuxDocFile): ditto
        (Buffer::makeDocBookFile): ditto

        * src/paragraph.C
        (Paragraph::simpleTeXOnePar): ditto

        * src/exporter.C
        (Backends): Add "pdflatex" backend format
        (Exporter::Export): set runparams.flavor correctly for "pdflatex" format

        * lib/external_templates
        (RasterImage): Use "pdflatex" format in PDFLaTeX template
        (XFig): ditto
        (ChessDiagram): Add PDFLaTeX template
        (Date): ditto

        * lib/configure.py: Add "pdflatex" format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13520 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 18:49:46 +00:00
Jürgen Spitzmüller
149c83d35d src/insets/insettabular (doDispatch, insertAsciiString): fix insertion of \t- and \n-separated content from external clipboard (bug 2394)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13518 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 14:04:14 +00:00
Georg Baum
2129ed9082 Fix bug 2380:
* src/insets/insettabular.C
        (InsetTabular::hasPasteBuffer):
        (InsetTabular::doDispatch):
        (InsetTabular::insertAsciiString): Construct LyXTabulars with a
        BufferView
* src/tabular.[Ch]
        (cellstruct): Set bv_owner of the text inset
        (LyXTabular::fixCellNums):
        (LyXTabular::appendRow):
        (LyXTabular::deleteRow):
        (LyXTabular::appendColumn):
        (LyXTabular::read): Construct cellstructs with a BufferView


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13516 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 12:49:47 +00:00
Georg Baum
47d428cfe2 * src/insets/insetert.C
(getStatus): enable LFUN_QUOTE
        (doDispatch): handle LFUN_QUOTE directly (fixes bug 2429)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13501 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-27 14:13:48 +00:00
Martin Vermeer
23b74fa112 Fix the bug reported by Markus Mayer, that paragraph styles like
itemize too readily enter into charstyle insets.

	* insetcharstyle.C
	(InsetCharStyle::doDispatch): force pasted paragraphs to document 
	default style 

	* insetcharstyle.h: add forceDefaultParagraphs to true



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13494 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-25 16:23:06 +00:00
Jean-Marc Lasgouttes
0a6cfff939 * insets/insetgraphics.C
(InsetGraphics::latex): add \protect as needed (bug 675)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13478 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 13:45:33 +00:00
Lars Gullik Bjønnes
9d6cad3fe6 * output_latex.h:
* buffer.h:
        * CutAndPaste.h:
        * pariterator.h:
        * paragraph_funcs.h:
        * output_linuxdoc.h:
        * output_docbook.h:
        * insets/insettext.h: get forward declaration of ParagraphList

        * output_plaintext.C:
        * bufferlist.C:
        * undo.C:
        * lyxtext.h:
        * undo.h:
        * buffer_funcs.C:
        * insets/insetbibitem.C: get proper ParagraphList decls

        * output_linuxdoc.C (linuxdocParagraphs):
        * output_latex.C (TeXOnePar):
        * insets/insettext.C (appendParagraphs):
        * insets/insetcharstyle.C (docbook): use std::distance

        * CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
        * paragraph_funcs.C (breakParagraph,
        breakParagraphConservative, mergeParagraph):
        * text.C (acceptChange, rejectChange):
        * text2.C (deleteEmptyParagraphMechanism): use boost::next

        * output_docbook.C (several places): use boost::next and
        std::distance

        * ParagraphList_fwd.h: modify to provid a forward declaratoin
        of the new ParagraphList.

        * RandomAccessList.h: New container for Paragraphs from
        Abdelrazak Younes

        * ParagraphList.h: new file, setup user of RandomAccessList

        * paragraph.C: remove ParagraphList constructor from this file



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:11:06 +00:00
Georg Baum
70b8cfdf59 * src/insets/insetbase.h
* src/insets/insettext.h
	(asTextInset): constify

	* src/rowpainter.C
	(RowPainter::paintInset): remove unneeded casts
	(paintPar): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13420 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 17:39:54 +00:00
Martin Vermeer
3d0c878966 Changes to the within-inset row rendering caching code.
* insets/insetenv.h: 
	* insets/insetcollapsable.h: remove method
	* insets/insettabular.h:
	* insets/insetbase.h: rename, add methods
	* insets/insettext.[Ch]: rename method; add Tall()
	* paragraph_pimpl.C
	(Paragraph::Pimpl::simpleTeXSpecialC): rename call
	* mathed/math_hullinset.h: rename method
	* rowpainter.C
	(RowPainter::paintInset):
	(paintPar): remove isTrueTextInset, move to insets 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13415 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 19:45:28 +00:00
Jürgen Spitzmüller
d121dae1c8 (getStatus): add extra condition for PASTE to reflect tabularStack (bug 2377)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13411 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 13:11:32 +00:00
Jürgen Spitzmüller
b5ce210697 fix coordinate miscalculation in tabular (bug 2006)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13340 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-11 16:09:41 +00:00
Martin Vermeer
22cdac5d5d Fix bug 2195: Slowness in rendering inside insets, especially on the Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:10:35 +00:00
Georg Baum
90f00ecfa6 fix bug 2316
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13277 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-27 12:22:36 +00:00
Jürgen Spitzmüller
3490f23a1d Fix defaultFont problems (bug 2308)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13266 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 15:44:57 +00:00
Lars Gullik Bjønnes
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Martin Vermeer
6688a55908 Fix bug 2115 ("blueline bug")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10808 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 13:20:16 +00:00
Georg Baum
0a7ebf229c fix bug 2192
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10758 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-19 21:18:25 +00:00
Jean-Marc Lasgouttes
2486c96b8d cleanup some debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10757 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-19 15:49:21 +00:00
Jean-Marc Lasgouttes
0711d8e045 fix bug 2188
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10723 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-11 14:22:11 +00:00
Georg Baum
1d57338353 fix bug 2153
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10718 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-09 21:00:24 +00:00
Lars Gullik Bjønnes
cfcb59904b fix some syntax errors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10695 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-01 20:28:05 +00:00
Martin Vermeer
42e9668159 Singlerow rendering (better) fix for insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10693 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-31 11:40:33 +00:00
Georg Baum
035861d4dc partial fix for bug 1973
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10664 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-17 15:03:41 +00:00
Martin Vermeer
78ec40122d Fix "turds" when changing openinline_ and button jumps around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10663 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-16 12:48:18 +00:00
Martin Vermeer
94828848a5 Fix bugs 2136, 2123
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10644 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-05 15:03:38 +00:00
Martin Vermeer
f5798dbc11 Fix bug 2137 (width problems in Box)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10643 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-03 08:59:45 +00:00
Georg Baum
dd6c706cef restore 1.3 behaviour when changing tabular columns to variable width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10625 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-28 11:52:03 +00:00
Jürgen Spitzmüller
d9e6e32961 fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10622 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-25 14:40:34 +00:00
Georg Baum
8d8a65ce3c fix bibtex inset in included files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10610 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-18 08:57:56 +00:00
Jürgen Spitzmüller
217a57fbc7 first step to sanitize forceDefaultParagraphs (part of bug 1953).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10607 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-17 08:41:56 +00:00
Jürgen Spitzmüller
b0d97e1432 document the EDITABLE enum
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10599 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-10 10:19:05 +00:00
Jürgen Spitzmüller
60a14eaa93 fix generation of ERT labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10593 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-07 12:21:59 +00:00
Martin Vermeer
b954c5ddf8 Partial fix bug 2092: branches not propagated to child documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10584 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-02 13:54:33 +00:00
Jean-Marc Lasgouttes
409037f1bb bug 2092: branches not propagated to child documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10577 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-25 15:21:49 +00:00
Jean-Marc Lasgouttes
7020659bc6 bug 2066: C-i for opening/closing insets only works when cursor is at the beginning of the inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10569 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-24 09:42:20 +00:00
Martin Vermeer
117efaee9f Remove obsolete old_pit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10564 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-21 09:55:23 +00:00
Jean-Marc Lasgouttes
e70927a96c fix bug 2101: Any character followed by Right Arrow moves the cursor to the next cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10563 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-21 08:16:12 +00:00
Michael Schmitt
da452bbe93 fix cursor positioning in front of vspace inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10562 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-19 20:01:49 +00:00
Jürgen Spitzmüller
5a704fe310 the autoopen patch (fixes bug 1921)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10495 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-28 15:02:47 +00:00
Jürgen Spitzmüller
82765345ac fix space insets, increase version to 244.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10490 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-28 09:40:50 +00:00
Jürgen Spitzmüller
6f78a2f91d fix bug 1845 (setAutoBreakRow asserts)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10461 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-19 14:38:13 +00:00
Martin Vermeer
bce7cd4cef Fix bug 1765 (multicol cell width display)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10452 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-16 10:19:02 +00:00
Jürgen Spitzmüller
36881fc272 fix undo in tabular cells (bug 1937, bug 1986)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10442 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 10:40:12 +00:00
Georg Baum
087c1bf17d fix bug 2022
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10439 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-12 14:57:50 +00:00
Jürgen Spitzmüller
3382c78af9 implement and use virtual bool neverIndent() (thereby fixing bug 2003)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10436 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-10 06:51:58 +00:00
Georg Baum
4d817aca86 add include that was missing by accident from the previous patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10432 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-09 12:49:21 +00:00
Georg Baum
afed118a7b fix bug 2014 (lyxline font size)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10431 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-09 11:04:53 +00:00
Jürgen Spitzmüller
9f3a134c99 don't force tabular cell alignment to BLOCK when switching to pwidth (bugs 1296, 1840).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10428 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-08 15:29:40 +00:00
Jean-Marc Lasgouttes
52a2eb2c52 John&JMarc's change tracking patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10424 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-07 10:37:05 +00:00
Jürgen Spitzmüller
4110aa3b1e fix bug 1919 (table cells won't accept normal text pastes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10416 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-06 17:39:39 +00:00
Michael Schmitt
70cf40ccef insetcharstyle.C (metrics,draw): consider inset label for
width computation; fix drawing of labels of undefined char styles


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10412 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-06 16:27:24 +00:00
Martin Vermeer
b9898f8a87 Fix Helge's ERT-in-tabular bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10390 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-07 18:36:21 +00:00
Jean-Marc Lasgouttes
cbec96ae3a fix error message (bug 1963)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10384 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-02 22:31:56 +00:00
Jürgen Spitzmüller
a5e061ce42 Disable newlines and paragraph breaks in non-fixed width tabular cells (bug 1938)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10366 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-28 09:45:43 +00:00
Jürgen Spitzmüller
7d978a119f Do not use localized strings internally (bug 1870)
Someone please check the gtk TOC dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10363 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-27 15:22:08 +00:00
Lars Gullik Bjønnes
1d5ee03bdf add missing include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10336 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 21:19:23 +00:00
André Pönitz
f70191cc10 some (yet unfinished) up/down work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10333 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 17:12:28 +00:00
Lars Gullik Bjønnes
7a23f39975 small lyxerr fix, version to 1.4.0pre1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10328 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 15:12:15 +00:00
André Pönitz
7856f2c683 3 more percents...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10323 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 12:57:08 +00:00
André Pönitz
af5acb6dc7 ~4% speedup by inlining a few one-line accessors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10320 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 11:00:15 +00:00
Jürgen Vigna
18ed7fe334 Fix cursor UP/DOWN movements in tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10319 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 10:24:35 +00:00
Angus Leeming
7704aa9055 Help Lars spell his name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10311 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 08:04:50 +00:00
André Pönitz
3e1919e067 probably fixed bug 1561
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10298 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 23:03:01 +00:00
Lars Gullik Bjønnes
c888a3578e remove unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10293 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 15:58:48 +00:00
Lars Gullik Bjønnes
71b4a6798b bug 1375 rename set_label_ to updateButtonLabel_ and reverse the logic. Make sure to set updateButtonLabel_ to true in all
places where params is set (directly or indirectly).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10287 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 14:32:59 +00:00
André Pönitz
575bb2a15a fix bug 1815
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10285 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 14:23:33 +00:00
André Pönitz
008dad0e3a clean up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10265 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 01:13:36 +00:00
André Pönitz
372365845d some more inlining
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10259 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 18:25:58 +00:00
André Pönitz
627b8df878 remove unneeded function Paragraph::checkInsertChar, fix small bug in boundary handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10240 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 12:02:31 +00:00
André Pönitz
99f3ca194e remove InsetText::updateLocal. Was neither missed nor active for a while now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10230 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 22:19:49 +00:00
André Pönitz
282f86fbb1 send UpdatableInset down the way of the Dodo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10228 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 22:10:25 +00:00
José Matox
5d9e560f71 Fix bug 421
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10227 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 19:10:25 +00:00
André Pönitz
4beb140b99 fix clicking into nested tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10224 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 17:15:32 +00:00
André Pönitz
6100178a37 work on inset scrolling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10222 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 16:44:41 +00:00
André Pönitz
41ecabf519 make boundary property an iterator property instead of a CursorSlice property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10214 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 15:49:40 +00:00
André Pönitz
c1ef1ac5e4 some consolidation of inset scrolling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10205 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 12:50:10 +00:00
André Pönitz
f5ecca49d6 conmsolidate scrolling code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10204 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 11:43:07 +00:00
André Pönitz
1a9992c796 partial fix for bug 622, cosmetic rest remains open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10195 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 00:39:44 +00:00
André Pönitz
275f6172ac open insets when selection is set there
to avoid crashs with cold coord cache


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10188 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 17:30:24 +00:00
Angus Leeming
6e7b2e9016 Forward port the name-mangling code from 1.3.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10182 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 12:53:12 +00:00
Lars Gullik Bjønnes
9abff568e6 reduce some debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10178 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 08:20:10 +00:00
Lars Gullik Bjønnes
a78c91bdbb make sure to dist pch.h and mark PCH_FILE as a built file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10173 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 23:42:23 +00:00
Georg Baum
1828d1b3f5 use the lyxdot replacement mechanism also in insetexternal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10162 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-10 09:31:27 +00:00
Georg Baum
b33b8ff56e compile fix for the latex_path patch from yesterday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10160 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-09 08:13:54 +00:00
Georg Baum
69241a6168 forward port latex_path quoting fix from 1.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10157 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-08 15:43:46 +00:00
Jean-Marc Lasgouttes
108d74bc1a clean up french language handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10145 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-07 10:51:58 +00:00
Georg Baum
7fdf13d545 Don't store row and col in cursor, add some documentation about idx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10135 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 07:28:16 +00:00
Jürgen Spitzmüller
1e08dd4152 Make branch label prefix translatable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10133 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-05 15:31:16 +00:00
Jürgen Spitzmüller
e9dc778832 fix calculation of tabular cell dimensions (bug 1801)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10105 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-27 12:53:35 +00:00
Jürgen Spitzmüller
361de37399 reintroduce LFUN_BIBDB_ADD and LFUN BIBDB_DEL (bug 961)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10104 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-25 15:57:15 +00:00
Georg Baum
1a8b8902c0 make quoted filenames work when " is active
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10094 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-21 09:01:40 +00:00
Georg Baum
82c5848058 fix quoted graphics file names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10093 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-20 14:11:11 +00:00
Jürgen Spitzmüller
7fd5dc56be disable LFUN_TABULAR_INSERT when multiple cells are selected (bug 1837)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10077 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 15:20:09 +00:00
Angus Leeming
70572847e2 Whitespace, only whitespace. s/ +$//
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +00:00
Jean-Marc Lasgouttes
38d438d993 fix crash with insetoparg (bug 1890)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9993 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-02 15:01:16 +00:00
Jean-Marc Lasgouttes
0f51d7cabf better (and localizable) display of vertical spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9968 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-24 10:23:30 +00:00
Lars Gullik Bjønnes
e5ae321dab the AM_* flags patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9963 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:56:28 +00:00
Georg Baum
3682fa502a fix bug 1879 (first part, not completely fixed yet)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9948 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-17 11:11:45 +00:00
Martin Vermeer
33f38a6112 Fix click-on-closed-collapsable-inset-crash bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9943 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-13 08:18:03 +00:00
Martin Vermeer
5230d7b794 Fix tabular paste (and conflict markers in ChangeLog file :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9939 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-12 12:22:39 +00:00
Jean-Marc Lasgouttes
9af734ff8a add dummy plaintext method to InsetOptArg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9932 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-11 09:47:54 +00:00
Georg Baum
92379230ff remove unneeded calls to BufferView::update() in insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9925 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-09 17:29:22 +00:00
Georg Baum
ce7da69af1 Another set of text changes from Michael, approved by John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9920 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-08 10:02:38 +00:00
André Pönitz
3a3c1080ee make sure the 'setStatus(Collapsed)' crash won't occur otherwise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9917 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-06 20:00:31 +00:00
André Pönitz
56f0c42919 fix crash when collapsing ert with cursor inside
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9916 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-06 18:54:36 +00:00
José Matox
63ebe9def7 fix out of range access to string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9914 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-06 14:15:31 +00:00
Martin Vermeer
5c3631a048 Make LyX source look a little less like the human genome
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9910 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-05 18:39:59 +00:00
Georg Baum
674038dc8c undefined charstyle fixes from Martin and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9903 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-04 11:21:14 +00:00
Angus Leeming
fb70c52b05 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9877 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 11:12:20 +00:00
Jürgen Spitzmüller
8082ce80c7 fix longtabular ui (bug 1860)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9868 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-23 17:39:12 +00:00
Georg Baum
dddce19ed2 Please Andre and make InsetBranch::getStatus more compact
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9859 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-22 15:41:29 +00:00
Jean-Marc Lasgouttes
625194dc63 fix bug 1797 (again!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9858 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-22 14:59:13 +00:00
Georg Baum
78d4f289a0 add forgotten return value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9854 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-22 09:16:28 +00:00
Georg Baum
323cafa18c implement missing getStatus methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9853 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-22 08:57:22 +00:00
Jean-Marc Lasgouttes
67891b48c3 fix double/triple clicking to select (bug 1811)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9838 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-20 10:47:15 +00:00
Jean-Marc Lasgouttes
e609bd9925 remove harcoding for Caption layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9828 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-19 08:55:19 +00:00
Angus Leeming
821fc8dfb8 Introduce and use latex_path().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9824 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-18 17:43:11 +00:00
Martin Vermeer
2ee3d19f8f Allow nested charstyle insets (Preamble handling)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9823 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-18 11:22:02 +00:00
Georg Baum
aa17555cde fyx the previous getStatus patch: enable the tabular dialog again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9815 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-15 08:13:54 +00:00
Jean-Marc Lasgouttes
27a238c271 fix display of label when inserting a new float
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9814 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-14 10:19:39 +00:00
Georg Baum
a1ba34bef9 disable open dialogs if applying them is not allowed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9811 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-13 09:43:58 +00:00
Martin Vermeer
d5d5562e02 Fix font inside inset (bugs 1766, 1809)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9799 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-10 14:07:33 +00:00
Martin Vermeer
958bd96f53 Multiple external requirements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9780 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-05 11:00:09 +00:00
Alfredo Braunstein
e6bdf56c97 cosmetic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9774 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-03 17:59:10 +00:00
Martin Vermeer
2e801efc57 Fix error message positioning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9766 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-31 14:34:57 +00:00
Alfredo Braunstein
c605824a66 fix crash in table selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9735 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 18:21:13 +00:00
Jean-Marc Lasgouttes
7677c92723 fix button caching bug with includeinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9733 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 15:18:24 +00:00
Jürgen Spitzmüller
7a032c6b06 fix tabulator keys in tabular (bug 1836)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9730 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 11:14:54 +00:00
Alfredo Braunstein
ee8338a112 cosmetic bugfix in selection of tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9727 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 10:17:21 +00:00
Jürgen Spitzmüller
fdfd858b02 fix LFUN_CUT and LFUN_PASTE in insettabular (bug 1799), partial restore of middle mouse button in tabular (see FIXME)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9719 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-17 15:57:41 +00:00
Jürgen Spitzmüller
d13d6da879 some tabular fixes for the problems reported by Helge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9718 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-17 13:23:14 +00:00
Martin Vermeer
69eb781b4b Multi-cell select font change bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9714 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-13 10:36:42 +00:00
José Matox
e13ad7c476 Docbook fixes from Andreas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9687 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-28 13:14:48 +00:00
Georg Baum
4029fc8836 implement missing doClone methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9670 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-23 12:01:50 +00:00
Georg Baum
9077ce75fd Don't play too many nice tricks for non-existing graphics files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9667 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-22 16:57:36 +00:00
Jürgen Spitzmüller
83309e58af adjust insetcollapsable and insetcharstyle metrics (bug 1798, bug 1804)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9665 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-22 13:19:11 +00:00
Jean-Marc Lasgouttes
d1f2a9c000 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9652 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-20 22:46:22 +00:00
Jürgen Spitzmüller
3b1ba5eb66 fix double click on collapsable label (from Andr�) [bug 1797]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9650 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-20 16:33:08 +00:00
Georg Baum
0cb92344f7 fix bug 1798 (from Andr�)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9640 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-15 19:53:42 +00:00
Angus Leeming
a784b9501f Use chars not ints to initialize chars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9632 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-15 11:51:55 +00:00
Angus Leeming
c8974fe9d3 Squash a couple of MSVC warnings about "truncation of constant value".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9629 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-15 09:50:49 +00:00
Georg Baum
d436597a44 fix bug 1776
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9605 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-08 17:15:17 +00:00
Lars Gullik Bjønnes
aa491cdb98 dociterator dont inherit from std::vector and updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9602 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-08 13:18:05 +00:00
Georg Baum
5890d93dce file format change for bug 698 and fix for the reproducible part of bug 922
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9584 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-03 17:24:40 +00:00
Angus Leeming
e22c5f4d97 Asger's commentary, const-correct and bug-squashing little beauty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9558 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 16:29:48 +00:00
Lars Gullik Bjønnes
b6e6f87f71 ditch FileInfo -> use boost.filesystem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:42:26 +00:00
Angus Leeming
d9d7cbe23b Protect '#warning ...' with '#ifdef WITH_WARNINGS' guard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9546 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:20:29 +00:00
Lars Gullik Bjønnes
342cdf4322 the convert patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Angus Leeming
19a1d8bc10 Add the bibitemWidest declaration to insetbibitem.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9532 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-23 16:36:36 +00:00
Angus Leeming
c9f9ba315c Asger's exchanging of the class and struct keywords.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9502 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-19 15:03:31 +00:00
Asger Ottar Alstrup
282bf655ed - Add missing STL includes for correctness - gcc is too forgiving
- Add missing using statements
- Guard #warning statements


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-18 14:15:57 +00:00
Georg Baum
55ded55ccf use the default converter for insetexternal, too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9479 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-14 19:13:17 +00:00
Georg Baum
4d0cbd59af fix export in insetgraphics and insetexternal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9476 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-14 08:52:35 +00:00
Angus Leeming
f717cb6b22 Get rid of extraneous whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9466 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 10:30:46 +00:00
Angus Leeming
b5589bf6cf The package reworking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9463 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 19:17:43 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff rename tostr.[Ch] to convert.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
6a55be9506 tostr -> convert and some bformat work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Lars Gullik Bjønnes
46756fd9e4 the const patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9443 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 20:21:27 +00:00
Jürgen Spitzmüller
b029c3bf80 float2string #2 and insetexternal \sclaebox fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9419 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-04 10:59:49 +00:00
Jean-Marc Lasgouttes
2aa786c652 fix some compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9409 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-29 11:39:17 +00:00
Jürgen Spitzmüller
ec0c2e5bc0 float2string changes #1 (Graphics)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9404 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-28 11:23:05 +00:00
Alfredo Braunstein
70bcd97d45 remove paragraph::autoBreakRows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9397 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-17 16:27:12 +00:00
Georg Baum
2842e66638 re-enable SET_ALL_LINES in tabulars (from J�rgen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 20:17:39 +00:00
Angus Leeming
ba837dca09 Remove trailing slash from -Ifoo/ in the AM_CPPFLAGS rules in the various
Makefile.ams to overcome bug in the MinGW port of g++ 3.4.2.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9364 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 10:41:09 +00:00
Alfredo Braunstein
597ef42648 assorted tabular fixes (selection and scroll)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9345 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-06 02:35:12 +00:00
Lars Gullik Bjønnes
a4319c2b89 more PCH_FLAGS work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9341 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-04 14:50:25 +00:00
Lars Gullik Bjønnes
c73eea9bda use AM_CPPFLAGS instead of INCLUDES since that is deprecated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9338 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 19:11:38 +00:00
Lars Gullik Bjønnes
94aa0bdda4 remove all trace if idxUpDown2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9335 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 16:39:59 +00:00
Georg Baum
e70294c413 use better index types for tabular rows, columns and cells than int
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9334 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 13:57:50 +00:00
José Matox
bd6cb0ad58 Move compatility code for old style (0.10 !) latex accents to lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9331 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-02 12:29:21 +00:00
Jean-Marc Lasgouttes
e78648a4f5 fix recent bug where too many lfuns got disabled;fix minibuffer message when a command is disabled
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9330 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-02 11:32:14 +00:00
Alfredo Braunstein
a2cd656e25 CoordBranch merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 01:59:49 +00:00
Lars Gullik Bjønnes
686f1e276f InsetOld -> InsetBase renaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9310 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 19:13:07 +00:00
Alfredo Braunstein
10ba1b8918 changelogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9302 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 05:51:40 +00:00
Lars Gullik Bjønnes
183239b7de rename priv_dispatch to doDispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9301 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:58:42 +00:00
Alfredo Braunstein
ed064bdee6 par->pit renaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:53:46 +00:00
Georg Baum
2621ad0763 fix tabular multicolumn handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9298 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 16:48:21 +00:00
Lars Gullik Bjønnes
59413be9a0 clone NVI, other small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9295 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-23 23:04:52 +00:00
Jean-Marc Lasgouttes
6ae4dc23f4 allow more than one optional inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9272 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-19 16:17:52 +00:00
Georg Baum
feb701e35e determine current cell in the tabular controller instead of the inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9265 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-18 12:58:19 +00:00
Jean-Marc Lasgouttes
f95d6c7a53 insetlatexaccent is part of a word
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9248 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-15 13:35:50 +00:00
Alfredo Braunstein
22e5c2519c fix invalid cursor when opening collapsables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9226 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-11 08:18:30 +00:00
Georg Baum
dacd4cea26 make gettting the file format from file contents work in the correct way ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9218 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-09 19:08:34 +00:00
Jean-Marc Lasgouttes
52bca49238 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9180 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-05 15:08:58 +00:00
Jürgen Spitzmüller
456e7098b5 implement getStatus in charstyle and ERT / insetcharstyle drawing improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9169 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-04 19:50:04 +00:00
José Matox
1ecc7b79cd Remove mixed_content from output parameters.
Escape ids to always produce legal output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9157 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-02 11:25:20 +00:00
Jürgen Spitzmüller
76cd9510e9 prevent paragraph breaks in charstyle insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9156 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-01 10:42:41 +00:00
Georg Baum
e367172256 use the movers also for copying from temp dir -> export dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9153 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-01 08:50:42 +00:00
Jürgen Spitzmüller
9499d9da38 insetcharstyle drawing cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9152 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-31 12:30:26 +00:00
José Matox
a059f47e59 Inside the same the same paragraph don't change CDATA status.
Don't output paragraphs inside inline elements (char styles). (docbook)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9151 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 22:14:02 +00:00
Jürgen Spitzmüller
595dc950ec fix typo in InsetCharStyle::priv_dispatch, which caused an infinite loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9145 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 14:49:51 +00:00
Jürgen Spitzmüller
29285691b1 replace insetVerbatim with InsetText methods (bug 1731), fix LaTeX output problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9144 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 13:27:30 +00:00
José Matox
8e27aa2fb7 Sanitize ids for SGML/XML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9142 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 23:08:04 +00:00
Georg Baum
6fe9e4e30d rename getExtFromContents() to getFormatFromContents()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9141 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 15:47:55 +00:00
José Matox
a86b3a1c84 Move ids in environments to the possible wider scope.
Replace <> by the "" for all attributes.
Use open and closeTag always.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9140 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 15:10:10 +00:00
Georg Baum
1c10b250b2 simplify regex after advice by Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9134 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 10:59:19 +00:00
Georg Baum
ec75d960c5 remove spurious insetexternal warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9132 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-27 11:36:15 +00:00
Angus Leeming
eb00187fea Whitespace, nothing but whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 21:16:44 +00:00
Angus Leeming
e5706b107d The Movers patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9130 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 18:39:13 +00:00
Jürgen Spitzmüller
e442f7ec3e use thanks instead of footnote on the titlepage (bug 1677)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9126 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-25 09:11:12 +00:00
José Matox
d507a0b147 Escape content form inset index. (docbook)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9120 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-25 00:26:05 +00:00
José Matox
eb3d6435d1 Reorganized docbook export code and fixed several bugs in the process.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9114 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 00:02:39 +00:00
André Pönitz
5147e05cc1 fix further crashs due to invalid cursor positions
adjust comment


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9111 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 09:46:33 +00:00
André Pönitz
f83d81275f fix crash after removing a table row (again due to uncorrected cursor
position)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9110 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 09:21:38 +00:00
André Pönitz
3f65d1489a fix tabular crash after cutting a selection (cursor position was not
corrected)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9108 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 08:50:30 +00:00
José Matox
d49b60b258 Improve graphics export for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9101 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-21 22:55:04 +00:00
José Matox
c6bf338207 Export Inset Cite (docbook)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9100 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-21 22:39:20 +00:00
Martin Vermeer
a566db1d51 Implement use of babel language in xindy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9061 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-07 15:21:03 +00:00
José Matox
89aa915ad7 Small adjustments for graphics export in docbook (Andreas Vox).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9051 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 13:38:31 +00:00
José Matox
4acce5c117 replace nextToken by more appropriate lex methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9049 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 12:56:22 +00:00
Angus Leeming
e978fa42e3 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
José Matox
2aac4a9c00 convert TeX units to Docbook units where possible (Andreas Vox)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9041 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-04 13:56:04 +00:00
José Matox
6b9ff53e6d Add support for units, in docbook export of graphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9026 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-29 15:25:54 +00:00
Lars Gullik Bjønnes
ec94b42f51 Use the preferred calling for Boost.Signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9010 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 14:19:47 +00:00
Lars Gullik Bjønnes
53cea42f88 Change to use preffered calling of Boost.Function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9009 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 13:34:57 +00:00
José Matox
1fbb68df78 patch from Andreas Vox to fix unclosed tag in docbook-xml.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9005 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-25 12:26:07 +00:00
Lars Gullik Bjønnes
197c26de99 More pch work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8956 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 14:20:18 +00:00
José Matox
f17505a8fb Remove space at end of line, when superfluous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8953 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 11:27:51 +00:00
Jean-Marc Lasgouttes
d194cfffa5 get rid of ownerPar(), which was super slow; fix tabular crash due to recently introduced BOOST_ASSERTs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8951 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 00:32:04 +00:00
Lars Gullik Bjønnes
b0fbc29aa3 some support for pch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8947 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 21:45:30 +00:00
Jean-Marc Lasgouttes
e5c1dd967b some profiler work, a few cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8942 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 16:52:44 +00:00
André Pönitz
93430a89da change a few par_type args in LyXText::* to Paragrpah & to speed things
up


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8940 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 00:01:45 +00:00
Jean-Marc Lasgouttes
0fe5cc3913 one less use of ownerPar means faster code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8939 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 23:57:29 +00:00
André Pönitz
1c8329d3a4 better mouse selection within tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8938 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 22:38:45 +00:00
André Pönitz
b4b6c8b078 make all cached positions screen-absolute
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8936 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:56:40 +00:00
Jean-Marc Lasgouttes
4979ab7ab4 fix width of unconstrained cells in insettabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8935 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:55:38 +00:00
Jean-Marc Lasgouttes
c6204d60c2 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8934 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:28:59 +00:00
André Pönitz
790ca645c8 fix a crash when selecting within tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8933 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:23:16 +00:00
André Pönitz
ffdc627459 rename ERT into P-ERT since they are only partially red nowadays
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8932 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:07:14 +00:00
André Pönitz
edbef46cd7 move around stuff, remove unneeded declarations etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8929 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 19:55:00 +00:00
Jean-Marc Lasgouttes
ec4ebf3dcd fix the include inset; Angus, please doublecheck this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8928 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 19:20:42 +00:00
José Matox
498724d21b up to file format 236 and also fix Bug 421.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8927 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 18:41:27 +00:00
Lars Gullik Bjønnes
d20f0af816 some nicer margins and some small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8925 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 15:55:22 +00:00
André Pönitz
02ebc072b0 remove per-inset position cahce, use new external map instead.
this allows us to bomb early on uninitialized cache values.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8923 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 14:03:42 +00:00
Jean-Marc Lasgouttes
0786aa3247 fix problems with ] in optional latex arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8919 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 23:30:26 +00:00
André Pönitz
7914e9c401 use accessor functions if possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8917 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 22:48:48 +00:00
André Pönitz
b119fd180d remove unused mathed parts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8915 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 22:24:42 +00:00
Jean-Marc Lasgouttes
9e20808369 constify the various incarnations of editXY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8907 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 19:14:17 +00:00
André Pönitz
6d5b622a8a handle framewidths != 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8904 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 15:08:25 +00:00
Jean-Marc Lasgouttes
6b89c145fd fix toggling of collapsable insets with the mouse (bug 1558)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8901 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 14:56:06 +00:00
José Matox
d2f9e0a569 Fix bug 1147.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8899 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 13:07:02 +00:00
Jean-Marc Lasgouttes
b1be8f3cb0 speedup latex export a lot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8869 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-05 09:18:54 +00:00
Lars Gullik Bjønnes
7c15014ec2 change "support/std_sstream.h" to <sstream>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8849 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 10:55:30 +00:00
Georg Baum
451b1bb338 fix graphics inset bug (see ChangeLog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8820 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-22 15:26:55 +00:00
Georg Baum
cb73d69ae4 improve tex2lyx paragraph and comment handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8815 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-18 06:47:19 +00:00
Georg Baum
5603df4a5b convert graphics for .tex export, fixes bug 1231
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8814 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-10 08:44:40 +00:00
Jean-Marc Lasgouttes
80fbee4eba translate correctly things like "list of algorithms" (bug 1312)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8806 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-08 13:35:14 +00:00
Georg Baum
fa29d7ee98 last chunk of the fix for bug 1244 + overwrite checking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8791 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-01 13:39:33 +00:00
Angus Leeming
2a31934f38 Wrap most of the frontend code up inside namespace lyx::frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-19 15:11:37 +00:00
Georg Baum
db707dab04 remove now unnecessary const casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8757 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-17 11:28:31 +00:00
Angus Leeming
3ea4eeb8a5 Citation labels now update immediately if the citation engine is changed
from the document dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8756 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-17 08:52:21 +00:00
José Matox
33243f7003 clean code to export between different flavours, output different code for sgml to deal with incomplete implementation, clean code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8755 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 15:47:35 +00:00
Angus Leeming
24bd12178d a new biblio::asValidLatexString helper function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8754 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 15:27:13 +00:00
Angus Leeming
ea6a5fe92d Move the biblio::CiteEngine enum into bufferparams.h to minimize
dependencies on frontends/controllers/biblio.h.
Small clean up of the existing biblio.h interfaces.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8753 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 13:13:20 +00:00
Angus Leeming
8424214209 Store the citation engine in BufferParams as biblio::CiteEngine rather
than a triplet of bools. Results in a file format change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8752 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-13 20:44:35 +00:00
Angus Leeming
d8c5a828fa Clean up natbib, jurabib code as posted to the list last Friday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8748 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-10 20:55:00 +00:00
Georg Baum
eea99ecc8b leftovers from the fileformat 232 -> 233 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8747 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-07 12:16:20 +00:00
Georg Baum
b65e6f7544 fix handling of zipped graphics files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8746 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-05 15:37:36 +00:00
Angus Leeming
119b50c7c5 Remove some redundant #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8709 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 11:33:31 +00:00
Angus Leeming
5009d66e16 * Positionable and dynamically visible toolbars for the XForms frontend.
* General Toolbars code clean-up.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8707 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 09:54:59 +00:00
Georg Baum
b36c13278b require file extension for included graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8706 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 09:24:29 +00:00
Angus Leeming
306248fe6c Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8705 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 07:58:52 +00:00
Georg Baum
7f68b94d8a Partly fix for bug 1231
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8696 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-26 11:05:19 +00:00
Jean-Marc Lasgouttes
0aea071705 another fix related to bug 605; fix toggling of optarg inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8685 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 12:46:15 +00:00
Angus Leeming
c4762f9452 Whitespace, only whitespace...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8682 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:51:15 +00:00
Angus Leeming
66cd8361ff Remove lyxerr statement; cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8680 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:42:10 +00:00
Angus Leeming
f16199abd2 Enable the user to preview xfig figures (f.ex.) without previewing mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8670 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 13:31:17 +00:00
Angus Leeming
005545f281 Remove cached var from RenderPreview. Changes elsewhere to suit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8669 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 13:05:36 +00:00
Angus Leeming
7b54b9ca42 Remove unused member function and variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8657 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-16 16:01:47 +00:00
Angus Leeming
90b993e576 Change a few ...@localhost.localdomain email addresses...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8656 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-16 15:49:31 +00:00
Angus Leeming
fff7d8407c Refactoring of renderer code to make inset code simpler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8650 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 17:25:23 +00:00
André Pönitz
b3eefc106e fix the cursor-y problem in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8646 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 12:47:48 +00:00
Angus Leeming
da61af2b8e Georg's add an editor to Formats / safe external_templates patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8645 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 10:36:09 +00:00
André Pönitz
b447408de2 macro rework
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8644 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 06:27:29 +00:00
André Pönitz
2bdaf96dfb the Paragraph::inInset() changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8632 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 15:03:33 +00:00
Jean-Marc Lasgouttes
b3bed8d879 Georg\'s last patch for bug 605
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8627 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 10:09:09 +00:00
Angus Leeming
21ea61eb81 Prevent crash when clicking on either the external or the include insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8618 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 09:25:31 +00:00
André Pönitz
6c9b23105c fix table crash;
selection by mouse


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8617 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 08:07:26 +00:00
Martin Vermeer
9b35643f8e Use 'assign' as the name for the operation that opens/closes branch
insets according to selection


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8616 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 05:28:51 +00:00
Angus Leeming
dcd66fa802 Georg's latest contribution to squashing bug 605.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8615 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-06 21:07:27 +00:00
André Pönitz
678d4d3ce8 and this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8609 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 16:47:55 +00:00
André Pönitz
03b6d27f47 use LCursor & in notifyCursorLeave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8607 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 16:39:52 +00:00
Angus Leeming
65aa219f2e Get the date right ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8602 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 14:01:30 +00:00
Angus Leeming
29e3a03b63 Squash bug 1372: Misleading graphics label when deactivating lyx view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8601 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 11:59:14 +00:00
Angus Leeming
0424a53b20 Wrap all #warning calls inside #ifdef WITH_WARNINGS blocks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8598 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 09:36:28 +00:00
Lars Gullik Bjønnes
68b7ef25fb simple ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8594 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-03 08:37:12 +00:00
Jürgen Spitzmüller
071120c767 fix the float fix and apply the fixed float fix to insetwrap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8589 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-02 08:54:37 +00:00
Jürgen Spitzmüller
a6c8ac4791 fix the float bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8585 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 10:43:45 +00:00
André Pönitz
fc06c3ea10 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8584 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 10:21:29 +00:00
Alfredo Braunstein
3d1fe03e56 some spellcheck fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8572 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 17:58:11 +00:00
Angus Leeming
72f045c60f Rename getOutOfInset as leaveInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8568 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 09:24:43 +00:00
Angus Leeming
3666618138 Use Alfredo's getOutOfInset suggestion, but use it in the inset::dispatch
functions as suggested by Andre. Squashes the bug beautifully.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8567 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 08:43:47 +00:00
Angus Leeming
991b0ec589 A slightly buggy lfun all-insets-toggle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8564 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 12:36:33 +00:00
Alfredo Braunstein
610e905ed3 change iterators ctors, implement backwardPos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8562 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 08:18:09 +00:00
Jürgen Spitzmüller
7aadb167bf add bibtopic support (bug 870).
That's it for now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8560 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 13:17:25 +00:00
Jürgen Spitzmüller
4072a82b6e support for sidewaysfloats and fix for bug 1016 (float placement allows impossible settings).
BTW: floats are still broken (dialogs do not get updated). No idea where this bug sits.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8557 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 11:38:39 +00:00
Alfredo Braunstein
3e80b0b318 the pariterator stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8554 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 22:00:22 +00:00
Alfredo Braunstein
979a4d8ecf fixes 3 c&p crashes, and a vanishing insets bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8553 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 19:13:11 +00:00
Alfredo Braunstein
728193eacc fix collapsables drawing problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8547 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 13:29:17 +00:00
André Pönitz
32855cf6ed partial fix for cursor movement in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8542 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 12:40:39 +00:00
Angus Leeming
e26fc29a3c Squash a noisy but useless warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8537 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 23:57:40 +00:00
Angus Leeming
7c70a8ee0f Georg's take on Bug 605.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8528 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 10:12:44 +00:00
André Pönitz
0d43ba149a the stuff from the sneak preview:
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).

Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.

I had an extensive talk with my profiler and we are happy nevertheless.

This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now  lyx::cap::. Was inconsistent with the rest....

Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.

Remove some unneeded prototypes and function declarations

Use ParameterStruct directly instead of ShareContainer<ParameterStruct>

Inline a few accesses to CursorSlice members as suggested by the profiler.

Fix commandline conversion crash reported by Kayvan.

Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...

Remove math specific hack from Documentiterator

Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.

Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.

Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
André Pönitz
b634b3eb3b split LyXFunc::getStatus() into inset specific chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8500 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 13:57:20 +00:00
André Pönitz
5198e1d9a3 The Buffer::LyXText -> Buffer::InsetText patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8498 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 12:53:43 +00:00
Jürgen Spitzmüller
d6ed2fc309 use opening quotation marks after '[' char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8493 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-16 10:48:10 +00:00
André Pönitz
ec4ab8ce18 revert Buffer LyxText->InsetText commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8489 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 17:16:38 +00:00
André Pönitz
1b3f5ee46f the Buffer::text -> inset change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8488 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 16:09:42 +00:00
Alfredo Braunstein
60cbc89f03 inlined open submode, in the hope someone will actually test it. Easy take it back if there are problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8483 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-10 08:50:46 +00:00
André Pönitz
4c8d536692 redo undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8481 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-08 21:14:45 +00:00
Jürgen Spitzmüller
b1fa5cd0d0 Add support for the jurabib package (www.jurabib.org), a package for elegant BibTeX references, as requested in bug 408.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8480 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-07 14:33:17 +00:00
Jürgen Spitzmüller
891bb08e37 support for second \cite option.
Natbib users can now use the before field.
file format is up to 230.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8479 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 14:49:10 +00:00
Alfredo Braunstein
bebf2f3c88 make right mouse button click only open the inset dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8475 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-04 07:38:11 +00:00
André Pönitz
fc52df8243 the DocIterator stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8472 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 17:12:09 +00:00
Alfredo Braunstein
1bef03ac20 make cygwin and Angus happy (remove insetlist.[Ch]).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8461 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 08:33:24 +00:00
André Pönitz
2c535ef9e9 some de-mathed-ification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8459 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 14:39:14 +00:00
Jean-Marc Lasgouttes
d891a896f4 Georg Baum\'s no-tempdir patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8458 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 12:00:53 +00:00
André Pönitz
e6b54c9fb6 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
* cursor.[Ch]: prepare for localized getStatus()

	* lyxtext.h:
	* tabular.C:
	* text.C:
	* text2.C:
	* text3.C:  streamlines the LyXText cursor movement handlers a bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8453 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 17:19:53 +00:00
André Pönitz
48366502d7 fix tabular crashs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8451 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 11:00:41 +00:00
Jürgen Spitzmüller
56a3e2e1c0 add lfun 'quote-insert' arguments single/double (ERT fixes not included)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8450 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 10:32:44 +00:00
Alfredo Braunstein
3d0d1e5a82 move some coords to absolute
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8438 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 17:26:09 +00:00
André Pönitz
357a3741c0 * insettabular.[Ch]: remove remains of the 'update' mechanism,
simplify cursor moving function,
	  re-enable horizontal scrolling for large tables

	* insetbase.C:
	* insetbase.[Ch]: remove explicit 'DispatchResult' return type and
	  implicitly assume 'DispatchResult(true, true) with exception of
	  InsetBase::priv_dispatch which does the equivalent of
	  'retrun DispatchResult(false)'

	* inset*.[Ch] (priv_dispatch): adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8435 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 11:58:51 +00:00
André Pönitz
02291d14f1 some table work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8432 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 16:22:53 +00:00
André Pönitz
7a0b5603e5 more IU as advertised
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8431 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 13:51:12 +00:00
André Pönitz
2288d17247 more IU stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8430 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 11:05:29 +00:00
André Pönitz
4bcfc43c29 IU stuff + shuffling things from BV::dispatch to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8427 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 07:30:59 +00:00
André Pönitz
2a5bc90633 bug + spped fixes + small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8421 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-11 14:45:44 +00:00
André Pönitz
67f9c9fdae fix mathed crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8414 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 16:14:06 +00:00
André Pönitz
3f01b19844 shift some text related stuff from BufferView::dispatch to LyXText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8411 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 13:59:26 +00:00
Alfredo Braunstein
09e11f4d38 fix some coordinates (tabular and math missing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8410 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 13:18:49 +00:00
André Pönitz
93adf5d595 re-enable bits of selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8407 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 11:12:49 +00:00
André Pönitz
9270b36fb4 disable a few messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8406 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 09:34:04 +00:00
André Pönitz
281047c2bf two bug fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8401 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 11:23:25 +00:00
Alfredo Braunstein
982344dc61 fix crash when opening collapsables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8399 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 09:14:27 +00:00
André Pönitz
62e4adaef2 more cursor dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8396 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 17:12:34 +00:00
André Pönitz
29ef6251e8 re-enable click on button insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8394 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 16:44:57 +00:00
André Pönitz
6af06846fd remove cursor::drawSelection() plus some math reorganization (move the
'width' cache from MathAtom)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8383 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 17:32:56 +00:00
Lars Gullik Bjønnes
2e5976a0be Cleanup usage of contains and simplify a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8378 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-01 12:46:14 +00:00
Lars Gullik Bjønnes
3420904448 The func.diff patch. Functors work and some tiny cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-31 15:30:24 +00:00
André Pönitz
99aacdad5c more IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8376 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-30 11:41:12 +00:00
Lars Gullik Bjønnes
ca176cc434 std:: changes, stupid stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8375 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-28 16:21:29 +00:00
André Pönitz
1eaa3eb913 more IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8371 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 10:13:15 +00:00
Jean-Marc Lasgouttes
85fa1d41ba move Buffer::nice to LaTeXFeatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8364 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-21 17:52:07 +00:00
André Pönitz
ccc5d55764 Part of IU.
####################################################################

          1.4.0cvs is now NOT fit for any serious use

####################################################################


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8363 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-20 14:25:24 +00:00
André Pönitz
ea53de7c85 and some mathed de-uglyfication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8359 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-16 12:36:23 +00:00
André Pönitz
69bee02a89 mathed uglyfication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8358 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-16 10:55:19 +00:00
André Pönitz
70d0ba9001 the monster patch
mathed is completely broken, but it's difficult to imprevo with such a
big patch in the tree.

If things don't improve until tomorrow evening, I'll revert this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8357 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 17:34:44 +00:00
André Pönitz
f7b38dbdc5 some renaming + safety stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8353 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 11:58:35 +00:00
André Pönitz
6102cddc08 fix one of the tabular crashs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8352 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 10:20:25 +00:00
André Pönitz
691594432d more shuffling...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8347 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 17:21:39 +00:00
André Pönitz
4eb75f09eb move the Selection structure from LyXText to BufferView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8342 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 14:16:11 +00:00
André Pönitz
25bafa2772 Anchor globalization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8340 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 18:08:13 +00:00
André Pönitz
d8f81752eb replace LyXCursor by CursorSlice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8338 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 14:13:51 +00:00
André Pönitz
7f48aeeab1 some integer type changes for inset unification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8337 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 12:28:35 +00:00
André Pönitz
97901b5d51 hide cursor and selection anchor behind accessor function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8333 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 10:37:38 +00:00
André Pönitz
2336bc463a some selection work for tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8329 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-08 18:30:14 +00:00
Jean-Marc Lasgouttes
30f1fd59ae status tag patch from Georg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8315 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 14:36:43 +00:00
Lars Gullik Bjønnes
4b1212acf2 Some more functor work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8303 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-05 17:33:57 +00:00
Angus Leeming
1fe005b6c4 Update defaultTemplateName so that the external dialog opens with the
last-used template.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8292 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-02 21:25:02 +00:00
Angus Leeming
f0a2d5d9ae Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8291 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-02 21:22:37 +00:00
Jürgen Spitzmüller
038032fefd Michael's latest minipage cleanup patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8282 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-29 13:55:45 +00:00
Martin Vermeer
17b31b1764 get getDrawFont working again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8261 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-16 18:49:04 +00:00
André Pönitz
bbcd13990a split functions into logical pieces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8253 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 15:33:15 +00:00
André Pönitz
a97ed20502 merge CursorItem and MathPos
remove cached x and y values from Cursor
some tabular fixes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8251 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 11:36:19 +00:00
Jürgen Spitzmüller
1ebd651ad6 The uncontroversial part of Michael Schmitt's minipage cleanup (removal of the gnome/gtk stuff and the forgotten MINIPAGE_CODE)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8250 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 10:33:27 +00:00
Angus Leeming
1cad117882 Overhaul the branches code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8247 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-14 16:33:56 +00:00
Jürgen Spitzmüller
83ceb3c57b Minipage is no more (long live the box inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8246 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-14 13:47:40 +00:00
André Pönitz
2384c36416 next try with Michael's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8244 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 15:21:31 +00:00
Alfredo Braunstein
7da68795a5 selection patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8243 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 15:19:35 +00:00
André Pönitz
82fbc52bbb smallish InsetTabular code shifting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8242 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 15:18:29 +00:00
André Pönitz
f4c49493be Michael Schmitt's collapse status patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8241 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 14:02:14 +00:00
André Pönitz
1ef0ef4e2e fix math super/subscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8240 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 13:57:20 +00:00
Angus Leeming
f02dbbd049 Enable the InsetInclude dialog to be opened.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8235 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 10:20:17 +00:00
Angus Leeming
890bba60e4 Cruft removal, small clean-up, no functional changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8234 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 10:05:21 +00:00
Angus Leeming
fd355bbb2f Remove a whole heap of redundant functions from classes derived from
InsetCommand.
Clean-up many Mailer::string2params functions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8233 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-11 15:23:15 +00:00
Angus Leeming
041004baac Add a 'draft' option to InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8231 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-11 11:16:19 +00:00
Angus Leeming
d43da3679e Modify the InsetBox format to always start 'Box'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8229 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:48:40 +00:00
Angus Leeming
d3990cdad5 Use the new lyxlex interface in InsetERT.
Ensure that InetExternalParams has a default template (RasterImage).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8227 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:32:05 +00:00
Angus Leeming
c2d7777341 InsetNote clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8226 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 17:28:14 +00:00
Angus Leeming
24ab0d6c05 Clean-up of the Note, Branch mailer interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 14:49:51 +00:00
André Pönitz
153ac7500c * inset.h:
* insetert.[Ch]:
	* insettabular.[Ch]:
	* insettext.[Ch]: remove unused insetInset()

	* insetert.C: disable some  LFUNs

	* insettoc.[Ch]: metrics() and draw() of InsetButton is enough.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8221 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 09:45:32 +00:00
Martin Vermeer
ee31454d59 Conglomerate-style CharStyles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8210 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-06 09:31:30 +00:00
Angus Leeming
bc045d9320 Enable InsetExternal to be hit by the mouse once again.
Some small additions to the ExternalTransforms stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8193 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-04 16:53:53 +00:00
André Pönitz
8fa8cfb4a3 remove Inset::getParagraphs()
cache 'outermost' inset font


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8192 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 18:17:20 +00:00
Martin Vermeer
2d61ce9b85 Fix label text updating bug reported by Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8191 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 16:33:12 +00:00
André Pönitz
550785b004 patch sent to the list yesteday
* buffer.[Ch]:
	* lyxtext.h:
	* paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
	InsetText::read() as LyXText::read()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8190 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 15:27:16 +00:00
André Pönitz
5ea277209f merge common code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8183 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 12:39:14 +00:00
Angus Leeming
51fa9803d3 Ensure that InsetVSpace works with the new, simpler lyxlex syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8182 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 12:27:07 +00:00
André Pönitz
b36207b449 set new text width on workarea resize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8180 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 10:51:58 +00:00
André Pönitz
a5e85854f8 * lyxlex.[Ch]: make interface more similar to std::stream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8179 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 10:19:51 +00:00
André Pönitz
35f1ab544b move 'Inline' state from InsetERT to InsetCollapsable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8177 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 07:15:42 +00:00
Angus Leeming
0aea5bd320 Handle 'end_inset' gracefully.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8173 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 21:19:16 +00:00
Martin Vermeer
918a4067b5 Add latexparam to CharStyle inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8171 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 16:01:50 +00:00
Martin Vermeer
d6c55f8b50 Place inset content on the button when collapsed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8169 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:51:52 +00:00
Jürgen Spitzmüller
b06de5044f The VSpace fixes (removal of VSPACE::NONE) from Michael and myself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8168 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:16:27 +00:00
André Pönitz
4b2c271e23 * buffer.[Ch]:
* lyxtext.h: move ParagraphList member to LyXText
	rename LyXText::ownerParagraphs to LyXText::paragraph

	* CutAndPaste.C:
	* bufferview_funcs.C:
	* iterators.[Ch]:
	* lyx_cb.C:
	* paragraph.C:
	* rowpainter.C:
	* tabular.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

	* lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.

	* undo.C: fix cursor positioning
	* insetbase.h: whitespace

	* inset.[Ch]: remove latexTextWidth
	make setBackgroundColor virtual

	* insettext.[Ch]:  move ParagraphList member to LyXText

	* insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE

	* insetcharstyle.C:
	* insetenv.C:
	* insetert.[Ch]:
	* insetfloat.[Ch]:
	* insetminipage.[Ch]:
	* insettabular.C:
	* insetwrap.[Ch]: adjust paragraphs and background color handling,


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8166 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 13:35:49 +00:00
Angus Leeming
48f7421140 The VSpace inset is now fully functional AFAICT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8151 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 17:38:39 +00:00
Angus Leeming
3bb6b37043 Simplify the invocation of the Mailer::hide/showDialog() functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8150 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 17:13:41 +00:00
André Pönitz
7de76711b1 move space above/below from Paragraph into a separate vspace inset.
Gui interaction mailer stuff by Angus...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
Martin Vermeer
e8185081bc Syntax change for CharStyles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8147 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 10:12:04 +00:00
André Pönitz
84b462dd37 ismall stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 08:55:12 +00:00
Alfredo Braunstein
0ca871014a setFont rework + some code simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8140 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 09:22:41 +00:00
Alfredo Braunstein
1dc2202e8b adjust two comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8136 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 16:49:02 +00:00
André Pönitz
ce686f1803 the 'lots of small stuff' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8135 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 11:17:27 +00:00
Alfredo Braunstein
6b8618d6a1 make insetgraphics cache their position
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8134 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 08:50:07 +00:00
André Pönitz
c01bf4fae4 * text2.C (updateCounters): remove call to redoParagraph on
changed labels as this is far too expensive.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8130 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 17:29:10 +00:00
André Pönitz
4bcfc9abe9 * insettext.C (setViewCache): don't call LyXText::init() anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8127 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 16:54:00 +00:00
André Pönitz
cf6380307f some rowpainter simlification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8125 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 16:26:55 +00:00
Lars Gullik Bjønnes
7dd8cd705b A couple of changing resulting from gcc 3.4 debug mode testing.
Dont copy singular iterators.
Dont compare iterators from different containers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8121 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-22 14:44:59 +00:00
André Pönitz
e506fc5915 fix some compiler warnings
stick to LyX naming convention


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8120 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 17:31:46 +00:00
André Pönitz
6ff15cc813 Michael's open-close-patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8119 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 17:26:11 +00:00
André Pönitz
62e7385055 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8117 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 16:35:46 +00:00
André Pönitz
a976dd9104 Michael Schmitt's patch to remove unused arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8114 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 14:59:24 +00:00
Alfredo Braunstein
43198fcbda xy0_->xyo_ + two fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8111 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 08:35:15 +00:00
Alfredo Braunstein
614fbe566c cursor work + absolute coords for lyxtext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8107 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-20 10:38:12 +00:00
Angus Leeming
c8507b7fcd Squash a bunch of warnings thrown up by g++.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8106 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-20 01:22:51 +00:00
Alfredo Braunstein
025cb611e3 mouse selection patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8100 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 20:28:11 +00:00
André Pönitz
dd4457d6ba and this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8096 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 14:52:12 +00:00
André Pönitz
2ff4eaba84 handle most of InsetText::dispatch() to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8095 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 14:51:36 +00:00
André Pönitz
6c38a862ab move some cursor handling from insettext.C to text2.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8094 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 14:28:18 +00:00
André Pönitz
4003db620d re-enable paste in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8093 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 13:20:34 +00:00
André Pönitz
2956e084bb make tables descendable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8092 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 12:53:44 +00:00
André Pönitz
69a698c48a * insettext.[Ch] (cx, cy): remove
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8091 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 12:39:24 +00:00
André Pönitz
3159d1a52e no need for three calls to update() in a row...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8080 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 13:43:44 +00:00
Alfredo Braunstein
79ae54d4c0 fitCursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 08:50:26 +00:00
Martin Vermeer
59fefa0759 The Character Style and XML short element inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8078 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-12 14:38:26 +00:00
Alfredo Braunstein
faa37a30d4 removing update calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8076 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 13:17:28 +00:00
Alfredo Braunstein
29eaa76094 some fitcursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 09:06:41 +00:00
André Pönitz
7803b6341b small clenaup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8072 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 18:13:00 +00:00
André Pönitz
6b22f0e423 coordinate cache IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8071 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 15:38:20 +00:00
André Pönitz
7915d583c2 some cursor correctiosn when closing a collapsable inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8070 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 14:29:39 +00:00
André Pönitz
de49e02934 the update/updateInset merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8069 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 13:23:14 +00:00
André Pönitz
a145b1fd8d fix 'click on first footnote in UserGuide' crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8068 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 11:26:33 +00:00
André Pönitz
59a60a7d3b remove InsetOld::id
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8066 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:55:30 +00:00
André Pönitz
b0cffd9fc0 The deed is done.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8064 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:06:48 +00:00
Alfredo Braunstein
8aaf803192 skip ert on spellchecking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8060 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-07 09:40:49 +00:00
André Pönitz
2ad9bd1e7d more global cursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8059 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 16:43:12 +00:00
André Pönitz
32b65ce8ec fix a few 'OUT OF SYNC'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8055 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 11:56:10 +00:00
José Matox
cd424d7853 Rename ascii to plaintext and LatexRunParams to OutputParams.
Create new files for each output format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8046 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 12:06:20 +00:00
Alfredo Braunstein
9a4ff503a7 two small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8040 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 09:36:07 +00:00
André Pönitz
db78dbfa04 cursor changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8035 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 12:36:59 +00:00
Alfredo Braunstein
32a716152e the spellcheck cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8034 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 12:01:15 +00:00
Alfredo Braunstein
4ad989550c remove dead spellcheck code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8032 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 11:36:28 +00:00
Alfredo Braunstein
3a36ee90ff small fix to the locking nightmare
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8031 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 11:17:20 +00:00
Lars Gullik Bjønnes
05894b4862 some InsetText::priv_dispatch progress.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8028 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 08:33:23 +00:00
André Pönitz
49e5945ce4 LyXCursor::x_fix -> BufferView::x_target
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8026 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 07:43:03 +00:00
Lars Gullik Bjønnes
c1319d2c67 Change DispatchResult semantics a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8021 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 19:52:47 +00:00
Lars Gullik Bjønnes
c38370d1c3 the exception safety patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 17:47:28 +00:00
André Pönitz
b8a3ae7449 remove Inset::id
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8019 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 16:46:44 +00:00
Lars Gullik Bjønnes
cc719fe0ce more dispatchresult changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8013 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 15:45:19 +00:00
Jürgen Spitzmüller
eeb6a77860 insetpagebreak: fix screen representation & ascii output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8012 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 14:09:35 +00:00
Alfredo Braunstein
d51f1114b1 prepare for global iterator's operator--
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8009 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 09:56:18 +00:00
José Matox
15c913fe5a unify API for insets export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-31 18:45:43 +00:00
José Matox
95d8934808 factorise linuxdoc and docbook output code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8005 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-30 08:47:16 +00:00
Lars Gullik Bjønnes
a7060da197 make dispatch_result_t ctor of DispatchResult explicit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8004 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 19:19:27 +00:00
Martin Vermeer
a3236d4c95 Small refactoring of DocBook stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8003 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:48:21 +00:00
Lars Gullik Bjønnes
1d7a715329 more dispatch work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8001 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:24:57 +00:00
Lars Gullik Bjønnes
b0eb70e869 dispatchresult -> DispatchResult
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 10:47:21 +00:00
André Pönitz
4588bb075a lots of small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7995 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 11:18:40 +00:00
André Pönitz
69fae0531d * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
* factory.C: handle new InsetPagebreak, InsetLine

	* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
	and move handling into new InsetPagebreak, InsetLine

	* BufferView_pimpl.C:
	* LyXAction.C:
	* ParagraphParameters.C:
	* ParameterStruct.h:
	* lyxfunc.C:
	* lyxtext.h:
	* paragraph.C:
	* paragraph.h:
	* paragraph_funcs.C:
	* paragraph_pimpl.C:
	* rowpainter.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

etc


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Angus Leeming
afc9aaf6eb Get rid of hte dynamic_casts in InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7980 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-25 20:09:52 +00:00
André Pönitz
3e8ce5ac6c refrain from computing width in setHeightOfRow as this happens already
in rowBreakPoint before.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 09:45:07 +00:00
Alfredo Braunstein
a370d413af take the bidi stuff out of lyxtext.h to its own file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7966 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 13:28:49 +00:00
Angus Leeming
11c6ea653b Give InsetExternal the ability to preview its contents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7959 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 22:26:47 +00:00
Angus Leeming
78046794cc Add a Buffer::fully_loaded member function, returning true only when
the file has been loaded fully. Used to prevent the premature generation
of previews and by the citation inset to prevent computation of
the natbib-style label.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 13:15:18 +00:00
Angus Leeming
cf536b5db7 Move a couple of private member functions into namespace anon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7952 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 11:12:31 +00:00
Angus Leeming
f5d9beafd3 display() { return true; } only for those insets that are is display mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7951 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 10:22:09 +00:00
André Pönitz
5c3d9a2546 small stuff, whitespace & consistent naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7942 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 16:15:14 +00:00
Martin Vermeer
de039bb341 Final touch 'inset display()'; fix 'is a bit silly' bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7941 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 13:04:14 +00:00
Martin Vermeer
50bbb55cb0 Re-introduce display() for insets, fixing various bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7940 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 18:56:48 +00:00
Lars Gullik Bjønnes
05347e4101 make some more regexs static
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7932 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:23:41 +00:00
Lars Gullik Bjønnes
87ca6fbbeb the dispatch patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7931 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:01:15 +00:00
André Pönitz
18ce60e3c6 undo per inset. still a few crashes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7923 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-15 08:49:44 +00:00
Angus Leeming
50257b8690 Turn LyX into a singleton class. Kill the BufferView cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Angus Leeming
6fc6d7e010 Only draw the preview when previews are activated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:54:16 +00:00
André Pönitz
5c2f0c5c46 In insets:
2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

  * insetcollapsable.[Ch]:
  * insettabular.[Ch]:
  * insettext.[Ch]:
  * inset.h: getText() as alternative to getParagraphs()

In src:

2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

	* iterators.[Ch]: new direct access to innermost LyXText and Inset

	* undo.[Ch]: restoring part of 'undo in insets'

	* Makefile.am:
	* undo_funcs.[Ch]: merge with undo.[Ch]

	* tabular.C: small cleansing stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:01:49 +00:00
Angus Leeming
e9e4ffb1d1 displayTranslator is now a function. No need to invoke setDisplayTranslator
explicitly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 21:50:33 +00:00
André Pönitz
a316a54e60 * BufferView_pimpl.C:
* lyxtext.h:
	* text.C:
	* text2.C:
	* text3.C:
	* undo_funcs.[Ch]: use paroffset_type instead of
	  ParagraphList::iterators to prevent multiple conversion
	  (and get a more robust interface)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7909 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:59:31 +00:00
Angus Leeming
efae689873 Remove a couple of #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:00:39 +00:00
Angus Leeming
18b220ac99 No trailing whitespace left in src...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:43:15 +00:00
Lars Gullik Bjønnes
16e1f90daa ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7903 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 02:10:45 +00:00
Lars Gullik Bjønnes
da6d2de0ba do not call InsetOld::localDispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:53:45 +00:00
Lars Gullik Bjønnes
75b485d110 DISPATCH -> dispatch_result
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7900 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:35:47 +00:00
Lars Gullik Bjønnes
6cebb34085 Get rid of LyXFunc::dispatch that takes a string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7898 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 00:38:09 +00:00
Angus Leeming
122e7616d7 Minimise the use of the BufferView cache. The only things left using it
are InsetFormula, InsetExternal, InsetGraphic and InsetInclude that all
need to inform the BufferView of their changed status when the graphic
is loaded.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7897 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-12 18:54:12 +00:00
Angus Leeming
1c4ae33f9a A little further clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7895 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:24:06 +00:00
Angus Leeming
dff822442a RenderButton, RenderGraphic and RenderPreview now have a common lineage.
Almost sane code ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7894 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:08:55 +00:00
André Pönitz
839576adbc fix a few of the tabular crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 09:01:23 +00:00
Angus Leeming
760829360d Towards saner generation of previews code. Yeah, I know. I wrote it in
the first place. I was younger then.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7888 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 23:14:30 +00:00
Angus Leeming
97a1af408e Remove the inset and view member functions from PreviewedInset.
Ensuing changes elsewhere.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7887 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 19:27:07 +00:00
Angus Leeming
8ddfa9d784 Don't use the cached BufferView to get the Buffer when we have direct access
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7886 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 14:36:16 +00:00
André Pönitz
dcd8fb0428 replace ParagraphList::iterator by lyx::paroffset_type to prevent cursor
invalidation if the paragraphlist is changed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 10:52:12 +00:00
André Pönitz
6810aa2ab8 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
thing assignable.
	* text.C:
	* text2.C: adjust

	* tabular.[Ch]: fix crash after 'row-insert'

insets:

 * insetcollapsable.C:
  * insettext.[Ch]: saner 'init' structure

  * updatableinset.[Ch]: remove unneeded code


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7880 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 14:29:16 +00:00
Angus Leeming
627f2c70fa Fix a bunch of doxygen warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 11:31:51 +00:00
Angus Leeming
8c96de553b Add transformations to InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7877 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 22:59:58 +00:00
Angus Leeming
fbd9df3dbb Forgotten ChangeLogs, whitespace and some unnecessary namespace stuff removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7875 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 21:44:59 +00:00
Angus Leeming
1e8ce61177 * Rename InsetExternal::Params as InsetExternalParams. Consistent with
other Params structs. Allows it to be forward delclared.
* Unclutter insetexternal.[Ch] by moving helper functions to new files
ExternalSupport.[Ch].
* Fix export to LaTeX and PDFLaTeX without breaking use of the temp dir.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7874 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 20:25:10 +00:00
Angus Leeming
10cccff7c0 Remove unused member function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7870 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 11:03:37 +00:00
Martin Vermeer
800c0dfc38 The Box patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7865 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 07:42:15 +00:00
Lars Gullik Bjønnes
44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
André Pönitz
3bb63924d5 * metricsinfo.C: initialize LyXFont before changiging attribute.
(fixes the 'math in \emph is upright' bug)

	* tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7860 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 14:10:59 +00:00
André Pönitz
d839975cfc * insettext.C (read): make sure there is at least one par
in the text after reading.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7850 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-02 12:01:24 +00:00
José Matox
06be7f6c0b insetbranch.C (linuxdoc, docbook): minor fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7846 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 15:15:02 +00:00
Angus Leeming
27f298812d Introduce namespace lyx::external.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7843 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 10:16:00 +00:00
Angus Leeming
10289e0dbb Bah! Whitespace!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7842 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-30 13:58:49 +00:00
Angus Leeming
adbb65c87a Add InsetExternal::Params::read, write functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7841 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-30 13:51:00 +00:00
Angus Leeming
8c094fa08c Forgot to remove declaration of long-gone member function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7824 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 11:02:37 +00:00
Angus Leeming
9a3737148b Re-add the RasterImage template.
Several small clean-ups of the InsetExternal code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 10:49:13 +00:00
Angus Leeming
858e197b7c Enable multiple preamble snippets to be accessed by each format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7814 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-23 17:04:25 +00:00
Martin Vermeer
100e323d04 Bug fix in branches (was earlier fixed wrongly)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7803 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:46:27 +00:00
Martin Vermeer
47428517e7 Small cleanup, removal of self-aggrandizing comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7802 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:39:46 +00:00
Angus Leeming
c319aee7c2 Fix InsetInclude properly. Data is now stored in an InsetCommandParams
var rather tahn that nasty kludge InsetInclude::Params. Functions
that need info about the Buffer are passed a 'Buffer const &' arg.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7797 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 10:16:33 +00:00
Angus Leeming
4348674beb Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7795 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 22:26:46 +00:00
Angus Leeming
62df753a2e Pass Buffer arg to Inset::getLabelList, Inset::fillWithBibKeys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7794 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 20:18:39 +00:00
Angus Leeming
91d100b25f Get rid of the InsetInclude::Params::flag variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7792 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 17:22:36 +00:00
Angus Leeming
19dcaa4391 Enable previewing of Include insets within insets within insets...
(Don't use a BufferView cache to supply the Buffer when you can just pass
'Buffer const &' instead, Angus.'


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7789 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 13:13:49 +00:00
Angus Leeming
2e7ac7ca77 Rename EnumLColor as LColor_color.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7788 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:48:11 +00:00
Angus Leeming
de04f0162d Use the dispatch_result wrapper class DispatchResult to remove
#include "insets/insetbase.h" from cursor.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7787 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:21:53 +00:00
Angus Leeming
3fbad6656f Add an InsetOld::Code wrapper class, enabling #include "inset.h" to be
removed from paragraph.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7786 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 10:52:29 +00:00
Angus Leeming
e2143b91e4 Fix crash when cutting and pasting include insets with previewing turned on.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7780 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 21:46:44 +00:00
Angus Leeming
27a9cc2098 Small clean-up of the PreviewedInset interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7778 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:43:00 +00:00
Angus Leeming
35abda384d Make all of InsetCollapsable's member variables (save 'inset') private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7777 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:39:33 +00:00
Angus Leeming
f5a0bad734 Define a wrapper LyXFont_size for LyXFont::FONT_SIZE.
Use it in paragraph.[Ch], allowing the removal of #include "lyxfont.h"
from paragraph.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7772 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 13:43:30 +00:00
Lars Gullik Bjønnes
83256c8f88 fix some namespace issues for gcc 3.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7770 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 11:03:20 +00:00
Angus Leeming
fa837efdd6 Remove unused LColor::color framecolor variable from insetcollabsable.h
Remove #include "LColor.h" from insetcollabsable.h (final remaining instance).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7769 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:54:23 +00:00
Angus Leeming
f4af685bd3 Remove #include "LColor.h" from insettext.h. Deps down 10 to 95.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7768 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:30:59 +00:00
Angus Leeming
b9f0cff285 Move a couple of InsetText member variables from protected to private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7767 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:01:29 +00:00
Angus Leeming
0d54d6b74d Remove #include "LColor.h" from inset.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7766 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:44:34 +00:00
Angus Leeming
15dc5fa5d6 lyxfont.h no longer #includes LColor.h.
Change the LyXFont setXYZ member functions to return void, not LyXFont &.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7765 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:01:15 +00:00