Commit Graph

4504 Commits

Author SHA1 Message Date
Scott Kostyshak
83c72a3ece ctests: invert a bug from old routine
A test from a recent file, KOMA-Script_Book.lyx, uncovered this
issue. It is an old routine so not critical to fix.

The following is the diff that prevents convergence:

   \begin_inset Newpage cleardoublepage
   \end_inset

   \end_layout

   \begin_layout Standard

If convert_bibtex_clearpage(document) in lyx_2_0.py is commented out, then
the test passes.
2023-01-05 12:55:54 -05:00
Stephan Witt
102a68dd6a Care for Qt5 LTS support for macos 2022-12-30 23:37:54 +01:00
Stephan Witt
a10844a531 Care for weird Qt6 package install location of developer tools (moc, uic etc). 2022-12-30 12:08:55 +01:00
Stephan Witt
cc607af469 Make code sign operation the final step of package build. 2022-12-30 12:08:55 +01:00
Thibaut Cuvelier
33cc71636f Add a TODO file for the latest tests 2022-12-25 20:39:14 +01:00
Thibaut Cuvelier
e44cef2a3c LyXHTML: add a script to validate all the generated files.
It could be a part of the standard test suite, but it might be quite long to run.

This test ensures that the generated XHTML files are valid HTML5 files, i.e. should display fine in all browsers.
2022-12-25 20:37:04 +01:00
Richard Kimberly Heck
fadf8ca68f Update doc format 2022-12-25 12:48:19 -05:00
Richard Kimberly Heck
144cf4bb9a Allow an 'other' type for hyperlinks. Format change.
Also, perform the URL fixing magic for DocBook and XHTML.

As it was, it was impossible to enter e.g. "tel:" type links. Now
choosing the "Other" type just outputs the URL as given.

Also, the addition of "http" or "file" was not being done for
DocBook and XHTML. Now it is.
2022-12-25 12:45:48 -05:00
Scott Kostyshak
61fa5268ee ctests: uninvert lyx2lyx failures
The lyx2lyx issue was fixed at ceffadfb.

This reverts commit 021e98cc.
2022-12-21 11:29:04 -05:00
Scott Kostyshak
29ae7b31c2 updatedocs.py: more robust save with LyX binary
The "force" argument is more robust than trying to make an edit and
then inverse the edit.

The "force" argument exists since fe09ddf1.
2022-12-20 12:43:02 -05:00
Scott Kostyshak
021e98cc19 ctests: invert lyx2lyx failures
The issue was reported here:

  https://www.mail-archive.com/search?l=mid&q=20221211202917.f6py2kmrcdxtwaps%40gary
2022-12-19 22:35:38 -05:00
Scott Kostyshak
b31676dbfd ctests: log a fixed issue 2022-12-19 22:35:38 -05:00
Stephan Witt
12e22708aa Add missing parts for the creation of the resolution independent multi-image TIFF as disk image background. 2022-12-16 16:10:34 +01:00
Eugene Chornyi
afa75a0738 wininstaller add 2 more dll files to the package 2022-12-16 07:25:53 +01:00
Thibaut Cuvelier
40edcfe2f1 CMake for Windows: remove the remaining lines for Qt 4. 2022-12-15 00:53:40 +01:00
Thibaut Cuvelier
23aab19b59 CMake for Windows: remove many lines hard-coding Qt 4 paths. 2022-12-15 00:52:58 +01:00
Kornel Benko
dd9058ac4e Added missed file to target dist.
Needed by cmake build on unix platforms.
2022-12-14 18:24:38 +01:00
Richard Kimberly Heck
df86dac74f Repair lyx-build script 2022-12-11 20:02:24 -05:00
Scott Kostyshak
a15303b938 Update format of docs using LyX binary
Especially after the change to use semantic linefeeds (7b23c76b),
the diffs are large and it's hard to figure out what diff is the
result of the linefeed change and which diff is the result of an
edit.

By updating the docs, it will make the edits easier to understand
from the diff.

This commit used the LyX binary to write the new .lyx files since
lyx2lyx does not apply semantic linefeeds.

I used the following command:

  ./development/tools/updatedocs.py [path to 'lyx' binary]

A few documents were not updated (e.g., the command sequence used
failed because a dialog about a missing dependency was shown).

I did not update Additional.lyx for any language since it is
undergoing changes. I also didn't change anything in doc/fr since JP
is working on some of those. I also didn't change doc/ru since it
appears Yuriy already updated those.
2022-12-11 11:16:28 -05:00
Richard Kimberly Heck
c82bd3e5b8 Update build script 2022-12-11 11:14:23 -05:00
Juergen Spitzmueller
163844a6d0 Allow defaultfamily change with non_TeX fonts (#12608) 2022-12-11 14:47:13 +01:00
Thibaut Cuvelier
126f516efc Fix typos in Python scripts 2022-12-09 00:11:58 +01:00
Juergen Spitzmueller
1b8b4c0b50 Document new format 2022-12-05 07:35:21 +01:00
Jean-Marc Lasgouttes
9376f0203d Merge branch 'killqt4'
Remove all trace of Qt4 support. The different elements have been
considered carefully before removal.

The only changes that need to be done concern Windows and macOS
compilation instruction and will need to be taken care of by the
respective maintainers before prerelease.

The file TODO.killqt4 lists what remains to be done.
2022-11-28 15:19:41 +01:00
Jean-Marc Lasgouttes
812036185a Final (?) update to the TODO
Reorganize things to do in to point to the macOS and Windows
maintainers. These are things tht need to be done before release.

Update autotest/keytest.py, and ignore the other development/ stuff,
which is is obsolete.
2022-11-28 15:16:19 +01:00
Jean-Marc Lasgouttes
bc1cabc480 remove support for Qt4 in server_monitor
Update TODO.killqt4
2022-11-28 14:53:36 +01:00
Yuriy Skalko
7b23c76b71 Add "semantic linefeeds" after punctuation marks.
We already had such breaks for dot.

File format change.
2022-11-28 11:58:53 +02:00
Stephan Witt
04cf47f46c remove Qt4 path name reference 2022-11-25 10:10:14 +01:00
Kornel Benko
431379615e Amend(4) 580dea63: get rid of Qt4 code also in cmake build 2022-11-22 18:48:46 +01:00
Thibaut Cuvelier
4cf7a1f6d9 Reflow LyXPaths.cmake
Indentation did not match structure.
2022-11-22 04:06:02 +01:00
Jean-Marc Lasgouttes
9bb61a28f8 remove forgotten traces of Qt4 in configure script 2022-11-21 09:51:12 +01:00
Kornel Benko
25ad07afb2 Amend(3) 580dea63: get rid of Qt4 code also in cmake build 2022-11-21 09:44:36 +01:00
Kornel Benko
43d506b104 Amend(2) 580dea63: get rid of Qt4 code also in cmake build 2022-11-21 09:31:48 +01:00
Scott Kostyshak
1482e174df ctests: typo in ignoredTests regex
Amends c94bb34c.
2022-11-20 14:39:47 -05:00
Scott Kostyshak
3bd3c2ca09 Comments 2022-11-20 14:37:59 -05:00
Scott Kostyshak
42425428f5 ctests: uninvert two xhtml tests
These exports previously had xmllint errors. These errors seem to
have been fixed thanks to the "features/indexmacros" merge.

Related to #10355.
2022-11-20 09:48:13 -05:00
Kornel Benko
580dea638d Amend ac248e39, get rid of Qt4 code also in cmake build 2022-11-19 15:50:11 -05:00
Scott Kostyshak
cbc3804a2f Correct typos of "occurred" in warnings/errors
Change "occured" and "ocurred" to "occurred".
2022-11-06 10:06:50 -05:00
Scott Kostyshak
c94bb34c50 ctests: ignore a couple more roundtrip tests
Export fails after compilation with the following error:

  ERROR: CHAR: index 0 should be less than the length of the string
2022-11-05 14:50:34 -04:00
Scott Kostyshak
c52808ce1a ctests: log a waste 2022-11-05 10:37:48 -04:00
Scott Kostyshak
0fe28df08f ctests: ignore a couple fragile lyx2lyx tests
From Kornel [1]:

  Exporting to 2.3 format and exporting from the exported differ in extra lines and
  in changed sequence of 2 lines at begin.

  $ diff doc/fr/UserGuide.23.lyx fr/UserGuide.23.23.lyx

[1] https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218252.html
2022-11-05 10:37:48 -04:00
Scott Kostyshak
4bb576e940 ctests: log a waste and a success
A couple of the lyx2lyx tests were helpful, and a couple did not
lead to a fix. In particular, testing compilation was not helpful in
this case.
2022-11-03 16:05:10 -04:00
Scott Kostyshak
a1d127efeb ctests: ignore some lyx2lyx tests that fail
From Jürgen [1]:

  These are old problems. One is related to a questionable nomencl change
  which we addressed in master but not in stable, see
  https://www.lyx.org/trac/ticket/10634#comment:2

  The other is due to CJK quotation marks which are not supported in 2.3.

We ignore, rather than invert, since no plans to fix these.

[1] https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218237.html
2022-11-03 16:00:22 -04:00
Juergen Spitzmueller
077ccf905d Rename subindex to subentry
Makes more sense, and distinguishes it better from printsubindex
2022-10-31 06:51:38 +01:00
Juergen Spitzmueller
43365d2bbd format change stub (to be updated before merge) 2022-10-29 12:51:17 +02:00
Juergen Spitzmueller
b3b22b0c70 Sync with master 2022-10-26 10:52:21 +02:00
Kornel Benko
3576be9a3b Ctests: Adapt test 06 to changed shortcut 2022-05-14 14:49:03 +02:00
Kornel Benko
1007752106 FindAdv tests: update to new shortcuts 2022-05-10 15:03:11 +02:00
Kornel Benko
055e097a25 Amend a7c58e2f: Do not output hyperref option unicode with recent hyperref versions 2022-05-10 11:37:39 +02:00
Scott Kostyshak
d54e400ee3 ctests: adapt ignored warnings for lyx2lyx tests
This commit does the same as a8dd4db5 but for the explicit lyx2lyx
tests.

This commit amends ae31e169.
2022-04-29 20:43:48 -04:00
Scott Kostyshak
a8dd4db54f ctests: adapt ignored warnings to new messages
The change of the warning messages was introduced at ae31e169, which
broke several lyx2lyx tests. The tests are now fixed with this
commit.
2022-04-29 19:05:30 -04:00
Kornel Benko
965b2cdc73 Findadv: Correct findadv-combined test
Replaced some 'CP' commands with 'CN' comments.
2022-04-15 17:18:40 +02:00
Stephan Witt
9d6e704183 Improved package build script for MacOS. Handle compiler standard for Qt6. 2022-04-09 09:19:46 +02:00
Kornel Benko
7d053393a5 Cmake key-tests: Adapted to changed shortcuts 2022-03-26 19:38:55 +01:00
Kornel Benko
8380034203 AdvFind: Adapt a testfile
Change [a-z]* to [a-z]+ . This omits finds of empty strings.
2022-03-25 23:00:59 +01:00
Scott Kostyshak
d01f1428be ctests: log a fixed issue 2022-03-12 07:43:54 -05:00
Scott Kostyshak
a175caf256 ctests: uninvert 2 LuaTeX tests fixed on TL21
These exports now pass, and a quick check of the output looks good.

These might have been fixed (although it is just a guess) due to the
following entry in the changelog of luaotfload v3.19:

  A new algorithm for selecting fonts based on font family names
  allows to more reliably load fonts based on their family name.

This commit reverts 2a665dcc.
2022-03-06 09:20:12 -05:00
Scott Kostyshak
23b7b95e68 ctests: log fixed upstream Polyglossia issues
Thanks to Jürgen for fixing the upstream issue.

Also add a row "ctest" to give the pattern of the ctests that
failed.
2022-02-16 22:07:05 -05:00
Juergen Spitzmueller
1da80d4d8f Add basic support for \DeclareMetadata
File format change
2022-02-12 17:10:34 +01:00
Scott Kostyshak
2e07736c17 Uninvert Hazard.*systemF tests
Our .lyx document was updated by Jürgen at e071d5fe.
2022-02-08 12:15:31 -05:00
Scott Kostyshak
52c4ff290b ctests: log a fixed issue 2022-02-07 22:13:37 -05:00
Scott Kostyshak
9185fb8ccc ctests: log a fixed issue 2022-02-06 08:13:12 -05:00
Kornel Benko
0370cc428c Tools(listFontWithLang.pl): Discard use of deprecated perl-module Getopt::Mixed
According to CTAN, this module is effectively obsolete.
Using Getopt::Long instead now, since it is also part
of the standard Perl distribution.
2022-02-05 20:04:06 +01:00
Kornel Benko
59cabde9e3 Tools(listFontWithLang.pl): Only Haramo.*Gothic fonts are sans serif
(Harano.*Mincho are serif fonts, so don't treat them as 'sans')
2022-01-31 13:43:37 +01:00
Stephan Witt
28a1744dcd #12157 Replace old with new banner in DMG background image 2022-01-10 07:48:54 +01:00
Scott Kostyshak
22cbc3b0cf ctests: uninvert a DocBook export
The export now succeeds, likely due to Jürgen's improvements at
2eaf30c5.
2021-12-27 11:17:29 -05:00
Scott Kostyshak
62993294f3 Invert two DocBook + LilyPond exports
This is due to an upstream issue:

  https://gitlab.com/lilypond/lilypond/-/issues/6187

For ML discussion, see here:

  https://www.mail-archive.com/search?l=mid&q=20211102011304.dmrcr7gjpxxwpd4o%40poole
2021-12-27 11:11:30 -05:00
Scott Kostyshak
faa404f063 Reg test for protect: xymatrix in figure caption
Use case from #6243.
2021-12-27 10:26:04 -05:00
Scott Kostyshak
9d64a2f2f6 ctests: invert a docbook test for a cprotect case
The strange example file does not make sense for Docbook, as
described by Thibaut on the ML here:

  https://www.mail-archive.com/search?l=mid&q=CAK0LPyiHCsUMo0ZCbFrRBRTCD7G-rhw-z8G1of2kFGebBLddtA%40mail.gmail.com
2021-12-23 21:37:31 -05:00
Scott Kostyshak
b461d07b5b ctests: log a fixed issue (fr Linguistics.lyx) 2021-12-08 23:04:24 -05:00
Scott Kostyshak
fb4a485c19 ctests: uninvert Seminar tests
These exports now succeed on an updated TL21 installation.
2021-12-07 13:25:39 -05:00
Scott Kostyshak
2713ea5189 ctests: log fixed upstream polyglossia issues
Thanks to Jürgen for fixing these upstream Polyglossia regressions.
2021-12-07 13:05:52 -05:00
Jean-Marc Lasgouttes
2f8ea7ba05 One less thing to do in PAINTING_ANALYSIS 2021-12-07 17:04:47 +01:00
Stephan Witt
53ed3dc062 Automate Qt major version detection in macOS build script 2021-12-06 07:51:42 +01:00
Scott Kostyshak
d4678a734a ctests: log a fixed issue 2021-12-05 22:07:06 -05:00
Stephan Witt
d1d22a1433 introduce LSMinimumSystemVersion for Mac package with automatic Qt-version based detection plus configure option to choose it manually 2021-12-05 11:10:37 +01:00
Stephan Witt
c38e759b28 #12150 don't set the directory file permissions of LyX app bundle to 444 anymore 2021-10-24 21:43:23 +02:00
Stephan Witt
aabe9e8b11 Improved Qt framework configuration detection on macOS, add support for Qt6 2021-10-24 21:41:11 +02:00
Stephan Witt
39caab265d Care for included hunspell library. 2021-07-16 16:35:30 +02:00
Scott Kostyshak
2dd9e1a338 ctests-costs-benefits: add a "benefit" row
The "benefit" row gives the amount of days in-between when an issue
is found because of the ctests and when an issue is reported by
someone not using the ctests. In the example of the ps2pdf flag, the
issue was reported just a couple of weeks after we found it with the
ctests, indicating that the ctests were not that helpful in this
case.
2021-06-21 12:57:38 -04:00
Scott Kostyshak
ef05c951ca ctests: log a reported issue (the ps2pdf flag)
We are still not sure how to fix things to make them more easy for
the user.
2021-06-21 12:56:37 -04:00
Scott Kostyshak
37bce91a8b ctests: log a fixed LaTeX package issue (noweb) 2021-06-20 00:05:42 -04:00
Stephan Witt
15d1f2c76d #12305 Correct typo in library name QtDBus - fatal error with case sensitive file systems 2021-06-16 07:45:44 +02:00
Kornel Benko
38e83fc6f8 Cmake tests: Correct BATCH_compare-test test.
Change due to recent addition of docbook settings in lyx-files.
2021-06-13 19:45:37 +02:00
Kornel Benko
cedf5db7b4 Cmake tests: Correct BATCH_outline-beamer test
(Because the created tex-file got extra line)
2021-06-13 16:32:59 +02:00
Pavel Sanda
0c8cf33ed6 Revert part of 3f03f0a447, whitespace on eolns is necessary. 2021-06-03 15:06:43 +02:00
Stephan Witt
c518c57a78 Pass Qt library location as link option for frameworks on Mac 2021-05-30 17:31:32 +02:00
Stephan Witt
187a9d6439 Add macOS 11 to SDK detection for builds on Mac 2021-05-30 17:31:32 +02:00
Scott Kostyshak
88eff03860 ctests: uninvert two Hebrew LuaTeX tests
The issues seem to have been fixed upstream and the exports now
succeed on TeX Live 2021.
2021-05-29 00:22:35 -04:00
Scott Kostyshak
e0a12aa3a7 ctests: log a fixed issue 2021-05-28 10:35:47 -04:00
Eugene Chornyi
f101ade2e3 Update Windows compile instructions (add Qt6 specific info) 2021-05-27 18:59:13 +02:00
Eugene Chornyi
764d59d882 Enable Qt6 for Wininstaller 2021-05-27 18:51:30 +02:00
Scott Kostyshak
a2bdda5209 ctests: log a fixed issue 2021-05-26 01:21:09 -04:00
Scott Kostyshak
3ffd06fef4 ctests: log a fixed issue 2021-04-23 23:55:56 -04:00
Scott Kostyshak
4cc38f19ee ctests: log a fixed issue 2021-04-10 12:17:36 -04:00
Thibaut Cuvelier
a67cfd6013 Make the latest FORMAT entry more detailed. 2021-03-23 23:32:36 +01:00
Pavel Sanda
b4e609bd69 * FORMAT 2021-03-23 21:23:57 +01:00
Pavel Sanda
f7361f66ad * FORMAT 2021-03-23 21:20:24 +01:00
Kornel Benko
02a3705496 Amend 635a7d77: Allow compiling with Qt6 with cmake
Thanks Scott for checking.
TODO: Check compilation on Windows and Mac.
2021-03-22 16:19:10 +01:00
Kornel Benko
f3365a8fa9 Cmake debian packaging: use correct section (instead of "devel") 2021-03-14 10:17:58 +01:00