Commit Graph

2812 Commits

Author SHA1 Message Date
Kornel Benko
7ecbb06888 cmake export tests.
Define new policy of what export formats to check.
Depending on default_output_format
default or unset           xhtml, dvi*, pdf*
xhtml                      xhtml
any of pfd variants        xhtml, pdf*
any of dvi variants        xhtml, dvi*
each other (like eps3)     as specified
2014-03-16 09:57:31 +01:00
Benjamin Piwowarski
26fad1b79c Fix typo in configFunctions.h (wrong define for the header) 2014-03-13 08:28:06 +01:00
Kornel Benko
59f4d0d753 ctest export: smal improvements
1.) Use of regex to ignore group of tests
2.) If default output format is pdf2(pdflatex), the try to check also
  for xelatex and lualatex
2014-03-12 17:15:07 +01:00
Uwe Stöhr
2dd55a1778 installer: fix bug in dictionary installation
- we have a new dictionary and a new thesaurus so that we must increase the search list
- update the dictionary mirror list
2014-03-10 22:08:21 +01:00
Vincent van Ravesteijn
3f771c96d3 Fix EOLs 2014-03-10 21:04:25 +01:00
Kornel Benko
aea5e80f45 Typo 2014-03-10 13:39:31 +01:00
Kornel Benko
39c79a72be ctests: pdf export for korean documents
Use Nanum-font for tests to get a readable pdf with luatatex/xelatex
2014-03-10 13:33:46 +01:00
Stephan Witt
dff79377f4 add the background image to distribution tarball 2014-03-09 19:49:31 +01:00
Uwe Stöhr
ea05826908 installer: cleaner support for splitindex and pdfcrop
- it turned out that the hack to install a stripped-down Perl directly to MiKTEX is not only error-prone, requires admin permission but that it is also not safe because MiKTeX changes the folder structure from time to time. With the new solution Perl is installed directly for LyX like we do for ImageMagick, Python etc.
- for pdfcrop support there is a bug in pdfcriop that the requirement is hardcoded to Ghostscript 32bit - I contacted the pdfcrop author to fix this
2014-03-09 18:19:58 +01:00
Uwe Stöhr
fc3d1bcbb4 installer: update package list for LyX 2.1 2014-03-09 18:16:20 +01:00
Uwe Stöhr
00f8bfcae5 installer: fix potential serious bug 2014-03-09 07:57:47 +01:00
Uwe Stöhr
f14109c98f installer: update the changelog 2014-03-08 18:27:34 +01:00
Uwe Stöhr
e80dde776b installer: add new dictionary names
- also correct 2 file sizes
2014-03-08 00:25:22 +01:00
Uwe Stöhr
e165ff18be installer: update dictionary list
- there is now a Turkmen spell checker
- there is now a Galician thesaurus available
2014-03-07 00:24:28 +01:00
Benjamin Piwowarski
908c92e831 Updates to AppleScript support, and documentaoin for it. 2014-03-05 15:46:27 -05:00
Stephan Witt
222ef85664 improved Qt frameworks packaging on Mac 2014-03-04 22:28:40 +01:00
Stephan Witt
aea9c4fc1b avoid deployment of debug version of qt plugins 2014-03-01 10:23:31 +01:00
Kornel Benko
2127cde4ee Export test for french EmbeddedObjects with dvi3 and system fonts working now 2014-02-27 08:55:38 +01:00
Scott Kostyshak
7409b5e18a Fix a broken autotest
This test was broken after wrap-around search was implemented. From
what I understand, the point of the test is that search should _not_
match in this case because "ignore format" is checked by default.
Thus, a new way of testing that there was no match is to check whether
the wrap around message shows up, because the cursor is initially at
the beginning so that would mean that the entire buffer was checked.

I confirmed that the test now works by checking that it passes and
checking that it fails if "ignore format" is unchecked. Although this
test is still fragile, it is fragile in a conservative way (i.e. it
will give false failures rather than false passes). It will fail if
the Italian translation changes, if "ignore format" is unchecked by
default, or if the wrap-around mechanism changes (e.g. does not ask if
the cursor started at the beginning of the buffer).
2014-02-24 08:10:34 -05:00
Uwe Stöhr
c3de934350 installer: uninstall JabRef also silently if necessary 2014-02-19 01:23:31 +01:00
Uwe Stöhr
0112a2f922 installer: set a safe guard 2014-02-19 01:14:20 +01:00
Uwe Stöhr
2dc0ec25d3 installer: enable to run it silently 2014-02-18 02:15:53 +01:00
Jean-Marc Lasgouttes
2b1791641f Fix various typos in LFUNs.lyx 2014-02-13 14:20:43 +01:00
Jean-Marc Lasgouttes
4ec02b46b5 Improve autotools support for generating LFUNs.lyx
The tqrget now works properly when out of source directory qnd uses the $(PYTHON) variable. Also, the use of the error() function has been fixed in the gen_lfun.py script.
2014-02-13 13:28:41 +01:00
Juergen Spitzmueller
ea25b62b1b again update FUNs.lyx 2014-02-13 10:44:12 +01:00
Juergen Spitzmueller
f1531b2f90 LFUNs.lyx improvements 2014-02-13 09:55:40 +01:00
Juergen Spitzmueller
2a0247ee30 Some improvements to the LFUNS generation script 2014-02-10 08:35:49 +01:00
Vincent van Ravesteijn
eb219e1130 CMake: Regenerate deleted gmo files 2014-02-03 21:19:33 +01:00
Vincent van Ravesteijn
181e64c724 CMake: Put the docs projects in a subdirectory 2014-02-03 20:07:14 +01:00
Vincent van Ravesteijn
f63221aba4 CMake: Add target update-gmo
This target will update the gmo files if and only if the associated
po-file is modified. To determine whether a file is modified, 'git
status --porcelain' is used.

This follows up on commit 06782542.
2014-02-03 20:07:12 +01:00
Vincent van Ravesteijn
ebaead1075 Revert "installer: support new LyX helper programs"
These files are only used by the tests and should not be installed.

This reverts commit fc400ae8eb.
2014-02-02 14:31:35 +01:00
Kornel Benko
f36ea42b5e Cmake build: Prepare lyx2lyx tests to use the python executable found at configure time 2014-01-31 19:10:23 +01:00
Richard Heck
94956d391a Update build script.
(cherry picked from commit ef0fc5732f)
2014-01-31 09:44:06 -05:00
Kornel Benko
30b6c83164 Use prototypes in perl scripts 2014-01-24 11:00:07 +01:00
Scott Kostyshak
2ddf66a71d Ctests: fix "read failed" errors for the URL tests
This patch changes the user agent and results in the openoffice.org
tests correctly passing. Before, they would give the following error:

  Failed, caught error: Status read failed: Connection reset by peer

All the other tests work as before.
Kornel and I are not sure why this change works.
2014-01-23 11:14:31 -05:00
Kornel Benko
83071a2392 Ctests perl scripts: Added use of prototypes 2014-01-10 12:34:40 +01:00
Kornel Benko
037d474360 Cmake url tests: Use try - catch mechanism while testing urls.
If a perl-submodule exits with 'die()', the process would stop
and the following urls would not be tested.
The bug detection and idea how to solve it: Scott Kostyshak.
2014-01-08 13:36:30 +01:00
Kornel Benko
10ffbd787a Cmake build: White space + simplification 2014-01-05 10:02:29 +01:00
Kornel Benko
90cb7c1492 Cmake tests for check load of lyx-files
Do not interpret reconfigure output of lyx as test-error.
2013-12-26 10:29:34 +01:00
Scott Kostyshak
6f41779f5d JASATeX: add note that it fails with system fonts
The JASATeX class is currently unmaintained. Also, this
commit moves the system font tests from inverted to ignored
(otherwise lualatex and xelatex run in infinite loops).
2013-12-25 23:28:48 -05:00
Scott Kostyshak
149cc66e69 ctests: invert the ctex TeX font test
They are not supposed to work yet.
2013-12-25 23:28:48 -05:00
Scott Kostyshak
df77b2db0e ctests: invert tests that are expected to fail
For many of these XeTeX or LuaTeX does not yet support
using TeX fonts for certain languages. The others fail
because, as Jürgen explains, they have excessive preamble
code that is only targeted at (pdf)latex.
2013-12-17 01:52:22 -05:00
Kornel Benko
997035fe66 Cmake tests: Expand export tests for luatex and xetex
Citing Scott:
In our current set up, we are currently testing XeTeX and LuaTeX
either with system fonts or with TeX fonts but never both. We should
test with both in my opinion. We will have to ignore/invert many tests
but it still seems useful. For example Günter fixed babel-greek so
that it works now with TeX fonts; and Jürgen found some errors in LyX
that were causing some of the English docs to fail with system fonts.
Currently we only test greek documents with system fonts and we only
test English documents with TeX fonts.

This change adds the missing test-cases.
2013-12-16 11:36:36 +01:00
Kornel Benko
499c5cfe57 Adapt cmake build to use c++11 features also for clang compiler 2013-12-15 11:41:28 +01:00
Scott Kostyshak
e27ba681ac ctests: use Chinese roman font for zh docs 2013-12-12 23:44:41 -05:00
Scott Kostyshak
1bbf126b94 ctests: non-TeX Ukrainian+LuaTeX is not supported
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181690.html

Thanks to Günter Milde for the advice.
2013-12-12 23:44:39 -05:00
Georg Baum
bbdff9996f Make sty file parser fit for mdsymbol.sty
Now it is able to generate a lib/symbols section from mdsymbol.sty.
2013-12-11 21:07:59 +01:00
Scott Kostyshak
a3f0ed3bc4 ctests: LuaTeX does not support Farsi yet
See (thanks to Uwe for the link):
ccb0e9e2c6

We thus invert the LuaTeX Farsi tests.

All inverted tests now have explanations for why they are not
currently expected to work.
2013-12-07 12:25:51 -05:00
Scott Kostyshak
09a5d195dc ctests: babel-greek was fixed
We can now test for regressions in the Greek docs for
XeTeX and LuaTeX export with FreeSans.

(Also some Indonesian tests were missing from revertedTests.)
2013-12-07 12:17:52 -05:00
Kornel Benko
9422053f49 Cmake test environment.
Expanded search for an image to \ecvpicture{} in the preamble.
2013-12-07 13:06:27 +01:00