]>
git.lyx.org Git - lyx.git/log
Richard Kimberly Heck [Fri, 17 Jul 2020 16:16:47 +0000 (12:16 -0400)]
Simplify
Thibaut Cuvelier [Mon, 13 Jul 2020 01:31:48 +0000 (03:31 +0200)]
Add support for CALS tables in DocBook.
Thibaut Cuvelier [Wed, 15 Jul 2020 14:15:26 +0000 (16:15 +0200)]
DocBook: add support for LYX_ALIGN_BLOCK and LYX_ALIGN_DECIMAL in tables
Kornel Benko [Wed, 15 Jul 2020 12:24:49 +0000 (14:24 +0200)]
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.
Juergen Spitzmueller [Wed, 15 Jul 2020 07:11:05 +0000 (09:11 +0200)]
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.
Jean-Marc Lasgouttes [Tue, 14 Jul 2020 18:51:05 +0000 (20:51 +0200)]
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.
Kornel Benko [Tue, 14 Jul 2020 18:06:43 +0000 (20:06 +0200)]
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'.
Juergen Spitzmueller [Tue, 14 Jul 2020 13:52:20 +0000 (15:52 +0200)]
Fix comment
Juergen Spitzmueller [Tue, 14 Jul 2020 13:49:15 +0000 (15:49 +0200)]
Reset CategorizedCombo filter when switching between non-TeX and TeX fonts
Juergen Spitzmueller [Tue, 14 Jul 2020 08:39:49 +0000 (10:39 +0200)]
Consider single-cell insets when pasting multiple cells (#11906)
Jean-Marc Lasgouttes [Mon, 13 Jul 2020 22:08:07 +0000 (00:08 +0200)]
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().
Jean-Marc Lasgouttes [Mon, 13 Jul 2020 21:29:15 +0000 (23:29 +0200)]
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.
Juergen Spitzmueller [Mon, 13 Jul 2020 14:50:11 +0000 (16:50 +0200)]
Do not blindly disable inset-modify in MathNest
Fixes #11784
Juergen Spitzmueller [Mon, 13 Jul 2020 14:46:43 +0000 (16:46 +0200)]
InsetFloat: pass back inset-modify that is addressed to other inset
Fixes #9994
Juergen Spitzmueller [Mon, 13 Jul 2020 14:14:21 +0000 (16:14 +0200)]
InsetInfo: Pass back inset-modify that do not target this inset
Fixes #9214.
Kornel Benko [Mon, 13 Jul 2020 11:51:44 +0000 (13:51 +0200)]
Amend2
26fa3b3d : Added support for sanity checks (Option LYX_ENABLE_ASSERTIONS)
Kornel Benko [Mon, 13 Jul 2020 08:53:52 +0000 (10:53 +0200)]
Cmake build: Select some defaults depending on LYX_BUILD_TYPE
Kornel Benko [Mon, 13 Jul 2020 08:17:54 +0000 (10:17 +0200)]
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)
Jean-Marc Lasgouttes [Mon, 13 Jul 2020 00:25:51 +0000 (02:25 +0200)]
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.
Jean-Marc Lasgouttes [Sun, 12 Jul 2020 22:00:36 +0000 (00:00 +0200)]
Revert "Improve handling of top and bottom margin"
It turns out this is not ready at all.
This reverts commit
ff7cdf1b74f5c17a966af24dc70d49fc162f007e .
Jean-Marc Lasgouttes [Sun, 12 Jul 2020 18:11:27 +0000 (20:11 +0200)]
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.
Eugene Chornyi [Sun, 12 Jul 2020 16:54:56 +0000 (18:54 +0200)]
Wininstaller, remove the option to run LyX from the finish page
Thibaut Cuvelier [Sun, 12 Jul 2020 15:58:50 +0000 (17:58 +0200)]
Add sections to HTML output.
Kornel Benko [Sun, 12 Jul 2020 14:27:45 +0000 (16:27 +0200)]
Cmake build: Move interpretation of configure.ac to own function
Created function determineversionandbuildtype() in development/cmake/modules/LyXMacros.cmake
Jean-Marc Lasgouttes [Sun, 12 Jul 2020 13:37:58 +0000 (15:37 +0200)]
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.
Pavel Sanda [Sun, 12 Jul 2020 09:52:06 +0000 (11:52 +0200)]
* RELEASE-NOTES
Jean-Marc Lasgouttes [Sat, 11 Jul 2020 21:56:48 +0000 (23:56 +0200)]
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.
Eugene Chornyi [Sat, 11 Jul 2020 20:10:48 +0000 (22:10 +0200)]
Wininstaller2, use plugin to start LyX as user after installation as admin
Jean-Marc Lasgouttes [Thu, 30 Apr 2020 10:35:57 +0000 (12:35 +0200)]
Set desktop name for Wayland
Fixes bug 11847.
Eugene Chornyi [Sat, 11 Jul 2020 18:34:01 +0000 (20:34 +0200)]
Wininstaller2, fix wrong logic
Jean-Marc Lasgouttes [Sat, 11 Jul 2020 17:54:06 +0000 (19:54 +0200)]
Small update to INSTALL
Juergen Spitzmueller [Sat, 11 Jul 2020 14:41:34 +0000 (16:41 +0200)]
Remove unneeded header
Enrico Forestieri [Sat, 11 Jul 2020 14:19:21 +0000 (16:19 +0200)]
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.
Kornel Benko [Sat, 11 Jul 2020 10:46:26 +0000 (12:46 +0200)]
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'
Kornel Benko [Sat, 11 Jul 2020 10:43:17 +0000 (12:43 +0200)]
Cmake build: Improve checks for stdlib-debug
Kornel Benko [Sat, 11 Jul 2020 10:42:25 +0000 (12:42 +0200)]
Update sk.po
Juergen Spitzmueller [Sat, 11 Jul 2020 10:30:14 +0000 (12:30 +0200)]
Fix header inclusion order
This cures a crash with stdlib-debug on autotools
Juergen Spitzmueller [Sat, 11 Jul 2020 09:18:20 +0000 (11:18 +0200)]
de.po
Juergen Spitzmueller [Sat, 11 Jul 2020 09:12:00 +0000 (11:12 +0200)]
Update tex2lyx test after last file format change
Jean-Marc Lasgouttes [Fri, 10 Jul 2020 15:17:15 +0000 (17:17 +0200)]
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.
Richard Kimberly Heck [Fri, 10 Jul 2020 02:25:09 +0000 (22:25 -0400)]
Revert "Simplify code a bit. Should be equivalent, unless backs is empty!"
This reverts commit
3c094c739ba38f43edf9698ac37dd9eee62080b1 .
Juergen Spitzmueller [Thu, 9 Jul 2020 16:59:54 +0000 (18:59 +0200)]
Add support for Libertinus Math
Juergen Spitzmueller [Thu, 9 Jul 2020 16:47:53 +0000 (18:47 +0200)]
Do not attempt to mark par break in single-line insets
Juergen Spitzmueller [Thu, 9 Jul 2020 15:39:57 +0000 (17:39 +0200)]
Typo
Juergen Spitzmueller [Thu, 9 Jul 2020 15:19:01 +0000 (17:19 +0200)]
Fix header inclusions
Jean-Marc Lasgouttes [Thu, 9 Jul 2020 10:39:36 +0000 (12:39 +0200)]
Cleanup: remove trailing underscores
These ToobarItem members are public, not private.
Juergen Spitzmueller [Thu, 9 Jul 2020 10:26:25 +0000 (12:26 +0200)]
tex2lyx: add support for libertinus
Juergen Spitzmueller [Thu, 9 Jul 2020 09:46:07 +0000 (11:46 +0200)]
Add support for the libertinus family of fonts (#11899)
File format change.
Juergen Spitzmueller [Thu, 9 Jul 2020 09:41:21 +0000 (11:41 +0200)]
LaTeXFonts: Add ScaleCommand
This is needed to add support for scaling to fonts that are switched
via command
Juergen Spitzmueller [Thu, 9 Jul 2020 09:39:43 +0000 (11:39 +0200)]
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.
Thibaut Cuvelier [Wed, 8 Jul 2020 19:15:13 +0000 (21:15 +0200)]
Update RELEASE-NOTES for DocBook
Eugene Chornyi [Thu, 9 Jul 2020 07:36:12 +0000 (09:36 +0200)]
Workaround Qtbug where QAbstractScrollArea::mouseMoveEvent(...) is called falsely when quickly double tapping on a touchpad of a notebook running Windows
Richard Kimberly Heck [Thu, 9 Jul 2020 07:27:27 +0000 (03:27 -0400)]
Change in ::docbook args
Thibaut Cuvelier [Thu, 9 Jul 2020 00:40:20 +0000 (02:40 +0200)]
Fix Coverity false positive for null-pointer dereference
Richard Kimberly Heck [Thu, 9 Jul 2020 03:59:15 +0000 (23:59 -0400)]
Simplify code a bit. Should be equivalent, unless backs is empty!
Richard Kimberly Heck [Thu, 9 Jul 2020 03:52:39 +0000 (23:52 -0400)]
Best to use braces when there are comments.
Pavel Sanda [Wed, 8 Jul 2020 22:34:19 +0000 (00:34 +0200)]
Update customization manual for docbook (part2).
Pavel Sanda [Wed, 8 Jul 2020 20:27:04 +0000 (22:27 +0200)]
Update customization manual for docbook (part1).
Kornel Benko [Wed, 8 Jul 2020 22:19:34 +0000 (00:19 +0200)]
Amend
3883b85f : Typo in "New DocBook support"
Richard Kimberly Heck [Wed, 8 Jul 2020 16:15:34 +0000 (12:15 -0400)]
Whitespace
Thibaut Cuvelier [Wed, 8 Jul 2020 13:39:01 +0000 (15:39 +0200)]
Clean up DeclareDocBookClass
Pavel Sanda [Wed, 8 Jul 2020 12:27:24 +0000 (14:27 +0200)]
Fix another constructor order of parameters
Pavel Sanda [Wed, 8 Jul 2020 12:15:33 +0000 (14:15 +0200)]
Revert docbook updates to Customization manual.
Something went wrong while merging.
Pavel Sanda [Wed, 8 Jul 2020 12:05:54 +0000 (14:05 +0200)]
comment only
Thibaut Cuvelier [Mon, 6 Jul 2020 22:11:09 +0000 (00:11 +0200)]
Remove AGU DTD style, probably doesn't work, impossible to check.
Pavel Sanda [Wed, 8 Jul 2020 11:34:45 +0000 (13:34 +0200)]
Wrong order in constructor
Thibaut Cuvelier [Sun, 5 Jul 2020 00:31:37 +0000 (02:31 +0200)]
Remove DOCBOOK enum values, no more used.
Kornel Benko [Wed, 8 Jul 2020 09:28:58 +0000 (11:28 +0200)]
Update sk.po
Pavel Sanda [Wed, 8 Jul 2020 08:08:15 +0000 (10:08 +0200)]
Makefile forgotten in previous patch
Thibaut Cuvelier [Sun, 5 Jul 2020 00:24:57 +0000 (02:24 +0200)]
Remove GuiRef::nameAllowed, as the DocBook support no more uses it
Thibaut Cuvelier [Sun, 5 Jul 2020 00:19:20 +0000 (02:19 +0200)]
Remove GuiRef::typeAllowed, as it is now always allowed.
Thibaut Cuvelier [Fri, 10 May 2019 00:54:44 +0000 (02:54 +0200)]
Add documentation for the new layout attributes.
Thibaut Cuvelier [Fri, 10 May 2019 00:20:20 +0000 (02:20 +0200)]
Migrate the previous DocBook layouts so the old documents can still be generated with the new implementation.
The output WILL change for these documents, as the output is updated from DocBook 4 to DocBook 5.
Thibaut Cuvelier [Fri, 10 May 2019 00:16:56 +0000 (02:16 +0200)]
Migrate the existing layouts to the new DocBook attributes.
Thibaut Cuvelier [Fri, 10 May 2019 00:13:23 +0000 (02:13 +0200)]
The new DocBook output has no prerequisite on the document, so enable it for each and every document.
Thibaut Cuvelier [Mon, 8 Jun 2020 21:27:49 +0000 (23:27 +0200)]
New DocBook support
Eugene Chornyi [Wed, 8 Jul 2020 05:58:49 +0000 (07:58 +0200)]
Juergen Spitzmueller [Wed, 8 Jul 2020 04:11:22 +0000 (06:11 +0200)]
de.po
Eugene Chornyi [Tue, 7 Jul 2020 19:13:34 +0000 (21:13 +0200)]
Wininstaller, fix bug where previous installations, with emergency version greater than 1, could not be seen in registry on overinstall
Yuval Deutscher [Sat, 4 Jul 2020 12:44:35 +0000 (15:44 +0300)]
Update labels and tooltips for moderncv layout
Update the user-facing strings in modercv's layout according to the
documentation of the cventry command in moderncv.
Signed-off-by: Yuval Deutscher <yuval@deut.sh>
Pavel Sanda [Tue, 7 Jul 2020 07:52:22 +0000 (09:52 +0200)]
* contrib
Pavel Sanda [Tue, 7 Jul 2020 07:49:48 +0000 (09:49 +0200)]
Add required elements in the layouts to support DocBook.
Slightly modified patch from Thibaut Cuvelier.
Juergen Spitzmueller [Sat, 4 Jul 2020 08:54:20 +0000 (10:54 +0200)]
Prevent outputting \maketitle within an inset embedded in title.
Amends [
e4ef8ddc0f8202 /lyxgit]
Juergen Spitzmueller [Fri, 3 Jul 2020 14:18:53 +0000 (16:18 +0200)]
Properly fix handling of title layouts within insets (#11787)
Thibaut Cuvelier [Thu, 9 May 2019 22:42:26 +0000 (00:42 +0200)]
Remove old example, as its mechanisms are now deprecated.
Juergen Spitzmueller [Thu, 2 Jul 2020 06:22:49 +0000 (08:22 +0200)]
constification
Yuriy Skalko [Wed, 1 Jul 2020 11:20:16 +0000 (14:20 +0300)]
Update Russian localization
Juergen Spitzmueller [Tue, 30 Jun 2020 15:23:58 +0000 (17:23 +0200)]
Fix yet another thinko in the math grid paste code
This is a Hydra!
Juergen Spitzmueller [Tue, 30 Jun 2020 07:25:59 +0000 (09:25 +0200)]
Fix cursor positioning with specific matrix pastings
Juergen Spitzmueller [Mon, 29 Jun 2020 16:52:10 +0000 (18:52 +0200)]
Fix c&p of tabular data between different LyX instances (#4448)
Juergen Spitzmueller [Mon, 29 Jun 2020 16:05:46 +0000 (18:05 +0200)]
Fix math matrix column insertion on paste
Juergen Spitzmueller [Mon, 29 Jun 2020 15:57:18 +0000 (17:57 +0200)]
Update cursor idx after grid paste if columns are appended
Juergen Spitzmueller [Mon, 29 Jun 2020 15:51:24 +0000 (17:51 +0200)]
Resize table if needed on multi-cell paste
Juergen Spitzmueller [Mon, 29 Jun 2020 14:30:49 +0000 (16:30 +0200)]
Fix math grid paste when needing more cells
Juergen Spitzmueller [Mon, 29 Jun 2020 13:13:45 +0000 (15:13 +0200)]
Implement proper pasting from multiple table cells to non-table (#4447)
Juergen Spitzmueller [Mon, 29 Jun 2020 11:40:27 +0000 (13:40 +0200)]
Correctly initialize font (language) for multiple-cell paste (#11898)
Thibaut Cuvelier [Thu, 9 May 2019 22:41:20 +0000 (00:41 +0200)]
Configure script: update names for new DocBook support, which is now always enabled.
Juergen Spitzmueller [Mon, 29 Jun 2020 10:51:15 +0000 (12:51 +0200)]
Do not paste \t when pasting multiple table columns outside table (#4449)
Kornel Benko [Mon, 29 Jun 2020 10:30:56 +0000 (12:30 +0200)]
Tools(listFontWithLang.pl): Add option to write to a file
The content is meant to be input to other commands to display
the fonts.
Juergen Spitzmueller [Mon, 29 Jun 2020 09:00:31 +0000 (11:00 +0200)]
Use new parskip in UG