]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agomake lyx compile
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

16 years agofix thinko
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

16 years agomerge ButtonController and its view (Qt2BC in this case)
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

16 years agoEmbedding: fix a few embedding bugs
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

16 years agooptimization: save some font copying
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

16 years ago* TextMetrics: getDisplayFont() and isRTLBoundary() takes pit instead of Paragraph.
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

16 years ago* Text: Move some more stuff from Text to TextMetrics:
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

16 years agoget rid of (cyg)win path panel in prefs by moving it to the latex panel
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

16 years agocrash fix
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

16 years agofix crash + shut up warning
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

16 years agoremove spurious entries
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

16 years agoClarify comment.
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

16 years agoAnother compile fix.
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

16 years agoCompile fix.
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

16 years agoDon't save background color in Text. Hand it down at drawing time.
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

16 years agoAdd a FIXME for Text::font_ member.
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

16 years ago* InsetText::font_: removed, this was not used anywhere.
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

16 years agoTransfer current_font and real_current_font from Text to Cursor.
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

16 years agoheader cleanup.
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

16 years agoheader cleanup.
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

16 years agoheader cleanup.
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

16 years agoTransfer metrics and screen related methods from Text to TextMetrics.
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

16 years agoTransfer metrics and screen related methods from Text to TextMetrics.
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

16 years ago* InsetCollapsable::metrics(): Allow a bit more inlined size.
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

16 years agoFix crash when selection begins or ends outside the visible screen.
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

16 years agoTransfer metrics and screen related methods from Text to TextMetrics.
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

16 years agometrics fix: reset some Row values to default in top of computeRowMetrics as the...
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

16 years agoFinal touch on minimalistic branches
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

16 years agoall CheckedWidgets are line edits...
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

16 years agosimplify ButtonPolicy machinery
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

16 years agoEmbedding: fix a file selection and a file copy bug
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

16 years ago* InsetCollapsable::metrics(): Put back the test previous to revision 14472 for openi...
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

16 years agoFix MSVC warning.
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

16 years agoTemporarily remove the assertion because it doesn't work on new doc.
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

16 years agoforgot this
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

16 years agoEmbedding dialog: use two buttons (will have more) for the actions
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

16 years agoadjust build systems
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

16 years agomerge GuiBC<.,.> into Qt2BC
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

16 years agoCleanup painting of corners
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

16 years agoEmbedding dialog: add extract and extractAll functions
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

16 years agosmall cleanup collapsable; label fix branch
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

16 years agoRe-implement the wide() hack in a clean way (at metrics level): an InsetText will...
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

16 years agocorrect dimension types.
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

16 years agoUse Minimalistic for branches
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

16 years agoFix wrapping bug within inset. dim_.wid was not set!
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

16 years agoImprove painting debug info.
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

16 years agoImprove painting debug info.
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

16 years agocomment out debug info.
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

16 years ago* InsetCollapsable::metrics(): it seems we don't need to refit anymore. Saves an...
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

16 years agoEmbedding: add 'addFile' to embed arbitrary file, fix a few bugs along the way
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

16 years agoAdd export to 1.5.x to trunk.
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

16 years agoThis patch continues 19964. It takes advantage of the work there to simplify a few...
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

16 years agoThis addresses a bug in the module code so far committed. The problem is that changin...
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

16 years agoFix compiling error caused by Andre's patch.
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

16 years agosomewhat more uniform naming
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

16 years agoMerge QController into individual dialogs. Also various cleanup
André Pönitz [Fri, 31 Aug 2007 22:16:11 +0000 (22:16 +0000)]
Merge QController into individual dialogs. Also various cleanup

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

16 years agoEmbedding: small adjustments of interfaces, single and double click in the embedding...
Bo Peng [Fri, 31 Aug 2007 22:02:34 +0000 (22:02 +0000)]
Embedding: small adjustments of interfaces, single and double click in the embedding dialog

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

16 years agocosmetics
Alfredo Braunstein [Fri, 31 Aug 2007 20:24:15 +0000 (20:24 +0000)]
cosmetics

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

16 years agofix make dist
André Pönitz [Fri, 31 Aug 2007 18:30:23 +0000 (18:30 +0000)]
fix make dist

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

16 years agofix typo
André Pönitz [Fri, 31 Aug 2007 18:16:50 +0000 (18:16 +0000)]
fix typo

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

16 years agoupdate .po files
André Pönitz [Fri, 31 Aug 2007 18:15:21 +0000 (18:15 +0000)]
update .po files

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

16 years agos/Q/Gui/ in POTFILES.in
André Pönitz [Fri, 31 Aug 2007 18:08:27 +0000 (18:08 +0000)]
s/Q/Gui/ in POTFILES.in

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

16 years agofix two metrics bug + remove an extra metrics call
Alfredo Braunstein [Fri, 31 Aug 2007 17:32:27 +0000 (17:32 +0000)]
fix two metrics bug + remove an extra metrics call

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

16 years agoEmbedding feature patch 3: basic gui support
Bo Peng [Fri, 31 Aug 2007 15:42:35 +0000 (15:42 +0000)]
Embedding feature patch 3: basic gui support
*  lib/ui/stdmenus.inc: add menu item embedded files
*  src/BufferParams.cpp: set default embedded status to false
*  src/EmbeddedFiles.h|cpp: add a few member functions
*  src/frontends/qt4/Dialogs.cpp: add embedding dialog
*  src/frontends/qt4/GuiEmbeddedFiles.h|cpp: embedding dialog
*  src/frontends/qt4/ui/EmbeddedFilesUi.ui: embedding dialog
*  src/frontends/controllers/ControlEmbeddedFiles.h|cpp: embedding dialog control
*  src/frontends/qt4/Makefile.am: build system update
*  src/frontends/controllers/Makefile.am
*  development/scons/scons_manifest.py

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

16 years agoModularize the theorem modules.
Richard Heck [Fri, 31 Aug 2007 15:01:17 +0000 (15:01 +0000)]
Modularize the theorem modules.

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

16 years agoTransfer Paragraph::hfillExpansion() to ParagraphMetrics. This also reduce the depend...
Abdelrazak Younes [Fri, 31 Aug 2007 14:46:13 +0000 (14:46 +0000)]
Transfer Paragraph::hfillExpansion() to ParagraphMetrics. This also reduce the dependency to Row.h which is probably going to change in the near future.

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

16 years agocompil fix
Abdelrazak Younes [Fri, 31 Aug 2007 14:26:43 +0000 (14:26 +0000)]
compil fix

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

16 years agodelete unused definition.
Abdelrazak Younes [Fri, 31 Aug 2007 14:24:16 +0000 (14:24 +0000)]
delete unused definition.

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

16 years agoHack: full repaint of text inset in Tabular. This will do until I can optimize it...
Abdelrazak Younes [Fri, 31 Aug 2007 14:02:12 +0000 (14:02 +0000)]
Hack: full repaint of text inset in Tabular. This will do until I can optimize it. We've never done anything but full repaint anyway in tabular.

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

16 years agode-indent
Abdelrazak Younes [Fri, 31 Aug 2007 13:46:19 +0000 (13:46 +0000)]
de-indent

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

16 years agoanother translation disambiguation
Martin Vermeer [Fri, 31 Aug 2007 12:07:14 +0000 (12:07 +0000)]
another translation disambiguation

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

16 years agoFurther cleanup, decoration -> geometry, bugfix
Martin Vermeer [Fri, 31 Aug 2007 12:05:41 +0000 (12:05 +0000)]
Further cleanup, decoration -> geometry, bugfix

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

16 years agoFix ambiguity in translation
Martin Vermeer [Fri, 31 Aug 2007 11:09:46 +0000 (11:09 +0000)]
Fix ambiguity in translation

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

16 years agoTransfer Text::drawSelection() to TextMetrics.
Abdelrazak Younes [Fri, 31 Aug 2007 10:05:12 +0000 (10:05 +0000)]
Transfer Text::drawSelection() to TextMetrics.

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

16 years agocompil fix and cosmetics.
Abdelrazak Younes [Fri, 31 Aug 2007 10:01:31 +0000 (10:01 +0000)]
compil fix and cosmetics.

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

16 years agoIncrement file format due to the embedded feature
José Matox [Fri, 31 Aug 2007 09:46:14 +0000 (09:46 +0000)]
Increment file format due to the embedded feature

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

16 years agoCleanup: Replace decoration() calls by geometry(). (And get rid of unused call)
Martin Vermeer [Fri, 31 Aug 2007 07:15:32 +0000 (07:15 +0000)]
Cleanup: Replace decoration() calls by geometry(). (And get rid of unused call)

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

16 years agoremove unneeded drawSelection() method.
Abdelrazak Younes [Fri, 31 Aug 2007 07:10:24 +0000 (07:10 +0000)]
remove unneeded drawSelection() method.

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

16 years agomove our stuff off the Q* namespace
André Pönitz [Fri, 31 Aug 2007 05:53:55 +0000 (05:53 +0000)]
move our stuff off the Q* namespace

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

16 years agoTransfer Text::drawSelection() from InsetText::drawSelection() to InsetText::draw...
Abdelrazak Younes [Thu, 30 Aug 2007 22:46:22 +0000 (22:46 +0000)]
Transfer Text::drawSelection() from InsetText::drawSelection() to InsetText::draw(). This enables to take care of the background at one place. This will also enable to draw only the selection in the future (and not the full inset).

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

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

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

16 years agocompil fix.
Abdelrazak Younes [Thu, 30 Aug 2007 22:30:31 +0000 (22:30 +0000)]
compil fix.

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

16 years agocompil fix.
Abdelrazak Younes [Thu, 30 Aug 2007 22:30:14 +0000 (22:30 +0000)]
compil fix.

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

16 years agocosmetics
André Pönitz [Thu, 30 Aug 2007 22:25:35 +0000 (22:25 +0000)]
cosmetics

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

16 years agofix text background painting.
Abdelrazak Younes [Thu, 30 Aug 2007 22:12:13 +0000 (22:12 +0000)]
fix text background painting.

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

16 years agoEmbedding patch two: read/write embedded files'
Bo Peng [Thu, 30 Aug 2007 20:46:42 +0000 (20:46 +0000)]
Embedding patch two: read/write embedded files'
*  src/insets/InsetGraphics.h
*  src/insets/InsetExternal.cpp
*  src/insets/InsetGraphics.cpp
*  src/insets/InsetInclude.cpp
*  src/insets/Inset.h
*  src/insets/InsetInclude.h
*  src/insets/InsetExternal.h: register embedded files
*  src/EmbeddedFiles.h|cpp: core of embedded files
*  src/Buffer.h|cpp: read/write embed file
*  src/BufferParams.h|cpp: embedded flag
*  src/Makefile.am
*  po/POTFILES.in
*  development/scons/scons_manifest.py: build system updates

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

16 years agocompile fiz
André Pönitz [Thu, 30 Aug 2007 20:14:33 +0000 (20:14 +0000)]
compile fiz

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

16 years agoxpm -> png
André Pönitz [Thu, 30 Aug 2007 20:09:12 +0000 (20:09 +0000)]
xpm -> png

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

16 years agoFix redrawing bug for multirow inlined collapsable inset.
Abdelrazak Younes [Thu, 30 Aug 2007 19:27:33 +0000 (19:27 +0000)]
Fix redrawing bug for multirow inlined collapsable inset.

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

16 years agouse bald pointers in clone()
André Pönitz [Thu, 30 Aug 2007 18:03:17 +0000 (18:03 +0000)]
use bald pointers in clone()

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

16 years agoFix DEPM crash within inset.
Abdelrazak Younes [Thu, 30 Aug 2007 16:48:47 +0000 (16:48 +0000)]
Fix DEPM crash within inset.

* BufferView::updateMetrics(): always clear the full text_metrics_ when doing a full update.

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

16 years agoFinally enable single row repainting within insets! The inset width needs to stay...
Abdelrazak Younes [Thu, 30 Aug 2007 15:17:38 +0000 (15:17 +0000)]
Finally enable single row repainting within insets! The inset width needs to stay fixed of course.

* BufferView::draw(): makes use of PainterInfo::full_repaint
* TextMetrics::drawParagraph(): ditto.
* InsetText::drawSelection(): don't fillRectangle() if there's no selection.

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

16 years agoSave the right timestamp and checksum of an opened file.
Enrico Forestieri [Thu, 30 Aug 2007 14:50:12 +0000 (14:50 +0000)]
Save the right timestamp and checksum of an opened file.

* src/Buffer.cpp (Buffer::readFile): save timestamp and checksum
of the original disk file, and not those of the file converted
to current format.

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

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