]> git.lyx.org Git - lyx.git/log
lyx.git
4 years agoInsetFloat: pass back inset-modify that is addressed to other inset
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

4 years agoInsetInfo: Pass back inset-modify that do not target this inset
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.

4 years agoAmend2 26fa3b3d: Added support for sanity checks (Option LYX_ENABLE_ASSERTIONS)
Kornel Benko [Mon, 13 Jul 2020 11:51:44 +0000 (13:51 +0200)]
Amend2 26fa3b3d: Added support for sanity checks (Option LYX_ENABLE_ASSERTIONS)

4 years agoCmake build: Select some defaults depending on LYX_BUILD_TYPE
Kornel Benko [Mon, 13 Jul 2020 08:53:52 +0000 (10:53 +0200)]
Cmake build: Select some defaults depending on LYX_BUILD_TYPE

4 years agoAmend 26fa3b3d, Cmake build: Move interpretation of configure.ac to own function
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)

4 years agoImprove handling of top and bottom margin
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.

4 years agoRevert "Improve handling of top and bottom margin"
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.

4 years agoImprove handling of top and bottom margin
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.

4 years agoWininstaller, remove the option to run LyX from the finish page
Eugene Chornyi [Sun, 12 Jul 2020 16:54:56 +0000 (18:54 +0200)]
Wininstaller, remove the option to run LyX from the finish page

4 years agoAdd sections to HTML output.
Thibaut Cuvelier [Sun, 12 Jul 2020 15:58:50 +0000 (17:58 +0200)]
Add sections to HTML output.

4 years agoCmake build: Move interpretation of configure.ac to own function
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

4 years agoImprove drawing of macro template frame
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.

4 years ago* RELEASE-NOTES
Pavel Sanda [Sun, 12 Jul 2020 09:52:06 +0000 (11:52 +0200)]
* RELEASE-NOTES

4 years agoFix and simplify computation of painter monochrome mode
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.

4 years agoWininstaller2, use plugin to start LyX as user after installation as admin
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

4 years agoSet desktop name for Wayland
Jean-Marc Lasgouttes [Thu, 30 Apr 2020 10:35:57 +0000 (12:35 +0200)]
Set desktop name for Wayland

Fixes bug 11847.

4 years agoWininstaller2, fix wrong logic
Eugene Chornyi [Sat, 11 Jul 2020 18:34:01 +0000 (20:34 +0200)]
Wininstaller2, fix wrong logic

4 years agoSmall update to INSTALL
Jean-Marc Lasgouttes [Sat, 11 Jul 2020 17:54:06 +0000 (19:54 +0200)]
Small update to INSTALL

4 years agoRemove unneeded header
Juergen Spitzmueller [Sat, 11 Jul 2020 14:41:34 +0000 (16:41 +0200)]
Remove unneeded header

4 years agoFix compilation on platforms where sizeof(wchar_t) == 2.
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.

4 years agoTools(listFontWithLang.pl): Allow the include of the separator glyph in the list...
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'

4 years agoCmake build: Improve checks for stdlib-debug
Kornel Benko [Sat, 11 Jul 2020 10:43:17 +0000 (12:43 +0200)]
Cmake build: Improve checks for stdlib-debug

4 years agoUpdate sk.po
Kornel Benko [Sat, 11 Jul 2020 10:42:25 +0000 (12:42 +0200)]
Update sk.po

4 years agoFix header inclusion order
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

4 years agode.po
Juergen Spitzmueller [Sat, 11 Jul 2020 09:18:20 +0000 (11:18 +0200)]
de.po

4 years agoUpdate tex2lyx test after last file format change
Juergen Spitzmueller [Sat, 11 Jul 2020 09:12:00 +0000 (11:12 +0200)]
Update tex2lyx test after last file format change

4 years agoUse Common Number separator instead of European to detect numbers
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.

4 years agoRevert "Simplify code a bit. Should be equivalent, unless backs is empty!"
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.

4 years agoAdd support for Libertinus Math
Juergen Spitzmueller [Thu, 9 Jul 2020 16:59:54 +0000 (18:59 +0200)]
Add support for Libertinus Math

4 years agoDo not attempt to mark par break in single-line insets
Juergen Spitzmueller [Thu, 9 Jul 2020 16:47:53 +0000 (18:47 +0200)]
Do not attempt to mark par break in single-line insets

4 years agoTypo
Juergen Spitzmueller [Thu, 9 Jul 2020 15:39:57 +0000 (17:39 +0200)]
Typo

4 years agoFix header inclusions
Juergen Spitzmueller [Thu, 9 Jul 2020 15:19:01 +0000 (17:19 +0200)]
Fix header inclusions

4 years agoCleanup: remove trailing underscores
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.

4 years agotex2lyx: add support for libertinus
Juergen Spitzmueller [Thu, 9 Jul 2020 10:26:25 +0000 (12:26 +0200)]
tex2lyx: add support for libertinus

4 years agoAdd support for the libertinus family of fonts (#11899)
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.

4 years agoLaTeXFonts: Add ScaleCommand
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

4 years agoProvide option to prevent unnecessary font loading.
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.

4 years agoUpdate RELEASE-NOTES for DocBook
Thibaut Cuvelier [Wed, 8 Jul 2020 19:15:13 +0000 (21:15 +0200)]
Update RELEASE-NOTES for DocBook

4 years agoWorkaround Qtbug where QAbstractScrollArea::mouseMoveEvent(...) is called falsely...
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

4 years agoChange in ::docbook args
Richard Kimberly Heck [Thu, 9 Jul 2020 07:27:27 +0000 (03:27 -0400)]
Change in ::docbook args

4 years agoFix Coverity false positive for null-pointer dereference
Thibaut Cuvelier [Thu, 9 Jul 2020 00:40:20 +0000 (02:40 +0200)]
Fix Coverity false positive for null-pointer dereference

4 years agoSimplify code a bit. Should be equivalent, unless backs is empty!
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!

4 years agoBest to use braces when there are comments.
Richard Kimberly Heck [Thu, 9 Jul 2020 03:52:39 +0000 (23:52 -0400)]
Best to use braces when there are comments.

4 years agoUpdate customization manual for docbook (part2).
Pavel Sanda [Wed, 8 Jul 2020 22:34:19 +0000 (00:34 +0200)]
Update customization manual for docbook (part2).

4 years agoUpdate customization manual for docbook (part1).
Pavel Sanda [Wed, 8 Jul 2020 20:27:04 +0000 (22:27 +0200)]
Update customization manual for docbook (part1).

4 years agoAmend 3883b85f: Typo in "New DocBook support"
Kornel Benko [Wed, 8 Jul 2020 22:19:34 +0000 (00:19 +0200)]
Amend 3883b85f: Typo in "New DocBook support"

4 years agoWhitespace
Richard Kimberly Heck [Wed, 8 Jul 2020 16:15:34 +0000 (12:15 -0400)]
Whitespace

4 years agoClean up DeclareDocBookClass
Thibaut Cuvelier [Wed, 8 Jul 2020 13:39:01 +0000 (15:39 +0200)]
Clean up DeclareDocBookClass

4 years agoFix another constructor order of parameters
Pavel Sanda [Wed, 8 Jul 2020 12:27:24 +0000 (14:27 +0200)]
Fix another constructor order of parameters

4 years agoRevert docbook updates to Customization manual.
Pavel Sanda [Wed, 8 Jul 2020 12:15:33 +0000 (14:15 +0200)]
Revert docbook updates to Customization manual.

Something went wrong while merging.

4 years agocomment only
Pavel Sanda [Wed, 8 Jul 2020 12:05:54 +0000 (14:05 +0200)]
comment only

4 years agoRemove AGU DTD style, probably doesn't work, impossible to check.
Thibaut Cuvelier [Mon, 6 Jul 2020 22:11:09 +0000 (00:11 +0200)]
Remove AGU DTD style, probably doesn't work, impossible to check.

4 years agoWrong order in constructor
Pavel Sanda [Wed, 8 Jul 2020 11:34:45 +0000 (13:34 +0200)]
Wrong order in constructor

4 years agoRemove DOCBOOK enum values, no more used.
Thibaut Cuvelier [Sun, 5 Jul 2020 00:31:37 +0000 (02:31 +0200)]
Remove DOCBOOK enum values, no more used.

4 years agoUpdate sk.po
Kornel Benko [Wed, 8 Jul 2020 09:28:58 +0000 (11:28 +0200)]
Update sk.po

4 years agoMakefile forgotten in previous patch
Pavel Sanda [Wed, 8 Jul 2020 08:08:15 +0000 (10:08 +0200)]
Makefile forgotten in previous patch

4 years agoRemove GuiRef::nameAllowed, as the DocBook support no more uses it
Thibaut Cuvelier [Sun, 5 Jul 2020 00:24:57 +0000 (02:24 +0200)]
Remove GuiRef::nameAllowed, as the DocBook support no more uses it

4 years agoRemove GuiRef::typeAllowed, as it is now always allowed.
Thibaut Cuvelier [Sun, 5 Jul 2020 00:19:20 +0000 (02:19 +0200)]
Remove GuiRef::typeAllowed, as it is now always allowed.

4 years agoAdd documentation for the new layout attributes.
Thibaut Cuvelier [Fri, 10 May 2019 00:54:44 +0000 (02:54 +0200)]
Add documentation for the new layout attributes.

4 years agoMigrate the previous DocBook layouts so the old documents can still be generated...
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.

4 years agoMigrate the existing layouts to the new DocBook attributes.
Thibaut Cuvelier [Fri, 10 May 2019 00:16:56 +0000 (02:16 +0200)]
Migrate the existing layouts to the new DocBook attributes.

4 years agoThe new DocBook output has no prerequisite on the document, so enable it for each...
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.

4 years agoNew DocBook support
Thibaut Cuvelier [Mon, 8 Jun 2020 21:27:49 +0000 (23:27 +0200)]
New DocBook support

4 years agoAmend 32e501a2
Eugene Chornyi [Wed, 8 Jul 2020 05:58:49 +0000 (07:58 +0200)]
Amend 32e501a2

4 years agode.po
Juergen Spitzmueller [Wed, 8 Jul 2020 04:11:22 +0000 (06:11 +0200)]
de.po

4 years agoWininstaller, fix bug where previous installations, with emergency version greater...
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

4 years agoUpdate labels and tooltips for moderncv layout
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>
4 years ago* contrib
Pavel Sanda [Tue, 7 Jul 2020 07:52:22 +0000 (09:52 +0200)]
* contrib

4 years agoAdd required elements in the layouts to support DocBook.
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.

4 years agoPrevent outputting \maketitle within an inset embedded in title.
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]

4 years agoProperly fix handling of title layouts within insets (#11787)
Juergen Spitzmueller [Fri, 3 Jul 2020 14:18:53 +0000 (16:18 +0200)]
Properly fix handling of title layouts within insets (#11787)

4 years agoRemove old example, as its mechanisms are now deprecated.
Thibaut Cuvelier [Thu, 9 May 2019 22:42:26 +0000 (00:42 +0200)]
Remove old example, as its mechanisms are now deprecated.

4 years agoconstification
Juergen Spitzmueller [Thu, 2 Jul 2020 06:22:49 +0000 (08:22 +0200)]
constification

4 years agoUpdate Russian localization
Yuriy Skalko [Wed, 1 Jul 2020 11:20:16 +0000 (14:20 +0300)]
Update Russian localization

4 years agoFix yet another thinko in the math grid paste code
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!

4 years agoFix cursor positioning with specific matrix pastings
Juergen Spitzmueller [Tue, 30 Jun 2020 07:25:59 +0000 (09:25 +0200)]
Fix cursor positioning with specific matrix pastings

4 years agoFix c&p of tabular data between different LyX instances (#4448)
Juergen Spitzmueller [Mon, 29 Jun 2020 16:52:10 +0000 (18:52 +0200)]
Fix c&p of tabular data between different LyX instances (#4448)

4 years agoFix math matrix column insertion on paste
Juergen Spitzmueller [Mon, 29 Jun 2020 16:05:46 +0000 (18:05 +0200)]
Fix math matrix column insertion on paste

4 years agoUpdate cursor idx after grid paste if columns are appended
Juergen Spitzmueller [Mon, 29 Jun 2020 15:57:18 +0000 (17:57 +0200)]
Update cursor idx after grid paste if columns are appended

4 years agoResize table if needed on multi-cell paste
Juergen Spitzmueller [Mon, 29 Jun 2020 15:51:24 +0000 (17:51 +0200)]
Resize table if needed on multi-cell paste

4 years agoFix math grid paste when needing more cells
Juergen Spitzmueller [Mon, 29 Jun 2020 14:30:49 +0000 (16:30 +0200)]
Fix math grid paste when needing more cells

4 years agoImplement proper pasting from multiple table cells to non-table (#4447)
Juergen Spitzmueller [Mon, 29 Jun 2020 13:13:45 +0000 (15:13 +0200)]
Implement proper pasting from multiple table cells to non-table (#4447)

4 years agoCorrectly initialize font (language) for multiple-cell paste (#11898)
Juergen Spitzmueller [Mon, 29 Jun 2020 11:40:27 +0000 (13:40 +0200)]
Correctly initialize font (language) for multiple-cell paste (#11898)

4 years agoConfigure script: update names for new DocBook support, which is now always enabled.
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.

4 years agoDo not paste \t when pasting multiple table columns outside table (#4449)
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)

4 years agoTools(listFontWithLang.pl): Add option to write to a file
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.

4 years agoUse new parskip in UG
Juergen Spitzmueller [Mon, 29 Jun 2020 09:00:31 +0000 (11:00 +0200)]
Use new parskip in UG

4 years agoFix pasting of math grid with more rows in source than target (#11897)
Juergen Spitzmueller [Mon, 29 Jun 2020 07:48:05 +0000 (09:48 +0200)]
Fix pasting of math grid with more rows in source than target (#11897)

4 years agoHonor "provides parskip 1"
Juergen Spitzmueller [Mon, 29 Jun 2020 07:00:28 +0000 (09:00 +0200)]
Honor "provides parskip 1"

4 years agoUpdate sk.po
Kornel Benko [Sun, 28 Jun 2020 17:18:14 +0000 (19:18 +0200)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Sun, 28 Jun 2020 16:53:36 +0000 (18:53 +0200)]
de.po

4 years agoSupport halfline and fullline also in vspace.
Juergen Spitzmueller [Sun, 28 Jun 2020 16:27:59 +0000 (18:27 +0200)]
Support halfline and fullline also in vspace.

4 years agoupdate tex2lyx tests
Juergen Spitzmueller [Sun, 28 Jun 2020 15:27:36 +0000 (17:27 +0200)]
update tex2lyx tests

4 years agouse package parskip to separate paragraphs with vertical space (#4796)
Juergen Spitzmueller [Sun, 28 Jun 2020 15:20:18 +0000 (17:20 +0200)]
use package parskip to separate paragraphs with vertical space (#4796)

File format change

4 years agoUpdate Russian
Yuriy Skalko [Sat, 27 Jun 2020 15:55:57 +0000 (18:55 +0300)]
Update Russian

4 years agoForce local switch for info insets that change language
Juergen Spitzmueller [Sat, 27 Jun 2020 07:40:12 +0000 (09:40 +0200)]
Force local switch for info insets that change language

Fixes compilation of current English UG

4 years agoClarify \upbrace and \downbrace (#11896)
Juergen Spitzmueller [Sat, 27 Jun 2020 07:22:36 +0000 (09:22 +0200)]
Clarify \upbrace and \downbrace (#11896)

4 years agoAdding DocBook test cases.
Thibaut Cuvelier [Thu, 9 May 2019 22:39:56 +0000 (00:39 +0200)]
Adding DocBook test cases.

4 years agoUpdate sk.po
Kornel Benko [Fri, 26 Jun 2020 10:26:29 +0000 (12:26 +0200)]
Update sk.po

4 years agoUpdate tex2lyx tests after file format change
Juergen Spitzmueller [Fri, 26 Jun 2020 09:32:01 +0000 (11:32 +0200)]
Update tex2lyx tests after file format change