Commit Graph

19765 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
336e0ea9f5 backport r39757:
* Fix merging of cells (multicolumn, multirow) when the first cell in the selection is already a multi-cell (bug #7792).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39793 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-01 07:24:17 +00:00
Enrico Forestieri
fe65104a7c Fix bug #7796 (LyX creates file on startup that cannot be deleted)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39781 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-28 07:04:29 +00:00
Enrico Forestieri
9c5a8a5baa Manage the setting of the latex environment for Systemcall and ForkedCall
in a central place. This is a backport of r39754 and r39758-r39762.
No status line needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39770 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-26 17:14:24 +00:00
Jürgen Spitzmüller
4619ec4637 Fix bottom border allocation when setting a multirow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39755 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-25 06:36:58 +00:00
Enrico Forestieri
864cbd5422 Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39750 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-24 18:08:57 +00:00
Enrico Forestieri
477d0ee0a6 Also set TEXINPUTS when launching ForkedCall processes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39748 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-24 17:56:06 +00:00
Jürgen Spitzmüller
7a27682192 * InsetTabular.cpp: fix logic of multirow top/bottom line output (bug #7578)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39734 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-23 13:07:00 +00:00
Jürgen Spitzmüller
6c27ed49fa backport r39696
Timestamp: 
09/17/11 17:25:14 (5 days ago) 
Author: 
spitz 
Message: 
finally commit the fix for #7607.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39729 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-22 07:49:25 +00:00
Enrico Forestieri
9f1a845234 When changing the document language, also change the language of the
text which is not explicitly marked in a different language, irrespective
of the multilingual status, except for LTR<=>RTL changes.
See discussion in this thread:
http://thread.gmane.org/gmane.editors.lyx.devel/138380


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39721 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-21 15:48:51 +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
Enrico Forestieri
cd4684bd65 Fix bug #7621 (Images are not displayed if path of temp folder contains accented characters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39701 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-18 19:57:25 +00:00
Richard Heck
042454a101 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39684 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-15 22:04:59 +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
e6101f9807 Get default font color and background color working for XHTML export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39680 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-15 21:38:05 +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
Richard Heck
b5c46118ca Backport fix for bug #7721.
We don't need to do anything here other than output our paragraphs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39635 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 22:28:34 +00:00
Enrico Forestieri
dcbce9fe98 Make InsetInfo output a path matching the LaTeX compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39631 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 21:41:00 +00:00
Enrico Forestieri
0be0ab820c Fix compile error with gcc 4.5.3 when using the included mythes library:
../../src/support/mythes/mythes.hxx:25:9: error: `FILE' does not name a type
../../src/support/mythes/mythes.hxx:55:22: error: `FILE' has not been declared


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39630 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 21:37:25 +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
Jürgen Spitzmüller
0365a2208c Backport r39537:
Author: spitz
	Date: Sat Aug 27 12:58:48 2011
	New Revision: 39537
	URL: http://www.lyx.org/trac/changeset/39537

Log:
Disable space types that are not supported in mathed (for these, a thinspace was inserted as a fallback).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39619 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 17:37:49 +00:00
Jürgen Spitzmüller
4ee140bf5b Fix Horizontal Space dialog when issued from within math (bug 7746).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39615 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 06:42:18 +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
3c6ed27517 Fix #7594 for branch.
=====

Original log:

Fix bug reported on user list. Children included more than once in
the same document could not be rendered.

Problem was that we were using children_positions to deal with the
included documents. That structure only includes each child once.
We need to use position_to_children, instead.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39602 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:41:23 +00:00
Richard Heck
7fe931ea93 Backport fix for bug #7360. Patch from Nemah, posted to bug report.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39601 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:29:49 +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
8c529c99c2 Backport various parts of the fix for #7655. This include r39211, r39250, and r39251.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39598 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:09:14 +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
d111a220e1 #7681 adjust the cursor language after document language change had changed the text language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39595 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 18:46:46 +00:00
Stephan Witt
fd2a6bb3da #7740 Add undo for change of text language with LFUN_BUFFER_LANGUAGE
When a document is not multi-lingual the text contents is changed
to the new language. This should be recorded for Undo.
Because Undo wants a cursor the implemantation has to be
moved to the BufferView class.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39594 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 18:41:39 +00:00
Pavel Sanda
8a482a99de Backport fix for #7720.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39591 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 18:06:58 +00:00
Enrico Forestieri
ef710e618f Fix bug #6170 (Latex Compiler error when lyx file is located in a path which contains a "#")
This removes \input@path handling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39568 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-30 00:13:29 +00:00
Enrico Forestieri
e28c6f4d95 Allow batch files with QProcess.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39566 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 22:15:24 +00:00
Enrico Forestieri
e5ed5575e7 Protect against autorun commands on Windows. No status line needed as this
is an addendum to r39514.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39552 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 18:44:53 +00:00
Tommaso Cucinotta
ee96d30955 Fixed longstanding bug in Advanced Find&Replace, when dealing with documents containing braces.
Corresponding test-case needed a fix as well and now it is passed.
Copying r39518 from trunk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39521 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-25 19:31:48 +00:00
Enrico Forestieri
ce74af9ec0 Fix #7715 (Lyx 2.0.0 doesn't work with Mathematica 8: call to 'math' problem?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39514 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 18:51:41 +00:00
Stephan Witt
2961d29cd3 Backport of r39362 and r39395:
- report failures on add-to-session with LYXERR (aspell)
- with aspell backend split words on hard hyphens to check parts separately
  because hyphen is not allowed to be part of a word - neither in regular
  nor in personal dictionary


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39477 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-12 07:19:03 +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
Enrico Forestieri
979f2da84d Fix bug #253 (Incorrect protection of closing quotation marks)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39427 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-05 21:33:09 +00:00
Richard Heck
5ccbda0e66 Fix bug #7535 by adding a bounds check. There is still a problem here,
though, which will surface somewhere. See the bug.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39422 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-05 16:10:46 +00:00
Enrico Forestieri
00d4b6c735 When previewing a format, change to the directory of the previewed file
and invoke the previewer with only its filename without the path.
This solves the problem about forward search on Windows reported here:
http://thread.gmane.org/gmane.editors.lyx.general/71130


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39413 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-02 21:50:00 +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
John C. McCabe-Dansted
6a60ef8ab4 Backport r39333 to fix bug #7467: PATH_MAX related build failure on GNU/Hurd.
(Patch from Pino, adapted for trunk by Sven)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39342 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-19 04:14:09 +00:00
Richard Heck
fda8c46cfb Revert r39330.
This reverts commit 6003924601add454110db97b68974834cad7c4c9.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39338 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-18 13:53:54 +00:00
Richard Heck
966eaec1c2 Add check for recursive includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39330 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-16 13:50:06 +00:00
Richard Heck
c45d7b69bc Fix bug #7682 for branch. Problem was that we were finding the children
using the BufferList, which knows nothing about clones.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39329 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-16 13:50:02 +00:00
Richard Heck
5f1008a4eb Fix bug with output of prettyref chapter references.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39289 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-13 15:19:38 +00:00
Tommaso Cucinotta
604b07c4d1 After replacing with multi-cell contents inside maths, now advanced find and replace leaves the cursor after the inserted material.
Addressing #7675.
Added accompanying regression test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39282 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-12 15:58:53 +00:00
Richard Heck
df59642018 Fix bug #7656.
I don't think we need to record anything yet, since we are not changing
anything here. The dialog will call a new LFUN to do the change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39254 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-07 19:52:03 +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
692ae99588 Fix bug #7664 for branch. Forgot to deal with included files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39243 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-03 22:50:50 +00:00
Pavel Sanda
6df25e08c2 Backport missing implementation of revision info for RCS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39238 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-03 01:19:24 +00:00
Richard Heck
6309880297 Add a sanity check to prevent the crash noted in #7654.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39213 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-29 14:24:48 +00:00
Richard Heck
22db387d08 Backport fix for #7463 to branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39210 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-29 13:32:28 +00:00
Enrico Forestieri
9af953f349 Fix bug #7645 (stream encoding not properly reset after a float)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 20:48:02 +00:00
Richard Heck
502aebe800 Fix bug #7640: Importing underlined text fails in LyX 2.0
Just recognize \uline as a synonym or \underbar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39183 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 15:35:04 +00:00
Richard Heck
66920e5b1a Fix bug #7634. Make sure we clear the tag deque if we are keeping
empty paragraphs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39153 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 16:10:21 +00:00
Richard Heck
0de72fc38c Fix problem with bibliography indentation reported on user list.
Porting to branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39150 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 15:21:36 +00:00
Tommaso Cucinotta
1141dc23c9 Backporting various fixes in Advanced Find and Replace:
- Now the cursor is visible while at the rightmost part of a regexp inset.
- Now a regexp inset with a \backslash or braces is previewed correctly.
- Disabled possibility to type macros in regexp-mode.
- Now backslash-prefixed regexps like "\s", "\d", etc., are all understood by Advanced F&R.
- Now Adv. F&R correctly interprets escape sequences within regexp insets, e.g., \\ or \(,
  for finding characters with a special meaning in regular expression context (\^()[]).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39136 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-19 19:46:59 +00:00
Richard Heck
ad56a9914c Restore fix for #7517.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39090 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:22:43 +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
b0056c6554 Fix bug #7629. Problem was I only reverted part of a previous fix
that broke the string freeze.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 11:45:18 +00:00
Pavel Sanda
4df6ae89f6 Backport r39040 (pkgconfig to configure hunspell).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39041 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 14:37:26 +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
93577c5a5b Revert r39007 and r38983, since these broke the string freeze. I'll recommit for 2.0.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39020 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 18:01:53 +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
4585ff0f9d Fix stupid duplicate from r38981.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38986 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 13:05:39 +00:00
Richard Heck
7b4a9b95e3 Fix bug #7517. This restores some code removed when we started adding basic layouts we didn't recognize.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38983 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 00:53:19 +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
fe15a8f2a5 Potential fix for #7591.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38876 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-28 14:36:50 +00:00
Tommaso Cucinotta
de79527b20 Backporting r38863.
Fixed bug in matching at borders within *-environments with ignore-format off.
(related to #7596)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38869 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-27 22:11:07 +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
63e5421f22 (replaying r38846 from trunk)
Bugfix in how the search buffer was exported for the Advanced Find & Replace.
For example, before this footnotes were not correctly found.
Added also accompanying regression test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38850 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-27 06:15:50 +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
Tommaso Cucinotta
82ba1e2437 Now advanced find and replace doesn't ignore white spaces while matching with ignore format.
This fixes #7584.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38840 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 13:53:37 +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
Jürgen Spitzmüller
d9dd377635 * BufferParams.cpp: font name can be non-ASCII! (bug #7569).
* status.20x: unifiy "bug #X"/"bug X"/"# X"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38829 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-24 06:22:55 +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
8b9cf6dbfe Make sure we do not crash here in release mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38721 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 13:32:19 +00:00
Richard Heck
b66cf487ed Fix XHTML output for fractions and fix a crash reported on the list
by Jan Paul Imhoff. The problem was that we were assuming (as we still
do in some places) that there are always at least two cells.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38718 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 13:19:18 +00:00
Tommaso Cucinotta
0d9494ae06 Fixing positioning of cells in multi-row align environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38715 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 19:48:42 +00:00