Commit Graph

3660 Commits

Author SHA1 Message Date
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
Kornel Benko
6011d6cdca Cmake build: Install subscript.sty only for WIN32 (using MikTeX) 2017-11-05 17:06:38 +01:00
Uwe Stöhr
ad5e8887d2 Win installer: update RC format 2017-11-02 21:48:10 +01:00
Uwe Stöhr
3a6abf2847 Win installer: final changes for 2.3-RC1
- fix detection of 64bit Krita and 64bit JabRef
- JabRef is no longer installed with the bundle installer
2017-11-01 14:33:03 +01:00
Uwe Stöhr
8757550015 Win installer: fix a MiKTeX package issue
since a few months MiKTeX's package manager required the option "--admin" when calling it with admin privileges

- also register the .lyx21 file extension for LyX 2.3
- also update the LyXRC version number
2017-10-31 22:15:54 +01:00
Kornel Benko
51e32a36d6 cmake documentation handling: sort out encoding problems.
Let srcipt work under Python2 and Python3,
also if the locale is not set to utf8.

Patch from Günter Milde, sort of cherry-pick from 9086db662d
2017-10-29 09:49:39 +01:00
Uwe Stöhr
61a703a9c0 Win installer: correct name for RC1 2017-10-28 13:12:52 +02:00
Uwe Stöhr
7d39f4af04 Win installer: updates for 2.3RC1 2017-10-28 02:23:33 +02:00
Uwe Stöhr
3d4358f101 Makefile.am: add missing cmake file 2017-10-28 02:21:09 +02:00
Kornel Benko
d8a31f1ee6 Cmake export tests: Collect list of all used wrong paths before terminating
Also try to ignore references for files that are part of latex. If they are wrong, so
latex should handle the errors.
2017-10-27 13:22:17 +02:00
Kornel Benko
6720a8ca7c Cmake export tests: Add the die-message to the diestack() param.
Spotted by Scott.
2017-10-26 22:43:24 +02:00
Kornel Benko
d63a866106 Cmake export tests: Make test fail if there is some non-existant sub-file 2017-10-26 21:48:33 +02:00
Jean-Marc Lasgouttes
8d8988de47 Allow multiple calls to processUpdateFlags before redraw
The goal of this commit is to ensure that a processUpdateFlags call
that requires no redraw will not override a previous one that did
require a redraw.

To this end, the semantics of the flag argument is now different: its
value is now OR'ed with a private update_flags_ variable. This
variable is only reset after the buffer view has actually been
redrawn.

A new Update::ForceRedraw flag has been added. It requires a full
redraw but no metrics computation. It is not used in the main code
(yet), but avoids to compute metrics repeatedly in consecutive
processUpdateFlags calls.

The process is now as follows:
- if flags is just None, return immediately, there is nothing to do.
- the Force flag is honored (full metrics computation) and replaced
  with ForceDraw.
- the FitCursor flag is honored and removed from the flags.
- the SinglePar update is added if ForceDraw is not in flags and only
  the current par has been modified.

The remaining flags are only then added to the BufferView update
flags, and the update strategy is computed for the next paint event.

Finally the dubious call to updateMacros in updateMetrics has been
removed for performance reasons.
2017-10-24 22:25:29 +02:00