Commit Graph

35643 Commits

Author SHA1 Message Date
Kornel Benko
075d903941 Prevent build of <lang>.gmo in case of error.
Given erroneous <lang>.po file, this yields to error on first call
to make. Nonetheless a new <lang>.gmo file is created. The following
calls to make do not get an error.
This patch prevents the <lang>.gmo creation on error.

Problem spotted by Scott.
2013-09-10 08:00:29 +02:00
Georg Baum
592deaa423 Remove layout and tex2lyx tests from make check
These tests need a built and configured LyX, so they do not work in the
distcheck target. They can now be called with make alltests.
2013-09-09 21:00:11 +02:00
Vincent van Ravesteijn
72f70cbe5e Fix bug #8830: Compile error with disabled NLS
The Messages::gui_lang_ variable is instantiated in the '#ifdef ENABLE_NLS' block. To prevent compile problems, we should also instantiate it when NLS is disabled.
2013-09-09 16:25:53 +02:00
Pavel Sanda
c51b091e09 * INSTALL - Solaris build should work now. 2013-09-09 02:52:01 -07:00
Jean-Marc Lasgouttes
4174da8484 Do not keep the ancilliary *.pot files after they have been used 2013-09-09 11:41:28 +02:00
Jean-Marc Lasgouttes
56e2448546 Fix compilation on Solaris 11.1 (bug #8783)
Make sure that the configure script only checks features using the C++ compiler.

Also get rid of our last C files, since they are not compiled nor distributed anyway.
2013-09-09 11:02:14 +02:00
Kornel Benko
631d019269 Changed texclass to make attic/revtex.lyx compilable 2013-09-09 10:21:20 +02:00
Pavel Sanda
3482adeed8 * Additional: add note for okular. 2013-09-07 18:39:17 -07:00
Pavel Sanda
a9d43a2c8b * Additional.lyx - next xdvi glitch spotted by Fabio. 2013-09-07 18:28:52 -07:00
Juergen Spitzmueller
8df9b24896 Add bindings for argument-insert 2013-09-07 11:11:11 +02:00
Kornel Benko
5d1b9fc92f Typos 2013-09-07 09:40:43 +02:00
Kornel Benko
f57e8b98ea Cmake build tests: Label also layoyt tests 2013-09-07 09:27:40 +02:00
Kornel Benko
f2553ebf6c Cmake build tests: Threadsafety and test-labeling
The tests are now more robust if ctest uses '-j' (number of threads) parameter.
a.) keytests are running in sequence and in one thread only, no other thread running
b.) tex2lyx tests are locking in respect to each other
c.) Test gets one or more labels, so that we can select
        ctest -L url
  to run tests labeled url
d.) New macro settestlabel() to add labels to a test
2013-09-07 09:25:02 +02:00
Scott Kostyshak
1a96a9cf72 xyfigure, xypic: parser warnings and typesetting
This fixes several long "unusual contents found" warnings that
were being written from LyX's math parser and improves the
typesetting.

Thank you to Enrico for the fix. See here for his explanation:

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg180763.html

There are still two such warnings that might indeed be serious,
one each in fr/xypic.lyx and ja/xypic.lyx. I get an assertion
from cursor movement in those insets with instant preview enabled
(on both current trunk and branch).
2013-09-07 00:55:24 -04:00
Scott Kostyshak
dbd3e5a0f8 Remove diagnostic code that slipped in
I did not intend to commit this piece of diagnostic code
in a0f6b09a.
2013-09-06 22:22:23 -04:00
Uwe Stöhr
5435701af1 ia.po: updates from Giovanni 2013-09-07 02:49:27 +02:00
Kornel Benko
95c4d7caf9 Cmake build tests: Make the tests for valid urls available to public
These tests already proved being valuable.
2013-09-06 15:03:47 +02:00
Kornel Benko
0a779e9543 Cmake build: Move default for man-pages to /usr/local/man
and at the same time make it configurable.
Until now it was hard wired to a subdirectory of installed lyx.
2013-09-06 14:56:31 +02:00
Helge Hafting
689390592c Big translation update for nb.po 2013-09-05 23:07:27 +02:00
Pavel Sanda
b32b5c7949 * Additional.lyx - fix lyxeditor.sh example.
Different shells seem to have different taste.
http://www.mail-archive.com/lyx-users@lists.lyx.org/
2013-09-05 11:00:26 -07:00
Juergen Spitzmueller
19845612ae Adjust svmono example to default tocdepth value 2013-09-05 12:28:47 +02:00
Juergen Spitzmueller
78f7a7fb10 svmono.layout: correct TocDepth value 2013-09-05 12:27:59 +02:00
Juergen Spitzmueller
af8f7f808b Fix installation of springer examples 2013-09-04 13:48:08 +02:00
Juergen Spitzmueller
62b45896a7 Unify string (part of #8826) 2013-09-03 19:29:49 +02:00
Juergen Spitzmueller
4741cb99c7 Improve beamer collorary argument conversion (#8828) 2013-09-03 19:02:28 +02:00
Juergen Spitzmueller
8cd8f2d0c1 Reset arguments in theorem definition to avoid argument clash (#8827) 2013-09-03 17:44:35 +02:00
Scott Kostyshak
0f5589e2a1 Add outline-{up,down} to alt-{up,down} binding
Now when the cursor is in e.g. a Section layout, alt-<down>
will dispatch 'outline-down'. Before, it would dispatch a
'paragraph-down', which I think makes less sense.
2013-09-01 17:45:46 -04:00
Jean-Marc Lasgouttes
78780e7b38 Allow master view/update when current buffer is the master 2013-09-01 20:14:44 +02:00
Juergen Spitzmueller
d1a77eadc1 Load AMS packages before newtxmath (#8824) 2013-09-01 10:21:21 +02:00
Richard Heck
967e0db9e0 Fix obvious oversight. 2013-08-30 13:16:23 -04:00
Richard Heck
f1d1c06174 Comments only. 2013-08-30 13:03:53 -04:00
Kornel Benko
abe7eef13c Replace the remaining bad urls with accsessible ones
Now all urls we use in our provided lyx-files
(doc, examples, templates)
use urls which really exist.

(If a url was meant merely as an example,
it was not touched, but added to file 'knownInvalidURLS'.)
2013-08-30 17:28:46 +02:00
Kornel Benko
9425f9ddd7 sk.po: Some shortcuts and capitalisation 2013-08-30 12:54:54 +02:00
Juergen Spitzmueller
99d60938f9 de.po: Fix shortcut clash 2013-08-30 12:08:49 +02:00
Juergen Spitzmueller
054e3334b3 Restore translations after rev c25f339f3f 2013-08-30 11:56:55 +02:00
Juergen Spitzmueller
c25f339f3f Fix shortcut clash (#8813) 2013-08-30 11:37:48 +02:00
Juergen Spitzmueller
f9411f1f26 Catch uncodable character problem 2013-08-30 11:28:15 +02:00
Scott Kostyshak
cc0e0b1388 Remerge and update of ja.po (from Koji) 2013-08-29 17:57:39 -04:00
Kornel Benko
4f043fba4d Cmake build tests: href entries checked
Our lyx-files are referencing urls also with
a href inset. We check now also these.

search_url.pl: Added check for href
*.lyx: Corrected href
2013-08-28 19:51:19 +02:00
Kornel Benko
73e03bb7d8 Replaced some more invalid urls 2013-08-28 18:07:28 +02:00
Kornel Benko
b94d0e35d3 Replaced some invalid urls 2013-08-28 16:50:23 +02:00
Kornel Benko
bc59cf6a93 Update source list 2013-08-28 14:20:59 +02:00
Kornel Benko
8286411c81 ctests for broken URLs in URL insets of LyX docs
These tests check for broken URLs in the URL insets of
the manuals, examples, and templates.

The tests are disabled by default because the Perl interpreter
is needed.

Later on they can be activated with a flag, as follows:

  cmake ... -DLYX_ENABLE_URLTESTS=ON

but for now the connection from the TOP-CMakeLists.txt is left out.

Missing part:
        1.) Declaring an setting the option
                LYX_OPTION(ENABLE_URLTESTS  "Enable for URL tests" OFF ALL)
        2.) make the connection
                if(LYX_ENABLE_URLTESTS)
                        add_subdirectory(development/checkurls "${TOP_BINARY_DIR}/checkurls")
                endif()
2013-08-28 12:17:40 +02:00
Scott Kostyshak
ab891a653c ja.po from Koji 2013-08-27 14:34:05 -04:00
Scott Kostyshak
4d2dfe046f Japanse docs: Remove non-arg 'MenuString'
'MenuString' is currently implemented only for arguments.
2013-08-27 04:54:28 -04:00
Kornel Benko
29381d2b52 Copyright 2013-08-26 22:06:01 +02:00
Kornel Benko
1a1ee97758 Cmake build tests: Create directory neede for testing
While testing exports, we need a directory for created mess,
which we use then as working directory.
2013-08-26 22:02:20 +02:00
Tommaso Cucinotta
cd84a3024d Now an attempt to export into a folder without write permission causes LyX to automatically pop-up the "Export As" dialog (addressing #3402). 2013-08-26 11:28:07 +01:00
Pavel Sanda
778cff1cff Comment from bug #8783. 2013-08-25 21:30:04 -07:00
Kornel Benko
acdfceac71 Cmake build tests: update comments
ignoredTests: add comment
expectedTestFailures: update the set of bad tests
2013-08-25 18:18:19 +02:00