Commit Graph

7350 Commits

Author SHA1 Message Date
Richard Heck
61e539a488 Backport fix for #7764: Sort the file lists under
Document>Settings>Output.

It turns out that we always want this list to be sorted when we get it,
so we can sort it in BufferParams rather than in three different places.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40102 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 20:07:46 +00:00
Vincent van Ravesteijn
3c8f3c934d branch: Fix a crash in adv F&R when a manual could not be loaded
see r40027.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40039 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 13:58:53 +00:00
Uwe Stöhr
dd87ea4a99 backport bug #7853
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40000 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 02:03:33 +00:00
Pavel Sanda
3a10b238e3 Backport string to branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39905 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-21 13:25:33 +00:00
Uwe Stöhr
9115fb222f PrefLanguageUi.ui: this string was forgotten in r39609
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39847 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 04:17:38 +00:00
Julien Rioux
e2a82f44bd Fix the tab ordering of PrefsUi and GuiDocument Ui components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39829 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-11 18:22:06 +00:00
Julien Rioux
80ba75d0b1 Don't allow newline characters in document settings and preferences (#5840).
Set a validator on QLineEdit widgets. The validator removes any
\n and \r characters, thus preventing users from copy-pasting
newline characters into these fields, and subsequently saving
them, inadvertantly, to their lyx file or preferences file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39828 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-11 17:57:33 +00:00
Julien Rioux
85b53b183b Mark settings as changed when the Nomenclature line is edited (backport r39663).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39719 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 18:42:40 +00:00
Julien Rioux
8bc200adc9 Fix the tab ordering of GuiPrefs components (backport r39662).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39718 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 18:40:45 +00:00
Richard Heck
b3cd6747eb Better label for index list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39683 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-15 21:49:20 +00:00
Richard Heck
cd3bb52229 Implement GuiNomenclature::initialiseParams(), thus restoring the
ability to take the symbol from an explicit or implicit selection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39653 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 14:16:36 +00:00
Enrico Forestieri
beb6d505de Limit fix for bug #6063 to math insets and only when inline completion
is disabled in math. This is a backport of r39337.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39627 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 07:57:14 +00:00
Uwe Stöhr
0b420baecd LanguageUi.ui: use a more precise tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39609 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 02:50:03 +00:00
Tommaso Cucinotta
df5709208a Fix recursive repaint problem.
Backporting r39535. See also:
- http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170468.html.
- Bug #7503
- Bug #7173


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39604 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 22:27:39 +00:00
Richard Heck
74f0c22cbb Remove xml line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39603 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 20:04:11 +00:00
Richard Heck
08f6667a60 Fix tab order and shortcuts for crossref dialog (#7576).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39600 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:27:10 +00:00
Richard Heck
9fb818dd0c Backport fix for #7593 to branch.
=====

Original log:

Fix problem first reported by Diego: If you try to view a child document,
the macros declared in the parent do not work. This is because we were
cloning only the child, which then didn't have a parent.

The solution is to clone the whole structure, starting with the master
document. As a side effect, we only clone each child once.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39599 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:25:15 +00:00
Richard Heck
35f1ce3ebe Port fix for #7708 to branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39597 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:04:36 +00:00
Richard Heck
b9955190bd Backport fix for bug #7751: Sort the modules and formats by translated string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39596 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 18:58:56 +00:00
Stephan Witt
91eb9c8c68 Backport of r39360, r39361 and r39363:
- move spellchecker backend change action to actOnUpdatedPrefs where it belongs to
- add missing action for change of spellchecker_accept_compound preference
- care for a change of accept_compound and reconfigure the aspell backend accordingly
- only aspell is using spellchecker_accept_compound rc variable


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39471 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-11 11:25:01 +00:00
Uwe Stöhr
b856e2606c GuiPrefs.cpp, InsetExternal.cpp: revert unintended changes from r39461 (sorry)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39462 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-10 02:56:56 +00:00
Uwe Stöhr
9c4abdf137 also for branch: new export flavor "DVILUATEX", fixes bug #7713, patch from Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39461 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-10 02:49:30 +00:00
Richard Heck
809beacb5a Apparently, we are not supposed to be using QComboBox::textChanged
anymore, but instead QComboBox::editTextChanged.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39444 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-08 18:30:43 +00:00
Richard Heck
c0acc25353 Fix bug #7714 by sorting the formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39437 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-08 14:21:13 +00:00
Tommaso Cucinotta
f24d460bf6 Size tab now enables and disables correctly depending on the capabilities configured for the current external template (selected via the combo).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39400 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-31 18:43:12 +00:00
Stephan Witt
ed140e7343 backport fix for #7661 to branch - check buffer of cursors before using compare operator - avoid assertion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39245 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-04 18:39:25 +00:00
Richard Heck
97c01e63e2 Restore fix for #1751, now that it works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39060 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 11:45:23 +00:00
Richard Heck
00f0562003 Revert r38746. See http://marc.info/?t=130769382200004&r=1&w=2
for discussion of why. It looks as if something is weird with the
way Qt is handling the environment, at least on some platforms and
with some versions. Here, on F14, with Qt 4.7.x, simply getting and
setting the environment, without changing it, causes scripts such as
epstopdf to fail to start.

The problem is still in trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39039 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 13:39:39 +00:00
Richard Heck
6ae9caf6b2 Fix bug #7622. We have to show the error list after we set the buffer,
because that is what creates the GuiDelegate.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38987 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 13:07:03 +00:00
Richard Heck
50fc0ea9bb Fix problem with static error list.
It's amazing we haven't seen problems with this before. The basic problem is that buf.errorList("whatever") would always return the same global, static error list, if it did not already exist. So, to a significant extent, there was only one global error list!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38982 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 00:44:55 +00:00
Richard Heck
37688a02a2 Update status when bullet size is changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38946 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-04 12:52:32 +00:00
Richard Heck
387ad00b61 Fix bug #7540. Patch based upon one added to bug report by Max Funk.
Basically, patch adds routine that calcuates relative paths to parent
rather than child directories.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38917 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-01 13:19:52 +00:00
Pavel Sanda
4e20d4473f Backport fix for #7598.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38904 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 20:08:36 +00:00
Richard Heck
b0383db03f Fix string format to match others in this file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38885 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-29 13:43:37 +00:00
Richard Heck
aaa302caf1 Backport fix for bug #7572.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38861 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-27 20:40:43 +00:00
Tommaso Cucinotta
b7532cd3b3 Use the main document's buffer(), when scanning for citations from within the citation dialog.
> This allows to pick and search for citations present in the main document.
>
> This was started to be discussed in a relatively unrelated bug #7581, then the patch
> was proposed here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169277.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38849 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-27 06:05:14 +00:00
Enrico Forestieri
0fcd94beec When compiling with MSVC on Windows, we can't rely on the returned timestamp
being -1 if a pdf file doesn't exist.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38848 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 19:10:12 +00:00
Tommaso Cucinotta
8de9932b7c (Replaying r38819 from trunk)
Addressing #7581: now I'm copying the document class as well
from the main document WA to the find/replace WAs (in addition
to the language, as required for addressing #6560).
I'm not cloning the whole BufferParams? because we learned
from

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

that, for example, if we inherit the default master by mistake,
then we may run into problems.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38845 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 16:54:51 +00:00
Julien Rioux
a7d8f6b4bf Fix bug #7543: Default Output in Preferences
does not contain all the possible options.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38831 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-24 17:26:56 +00:00
Stephan Witt
4016d0b7a7 #7564 make the move forward to next match after text replacement optional and suppress it when replace a word by selected suggestion; move the text cursor to the end of the word after replace of the misspelled with suggested text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38790 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 19:11:01 +00:00
Uwe Stöhr
d7e88ea7e0 revert r38758 as discussed in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169087.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38767 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-15 17:14:31 +00:00
Uwe Stöhr
9eb6b3b8ac backport CMake efforts to branch to be able to compile LyX 2.0.x the same way as trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38758 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 21:35:36 +00:00
Enrico Forestieri
e4c2d74d56 Fix bug #7557 (TeX engine cannot be switched on Windows)
As a by-product, make actOnUpdatedPrefs() actually act on updated preferences.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38747 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 23:39:44 +00:00
Enrico Forestieri
b3a983c66f Backport the TEXINPUTS prefix feature. This should also fix bug #1751.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38746 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 23:14:46 +00:00
Richard Heck
d7ed0882ea Backport r38743-4. This is cleanup, prior to serious work on Buffer::clone().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38745 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 22:39:21 +00:00
Richard Heck
0ecdd259d9 Fix bugs #7110 and #7160 by reverting r36521.
This was an attempt to fix #2743 without re-working the InsetBibitem
mess. It didn't work, so we have to do that.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38703 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 12:59:39 +00:00
Tommaso Cucinotta
a00e9f4061 Still addressing #6560: instead of cloning the BufferParams, which might cause
a number of unforeseen issues (like the inheritance of the default master, as
pointed out in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg168225.html),
now we simply set the language into the search & replace buffers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38648 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 01:24:16 +00:00
Pavel Sanda
371c42d45e Fix #7479
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38469 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 20:52:53 +00:00
Tommaso Cucinotta
bfc98a4faa Avoid useless double dispatch of cmd to same buffer (if bv and doc_bv are the same).
This also fixes #7442.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38383 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-14 21:39:47 +00:00
Peter Kümmel
697ffd35d8 #7452, no spellcheck menu needed when no text is below cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38369 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 18:54:58 +00:00