Commit Graph

14331 Commits

Author SHA1 Message Date
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
Richard Heck
e4c7a9a677 Fix bug 5075, I hope.
If Trolltech ever fixes this, then we can put an upper bound onto the #if.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25773 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 16:39:46 +00:00
Pavel Sanda
92efed6e3f * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25772 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 16:37:09 +00:00
Pavel Sanda
e8bb46e534 message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25771 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 16:22:35 +00:00
Jürgen Spitzmüller
aa176fd56c Hopefully less confusing shortcut settings UI (bug 5012).
* src/frontends/qt4/CustomizedWidgets{cpp,h}:
	- rename ShortcutLineEdit to ShortcutWidget and build it on
	   top of QLabel instead of QLineEdit
* src/frontends/qt4/GuiPrefs.{cpp,h}:
* src/frontends/qt4/ui/ShortcutUi.ui:
	- improve shortcut editing
	- rename shortcutLE to shortcutWG
	- add/improve tooltips

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25770 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 14:54:07 +00:00
Jürgen Spitzmüller
c6400f4f60 * VCBackend.cpp:
- use boost::format for combined strings to maintain proper syntactic translation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25769 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 13:20:29 +00:00
Pavel Sanda
aede7e8442 commiting stuff also works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 13:00:00 +00:00
Pavel Sanda
af2a545b10 doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 12:39:08 +00:00
Pavel Sanda
be397b29a5 We are completely user unfriendly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25765 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 11:50:21 +00:00
Pavel Sanda
64838b1400 comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25764 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 11:18:33 +00:00
Pavel Sanda
3d612bc4b6 Locking modes of RCS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25763 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 10:54:53 +00:00
Jürgen Spitzmüller
a2a3d8337f * src/mathed/InsetMathHull.cpp:
- update labels cache after a label has been erased (bug 4929).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25757 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 08:48:16 +00:00
Jürgen Spitzmüller
05dd160c87 * CutAndPaste.cpp: fix bug 5070.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25755 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 08:11:10 +00:00
Richard Heck
951d0dc28d Try to fix a problem noted by Dov. There are design problems that prevent a really good solution. Please see the FIXME in InsetTabular.h for a description of the problem and a plea for a better solution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 02:07:54 +00:00
Pavel Sanda
b2ec31a7f7 comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 01:58:10 +00:00
Pavel Sanda
4b00e7f527 This should bring cvs revision control to usable state.
LyXVC API was too narrow to master both cvs and rcs, so we have to change interface.

We still need one more operation for cvs update, but i need to sleep sometimes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25750 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 01:55:58 +00:00
Pavel Sanda
3890f250e6 Make debug consistent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25748 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 00:22:43 +00:00
Pavel Sanda
d37daf5e8a Set cvs registration process to the document directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 00:18:19 +00:00
Pavel Sanda
6094deee0f Revision control log is not visible after launching, moreover the title didn't
get updated when using Log window for a different functions (eg. LaTeX vs RC log).

I hope this is correct position of updateContents() and it was not intention not
to call update of LaTeX log automatically after displaying.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25742 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 22:48:48 +00:00
Pavel Sanda
e838f3552d Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25741 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 22:08:32 +00:00
Pavel Sanda
31da3492d0 Ressurect RC cvs checking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25740 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 21:49:58 +00:00
Pavel Sanda
19b6a34be3 This comment is wrong and causes bug in revision control.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 21:27:20 +00:00
Pavel Sanda
7565a5934f Another debugs for selection engine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 20:16:33 +00:00
Pavel Sanda
bd8f4da87b Some debug strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25736 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 20:14:40 +00:00
Pavel Sanda
a802034a4b * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25735 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 20:09:12 +00:00
Abdelrazak Younes
ba7e6e2b03 avoid that the internal Buffer used for cut&paste is visible in View menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25732 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 17:55:38 +00:00
Abdelrazak Younes
d861ab947f Move child document closing from InsetInclude dtor to Buffer parent dtor. Fix http://bugzilla.lyx.org/show_bug.cgi?id=5047
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25731 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 17:52:55 +00:00
Jürgen Spitzmüller
af9305f4ac *** sanitize listing's encoding handling ***
* src/Encoding.h:
	- new member hasFixedWidth()
* src/output_latex.{cpp,h} (switchEncoding):
	- add option to force encoding switch
* src/insets/InsetListing.cpp (latex):
	- force encoding switch only in multibyte context, switch the encoding properly,
	  and add some error messages.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25730 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 17:14:10 +00:00
Jürgen Spitzmüller
855c185881 * GuiErrorList.cpp:
- fix display of error description for preamble errors (bug 5007).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25728 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 17:05:58 +00:00
Jürgen Spitzmüller
38af9ccac5 GuiBox.cpp:
- disable width widgets for framed.sty boxes (bug 5069).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25727 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 16:57:37 +00:00
Enrico Forestieri
0e834b9342 When producing latex output, check whether a character entered in mathed
can be encoded in the current latex encoding before resorting to the
unicodesymbols file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25725 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 01:50:54 +00:00
Pavel Sanda
8a47d06b86 add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25724 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 00:51:55 +00:00
Pavel Sanda
853b732080 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25723 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 00:49:17 +00:00
Pavel Sanda
f01c52da7d Revert http://www.lyx.org/trac/changeset/25553 and try better fix for bug
http://bugzilla.lyx.org/show_bug.cgi?id=5008



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25719 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 18:35:48 +00:00
Pavel Sanda
7e02fbe6ed * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25718 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 18:02:39 +00:00
Richard Heck
6e688952c0 Revert unintentional commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25717 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 17:29:30 +00:00
Richard Heck
83f0903b4a Optimize GuiCitation a bit by not checking the cache so often.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25716 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 17:23:13 +00:00
Richard Heck
55238f4dfd Don't need to do this check, as getInfo() will return an empty string in this case, anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25715 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 16:36:14 +00:00
Richard Heck
e40196edbc Temporary fix for crash due to r24526. Jurgen, please do whatever needs doing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25714 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 16:03:04 +00:00
Abdelrazak Younes
87ee3d8c43 Potentially fix http://bugzilla.lyx.org/show_bug.cgi?id=5057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25713 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 15:57:07 +00:00
Jürgen Spitzmüller
89af456100 * GuiView.cpp:
- disable non-working splitting actions (bug 5044).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25712 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 13:17:46 +00:00
Abdelrazak Younes
b17489d91e Add some output for bug 4693
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25710 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 11:47:20 +00:00
Uwe Stöhr
ffa15bc301 BufferParams.cpp: clarify the babel loading logic: treat jurabib the same as hyperref, japanese, and vietnamese
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25707 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-18 22:22:17 +00:00
Abdelrazak Younes
9f433432dd invert crtl+wouse wheel zoom direction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-17 08:36:02 +00:00
Jürgen Spitzmüller
eb0e3ff7b1 * GuiToolbar.cpp (updateContents):
- properly disable layout combo (bug 5054)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25677 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 21:35:13 +00:00
Richard Heck
c2a28fa239 Reinstate the commented out check, now that I've figured out how to do it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25673 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 16:05:35 +00:00
Richard Heck
97a9667f6e Clean up the unknown layout stuff some more. Please test to make sure this works with translated layout names, especially when one of them is "unknown". The use of "unknown" with RTL is also wrong, probably, as it will appear on the wrong side. But I'm not sure how to fix that.
BTW, to create a file with an "unknown" layout for testing, just take any LyX file, open it with vi, and replace something like:
\begin_layout Section
with
\begin_layout BlubberStuff
That's probably unknown. ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25671 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 15:52:10 +00:00
Richard Heck
741bd1221a Fix for bug 5053. There are still some serious problems here, though, as (a) "unknown" cannot be translated and (b) the way the code was re-written, it will fail if unknown and translated layout names are used. This is because it completely subverts the use of a multicolumn model. I'll try to fix that, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 15:29:00 +00:00
Jean-Marc Lasgouttes
81f12d8c85 silence some compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25669 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 15:05:34 +00:00
Richard Heck
ab6ecc9fea Clarify comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25668 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 14:49:36 +00:00
Richard Heck
14be46fd4b Comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25667 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 14:28:26 +00:00
Richard Heck
a4ed71a212 Try to fix bug 5015---at least the crash is gone---and remove some unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25666 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 14:23:32 +00:00
Abdelrazak Younes
e1eaea3b4d simplify code by using fontIterator()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25665 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 12:40:10 +00:00
Abdelrazak Younes
bef58b3b16 Optimisation: away creation of FontTable for each FontList::fontIterator() call.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25664 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 12:09:54 +00:00
Abdelrazak Younes
5013a5cef9 oups!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25660 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 09:46:07 +00:00
Abdelrazak Younes
79036bcede fix http://bugzilla.lyx.org/show_bug.cgi?id=5002
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 09:43:46 +00:00
Richard Heck
1ca1c0a326 Add a comment about bug 4812.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25641 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 18:09:44 +00:00
Richard Heck
8981e0bad6 Some minor upgrades to r25555. Moved addLayoutIfNeeded() to DocumentClass, most importantly. This should not change any functionality, as the calls were via DocumentClass objects, anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25639 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 17:51:57 +00:00
Jürgen Spitzmüller
ce13748eae Restore 1.5.x babel loading order (bug 5024)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25632 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 13:08:27 +00:00
Abdelrazak Younes
18e9698f6a Fix http://bugzilla.lyx.org/show_bug.cgi?id=5004
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25630 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 11:06:02 +00:00
Pavel Sanda
4813fe32bb Add debug message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25626 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 00:33:37 +00:00
Pavel Sanda
b3cd09dcff We have locale debug level, so put it there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25625 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 23:54:26 +00:00
Pavel Sanda
9c87bee68d Introduce Debug::SELECTION mainly for copy/paste primary-selection debugging.
Up to now it was hell to debug it, since the selection messages was under different
debug classes and the messages also get completely lost from mouse action events.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25624 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 23:47:54 +00:00
Pavel Sanda
9c638a78ed pasting is more tricky
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25623 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 21:00:11 +00:00
Pavel Sanda
7c1e56508e * doxy bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25622 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 20:40:22 +00:00
Jean-Marc Lasgouttes
5be432fb92 Fix bugs 4977 and 2018:
http://bugzilla.lyx.org/show_bug.cgi?id=4977
http://bugzilla.lyx.org/show_bug.cgi?id=2018

	* Text3.cpp (doInsertInset): do not copy selection to clipboard if we 
	do not intend to paste it later (bug 4977); do not remove space at
	start of paragraph (bug 2018); make sure the cursor is at the right
	place after pasting inside inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25621 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 19:47:43 +00:00
Pavel Sanda
5e0da19d1b typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 18:32:49 +00:00
Pavel Sanda
d56e60a1ff * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25619 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 18:30:49 +00:00
Abdelrazak Younes
0f7bae394c Redo 25580 the right way, again :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25618 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 17:11:19 +00:00
Richard Heck
a282ef926a I've had to revert r25548 because of:
gdb /home/rgheck/cvs/lyx-devel/trunk/src/lyx --interpreter=mi2 -quiet
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) bt
bt
#0  0x000000369a230ec5 in raise () from /lib64/libc.so.6
#1  0x000000369a232970 in abort () from /lib64/libc.so.6
#2  0x000000369a26b0db in __libc_message () from /lib64/libc.so.6
#3  0x000000369a272832 in _int_free () from /lib64/libc.so.6
#4  0x000000369a275f2c in free () from /lib64/libc.so.6
#5  0x00000000004ebbdc in std::_Rb_tree<int, std::pair<int const, lyx::Author>, std::_Select1st<std::pair<int const, lyx::Author> >, std::less<int>, std::allocator<std::pair<int const, lyx::Author> > >::_M_erase (this=0x32c7f68, __x=0x30ece10) at /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:94
#6  0x00000000004ebe99 in ~map (this=0x32c7f68) at /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:578
#7  0x00000000004df21f in lyx::BufferParams::MemoryTraits::destroy (ptr=0x32c7f60) at Author.h:50
#8  0x00000000004855e4 in ~copied_ptr (this=<value optimized out>) at ../../../src/support/copied_ptr.h:69
#9  0x0000000000488f93 in ~BufferParams (this=0x32c7b30) at ../../../src/BufferParams.h:52
#10 0x0000000000748585 in ~UndoElement (this=0x7fffc1aeebd0) at Undo.cpp:82
#11 0x0000000000745be8 in lyx::Undo::Private::doRecordUndo (this=0x2ef9630, kind=lyx::ATOMIC_UNDO, cell=<value optimized out>, first_pit=<value optimized out>, last_pit=<value optimized out>, cur=<value optimized out>, isFullBuffer=true, isUndoOperation=true) at Undo.cpp:278
#12 0x0000000000745ce7 in lyx::Undo::recordUndoFullDocument (this=0x2ea5620, cur=@0x2f04238) at Undo.cpp:443
#13 0x00000000007a73cc in lyx::Cursor::recordUndoFullDocument (this=0x2f04238) at Cursor.cpp:2139
#14 0x00000000006374e8 in lyx::LyXFunc::dispatch (this=0x2a431a0, cmd=@0x7fffc1af0e20) at LyXFunc.cpp:1426
#15 0x000000000060630c in lyx::dispatch (action=@0x7fffc1af0e20) at LyX.cpp:1131
#16 0x0000000000b1740a in lyx::frontend::Dialog::dispatch (this=<value optimized out>, fr=@0x7fffc1af0e20) at Dialog.cpp:62
#17 0x0000000000b6787b in dispatch_bufferparams (dialog=@0x30e1288, bp=@0x30e1470, lfun=lyx::LFUN_BUFFER_PARAMS_APPLY) at GuiDocument.cpp:2244
#18 0x0000000000b7825b in lyx::frontend::GuiDocument::dispatchParams (this=0x30e1260) at GuiDocument.cpp:2255
#19 0x0000000000b1766e in lyx::frontend::Dialog::apply (this=0x30e1288) at Dialog.cpp:159
#20 0x0000000000b647d8 in lyx::frontend::GuiDialog::slotOK (this=0x30e1260) at GuiDialog.cpp:56
#21 0x0000000000b64871 in lyx::frontend::GuiDialog::qt_metacall (this=0x30e1260, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffc1af2290) at GuiDialog_moc.cpp:73
#22 0x0000000000b83fed in lyx::frontend::GuiDocument::qt_metacall (this=0x4f17, _c=20247, _id=6, _a=0xffffffffffffffff) at GuiDocument_moc.cpp:90
#23 0x00000034e9cf3d71 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#24 0x00000034ea5f3007 in QAbstractButton::clicked () from /usr/lib64/libQtGui.so.4
#25 0x00000034ea416c3b in QAbstractItemModel::sort () from /usr/lib64/libQtGui.so.4
#26 0x00000034ea4182c5 in QAbstractItemModel::sort () from /usr/lib64/libQtGui.so.4
#27 0x00000034ea4184cd in QAbstractButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#28 0x00000034ea1cf35a in QWidget::event () from /usr/lib64/libQtGui.so.4
#29 0x00000034ea4177df in QAbstractButton::event () from /usr/lib64/libQtGui.so.4
#30 0x00000034ea491778 in QPushButton::event () from /usr/lib64/libQtGui.so.4
#31 0x00000034ea19274c in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#32 0x00000034ea198c1b in QApplication::notify () from /usr/lib64/libQtGui.so.4
#33 0x0000000000a8084a in lyx::frontend::GuiApplication::notify (this=0x4f17, receiver=0x4f17, event=0x6) at GuiApplication.cpp:1163
#34 0x00000034e9ce3700 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#35 0x00000034ea1df95d in QAbstractItemModel::sort () from /usr/lib64/libQtGui.so.4
#36 0x00000034ea1de900 in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#37 0x00000034ea200778 in QAbstractItemModel::sort () from /usr/lib64/libQtGui.so.4
#38 0x000000369f62ef53 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#39 0x000000369f63224d in QAbstractItemModel::sort () from /lib64/libglib-2.0.so.0
#40 0x000000369f63277e in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#41 0x00000034e9d01930 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#42 0x00000034ea20057f in QAbstractItemModel::sort () from /usr/lib64/libQtGui.so.4
#43 0x00000034e9ce2da8 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#44 0x00000034e9ce2ebd in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#45 0x00000034e9ce4e71 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#46 0x0000000000a7fb83 in lyx::frontend::GuiApplication::exec (this=<value optimized out>) at GuiApplication.cpp:1032
#47 0x00000000006101e4 in lyx::LyX::exec (this=0x7fffc1af4cf0, argc=@0x7fffc1af4cec, argv=<value optimized out>) at LyX.cpp:342
#48 0x0000000000433aa8 in main (argc=1, argv=0x7fffc1af4df8) at main.cpp:46
^done
I don't know at all what's up here with copied_ptr. Hadn't even heard of it until five minutes ago. ;-) You can cause this crash by opening a new document, opening Document>Settings and changing (say) the Bibliography settings, and then hitting "OK".



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25617 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 16:12:12 +00:00
Jürgen Spitzmüller
1d0bac1144 Fix bug 5040:
* src/support/lstrings.{cpp,h}:
	- new optional param "bool keepemtpy" in getVectorFromString. 
	  By default, empty content between two delimiters was/is not added to the vector.
	  This can be changed with this bool.

* src/insets/InsetIndex.cpp:
	- care for the case when plaintext returns nothing (e.g when ERT is used)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25616 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 16:09:59 +00:00
Jürgen Spitzmüller
b264ae0dc0 * src/insets/InsetBibItem.cpp:
- fix duplicate vheck (bug 5035).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25614 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 12:49:39 +00:00
Jean-Marc Lasgouttes
281035e99a fix compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25612 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 12:41:36 +00:00
Jürgen Spitzmüller
7038f3bd6e compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25611 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 12:38:43 +00:00
Abdelrazak Younes
7b1fec8e1e r25604: better fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 11:49:08 +00:00
Abdelrazak Younes
a9ed4635be Fix Mac gcc warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 11:46:53 +00:00
Abdelrazak Younes
9055871c15 Mac gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 11:40:29 +00:00
Abdelrazak Younes
0915d57aa2 MSVC compile fix :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25607 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 11:33:04 +00:00
Abdelrazak Younes
5ec4d80162 gcc compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25606 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 11:30:51 +00:00
Abdelrazak Younes
10c46e5db8 Fix potential crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25604 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 10:14:59 +00:00
Abdelrazak Younes
e8aa9311f4 potentially fix lyxrc.dist isssue with \gui_language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25602 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 09:57:37 +00:00
Abdelrazak Younes
d6e9c4eec0 Stay on the safe side: prevent filename clashing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25599 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 09:00:11 +00:00
Abdelrazak Younes
e61643b43b Fix again http://bugzilla.lyx.org/show_bug.cgi?id=5010
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 08:48:25 +00:00
Abdelrazak Younes
79beb91e3a Sanitize LyX singleton access by getting rid of ref() and cref() methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 08:35:00 +00:00
Jürgen Spitzmüller
f67a9fac2e * src/insets/InsetIndex.cpp (output_latex):
- sanitize the handling of index levels (most of bug 5014).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25596 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 08:20:24 +00:00
Abdelrazak Younes
647ac4a221 safeguards:
- move Previews singleton to LyX
- LyX.cpp: set singleton to zero at destruction.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25594 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 07:16:00 +00:00
Abdelrazak Younes
7b7f95a439 temporarily fix http://bugzilla.lyx.org/show_bug.cgi?id=5026
This will reopen bug 5010 temporarily. Please don't touch this until I am finished.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25593 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 06:29:04 +00:00
Abdelrazak Younes
f04afc6585 reverting the safeguard in 25591. There is an awful lot of things to clean up before we can add this safeguard!!!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 06:22:41 +00:00
Abdelrazak Younes
10c7f636a6 Add safeguard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25591 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 06:17:52 +00:00
Abdelrazak Younes
f3f99c354c add const
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25590 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 05:33:14 +00:00
Abdelrazak Younes
e93fd11d41 Fix MSVC warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25589 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 05:19:39 +00:00
Pavel Sanda
a7a31dc392 Remove LFUN_BIBITEM_INSERT.
The last GUI trace for using this lfuns is here: http://www.lyx.org/trac/changeset/9966 .

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141812.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 01:28:06 +00:00
Pavel Sanda
bb236cbb0b * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25586 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 21:51:46 +00:00
Richard Heck
a24439b154 Redo 25580 the right way. (Failure to initialize bparams had caused constant crashes.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25584 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:34:56 +00:00
Richard Heck
a692a56f4c Revert 25580.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25583 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:33:05 +00:00
Richard Heck
ec86523845 Another small optimization: Don't bother copying the BufferParams unless we need it.
This may speed up repeated undos a bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25580 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:04:44 +00:00
Richard Heck
9c6546fbd2 A small optimization: Don't do a copy here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25578 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:00:55 +00:00
Pavel Sanda
44d0356900 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 10:45:46 +00:00
Jean-Marc Lasgouttes
69080628a0 cleanup makefiles after config.h.in has been moved to top_srcdir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25566 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 14:06:04 +00:00
Pavel Sanda
c29bd2ef53 Revert http://www.lyx.org/trac/changeset/25471 /2
This commit hasn't announced in http://bugzilla.lyx.org/show_bug.cgi?id=4749
and bring this bug in a different flavour, see comment 28.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25564 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 11:40:47 +00:00
Abdelrazak Younes
33b75ac079 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5011
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25562 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 09:35:05 +00:00
Abdelrazak Younes
29253a74d5 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5023
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25560 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 09:03:09 +00:00
Jürgen Spitzmüller
dcc4d58b66 *** Implement GUI names for encodings (part of bug 4971) ***
* lib/encodings:
	- add new column "GUI names"

* src/Encoding.{cpp,h}:
	- read in and handle GUI names

* src/frontends/qt4/GuiDocument.cpp:
	- display GUI names instead of LaTeX names

* po/lyx_pot.py:
* po/Rules-lyx:
* development/scons/SConstruct:
	- add encoding GUI names to the po files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 08:56:17 +00:00
Jürgen Spitzmüller
47e6b74e74 * src/insets/InsetSpace.cpp:
- proper visualization for negative hspaces, in analogy to negative vspaces.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25557 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 08:46:05 +00:00
Richard Heck
f854295dab 'Default'-->'Empty' in Bo's recent commit. Default means something else in the code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 03:41:56 +00:00
Bo Peng
763ef015ce Improve the local layout feature by better handling of unknown textclass, unknown layouts, and switch between textclasses.
* src/TextClass.h[.cpp]: add addLayoutIfNeeded() and createDefaultLayout()
	* src/Layout.h[.cpp]: add unknown_ to mark if a layout is a default layout for an unknown one.
	* src/LayoutFile.cpp: add addDefaultClass and change addLayoutFile to addLocalLayout.
	* src/Text.cpp: add unknown layouts that are not recognizable by a new textclass.
	* src/frontends/qt4/GuiToolbar.cpp: display (unknown) for unknown layouts.
	* src/frontends/qt4/GuiDocument.cpp: restore 'browse layout' button.
	* src/frontends/qt4/ui/LaTeXUi.ui: restore 'browse layout' button.
	* src/CutAndPaste.cpp: do not convert unknown layouts from pasted text
	* src/BufferParams.cpp: add a default textclass when a document with unknown textclass is loaded.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 02:43:02 +00:00
Pavel Sanda
8dfd3c5ed4 * Doxy.
I myself don't understand the Notion line taken from the source code.
LFUN_ALL_CHANGES_REJECT is currently broken, so I can't test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 00:31:41 +00:00
Pavel Sanda
08165a71bb Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5008 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25553 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 23:35:12 +00:00
Pavel Sanda
64dd1e4570 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25548 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:39:29 +00:00
Pavel Sanda
ff705e9b85 Add comment to avoid future clashes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25545 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:14:29 +00:00
Uwe Stöhr
3ceba1f8e4 InsetSpace.cpp:
- use another color for negative spaces to be able to distinguish it from "normal" positive one
 - don't swap the inset drawing as this inconsistent to the other negative spaces and the ones in math mode

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:01:57 +00:00
Richard Heck
780bce0f96 Rename empty layout stuff to plain layout stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25541 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 17:41:52 +00:00
Richard Heck
f57a0a5dac Revert r25538.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 16:38:01 +00:00
Abdelrazak Younes
24a94f7254 Saves some more memory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 16:13:43 +00:00
Abdelrazak Younes
11e1821284 Fix crash when tab group is closed while Outline is opened.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25537 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 12:44:50 +00:00
Pavel Sanda
f51305b047 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25535 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 12:21:51 +00:00
Abdelrazak Younes
ab5a4d4f0f reverting 25454 and fix http://bugzilla.lyx.org/show_bug.cgi?id=4758; again!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25534 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 11:53:57 +00:00
Abdelrazak Younes
7122fd58d8 stupid me...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25533 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 11:45:16 +00:00
Abdelrazak Younes
f71ec170f7 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5016
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 11:43:12 +00:00
Jürgen Spitzmüller
f10b67b09f * src/insets/InsetSpace.cpp:
- comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 07:45:33 +00:00
Jürgen Spitzmüller
21f3fadbc1 * src/insets/InsetSpace.cpp:
- (simple) visual indication for negative hspaces.
	- minimal metrics width for hspaces.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 07:43:21 +00:00
Pavel Sanda
04397b84f0 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 23:20:06 +00:00
Pavel Sanda
31ec62658f * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25527 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 23:17:28 +00:00
Richard Heck
aee1d2b0f7 Do this check before we start creating things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 22:59:16 +00:00
Richard Heck
2b70ed0204 Thanks, Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25524 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 21:58:13 +00:00
Richard Heck
663043fd22 Fix the rest of bug 5010.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25523 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 21:27:15 +00:00
Richard Heck
9aa5b42262 Fix bug 5010, for the most part. There's no need to construct a default UndoElement,
which involves constructing a default BufferParams (this is expensive), only then to
over-write everything. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25522 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 18:42:41 +00:00
Pavel Sanda
f0c81b243f * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25521 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 18:37:24 +00:00
Pavel Sanda
e2974946f4 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25520 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 15:38:13 +00:00
Jürgen Spitzmüller
0160b75b4d * src/insets/InsetSpace.cpp:
- use abs().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 10:31:16 +00:00
Abdelrazak Younes
9406eb0ff9 Fix crash reported in http://bugzilla.lyx.org/show_bug.cgi?id=4873
I don't think the crash is related to that bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25514 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 09:48:59 +00:00
Jürgen Spitzmüller
01fb1898ad * src/insets/InsetSpace.cpp:
- correct metrics for negative hspaces (bug 5009).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25512 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 08:12:38 +00:00
Jürgen Spitzmüller
612e52b093 Back to CJK sanity I: Fix bug 4698 and 4696.
* lib/encodings:
* src/support/docstream.h:
	- JIS is not a valid iconv name. Rename to ISO-2022-JP

* src/output_latex.cpp:
	- fix wrong encoding switch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25510 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 07:21:02 +00:00
Richard Heck
53c764ed9b More comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25507 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 18:13:47 +00:00
Richard Heck
b53dc7a033 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 17:57:20 +00:00
Jean-Marc Lasgouttes
1f9aaff77b typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25505 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 09:24:28 +00:00
Jean-Marc Lasgouttes
67774abaf2 * Text.cpp (cursorForwardOneWord, cursorBackwardOneWord): fix
moving in mac-like mode (a space is not a char)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25504 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 09:19:41 +00:00
Pavel Sanda
052b9a8874 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4943 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25503 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 23:41:19 +00:00
Richard Heck
ea5eb8cf85 Update doxy a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25500 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 21:45:54 +00:00
Pavel Sanda
dd2f66af0f Add comment from Paul Rubin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25499 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 21:25:59 +00:00
Pavel Sanda
59553ea2c7 Finish server lfuns doxyfication.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25494 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 19:23:53 +00:00
Pavel Sanda
391c3234ff Removal of LFUN_SERVER_CHAR_AFTER.
This lfun do *nothing*.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25493 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 19:16:13 +00:00
Pavel Sanda
8823b29cd5 LFUN_SERVER_GET_NAME -> LFUN_SERVER_GET_FILENAME.
Make the naming unambiguous.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 19:09:06 +00:00
Pavel Sanda
41e45a8977 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25483 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 17:26:07 +00:00
Richard Heck
89695eb813 Fix bug 4976.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25481 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:48:36 +00:00
Pavel Sanda
12c72ac7fb Forgot to remove the files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25480 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:37:38 +00:00
Pavel Sanda
20b9e0ba93 Remove InsetEnvironment. This is unfinished decade old stuff.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141609.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25479 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:34:55 +00:00
Richard Heck
341e4480df Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25476 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 15:41:36 +00:00
Jürgen Spitzmüller
939bb2f20c * GraphicsUi.ui: re-save in qt designer 4.1 format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25473 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 10:17:48 +00:00