Commit Graph

15681 Commits

Author SHA1 Message Date
Enrico Forestieri
6c7cbfa7a1 Don't write a \bibtex_command to the preferences file if not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 00:25:40 +00:00
Enrico Forestieri
c0127e8ede Fix the bogus "bibtex" option for the bibtex command in preferences.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29870 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:24:05 +00:00
Enrico Forestieri
852dfe3869 Fix writing of \bibtex_alternatives and \index_alternatives to the
preferences file. Now the alternatives are only written if they have
actually been changed, and not always as it was before. Existing
preferences files will be automatically trimmed on next save.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29869 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:21:33 +00:00
Jean-Marc Lasgouttes
81a176818d grammar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29866 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 15:51:56 +00:00
Enrico Forestieri
4d5f50bee2 This is a bit more descriptive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29864 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 10:26:17 +00:00
Vincent van Ravesteijn
25f946f19d Remove black box around GuiWorkarea? which is visible with Qt4.5.
Now also when returning from full-screen mode.

see r28747.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 22:37:14 +00:00
Enrico Forestieri
fe82ab8c5d Fix PrintNomenclUi.ui as uic 4.2.3 says it is not valid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 22:02:51 +00:00
André Pönitz
d5e1b377d3 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:52:57 +00:00
André Pönitz
e582d149d4 Introduce an option to keep the menubar visible in full screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:41:45 +00:00
Enrico Forestieri
5fb0ed491c Account for the weird case where p2 is longer than p1, such as p1 == "path"
and p2 == "Path/". This would be really weird, but one never knows...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29855 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 18:27:29 +00:00
Enrico Forestieri
b3fe7330de Don try to be smart and always protect the preamble with \makeatletter
and \makeatother if it is not empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29853 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 17:38:27 +00:00
André Pönitz
e5b3cdf650 constify GuiPrintNomencl::isValid()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29852 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 16:19:03 +00:00
Enrico Forestieri
b7515068f8 As a safety measure, enclose the preamble in the \makeatletter and \makeatother
pair also when an external file is included.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29851 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 00:58:36 +00:00
Uwe Stöhr
39c96ebb75 InsetMathFrac.cpp: fix the regression now completely
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29849 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 22:46:51 +00:00
Uwe Stöhr
e83c2032ac InsetMathFrac.cpp: fix regression reported here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151588.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29847 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 22:42:22 +00:00
Enrico Forestieri
70351330a0 Another tweak to account for when both paths end with '/'.
The problem here is making sure that path_prefix_is() behaves exactly
as would a case insensitive prefixIs(). Anyway, this is still better
than trying to fix the semantics of common_path().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29846 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 18:37:03 +00:00
Enrico Forestieri
2fb21c28b5 Simpler things are almost always better.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29843 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 17:30:02 +00:00
Jürgen Spitzmüller
c3d457a143 "cheaper" include.
Thanks, André.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29842 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 16:11:28 +00:00
Jürgen Spitzmüller
1d494512fc empty file format change due to r29840.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29841 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 08:27:12 +00:00
Jürgen Spitzmüller
322eb96219 * Allow manual setting of bibliography indendation
that overrides bibitemWidest (bug 5960).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29840 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 08:13:56 +00:00
Jürgen Spitzmüller
e38ca152a4 * paragraph_funcs.{cpp,h}:
- new member setLabelWidthStringToSequence

* Text2.cpp (setParagraphs):
	- use that.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29839 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 07:52:55 +00:00
Enrico Forestieri
eb9151060d Account for the corner case p2.length() == 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29838 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 00:23:44 +00:00
Enrico Forestieri
e2c763d9f6 Avoid a string copy and a small tweak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29837 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-24 21:09:41 +00:00
Enrico Forestieri
00a62b7c0a Fix reverse search when the View Source window is active.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29834 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-24 01:38:33 +00:00
Uwe Stöhr
97c9ef7184 InsetNomencl.cpp: remove the check to not undergo the predefined label width as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29833 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 14:39:30 +00:00
Enrico Forestieri
32b3f8ca27 Add explicative comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29827 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:51:23 +00:00
Enrico Forestieri
ea3484337f Remove unneeded include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29826 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:28:41 +00:00
Enrico Forestieri
7ae4f6ac6f Avoid calling prefixIs() if not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:16:13 +00:00
Enrico Forestieri
d1ebeea288 This was not needed, as the case is already adjusted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29823 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:13:32 +00:00
Pavel Sanda
3d475e5b44 Leftover
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29822 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 12:52:23 +00:00
Pavel Sanda
b7ca24d637 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:48:30 +00:00
Pavel Sanda
99da022d51 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29817 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:48:22 +00:00
Pavel Sanda
a2b1d2bed9 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29816 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:52 +00:00
Pavel Sanda
46ef6b0e48 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:50 +00:00
Pavel Sanda
3389ded11b Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:47 +00:00
Pavel Sanda
884c682a27 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29813 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:15:24 +00:00
Pavel Sanda
950522d95a Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29812 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:15:18 +00:00
Pavel Sanda
666bf1a261 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29811 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:47:20 +00:00
Pavel Sanda
079ef62651 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29810 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:40:44 +00:00
Pavel Sanda
db0d8a1131 Another camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29809 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:28:33 +00:00
Pavel Sanda
adbc064959 Camelize another slot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29808 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:06:50 +00:00
Jürgen Spitzmüller
660ce9aab6 stickToCodingConventions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 08:01:38 +00:00
Jürgen Spitzmüller
0227cef5bd * GuiParagraph.{cpp, h}:
- fix enabling/disabling of "Longest Label" widget.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29806 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 07:45:46 +00:00
Jürgen Spitzmüller
caf8a509fa InsetBibitem.cpp: fix bibitemWidest.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29805 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 05:59:44 +00:00
Jürgen Spitzmüller
e4f95b890c We cannot access theFontMetrics in command line mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29804 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 05:47:40 +00:00
Jürgen Spitzmüller
4136ee80db GuiPrintNomencl: More descriptive UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29803 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 05:30:01 +00:00
Uwe Stöhr
42715a37f0 InsetNomencl.cpp: remove hardcoded symbol width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 23:23:09 +00:00
Enrico Forestieri
6d1d27eb90 Take into account file system case sensitivity when checking whether
a path starts with a given prefix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29793 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 22:34:43 +00:00
Pavel Sanda
64d96bc099 Please Juergen wrt #5307
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29791 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 21:35:18 +00:00
Jürgen Spitzmüller
0e69c68f71 Tooltip and label changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29786 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:52:20 +00:00