Commit Graph

19899 Commits

Author SHA1 Message Date
Richard Heck
c59c8ad9f0 Add assertion to check for memory leaks and remove the list when
we are done.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40535 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-21 15:08:21 +00:00
Richard Heck
fd07a7753c Backport fix for bug #7941 (Translation of theorem-like environment names fails if language and buffer encoding differ)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40514 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-17 21:07:02 +00:00
Jean-Marc Lasgouttes
dc1f50008f Backport r40372 in order to fix bug #7909
#7909: mark-on selection is lost during screen-down and screen-up


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40504 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-16 14:13:31 +00:00
Pavel Sanda
ee9699ce39 Backport fix for 7945.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40503 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-15 22:06:04 +00:00
Richard Heck
e9c9c8f45c Backport r40489.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40490 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 19:23:31 +00:00
Uwe Stöhr
d2eefdb889 tex2lyx/text.cpp: backport fixes from trunk (no status entry necessary)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40482 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-11 23:24:44 +00:00
Richard Heck
911606be66 Fix bug #7256. Reduce space around inset buttons by a pixel on each side.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40455 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 15:52:18 +00:00
Uwe Stöhr
d9788beac8 tex2lyx Preamble.cpp, text.cpp: fix #7845 also for spreadsheet template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40425 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 21:21:41 +00:00
Richard Heck
cbc62641e5 Fix bug #6293 as suggested there: We change the title of the PDF
options pane if hyperref is already provided.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40423 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 21:15:37 +00:00
Richard Heck
bcca9bb6b7 Fix bug #7921. We should not allow the user to save a file thereby
over-writing a file that is already open. So we issue a warning and
ask if they'd like to try a different name.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40421 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 20:45:35 +00:00
Richard Heck
a79aac7acf Improve output of XHTML comments.
(i)  Validate even for comments when outputting XHTML.
(ii) Output comments as divs hidden by default. Then people
     can display them other ways if they wish.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40401 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 20:46:40 +00:00
Uwe Stöhr
fd2ff50b69 tex2lyx: support for pdfpages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40370 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 01:12:41 +00:00
Georg Baum
159875f201 Mass backport tex2lyx bug fixes.
tex2lyx is no identical with the version in trunk (except for cosmetic changes
and file formats > 413).
The output of the test cases is either unchanged or improved.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40364 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-04 16:16:32 +00:00
Richard Heck
0b945c43ed Simple fix for #7673. We need to update the Buffer before we emit
the changed() signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40353 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 22:43:12 +00:00
Richard Heck
9f61659c00 Backport fix for #7872.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40335 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-02 21:30:40 +00:00
Richard Heck
fdd31a75a5 Fix crash when outputting XHTML. Not resetting the paragraphs
was an oversight here. (This was r40068 in trunk, but never got
to branch for some reason.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40330 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-02 19:19:16 +00:00
Jean-Marc Lasgouttes
d45fdbc3c6 Fix linking on Mac OS X when using autotools without the fancy mac build script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40322 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-30 11:19:57 +00:00
Richard Heck
6a2083cedf Backport fix for bug #7906.
Check the widgets after creating the dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40312 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 20:00:28 +00:00
Richard Heck
936cee5b9f Fix bug #7709. Seems we need to reset the source model here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40310 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:54:48 +00:00
Richard Heck
5d8a291767 Kill warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40308 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:45:32 +00:00
Richard Heck
d7799bb5cc Fix bug #7499. The problem here is that there was no way for the
inset to know that the BibTeX data had changed. So we introduce a
Buffer-wide variable that we can query for that information.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40307 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:45:27 +00:00
Richard Heck
b367640290 Backport fix for bug #7905. We don't want to move out of the inset unless
we've put something into it. (We also don't need to copy an empty string
into it.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40242 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-22 18:49:59 +00:00
Richard Heck
bd826dae67 New attempt to fix Pavel's crash, this modifies r40206.
The global list of cloned buffers was a bad idea. We don't have multiple
export threads, but we can have multiple autosave threads. So now we keep
more than one of these lists at the same time, and each cloned buffer has
a pointer to the relevant list. Note that this would make multiple export
possible, if we wanted to do that at some time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40229 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 18:56:36 +00:00
Richard Heck
2e21676cb2 Backport fix for bug #7873.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40213 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:37:03 +00:00
Richard Heck
f01103ec22 Backport fix for crash reported by Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40206 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 18:06:06 +00:00
Georg Baum
b6eb513d94 Fix bug #7895: Do not output lines with only a single space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-14 21:04:00 +00:00
Georg Baum
044565f535 Fix bug #7663: Misparsing of description \item with spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40183 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 10:43:30 +00:00
Georg Baum
b79cde1dfd Fix "stray '}' in text" warnings: When parsing with FLAG_ITEM the braces need
to occur in pairs.
If you change something in tex2lyx please don't commit without running the
tests and ensuring that no warnings or errors are written on stderr.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40178 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-12 18:43:13 +00:00
Uwe Stöhr
ec3b686f8e backporting tex2lyx:
- support for \makebox
- fix import of boxes without an inner box (the on-screen display was broken because of wrong default width setting)
- fix parsing of \framebox{content}, which LyX does not support yet - we have to use ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40157 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-07 21:57:49 +00:00
Georg Baum
f3a833ca7e Import optional argument of tabular (vertical alignment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40148 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 18:56:26 +00:00
Georg Baum
191b561026 Must not output anything between p.pushPosition() and p.popPosition().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40142 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 17:34:42 +00:00
Uwe Stöhr
14ee3de872 backporting tex2lyx: fix remaining part of bug #7846 (no status entry necessary)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40138 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 15:22:00 +00:00
Uwe Stöhr
2c0c8fc41f backporting tex2lyx: fix bug #7843
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40137 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 15:15:13 +00:00
Richard Heck
f78ada8345 Fix bug reported on user list: <title> not escaped.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40132 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-02 18:57:14 +00:00
Uwe Stöhr
120d030a89 backporting tex2lyx: fix bug #7863
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40109 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-31 01:58:58 +00:00
Enrico Forestieri
3f691d1f55 Fix bug #7800 (Lyx cannot create dvi with Russian)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40107 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 22:40:03 +00:00
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
Richard Heck
8416cc3307 Backport fix for #7764.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40098 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 19:48:17 +00:00
Uwe Stöhr
75ade33280 backporting tex2lyx: fix bug #7862
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40072 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 20:34:31 +00:00
Uwe Stöhr
38a6341d1c backporting tex2lyx: the support for subfloats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40070 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 20:26:50 +00:00
Uwe Stöhr
25ea525d9b backporting tex2lyx: the support for wrap floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40055 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-28 18:28:28 +00:00
Uwe Stöhr
57a0b232fd backporting tex2lyx: the support for \date{} in the preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40054 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-28 18:00:56 +00:00
Uwe Stöhr
62486d95e3 tex2lyx/preamble.cpp: prevent bug #7858 (that I accidentally introduced in r39988) and this way fix bug #7861 as side-effect
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40051 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-28 12:46:53 +00:00
Jürgen Spitzmüller
65ce2748eb Fix #7816: Edit->Table incorrectly activated inside index entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40046 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-28 06:33:39 +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
11e727b977 backporting tex2lyx: forgot this in r40036
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40038 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 13:17:40 +00:00
Uwe Stöhr
0041e6e301 backporting tex2lyx: updates testfile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40037 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 13:14:32 +00:00
Uwe Stöhr
5fc564c469 backporting tex2lyx: the support for rotated floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40036 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 13:13:43 +00:00
Uwe Stöhr
04eb1d59a2 backporting tex2lyx: the support for \href
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40033 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 12:49:29 +00:00
Uwe Stöhr
8472702349 backporting tex2lyx: some simplifications
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40032 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 12:43:07 +00:00
Stephan Witt
7de601b63e #7778 backport of fix in trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40026 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 09:05:55 +00:00
Uwe Stöhr
7439464374 backporting tex2lyx: the support for strike out and underlined (by Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40022 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 21:47:27 +00:00
Uwe Stöhr
0c684343a7 backporting tex2lyx: the example files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40021 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 21:43:08 +00:00
Vincent van Ravesteijn
84e3817673 branch: Fix bug #7793: LyX leaves behind autosave files
The LyX buffer is cloned before autosaving, but the unnamed_ member was not
copied. This causes the autosave files to end up in the wrong location and
consequently they were never removed afterwards.

see r40008.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40018 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 19:50:33 +00:00
Uwe Stöhr
af227ddd8b backport fix for bug #7851
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40017 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 19:32:33 +00:00
Richard Heck
a2705e1474 Backporting fix for #3821.
Allow insertStringAs* to reset the cursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40015 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 16:02:30 +00:00
Uwe Stöhr
9ed2296196 tex2lyx/text.cpp: fix 2 typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40011 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 13:37:11 +00:00
Vincent van Ravesteijn
93ba21cd5a branch: Make the scrolling for large insets more naturally (bug #7662)
The patch fixes a case that I had forgotten. Namely, the case that when the height of a row was larger than the height of the screen and that the cursor is already visible. That's why I added a new if case to catch all situations in which the row height is larger than the height of the screen. If we then need scrolling we scroll to height/4 and 3*height/4. In the end, the height_/4 and 3*height_/4 should be replaced by the rowheights in the inset, but we need some extra infrastructure for that.

see r39697.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40010 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 13:35:49 +00:00
Vincent van Ravesteijn
269e688857 branch: Fix bug #7662: Incorrect scrolling for rows with larger ascent.
- After introducing the displayed vertical alignment for tables, we met for the first time situations in which row.ascent is very large. To make sure the scrolling still works, we have to do the same as we did for rows with a large descent.
- change row.ascent into defaultRowHeight. Before the above mentioned change, row.ascent usually was approximately the same as defaultRowHeight (by chance). However, it is now clear we don't really want row.ascent here.

see r39486.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40009 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 13:35:47 +00:00
Uwe Stöhr
535867bb5f backporting tex2lyx: update the TODO file to what is already supported in branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40001 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 02:18:06 +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
Uwe Stöhr
fa641135d2 backporting tex2lyx: the \printnomenclature support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39997 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 01:47:47 +00:00
Uwe Stöhr
4f878f6892 backporting tex2lyx: the \rule support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39996 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 01:42:56 +00:00
Uwe Stöhr
b19cfd71ee backporting tex2lyx: the phantom support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39995 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 01:38:39 +00:00
Uwe Stöhr
3e9d409771 backporting tex2lyx: fix bug #7856
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39993 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 01:25:43 +00:00
Uwe Stöhr
b4e2effa3d backporting tex2lyx: the color support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39992 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 01:22:31 +00:00
Uwe Stöhr
1122af1e84 backporting tex2lyx: support for language packages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39988 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-25 23:36:57 +00:00
Uwe Stöhr
299ebef138 backporting tex2lyx: the font support (status entries follow at the end of the backporting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39981 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-25 22:56:55 +00:00
Uwe Stöhr
82e997fd5f backporting tex2lyx: the TeX testfiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39980 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-25 22:38:50 +00:00
Georg Baum
91fe97eca7 Adjust comment (thanks Jose)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39977 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-25 20:04:00 +00:00
Richard Heck
be2b9eb9eb Backport r39970--39971 to branch.
Fix display of section headings, etc, that include math in the TOC
and menus. The newline we were writing previously caused all kinds
of problems. Writing a whole array in some cases would also cause
problems. So we do less.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39972 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-25 18:56:58 +00:00
Uwe Stöhr
d98eb6e4f1 InsetBox.cpp: backport fix for bug #7849
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39969 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-25 17:59:24 +00:00
Enrico Forestieri
5b91832bc9 Fix bug #7835 (Relative paths are not supported by the TEXINPUTS prefix)
This restores \input@path handling, which turns out to be necessary, as
the TEXINPUTS mechanism is not used with relative paths. It turns out
that both methods must be used, because \input@path does not work in all
cases (most notably with tikz).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39931 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-23 03:32:37 +00:00
Georg Baum
13bca637e4 Update tex2lyx to produce the current 2.0.x file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39927 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-22 20:12:55 +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
Julien Rioux
fbdf373cda tex2lyx : More descriptive --help message and implement --version (#6827).
Also allow -h and -v command-line options, manpage update.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39887 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 14:53:01 +00:00
Jürgen Spitzmüller
c6dee6cfe0 Fix parsing of branch names with spaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39853 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 13:57:48 +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
1c56ffc10f Allow \nocite again with the basic citation engine (backport r39777).
Fix a bug introduced in r26547. Also reorders the entries for
natbib-numerical into a more natural, visually pleasing order.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39830 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-11 18:33:35 +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
Enrico Forestieri
8c51cd2ad0 Avoid unnecessary spaces with the Windows shell. No status line needed as
this is a correction to r39770. Essentially, the white space before '&'
becomes part of the TEXINPUTS variable, such that the last path element
is not empty but a space. This still works with miktex but upsets texlive.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39827 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-10 22:47:52 +00:00
Jürgen Spitzmüller
aa184ab645 Fix biber execution om MikTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39817 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-07 13:48:59 +00:00
Jürgen Spitzmüller
4bb8009f4b backport r39756: As for setMultiRow, check border status _before_ merging, thus fixing border allocation problems.
No status entry needed; this is a complementing change to r39755.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39800 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-05 12:57:04 +00:00
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