Commit Graph

4057 Commits

Author SHA1 Message Date
Kornel Benko
36deaaac26 Tools(listFontWithLang.pl): Group related parameters in the command syntax
Display sequence of command parameters according to their appearance in the definition table
2020-05-16 21:40:26 +02:00
Kornel Benko
d4b64d81fe Tools: try to categorize fonts in listFontWithLang.pl
New 'categories' besides Serif and Sans:
Script, Fraktur, Fancy, Initials, Symbol
2020-05-14 17:35:51 +02:00
Kornel Benko
1bda6da7f9 Tools: recognize most sans serif fonts in listFontWithLang.pl
Starts to be crazy. Many fonts have to be (visually!) inspected, because there is
no hint about this feature.
Also, for many fonts it is a senseless information.
We need a third value (besides serif and sans-serif)
2020-05-12 19:53:28 +02:00
Kornel Benko
3eb56006b5 Tools: recognize math font in listFontWithLang.pl 2020-05-09 13:19:12 +02:00
Kornel Benko
8918d5287b Tools: optimize recognition of some font features in listFontWithLang.pl
Added (de)selecting fonts through its capability (latn, math, arab, etc)
Recognize also trebuchet in font name as sans-serif font
Recognize also fixed in font name as monospaced font
2020-05-08 14:17:19 +02:00
Kornel Benko
14316c7890 Win32-build, bug #11635, "2 lyx in same time?"
Patch from Eugene
"Win installer part again, this time just append to existing lyxrc.dist instead of deleting it."
2020-05-06 11:50:41 +02:00
Richard Kimberly Heck
238f510702 Move DTL binaries to resource folder;.
Patch from Eugene.
2020-05-06 03:04:33 -04:00
Kornel Benko
9c863039b6 Cmake build: Adapt handling of c++ standards to new Visual C++ 2019
More or less suggested by Thibaut Cuvelier's switch to Visual C++ 2019
2020-05-05 13:49:50 +02:00
Kornel Benko
63ce605b83 Try to set executable bit on listFontWithLang.pl 2020-05-03 12:54:14 +02:00
Kornel Benko
b55f735afe Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools 2020-05-02 13:40:26 +02:00
Stephan Witt
4e9ecec3f6 additional check for default pipe locations used by active LyX instance 2020-04-19 13:12:35 +02:00
Kornel Benko
4e14bf7028 Amend(5) 689f26d2: Revert changes in development/cygwin/lyxrc.dist.in
Thanks Enrico.
2020-04-19 11:39:10 +02:00
Kornel Benko
3f89dd0b48 Cmake build: Distinguish between PROGRAM_SUFFIX and LYX_VERSION
For instance: program suffix may be "", but lyx version is still "2.4"
2020-04-19 09:45:32 +02:00
Kornel Benko
333e023e82 Amend(4) 689f26d2: Add default path to server pipe (cmake build)
Rename the placeholde $$User to $$UserDir

Make it more readable. Suggestion from Stephan Witt.
2020-04-18 22:26:56 +02:00
Kornel Benko
88d8376189 Amend(2) 689f26d2: Add default path to server pipe (cmake build)
Changing pipe-path to fit on Windows
Corrected by Eugene
2020-04-18 12:07:04 +02:00
Kornel Benko
0135682fca Amend(1) 689f26d2: Add default path to server pipe (cmake build)
Added handling for cygwin and win32
MacOSX is unchanged, Stephan could you look at it?
2020-04-18 09:06:56 +02:00
Kornel Benko
689f26d247 Add default path to server pipe (cmake build + unix)
Actually the change is affecting only builds if
1.) Using cmake build
2.) on unix

To use it on
  cygwin: one has to patch development/cygwin/lyxrc.dist.in
  MacOSX:     -//-         development/MacOSX/lyxrc.dist.in

We need also a Windows-version

Also the compilation with automake lacks the handling of development/unix/lyxrc.dist.in
2020-04-17 18:38:51 +02:00
Kornel Benko
dd154a5837 Cmake build: Fix use of LYX_ABS_INSTALLED_DATADIR
(Wrong display at configuration time. Also wrong value in created config.h)
2020-04-14 19:59:41 +02:00
Kornel Benko
af029d695f Cmake build: All directory variables should contain trailing '/' 2020-04-14 13:01:17 +02:00
Juergen Spitzmueller
c62ef12dd3 Win compile doc update from Eugene 2020-04-09 13:05:21 +02:00
Juergen Spitzmueller
9cccbb3615 Address #9368
pdfview creates a temp pdf file to determine the standard pdf viewer,
code simplification, reducing dll dependencies

Patch by Eugene.
2020-04-09 10:08:44 +02:00
Richard Kimberly Heck
36a1f365f0 Download dictionaries and thesauri from SVN.
Patch from Eugene.
2020-04-05 14:48:34 -04:00
Richard Kimberly Heck
35727f9d77 Previous DTL update is not usable. Roll it back.
Patch from Eugene.
2020-04-04 19:25:26 -04:00
Richard Kimberly Heck
c784119949 Batch file for removing unneeded imagemagick binaries.
Also update installation description.
2020-04-04 19:24:31 -04:00
Richard Kimberly Heck
35864200b1 Changelog from Eugene. 2020-04-04 19:22:08 -04:00
Richard Kimberly Heck
a48bd032ec Description for windows installer and dependencies
Patch from Eugene.
2020-04-04 19:21:00 -04:00
Richard Kimberly Heck
bd660c459f Changed main registry entry (LyX\Version now).
Added "latestVersion" value.

Patch from Eugene.
2020-04-04 19:18:23 -04:00
Richard Kimberly Heck
933cf12140 Implement 64 bit installer.
Remove registry hacking for imagemagick (using portable now).
2020-04-04 19:16:29 -04:00
Stephan Witt
38ba0ea240 use path to developer tools for SetFile utility as fallback 2020-03-29 18:57:05 +02:00
Scott Kostyshak
9715d3504c cat.py: fix Python deprecation warning
This commit fixes the following warning:

  DeprecationWarning: 'U' mode is deprecated

Removing 'U' has no effect with Python 3 [1]:

  There is an additional mode character permitted, 'U', which no
  longer has any effect, and is considered deprecated. It previously
  enabled universal newlines in text mode, which became the default
  behaviour in Python 3.0.

[1] https://docs.python.org/3/library/functions.html?highlight=open#open
2020-03-20 10:22:47 -04:00
Juergen Spitzmueller
86693b5c3c Fix FORMAT documentation 2020-03-13 15:51:41 +01:00
Juergen Spitzmueller
f4af191403 Introduce maintain unincluded children "mostly"
This is a mode for includeonly handling that is effective and still outputs
at least mostly correct counters and references. This is intended for non-
final editing work.

File format change.
2020-03-13 15:46:35 +01:00
Scott Kostyshak
f1694db496 CMake build: find enchant 2.x binary and lib
For example, see the Fedora file lists for the package
enchant2-devel [1] as well as the Debian Sid file lists for the
packages libenchant-2-dev [2] and enchant-2 [3]. The packages for
Ubuntu 20.04 are similar. Our autotools build has had support for
finding enchant 2.x since 71977769.

Searching for enchant-2 first is consistent with what we do for
autotools (see 1ae537c5).

This commit is related to #10986.

[1] https://www.lyx.org/trac/ticket/10986#comment:28
[2] https://packages.debian.org/sid/amd64/libenchant-2-dev/filelist
[3] https://packages.debian.org/sid/amd64/enchant-2/filelist
2020-03-13 10:07:05 -04:00
Günter Milde
c1357cbd01 ctest autotest for #11773 language nesting with lyx2lyx.
* invert failing lyx2lyx tests for ko/Welcome
* add dedicated test sample
* set language for English text part in ko/Welcome.

Also

* fix a lyx2lyx language test sample
* fix clause in unreliableTests
2020-03-05 00:24:08 +01:00
Kornel Benko
7f0efc5165 Cmake build: Add evince_sync-files to be installed under the scripts dir 2020-03-01 16:48:14 +01:00
Stephan Witt
f2f861f017 Use real path names for buffer lookup by name of temporary external files.
In case of path names for external files containing symbolic links the real path
and the logical path name may be different for the same file or directory.
LyX is using QDir::tempPath() to create the path name of the temporary directory.
The Qt implementation is free to return the logical or the real path name here and
it happens to be different for various platforms and versions.
The most stable and clean solution is to use the real path name consistently.
2020-02-22 12:11:42 +01:00
Stephan Witt
ca7defab45 Make the directories in LyX application bundle read only.
Python produces files with cached on-the-fly compiled code on disk inside the bundle.
This should be avoided in case of a signed application bundle.
2020-02-21 18:04:28 +01:00
Stephan Witt
a47412b9de Cleanup code signing of the LyX application bundle 2020-02-21 09:45:09 +01:00
Stephan Witt
6b9b07e6dc Cleanup internal structure of embedded Qt frameworks 2020-02-21 09:44:07 +01:00
Stephan Witt
5ccb7da134 Improved standard conformance of private frameworks naming scheme 2020-02-21 09:43:10 +01:00
Stephan Witt
d2257bb0ff Add packaging option to code sign the LyX application 2020-02-20 10:47:23 +01:00
Stephan Witt
dc5221852c Create private frameworks on Mac with standard conforming internal structure 2020-02-20 10:46:22 +01:00
Kornel Benko
f5551bec15 Amend 43dfd12f 2020-02-15 12:21:32 +01:00
Kornel Benko
3f2c315530 Cmake tests: Correct test BATCH_outline-beamer 2020-02-15 10:26:33 +01:00
Kornel Benko
43dfd12fd7 Cmake build: Files already removed, but in 'git status' still present.
This is a try to really remove them.
2020-02-15 10:11:28 +01:00
Stephan Witt
ab877352e7 Use the application id of lyx to address the running LyX instance 2020-02-14 12:06:08 +01:00
Stephan Witt
983da7d6de Put the LyX window frontmost automatically on Mac on successful reverse search 2020-02-13 16:39:14 +01:00
Stephan Witt
2817439ddd Allow externally provided list of components to skip for Qt framework builds on macOS 2020-02-06 22:19:15 +01:00
Stephan Witt
6e54c86a86 More flexible definition of Qt libraries to include as frameworks for macOS 2020-02-06 22:17:35 +01:00
Stephan Witt
a3e14fe6cd Care for Qt library source directory rename for 5.12.x 2020-02-06 22:16:13 +01:00