]> git.lyx.org Git - lyx.git/log
lyx.git
13 years ago* sv.po: update.
Jürgen Spitzmüller [Tue, 1 Feb 2011 17:00:08 +0000 (17:00 +0000)]
* sv.po: update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37403 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* BufferParams.{cpp,h}:
Jürgen Spitzmüller [Tue, 1 Feb 2011 14:00:23 +0000 (14:00 +0000)]
* BufferParams.{cpp,h}:
- go back to Maping=tex-text for XeTeX and use Ligatures=TeX only for LuaTeX.
  This gets users of older distributions (such as TeXLive 2009) back into the XeTeX game.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37402 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemerge strings
Pavel Sanda [Tue, 1 Feb 2011 11:22:09 +0000 (11:22 +0000)]
Remerge strings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37400 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago*id.po from Waluyo
Pavel Sanda [Tue, 1 Feb 2011 11:21:48 +0000 (11:21 +0000)]
*id.po from Waluyo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37399 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Tue, 1 Feb 2011 09:53:57 +0000 (09:53 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37396 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemerge sk.po
Kornel Benko [Tue, 1 Feb 2011 09:53:22 +0000 (09:53 +0000)]
Remerge sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37395 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* de.po: update.
Jürgen Spitzmüller [Tue, 1 Feb 2011 09:36:44 +0000 (09:36 +0000)]
* de.po: update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37394 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* enumitem.module: refer to mirror CTAN address, not to DANTE.
Jürgen Spitzmüller [Tue, 1 Feb 2011 09:34:37 +0000 (09:34 +0000)]
* enumitem.module: refer to mirror CTAN address, not to DANTE.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37393 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFew touches of autotests
Pavel Sanda [Mon, 31 Jan 2011 20:39:35 +0000 (20:39 +0000)]
Few touches of autotests

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37390 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoConvert converter preferences to use new "latex=flavor" syntax.
Richard Heck [Mon, 31 Jan 2011 19:42:50 +0000 (19:42 +0000)]
Convert converter preferences to use new "latex=flavor" syntax.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37389 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoInsetParamsDialog: update the dialog settings on context change (on user request).
Jürgen Spitzmüller [Mon, 31 Jan 2011 14:48:16 +0000 (14:48 +0000)]
InsetParamsDialog: update the dialog settings on context change (on user request).

Fixes bug 7271.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37388 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix --disable-debug in configure; more cleanups to build_type handling
Jean-Marc Lasgouttes [Mon, 31 Jan 2011 10:19:03 +0000 (10:19 +0000)]
fix --disable-debug in configure; more cleanups to build_type handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37386 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate it.po
Enrico Forestieri [Sun, 30 Jan 2011 23:14:01 +0000 (23:14 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37382 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBump layout format for the new Display tag used in Comments and Greyedout notes.
Enrico Forestieri [Sun, 30 Jan 2011 22:22:18 +0000 (22:22 +0000)]
Bump layout format for the new Display tag used in Comments and Greyedout notes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37381 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdded test cases for format-aware searching of formatted text.
Tommaso Cucinotta [Sun, 30 Jan 2011 19:46:05 +0000 (19:46 +0000)]
Added test cases for format-aware searching of formatted text.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37380 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agokeytest.py ignores now also whitespaces only lines.
Tommaso Cucinotta [Sun, 30 Jan 2011 19:45:17 +0000 (19:45 +0000)]
keytest.py ignores now also whitespaces only lines.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37379 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemoved stripping of whitespaces from script commands.
Tommaso Cucinotta [Sun, 30 Jan 2011 19:44:31 +0000 (19:44 +0000)]
Removed stripping of whitespaces from script commands.
Added the capability to ignore empty lines.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37378 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdded Lang command to test cases. Added a couplr of regression tests for Advanced...
Tommaso Cucinotta [Sun, 30 Jan 2011 16:01:22 +0000 (16:01 +0000)]
Added Lang command to test cases. Added a couplr of regression tests for Advanced F&R.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37377 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRefined description of syntax.
Tommaso Cucinotta [Sun, 30 Jan 2011 16:00:01 +0000 (16:00 +0000)]
Refined description of syntax.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37376 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAvoid confusing the window name of a LyX instance with the one of
Tommaso Cucinotta [Sun, 30 Jan 2011 15:59:41 +0000 (15:59 +0000)]
Avoid confusing the window name of a LyX instance with the one of
Thunderbird while displaying LyX mails or Firefox while displaying
LyX web pages.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37375 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdded Sleep and Assert commands in test scripts.
Tommaso Cucinotta [Sun, 30 Jan 2011 15:58:08 +0000 (15:58 +0000)]
Added Sleep and Assert commands in test scripts.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37374 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: add option to download msvc 10 3rd party libraries
Peter Kümmel [Sun, 30 Jan 2011 10:23:29 +0000 (10:23 +0000)]
cmake: add option to download msvc 10 3rd party libraries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37370 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoisWordSeparator crashes when checking end-of-paragraph
Stephan Witt [Sun, 30 Jan 2011 07:17:48 +0000 (07:17 +0000)]
isWordSeparator crashes when checking end-of-paragraph

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37369 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoIn order to avoid code replication, use a template-based solution for
Enrico Forestieri [Sat, 29 Jan 2011 19:44:53 +0000 (19:44 +0000)]
In order to avoid code replication, use a template-based solution for
all types requiring the exact same code, as suggested by Tommaso.
This allows to simply add a single-line instantiation declaration
if there's the need of adding another type requiring the same code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37366 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate id.po from Waluyo
Pavel Sanda [Sat, 29 Jan 2011 14:48:56 +0000 (14:48 +0000)]
Update id.po from Waluyo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37365 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdded basic automated testing capability, based on the MonKey Test (keytest.py) by...
Tommaso Cucinotta [Sat, 29 Jan 2011 14:42:53 +0000 (14:42 +0000)]
Added basic automated testing capability, based on the MonKey Test (keytest.py) by McCabe-Dansted.
As of now, I plan to add a few regression tests for the Advanced Find & Replace using this engine.
It can be used for automated testing of other LyX subsystems as well. Just write your own *-in.txt
scripts and add them into the autotests/ folder.

TODOs:
- perhaps simplify keytest.py
- check how this behaves under various types of failure of the test
  (e.g., LyX crashing, hanging, ...) just to be sure it goes on with
  the other tests anyway.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37364 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agorestore the correct behavior of suppression of misspelled marker for word at cursor...
Stephan Witt [Sat, 29 Jan 2011 12:28:02 +0000 (12:28 +0000)]
restore the correct behavior of suppression of misspelled marker for word at cursor position - the change r37340 broke it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37363 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Sat, 29 Jan 2011 11:00:28 +0000 (11:00 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37362 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoremerge sk.po
Kornel Benko [Sat, 29 Jan 2011 10:57:36 +0000 (10:57 +0000)]
remerge sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37361 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoIntroduce a wrapper class for odocstream to help ensuring that no
Enrico Forestieri [Sat, 29 Jan 2011 02:41:13 +0000 (02:41 +0000)]
Introduce a wrapper class for odocstream to help ensuring that no
blank lines may be inadvertently output. This is achieved by using two
special iomanip-like variables (breakln and safebreakln) in the lyx::
namespace. When they are inserted in the stream, a newline is output
only if not already at the beginning of a line. The difference between
breakln and safebreakln is that, if needed, the former outputs '\n'
and the latter "%\n".
In future, the new class will also be used for counting the number of
newlines issued. Even if the infractrure for doing that is already in
place, the counting is essentially still done the old way.
There are still places in the code where the functionality of the
class could be used, most probably. ATM, it is used for InsetTabular,
InsetListings, InsetFloat, and InsetText.
The Comment and GreyedOut insets required a special treatment and a
new InsetLayout parameter (Display) has been introduced. The default
for Display is "true", meaning that the corresponding latex
environment is of "display" type, i.e., it stands on its own, whereas
"false" means that the contents appear inline with the text. The
latter is the case for both Comment and GreyedOut insets.
Mostly, the only visible effects on latex exports should be the
disappearing of some redundant % chars and the appearing/disappearing
of null {} latex groups after a comment or lyxgreyedout environments
(they are related to the presence or absence of a space immediately
after those environments), as well as the fact that math environments
are now started on their own lines.
As a last thing, only the latex code between \begin{document} and
\end{document} goes through the new class, the preamble being directly
output through odocstream, as usual.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37360 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate from Waluyo
Pavel Sanda [Fri, 28 Jan 2011 23:45:00 +0000 (23:45 +0000)]
Update from Waluyo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37358 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemerge strings
Pavel Sanda [Fri, 28 Jan 2011 23:44:26 +0000 (23:44 +0000)]
Remerge strings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37357 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd Tommaso to credits
Pavel Sanda [Fri, 28 Jan 2011 23:06:05 +0000 (23:06 +0000)]
Add Tommaso to credits

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37356 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoImprove roundtrip of Customization.lyx:
Georg Baum [Fri, 28 Jan 2011 21:20:48 +0000 (21:20 +0000)]
Improve roundtrip of Customization.lyx:
The lstlistings environment is no longer be unknown.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37355 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoClean up parsing of optional arguments:
Georg Baum [Fri, 28 Jan 2011 20:29:06 +0000 (20:29 +0000)]
Clean up parsing of optional arguments:
If an optional argument can be followed by another one, we need to use
getFullOpt(). Otherwise it would not be possible to parse \foo[][bar].
Remove getOptContent to avoid confusion (it does exactly the same as
getArg('[', ']') which is used in most places.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37354 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix lyx2lyx problem with sweave files and ParBreakIsNewline.
Richard Heck [Fri, 28 Jan 2011 19:48:03 +0000 (19:48 +0000)]
Fix lyx2lyx problem with sweave files and ParBreakIsNewline.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37353 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoThanks to Jose.
Pavel Sanda [Fri, 28 Jan 2011 14:53:37 +0000 (14:53 +0000)]
Thanks to Jose.

BTW I see some people like Stephan have quite up-to-date entries :)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37352 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate info in credits.
Pavel Sanda [Fri, 28 Jan 2011 14:45:08 +0000 (14:45 +0000)]
Update info in credits.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37351 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdate totem correctly (and revert r37349)
Edwin Leuven [Fri, 28 Jan 2011 14:28:11 +0000 (14:28 +0000)]
update totem correctly (and revert r37349)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37350 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdate my totem
Edwin Leuven [Fri, 28 Jan 2011 14:02:52 +0000 (14:02 +0000)]
update my totem

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37349 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago.lyx as symlinks killed when saving because of #6587 workarounds.
Pavel Sanda [Fri, 28 Jan 2011 12:39:50 +0000 (12:39 +0000)]
.lyx as symlinks killed when saving because of #6587 workarounds.

At the end escape for fsync would be the least hackish solution
but it needs somebody with ext4 to test with.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37348 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd Patrick to credits
Pavel Sanda [Fri, 28 Jan 2011 10:05:01 +0000 (10:05 +0000)]
Add Patrick to credits

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37346 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAnother glitch
Pavel Sanda [Fri, 28 Jan 2011 10:04:59 +0000 (10:04 +0000)]
Another glitch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37345 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBug in fixltx2e entry
Pavel Sanda [Fri, 28 Jan 2011 10:04:57 +0000 (10:04 +0000)]
Bug in fixltx2e entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37344 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd the rest into LaTeXConfig.lyx.
Pavel Sanda [Fri, 28 Jan 2011 10:04:55 +0000 (10:04 +0000)]
Add the rest into LaTeXConfig.lyx.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37343 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoBug #7095: Support fix-cm.sty
Pavel Sanda [Fri, 28 Jan 2011 10:04:52 +0000 (10:04 +0000)]
Bug #7095: Support fix-cm.sty
Patch from Patrick Atamaniuk.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165122.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37342 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCode simplification (thx Vincent).
Tommaso Cucinotta [Fri, 28 Jan 2011 09:52:12 +0000 (09:52 +0000)]
Code simplification (thx Vincent).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37341 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agosave the correct last position of misspelled words in spell checker state (thanks...
Stephan Witt [Fri, 28 Jan 2011 07:01:38 +0000 (07:01 +0000)]
save the correct last position of misspelled words in spell checker state (thanks JMarc)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37340 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix default buffer output format for literate documents.
Jean-Marc Lasgouttes [Thu, 27 Jan 2011 16:33:00 +0000 (16:33 +0000)]
Fix default buffer output format for literate documents.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37339 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFor the default View and Update actions of the View menu, use the lfuns without param...
Jean-Marc Lasgouttes [Thu, 27 Jan 2011 11:53:51 +0000 (11:53 +0000)]
For the default View and Update actions of the View menu, use the lfuns without parameters.

This paves the way for having a shortcut for buffer-view and buffer-update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37338 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFinish fixing bug #6623 (Sweave cannot read local files)
Jean-Marc Lasgouttes [Thu, 27 Jan 2011 11:14:32 +0000 (11:14 +0000)]
Finish fixing bug #6623 (Sweave cannot read local files)

* in converters, make sure that $$p and $$r are slash-terminated paths (like in viwers, BTW)
* pass the full intput path to lyxsweave.R

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37337 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCompleting r37335 (apologies).
Tommaso Cucinotta [Thu, 27 Jan 2011 00:43:25 +0000 (00:43 +0000)]
Completing r37335 (apologies).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37336 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFixing regression bug after last commit. Couldn't find anything better, however now...
Tommaso Cucinotta [Wed, 26 Jan 2011 23:54:12 +0000 (23:54 +0000)]
Fixing regression bug after last commit. Couldn't find anything better, however now it apparently works and doesn't crash
(when replacing text which is longer than the replaced contents in math mode and similar).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37335 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFixes this issue:
Tommaso Cucinotta [Wed, 26 Jan 2011 23:18:36 +0000 (23:18 +0000)]
Fixes this issue:

with this sequence:

-) C-N (new doc)
-) C-S-f (open advanced find dialog)
-) Alt-Tab (switch to other application)
-) Alt-Tab (switch back to LyX)

the focus now is on the main document WA. I think it should be back on the Find WA where I was before the Alt-Tab.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37334 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoPuts the selection at the correct position after replacing math contents with Advance...
Tommaso Cucinotta [Wed, 26 Jan 2011 23:06:02 +0000 (23:06 +0000)]
Puts the selection at the correct position after replacing math contents with Advanced Search.
Fixes crashes reported as #7245 and also #7241.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37333 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* ANNOUNCE
Pavel Sanda [Wed, 26 Jan 2011 18:35:25 +0000 (18:35 +0000)]
* ANNOUNCE

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37332 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* LFUNs.lyx
Pavel Sanda [Wed, 26 Jan 2011 18:24:53 +0000 (18:24 +0000)]
* LFUNs.lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37331 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* RELEASE-NOTES
Pavel Sanda [Wed, 26 Jan 2011 18:20:22 +0000 (18:20 +0000)]
* RELEASE-NOTES

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37330 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix thinko from r37328.
Richard Heck [Wed, 26 Jan 2011 14:27:16 +0000 (14:27 +0000)]
Fix thinko from r37328.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37329 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUnify handling of pass thru insets and paragraphs by introducing Paragraph::isPassThr...
Jean-Marc Lasgouttes [Wed, 26 Jan 2011 11:04:42 +0000 (11:04 +0000)]
Unify handling of pass thru insets and paragraphs by introducing Paragraph::isPassThru. Many lfuns are now disabled in sweave chunks.

Also, fix #7175 (do not output \noindent in passthru pars)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37328 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agointroduce the lyx_dir() of Package, automatically set LyXDir environment, correct...
Stephan Witt [Tue, 25 Jan 2011 21:10:49 +0000 (21:10 +0000)]
introduce the lyx_dir() of Package, automatically set LyXDir environment, correct the replaceEnvironmentPath() function (see #4177) and replace environment variables in path_prefix at runtime

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37326 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoforbid spellchecking in code layouts
Jean-Marc Lasgouttes [Tue, 25 Jan 2011 14:17:07 +0000 (14:17 +0000)]
forbid spellchecking in code layouts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37324 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd and document build types profinling and gprof. Some clean up of build_type code...
Jean-Marc Lasgouttes [Tue, 25 Jan 2011 13:49:49 +0000 (13:49 +0000)]
Add and document build types profinling and gprof. Some clean up of build_type code in configure

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37323 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agobetter fix to #7239. Actually the whole switch and kaboodle (see r37229) is needed...
Jean-Marc Lasgouttes [Tue, 25 Jan 2011 11:22:47 +0000 (11:22 +0000)]
better fix to #7239. Actually the whole switch and kaboodle (see r37229) is needed (otherwise sweave is broken)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37322 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMS Word converter -> HTML (MS Word) converter
Pavel Sanda [Tue, 25 Jan 2011 10:26:29 +0000 (10:26 +0000)]
MS Word converter -> HTML (MS Word) converter
Patch from Alex Fernandez.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37321 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7254 (LyX may insert a blank line when ending an environment)
Enrico Forestieri [Mon, 24 Jan 2011 23:58:58 +0000 (23:58 +0000)]
Fix bug #7254 (LyX may insert a blank line when ending an environment)
The quick solution is to output a % sign before \n. The better one
would be doing as in mathed, but it is not so straightforward.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37320 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoadjust distributed default lyxrc for mac, spell_command is outdated (r37255)
Stephan Witt [Mon, 24 Jan 2011 16:30:06 +0000 (16:30 +0000)]
adjust distributed default lyxrc for mac, spell_command is outdated (r37255)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37319 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix c&p bug
Peter Kümmel [Mon, 24 Jan 2011 15:06:39 +0000 (15:06 +0000)]
fix c&p bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37318 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: also add gifs to resources
Peter Kümmel [Mon, 24 Jan 2011 11:50:13 +0000 (11:50 +0000)]
cmake: also add gifs to resources

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37317 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoremove obsolete code: we have now a animation to indicate that LyX is busy
Peter Kümmel [Mon, 24 Jan 2011 11:38:13 +0000 (11:38 +0000)]
remove obsolete code: we have now a animation to indicate that LyX is busy

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37316 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoSpotted by Jim.
Pavel Sanda [Mon, 24 Jan 2011 10:47:01 +0000 (10:47 +0000)]
Spotted by Jim.
These newlines go directly to about dialog and look weird.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37315 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sv.po from Jim Rotmalm
Pavel Sanda [Mon, 24 Jan 2011 10:38:33 +0000 (10:38 +0000)]
* sv.po from Jim Rotmalm

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37314 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago#7149 correct current_view_ or add checks for it for: LFUN_WINDOW_CLOSE,LFUN_SET_COLO...
Stephan Witt [Mon, 24 Jan 2011 10:13:18 +0000 (10:13 +0000)]
#7149 correct current_view_ or add checks for it for: LFUN_WINDOW_CLOSE,LFUN_SET_COLOR,LFUN_SERVER_GET_FILENAME and LFUN_BOOKMARK_GOTO

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37313 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* LaTeX.cpp: recognize etaremune rerun request.
Jürgen Spitzmüller [Mon, 24 Jan 2011 09:47:58 +0000 (09:47 +0000)]
* LaTeX.cpp: recognize etaremune rerun request.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37311 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix ticket #7260: Error when opening all floats, when a figure contains a \textcompwo...
Jean-Marc Lasgouttes [Mon, 24 Jan 2011 09:40:57 +0000 (09:40 +0000)]
Fix ticket #7260: Error when opening all floats, when a figure contains a \textcompwordmark command.

Actually, this was an oversight in r33226. There is no need to touch the physical cursor in this method.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37310 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate credits.
Pavel Sanda [Mon, 24 Jan 2011 09:18:24 +0000 (09:18 +0000)]
Update credits.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37308 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agosince r37306 tex2lyx uses src/LayoutFile too
Stephan Witt [Mon, 24 Jan 2011 08:34:31 +0000 (08:34 +0000)]
since r37306 tex2lyx uses src/LayoutFile too

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37307 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoNext step towards a working roundtrip of files generated by LyX:
Georg Baum [Sun, 23 Jan 2011 21:10:20 +0000 (21:10 +0000)]
Next step towards a working roundtrip of files generated by LyX:
Try to recognize modules.
Again, this is needed because the complete LyX preamble is ignored.
It is not possible to recognize a module in all cases, but at least the simple
ones are handled now. As a prerequisite I also had to revive the filling of
known_environments. This has been removed (probably by accident) some time ago.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37306 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMake r37304 work for builds made from packaged sources
Georg Baum [Sun, 23 Jan 2011 19:57:39 +0000 (19:57 +0000)]
Make r37304 work for builds made from packaged sources

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37305 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoadd busy spinner to status bar when threads are running in the background
Edwin Leuven [Sun, 23 Jan 2011 09:17:52 +0000 (09:17 +0000)]
add busy spinner to status bar when threads are running in the background

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37304 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: add ui files
Peter Kümmel [Sat, 22 Jan 2011 18:58:26 +0000 (18:58 +0000)]
cmake: add ui files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37303 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: install path is already relative to the binary dir when the path is not absolute
Peter Kümmel [Sat, 22 Jan 2011 15:14:47 +0000 (15:14 +0000)]
cmake: install path is already relative to the binary dir when the path is not absolute

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37302 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agodescribe package commands for binaries
Peter Kümmel [Sat, 22 Jan 2011 12:42:54 +0000 (12:42 +0000)]
describe package commands for binaries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37301 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: make package_source work.
Peter Kümmel [Sat, 22 Jan 2011 12:40:13 +0000 (12:40 +0000)]
cmake: make package_source work.

12M lyx-2.0.tar.bz2
15M lyx-2.0.tar.gz
18M lyx-2.0.zip

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37300 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: make package_source work.
Peter Kümmel [Sat, 22 Jan 2011 12:38:54 +0000 (12:38 +0000)]
cmake: make package_source work.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37299 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate INSTALL.cmake
Peter Kümmel [Sat, 22 Jan 2011 12:19:19 +0000 (12:19 +0000)]
Update INSTALL.cmake

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37298 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoThe roundtrip of the math manual produces a compilable document now:
Georg Baum [Sat, 22 Jan 2011 12:00:33 +0000 (12:00 +0000)]
The roundtrip of the math manual produces a compilable document now:
- translate the arguments of \texorpdfstring, so that the floating footnote
  code gets enabled
- honor the ForcePlainLayout flag of insets like the Index inset
- remove hardcoded \url support, this is handled by the general Flex inset code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37297 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: don't write options changed because of dependencies into the cache, this way...
Peter Kümmel [Sat, 22 Jan 2011 11:48:39 +0000 (11:48 +0000)]
cmake: don't write options changed because of dependencies into the cache, this way it is possible to switch on/off options with all it dependencies.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37296 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agosort options by compiler
Peter Kümmel [Sat, 22 Jan 2011 11:35:50 +0000 (11:35 +0000)]
sort options by compiler

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37295 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: now having the options output at the end we could make some dependency checkin...
Peter Kümmel [Sat, 22 Jan 2011 11:23:27 +0000 (11:23 +0000)]
cmake: now having the options output at the end we could make some dependency checking for option without having an out-dated output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37294 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: make options more consistent
Peter Kümmel [Sat, 22 Jan 2011 10:53:54 +0000 (10:53 +0000)]
cmake: make options more consistent

Before we set LyX 2.0 in stone by releasing it,
I clean up the cmake's build option naming:

- only positive naming (remplace NO_, DISBALE_ names)
- short names when it is clear what the option means (no USE_)
- no redundant option RELEASE=0 is a debug build

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37293 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agomake a copy of Converters because this function is used by our export/preview threads
Peter Kümmel [Sat, 22 Jan 2011 09:30:03 +0000 (09:30 +0000)]
make a copy of Converters because this function is used by our export/preview threads
and the converters is also used by the main thread (getStatus).

LyX.exe!lyx::Buffer::doExport
LyX.exe!lyx::Buffer::preview(
LyX.exe!std::tr1::_Pmf_caller3<
LyX.exe!std::tr1::_Pmf_caller3<
LyX.exe!std::tr1::_Callable_pmf<
LyX.exe!std::tr1::_Bind3<
LyX.exe!std::tr1::_Bind_base<
LyX.exe!lyx::frontend::GuiView::GuiViewPrivate::runAndDestroy<
LyX.exe!lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(
LyX.exe!QtConcurrent::StoredFunctorCall3<
LyX.exe!QtConcurrent::RunFunctionTask(
QtCored4.dll!QThreadPoolThread::run(
QtCored4.dll!QThreadPrivate::start(
msvcr100d.dll!_callthreadstartex()
msvcr100d.dll!_threadstartex(void * ptd)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37292 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: don't show outdated build options
Peter Kümmel [Sat, 22 Jan 2011 09:27:06 +0000 (09:27 +0000)]
cmake: don't show outdated build options

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37291 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoExtend instant-preview error handling to the lilypond-book format.
Enrico Forestieri [Fri, 21 Jan 2011 22:52:03 +0000 (22:52 +0000)]
Extend instant-preview error handling to the lilypond-book format.
Patch tested by Julien Rioux.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37290 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agohandle commands from xargs.sty correctly
Georg Baum [Fri, 21 Jan 2011 21:21:58 +0000 (21:21 +0000)]
handle commands from xargs.sty correctly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37289 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7252
Georg Baum [Fri, 21 Jan 2011 19:18:27 +0000 (19:18 +0000)]
Fix bug #7252

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37288 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoTranslate all known box insets. This is needed since the super-clever preamble
Georg Baum [Fri, 21 Jan 2011 18:29:10 +0000 (18:29 +0000)]
Translate all known box insets. This is needed since the super-clever preamble
parser discards all needed packages like calc.sty or framed.sty, so the
resulting document would be uncompilable with those boxes as ERT.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37287 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix python error:
Georg Baum [Fri, 21 Jan 2011 18:23:32 +0000 (18:23 +0000)]
Fix python error:
UnboundLocalError: local variable 'elyxerfound' referenced before assignment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37286 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate years
Pavel Sanda [Fri, 21 Jan 2011 13:24:23 +0000 (13:24 +0000)]
Update years

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37284 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* cs.po
Pavel Sanda [Fri, 21 Jan 2011 13:08:33 +0000 (13:08 +0000)]
* cs.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37283 a592a061-630c-0410-9148-cb99ea01b6c8