Commit Graph

14226 Commits

Author SHA1 Message Date
Richard Heck
efbf10c5ad Fix my fix for nomencl-insert. The previous one was just a thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26108 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 15:26:06 +00:00
Richard Heck
3d03620a91 Convert LFUN_NOMENCL_INSERT to the newer style, fixing bug 5151.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26107 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 03:11:53 +00:00
Richard Heck
b074fd86d2 Fix bug 5150: Hyperlink makes no sense with multi-paragraph selection, let alone a multicell one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26106 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 02:09:38 +00:00
Richard Heck
8498a50c64 Don't allow new pages within tables!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26105 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 02:02:16 +00:00
Richard Heck
a457ab321f Move isMultiCell() to Cursor, and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 01:58:57 +00:00
Richard Heck
6f77b93572 Fix cursor movement with multicell selections. There's no point allowing character by character selection in this case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26103 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 00:43:15 +00:00
Richard Heck
939503ee85 Fix crash reported on the list involving multicell selections. We have to
be careful to check for that!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26102 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-08 21:26:18 +00:00
Richard Heck
510174ba17 Set the cursor to the start of the cell when doing multicell selections,
since it doesn't make sense to select two and a half cells.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26101 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-08 19:34:47 +00:00
Richard Heck
b2f5782253 Fix bug 5145. InsetTabular was resetting cur.idx() but not cur.pit() or cur.pos(),
leaving them possibly invalid.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-08 19:21:06 +00:00
Richard Heck
9374e68bfd Fix bug 5146. The problem arose when attempting to paste normal text into
a multicell selection. But the more I thought about this, the more it seemed
that pasting into multicell selections shouldn't be allowed. What exactly
ought to happen if the user selects a 2x3 grid of cells and then tries to
paste a 5x5 group of cells? LyX, anyway, just ignores the selection in this 
case, which is not what the user will expect. So let's just not go there.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-08 17:28:25 +00:00
Richard Heck
2455bc258f Fix layout bug. Pasting text into a cell tried to set Standard layout, because
cur.inset() returns InsetTabular as the inset the cursor is in, not InsetTableCell.
It still does that, but now we return the right thing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-08 16:19:28 +00:00
Richard Heck
67f5bf85da Another patch from Vincent. This one fixing the very annoying bug 5138.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26097 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-08 15:41:32 +00:00
Richard Heck
dc9146d250 Patch from Vincent van Ravesteijn.
I noticed that for instance the Hyperlink Dialog loses all information when clicking on the main buffer. The same occurs with the Include Child Document Dialog and probably also others.
Do you agree on this being less intuitive ? If so, I included a small patch that will fix this for the two dialogs mentioned. I just adapted them to the design of the GuiGraphics Dialog. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26096 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-08 15:29:26 +00:00
Richard Heck
5a91890cc1 Make sure temporary files are created, by default, in LyX's temporary directory, rather than in the system tempdir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-07 13:57:25 +00:00
Abdelrazak Younes
f5251b6bde Fix http://bugzilla.lyx.org/show_bug.cgi?id=5132
Brown paper bag: I forgot to copy the insetlist contents when I create the paragraph partial ctor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26092 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-07 08:50:41 +00:00
Abdelrazak Younes
0a342b3be1 Tentatively fix http://bugzilla.lyx.org/show_bug.cgi?id=4873
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26090 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-07 07:45:52 +00:00
Stefan Schimanski
ae410deed1 * \xymatrix added to completion (fixing bug 5123)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26082 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-06 18:44:35 +00:00
Abdelrazak Younes
0f9e4d7c2d Fix http://bugzilla.lyx.org/show_bug.cgi?id=5127
A call to updateLabels() was necessary (and safer) in all cases.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26081 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-06 16:08:50 +00:00
Richard Heck
4d506d21b6 Fix bug 5113.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26065 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 14:25:32 +00:00
Bo Peng
e8979d2f13 InsetInfo: use Portable instead of Gui mode to output shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26060 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 13:49:59 +00:00
Pavel Sanda
c611a1311e Disabling Fullscreen menu feature under X11, until bug
http://bugzilla.lyx.org/show_bug.cgi?id=4888 is fixed.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26059 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 13:03:31 +00:00
Richard Heck
5861442f6f Fix for preferences crash by Vincent van Ravesteijn.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26054 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-04 15:50:56 +00:00
Abdelrazak Younes
2856128d20 fix http://bugzilla.lyx.org/show_bug.cgi?id=5114
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26050 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-04 08:08:46 +00:00
Uwe Stöhr
1b03dfa0b5 GuiDocument.cpp: revert r26041
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26046 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-04 00:04:09 +00:00
Bo Peng
4fa66a8d0a Fix a bug where spaces can not be appended tonameLE in the info dialoag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26043 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-03 22:26:01 +00:00
Bo Peng
bdfcd5f16a InsetInfo: implement InsetInfo::validate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26042 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-03 22:14:04 +00:00
Uwe Stöhr
78bb4feba1 GuiDocument.cpp: fix two cases of bug 5112
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-03 21:31:25 +00:00
Bo Peng
d145c2dc9f InsetInfo: Output 'undefined' instead of an error message for undefined shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26040 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-03 21:31:06 +00:00
Abdelrazak Younes
309ce3bf0c Fix linking problem when nls is disabled. Spotted by Dov and fix by Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26036 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-03 06:34:52 +00:00
Pavel Sanda
97812e8718 Clean debug logs before rc1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26033 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-02 14:11:04 +00:00
Richard Heck
f1f6ca0963 Yet more empty-->plain.
By the way, can someone check around line 722 of CutAndPaste.cpp?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26028 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 21:58:27 +00:00
Richard Heck
0a8d713fad A bit more empty-->plain. I've also changed createEmptyLayout() to createBasicLayout(),
as the former could be confusing. It's not really empty....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26027 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 21:13:03 +00:00
Richard Heck
36ce36f341 More empty-->plain changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26026 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 21:03:45 +00:00
Richard Heck
cca78e3c8a Change the "empty layout" to the "plain layout", to try to avoid confusion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26025 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 20:57:27 +00:00
José Matox
94b2838bec Update format to 340.
Move

\begin_layout

to

\begin_layout Plain Layout

for consistency.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26020 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 17:57:01 +00:00
Pavel Sanda
e1cc41f625 VCS: Better output for svn checkout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26017 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 14:18:41 +00:00
Enrico Forestieri
dac70247f0 Fix bug 5041
http://bugzilla.lyx.org/show_bug.cgi?id=5041


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26002 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 15:07:06 +00:00
Abdelrazak Younes
3bbe1facb4 Fix crash with Menu->Edit->Paste recent
As an added bonus, the selection will be adapted to current Buffer (for quites, etc).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26001 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 09:09:23 +00:00
Abdelrazak Younes
236460445a Paragraph: Add a partial copy ctor that will get used in next commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 09:07:32 +00:00
Abdelrazak Younes
c157c1b809 Add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25999 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 07:55:53 +00:00
Abdelrazak Younes
24969f2a87 previous rev: better fix from Richard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25998 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 07:31:48 +00:00
Abdelrazak Younes
3457b4f808 Qt does not compare empty file info apparently.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25997 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 07:18:47 +00:00
Abdelrazak Younes
aa0a9b8316 Remove unnecessary FileName construction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25996 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 06:51:50 +00:00
Pavel Sanda
2cf6db8060 VCS: Handle one boundary condition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25990 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 18:17:20 +00:00
Richard Heck
1b7b9e4980 Refresh before checking for equality. Solves problem noted by Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25989 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 18:16:05 +00:00
Abdelrazak Younes
a06fd8abc5 Support symlinks, also on Windows!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25988 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 18:13:52 +00:00
Pavel Sanda
dba8932453 * doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25987 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 17:56:45 +00:00
Enrico Forestieri
4c57d0b5f2 Fix translatable message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25983 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 15:25:26 +00:00
Abdelrazak Younes
6aaad04d47 DocFileName::operator==(): use FileName operator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25982 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 14:41:46 +00:00
Abdelrazak Younes
4af74f89d8 Converters::convert(): following r25960 don't use FileName::operator==() as this didn't work in this case. Don't ask me why.
Bug reported by Bennett.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25981 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 14:30:04 +00:00
Abdelrazak Younes
3b6e5373c2 Add FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25980 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 13:50:17 +00:00
Abdelrazak Younes
4065e2b2c4 this call to setBuffer() is now not necessary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25979 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 13:33:50 +00:00
Pavel Sanda
d3e62cfe31 Better string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25978 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 13:25:07 +00:00
Abdelrazak Younes
ff80da000e Fix http://bugzilla.lyx.org/show_bug.cgi?id=5097 with a hammer. The correct fix would be to call setBuffer() inside pasteSelectionHelper() only for those inserted paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25977 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 13:15:28 +00:00
Pavel Sanda
aaa4169ece VCS: Towards statusbar info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25976 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 13:14:51 +00:00
Abdelrazak Younes
d7a30a2ea1 This code is not valid anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25975 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 12:19:42 +00:00
Abdelrazak Younes
fa1305ccd3 InsetText: remove InsetText default ctor and make text_ member private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25974 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 12:07:08 +00:00
Pavel Sanda
432c3b23ce VCS: add some message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25973 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 11:55:27 +00:00
Abdelrazak Younes
c95f99255f Buffer ctor: Use preferred InsetText ctor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25972 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 11:35:13 +00:00
Pavel Sanda
e46613d70b When statusbar is not reachable, show at least we _do_ something.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25971 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 11:17:20 +00:00
Abdelrazak Younes
f4fdaa190f revert previous fix: wrong fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25970 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:56:06 +00:00
Abdelrazak Younes
e7ccaba274 Fix initialization bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25969 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:53:13 +00:00
Pavel Sanda
5719b5be2a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25968 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:43:34 +00:00
Pavel Sanda
23836a6292 then we dont need this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25967 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:37:40 +00:00
Abdelrazak Younes
168a26b763 fix critical part of http://bugzilla.lyx.org/show_bug.cgi?id=5082
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:33:02 +00:00
Abdelrazak Younes
4ba5452012 GuiSelection: make sure the initial check is done
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25965 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:25:35 +00:00
Abdelrazak Younes
ce9c690503 stupid me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25964 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:21:25 +00:00
Abdelrazak Younes
52d4801f6a simplify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25963 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:20:19 +00:00
Pavel Sanda
26b3fdcc48 not needed now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25962 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 10:00:11 +00:00
Pavel Sanda
221812b6e0 Let empty() be const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25961 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 09:53:34 +00:00
Abdelrazak Younes
07719210df Partially fix http://bugzilla.lyx.org/show_bug.cgi?id=2771
We need to solve these warnings from documentations:
* This will not compare two different symbolic links pointing to the same file.
* Long and short file names that refer to the same file on Windows are treated as if they referred to different files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25960 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 09:07:37 +00:00
Abdelrazak Younes
64e1fc3bf4 BufferList::bufferNum() and getFileNames(): migrate to FileName/FileNameList
Inset.h : fix erroneous forward declaration.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25959 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 08:52:25 +00:00
Abdelrazak Younes
d56faa70c4 BufferList::getBuffer(): migrate to FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25958 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 08:16:09 +00:00
Abdelrazak Younes
d1d7252c46 BufferList::exists(): use FileName::operator==() instead of string comparison.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25957 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 08:05:01 +00:00
Abdelrazak Younes
3f8d273b93 LyXFunc::gotoBookmark() use FileName::operator!=() instead of string comparison.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25956 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 07:59:58 +00:00
Abdelrazak Younes
5ac9db6dfc First step toward fixing http://bugzilla.lyx.org/show_bug.cgi?id=3243
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25955 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 07:53:08 +00:00
Abdelrazak Younes
72d9237817 Add new FileName::set() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 07:47:16 +00:00
Abdelrazak Younes
b868bf78d2 Fix debug message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25953 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 07:06:57 +00:00
Abdelrazak Younes
d4113cf8d5 GuiApplication::setGuiLanguage(): ignore qt_trans_ loading failure as this is only for Mac special menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25952 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 06:44:49 +00:00
Pavel Sanda
3f21a3de56 upss
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25951 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 02:04:52 +00:00
Pavel Sanda
609878cf00 Towards bug http://bugzilla.lyx.org/show_bug.cgi?id=4830
(selection issues on more LyX instances)

This fixes for me the worst cases. Still some selection
problem appear from time to time and it will be tricky
to get this completely right since the performance 'hacks'
our code uses.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25950 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 01:51:20 +00:00
Pavel Sanda
716626c736 fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25949 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 00:36:07 +00:00
Pavel Sanda
5209aad8de change debugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25948 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 00:34:15 +00:00
Richard Heck
5d95df6e39 Add CopyStyle tag for InsetLayout, per request of Steve Litt.
Update documentation for new tag.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25933 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 15:14:37 +00:00
Abdelrazak Younes
0b86ea9f71 previous rev: revert accidental commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25932 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 15:05:12 +00:00
Abdelrazak Younes
2d9def6577 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5021
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25931 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 14:58:29 +00:00
Abdelrazak Younes
8085efd83a Some locale related cleanup. JMarc, please when you come back, review this. It is working fine in all my testings though.
* GuiApplication: delay locale loading until setGuiLanguage() is called.

* Messages: memorize default locale for current environment.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25930 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 11:26:46 +00:00
Jürgen Spitzmüller
63ca4f8caa * update tex2lyx man page, mostly done bei Uwe (bug 2770).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25929 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 07:52:27 +00:00
Uwe Stöhr
b3531611e7 tex2lyx/test-insets.tex: add test for bounding box and clipping of \includegraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25919 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 21:44:24 +00:00
Richard Heck
163d827729 Support for removing "default" modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25917 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 17:46:27 +00:00
Uwe Stöhr
c08f8291f9 - InsetMathAMSArray.cpp: code cosmetic
- Math.lyx: leftovers from bug 5090

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 11:32:26 +00:00
Uwe Stöhr
5aece0832c - InsetMathAMSArray.cpp: load the amscd package when the command \CD was used, fixes bug 5090
- LaTeXFeatures.cpp: add amscd

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25909 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 00:47:28 +00:00
Uwe Stöhr
180448cf14 InsetMathHull.cpp: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25908 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 00:45:19 +00:00
Enrico Forestieri
bc72d3fc58 Automate setting of LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 10:45:38 +00:00
Richard Heck
a28c584064 Move the default module loading from makeDocumentClass() to setBaseClass().
This makes the Document>Settings dialog behave better.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25882 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-25 16:48:48 +00:00
Richard Heck
56a35c2c61 Add UseModule tag for layout files. This allows the AMS files, in particular, to "require" the
theorems-ams module, which is what most users will want. A later commit will allow users also
to "exclude" this module, in case they wanted to do that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25880 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-25 15:51:27 +00:00
Abdelrazak Younes
f5030c23f0 Fix bug due to wrong interpretation of Qt's doc, take 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25874 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 21:22:08 +00:00
Abdelrazak Younes
9dc08cb35a wrong eol.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25873 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 21:16:46 +00:00
Abdelrazak Younes
2b8ff49ae9 Fix bug due to wrong interpretation of Qt's doc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 21:13:33 +00:00
Jürgen Spitzmüller
f4e185a299 * GuiToolbar.cpp:
- do not add "ObsoletedBy" layouts to the combo (bug 5083).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25861 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 06:13:43 +00:00