Commit Graph

14151 Commits

Author SHA1 Message Date
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