Commit Graph

4175 Commits

Author SHA1 Message Date
Kornel Benko
4ec788ce3f Cmake export tests: Export to docbook5
The sax-parser is choking on tags like 'section*' or 'Braille (default)'.
Also setting parameters like 'height=12pt' are not valid.

The added filter tries to 'correct' the input for the sax parser.
E.g. 'Braille (default)' ==> 'Braille__default_', 'section*' ==> 'section_'
and 'height =12pt' ==> 'height="12pt"'
2020-07-31 15:24:48 +02:00
Juergen Spitzmueller
a848e22cf2 Add missing FORMAT entries 2020-07-29 10:55:06 +02:00
Stephan Witt
e2103c2307 #10571 configure defaults for full-screen switch per LFUN to be like the MacOS window manager switch to full-screen 2020-07-28 22:16:13 +02:00
Kornel Benko
1dbc50a30d Cmake tests: Add check of the exported docbook file with xmllint 2020-07-20 16:55:28 +02:00
Kornel Benko
15947a7db4 Cmake tests: Add docbook5 exports to the tests 2020-07-20 10:42:34 +02:00
Pavel Sanda
c1a5b2c597 * development/FORMAT 2020-07-20 10:05:44 +02:00
Richard Kimberly Heck
c6b17b7094 FORMAT for format 594 2020-07-20 03:02:55 +02:00
Eugene Chornyi
269f847580 Wininstaller2, code readability 2020-07-17 21:18:17 +02:00
Thibaut Cuvelier
e302757476 Add support for CALS tables in DocBook. 2020-07-16 00:40:16 +02:00
Eugene Chornyi
90dccf89e3 Wininstaller, remove the option to run LyX from the finish page 2020-07-12 18:54:56 +02:00
Kornel Benko
26fa3b3d9d Cmake build: Move interpretation of configure.ac to own function
Created function determineversionandbuildtype() in development/cmake/modules/LyXMacros.cmake
2020-07-12 16:27:45 +02:00
Eugene Chornyi
df2234f18d Wininstaller2, use plugin to start LyX as user after installation as admin 2020-07-11 22:10:48 +02:00
Eugene Chornyi
16d8141e5e Wininstaller2, fix wrong logic 2020-07-11 20:34:01 +02:00
Kornel Benko
b030dc5b8b Tools(listFontWithLang.pl): Allow the include of the separator glyph in the list of chars
For instance:
	listFontWithLang.pl -c 'a-z\,A-Z'
is not the same now as
	listFontWithLang.pl -c 'a-z,A-Z'
2020-07-11 12:46:26 +02:00
Kornel Benko
40e071c7cb Cmake build: Improve checks for stdlib-debug 2020-07-11 12:43:17 +02:00
Eugene Chornyi
70776ba667 Amend 32e501a2 2020-07-08 07:58:49 +02:00
Eugene Chornyi
32e501a282 Wininstaller, fix bug where previous installations, with emergency version greater than 1, could not be seen in registry on overinstall 2020-07-07 21:13:34 +02:00
Thibaut Cuvelier
8a6e500570 Remove old example, as its mechanisms are now deprecated. 2020-07-02 15:27:20 +02:00
Kornel Benko
3a606cae22 Tools(listFontWithLang.pl): Add option to write to a file
The content is meant to be input to other commands to display
the fonts.
2020-06-29 12:30:56 +02:00
Kornel Benko
7cb50d7008 Tools(listFontWithLang.pl): Added type for small capitals. 2020-06-25 11:19:38 +02:00
Kornel Benko
95eccf0c53 Tools(listFontWithLang.pl): more changes
Normalized some style names (e.g. cond -> condensed)
Handle some forgotten fonts (for sure there are more)
Routine getval() tries to get the same language entry for fullname, family and style if possible.
Added some more exceptions (for instance not all fonts with 'symbol' in name contain symbols)
Split family- and style words at case-change (lower to upper case) to identify shortcuts for styles.
2020-06-21 11:43:35 +02:00
Eugene Chornyi
dda35d2afd Wininstaller, use correct default icon for LyX documents 2020-06-18 14:35:13 +02:00
Enrico Forestieri
70ccf9f243 Use the same icon as in the cmake build 2020-06-17 19:52:27 +02:00
Enrico Forestieri
36e6154515 Add new icon
This icon has been produced using lyx_doc.svg and contains 3
different sizes (32x32, 64x64, 256x256) instead of only one.
2020-06-17 19:32:02 +02:00
Kornel Benko
e2309c6ea5 Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'b' 2020-06-17 18:06:54 +02:00
Kornel Benko
8d84a4d7ab Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'a' 2020-06-17 14:44:27 +02:00
Kornel Benko
0d84f0b9fd Tools(listFontWithLang.pl): Change the building of fontname.
A try to combine the style info and family into the font-name in such a way,
that the features are not doubled.
2020-06-17 00:24:21 +02:00
Thibaut Cuvelier
a6b07608d8 Rename XHTMLStream to XMLStream, move it to another file, and prepare for DocBook adoption.
xml.cpp/h also merges functionalities from sgml.cpp/h.
2020-06-15 13:01:56 +02:00
Kornel Benko
9cec35697a Tools(listFontWithLang.pl): Enable list of font features
Font-type can contain more than one feature (e.g. Initials + Serif)
therefore it is now a combination of featrures.
2020-06-15 10:27:17 +02:00
Eugene
7118581a72 test 2020-06-11 21:52:56 +02:00
Kornel Benko
824be29341 Tools(listFontWithLang.pl): Add new category for double stroke fonts 2020-06-11 19:10:56 +02:00
Kornel Benko
76db479c07 Cmake build: Change the destination of fonts
Select the lyx-fonts-directory such that font-config can find the dat
2020-06-11 19:06:21 +02:00
Kornel Benko
392aaa11ac Cmake build: Add trailing '.'
Cpack in the cmake 3.18-version creates invalid control file
containg empty line. 'dpkg' chokes on this control file.
2020-06-10 17:11:36 +02:00
Juergen Spitzmueller
c680d0360a WinInstaller: assure configure.py is run in the user dir, by Eugene 2020-06-10 12:38:48 +02:00
Kornel Benko
48d75d30b7 Cmake export tests: Adapt to new template
These tests are not working with lualatex and tex fonts
(American_Psychological_Association_%28APA_v\.7%29_(dvi3|pdf5)_texF)
2020-06-09 21:40:17 +02:00
Juergen Spitzmueller
0f6045848a WinInstaller2: assure configure.py is run in the user dir, by Eugene 2020-06-09 13:13:26 +02:00
Juergen Spitzmueller
b17bdcb81c Amend b32c9ae8af, by Eugene 2020-06-09 12:08:03 +02:00
Juergen Spitzmueller
b32c9ae8af WinInstaller2: Check if LyX is already running during installation
Patch by Eugene
2020-06-09 10:16:39 +02:00
Richard Kimberly Heck
b3a90037b1 Clean up build script 2020-06-08 11:04:15 -04:00
Richard Kimberly Heck
f9ee1e16af Changes to lyx-build script 2020-06-07 12:39:42 -04:00
Kornel Benko
cfa4d422b4 Amend(2) ed665a03: Do not try to distribute removed cmake script 2020-06-07 16:38:33 +02:00
Kornel Benko
ed665a0333 Amend 2d48072e: Get rid of Qt resources
Remove the cmake handling too
2020-06-07 12:07:58 +02:00
Juergen Spitzmueller
33e74e5117 Having two folders just differing in case is not such a good idea.
See #11882
2020-06-06 13:56:46 +02:00
Juergen Spitzmueller
68e227c9fa New Win Installer, by Eugene 2020-06-06 12:58:39 +02:00
Kornel Benko
b71fb0d0f6 Cmake installs: Clean up some installs 2020-06-05 13:00:00 +02:00
Kornel Benko
c7dbc201df Amend 9c863039: Cmake build: Adapt handling of c++ standards to new Visual C++ 2019
Apparently the use of "/std:c++20" is too new for our sources.
2020-06-04 18:01:49 +02:00
Kornel Benko
8b81adbbec Cmake build: Add some missing language-specific files for installation
Preparing for possible addition af language file like zh_CN or pt_BR
in the examples directory
2020-06-03 21:44:42 +02:00
Kornel Benko
e86e1da154 Tools(listFontWithLang.pl): New option, typo, categorisation
1.) With option --nc we can select fonts not including these glyphs
2.) Typo NSpripts -> NScripts
3.) corrected categorisation of some fonts not including latin chars
2020-06-03 20:22:19 +02:00
Kornel Benko
eec1bf80e0 Tools(listFontWithLang.pl): A try to categorize culmus an lyx fonts 2020-06-03 12:39:10 +02:00
Stephan Witt
faeb8d745e Add template for MacOS private frameworks to distribution 2020-06-01 21:48:18 +02:00
Kornel Benko
26788fdd9f Tools(listFontWithLang.pl): Remove padmaa from sans-list, it is serif font
Also display intervalls of character sets (unicode points)
2020-05-30 14:29:39 +02:00
Kornel Benko
92d248f712 Modify 2 tests to reflect actual GUI
bug-10636: The position of 'View->Code Preview Pane' in dialog changed
bug-export-latex: Add comment
2020-05-30 11:14:26 +02:00
Kornel Benko
9e3086fbfc FindAdv: Remaining tests working now again
All of these changes were due to
1.) Changed latex output (white space)
2.) changed reaction of dialog shortcut to return from
  find-adv settings to search tab
3.) debug-mode of libstdc++
4.) LASSERT in InsetMathGrid.cpp
2020-05-29 20:56:38 +02:00
Kornel Benko
158919e203 FindAdv: next 3 tests working 2020-05-29 20:18:45 +02:00
Kornel Benko
9da4390a9b FindAdv: Correct next test (keytest/findadv-16)
Provided that the LASSERT in src/mathed/InsetMathGrid.cpp:1824
is removed.
2020-05-29 20:04:57 +02:00
Kornel Benko
8028dce129 FindAdv: Correct some testcases 2020-05-29 14:22:34 +02:00
Kornel Benko
fc39c3b48b Cmake build: Prohibit use of external boost if using libstdc++ in debug mode
We are using the compiler falgs _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC
See https://opensource.apple.com/source/gcc/gcc-1640/libstdc++-v3/docs/html/debug.html
2020-05-27 11:35:48 +02:00
Kornel Benko
e3ffbc53cb Tools(listFontWithLang.pl): Prohibit inserting multiple entries of same command line option 2020-05-21 16:09:21 +02:00
Stephan Witt
544e5859d3 Add command line option for code sign identity to help message 2020-05-21 13:30:22 +02:00
Kornel Benko
580057bef7 Tools(listFontWithLang.pl): Polishing 2020-05-21 11:50:42 +02:00
Kornel Benko
f7ad823cb8 Tools(listFontWithLang.pl): Amend 58dfb1d8, Select fonts containig specified glyphs
Allow to specify also intervalls of charaters
	e.g. -c a-z,u+70-u+200
2020-05-20 12:38:30 +02:00
Kornel Benko
58dfb1d825 Tools(listFontWithLang.pl): Amend ac039733, Select fonts containig specified glyphs
Allow also values like
	-c Azß
or
	-c u+65zu+xdf
(Comma as a separator not needed, if the input is unambiguous)
2020-05-19 09:02:56 +02:00
Stephan Witt
dfb33eb569 #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected - corrected shell syntax 2020-05-19 08:54:57 +02:00
Stephan Witt
813cd1765c #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected 2020-05-19 08:49:20 +02:00
Kornel Benko
ac03973309 Tools(listFontWithLang.pl): Select fonts containig specified glyphs
Comma separated glyphs can be specifies as characters or as unicode-values
example:
	-c A,z,ß
or
	-c u+65,z,u+xdf
2020-05-18 18:21:25 +02:00
Stephan Witt
aec981bf41 #11742 correct pre 1.0 inkscape wrapper script path 2020-05-17 15:24:15 +02:00
Stephan Witt
4552d1c75f #11742 adapt inkscape start utility to Inkscape 1.0 2020-05-17 15:20:25 +02:00
Kornel Benko
5f3541454c Tools(listFontWithLang.pl): update fonts-categorization 2020-05-17 15:12:05 +02:00
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