Commit Graph

4403 Commits

Author SHA1 Message Date
Scott Kostyshak
cf5f4c2061 ctests: for log, specify benefit is quick fixes
In the cost/benefit log, most of the bugs would have been discovered
eventually. The benefit of a test suite is to find bugs quickly.
2021-03-06 20:09:32 -05:00
Scott Kostyshak
cecbf5f096 ctests: log a fixed issue 2021-03-06 20:09:24 -05:00
Scott Kostyshak
279cfb9162 ctests: log a fixed issue 2021-02-19 19:19:53 -05:00
Kornel Benko
092410d88d Amend c21cd7dc: Ignore epub tests for now 2021-02-18 09:34:43 +01:00
Scott Kostyshak
783be115ff ctests: uninvert 2 docbook exports now succeeding 2021-02-18 00:58:38 -05:00
Scott Kostyshak
c21cd7dc2b Revert "Revert "Cmake export tests: Add epub-format to be tested""
Rather than revert the added epub tests, it makes more sense to
ignore them. That way it is easier to flip the switch to enable
them.

Thanks to Kornel.

This reverts commit 894977b62e.
2021-02-17 22:41:40 -05:00
Scott Kostyshak
894977b62e Revert "Cmake export tests: Add epub-format to be tested"
Revert the addition of epub tests for now since a lot of them are
failing (and are not regressions).

This reverts commit 983d327fe3.
2021-02-17 11:54:02 -05:00
Thibaut Cuvelier
5297862855 DocBook: mark dates to disallow fonts inside.
One more test passes.
2021-02-14 06:08:36 +01:00
Thibaut Cuvelier
7ee196adbf DocBook: some tests start passing with double inlines fixed. 2021-02-14 05:39:24 +01:00
Juergen Spitzmueller
11b7714fc1 Use SVG icons in itemize bullet selector
This scales much better than the current png solution, is HiDPI- and
darkmode-ready
2021-02-09 10:32:16 +01:00
Kornel Benko
983d327fe3 Cmake export tests: Add epub-format to be tested 2021-02-08 11:35:27 +01:00
Scott Kostyshak
3c16d627da ctests: log a fixed issue 2021-02-08 00:13:45 -05:00
Kornel Benko
a86864b3bb Amend f7ed7f53: Cmake + epub: Install saxon*.jar together with its licence
Thanks to Pavel
2021-02-07 16:23:46 +01:00
Stephan Witt
700f03d0c2 #11453 make LyX app icons on Mac retina ready - use the Lydia.svg from Mike 2021-02-07 13:05:59 +01:00
Kornel Benko
f7ed7f53c4 Cmake + epub: Install needed docbook files 2021-02-07 12:37:58 +01:00
Stephan Witt
f7f1b6ebae #11453 correct name of SVG to ICNS conversion utility 2021-02-06 12:42:41 +01:00
Stephan Witt
4e1541bd52 #11453 add SVG to ICNS conversion utility 2021-02-06 12:39:10 +01:00
Scott Kostyshak
7d2c80d0ef ctests: log a fixed issue 2021-02-05 22:45:14 -05:00
Scott Kostyshak
86e72d57a5 ctests: invert a few ru Embedded Objects tests
Consistent with the other Russian manuals.
2021-02-05 22:08:39 -05:00
Pavel Sanda
dded4c8ab5 make distcheck broken after old installer purge. 2021-01-31 16:33:47 +01:00
Kornel Benko
ac5534827e Cmake key-tests: These are very touchy in respect to timings
Cmake key-tests: These are very touchy in respect to timings

1.) Try to use shortcuts instead of direct command
2.) use bigger pause where needed
2021-01-29 16:11:16 +01:00
Scott Kostyshak
e581e35be3 ctests: unignore tests thanks to lyx2lyx feature
The lyx2lyx roundtrip feature added at 364532a7 fixed the
convergence of some tests so we remove them from the ignored list.
2021-01-28 13:39:23 -05:00
Scott Kostyshak
ca6051d148 ctests: log found regression and fix 2021-01-28 13:38:17 -05:00
Juergen Spitzmueller
b42c5dd7d6 Add frontispiece layout to KOMA classes 2021-01-28 10:24:28 +01:00
Scott Kostyshak
9d3dcdc1f7 ctests: add found regression and fix 2021-01-28 00:27:45 -05:00
Scott Kostyshak
a660ed24dc ctests-costs-benefits: define false positive
A false positive could either be "not a bug" or a bug that is not
worth the time or complexity to fix. For the purpose of evaluating
the tests, the distinction is not important.
2021-01-28 00:27:45 -05:00
Scott Kostyshak
157f2d02c8 ctests: ignore lyx2lyx fails due to no convergence
These exports knowingly do not pass the convergence tests because
of ERT export.
2021-01-27 20:32:44 -05:00
Scott Kostyshak
a3f591d61e ctests: log cost of recent false positive 2021-01-26 13:29:23 -05:00
Scott Kostyshak
d3065ceeb3 Start a log file to track benefit/costs of ctests
The ctests are not convenient tests. In this file we can attempt to
log the benefits and costs to using them so we can periodically
evaluate which tests we should keep and which we should get rid of.
2021-01-26 13:21:08 -05:00
Juergen Spitzmueller
0b0757916e Format incremented to 605: Extended variable table cell support
- Multicolumn now supports multiple paragraphs in non-fixed-width context.
- Multicolumn now supports valign in non-fixed-width context.
- varwidth columns now properly align horizontally and vertically.
2021-01-22 19:16:43 +01:00
Kornel Benko
53084dbfd8 CMake: in Hunspell ABI check only link if external
(Thanks Scott for the patch and comment)

For the HAVE_HUNSPELL_CXXABI check, only test a (real) link command
if an external libhunspell is used or if macOS is used (see
350a9daf). If the bundled libhunspell is used, it has not been built
yet at the point of the initial cmake command.

This commit fixes an issue when the bundled Hunspell is desired.
Before, the test command would still attempt to link to the system
hunspell library. Even if the system library is available, there
could be problems if there is a mismatch of the CXX ABI. And
finally, even if the system library is available and there is no
mismatch, compiling the test file with Clang and -stdlib=libc++
seems to cause a failure when linking with the system Hunspell
library.
2021-01-20 09:39:03 +01:00
Juergen Spitzmueller
7b762ee950 Branch: Implement separate static colors in dark mode
Set colors now apply to the active mode only. Matching reversed colors
are produced for the other mode if no color is assigned yet.

File format change.
2021-01-19 17:04:04 +01:00
Juergen Spitzmueller
9a6f7ece97 Add option to revert graphics colors in dark mode (#12076)
This amends [5d47a7ee57506/lyxgit]
2021-01-18 10:46:16 +01:00
Juergen Spitzmueller
057753dc75 Allow semantic colors in branches and use semantic background color by default
Addresses most crucial part of #12075

File format change
2021-01-18 09:56:53 +01:00
Kornel Benko
8ec16f4020 Cmake tests: findadv-01 - findadv-21 working
Tests 07 and 09 corrected because of not working
shortcuts in cua env using sk/menus.bind.
2021-01-17 14:30:34 +01:00
Kornel Benko
fd5dbd61e7 Make some findadv-tests working again, more to follow
Some shortcuts in cua do not work anymore
so replacing them with virtual shortcus for tests only
seems a good way.
2021-01-15 17:13:07 +01:00
Pavel Sanda
260f9d634a Update of signatures homekeeping. 2021-01-15 14:50:18 +01:00
Richard Kimberly Heck
de6092cb6a Forgot FORMAT 2021-01-14 04:31:57 -05:00
Eugene Chornyi
475b71094f Wininstaller: remove (old) installer, installer2 becomes (new) installer 2021-01-12 17:33:44 +01:00
Scott Kostyshak
fdc4f047d6 ctests: invert old lyx2lyx tests for ar Beamer
This is consistent with the lyx2lyx tests for Beamer in other
languages.
2021-01-09 13:01:26 -05:00
Scott Kostyshak
5fb3171eeb ctests: invert ru Shortcuts failures from varioref
Consistent with ru Math and Additional.
2021-01-07 20:12:05 -05:00
Scott Kostyshak
decbb308e8 ctests: invert ar Beamer template
DocBook export is not expected to work with Beamer templates.
2021-01-06 22:54:53 -05:00
Scott Kostyshak
c13d16704c ctests: uninvert two docbook exports
These exports now succeed. Perhaps the broken references that were
causing them to fail were fixed.
2021-01-05 18:52:50 -05:00
Eugene Chornyi
aaca6b24f1 Fix bug 9961
remove the error message for not finding a pdf viewer (apparently empty string is returned by FindExecutable if the executable is a Windows Store app). If there is really no pdf viewer, let the Windows itself decide what to do (produce error or not and which one).
2021-01-03 20:11:49 +01:00
Kornel Benko
c07278a45c Cmake build: Syntax of AC_INIT() in configure.ac changed, adapted macro 2020-12-29 20:27:19 +01:00
Richard Kimberly Heck
469168e592 Update documentation 2020-12-29 12:03:05 -05:00
Kornel Benko
86a10281da Cmake build: Expand for possible c++20 compilation 2020-12-28 13:13:27 +01:00
Eugene Chornyi
a2e4ce1803 Wininstaller2: improved check if over installing 2020-12-12 10:04:17 +01:00
Eugene Chornyi
17c1442429 Wininstaller2: minor bugfix 2020-12-12 09:37:28 +01:00
Eugene Chornyi
bd8a9d3ce3 Wininstaller2: silently uninstall old LyX if not the same minor version 2020-12-11 22:15:02 +01:00
Kornel Benko
041b67d990 Cmake batch tests: Export changed (Added empty line) 2020-12-09 10:54:56 +01:00
Richard Kimberly Heck
52a0ffc02f Change name and email in some other files 2020-12-05 17:39:46 -05:00
Eugene Chornyi
36c64ab02d Wininstaller2: copy user preferences from previous minor release 2020-12-05 11:38:58 +01:00
Juergen Spitzmueller
e9cbd69f6e Implement Hungarian quotation marks style (#12040)
File format change
2020-12-02 17:00:40 +01:00
Kornel Benko
a171c651a6 Revert "Amend 3093789e for cmake build"
This reverts commit b3d43404f4.
2020-11-30 10:19:22 +01:00
Eugene Chornyi
baf792f1b0 Wininstaller2: small cosmetic bugfix 2020-11-30 07:02:46 +01:00
Thibaut Cuvelier
877806f208 DocBook: implement SciPoster. 2020-11-29 22:54:03 +01:00
Scott Kostyshak
16e5e1a614 ctests: invert Econometrica + LuaTeX + TeX fonts
These exports are failing on an updated TeX Live 2020. It is not
high priority to look into the underlying cause of these two
failures since TeX fonts are not commonly used with LuaTeX and the
ectaart class is not in TeX Live.
2020-11-29 14:20:40 -05:00
Kornel Benko
b3d43404f4 Amend 3093789e for cmake build 2020-11-29 10:04:54 +01:00
Kornel Benko
aea775cbc6 Cmake docbook5 tests: Use absolute path-hints for 'bibfiles' entries in lyx-file 2020-11-29 08:48:16 +01:00
Eugene Chornyi
cecdc69c3a Wininstaller2: refresh PATH before running configure
The script should find imagemagick
2020-11-28 15:28:25 +01:00
Eugene Chornyi
2adb5ebbef Wininstaller2: amend 9521834e 2020-11-28 10:37:29 +01:00
Thibaut Cuvelier
fd40dfd429 Typo. 2020-11-28 05:31:23 +01:00
Thibaut Cuvelier
a6cc62f6ee DocBook: ignore fonts in ERT.
Also, mark a Slides test as passing, because it is valid DocBook (but not really useful).
2020-11-28 05:15:34 +01:00
Thibaut Cuvelier
12d512d4e4 DocBook: implement iopart. 2020-11-28 05:08:58 +01:00
Thibaut Cuvelier
76bc063bcd DocBook: implement IEEEtran. 2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
b2ec2ff1a9 DocBook: slightly change the Copernicus template to be valid DocBook.
This is just adding an author instead of leaving the field blank.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
633a617841 DocBook: implement Copernicus.
Includes a fix when wrappers are used with empty paragraphs. The logic is probably wrong if two legit wrapped paragraphs have one empty paragraph in the middle. This is only for slightly convoluted cases... Wrapping decisions should rather be taken for a series of paragraphs at once, but it would be more complex to implement and would only solve very peculiar cases like these ones.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
14cfcf00cb DocBook: implement AEA and APA. 2020-11-28 00:51:35 +01:00
Yuriy Skalko
f3ec89cfa1 Always use std::regex
Since now minimum supported GCC is 4.9.
2020-11-27 12:39:59 +02:00
Thibaut Cuvelier
bd9dce3749 DocBook: bug fixes for JASA.
Includes more consistent behaviour for bibliographies in appendix (do the same as LyX shows the user, i.e. bibliography in appendix).
2020-11-27 05:53:46 +01:00
Thibaut Cuvelier
eea884aba2 DocBook: AASTeX is still too complicated to be fully supported. 2020-11-27 05:20:51 +01:00
Thibaut Cuvelier
3f07ae9083 DocBook: for empty figures, output a message.
This ensures that this part of the DocBook file is valid.
2020-11-27 05:19:27 +01:00
Thibaut Cuvelier
185a62e695 DocBook: in aa, fix acknowledgements. 2020-11-27 04:52:39 +01:00
Thibaut Cuvelier
0e4d8a8159 DocBook: implement IJMP C/D. 2020-11-27 04:16:48 +01:00
Thibaut Cuvelier
77fa9a6c42 DocBook: implement iucr. 2020-11-27 02:49:54 +01:00
Thibaut Cuvelier
5f488ed746 DocBook: deploy fix for acknowledgements. 2020-11-27 02:12:29 +01:00
Thibaut Cuvelier
587f1f5571 DocBook: implement Mathematical Monthly. 2020-11-27 01:54:00 +01:00
Kornel Benko
7e5b1d09f3 Cmake tests: Save the number of ignored tests in file for later review 2020-11-27 00:51:36 +01:00
Scott Kostyshak
5cf409328d ctests: invert Greek LuaTeX texF tests
These tests fail on TeX Live 2020 after a babel-greek update.
2020-11-26 11:51:39 -05:00
Thibaut Cuvelier
eeb732cd5f DocBook: implement JASA. 2020-11-26 06:55:49 +01:00
Thibaut Cuvelier
ed6fbdd249 DocBook: implement Kluwer.
Includes an assertion fix that only occurred with this example.
2020-11-26 06:41:13 +01:00
Thibaut Cuvelier
dae0640436 DocBook: implement REVTeX.
Improvements to abstract detection: it can now contain lists or anything with a higher depth.

Implement video floats.
2020-11-26 06:22:27 +01:00
Eugene Chornyi
9521834e3a Wininstaller2: auto select downloading dictionary of the same language as the UI of users Windows
include Russian and Portuguese languages by default
2020-11-25 22:00:34 +01:00
Scott Kostyshak
39b3a9b855 ctests: ignore the new lt pdf4 texF test
This document is not meant to be used to test XeTeX with TeX fonts.
2020-11-22 23:50:41 -05:00
Günter Milde
1a87fcf94e ctests: some compilation errors fixed with last TeXLive update.
Change tag to "unreliable.varying_versions".
2020-11-22 22:16:57 +01:00
Thibaut Cuvelier
1176fab1d4 DocBook: make InsetText respect tag types. 2020-11-20 18:41:03 +01:00
Eugene Chornyi
77f4d162a0 CMake fix but where Perl not found on Windows 2020-11-18 19:17:44 +01:00
Scott Kostyshak
ebbedd9e91 ctests: uninvert an export that passes now
The export inputenc-luatex-utf8_pdf5_texF has been succeeding for a
while and was likely fixed by a TeX Live update. Compiling manually
and looking at the output looks good.
2020-11-16 18:25:54 -05:00
Thibaut Cuvelier
c6fe1fbe5f DocBook: implement svglobal. 2020-11-16 20:15:34 +01:00
Yuriy Skalko
87dd31c0db Remove old duplicated files, newer are in autotests/mathmacros 2020-11-16 19:37:05 +02:00
Kornel Benko
06b09452d7 Typo in message 2020-11-16 12:40:35 +01:00
Kornel Benko
53e064ce2e Cmake export tests: Use the temporary directory for checked results
This amends also dbb72a37 (fix race condition for parallel testing)
Thanks Scott to pointing this out.
2020-11-16 12:22:33 +01:00
Thibaut Cuvelier
d64b3f5397 DocBook: implement Elsevier. 2020-11-16 06:09:03 +01:00
Thibaut Cuvelier
059b268e0d DocBook: do a little something for variable-width minipages. 2020-11-16 00:08:11 +01:00
Thibaut Cuvelier
afba0672d0 DocBook: do a little something for Sweave & co. 2020-11-15 23:54:23 +01:00
Scott Kostyshak
dbb72a370a ctests: fix race condition for parallel testing
The unicode tests would often fail when tested in parallel because
we were not exporting to unique file names. From what I understand,
a variant similar to the following race condition occurred:

1. Thread A exports to file blah.pdf.
2. Thread B exports to file blah.pdf.
3. Thread A confirms file blah.pdf exists.
4. Thread A deletes exported file blah.pdf to clean up.
5. Thread B fails to find file blah.pdf and reports a failure.
2020-11-15 17:40:02 -05:00
Thibaut Cuvelier
b75b0d2a83 DocBook: some features are not yet in the DocBook schema. 2020-11-15 21:46:11 +01:00
Thibaut Cuvelier
e94c7871cc DocBook: implement fancy color box. 2020-11-15 19:29:57 +01:00
Thibaut Cuvelier
0ed820fa0b DocBook: fix for nomenclature xml:id and glossary paragraphs.
Previously, the xml:id's were not consistent among <glossterm> in the text and <glossentry> in the glossary.
2020-11-15 18:43:58 +01:00