Kornel Benko
5529172fa1
Cmake build: Re-enable address sanitizer
...
Moved code because:
1.) Setting of LYX_CXX_FLAGS only has no effect,
2.) and setting of CMAKE_CXX_FLAGS was to late.
2020-07-15 14:24:49 +02:00
Juergen Spitzmueller
3b6fec3835
Do not terminate size switches in front of insets with InheritFont() false
...
and inherit the size.
This reduces formatting clutter (#8384 ) in table and fixes some wrongly
set sizes (#9923 , #9285 ) in tables.
2020-07-15 09:11:05 +02:00
Jean-Marc Lasgouttes
bce21e8975
Take the height of label into account when painting rows
...
Handle the case where, in beamer's Frame, for example, where the label
string uses a taller font then the paragraph itself.
Fixes bug #11890 .
2020-07-14 20:53:32 +02:00
Kornel Benko
b299bd9730
Cmake build: Added option to override configure.ac default
...
Example:
Set some defaults for release with '-DLYX_ENABLE_BUILD_TYPE=release',
even if configure.ac specifies for instance 'development'.
2020-07-14 20:06:43 +02:00
Juergen Spitzmueller
097383f657
Fix comment
2020-07-14 15:52:20 +02:00
Juergen Spitzmueller
b8969d2e9c
Reset CategorizedCombo filter when switching between non-TeX and TeX fonts
2020-07-14 15:49:15 +02:00
Juergen Spitzmueller
61cf165521
Consider single-cell insets when pasting multiple cells ( #11906 )
2020-07-14 10:39:49 +02:00
Jean-Marc Lasgouttes
501f4e848f
Cleanup: BufferView should not need to be friend of TextMetrics
...
It did access par_metrics_[] directly because there was no non-const
parMetrics().
This patch adds one and unfriends BufferView. The code is equivalent
since in all these cases, the metrics have just been computed with
redoParagraph().
2020-07-14 00:08:07 +02:00
Jean-Marc Lasgouttes
2e8c9cfc83
Fix paragraph position in TextMetrics::singleParUpdate()
...
When running redoParagraph, it may happen that the ascent of the first
row changes. Since the ParagraphMetrics position is actually the
baseline of its first row, it may be necessary to update it.
Fixes bug #11601 .
2020-07-13 23:43:09 +02:00
Juergen Spitzmueller
4884476eb6
Do not blindly disable inset-modify in MathNest
...
Fixes #11784
2020-07-13 16:50:11 +02:00
Juergen Spitzmueller
60741c3d49
InsetFloat: pass back inset-modify that is addressed to other inset
...
Fixes #9994
2020-07-13 16:46:43 +02:00
Juergen Spitzmueller
f6d9e4170d
InsetInfo: Pass back inset-modify that do not target this inset
...
Fixes #9214 .
2020-07-13 16:15:42 +02:00
Kornel Benko
25b4229c58
Amend2 26fa3b3d
: Added support for sanity checks (Option LYX_ENABLE_ASSERTIONS)
2020-07-13 13:51:44 +02:00
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