Commit Graph

19653 Commits

Author SHA1 Message Date
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
Tommaso Cucinotta
63ee0ee962 Fix #7549, due to a problem in exporting to plaintext a
multicell inset, where we now export all of the cells
separated by "\t", instead of only the first cell.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38713 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 19:07:01 +00:00
Richard Heck
53e99dced5 Fix multirow output for XHTML, now for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38707 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 14:26:48 +00:00
Richard Heck
691107bb7a Backport fix for bug #7547.
We need to check whether we are in a multirow here.
Otherwise, we were asking to construct strings of random size at a
certain point, e.g., two 2GB strings, in one case I saw.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38705 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 14:14:09 +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
Richard Heck
d16b6c2d31 Fix bug #7319 for branch.
This is a more conservative fix then for trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38685 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 00:19:16 +00:00
Richard Heck
cd49b3d5e2 Fix for bug #7319. This is an attempt to fix the bug cheaply.
We clear the refernce cache so that we won't get conflicts with labels
that get pasted into the buffer. We should update this before its being
empty matters. If not (i.e., if we encounter bugs), then this should
instead be:
  cur.buffer().updateBuffer();
But we'll try the cheaper solution in trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38684 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 00:16:45 +00:00
Richard Heck
3649716644 We need to do the update here simply because of the inset deletion.
It must have been wrong before the updateBuffer() refactoring, too.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38677 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 21:51:45 +00:00
Georg Baum
16c6442951 Partial fox for bug #6622: Display \utilde and \undertilde on screen correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38675 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 19:21:46 +00:00
Georg Baum
c41f48411a Fix bug #7511 by moving the old label instead of creating a new one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38671 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 18:56:51 +00:00
Richard Heck
1a724c2c3c Fix crash reported by John Kennan.
We are missing the updateBuffer() call when we go through
mouseEventDispatch(). A consequence of the massive updateBuffer()
refactoring. Wish it had been caught before...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38669 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 18:23:54 +00:00
Edwin Leuven
f01741433d backport r38655
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38658 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 15:21:36 +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