Commit Graph

500 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
3a53a52b1c Fix bug #7914: Freeze on docbook export of lists and bibliography
The LATEX_LIST_ENVIRONMENT and LATEX_BIB_ENVIRONMENT type paragraphs are
not yet implemented in DocBook export. However, we need to actively skip
these paragraphs in order not to end up in an endless loop.

(cherry picked from commit fa9bd04ea4)
2012-05-02 18:27:13 +02:00
Vincent van Ravesteijn
2e771bf78d Fix bug #8089: Handle spaces at the end of the stream
If the stream is good (i.e. there are still tokens) and we expect an
argument, we call getArg(). However, if there are only spaces, the stream
suddenly isn't good anymore after 'skipSpaces' and we would get an error
when calling 'getChar'. Therefore we have to check whether the stream is
still good.

MathParser: Do not rewind the stream if we can't read from it

If the stream is not good, we don't need to 'putback', because we didn't
read anything yet. If we now do rewind the stream, we are asking for
problems as in bug #8089.

This was introduced in [3cafb856\lyxgit] to fix bug #4318.

(cherry picked from commit 26dcfcd343)
(cherry picked from commit 1ef930c058)
2012-05-02 18:24:24 +02:00
Richard Heck
f79fd6013e More re-ordering, again mostly to test emails. 2012-05-02 11:28:15 -04:00
Richard Heck
f1c4a8fd03 Re-order status.20x, again. 2012-05-02 10:57:15 -04:00
Richard Heck
4b6ddefcaa Introduce LyXHTML section in status.20x 2012-05-02 10:54:22 -04:00
Vincent van Ravesteijn
39f06f37c3 Fix bug #7518: Assert when selecting in RTL text
If we are in rtl text, we *need* to check whether the first character is a
space. We can't use the rtl variable for this because this is only
computed on the last row.

This bug was introduced in [0a137e31/lyxgit] to fix the computation for
freespacing paragraphs. We better can just check whether the paragraph is
freespacing or not.

(cherry picked from commit d7f68078cf)
2012-05-01 11:45:58 +02:00
Vincent van Ravesteijn
0665673d03 Fix bug #8078: Assertions in xhtml output on Windows
(cherry picked from commit 3c0e3c16c8)
2012-05-01 11:42:52 +02:00
Enrico Forestieri
124bc762a7 Fix bug #8140: Crash with math macros and input completion
When clicking away in the same math inset after hitting '\', the
cursor may be broken and all of its instances have to be fixed.

(cherry picked from commit 9825621798)
2012-05-01 01:01:03 +02:00
Richard Heck
4296e47d28 Re-order status.20x a bit more. 2012-04-30 18:08:33 -04:00
Richard Heck
384ba91d5c OK, one more try here. Re-order a bit more. 2012-04-30 17:55:10 -04:00
Richard Heck
d831a451d1 OK, re-order a bit more. Last try with the email stuff for now. 2012-04-30 17:53:39 -04:00
Richard Heck
6cfbc51039 Re-order a bit. 2012-04-30 17:51:17 -04:00
Richard Heck
1b23d6ada8 Another small test. Sorry for all of these. I'm trying to get the
commits into the email, and there's only one good way to test it.
2012-04-30 17:45:49 -04:00
Richard Heck
5fc596ff09 Another silly test. 2012-04-30 17:25:35 -04:00
Richard Heck
cdd0b5c187 Another silly fix for testing. 2012-04-30 17:20:57 -04:00
Richard Heck
71f9611d70 Another fix for testing. 2012-04-30 17:19:07 -04:00
Richard Heck
d14646964a Re-order status.20x a bit. This is really just a test. 2012-04-30 16:51:49 -04:00
Vincent van Ravesteijn
013dc6cb3a Fix bug #7653: Quotation marks have wrong color
Quotation marks had the wrong color when using change tracking, or when
selecting.

(cherry picked from commit 14ef7d2b82)
2012-04-29 17:00:14 +02:00
Vincent van Ravesteijn
d4238397b9 Fix bug #7667: Pixmap cache and CT lead to random colors
The signature of the character in cache should take into account the
change tracking baseColor (author) and mergeColor (added/deleted). If not,
we will mixup different cached pixmaps.

(cherry picked from commit 6327993867)
2012-04-29 17:00:13 +02:00
Vincent van Ravesteijn
a102ba7564 Reset the (running) change in PainterInfo
When an InsetText is deleted, all lines in the inset are painted as
deleted. This status should be restored afterwards. If not, insets will be
painted in the wrong color afterwards (e.g. tables).

(cherry picked from commit af4e31ec28)
2012-04-29 17:00:12 +02:00
Vincent van Ravesteijn
76bff4cc04 BufferView::dispatch(): add a missing break
(cherry picked from commit 3a395ca0f5)
2012-04-29 17:00:11 +02:00
Vincent van Ravesteijn
921445239a Do not show deleted text in the html title
(cherry picked from commit 77c8c15947)
2012-04-29 17:00:10 +02:00
Vincent van Ravesteijn
507701261a Include the qt gif plugin in the Windows installer
Since LyX2.0 there was a busy icon in the status bar,
but it is not visible on Windows unless the gif plugin
is distributed along.
2012-04-29 17:00:09 +02:00
Pavel Sanda
7cea9372d5 Backport 217ef5bf3 (#81380 2012-04-26 14:19:05 +02:00
Richard Heck
ddee4f872b Don't output extra body tags with included files. 2012-04-23 14:14:01 -04:00
Uwe Stöhr
4e1bc622ca backport fix for #8102 2012-04-23 01:28:55 +02:00
Richard Heck
650ab1783a Use InsetLayout to style the XHTML output.
Note that we have also changed the layout name to uppercase, but
this should be fine, since it was so far unused.

Conflicts:

	src/insets/InsetScript.cpp
2012-04-17 09:28:28 -04:00
Richard Heck
9b5da57623 Fix header of status.20x. 2012-04-15 22:43:21 -04:00
Enrico Forestieri
482355e7b4 Fix bugs #6871 and #8119.
Both bugs above were due to a missing screen update. This patch
updates the current view after dispatching a lyxserver command
and thus solves both.

The patch is quite strightforward and the only difficulty was due
to the fact that the lyxserver needs the result of the dispatched
command. Now, GuiApplication::dispatch(FuncRequest const &)
does update the view, but does not return any result, while
GuiApplication::dispatch(FuncRequest const &, DispatchResult &),
which is also called by the former, does not update the view.
So, I split the first one, isolating the code performing the update,
such that the second one can also update the current view when
the caller is the lyx server. When the action is initiated by
anything different from the lyx server, the behavior is unchanged.

(cherry picked from commit ea31541848)
2012-04-16 00:19:22 +02:00
Enrico Forestieri
fe47997587 Fix bug #8105: Crash when deleting math macro from the inside
It seems that parameterless macros are not wrapped into a MathAtom.
Rather than touching the macro code (which is tantamount to opening
a can of worms, IMHO), I prefer this solution.

(cherry picked from commit d07f9eec20)
2012-04-15 23:59:18 +02:00
Uwe Stöhr
fea4cfbbd7 status.20x: fix 2 typos; Richard, can you please revise the now invalid info about SVN in the header? 2012-04-15 04:22:02 +02:00
Enrico Forestieri
99fe8ef2ba Use the right latex backend when a converter needs aux files.
If a converter specifies the needaux flag, latex (or xelatex) is
always run to produce the needed auxiliary files. This is wrong
because there are documents that can only be compiled with a specific
backend and thus the conversion may fail. On the other hand, even if
the document specifies the backend to be used, LyX ignores this info.

This commit rectifies this behavior by letting LyX run the same flavor
of the latex backend that shall be used for previewing the document
also for producing the auxiliary files.

(cherry picked from commit 3285ce1d5c)

Conflicts:

	src/Converter.cpp
2012-04-11 20:32:27 +02:00
Peter Kümmel
229fa2cd88 clang: std::string is used here, fwd is not enough
(cherry picked from commit f41057cae6)
2012-04-09 15:17:17 +02:00
Vincent van Ravesteijn
036e0c2abd Fix bug #8114: LyX does not retrieve negative bbox parameters
LyX fails to read the bounding box from an EPS file if it has
negative values. Adjusting the regex will overcome this problem.
Negative values do not pose big problems later on, but the GUI
doesn't handle it correctly yet (see bug #5718).

(cherry picked from commit f0754582b8)
2012-04-09 15:17:07 +02:00
Richard Heck
25246819de Backport the following from trunk:
29cf7af6d3
		8dd436b7dc
		7c5f28ad26
This fixes issues with empty paragraphs in XHTML output.
2012-04-08 10:20:11 -04:00
Uwe Stöhr
4d9c273d02 uk.po: translation update by Yuri 2012-04-07 03:15:23 +02:00
Richard Heck
b82a856a32 Make index comparisons for XHTML output case insensitive. 2012-04-03 17:57:01 -04:00
Richard Heck
8558d84d4d Clear local layout before reading BufferParams. Otherwise, you can't
delete the local layout.
2012-04-03 15:58:06 -04:00
Richard Heck
858ccc413f Backport fix for bug #8107. We need to invalidate the file
cache, not just the BibInfo cache, when we create a new BibTeX
inset.

Conflicts:

	src/insets/InsetBibtex.cpp
2012-04-01 18:28:55 -04:00
Uwe Stöhr
3c2c0c182f Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-03-28 22:51:50 +02:00
Uwe Stöhr
44ee575562 beamer.layout: fix #8094 also for branch 2012-03-28 22:51:36 +02:00
Richard Heck
e5c8f33be7 Clean up the include_bib script a bit. 2012-03-26 12:07:46 -04:00
Jean-Marc Lasgouttes
f98bb89227 Better support for (Lua|Xe)TeX files in tex2lyx
When one of the packages specific to these engines are used in the TeX file:
* set default encoding to utf-8
* set \use_non_tex_fonts to true

This is a hand-made backport of svn commit r40765.
2012-03-26 16:10:31 +02:00
Juergen Spitzmueller
0ee5c1919a Beamer supports \subsubsection. Add to layout. 2012-03-26 12:33:37 +02:00
Enrico Forestieri
ae06825513 status.20x for last commit.
I first used cherry-pick, then tried to modify status.20x but there
was no way I found to proceed from there. So, to be able to come
out form this situation I reverted the changes to status.20x,
pushed the cherry-picked revision and then committed the changes
to status.20x.

Let me say that git is way too much complicated to be really useful.
2012-03-25 15:49:10 +02:00
Vincent van Ravesteijn
87d97322ef Fix more possible crashes due to asInsetRef()
InsetMathHull has no method asInsetRef() and returns therefore 0.

See also 5bd68605.
2012-03-24 11:12:42 +01:00
Richard Heck
5bd68605df Backport fix for bug #8095.
The crash was due to the otherwise innocent looking 07924ac300. The cast
Vincent replaced was already wrong---it seems to have been a thinko in
7bbd67eb2679---but it worked kind of by accident before. Now it crashes.
2012-03-23 14:43:41 -04:00
Uwe Stöhr
6f5ea2ae47 GuiTabular.cpp: fix bug #8092 also for branch 2012-03-21 21:50:34 +01:00
Vincent van Ravesteijn
3c78445234 Remove duplicated entry from status.20x 2012-03-19 19:29:38 +01:00
Vincent van Ravesteijn
cddd90dfdf Fix bug #8083: Fix the selection of cells below multirows
Multirows were introduced in 8bb69f24 (Uwe Stoehr, 11 Feb 2010). In the
computation of the nearest cell, it was forgotten to account for the
vertical offset. tabular.cellHeight is the full height of the cell, while
the point that comes from the coordCache is offsetted by VOffset.
Therefore, we have to subtract the VOffset from o.y_.
2012-03-19 19:29:37 +01:00
Vincent van Ravesteijn
b754fb0253 Clear the error list from previous errors
We only copied the error list to the cloned buffer when makeLatexfile
failed. This means that a second try will never clear the error list and
the user will be presented the same list again.

Therefore, we unconditionally copy the error list such that we also clear
the list on success.
2012-03-19 19:29:36 +01:00
Juergen Spitzmueller
f50edc8673 Fix bug #8069: View/Update other formats button disabled with non-TeX fonts 2012-03-16 15:53:45 +01:00
Uwe Stöhr
7d200f302d GuiTabular.cpp: fix bug #8084 2012-03-15 02:29:47 +01:00
uwestoehr
0bfe15d969 status.20x: some cosmetics as test commit 2012-03-15 00:26:59 +01:00
Richard Heck
26868fc04e Minor updates to status.20x. 2012-03-13 17:13:36 -04:00
Enrico Forestieri
b067c04309 Fix bug #8032 (timeout when using the Sweave module)
After the timeout elapses, the user is notified that a command is taking
a long time to complete and is given the choice to stop it. If the user
decides to let the command run, the timeout is increased, otherwise the
command is killed. One is prompted a first time after 3 mins, a second
time after 9 mins, a third time after 27 mins, and so on, i.e., the n-th
prompt occurs after 3^n minutes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40881 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-07 00:26:17 +00:00
Enrico Forestieri
b7cc97e2d0 Since version 1.9 SumatraPDF supports forward search without DDE commands.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40879 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 23:30:23 +00:00
Richard Heck
dc7fd33b84 Backport JMarc's fix for bug #6367.
* Undo.cpp:
 - rename cur member of UndoElement to cur_before
 - add new member cur_after, which is set by Undo::endUndoGroup
 - create a new Undo::endUndoGroup variant that takes a Cursor as parameter. We cannot get rid of the old one because it is used for LFUN_COMMAND_SEQUENCE.
* Cursor.cpp:
 - use endUndoGroup(Dociterator const &) for dispatch
 - update Cursor::endUndoGroup to pass cursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40876 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 23:12:36 +00:00
Enrico Forestieri
8c24088b79 On Windows, properly account for the encoding of the temporary directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40875 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 21:24:04 +00:00
Richard Heck
8d3e242755 Backport fix for #7997.
The View->Source pane resets the format every time you click into
a new paragraph, which is very annoying. This commit fixes this bug.

If anyone has a better idea, please let me know. I posted to devel
about it but got no response.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40864 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:51:53 +00:00
Richard Heck
922726faae Backport fix for #7916.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40863 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:38:21 +00:00
Richard Heck
1b74e82b9c Add option to view only preamble when viewing source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40862 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:36:27 +00:00
Richard Heck
ec5a0965d3 Backport fix for #7787.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40861 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:30:19 +00:00
Uwe Stöhr
e377fa3168 EmbeddedObjects.lyx: description how to color every second table row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40855 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-04 23:54:31 +00:00
Vincent van Ravesteijn
436ab3a2c2 branch: Fix handling of the add branch textfield in GuiBranches
- Enter in the textfield adds the branch,
- Make sure the dialog is not closed when pressing enter, 
- Pressing Ctrl+Enter or the Enter on the numpad closes the dialog.

Patch based on a patch from Scott Kostyshak.

see r40839.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40847 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 15:55:00 +00:00
Vincent van Ravesteijn
9a5c01acb8 branch: GuiCitation: Do not allow to add entries by pressing Enter when the Add button is disabled.
see r40835.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40846 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 15:52:21 +00:00
Uwe Stöhr
433539cdac ia.po: updates by Giovanni
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40838 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 13:13:58 +00:00
Uwe Stöhr
91e11aff96 iop-article.lyx: add some important info to avoid compilation errors and improve the template a bit (thanks to MaX Funk for the hints)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40836 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 12:39:57 +00:00
Uwe Stöhr
db3152a3e0 modernCV.lyx: fix #8064 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40833 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 23:43:58 +00:00
Jürgen Spitzmüller
d2b87f4706 Work around qt bug that prevents the glyph LATIN CAPITAL LETTER SHARP S from being pasted (bug #8057).
Backport of r40829.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40831 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 14:59:53 +00:00
Uwe Stöhr
d5aa03bfd0 status.20x: entry for the knitr fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40819 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 23:44:05 +00:00
Pavel Sanda
435dce17c0 Backport graphics tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40812 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 18:54:26 +00:00
Georg Baum
4b77821d96 backport r40804
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40806 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 20:46:20 +00:00
Georg Baum
fbe35a1178 back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40805 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 20:43:35 +00:00
Enrico Forestieri
6a9c9f620b Call lyxpak.py using the original (not mangled) document file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40774 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-18 14:00:41 +00:00
Uwe Stöhr
93bc78ca47 ja.po: updates from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40748 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-14 21:04:25 +00:00
Uwe Stöhr
638545859c es.po: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40747 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-13 23:18:58 +00:00
Uwe Stöhr
fedac425c2 sweave.lyx: completely revised example file by Yihui Xie
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40743 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 23:54:02 +00:00
Uwe Stöhr
defe1e1b94 thesis files: translate some German strings to English and fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40736 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 14:57:29 +00:00
Uwe Stöhr
5ce0c1330b thesis files: Fixed preamble code for automatic reference naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40735 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 14:46:23 +00:00
Uwe Stöhr
026b02e212 - EmbeddedObjects.lyx: correct the description of Automatic Reference Naming
- Math.lyx: correct the preamble accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40730 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 01:50:21 +00:00
Uwe Stöhr
3e8160059d nn.po: updates by Ingar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40727 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-11 18:15:36 +00:00
Uwe Stöhr
c0a51ef18d - status.20x: add missing updated languages
- fr.po: updates from Jean-Pierre

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40724 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-11 15:48:50 +00:00
Jean-Marc Lasgouttes
8e753e006d addendum to backport r40703 (fix #8019)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40707 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 17:32:13 +00:00
Jean-Marc Lasgouttes
24cd11aa70 backport r40703 (fix #8019)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40706 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 17:30:21 +00:00
Jürgen Spitzmüller
10e3be13fc status.20x: Fix glitches introduced with r40704.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40705 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 06:10:14 +00:00
Jean-Marc Lasgouttes
b0721c5c2f backport 40700
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40704 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-02 22:39:26 +00:00
Georg Baum
4e0c2910e1 Backport the safe part of r40694 to fix bug #7998.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40698 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-01 21:03:04 +00:00
Jürgen Spitzmüller
29f9a3094b Fix bug #8013: updateDefaultFormat() checks the osFontsCB state, so the fonts UI needs to be set in advance of the output UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40696 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-01 06:33:51 +00:00
Richard Heck
8adc4095f1 Updates from Yuri for Ukrainian localization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40692 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-31 18:10:53 +00:00
Jean-Marc Lasgouttes
881d6bc268 backport support for knitr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40684 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-28 10:50:12 +00:00
Vincent van Ravesteijn
8016aebdf1 branch: Fix bug #7644: Crash when copying table column or row
see r40656.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40683 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-27 21:44:30 +00:00
Stephan Witt
53ebb66d2a do not use config.guess anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40679 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-26 15:30:58 +00:00
Jean-Marc Lasgouttes
71a8b9a6b7 Fix installation of python files:
- be compatible with automake 1.11.2 (#7990)
- do not install pyo/pyc files in share directory (#6080)

This is a backport of r40635, r40669 and r40670.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40675 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-25 22:59:42 +00:00
Stephan Witt
7391a872ca #7789 correct buffer statistics when change tracking is on; LyX incorrectly counts the words in deleted notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40673 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-24 06:20:25 +00:00
Pavel Sanda
5c98f354f8 Fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40661 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 22:47:58 +00:00
Georg Baum
9c3c9806a9 Backport fix for bug #5906
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40654 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 20:00:19 +00:00
Vincent van Ravesteijn
17370a9462 branch: Fix bug #7755: Unknown tabular feature "from-dialog"
"from-dialog" is added to the LFUN_INSET_MODIFY function when it is issued from the table settings dialog. This is done to prevent the checking of the individual parameters, because it has to consider all parameters alltogether. Besides, when issued from the dialog it is already guaranteed that the parameters are valid.

This parameter should not be passed onto tabularfeatures.

see r40376.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40653 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 15:31:44 +00:00
Richard Heck
441e7f6c03 Backport Vincent's fix for #7004.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40652 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 14:37:13 +00:00
Richard Heck
88fe65bf0c Backport Tommaso's fix for #7410: Weird stale selection leads
to assertion after replace all.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40651 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 14:23:43 +00:00
Georg Baum
4158734a2e Backport partial fix for bug #7811
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40645 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 10:34:07 +00:00
Jürgen Spitzmüller
9cb532913b Fix crash when putting a float around multiple display maths (bug #7974).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40644 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-21 17:16:56 +00:00
Uwe Stöhr
5e1ec87fff - moderncv.layout: add missing separator style
- modernCV.lyx: set page size to A4, correct subsection entry, use a separator modify preamble to be compliant with modernCV 0.16 (fixes #7991)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40643 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-21 12:17:39 +00:00
Jürgen Spitzmüller
8fe2cecbdb Fix crash due to the attempt to access paragraph() from within mathed while doing forward-search (bug #7992).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40638 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-20 13:08:33 +00:00
Jürgen Spitzmüller
25746dc622 Do not load font packages with encoding "utf8-plain" (bug #7766, #7782).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40637 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-20 13:02:19 +00:00
Jürgen Spitzmüller
4ebcd17969 typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40634 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-20 06:26:41 +00:00
Stephan Witt
38de585d97 Improved disk image creation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40632 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-19 20:32:43 +00:00
Georg Baum
902608c331 backport fix for bug #7973
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40631 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-19 20:21:53 +00:00
Richard Heck
885084fea8 If we don't have a tooltip in the TOC, then use the display string
as the tooltip. This isn't redundant, since the TOC itself might
truncate the display string.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40628 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-16 15:13:26 +00:00
Richard Heck
af5938cb6c Fix bug #7774. It should be fine to show the complete index entry
in the TOC, as these generally aren't that long.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40627 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-16 15:08:55 +00:00
Enrico Forestieri
7149006dca Properly account for output redirection with QProcess.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40620 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-16 00:36:13 +00:00
Enrico Forestieri
3ae401e5bc Detect the correct version of python at runtime and store the result
for later calls. The check is only performed on the major version
number, such as to avoid using python 3.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40619 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-16 00:23:09 +00:00
Julien Rioux
53ae40b34b Add gswin64c as possible executable in legacy_lyxpreview2ppm.py (#7938).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40618 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-15 22:13:36 +00:00
Richard Heck
bed648d0b5 Fix bug #7983: Do not modify params before we know we have
something valid!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40616 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-15 16:47:50 +00:00
Enrico Forestieri
dac462c96b Refine fix for bug #7800. Don't use \inputencoding if the strings can be
encoded in the current buffer encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40614 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-14 15:06:40 +00:00
Georg Baum
923e3c1a3a backport fix for bug #7013
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40606 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-12 20:12:03 +00:00
Stephan Witt
12e0991465 backport changes to fix #7884: detect missing dictionaries, add default dictionary location for hunspell, act on preference changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40599 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-11 17:05:18 +00:00
Stephan Witt
b5ef74803d correct a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40597 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-11 16:30:40 +00:00
Stephan Witt
a68c3a2e42 #7927 backport the configure fix to support --with-packaging=posix on Mac OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40594 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-10 07:16:00 +00:00
Georg Baum
66fc6f76c0 Backport the safe part of bug #7949
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40584 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-07 18:28:14 +00:00
Richard Heck
d8b68d84f1 Backport Lars's fix for bug removal in GCC 4.7
A long standing bug has been fixed in GCC 4.7, the bug was a non-
sactioned extra lookup. This caused some code to work that really
shouldn't.

The fixes are: add this->, Class::, or move functions about
as required to fullfill the rules.

In this case some template instantiations were movee to after what
they reference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40583 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-07 16:00:56 +00:00
Pavel Sanda
c4ca05114c Backport fix for #7963, fullscreen corner case for tabbar visibility.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40561 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-03 15:23:35 +00:00
Uwe Stöhr
2ec8fccc07 Math.lyx: improve description of modulo-functions, fixes #7961
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40555 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-01 21:26:28 +00:00
Uwe Stöhr
6977bfc256 symbols: fix #7962 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40554 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-01 21:20:26 +00:00
Stephan Witt
4a16880406 #5585 (backport) disable spell checker dialog for empty documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40553 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-31 17:55:20 +00:00
Jürgen Spitzmüller
a3671ef1c4 In recent biber versions, the log message that tells us which bib files are used has been changed. Adapt the parser, so that bib files are tracked again.
(backport of r40542)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40547 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-26 08:47:40 +00:00
Enrico Forestieri
3256da26eb Fix bug #7933 (lyx2lyx error while running lyxpak.py)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40545 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-24 11:59:33 +00:00
Richard Heck
c9dab05dc9 Backport fix for #7923: Don't clone all the children on autosave.
We split Buffer::clone() into various routines that know whether
to clone the children.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40536 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-21 15:08:26 +00:00
Uwe Stöhr
c76febcbdf new layout and template file for articles in the Journal of the Acoustical Society of America (JASA)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40530 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 00:52:36 +00:00
Uwe Stöhr
d6da309609 multicol.lyx: fix a description (bug #7953)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40529 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 00:23:18 +00:00
Uwe Stöhr
55afc1c279 status.20x: cleanup the tex2lyx entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40519 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 15:14:19 +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
Uwe Stöhr
6b687dd023 nl.po: more translations from Timo (now above the 50% limit and thus announced)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40462 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 21:23:40 +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
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
Pavel Sanda
b4bac77f58 Add lyx.svg into branch, cf #7919, thanks Timo Kluck.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40416 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 15:17:06 +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
Peter Kümmel
c3f853a3ef cmake changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40397 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 19:57:53 +00:00
Uwe Stöhr
4251d34965 ia.po: updates from Giovanni
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40387 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 23:07:47 +00:00
Uwe Stöhr
8fc546c654 status.20x: beautify the status entries for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40371 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 01:13:59 +00:00
Uwe Stöhr
11e591913b EmbeddedObjects.lyx:
- new description how to color dashed table lines
- new section how to split table cells by diagonal lines

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40365 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-04 21:57:18 +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
bd0519d455 Status for previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40354 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 22:44:22 +00:00
Richard Heck
3d28c26de3 Status for previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40345 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 21:48:15 +00:00
Uwe Stöhr
f19efe700d external_templates: fix #7888 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40343 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 15:36:59 +00:00
Uwe Stöhr
2a9f16130e stdmenus.inc: fix #7891 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40342 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 15:27:20 +00:00
Jürgen Spitzmüller
51e410eaf1 * de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40341 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 08:24:56 +00:00