Commit Graph

4235 Commits

Author SHA1 Message Date
Yuriy Skalko
61a80ab6d3 Merge CodingRulesAndAdvice.lyx into Development.lyx 2020-11-11 20:28:01 +02:00
Thibaut Cuvelier
857edf3ae7 DocBook: mark more tests to be ignored. 2020-11-05 05:35:53 +01:00
Thibaut Cuvelier
91d442d505 DocBook: polyglossia test now works. 2020-11-05 03:10:37 +01:00
Thibaut Cuvelier
302bed3f68 DocBook: many fixes for the user guide. 2020-11-05 02:42:03 +01:00
Thibaut Cuvelier
e424db6caf DocBook: exclude the Math docs from the tests. 2020-11-05 02:25:30 +01:00
Thibaut Cuvelier
8d33eb0351 DocBook: EmbeddedObjects is too complex to have a truly valid output. 2020-11-05 02:06:31 +01:00
Thibaut Cuvelier
f82b26e1b7 DocBook: a previous patch has unexpectedly nice consequences!
Tests that used to fail now pass (the title structure is now better handled).
2020-11-05 01:45:40 +01:00
Thibaut Cuvelier
efd6e78fcb DocBook: mark nested sidebars as allowed.
This is mostly for shapepar support, in a rare situation. Fixing this would create a lot of special cases in output_docbook.cpp, i.e. fixing the issue (which will barely happen in real life) would make maintenance much harder.
2020-11-05 00:27:29 +01:00
Thibaut Cuvelier
0ba926a3ce DocBook: implement AMS articles. 2020-11-04 22:51:18 +01:00
Thibaut Cuvelier
e36b661efe DocBook: missing inverted tests. 2020-11-04 22:51:18 +01:00
Thibaut Cuvelier
a42c5e3880 DocBook: implement AMS book. 2020-11-04 22:29:02 +01:00
Thibaut Cuvelier
0a9150b375 DocBook: ignore other KOMA-Script letters. 2020-11-04 17:31:22 +01:00
Thibaut Cuvelier
d8d64bd406 Merge tests in invertedTests, proposed by Kornel
This should improve performance when building LyX.
2020-11-02 15:39:53 +01:00
Kornel Benko
9b2790d472 Cmake tests: Do not remove temporary data while debugging
The debug mode is set with the environment LYX_DEBUG_LATEX
 $ export LYX_DEBUG_LATEX=1

The downside: From time to time the need to remove the superfluous dirs
 $ cd build-dir
 $ find autotests/out-home -name AbC_\* | xargs rm -rf
2020-11-02 13:12:56 +01:00
Thibaut Cuvelier
ebfdac4fa3 DocBook: implement svmult.
More generally, ensures that paragraphs in abstracts do not have something else configured.

A major problem in making the layout more useful is that article titles are not supposed to be in TOC.
2020-11-02 04:30:39 +01:00
Thibaut Cuvelier
3808787c80 DocBook: more tests to be ignored. 2020-11-02 03:11:28 +01:00
Thibaut Cuvelier
d9d5bb9324 DocBook: implement DIN-Brief. 2020-11-02 03:03:24 +01:00
Thibaut Cuvelier
d1a732f696 DocBook: ignore obsolete document layouts, at least for now. 2020-11-02 02:22:48 +01:00
Thibaut Cuvelier
4f4ac2b5e4 DocBook: write correctly the lists of tests that are expected to fail, with the language instead of .*. 2020-11-02 01:51:40 +01:00
Scott Kostyshak
3d21e70e83 ctests: uninvert some unicode ctests
Thanks to an update of the "menukey" package, these exports now
succeed. For more information, see 33228178.
2020-11-01 13:26:03 -05:00
Thibaut Cuvelier
4ea841fe24 DocBook: implement other letter classes (frletter, standard letter, KOMA-Script).
I gave up on G-Brief, it's too far from the other classes.
2020-11-01 04:41:16 +01:00
Thibaut Cuvelier
78e1297e82 DocBook: implement French letter. 2020-11-01 03:51:15 +01:00
Thibaut Cuvelier
225cf7e3d4 DocBook: mark more presentations as expected failures. 2020-11-01 02:53:03 +01:00
Thibaut Cuvelier
d8e097686a DocBook: implement Hollywood layout. 2020-11-01 02:53:03 +01:00
Eugene Chornyi
f0fdf5ebb3 Wininstaller2: Imagemagick should be able to find ghostscript binaries 2020-10-31 11:15:45 +01:00
Scott Kostyshak
10a2361244 ctests: invert JASA tests, consistent with Seminar
These tests are failing for the same reason as the Seminar tests.
See 1aa4987b.
2020-10-30 19:56:07 -04:00
Scott Kostyshak
1aa4987b2f Address failures of Seminar examples on new TL20
Compilation of our Seminar example file fails on updated TL20. The
maintainer of "Seminar" is not planning to fix the core issue and
states the following (in a private email with permission to quote):

  it is a problem with the new hook management of the current latex.ltx
  seminar is a quite old package and there is no reason to use it with a
  new LaTeX format. It won't be fixed, so the usual way is to use the
  package latexrealease to get the old hook management.

This commit adds a note to the example files explaining the
workaround of exporting to a .tex file and prepending the following
line:

  \RequirePackage[2020-02-02]{latexrelease}

We now invert the relevant tests.
2020-10-29 23:29:26 -04:00
Thibaut Cuvelier
df0ea858ed DocBook: use the same normalisation for biblio IDs and their references. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
2e8bffa3c5 DocBook: update test suite.
Still an unexplained failure: for basic, in the test suite, the .bib file is not found; with the GUI, it is found.
2020-10-30 01:59:34 +01:00
Scott Kostyshak
c9fd498a7f ctests: Invert some tests for new ru Additional
These inversions are consistent with ru Math manual tests.
2020-10-29 16:08:32 -04:00
Kornel Benko
2ec243d47b Cmake build: Fine tuning
1.) If building with external iconv, remove remnants of libiconv data
  created if previousy used internal iconv
2.) Remove the variable HELP from cache to enable subsequent builds.
  (Different variable-handling on new cmake (version >= 3.18))
3.) New macro to extract cmake-known-cxx-sts features
4.) Check for CXX11-features only for a subset of possibilities
  known by the used cmake
2020-10-28 23:12:03 +01:00
Scott Kostyshak
33228178a8 ctests: invert unicode failures from menukeys pack
The issue is already reported and it seems a fix could be released
soon (in which case we will uninvert the tests):

  https://github.com/tweh/menukeys/issues/59
2020-10-28 16:37:51 -04:00
Scott Kostyshak
35d3ccf75b ctests: ignore zh_CN dvi3_systemF tests
These exports had wrong output before, and now (on updated TL20)
they fail with the following error message:

  DVI output is not supported in LuaTeX-ja
2020-10-27 23:08:25 -04:00
Richard Kimberly Heck
08a1f5e14e No need to specify qt5 2020-10-26 15:29:21 -04:00
Richard Kimberly Heck
a939527945 Update build script again 2020-10-25 11:54:37 -04:00
Kornel Benko
2dbf351542 Distribution: Added some missing files 2020-10-25 16:38:00 +01:00
Richard Kimberly Heck
904d960d6a typo 2020-10-24 23:24:28 -04:00
Richard Kimberly Heck
c4620152ce Update lyx-build script 2020-10-24 23:23:56 -04:00
Scott Kostyshak
2c1753a526 CMake: comment out c++20 for now
We currently get errors with internal boost and also from LyX code.
2020-10-23 17:13:25 -04:00
Kornel Benko
6869c3adff Amend 39996524: Satisfy older cmake versions 2020-10-23 13:25:49 +02:00
Kornel Benko
d954a6b09c Cmake build: Next try to use of '--std=c++17' for gnu compiler"
Setting CMAKE_CXX_STANDARD explicitly, so that cmake can use
correct cxx-flags
2020-10-22 13:46:29 +02:00
Kornel Benko
d3c16d0496 Revert "cmake build: Allow use of '--std=c++17' for gnu compiler"
This reverts commit a906676c89.
2020-10-22 12:04:41 +02:00
Kornel Benko
a906676c89 cmake build: Allow use of '--std=c++17' for gnu compiler 2020-10-21 18:27:23 +02:00
Scott Kostyshak
fe1cbc06c3 CMake deb: support "python2 | python3" dependency
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".
2020-10-20 13:04:41 -04:00
Scott Kostyshak
334552ade5 CMake deb: update python2 requirement
Synchronize with README: >= 2.7.
2020-10-19 15:08:31 -04:00
Kornel Benko
26f3dfe45d Amend 3a452a24: DocBook: disable an inverted test for a LyX bug.
The disabled test has to appear before the regex for enabled tests
2020-10-18 10:10:46 +02:00
Thibaut Cuvelier
3a452a240b DocBook: disable an inverted test for a LyX bug. 2020-10-18 08:23:36 +02:00
Thibaut Cuvelier
f3c22f3b95 DocBook: dummy documents from the docs are not complete. 2020-10-18 08:23:36 +02:00
Kornel Benko
b940a81520 Amend 31ad4d6e: DocBook: move tests to inverted instead of ignored.
Allow inverted tests without explicit language setting in testname
2020-10-17 12:58:30 +02:00
Thibaut Cuvelier
31ad4d6e21 DocBook: move tests to inverted instead of ignored.
LyX should still avoid crashing on those, and if they start to pass, then something is wrong (most likely, a very large part of the files is being ignored).
2020-10-17 05:55:16 +02:00