Commit Graph

4570 Commits

Author SHA1 Message Date
Scott Kostyshak
dd4c67bfdc Whitespace 2024-04-20 14:22:07 -04:00
Kornel Benko
d05e295ddc Cmake install: Forgotten to install tabletemplates. 2024-04-20 19:33:25 +02:00
Pavel Sanda
26ba2a6583 Update Win installer for new dictionary links. Untested. 2024-04-10 21:13:41 +02:00
Jean-Marc Lasgouttes
a23522073c Update PAINTING_ANALYSIS 2024-04-05 13:06:26 +02:00
Richard Kimberly Heck
eb57c93aab Update update-po.sh script
(cherry picked from commit b360b9ebf7)
2024-04-04 17:17:46 -04:00
P. De Visschere
4d02fb7ad7 cmake build with qt6 (macos) did not include "plugins" 2024-04-02 09:22:53 +02:00
Kornel Benko
8d79860ea7 Cmake build: Handle deprecated cmake versions
The warning says:
CMake Deprecation Warning at .../CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

Spotted by Scott Kostyshak
2024-04-02 09:22:53 +02:00
Patrick de Visschere
58aca89003 Cmake build wit qt(5|6)(macos) did not include "plugins"
This makes things much simpler.

But at least with the latest macos tools (Sonoma and XCode15) a bundle
refuses to run if it 's not signed properly.

Both issues are solved with the patch included and have now been tested
with Qt5.15 and Qt6.7.

For completeness: I've checked the font-emph shortcut issue and, as
reported in the ticket mentioned, ^CmdE works with Qt5.15 but not with
Qt6.7. However the sequence ^C E does work. I don't know whether this is
intended as a workaround for this issue or was already implemented.
2024-03-23 11:28:31 +01:00
Kornel Benko
ada52e014e Amend 04beccca: Group some entries in invertedTests 2024-03-10 14:11:27 +01:00
Thibaut Cuvelier
04beccca4c DocBook: add missing mapping for AASTeX 6.3.
The result is far from perfect, see the TODOs. The corresponding tests are still inverted.
2024-03-09 15:09:45 +01:00
Scott Kostyshak
0c0f4c6b56 ctests: invert a utf8x test failing on TL23
It seems that utf8x is not supported, or needed, on updated TL. From
David Carlisle:

  utf8x by default does nothing now, but as a compromise
  compatibility for some specific existing documents if you
  explicitly load ucs then it and utf8x work as before, but that
  over writes all of latex's default unicode handling and things
  will go wrong. There really isn't much that can be said other than
  don't load the package. The alternative would be to make ucs do
  nothing as well, but that would stop some documents working that
  currently work.
2024-02-26 11:12:20 -05:00
Kornel Benko
8899e4d6cc Cmake build: Amend 1b5f8f27 2024-01-13 10:49:14 +01:00
Richard Kimberly Heck
d302d6b20f Update docs 2024-01-11 11:06:40 -05:00
Scott Kostyshak
606e9443fa ctests: uninvert an export fixed in acmart
Fixed after a tlmgr update with acmart version 1.92.

See here for info:

  https://github.com/borisveytsman/acmart/issues/505
2023-10-17 22:17:07 -04:00
Scott Kostyshak
e97ebe93d3 ctests: uninvert DocBook test due to recent fix 2023-10-10 10:35:53 -04:00
Kornel Benko
b05d59ec04 Add missed file "org.lyx.LyX.metainfo.xml" to cmake build 2023-10-09 18:05:51 +02:00
Scott Kostyshak
bb55c3429f ctests: uninvert couple of suspended tests
Due to recent changes, 'xcolor' is now loaded in the corresponding
document export, which somehow fixes the compilation error that was
occurring.
2023-09-30 20:43:40 -04:00
Juergen Spitzmueller
087f6bce71 Introduce default box frame color (#12921)
This better aligns with dark mode
2023-09-30 09:56:27 +02:00
Scott Kostyshak
bf241165dd ctest: invert es/Intro_docbook5
This fails after recent changes to the document.
2023-09-27 13:42:40 -04:00
Scott Kostyshak
beec7b669f ctests: update inverted list after DocBook fix
Thanks to the fix at ff9dfa96, we can uninvert a test.

Also invert a couple of other tests and organize into the correct
location.
2023-09-25 10:58:50 -04:00
Scott Kostyshak
c6317b123e ctests: invert another ca docbook test
Perhaps similar to eb920502.
2023-09-23 12:44:04 -04:00
Yuriy Skalko
fe8d1209a2 Typo 2023-09-19 01:10:57 +02:00
Scott Kostyshak
91d5a262cb ctests: invert test due to acmart issue
The upstream bug report is here:

  https://github.com/borisveytsman/acmart/issues/505
2023-09-18 16:25:29 -04:00
Scott Kostyshak
eb920502db ctests: invert ca/Intro_docbook5
The document was recently added and the underlying DocBook issue has
not been diagnosed yet.
2023-09-13 20:33:41 -04:00
Jean-Marc Lasgouttes
9c49e72f7e Small updates to painting analysis document 2023-09-10 20:24:39 +02:00
Juergen Spitzmueller
87620d7349 Add forgotten file formatted change (from 2ad57dcb6b)
This means that lyx2lyx reversion in beta5 is essentially broken
as it ends in a document containing an unknown header
2023-09-06 08:37:43 +02:00
Stephan Witt
7157e42044 #11921 change default roman (serif) screen font
The hard coded LyX default font (Times) doesn't work well on macOS.
The text seems to be shifted slightly upwards.
2023-08-23 21:36:29 +02:00
Pavel Sanda
9e8901f997 Adding hebrew quotation marks (bug #12849).
Patch from Udi Fogiel.
2023-08-06 16:50:07 +02:00
Eugene Chornyi
fef3a13f63 Improve Windows installer message
#12635
2023-08-05 14:59:49 +02:00
Kornel Benko
bbe84fbee5 Amend 137fd291c2 for cmake (change of AC_INIT params) 2023-07-27 07:10:32 +02:00
Pavel Sanda
493e7da9d0 Fix make rpmdist
RPM build errors:
 Installed (but unpackaged) file(s) found:
 /usr/share/metainfo/org.lyx.LyX.metainfo.xml
2023-07-27 00:45:01 +02:00
Richard Kimberly Heck
9eec50464f Improve format specification for 616. 2023-07-20 13:22:16 -04:00
Juergen Spitzmueller
a91d1ebe82 Forgot these 2023-07-20 16:26:17 +02:00
Scott Kostyshak
573b4be7bc FORMAT: more details on 616 2023-07-20 10:11:53 -04:00
Juergen Spitzmueller
9d0cc94288 Add missing FORMAT entries
616 could be a bit more verbose. Enrico? Riki?
2023-07-20 15:19:42 +02:00
Juergen Spitzmueller
2841a1c063 Update covington support in linguistics module (file format change) 2023-07-20 15:09:47 +02:00
Pavel Sanda
e22c1c96e2 Adding binary path for Homebrew on MacOS-arm64 (bug 12619).
Patch from Koji.
2023-07-19 11:56:31 +02:00
Stephan Witt
f88986eff5 Improved LYX_BUILD_TYPE detection for cmake - case insensitive AC_INIT processing 2023-06-19 08:02:59 +02:00
Stephan Witt
0763fc197a macOS - Remove QtCore5Compat reference from list of frameworks to copy into app bundle 2023-06-14 08:19:48 +02:00
Stephan Witt
789da12d31 macOS - Improved source validation on copying of Qt frameworks to app bundle. 2023-06-14 08:19:48 +02:00
Scott Kostyshak
8490b3e73b ctests: move #12734 testfile thanks to fix
Categorize a 'lyxbugs' testfile as fixed thanks to a15bc829.
2023-04-15 07:45:26 -04:00
Scott Kostyshak
a5ebeb3b46 ctests: test file for #12734 2023-04-11 23:44:49 -04:00
Scott Kostyshak
3a9bd79536 ctests: add a test file for #12708
The file is taken from #12727 which is a duplicate.
2023-04-11 23:07:42 -04:00
Scott Kostyshak
21d9bcb561 ctests: uninvert tests thanks to microtype update
microtype version 3.1 somehow fixed an issue that was affecting
these exports and the exports now succeed.

For more information, see here:

  https://github.com/schlcht/microtype/issues/21#issuecomment-1496803268
2023-04-04 23:37:55 -04:00
Scott Kostyshak
5d853e55ad ctests: do not mark Hebrew + Lua as unreliable
The referenced terminal message no longer appears. The upstream
polyglossia issue has been fixed:

  https://github.com/reutenauer/polyglossia/issues/337
2023-04-04 15:30:02 -04:00
Scott Kostyshak
f521c05ae6 Fix a comment 2023-04-04 15:28:01 -04:00
Eugene Chornyi
1d0ab7a274 winbuild include python3 2023-03-18 12:10:44 +01:00
Kornel Benko
f2f49674be Cmake tests: Adapted BATCH tests to ignore the stored LyX-version 2023-03-12 20:19:21 +01:00
Scott Kostyshak
caa7e6f6c8 ctests: invert lyx2lyx tests expected to fail
These tests are expected to fail, but are not really because of a
bug. For more info see the comment in this commit.
2023-02-17 10:19:38 -05:00
Scott Kostyshak
c0bca65635 ctests: invert unsupported exports of Armenia file
This new example file is only expected to work with XeTeX and LuaTeX
with system fonts.
2023-02-11 14:57:21 -05:00
Scott Kostyshak
e54dedb49f ctests: adapt inverted & ignored to renamings 2023-02-11 14:44:47 -05:00
Scott Kostyshak
c0c5d0bc80 ctests inverted: adapt to recent renaming 2023-02-11 12:13:44 -05:00
Scott Kostyshak
4b8b5bc252 ctests: uninvert JSS exports
The Journal of Statistical Software exports now succeed. An update
must have fixed the core issue.
2023-01-30 20:59:08 -05:00
Scott Kostyshak
795d5c408d Fix more ja documents for LuaTeX/XeTeX + systemF
I used the following command inside the ja directories, and
confirmed the diff manually:

  git ls-files -z | xargs -0 sed -i -e 's/\\font_typewriter "default" "default"/\\font_typewriter "default" "IPAGothic"/'

These changes are consistent with 6656dd22.
2023-01-30 13:36:58 -05:00
Scott Kostyshak
4e9f660411 ctests: uninvert ja XeLaTeX exports that work now
These exports now work thanks to the font fix at 6656dd22.
2023-01-30 11:55:22 -05:00
Scott Kostyshak
168af93020 ctests: comment out the new XHTML validate tests
These new checks found issues that are difficult to fix.
2023-01-26 21:42:06 -05:00
Kornel Benko
bce1d94b42 Cmake tests for xhtml: Check only for errors
For now, do not handle warnings in output from call to simplehtml_validity.py.
2023-01-20 16:51:38 +01:00
Richard Kimberly Heck
29aa336199 Fix build script for devel 2023-01-12 19:22:12 -05:00
Kornel Benko
88087a3cf5 Cmake tests: Amend a7112690: enable use of html5validator
Also add the Summary-output unconditionaly (e.g. also in case of no error)
2023-01-11 06:49:28 +01:00
Kornel Benko
9f3f21f0f9 Cmake tests: Nothing to output in case of no error in simplehtml_validity.py 2023-01-11 06:45:38 +01:00
Thibaut Cuvelier
253d532974 Export tests: use a better function name. 2023-01-09 17:16:40 +01:00
Thibaut Cuvelier
fa5b08e24d Simplify simplehtml_validity.py 2023-01-09 17:16:40 +01:00
Kornel Benko
a71126904f Cmake export tests. Add validation of lyxhtml exported files
ATM, the validation is commented out.
To use it, one has first to install html5validator with
  $ pip3 install html5validator>=0.4.2
and uncomment the line 335 in export.cmake
2023-01-08 17:18:30 +01:00
Thibaut Cuvelier
0f8951e708 LyXHTML validation tests: explicitly exit the Python script if it fails 2023-01-07 21:27:50 +01:00
Scott Kostyshak
95dd4f6bf6 updatelayouts.py: skip .txt files 2023-01-07 09:43:47 -05:00
Scott Kostyshak
ec02df2bb9 ctests: uninvert a lyx2lyx test thanks to fix
Thanks to the fix at d89a4848, the roundtrip now converges.

This reverts commit 83c72a3ece.
2023-01-06 14:06:06 -05:00
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