Commit Graph

14949 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
f1b242b62a branch: Fix a few peculiarities wrt graphics. E.g., an InsetGraphic? with a non-existing image showed the message that the image was loaded, instead of "No file found!".
* CacheItem::Impl::tryDisplayFormat


- Enhance description of the return value.
- Negate the return values to match the description.


* CacheItem::tryDisplayFormat


- Impl::tryDisplayFormat returns whether a conversion is needed, not whether the try was successful. Therefore, we should check the status as well.

see: http://www.lyx.org/trac/changeset/28754.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29021 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 19:41:00 +00:00
Vincent van Ravesteijn
264455562c branch: Preferences dialog fixes:
* accelerator clashes,
* missing accelerators, and
* strings (capitalization). 

see:
http://www.lyx.org/trac/changeset/28960

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29004 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 21:25:06 +00:00
Vincent van Ravesteijn
0f290b2783 branch: Fix bug 5435: DEPM doesn't function when leaving an inset
http://bugzilla.lyx.org/show_bug.cgi?id=5435
The code for this was already present, but was never reached.

see:
http://www.lyx.org/trac/changeset/28910

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29003 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 21:15:28 +00:00
Vincent van Ravesteijn
2bb22bd940 branch: Fix bug 5434: DEPM not executed for PgUp/PgDown?
http://bugzilla.lyx.org/show_bug.cgi?id=5434

see
http://www.lyx.org/trac/changeset/28909
http://www.lyx.org/trac/changeset/28927

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29001 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 21:05:15 +00:00
Vincent van Ravesteijn
7d78cc8d72 branch: Fix the bug that the view source window remained disabled forever when window got disabled while the autoUpdate checkbox was unchecked. Also, update the window when the autoUpdate checkbox was toggled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29000 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 20:49:46 +00:00
Pavel Sanda
d7cd83046b typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28997 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 21:57:58 +00:00
Pavel Sanda
36fa2dc1e7 Fix monolithic build.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28994 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 21:19:43 +00:00
Jürgen Spitzmüller
257b765df8 * ExternalUi.ui: layout fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28990 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 12:36:49 +00:00
Enrico Forestieri
4f2d5f39ee New simplified definition of \lyxmathsym and better re-import from latex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28989 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 11:29:31 +00:00
Jürgen Spitzmüller
d4a2f681b8 Fix bug 5863:
* beamer.layout:
* powerdot.layout:
	- those provide geometry

* BufferParams.cpp:
* GuiDocument.cpp:
	- implement provides("geometry")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28958 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:51:43 +00:00
Uwe Stöhr
3f1963ea40 LyXAction.cpp: fix documentation bug: add-vline-left/right is not allowed for the cases environments and we already correctly check this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28951 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 01:35:24 +00:00
Vincent van Ravesteijn
7e48a5cf5c branch: Fix bug 4441. GuiRef: Ok button must be default.
See also:
http://www.lyx.org/trac/changeset/28784
http://www.lyx.org/trac/changeset/28726
http://bugzilla.lyx.org/show_bug.cgi?id=5695


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28944 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:04:51 +00:00
Jürgen Spitzmüller
a26a9f6592 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28937 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 12:39:17 +00:00
Richard Heck
1cf1e65b63 Tooltips for InsetCitation (backported).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28935 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 12:17:25 +00:00
Jürgen Spitzmüller
b4a08eb307 Fix bug 5827 (validate date-insert argument):
* src/support/os*.{cpp,h}:
	- new function is_valid_strftime that validates strftime arguments, 
	  OS dependant (win32 differs here)

* src/Text3.cpp:
	- use is_valid_strftime in LFUN_DATE_INSERT status check.

* src/frontends/qt4/GuiPrefs.{cpp, h}:
	- new GUI validator for strftime.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28933 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:25:23 +00:00
Jürgen Spitzmüller
f3a89dad1a * PrefLanguage.ui:
* PrefPaths.ui:
	- fix some "buddies" (accelerators).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28929 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 10:14:59 +00:00
Richard Heck
f106307c47 Backport the fixes for bug 5872.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28923 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 17:39:11 +00:00
Jean-Marc Lasgouttes
be88703ad1 make the man pages autogenerated; update the tex2lyx man page
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28893 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 09:52:05 +00:00
Enrico Forestieri
82e5e90864 Fix a handful of dialog layouts for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28885 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 22:27:23 +00:00
Jürgen Spitzmüller
41de4ebc11 * GuiView.cpp (closeEvent):
- store child documents in session.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28873 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 09:19:14 +00:00
Jürgen Spitzmüller
4fb5e44811 Backport rev. 28280:
Author: spitz
Date: Sun Jan 25 18:04:57 2009
New Revision: 28280

URL: http://www.lyx.org/trac/changeset/28280
Log:
* GuiApplication.cpp:
        - use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
        - use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
        - rename to tabular-feature_m-[v]align-*.png:

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28872 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 09:08:22 +00:00
Enrico Forestieri
fb47d709ee Fix display of release date with Qt 4.2.
In Qt 4.2, QLocale::toString(QDate, ...) returns an invalid but not empty date
when QDate is invalid. So, check whether QDate is valid before conversion.
(status.16x is already updated)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28864 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 08:57:09 +00:00
Jean-Marc Lasgouttes
77a4103668 fix "make check" with gcc 4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 23:09:29 +00:00
Jean-Marc Lasgouttes
f9a4e1cc95 backport the tex2lyx unicode stuff from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:40:08 +00:00
Jean-Marc Lasgouttes
6dec0f3e0d read correctly InsetFlex which name contains a space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28857 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:21:25 +00:00
Jean-Marc Lasgouttes
dd658e6f84 remove useless checkbox for some tabular-feature functions in math arrays
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28855 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:39:17 +00:00
Jean-Marc Lasgouttes
9aa0e78047 do not compare char* strings directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28852 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:14:49 +00:00
Enrico Forestieri
c23a63478a Fixes for gcc4 on cygwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28848 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 11:52:26 +00:00
Vincent van Ravesteijn
f72455413f branch: move ColorSet to a header of its own to reduce #include dependencies. Patch by Andre.
see:
http://www.lyx.org/trac/changeset/28426.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28841 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 13:23:54 +00:00
Jürgen Spitzmüller
73709670e1 * VCBackend.cpp:
- some spelling and grammar fixes (a native EN speaker will have to double-check).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28838 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 11:07:17 +00:00
Vincent van Ravesteijn
1d8b2b595f branch: Disable the Edit->Math menu when not in math (bug 4218).
Introduce new LFUN_MATH_FONT_STYLE which takes one of the font styles as an argument. A dispatch is being redirected to math-insert.

see:
http://www.lyx.org/trac/changeset/28181.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28836 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 10:51:39 +00:00
Jürgen Spitzmüller
8d238def28 * InsetMathCases.cpp:
- fix string.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28834 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 10:46:21 +00:00
Vincent van Ravesteijn
b79355e6a3 branch: Allow users to specify toolbar icons for commands with a backslash. This is in the same style as the replacements made for math-insert commands.
See the user's list:
http://thread.gmane.org/gmane.editors.lyx.general/52712


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28833 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 10:23:06 +00:00
Jürgen Spitzmüller
3229618c20 * Fix encoding problem following a Listing (bug 5783).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28831 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 09:26:37 +00:00
Jürgen Spitzmüller
67af233115 * LaTeX.cpp:
- perform extra LaTeX run when requested by lettre.cls (bug 5818).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28829 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 05:11:24 +00:00
Uwe Stöhr
7b12d8bbb6 - InsetMathCases.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=4141 for branch
- status.16x: some updates and whitespace fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28827 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 00:38:23 +00:00
Richard Heck
36e72cd094 Fix bug 5782 in branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 20:19:51 +00:00
Pavel Sanda
42de81d76f * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28822 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 19:50:50 +00:00
Richard Heck
a84580306e Backport r28340.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28820 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 19:31:12 +00:00
Pavel Sanda
f6ad811535 Backport jump-back button
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147979.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28819 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 19:14:38 +00:00
Pavel Sanda
d735335c88 Backport r28752
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 18:44:51 +00:00
Pavel Sanda
e211a71471 Backport svn locking
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147723.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28817 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 18:30:53 +00:00
Richard Heck
a540263da9 Backport r28366-7, approved a long time ago and since held.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28809 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 21:26:14 +00:00
Richard Heck
5b185f8683 Squash a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28808 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 21:25:35 +00:00
Vincent van Ravesteijn
21d90e18d1 branch: Fix bug 5819: Close button of tabbar closes wrong document
http://bugzilla.lyx.org/show_bug.cgi?id=5819.

If no call to setCurrentIndex is made, we should make sure ourselves that the currentWorkArea switches to the clicked TabWorkArea.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28806 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 17:26:48 +00:00
Vincent van Ravesteijn
a5381101e3 branch: Fix bug 5848: Do not create a new file after 'new from template..' and cancel.
see:
http://www.lyx.org/trac/changeset/28029


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28805 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 17:15:57 +00:00
Vincent van Ravesteijn
d8c3c6519d branch: Fix bug 5695: Default button must be "OK"
http://bugzilla.lyx.org/show_bug.cgi?id=5695

Fix for GuiHyperlink and GuiInclude.

see:
http://www.lyx.org/trac/changeset/28726
http://www.lyx.org/trac/changeset/28784

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28804 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 17:05:11 +00:00
Uwe Stöhr
5c9e3284e9 preamble.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5846 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28801 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 16:44:07 +00:00
Jürgen Spitzmüller
5e387ecdb5 please Lars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28798 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 15:50:40 +00:00
Enrico Forestieri
64aa11b124 Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
Japanese char between math insets becomes wrong in TeX output


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 14:08:09 +00:00