Commit Graph

3672 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
63a4e82874 Add support for enchant 2.x
As of enchant 2.x, it is required to create a Broker instance instead
of relying on a static one provided by the library.

Add autoconf and cmake (courtesy of Kornel) tests that check whether
one can indeed instantiate a Broker object, and act on the result in a
new broker() helper function.

Fixes bug #10986.
2018-01-30 12:11:22 +01:00
Kornel Benko
1e78772291 Cmake tests: New lyx2lyx tests
Created by Günter Milde, after having corrected plenty of lyx2lyx errors
showing with repeated lyx2lyx calls.
2018-01-24 20:56:21 +01:00
Uwe Stöhr
fe00302403 Win installer: upgrade to Qt 5.9.4 2018-01-24 03:26:02 +01:00
Uwe Stöhr
dceb7e393d build5*.bat: update to Qt 5.9.4
- also adjust build5-2015-x64.bat
2018-01-24 01:18:32 +01:00
Kornel Benko
40e32d4d27 lyx2lyx tests: Check for possible endless expansion
If, after the 10th iteration, the exported lyx16x file still
differs from the one in the previous iteration, the test
is marked as failing, even if still loadable.
2018-01-22 14:43:50 +01:00
Kornel Benko
c7cd1e636c Revert "ctests: Ignore lyx2lyx warnings regarding ligature dashes"
Amends 9ce5d85: Prevent rows of hyphens becoming dashes when back-porting to 2.1.

This reverts commit a5a272ece3.
2018-01-18 08:11:53 +01:00
Scott Kostyshak
dc06714adb ctests: invert for new ru example_lyxified.lyx
Consistent with the ru splash.lyx, we invert the texF tests for the
ru example_lyxified.lyx, which was recently added at 69ef4bc1.
2018-01-17 23:18:08 -05:00
Kornel Benko
d794a6d60d Add testfiles-references to automake build: vcs_info_export moved to new directory, part 4 2018-01-17 15:31:57 +01:00
Kornel Benko
825eebba74 tests: missed ref, vcs_info_export moved to new directory, part 3 2018-01-17 12:28:18 +01:00
Kornel Benko
26eeaa1af2 vcs_info_export moved to new directory, part 2 2018-01-17 12:25:22 +01:00
Kornel Benko
1e09b48bb5 vcs_info_export moved to new directory 2018-01-17 12:09:18 +01:00
Scott Kostyshak
39c22913a2 ctest comment: be more clear about what "!" means
The "!" line only affects tests in that file.

This amends c6d4380c.

Thanks to Kornel for spotting this.
2018-01-17 01:08:26 -05:00
Scott Kostyshak
c6d4380c89 Comment: explain interpretation of "!"
The "!" line takes precedence, since it is first.
2018-01-15 17:28:14 -05:00
Scott Kostyshak
45ee36c0f2 Whitespace 2018-01-15 17:08:20 -05:00
Scott Kostyshak
8a656d95d4 ctests: run only pdf4_systemF for ja knitr/sweave
The "bxjsarticle" class only supports export with XeLaTeX and system
fonts.

This commit uses the new exclusion functionality introduced at
10cd5dd2.

The following tests are now ignored:

  export/examples/ja/knitr_dvi
  export/examples/ja/knitr_pdf
  export/examples/ja/knitr_pdf3
  export/examples/ja/sweave_dvi
  export/examples/ja/sweave_pdf
  export/examples/ja/sweave_pdf3

The following tests are no longer ignored:

  export/examples/ja/knitr_pdf4_systemF
  export/examples/ja/sweave_pdf4_systemF
2018-01-15 16:54:05 -05:00
Scott Kostyshak
10cd5dd223 ctests: allow excluding patterns
This allows us to exclude matches of certain patterns in
invertedTests, ignoredTests, unreliableTests, and suspendedTests.

To use this new functionality, prefix "!" to the pattern.

This functionality serves as a workaround in some cases to not being
able to use advanced regular expression techniques, such as
"negative lookahead", with CMake's regular expression engine.

Output of "ctest -N" is unchanged by this commit.

This functionality will be used soon (see next commits).

Patch from Kornel Benko.
2018-01-15 16:32:05 -05:00
Uwe Stöhr
6ae0ff38be Win installer: start an an RC2 installer
- also fix a typo and update a file size
2018-01-14 22:18:20 +01:00
Pavel Sanda
d3163a0bee tests: add ref 2018-01-14 15:04:47 +01:00
Pavel Sanda
3cb9e0485b tests: add ref 2018-01-14 14:56:11 +01:00
Kornel Benko
aed458f007 Cmake tests: New test for the outliner with beamer
Test idea from Pavel Šanda
Move insets down and up, then compare with expected latex output.
2018-01-14 13:47:27 +01:00
Kornel Benko
0e4456ae2e Cmake tests: Don't check in file before creating it 2018-01-06 12:05:51 +01:00
Kornel Benko
03b6ee9f06 Cmake build: Added handling for lyxrc.dist for Apple and Unix
Also added include path for magic.h, as found out by Joel Kulesza
2018-01-03 15:04:21 +01:00
Kornel Benko
c2a5a16d97 Added new testcase to check for correct VCS-Info 2018-01-01 14:05:25 +01:00
Kornel Benko
a5a272ece3 ctests: Ignore lyx2lyx warnings regarding ligature dashes
This may amend 586d16a "Fix lyx2lyx conversion of dashes."
2017-12-29 09:28:12 +01:00
Richard Heck
12f9727546 Dummy script for testing background export cancellation. 2017-12-21 18:55:40 -05:00
Scott Kostyshak
291d2f1037 ctests: invert tests for Arabic splash
The Arabic splash only compiles with XeTeX + system fonts.
2017-12-18 23:30:37 -05:00
Uwe Stöhr
88404dbfae Win installer: improvement from Yuriy
- also suppress an unnecessary message
2017-12-11 00:30:47 +01:00
Uwe Stöhr
917a72e3ec Win installer: new Russian translations thanks to Yuriy 2017-12-09 19:06:32 +01:00
Uwe Stöhr
95bcff9924 unix2dos.py: make it ready for python 3
fixes bug #10838
2017-12-08 02:08:16 +01:00
Uwe Stöhr
851782953b Win installer: code review
- use https in URLs
- remove unused code
- use variables if possible
- LyX 2.3.x won't support Windows Vista because Qt 5.9 does not and other third-party programs will follow soon
2017-12-06 15:28:22 +01:00
Uwe Stöhr
91fe8e54d2 Win installer: update rsvg-convert
- also fix some typos in the license file
2017-12-06 03:06:09 +01:00
Kornel Benko
1844d22221 Cmake build: Don't try to convert non-lyx-files.
Since they are not supposed to contain versioned strings like LYX_DIR_VER,
it is sufficient to copy them instead.
Besides, they also may be non-utf-8 coded, which would also break the conversion.
2017-11-28 19:07:24 +01:00
Uwe Stöhr
bf12cebdc0 Win installer: update to Qt 5.9.3 2017-11-24 00:16:23 +01:00
Uwe Stöhr
1c803aaa96 Win installer: check that the Win installer is not already running 2017-11-22 00:32:25 +01:00
Uwe Stöhr
54823a1cd7 Win installer: add two more required packages and correct a word
- vntex is necessary for Vietnamese, greek-fontenc for Greek
- use correct term for Farsi
2017-11-21 01:12:08 +01:00
Uwe Stöhr
081a9035cf Win installer: big file cleanup
- update the file list in Makefile.am
- don't try to build it via CMake because this requires more than CMakeLists.txt. If it should nevertheless be built via CMake the .cmake files need to be rewritten from scratch
- remove unused and outdated files
- update  an SVG file
2017-11-20 21:05:16 +01:00
Uwe Stöhr
bdea2c6139 Win installer: another update for Packages.txt
- necessary for seminar with XeTeX
2017-11-20 21:01:14 +01:00
Uwe Stöhr
4781d01746 Win installer: update package list
these are the packages required to compile all LyX doc, examples and template files that are not yet installed by MiKTeX on a fresh installation.
2017-11-20 02:32:48 +01:00
Uwe Stöhr
d4c525ee93 Win installer/lyx-standard.nsi: revert a comment that should not have been committed today 2017-11-18 16:52:23 +01:00
Uwe Stöhr
4fa92c9ff4 Win installer: add info to the main installer file version 2017-11-18 16:49:26 +01:00
Uwe Stöhr
db155fcf8b Win installer: enable support for high DPI 2017-11-18 15:25:07 +01:00
Uwe Stöhr
8d2c31ff2c Win installer: add more LaTeX packages necessary to compile all doc files 2017-11-18 14:16:00 +01:00
Kornel Benko
597dcbb5be Cmake export tests: Use pre-compiled regular expressions
The expressions are used for determining the used external files
in a lyx-source. Using pre-compiled expr makes it more readable.
2017-11-17 17:53:52 +01:00
Uwe Stöhr
fab94e0e5a Win installer: dvips is necessary for instant preview
dvips is no longer installed by default in MiKTeX
2017-11-13 21:23:32 +01:00
Uwe Stöhr
9fe1e0f8df Win installer: disable a feature
checking that the Win installer is already currently running doesn't work with the current Unicode compatible NSIS plugin
2017-11-13 01:19:45 +01:00
Uwe Stöhr
241bf7d58b Win installer: update to Qt 5.9
- also remove Qt5XML in the installer as it appears not to be used by LyX
- update to latest MikTeX installer which resolves some problems
- add a note that pdfview is not yet ready for full Unicode support
2017-11-11 18:34:25 +01:00
Jean-Marc Lasgouttes
9e2da4a3ea Remove row crc computation
This computation did not make sense anymore since we began to put the
contents in the Row object. The fact that it worked was a coincidence.

Instead, we set rows as changed() on creation and reset that once they
have been drawn. This will allow in the future for a finer definition
of what to redraw or not.

Also update the PAINTING_ANALYSIS document
2017-11-11 13:24:08 +01:00
Uwe Stöhr
d06ef7469e Win installer: make it a real Unicode program 2017-11-07 02:11:50 +01:00
Uwe Stöhr
b3ecdf74d0 Win installer: translate 2 installer sections 2017-11-05 22:37:44 +01:00
Uwe Stöhr
bece376c63 Win installer: convert the translations to Unicode
- since NSIS 3 Unicode is allowed and even required
2017-11-05 21:23:41 +01:00