]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agostupid copy&paste bug fix.
Abdelrazak Younes [Thu, 30 Aug 2007 14:26:52 +0000 (14:26 +0000)]
stupid copy&paste bug fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19915 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosingle depth for preference items,
Edwin Leuven [Thu, 30 Aug 2007 14:22:56 +0000 (14:22 +0000)]
single depth for preference items,
fixes bug http://bugzilla.lyx.org/show_bug.cgi?id=4153

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19914 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* RowPainter: store PainterInfo reference instead of creating one.
Abdelrazak Younes [Thu, 30 Aug 2007 13:53:02 +0000 (13:53 +0000)]
* RowPainter: store PainterInfo reference instead of creating one.

* PainterInfo: new full_repaint member.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19913 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* RowPainter:
Abdelrazak Younes [Thu, 30 Aug 2007 13:19:24 +0000 (13:19 +0000)]
* RowPainter:
- paintOnlyInsets(): new public method for inset painting only in case the inset dimension didn't change within a Row.
- paintInset(): put out everything not strictly related to the inset painting itself.
- paintHfill(): new private method to cut the reduce code in paintText().

* TextMetrics::drawParagraph(): use paintOnlyInsets() when the Row text nor it's dimension changed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19912 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosolve Bug 3600 by eliminating a call to stripLeadingSpaces
Alfredo Braunstein [Thu, 30 Aug 2007 12:28:22 +0000 (12:28 +0000)]
solve Bug 3600 by eliminating a call to stripLeadingSpaces

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19911 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* RowPainter::paintFromPos(): transfer inset part to paintInset()
Abdelrazak Younes [Thu, 30 Aug 2007 09:01:30 +0000 (09:01 +0000)]
* RowPainter::paintFromPos(): transfer inset part to paintInset()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19910 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix old error string in Cases
Martin Vermeer [Thu, 30 Aug 2007 08:21:28 +0000 (08:21 +0000)]
Fix old error string in Cases

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19908 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix bug 3999: Highlight search text.
Richard Heck [Thu, 30 Aug 2007 01:26:18 +0000 (01:26 +0000)]
Fix bug 3999: Highlight search text.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19907 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoGerman UserGuide.lyx: updates from Hartmut
Uwe Stöhr [Thu, 30 Aug 2007 01:08:57 +0000 (01:08 +0000)]
German UserGuide.lyx: updates from Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19906 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agodocumentation: bugfixes by Ignacio
Uwe Stöhr [Thu, 30 Aug 2007 00:53:49 +0000 (00:53 +0000)]
documentation: bugfixes by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19902 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoBug fixes. changed_ was always true...
Abdelrazak Younes [Wed, 29 Aug 2007 23:06:14 +0000 (23:06 +0000)]
Bug fixes. changed_ was always true...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19901 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoGet package things working with modules prior to UI patch.
Richard Heck [Wed, 29 Aug 2007 22:59:25 +0000 (22:59 +0000)]
Get package things working with modules prior to UI patch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19900 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEnable use of Row::changed()
Abdelrazak Younes [Wed, 29 Aug 2007 21:33:11 +0000 (21:33 +0000)]
Enable use of Row::changed()

* TextMetrics::redoParagraph(): crop the RowList if it is too big.
* ParagraphMetrics::reset():  don't clear its RowList.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19897 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons update for r19893, tex2lyx is still broken
Bo Peng [Wed, 29 Aug 2007 21:18:02 +0000 (21:18 +0000)]
Scons update for r19893, tex2lyx is still broken

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19896 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoTransfer ParagraphMetrics::rowChangeStatus() to Row::changed(). Prepare for fine...
Abdelrazak Younes [Wed, 29 Aug 2007 21:03:41 +0000 (21:03 +0000)]
Transfer ParagraphMetrics::rowChangeStatus() to Row::changed(). Prepare for fine grained row redrawing.

^ Row:
- changed_: new boolean to inform change status at draw time.
- crc_: new crc_ signature
- inline pos() and endpos()
- replace width(), ascent() and descent() direct access with dimension().

* ParagraphMetrics
- do not maintain row_signature_ anymore
- rename calculateRowSignature() to computeRowSignature() and make it public

* TextMetrics
- redoParagraph(): don't clear the ParagraphMetrics row list, reuse and update it.
- rowHeight(), rowWidth(), rowBreakPoint(): take first/end positions instead of Row.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19895 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoThis is one of a series of patches that will merge the layout modules development...
Richard Heck [Wed, 29 Aug 2007 17:59:49 +0000 (17:59 +0000)]
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.

Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This patch adds the backend. The ModuleList class holds a list of the available modules, which are retrieved from lyxmodules.lst, itself generated by configure.py. There are two LFUNs available: modules-clear and module-add, which do the obvious thing; you can test by typing these into the minibuffer, along with the name of one of the available modules: URL (a CharStyle), Endnote (a Custom Inset), and---with the spaces---End To Foot (View>LaTeX and look at the user preamble), which are themselves in lib/layouts. There are some others, too, that allow theorems to be added to classes like article and book.

The GUI will come next.

Issues: (i) The configure.py script could be improved. It'd be nice, for example, if it tested for the presence of the LaTeX packages a particular module needs. But this would mean re-working the LaTeX script, and I don't know how to do that. Note that at present, the packages are ignored. This will change shortly. (ii) I've used std::string in LyXModule, following what seemed to be a precedent in TextClass. If some of these should be docstrings, please let me know, and I'll change them. (iii) There is at present no distinction between LaTeX and DocBook modules. Should there be? That is: Should there be modules that are available when the document class is a LaTeX class and others that are available only when it is DocBook? Or should there just be one set of modules? Each module can of course indicate for what it is suitable in its description.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19893 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd some more logical charstyles
Martin Vermeer [Wed, 29 Aug 2007 16:04:56 +0000 (16:04 +0000)]
Add some more logical charstyles

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19892 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix bug 4170: Close window when user wants it closed.
Richard Heck [Wed, 29 Aug 2007 15:24:41 +0000 (15:24 +0000)]
Fix bug 4170: Close window when user wants it closed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19889 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix bug 4158.
José Matox [Wed, 29 Aug 2007 13:39:15 +0000 (13:39 +0000)]
Fix bug 4158.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19886 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* src/Text2.cpp:
Jürgen Spitzmüller [Wed, 29 Aug 2007 13:04:29 +0000 (13:04 +0000)]
* src/Text2.cpp:
- fix wrong DEPM in ct mode (bug 3961).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19884 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoGerman Extended.lyx and UserGuide.lyx: updates from Hartmut
Uwe Stöhr [Wed, 29 Aug 2007 00:22:57 +0000 (00:22 +0000)]
German Extended.lyx and UserGuide.lyx: updates from Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19883 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbeddedObjects.lyx: correct the description of the list of algorithms
Uwe Stöhr [Tue, 28 Aug 2007 23:48:09 +0000 (23:48 +0000)]
EmbeddedObjects.lyx: correct the description of the list of algorithms

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19879 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoTake Track-Change into account when calculating row signature.
Abdelrazak Younes [Tue, 28 Aug 2007 22:44:09 +0000 (22:44 +0000)]
Take Track-Change into account when calculating row signature.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19876 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoadd minizp to qmake
André Pönitz [Tue, 28 Aug 2007 21:41:53 +0000 (21:41 +0000)]
add minizp to qmake

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19875 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomore cmake cosmetics
André Pönitz [Tue, 28 Aug 2007 20:47:42 +0000 (20:47 +0000)]
more cmake cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19873 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocmake cosmetics
André Pönitz [Tue, 28 Aug 2007 19:54:42 +0000 (19:54 +0000)]
cmake cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19871 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUpdate comment.
Abdelrazak Younes [Tue, 28 Aug 2007 18:30:15 +0000 (18:30 +0000)]
Update comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19870 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocmake cosmetics
André Pönitz [Tue, 28 Aug 2007 18:30:02 +0000 (18:30 +0000)]
cmake cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19869 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* TextMetrics::redoParagraph(): we need to check the returned value of Inset::metrics...
Abdelrazak Younes [Tue, 28 Aug 2007 18:25:28 +0000 (18:25 +0000)]
* TextMetrics::redoParagraph(): we need to check the returned value of Inset::metrics() nevertheless because some changes don't involves a dimension change (especially in multiline InsetText).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19868 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* InsetCollapsable::setStatus(): remove the Buffer::changed() signal emission. This...
Abdelrazak Younes [Tue, 28 Aug 2007 18:13:17 +0000 (18:13 +0000)]
* InsetCollapsable::setStatus(): remove the Buffer::changed() signal emission. This causes a WorkArea redraw before the BufferView metrics update happens.
* WorkArea::dispatch(): replace the redraw() call with a Buffer::changed() signal emission in order to update all views of the Buffer, even though some view won't need the redraw...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19867 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDon't draw if there's nothing to draw.
Abdelrazak Younes [Tue, 28 Aug 2007 18:05:55 +0000 (18:05 +0000)]
Don't draw if there's nothing to draw.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19866 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoSecond Brown paper bag!
Abdelrazak Younes [Tue, 28 Aug 2007 17:40:40 +0000 (17:40 +0000)]
Second Brown paper bag!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19865 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoBrown paper bag!
Abdelrazak Younes [Tue, 28 Aug 2007 17:39:36 +0000 (17:39 +0000)]
Brown paper bag!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19864 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosome attempt at cmake beautification
André Pönitz [Tue, 28 Aug 2007 17:07:02 +0000 (17:07 +0000)]
some attempt at cmake beautification

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19862 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons for previous commit.
Richard Heck [Tue, 28 Aug 2007 16:50:59 +0000 (16:50 +0000)]
Scons for previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19861 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoThis is one of a series of patches that will merge the layout modules development...
Richard Heck [Tue, 28 Aug 2007 16:49:40 +0000 (16:49 +0000)]
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.

Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This third patch just re-factors some code presently in QCitation*. (It also incorporates some bug fixes that have been committed separately.) We're going to use essentially the same set of widgets for choosing modules that is used for choosing citation keys, so we pull the controlling logic out into a new class, QSelectionManager. I did not make this a QWidget. That seemed to me to be overkill, and it would have made things much more complicated, I think...and I'm not all that experienced with Qt, anyway. Anyone who wants to do that is of course welcome.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19860 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoWe are not forced to redraw the row each time the cursor is moved.
Abdelrazak Younes [Tue, 28 Aug 2007 16:39:46 +0000 (16:39 +0000)]
We are not forced to redraw the row each time the cursor is moved.

* TextMetrics.cpp: CursorOnRow() removed.
* TextMetrics::drawParagraph() do not check cursor position.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19859 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMerge the Row and RowMetrics class. Those classes were separated in the 1.4 code...
Abdelrazak Younes [Tue, 28 Aug 2007 15:47:53 +0000 (15:47 +0000)]
Merge the Row and RowMetrics class. Those classes were separated in the 1.4 code base because the Row list was part of Paragraph. As it is now in ParagraphMetrics, there is no need to separate them. Also, only compute the rowmetrics once when the containing paragraph is redone.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19858 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoheader cleanup.
Abdelrazak Younes [Tue, 28 Aug 2007 15:34:55 +0000 (15:34 +0000)]
header cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19857 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoheader cleanup.
Abdelrazak Younes [Tue, 28 Aug 2007 15:33:15 +0000 (15:33 +0000)]
header cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19856 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoheader cleanup.
Abdelrazak Younes [Tue, 28 Aug 2007 15:32:39 +0000 (15:32 +0000)]
header cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19855 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agotransfer margin declaration to BufferView.h
Abdelrazak Younes [Tue, 28 Aug 2007 15:31:04 +0000 (15:31 +0000)]
transfer margin declaration to BufferView.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19854 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoheader cleanup.
Abdelrazak Younes [Tue, 28 Aug 2007 15:08:03 +0000 (15:08 +0000)]
header cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19853 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoheader cleanup.
Abdelrazak Younes [Tue, 28 Aug 2007 15:07:39 +0000 (15:07 +0000)]
header cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19852 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoOops...
Martin Vermeer [Tue, 28 Aug 2007 14:33:44 +0000 (14:33 +0000)]
Oops...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19851 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosome more inclusions of stdinsets.inc
Martin Vermeer [Tue, 28 Aug 2007 14:32:06 +0000 (14:32 +0000)]
some more inclusions of stdinsets.inc

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19850 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* Row: Use Dimension class.
Abdelrazak Younes [Tue, 28 Aug 2007 09:21:48 +0000 (09:21 +0000)]
* Row: Use Dimension class.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19849 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago- Transfer rowpainter.cpp:paintPar() to TextMetrics::drawParagraph()
Abdelrazak Younes [Tue, 28 Aug 2007 08:57:13 +0000 (08:57 +0000)]
- Transfer rowpainter.cpp:paintPar() to TextMetrics::drawParagraph()
- move RowPainter class out of the anonymous namespace so that it can be used by TextMetrics::drawParagraph().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19848 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix scons for the removal of Package.cpp.in
Bo Peng [Tue, 28 Aug 2007 02:46:09 +0000 (02:46 +0000)]
fix scons for the removal of Package.cpp.in

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19845 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoTransfer rowpainter.cpp:paintText() to BufferView::draw()
Abdelrazak Younes [Mon, 27 Aug 2007 22:53:16 +0000 (22:53 +0000)]
Transfer rowpainter.cpp:paintText() to BufferView::draw()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19843 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago- Transfer rowpainter.cpp:paintTextInset() to TextMetrics::draw()
Abdelrazak Younes [Mon, 27 Aug 2007 22:36:20 +0000 (22:36 +0000)]
- Transfer rowpainter.cpp:paintTextInset() to TextMetrics::draw()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19842 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agorevert change to POTFILES.in
André Pönitz [Mon, 27 Aug 2007 21:33:15 +0000 (21:33 +0000)]
revert change to POTFILES.in

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19841 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoremove special handling of Package.cpp[.in]
André Pönitz [Mon, 27 Aug 2007 21:29:56 +0000 (21:29 +0000)]
remove special handling of Package.cpp[.in]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19840 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix black float background
Martin Vermeer [Mon, 27 Aug 2007 20:27:02 +0000 (20:27 +0000)]
Fix black float background

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19839 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoBug fix: correctly redraw a Row containing and inset which Dimension slightly changed...
Abdelrazak Younes [Mon, 27 Aug 2007 16:30:57 +0000 (16:30 +0000)]
Bug fix: correctly redraw a Row containing and inset which Dimension slightly changed. This replace the need for the former leftEdgeFixed boolean in rowpainter.C:paintPar() before the removal of the wide() hack in revision 19834.

* Inset::dimension(): access to dim_

* TextMetrics::redoParagraph(): don't trust Inset::metrics() returned boolean as the internal dimension is changed down in the inheritance chain for InsetFoot->InsetCollapsable->InsetText.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19838 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoscons: fix a bug in installer target, introduced by the cleanups
Bo Peng [Mon, 27 Aug 2007 16:29:04 +0000 (16:29 +0000)]
scons: fix a bug in installer target, introduced by the cleanups

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19837 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons: fix tex2lyx
Bo Peng [Mon, 27 Aug 2007 15:13:45 +0000 (15:13 +0000)]
Scons: fix tex2lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19836 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoI may have gone a bit too far in revision 19834: restore the selection painting.
Abdelrazak Younes [Mon, 27 Aug 2007 14:59:23 +0000 (14:59 +0000)]
I may have gone a bit too far in revision 19834: restore the selection painting.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19835 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRemove the wide() hack. This simplifies quite a few things...
Abdelrazak Younes [Mon, 27 Aug 2007 14:38:29 +0000 (14:38 +0000)]
Remove the wide() hack. This simplifies quite a few things...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19834 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoGather ParagraphMetrics initialization in ParagraphMetrics::reset().
Abdelrazak Younes [Mon, 27 Aug 2007 14:04:46 +0000 (14:04 +0000)]
Gather ParagraphMetrics initialization in ParagraphMetrics::reset().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19833 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMacOS compil fix
Abdelrazak Younes [Mon, 27 Aug 2007 13:12:51 +0000 (13:12 +0000)]
MacOS compil fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19832 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDisable the pixmap cache for Qt4.1 because of font problems when resizing the window.
Abdelrazak Younes [Mon, 27 Aug 2007 11:13:09 +0000 (11:13 +0000)]
Disable the pixmap cache for Qt4.1 because of font problems when resizing the window.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19830 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoLyx crashed after inserting, deleting and inserting float object.
Abdelrazak Younes [Mon, 27 Aug 2007 09:03:18 +0000 (09:03 +0000)]
Lyx crashed after inserting, deleting and inserting float object.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19827 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCompile fix after bg color patch, thx Bo
Martin Vermeer [Mon, 27 Aug 2007 08:36:18 +0000 (08:36 +0000)]
Compile fix after bg color patch, thx Bo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19826 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoNew 'Save all on shutdown or cancel' feature from Stephan Witt.
Abdelrazak Younes [Mon, 27 Aug 2007 06:35:24 +0000 (06:35 +0000)]
New 'Save all on shutdown or cancel' feature from Stephan Witt.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19824 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons cleanup 7: remove saved C compiler, remove blank lines and obsolete comments
Bo Peng [Mon, 27 Aug 2007 04:00:14 +0000 (04:00 +0000)]
Scons cleanup 7: remove saved C compiler, remove blank lines and obsolete comments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19823 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons cleanup 6: build minizip/iowin32.c on all sytems becuase it is surrounded by...
Bo Peng [Mon, 27 Aug 2007 03:40:42 +0000 (03:40 +0000)]
Scons cleanup 6: build minizip/iowin32.c on all sytems becuase it is surrounded by #ifdef WIN32, some other small cleanups

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19822 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons cleanup 5: config.h typo, do not have to make builddir by myself
Bo Peng [Mon, 27 Aug 2007 03:30:58 +0000 (03:30 +0000)]
Scons cleanup 5: config.h typo, do not have to make builddir by myself

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19821 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons cleanup 4: stop forcing the use of c++ compiler because of the .C ==> .cpp...
Bo Peng [Mon, 27 Aug 2007 03:28:08 +0000 (03:28 +0000)]
Scons cleanup 4: stop forcing the use of c++ compiler because of the .C ==> .cpp conversion

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19820 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons cleanup 3: stop judging build_xxx for scons, let scons do the job.
Bo Peng [Mon, 27 Aug 2007 03:11:34 +0000 (03:11 +0000)]
Scons cleanup 3: stop judging build_xxx for scons, let scons do the job.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19819 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons cleanup 2: remove rebuild option
Bo Peng [Mon, 27 Aug 2007 02:53:04 +0000 (02:53 +0000)]
Scons cleanup 2: remove rebuild option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19818 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoScons cleanup 1: use BUIlDDIR/src instead of BUILDDIR/common
Bo Peng [Mon, 27 Aug 2007 02:49:14 +0000 (02:49 +0000)]
Scons cleanup 1: use BUIlDDIR/src instead of BUILDDIR/common

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19817 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoExtended.lyx: remove the sections about glossaries and indices as they are now (more...
Uwe Stöhr [Sun, 26 Aug 2007 20:41:00 +0000 (20:41 +0000)]
Extended.lyx: remove the sections about glossaries and indices as they are now (more complete and revised) in the UserGuide.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19816 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMove background colour into the layout files -- for all collapsables
Martin Vermeer [Sun, 26 Aug 2007 20:32:58 +0000 (20:32 +0000)]
Move background colour into the layout files -- for all collapsables

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19813 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMakefile.am: whitespace
Uwe Stöhr [Sun, 26 Aug 2007 20:21:56 +0000 (20:21 +0000)]
Makefile.am: whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19811 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbeddedObjects manual: - it seems that the package "colortbl" is not standard on...
Uwe Stöhr [Sun, 26 Aug 2007 19:35:06 +0000 (19:35 +0000)]
EmbeddedObjects manual: - it seems that the package "colortbl" is not standard on all systems, so treat it like the packages arydshln and marginnote in the document
                        - set correct language for the dummy documents
                        - small tweaks for the German version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19808 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomore translations
Martin Vermeer [Sun, 26 Aug 2007 15:10:01 +0000 (15:10 +0000)]
more translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19806 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agotranslations
Martin Vermeer [Sun, 26 Aug 2007 15:02:54 +0000 (15:02 +0000)]
translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19805 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUpdated versions to 5; added stdinsets.inc where I felt confident
Martin Vermeer [Sun, 26 Aug 2007 09:10:52 +0000 (09:10 +0000)]
Updated versions to 5; added stdinsets.inc where I felt confident

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19804 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix cmake build for tex2lyx
Peter Kümmel [Sun, 26 Aug 2007 08:51:47 +0000 (08:51 +0000)]
fix cmake build for tex2lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19803 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofixed some classes to include inset defs, updated some version nrs
Martin Vermeer [Sun, 26 Aug 2007 08:33:03 +0000 (08:33 +0000)]
fixed some classes to include inset defs, updated some version nrs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19802 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoSet up decoration handling for all collapsable insets
Martin Vermeer [Sat, 25 Aug 2007 20:12:50 +0000 (20:12 +0000)]
Set up decoration handling for all collapsable insets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19798 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoinstaller: fix the installation of JabRef
Uwe Stöhr [Sat, 25 Aug 2007 19:56:18 +0000 (19:56 +0000)]
installer: fix the installation of JabRef

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19797 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDecoration added
Martin Vermeer [Sat, 25 Aug 2007 18:41:58 +0000 (18:41 +0000)]
Decoration added

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19795 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoClean-up in CharStyles, externalize detection of undefined styles to
Martin Vermeer [Sat, 25 Aug 2007 14:43:59 +0000 (14:43 +0000)]
Clean-up in CharStyles, externalize detection of undefined styles to
layout files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19790 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoremove unused variable
Alfredo Braunstein [Sat, 25 Aug 2007 12:38:54 +0000 (12:38 +0000)]
remove unused variable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19789 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoOne more changeover charstyle -> insetlayout
Martin Vermeer [Sat, 25 Aug 2007 12:18:23 +0000 (12:18 +0000)]
One more changeover charstyle -> insetlayout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19788 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMake Richard happy, add inset layout parm 'Decoration'
Martin Vermeer [Sat, 25 Aug 2007 09:57:32 +0000 (09:57 +0000)]
Make Richard happy, add inset layout parm 'Decoration'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19786 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMake const
Martin Vermeer [Sat, 25 Aug 2007 07:53:35 +0000 (07:53 +0000)]
Make const

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19785 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosmall move-over charstyle -> insetlayout
Martin Vermeer [Sat, 25 Aug 2007 07:46:42 +0000 (07:46 +0000)]
small move-over charstyle -> insetlayout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19784 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agodisable painting updates when adding/removing a workArea. This fixes these spurious...
Abdelrazak Younes [Fri, 24 Aug 2007 22:15:20 +0000 (22:15 +0000)]
disable painting updates when adding/removing a workArea. This fixes these spurious messages with Qt4.1:

When opening another document, the following is printed to the console:

QWidget::repaint: recursive repaint detected.
QPixmap::operator=: Cannot assign to pixmap during painting
Painter must be active to set rendering hints
[repeated many times here]
Painter must be active to set rendering hints
QPainter::end: Painter is not active, aborted
QPixmap::operator=: Cannot assign to pixmap during painting
QPixmap::operator=: Cannot assign to pixmap during painting
currentTabChanged 1File/c/work/file2.lyx

and, when closing LyX:

QPixmap::operator=: Cannot assign to pixmap during painting
QPaintDevice: Cannot destroy paint device that is being painted.  Be sure to QPainter::end() painters!

I suspect that solving these issues might also solve the missing close
tab button problem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19783 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCompile all minizip sources also on *nix platforms, as platform
Enrico Forestieri [Fri, 24 Aug 2007 18:02:14 +0000 (18:02 +0000)]
Compile all minizip sources also on *nix platforms, as platform
specific code is #ifdef'd out.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19782 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRemove unused std::time in src/DepTable.cpp
Bo Peng [Fri, 24 Aug 2007 17:09:28 +0000 (17:09 +0000)]
Remove unused std::time in src/DepTable.cpp

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19781 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoOops -- thanks Richard
Martin Vermeer [Fri, 24 Aug 2007 15:15:38 +0000 (15:15 +0000)]
Oops -- thanks Richard

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19773 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoOops -- cut off wrong part of label
Martin Vermeer [Fri, 24 Aug 2007 14:42:41 +0000 (14:42 +0000)]
Oops -- cut off wrong part of label

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19771 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoInset configurability: separate charstyle and custom insets
Martin Vermeer [Fri, 24 Aug 2007 12:45:40 +0000 (12:45 +0000)]
Inset configurability: separate charstyle and custom insets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19769 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoLyXView::loadLyXFile(): only add a new work area if the file is not already loaded.
Abdelrazak Younes [Fri, 24 Aug 2007 07:19:40 +0000 (07:19 +0000)]
LyXView::loadLyXFile(): only add a new work area if the file is not already loaded.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19768 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoTransfer command buffer handling to QLToolbar.
Abdelrazak Younes [Fri, 24 Aug 2007 07:13:07 +0000 (07:13 +0000)]
Transfer command buffer handling to QLToolbar.

* Toolbar::focusCommandBuffer(): new pure virtual method.
* Toolbars::display(): now return the address of the found toolbar.
* GuiView: get rid of command_buffer_, transferred to QLToolbar.
* QCommandBuffer: replace focus_command with setFocusProxy on edit_;

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19767 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* BufferView::workAreaResize(): renamed to resize.
Abdelrazak Younes [Fri, 24 Aug 2007 07:05:19 +0000 (07:05 +0000)]
* BufferView::workAreaResize(): renamed to resize.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19766 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix recursive painting with Qt4.1 and add a comment.
Abdelrazak Younes [Fri, 24 Aug 2007 06:59:11 +0000 (06:59 +0000)]
Fix recursive painting with Qt4.1 and add a comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19765 a592a061-630c-0410-9148-cb99ea01b6c8