]>
git.lyx.org Git - lyx.git/log
André Pönitz [Wed, 5 Sep 2007 20:52:35 +0000 (20:52 +0000)]
compile fix. inclomplete transactioN???
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20078
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 5 Sep 2007 20:33:29 +0000 (20:33 +0000)]
the fun begins....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20077
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Wed, 5 Sep 2007 18:40:56 +0000 (18:40 +0000)]
Renaming CharStyle -> Flex, finishing touch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20076
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 5 Sep 2007 17:50:07 +0000 (17:50 +0000)]
Embedding feature patch 5: handling of embedded files (operation without external files)
* src/insets/InsetGraphicsParams.h|cpp:
* src/insets/InsetExternal.cpp: read/write buffer with embedded file
* src/insets/InsetGraphics.cpp: ditto
* src/EmbeddedFiles.h|cpp: add find() function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20075
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 5 Sep 2007 17:00:43 +0000 (17:00 +0000)]
fix scons for InsetFlex.*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20074
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Wed, 5 Sep 2007 15:46:20 +0000 (15:46 +0000)]
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20073
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Wed, 5 Sep 2007 15:29:04 +0000 (15:29 +0000)]
Name change CharStyle -> Flex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20072
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Sep 2007 14:19:52 +0000 (14:19 +0000)]
Fix text frame drawing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20071
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Sep 2007 14:15:07 +0000 (14:15 +0000)]
Fix cursor positioning withing collapsable insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20070
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Wed, 5 Sep 2007 13:52:43 +0000 (13:52 +0000)]
(InsetCollapsable::draw) restore background color (avoid psychedelic effects when selecting a note)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20069
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Sep 2007 13:45:58 +0000 (13:45 +0000)]
* TextMetrics::draw(): get rid of the first par ascent offset.
* BufferView::draw(): adapt to above change.
* InsetCollapsable::draw(): ditto -> get rid of textdim_ member.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20068
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Sep 2007 13:29:31 +0000 (13:29 +0000)]
fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20067
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Sep 2007 13:04:05 +0000 (13:04 +0000)]
Move selection painting closer to row painting. Single row painting is now possible for selection.
* Row:
- setSelection(): set selection begin and end for this row.
- sel_beg, sel_end: new public members.
* BufferView::draw()
- do not trigger a full repaint for selection.
- use TextMetrics::draw() instead of hand calling TextMetrics::drawParagraph().
* InsetText::draw(): don't call TextMetrics::drawSelection().
* InsetMathMBox::drawSelection(): remove.
* TextMetrics:
- drawSelection(): simplify a bit. Now private.
- redoParagraph(): memorize Row selection status.
- x2pos(): fix crash when selecting with PageDown.
- draw(): fill-in the ParPos cache before everything else and not in drawParagraph().
- drawParagraph(): take care of row selection painting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20066
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 5 Sep 2007 11:55:03 +0000 (11:55 +0000)]
resuscitate menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20064
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 5 Sep 2007 02:07:27 +0000 (02:07 +0000)]
Removed a 1 pixel border around some images. In this way they are
rendered much better on screen as they are not blurred.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20063
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Sep 2007 00:32:32 +0000 (00:32 +0000)]
German UserGuide.lyx: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20062
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Sep 2007 00:21:02 +0000 (00:21 +0000)]
Spanish EmbeddedObjects.lyx: updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20058
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 4 Sep 2007 23:58:00 +0000 (23:58 +0000)]
README.localization: more translation infos from Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20057
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 4 Sep 2007 23:00:58 +0000 (23:00 +0000)]
Restore some other corrupted images.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20056
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 4 Sep 2007 21:44:52 +0000 (21:44 +0000)]
Compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20051
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 4 Sep 2007 19:26:57 +0000 (19:26 +0000)]
fix cmake file for minizip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20049
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 4 Sep 2007 18:41:37 +0000 (18:41 +0000)]
update cmake build system
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20047
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 4 Sep 2007 18:40:58 +0000 (18:40 +0000)]
GuiView is a template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20046
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 4 Sep 2007 18:39:13 +0000 (18:39 +0000)]
declare specialisations, needed by the merge build. add cpp minizip file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20045
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Tue, 4 Sep 2007 18:35:58 +0000 (18:35 +0000)]
move getSecond to frontend_helpers.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20044
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Tue, 4 Sep 2007 18:13:19 +0000 (18:13 +0000)]
rename method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20043
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Tue, 4 Sep 2007 18:08:51 +0000 (18:08 +0000)]
lil' cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20042
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 4 Sep 2007 15:40:09 +0000 (15:40 +0000)]
remove POTFILES.in from DISFILES, too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20041
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Tue, 4 Sep 2007 15:16:24 +0000 (15:16 +0000)]
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20040
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 4 Sep 2007 15:03:50 +0000 (15:03 +0000)]
Fix bug 4193 Revert ask for saving file before closing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20039
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 4 Sep 2007 14:34:42 +0000 (14:34 +0000)]
Embedding patch 4: interaction between buffer and the embedding dialog. Emit embeddingChanged signal to update the embedding dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20038
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 4 Sep 2007 13:33:21 +0000 (13:33 +0000)]
Register math fonts with fontconfig
* src/support/os_unix.cpp
(addFontResources): add the system fonts dir to the paths
scanned by fontconfig.
(restoreFontResources): remove the system fonts dir from the
fontconfig configuration.
* configure.ac:
add check for the fontconfig devel headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20034
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 4 Sep 2007 13:32:10 +0000 (13:32 +0000)]
Restore images corrupted by the xpm -> png conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20033
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Tue, 4 Sep 2007 10:52:08 +0000 (10:52 +0000)]
renaming of some methods that hurt the eyes + removal of:
- column and row count,
- tabular width and method that goes with it
- method declaration without implementation: void delete_column(col_type)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20032
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Tue, 4 Sep 2007 10:27:55 +0000 (10:27 +0000)]
rename Paragraph::isRightToLeftPar -> isRTL for the sake of consistence
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20031
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Tue, 4 Sep 2007 03:48:24 +0000 (03:48 +0000)]
Add error fallback to custom insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20030
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Mon, 3 Sep 2007 23:17:10 +0000 (23:17 +0000)]
Restore old images got lost in the xpm -> png change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20029
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Mon, 3 Sep 2007 23:15:12 +0000 (23:15 +0000)]
Fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20028
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 3 Sep 2007 22:24:48 +0000 (22:24 +0000)]
remove generated POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20027
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Mon, 3 Sep 2007 22:16:54 +0000 (22:16 +0000)]
fix multi-cell selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20026
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 3 Sep 2007 21:09:11 +0000 (21:09 +0000)]
Move two minizip functions from filetools.cpp to its own file minizip/zipunzip.cpp, covered by minizip's original license
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20025
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 3 Sep 2007 20:28:26 +0000 (20:28 +0000)]
rename a few view functions from foo() to fooView()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20024
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 3 Sep 2007 20:13:26 +0000 (20:13 +0000)]
Fix scons for Andre's patch, add a missing header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20023
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 3 Sep 2007 18:22:17 +0000 (18:22 +0000)]
move stuff from a class template to a ordinary class...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20022
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Mon, 3 Sep 2007 13:34:26 +0000 (13:34 +0000)]
enable some non-rtl optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20021
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Mon, 3 Sep 2007 13:01:38 +0000 (13:01 +0000)]
make lyx compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20020
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 3 Sep 2007 06:11:51 +0000 (06:11 +0000)]
fix thinko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20019
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 3 Sep 2007 05:59:32 +0000 (05:59 +0000)]
merge ButtonController and its view (Qt2BC in this case)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20018
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 3 Sep 2007 04:03:43 +0000 (04:03 +0000)]
Embedding: fix a few embedding bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20017
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Sun, 2 Sep 2007 23:37:11 +0000 (23:37 +0000)]
optimization: save some font copying
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20016
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 22:28:49 +0000 (22:28 +0000)]
* TextMetrics: getDisplayFont() and isRTLBoundary() takes pit instead of Paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20015
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 21:48:49 +0000 (21:48 +0000)]
* Text: Move some more stuff from Text to TextMetrics:
- getFont() becomes TextMetrics::getDisplayFont()
- setCharFont() now needs a display font.
- setInsetFont() and setFont() now needs a BufferView, will be transferred to TextMetrics too.
- isRTL(): moved to TextMetrics
- isRTLBoundary(): ditto
- font_: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20014
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Sun, 2 Sep 2007 20:17:36 +0000 (20:17 +0000)]
get rid of (cyg)win path panel in prefs by moving it to the latex panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20013
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Sun, 2 Sep 2007 19:54:01 +0000 (19:54 +0000)]
crash fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20012
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Sun, 2 Sep 2007 18:05:37 +0000 (18:05 +0000)]
fix crash + shut up warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20011
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Sun, 2 Sep 2007 18:04:11 +0000 (18:04 +0000)]
remove spurious entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20010
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 2 Sep 2007 15:46:03 +0000 (15:46 +0000)]
Clarify comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20008
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 2 Sep 2007 14:57:30 +0000 (14:57 +0000)]
Another compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20006
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 2 Sep 2007 14:48:49 +0000 (14:48 +0000)]
Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20003
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 14:34:15 +0000 (14:34 +0000)]
Don't save background color in Text. Hand it down at drawing time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20002
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 14:05:03 +0000 (14:05 +0000)]
Add a FIXME for Text::font_ member.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20001
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 13:50:37 +0000 (13:50 +0000)]
* InsetText::font_: removed, this was not used anywhere.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20000
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 13:35:48 +0000 (13:35 +0000)]
Transfer current_font and real_current_font from Text to Cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19999
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 11:49:05 +0000 (11:49 +0000)]
header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19998
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 11:46:05 +0000 (11:46 +0000)]
header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19997
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 11:33:04 +0000 (11:33 +0000)]
header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19996
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 11:27:19 +0000 (11:27 +0000)]
Transfer metrics and screen related methods from Text to TextMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19995
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 11:21:33 +0000 (11:21 +0000)]
Transfer metrics and screen related methods from Text to TextMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19994
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 10:35:36 +0000 (10:35 +0000)]
* InsetCollapsable::metrics(): Allow a bit more inlined size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19993
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 10:23:28 +0000 (10:23 +0000)]
Fix crash when selection begins or ends outside the visible screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19992
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Sep 2007 09:44:08 +0000 (09:44 +0000)]
Transfer metrics and screen related methods from Text to TextMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19991
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Sun, 2 Sep 2007 09:07:07 +0000 (09:07 +0000)]
metrics fix: reset some Row values to default in top of computeRowMetrics as the code there assumes it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19990
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sun, 2 Sep 2007 08:38:09 +0000 (08:38 +0000)]
Final touch on minimalistic branches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19989
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sun, 2 Sep 2007 08:19:43 +0000 (08:19 +0000)]
all CheckedWidgets are line edits...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19988
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sun, 2 Sep 2007 07:53:07 +0000 (07:53 +0000)]
simplify ButtonPolicy machinery
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19987
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 2 Sep 2007 05:36:39 +0000 (05:36 +0000)]
Embedding: fix a file selection and a file copy bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19986
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 23:01:21 +0000 (23:01 +0000)]
* InsetCollapsable::metrics(): Put back the test previous to revision 14472 for openinlined_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19985
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 22:26:59 +0000 (22:26 +0000)]
Fix MSVC warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19984
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 22:01:34 +0000 (22:01 +0000)]
Temporarily remove the assertion because it doesn't work on new doc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19983
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 1 Sep 2007 21:05:31 +0000 (21:05 +0000)]
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19982
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 1 Sep 2007 20:48:51 +0000 (20:48 +0000)]
Embedding dialog: use two buttons (will have more) for the actions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19981
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 1 Sep 2007 20:45:27 +0000 (20:45 +0000)]
adjust build systems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19980
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 1 Sep 2007 20:44:14 +0000 (20:44 +0000)]
merge GuiBC<.,.> into Qt2BC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19979
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 1 Sep 2007 20:38:25 +0000 (20:38 +0000)]
Cleanup painting of corners
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19978
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 1 Sep 2007 20:08:16 +0000 (20:08 +0000)]
Embedding dialog: add extract and extractAll functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19977
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 1 Sep 2007 17:55:21 +0000 (17:55 +0000)]
small cleanup collapsable; label fix branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19976
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 14:49:08 +0000 (14:49 +0000)]
Re-implement the wide() hack in a clean way (at metrics level): an InsetText will have automatically occupy the full allowable width if there is more than one paragraph or more more than one row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19975
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 14:00:03 +0000 (14:00 +0000)]
correct dimension types.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19974
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 1 Sep 2007 11:40:09 +0000 (11:40 +0000)]
Use Minimalistic for branches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19973
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 10:30:44 +0000 (10:30 +0000)]
Fix wrapping bug within inset. dim_.wid was not set!
Add some commented out debug info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19972
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 09:36:53 +0000 (09:36 +0000)]
Improve painting debug info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19971
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 09:33:57 +0000 (09:33 +0000)]
Improve painting debug info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19970
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 09:26:37 +0000 (09:26 +0000)]
comment out debug info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19969
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 1 Sep 2007 09:24:20 +0000 (09:24 +0000)]
* InsetCollapsable::metrics(): it seems we don't need to refit anymore. Saves an InsetText::metrics() call and enable single Row painting within opened inline insets.
* TextMetrics::drawParagraph(): force full repaint on Insets that are within the current repainting row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19968
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 1 Sep 2007 04:20:34 +0000 (04:20 +0000)]
Embedding: add 'addFile' to embed arbitrary file, fix a few bugs along the way
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19967
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 1 Sep 2007 04:09:03 +0000 (04:09 +0000)]
Add export to 1.5.x to trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19966
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 1 Sep 2007 04:03:24 +0000 (04:03 +0000)]
This patch continues 19964. It takes advantage of the work there to simplify a few things elsewhere. First, in ControlDocument::dispatchParams(), we're setting the TextClass and then dispatching the BufferParams, which sets it again now. So we can get rid of the first call. This, however, requires loading the TextClass somewhere other than LFUN_TEXTCLASS_APPLY, which I do in BufferParams::setBaseClass(), which is when you'd actually need to do it. So I've moved some of the loading logic there. (It seemed a good idea to make setBaseClass() return whether it was successful, then, though this isn't used at the moment.)
That makes another simplification both possible and desirable. For some reason, whenever you change the Document Class combobox in Document Settings, LyX tries to read whatever you choose _before_ you try to hit "Apply". Why? I see no good reason. You get the warning earlier that way, but maybe you weren't going to try to load it anyway and were going to change your mind. So I have removed that behavior, in which case you'll get the warning when you try to apply the parameters. This means we can also remove ControlDocument::loadTextclass().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19965
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 1 Sep 2007 04:01:13 +0000 (04:01 +0000)]
This addresses a bug in the module code so far committed. The problem is that changing the modules used would update the Buffer's TextClass---but it wouldn't update the layouts used by existing paragraphs, the way changing the TextClass does. The solution, obviously, is to do that update. So what I've done is extract that logic from LFUN_TEXTCLASS_APPLY into an updateLayout() routine and then call that from LFUN_BUFFER_PARAMS_APPLY, LFUN_LAYOUT_MODULE_ADD, and LFUN_LAYOUT_MODULES_CLEAR, which are the three places the modules could be changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19964
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 1 Sep 2007 02:43:14 +0000 (02:43 +0000)]
Fix compiling error caused by Andre's patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19963
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Fri, 31 Aug 2007 22:37:05 +0000 (22:37 +0000)]
somewhat more uniform naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19962
a592a061 -630c-0410-9148-
cb99ea01b6c8