Richard Heck
4e2d14a363
Disable nomencl-insert with inappropriate selections.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26111 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 16:31:22 +00:00
Richard Heck
ebfe9d60d7
The previous commit inadvertently contained some of this one, which is just a renaming.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26110 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 16:29:25 +00:00
Richard Heck
bcedd63443
OK, let's actually get this nomencl-insert thing right.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26109 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 16:15:49 +00:00
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
Pavel Sanda
9dd9efdf47
sorry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25857 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 19:53:15 +00:00
Abdelrazak Younes
0f53077165
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5073
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25853 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 14:47:39 +00:00
Abdelrazak Younes
b4f4a5c245
God damn tabular dual head :-/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25851 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 13:25:03 +00:00
Abdelrazak Younes
e182d5b98d
Stupid bug fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25848 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 13:10:18 +00:00
Abdelrazak Younes
68d50628c1
Forgot this in previous commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25845 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 12:55:24 +00:00
Abdelrazak Younes
396a90decb
Ensure that the Buffer pointer is correctly set with Clipboard operations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 12:49:22 +00:00
Abdelrazak Younes
1afed1fc88
Remove GraphicsTypes.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25838 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 12:19:43 +00:00
Abdelrazak Younes
4bc7feaa96
* Inset: ensure that the Buffer pointer is not copied. This was the cause of very weird bugs with copy and paste within table.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25837 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 12:13:41 +00:00
Abdelrazak Younes
794aa69fc7
Add masks to temp file names, easier for debugging in case of crash.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25832 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 09:41:26 +00:00
Abdelrazak Younes
45be32fea5
use new FileName::tempName() method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25831 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 09:27:33 +00:00
Abdelrazak Younes
d79ee740b3
Introduce a new tempName() method with base directory.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25830 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 09:23:23 +00:00
Abdelrazak Younes
c8a0b97d2e
move LyXerr QString specialisation to support/qstring_helpers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25829 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 09:21:22 +00:00
Abdelrazak Younes
d7fae16a3b
Safer temp file creation with regards to double slash.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 08:28:51 +00:00
Abdelrazak Younes
68277d6e7f
FileName::isDirWritable(): make is safer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25827 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 08:14:24 +00:00
Abdelrazak Younes
58303ecfa9
Bug fix: FileName doesn't like double slash. I am going to fix this properly after this commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25826 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 07:17:54 +00:00
Abdelrazak Younes
8195925175
Replace home made temp file creation with safer (and cleaner) Qt' solution. Should fix http://bugzilla.lyx.org/show_bug.cgi?id=4693
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25822 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 05:17:31 +00:00
Pavel Sanda
b9dd28b101
last bit before generating documentation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25821 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 02:29:22 +00:00
Pavel Sanda
6c0a44e300
other bits
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25820 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 01:41:42 +00:00
Pavel Sanda
5a4f93f413
Formating issues to get some sensible issue.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25819 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 01:22:47 +00:00
Uwe Stöhr
2f2886b094
Package.cpp: fix comment position and a typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25818 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 23:54:37 +00:00
Pavel Sanda
e594f7d4f1
Coding style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 21:22:44 +00:00
Uwe Stöhr
7305378c07
Package.cpp: use 16x environment variable (This should be done automatically for new major releases.)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25810 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 20:37:12 +00:00
Abdelrazak Younes
734e22c4d3
tentatively fix http://bugzilla.lyx.org/show_bug.cgi?id=4693
...
The problem stems I guess from the use of from_local8bit().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25809 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 17:45:40 +00:00
Enrico Forestieri
89e68f49f6
The QFileInfo::refresh() bug affects all *nix targets since the minimum
...
version of Qt (4.2) that we support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25808 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 17:35:13 +00:00
Jürgen Spitzmüller
b896fa110d
* src/insets/InsetTabular.h:
...
- implement hasFixedWidth() (fixes part of bug 3484).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25805 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 16:13:59 +00:00
Abdelrazak Younes
4ecd231549
fix MSVC warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25804 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 16:09:18 +00:00
Jürgen Spitzmüller
7e3ebd9864
* src/insets/InsetTabular.h:
...
- make neverIndent() non-virtual and const, fixing bug 4641
- also make neverIndent(), usePlainLayout(), forcePlainLayout() and
allowParagraphCustomization() private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25802 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 14:31:16 +00:00
Pavel Sanda
6f495e959e
VCS: adjust cvs revert to other archs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25801 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 13:44:06 +00:00
Pavel Sanda
3fe61ffb8f
VCS: adjust cvs revert to other archs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25799 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 12:25:54 +00:00
Enrico Forestieri
7372c4abbe
Don't use the \textgreek macro when the latex encoding (iso-8859-7) is
...
already the right one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25797 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 11:25:15 +00:00
Pavel Sanda
4e6b8efb10
scan log also for svn check-in of VCS
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25796 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 10:17:24 +00:00
Pavel Sanda
9fdbf7eff5
scanLog for checkout svn in VCS.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25795 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 10:16:54 +00:00
Pavel Sanda
6a9c45b50b
Change strings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25794 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 10:16:30 +00:00
Pavel Sanda
d4b9c97555
ReadOnly mode only for RCS
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25793 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 10:16:12 +00:00
Pavel Sanda
63bc0678bc
doxyfication of the current state
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25792 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 10:16:02 +00:00
Jürgen Spitzmüller
7606318a7f
More work on the Shortcuts UI:
...
- less stylish, but hopefully more visibly panel style
for the shortcut widget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25790 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 09:49:38 +00:00
Jürgen Spitzmüller
6ae7cad09f
More work on the Shortcuts UI:
...
- modifying a shortcut removes the previous one
(if it's not a system shortcut)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25789 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 09:35:46 +00:00
Pavel Sanda
f625f3e0dc
Implement checkout for svn.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25788 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 09:00:41 +00:00
Pavel Sanda
38edfeb537
toggleReadOnly belongs only to RCS, not CVS.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 09:00:05 +00:00
Pavel Sanda
0129d2fad1
Comments forthe current state.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25786 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 08:59:47 +00:00
Pavel Sanda
bb14dc3a00
VCS svn support, partly fixes http://bugzilla.lyx.org/show_bug.cgi?id=2574 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25785 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 08:59:15 +00:00
Pavel Sanda
879c6001d6
LFUN doxyfication project is finished.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25784 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 08:38:43 +00:00
Jürgen Spitzmüller
91baeb2c55
More work on the Shortcuts UI:
...
- add ability to remove a Key from the sequence
- add ability to modify a sequence without retyping it from scratch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25783 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 08:29:50 +00:00
Pavel Sanda
c3f185f254
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25781 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 00:04:03 +00:00
Pavel Sanda
1523bed0a0
Undo remains only for RCS.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25777 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 21:08:11 +00:00
Pavel Sanda
1e77f7f87f
comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25775 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 18:00:48 +00:00
Richard Heck
1c71a1019b
Revert another unintentional commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25774 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 16:41:29 +00:00