Kornel Benko
bdaad972cf
Cmake build: Select some defaults depending on LYX_BUILD_TYPE
2020-07-13 10:53:52 +02:00
Kornel Benko
690ad94f9e
Amend 26fa3b3d
, Cmake build: Move interpretation of configure.ac to own function
...
Use of posix packaging needs to be known prior to call to determineversionandbuildtype()
(Spotted by Scott)
2020-07-13 10:17:54 +02:00
Jean-Marc Lasgouttes
907f020724
Improve handling of top and bottom margin
...
The 20px space on top and bottom of document have traditionally been
obtained by adding them to the ascent/descent of the first/last row.
This leads to annoyances like selections that are drawn in these
margins and issues with the nesting marker.
The change is to add the value to the ParagraphMetrics ascent/descent
only and to correct one place where the ascent of the first row may be
different from the ascent of the ParagraphMetrcs object. There may be
other places where this should be done.
Fixes bug #9545 .
2020-07-13 02:42:39 +02:00
Jean-Marc Lasgouttes
32f06d01ec
Revert "Improve handling of top and bottom margin"
...
It turns out this is not ready at all.
This reverts commit ff7cdf1b74
.
2020-07-13 00:00:36 +02:00
Jean-Marc Lasgouttes
ff7cdf1b74
Improve handling of top and bottom margin
...
The 20px space on top and bottom of document have traditionally been
obtained by adding the to the ascent/descent of the first/last row.
This reads to annoyances like selections that are drawn in these
margins and issues with the nesting marker.
The change is to add the values to a separate member of the Row
object, and to add new Row::total(Ascent|Descent) methods that add the
effect of this padding.
Moreover, some methods are added to TextMetrics to simplify the
BufferView code.
Fixes bug #9545 .
2020-07-12 20:32:04 +02:00
Eugene Chornyi
90dccf89e3
Wininstaller, remove the option to run LyX from the finish page
2020-07-12 18:54:56 +02:00
Thibaut Cuvelier
b7c73f387a
Add sections to HTML output.
2020-07-12 18:01:33 +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
Jean-Marc Lasgouttes
1c956cdc16
Improve drawing of macro template frame
...
Use Inset::xxxOffset as offsets and draw the frame in the middle of
the empty space.
Fixes bug #9657 .
2020-07-12 15:39:37 +02:00
Pavel Sanda
5df5cc3840
* RELEASE-NOTES
2020-07-12 11:52:06 +02:00
Jean-Marc Lasgouttes
77036f5434
Fix and simplify computation of painter monochrome mode
...
The old code in GuiPainter::filterColor did not work. Tricks with
colors should take place in HSV space, not RGB IMO.
Replace the code with a simpler one which maps the grayscale value
of the original color on the blend color. It works nin the case where
original color is red, but might not work as well when blend color is
not black. Time will tell.
Fixes bug #11904 .
2020-07-12 00:01:46 +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
Jean-Marc Lasgouttes
2a80b0ac01
Set desktop name for Wayland
...
Fixes bug 11847.
2020-07-11 20:40:30 +02:00
Eugene Chornyi
16d8141e5e
Wininstaller2, fix wrong logic
2020-07-11 20:34:01 +02:00
Jean-Marc Lasgouttes
670d540fa6
Small update to INSTALL
2020-07-11 19:54:06 +02:00
Juergen Spitzmueller
289cb58f52
Remove unneeded header
2020-07-11 16:41:34 +02:00
Enrico Forestieri
da336cedf3
Fix compilation on platforms where sizeof(wchar_t) == 2.
...
Use "set" instead of "unordered_set" as some facets are missing when
using gcc on cygwin, mingw and, possibly, FreeBSD.
2020-07-11 16:19:21 +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
Kornel Benko
a1315db1bf
Update sk.po
2020-07-11 12:42:25 +02:00
Juergen Spitzmueller
aaeb425230
Fix header inclusion order
...
This cures a crash with stdlib-debug on autotools
2020-07-11 12:30:14 +02:00
Juergen Spitzmueller
3e7dc04d21
de.po
2020-07-11 11:18:20 +02:00
Juergen Spitzmueller
56c139449d
Update tex2lyx test after last file format change
2020-07-11 11:12:00 +02:00
Jean-Marc Lasgouttes
f758894c2f
Use Common Number separator instead of European to detect numbers
...
The is a fixup to commit 611df441
. It seems that the wrong unicode
property was selected. It could be that both classes should be used.
Fixes bug #11900 .
2020-07-10 18:06:41 +02:00
Richard Kimberly Heck
33eb33d0e7
Revert "Simplify code a bit. Should be equivalent, unless backs is empty!"
...
This reverts commit 3c094c739b
.
2020-07-09 22:25:09 -04:00
Juergen Spitzmueller
667a9ad0ce
Add support for Libertinus Math
2020-07-09 18:59:54 +02:00
Juergen Spitzmueller
2c0b650aa6
Do not attempt to mark par break in single-line insets
2020-07-09 18:47:53 +02:00
Juergen Spitzmueller
77eaa8a0ce
Typo
2020-07-09 17:39:57 +02:00
Juergen Spitzmueller
11a57ce6c6
Fix header inclusions
2020-07-09 17:19:01 +02:00
Jean-Marc Lasgouttes
aaec8459bf
Cleanup: remove trailing underscores
...
These ToobarItem members are public, not private.
2020-07-09 16:27:00 +02:00
Juergen Spitzmueller
01c1d1e156
tex2lyx: add support for libertinus
2020-07-09 12:26:25 +02:00
Juergen Spitzmueller
8cb9a6d3f6
Add support for the libertinus family of fonts ( #11899 )
...
File format change.
2020-07-09 11:46:07 +02:00
Juergen Spitzmueller
780d9a5f4c
LaTeXFonts: Add ScaleCommand
...
This is needed to add support for scaling to fonts that are switched
via command
2020-07-09 11:41:21 +02:00
Juergen Spitzmueller
3335344261
Provide option to prevent unnecessary font loading.
...
If an OSF font is an alternative to a non-OSF one, only load the OSFFont
if osf is requested.
2020-07-09 11:39:43 +02:00
Thibaut Cuvelier
7ed43d751a
Update RELEASE-NOTES for DocBook
2020-07-09 10:19:29 +02:00
Eugene Chornyi
06969f9dd4
Workaround Qtbug where QAbstractScrollArea::mouseMoveEvent(...) is called falsely when quickly double tapping on a touchpad of a notebook running Windows
2020-07-09 09:36:12 +02:00
Richard Kimberly Heck
e6b2c7c4ce
Change in ::docbook args
2020-07-09 03:27:32 -04:00
Thibaut Cuvelier
af5257b6c3
Fix Coverity false positive for null-pointer dereference
2020-07-09 09:24:35 +02:00
Richard Kimberly Heck
3c094c739b
Simplify code a bit. Should be equivalent, unless backs is empty!
2020-07-09 00:03:58 -04:00
Richard Kimberly Heck
747afa36cd
Best to use braces when there are comments.
2020-07-09 00:03:58 -04:00
Pavel Sanda
b17294a02b
Update customization manual for docbook (part2).
2020-07-09 00:41:36 +02:00
Pavel Sanda
dce2b4e016
Update customization manual for docbook (part1).
2020-07-09 00:41:36 +02:00
Kornel Benko
5f827b5a9d
Amend 3883b85f
: Typo in "New DocBook support"
2020-07-09 00:19:34 +02:00
Richard Kimberly Heck
8ae0841826
Whitespace
2020-07-08 12:38:05 -04:00
Thibaut Cuvelier
eeaea7cbbb
Clean up DeclareDocBookClass
2020-07-08 15:47:34 +02:00
Pavel Sanda
77e0f69901
Fix another constructor order of parameters
2020-07-08 14:27:24 +02:00
Pavel Sanda
f6460f48fa
Revert docbook updates to Customization manual.
...
Something went wrong while merging.
2020-07-08 14:15:33 +02:00
Pavel Sanda
7175a87f14
comment only
2020-07-08 14:05:54 +02:00
Thibaut Cuvelier
8ac6fbf112
Remove AGU DTD style, probably doesn't work, impossible to check.
2020-07-08 13:36:08 +02:00
Pavel Sanda
20a33941fa
Wrong order in constructor
2020-07-08 13:34:45 +02:00