Enrico Forestieri
6eabcc2dd3
Protect against autorun commands on Windows (see also bug #7718 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39550 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 16:53:38 +00:00
Uwe Stöhr
6df33aba97
- tufte-book.layout: fix a lyX warning about uninitialized counter
...
- tufte example files: add important notes that float placements options are not allowed and remove unreferenced labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39549 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 16:49:16 +00:00
Enrico Forestieri
d3c96214f3
Allow batch files with QProcess.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39548 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 16:45:46 +00:00
Uwe Stöhr
563dd1fb3a
- EmbeddedObjects.lyx: fix a nasty caption formatting bug spotted by Ignacio
...
- Spanish EmbeddedObjects.lyx: some fixes by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39547 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 13:37:30 +00:00
Uwe Stöhr
7ba7ce4006
new module and example file for chemical risk and safety statements; requires the package rsphrase which is bundled with the package mhchem that we already support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39545 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:59:16 +00:00
Uwe Stöhr
826bf6b950
initials.module: safer preamble call, no string changed, necessary to be able to compile the EmbeddedObjects manual also if the package lettrine is not installed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39543 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:36:34 +00:00
Uwe Stöhr
f363b83dbc
- Spanish documentation files: translations by Ignacio
...
- English EmbeddedObjects.lyx: fix a typo spotted by Ignacio
- EmbeddedObjects.lyx: make the file compilable also if the LaTeX-package lettrine is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39542 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:36:23 +00:00
Uwe Stöhr
2b3533153a
- German UserGuide.lyx: remove some fixed path that would make the document uncompilable
...
- Spanish UserGuide.lyx: some tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39539 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 01:15:22 +00:00
Jürgen Spitzmüller
70390b0283
Disable space tyes 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/trunk@39537 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-27 10:58:48 +00:00
Jürgen Spitzmüller
6a3ff009db
Issue the math space dialog (not the text one) when in math (bug 7746).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39536 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-27 10:45:59 +00:00
Tommaso Cucinotta
1bc43396fe
Fix recursive repaint problem.
...
See also: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170468.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39535 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-27 10:21:59 +00:00
Julien Rioux
9657ffd77f
revert part of the last commit that should not have been
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39534 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:46:52 +00:00
Julien Rioux
0243eed665
configure.py : subprocess, second try (check_output requires
...
python 2.7 and throws unwanted exceptions when the process
return value is not 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39533 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:29:37 +00:00
Richard Heck
9d8c3d018b
Revert "The call to cmdOutput can throw an exception, so we need to be careful".
...
This will make reverting the previous commit easier.
This reverts commit 82ab1aef334d8573cc3e861e2620d9b4c59f88fe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39532 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:13:34 +00:00
Richard Heck
b87297b8a0
Fix infinite loop reported on the list, which revealed another, which
...
revealed another. So fix a bunch of such things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39530 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:06:19 +00:00
Richard Heck
1700d0c747
The call to cmdOutput can throw an exception, so we need to be careful
...
here, lest configure.py abort.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39529 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:06:15 +00:00
Uwe Stöhr
1766f01397
lilypond.lyx: some tweaks; Julien, having you at least in a note as author is our common way because it has the advantage that people can contact you directly if there are problems (you are listed in the credits)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39527 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 21:38:28 +00:00
Julien Rioux
f51dffd231
configure.py : replace os.popen with subprocess.Popen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39526 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 17:11:50 +00:00
Julien Rioux
7ea78193ca
configure.py : make sure latex exits gracefully
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39525 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 17:11:48 +00:00
Julien Rioux
25258ea3e8
lilypond.lyx : add introductory text, minor tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39524 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 17:10:20 +00:00
Pavel Sanda
aef6b16811
Update FSF address, patch from cornelisbb, #7735 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39523 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-25 23:10:36 +00:00
Enrico Forestieri
41902a7530
Update it.po
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39519 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-25 19:21:12 +00:00
Tommaso Cucinotta
ef7a142f3f
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.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39518 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-25 19:16:14 +00:00
Uwe Stöhr
e1406f60f6
Spanish UserGuide.lyx: translations by Ignacio
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39516 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-25 16:51:56 +00:00
Vincent van Ravesteijn
3bd87e5a64
Make the Buffer class non-copyable, otherwise LyX crashes when 'Impl * const d' is deleted while deleting a copy of the Buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39515 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-24 19:10:40 +00:00
Enrico Forestieri
d68309ee17
On Windows, also fix call to octave (related to bug #7715 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39513 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 18:45:46 +00:00
Kornel Benko
6aaa3054e2
* sk.po
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39511 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 11:48:04 +00:00
Jean-Marc Lasgouttes
f4a2142ee8
Revert part of r39509 that was not supposed to go in.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39510 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 10:42:35 +00:00
Jean-Marc Lasgouttes
7fc83acb5e
Add possibility to export the R code from a sweave-enabled document
...
(patch from yihui, part of #7555 )
http://www.lyx.org/trac/ticket/7555#comment:18
This adds the new format "R/S code" with extension .R and a converter from .Rnw.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39509 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 10:33:42 +00:00
Stephan Witt
1a0b35288d
#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/trunk@39508 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 10:22:14 +00:00
Jean-Marc Lasgouttes
c9d9bde0b2
Sweave support cleanup (patch from yihui, see #7555 )
...
http://www.lyx.org/trac/ticket/7555
This part is a simple cleanup:
* rename variables to start with a dot
* reset encoding after running sweave
* improve on-screen display of code chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39506 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 09:52:21 +00:00
Vincent van Ravesteijn
2ba3007e4b
CMake: Simplify the fix for the path to gettext-tools. The problem was that the first " was in the wrong place.
...
see r39491 and thanks Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39505 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-22 11:01:41 +00:00
Enrico Forestieri
f3f38f492b
Fix #7715 (Lyx 2.0.0 doesn't work with Mathematica 8: call to 'math' problem?)
...
The fix also allows to execute again batch files when using runCommand.
Unfortunately, this is still not possible with QProcess as that code is not
under our control.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39504 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-22 01:39:49 +00:00
Stephan Witt
2aca5e10f2
correct spell check request for Paragraph::changeLanguage()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39503 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-20 13:54:02 +00:00
Stephan Witt
5098c71730
add missing spell check requests for Paragraph::appendChar() and Paragraph::appendString()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39502 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-20 13:51:38 +00:00
Stephan Witt
e92c786618
correct implementation of "mark whole paragraph" for spell check
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39501 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-20 13:48:19 +00:00
Uwe Stöhr
90dc008182
UserGuide.lyx: fix some issues and typos spotted by Ignacio
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39498 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-20 01:11:07 +00:00
Uwe Stöhr
3d8905fc36
installer: fix now all compiler warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39497 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 22:19:09 +00:00
Uwe Stöhr
6b36f46b4f
installer: squash all warnings (except of one that comes later); remove unused code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39496 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 21:38:26 +00:00
Uwe Stöhr
b505d06116
installer: complete fix (r39492)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39495 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 21:17:29 +00:00
Peter Kümmel
e69f62f7b7
cmake: fix buggy profile option handling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39494 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 18:04:41 +00:00
Vincent van Ravesteijn
06751c95ce
Win Installer: LyXLauncher does no longer exist.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39493 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 14:21:43 +00:00
Vincent van Ravesteijn
a3b4a955d8
Win Installer: Fix the path to the install options file. This file was copied from AltInstaller where it was in the main directory.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39492 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 14:08:59 +00:00
Vincent van Ravesteijn
1dfac5ccaa
CMake: Fix the path to gettext-tools. The deps20 folder was already included in GNUWIN32. Besides, the construction with the hints variable did not seem to work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39491 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 14:05:51 +00:00
Vincent van Ravesteijn
9ade016a90
CMake: Add the same path hint for ICONV_DLL as for ICONV_DLL_HELP. Without this hint, the former could not be found while the latter could.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39490 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 14:04:51 +00:00
Kornel Benko
7d95e9d94c
* sk.po
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39489 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 06:40:58 +00:00
Uwe Stöhr
960897aded
stdmenus.inc: correct previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39488 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-18 14:36:10 +00:00
Uwe Stöhr
a2e314206c
stdmenus.inc: new menu entry for inset-select-all
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39487 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-18 14:27:48 +00:00
Vincent van Ravesteijn
d631fe0001
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.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39486 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-17 10:44:50 +00:00
Stephan Witt
c29d13569e
restore old hunspell library detection code as fallback when pkg-config is not available - for Mac OS X
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39484 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-14 07:17:12 +00:00