Abdelrazak Younes
3f54edc200
* 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
2007-08-28 18:25:28 +00:00
Abdelrazak Younes
235312c376
* 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
2007-08-28 18:13:17 +00:00
Abdelrazak Younes
0e7ef480f7
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
2007-08-28 18:05:55 +00:00
Abdelrazak Younes
1a57b660a1
Second Brown paper bag!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 17:40:40 +00:00
Abdelrazak Younes
796724ebe1
Brown paper bag!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 17:39:36 +00:00
André Pönitz
b839dd33ae
some attempt at cmake beautification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 17:07:02 +00:00
Richard Heck
4da4883e0d
Scons for previous commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 16:50:59 +00:00
Richard Heck
53bc63d95c
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
2007-08-28 16:49:40 +00:00
Abdelrazak Younes
5440aad928
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
2007-08-28 16:39:46 +00:00
Abdelrazak Younes
be8de62ae2
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
2007-08-28 15:47:53 +00:00
Abdelrazak Younes
598e5ecb9a
header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19857 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 15:34:55 +00:00
Abdelrazak Younes
ee27b58a07
header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19856 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 15:33:15 +00:00
Abdelrazak Younes
4590960f02
header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19855 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 15:32:39 +00:00
Abdelrazak Younes
a276c05770
transfer margin declaration to BufferView.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 15:31:04 +00:00
Abdelrazak Younes
86624539f4
header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 15:08:03 +00:00
Abdelrazak Younes
e7101b70f1
header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 15:07:39 +00:00
Martin Vermeer
12210a88fb
Oops...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 14:33:44 +00:00
Martin Vermeer
18299149f5
some more inclusions of stdinsets.inc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 14:32:06 +00:00
Abdelrazak Younes
378c7af432
* Row: Use Dimension class.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 09:21:48 +00:00
Abdelrazak Younes
971c543b34
- 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
2007-08-28 08:57:13 +00:00
Bo Peng
a398211e03
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
2007-08-28 02:46:09 +00:00
Abdelrazak Younes
a43e822c98
Transfer rowpainter.cpp:paintText() to BufferView::draw()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 22:53:16 +00:00
Abdelrazak Younes
55f184563e
- Transfer rowpainter.cpp:paintTextInset() to TextMetrics::draw()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 22:36:20 +00:00
André Pönitz
27ca671388
revert change to POTFILES.in
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19841 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 21:33:15 +00:00
André Pönitz
d65a564adf
remove special handling of Package.cpp[.in]
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 21:29:56 +00:00
Martin Vermeer
def5620e58
Fix black float background
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19839 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 20:27:02 +00:00
Abdelrazak Younes
b52c339cce
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
2007-08-27 16:30:57 +00:00
Bo Peng
cb25c9980e
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
2007-08-27 16:29:04 +00:00
Bo Peng
b1e84ddec3
Scons: fix tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 15:13:45 +00:00
Abdelrazak Younes
f88feb9548
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
2007-08-27 14:59:23 +00:00
Abdelrazak Younes
3c92c2ab13
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
2007-08-27 14:38:29 +00:00
Abdelrazak Younes
b3b6f44755
Gather ParagraphMetrics initialization in ParagraphMetrics::reset().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19833 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 14:04:46 +00:00
Abdelrazak Younes
aa5c8a844f
MacOS compil fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19832 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 13:12:51 +00:00
Abdelrazak Younes
42ad173cd7
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
2007-08-27 11:13:09 +00:00
Abdelrazak Younes
8750d351da
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
2007-08-27 09:03:18 +00:00
Martin Vermeer
b6546d8a93
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
2007-08-27 08:36:18 +00:00
Abdelrazak Younes
9484768959
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
2007-08-27 06:35:24 +00:00
Bo Peng
db3439ce77
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
2007-08-27 04:00:14 +00:00
Bo Peng
b9cbb02639
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
2007-08-27 03:40:42 +00:00
Bo Peng
8786658cca
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
2007-08-27 03:30:58 +00:00
Bo Peng
d44f8f84ad
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
2007-08-27 03:28:08 +00:00
Bo Peng
640125e0ed
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
2007-08-27 03:11:34 +00:00
Bo Peng
6f70bfb453
Scons cleanup 2: remove rebuild option
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 02:53:04 +00:00
Bo Peng
9a9019956f
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
2007-08-27 02:49:14 +00:00
Uwe Stöhr
4172485013
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
2007-08-26 20:41:00 +00:00
Martin Vermeer
77b575e562
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
2007-08-26 20:32:58 +00:00
Uwe Stöhr
4daef15dcc
Makefile.am: whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19811 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 20:21:56 +00:00
Uwe Stöhr
fa0f59c4b6
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
2007-08-26 19:35:06 +00:00
Martin Vermeer
735ea89b74
more translations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 15:10:01 +00:00
Martin Vermeer
d2c1324c45
translations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19805 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 15:02:54 +00:00