]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoUpdate Russian localization
Yuriy Skalko [Sat, 30 Jan 2021 23:10:36 +0000 (01:10 +0200)]
Update Russian localization

3 years agoePub: quote all path names of the command
Stephan Witt [Sun, 7 Feb 2021 11:42:17 +0000 (12:42 +0100)]
ePub: quote all path names of the command

3 years agoCmake + epub: Install needed docbook files
Kornel Benko [Sun, 7 Feb 2021 11:37:58 +0000 (12:37 +0100)]
Cmake + epub: Install needed docbook files

3 years agoAdjust selection color of delimiter icons
Juergen Spitzmueller [Sun, 7 Feb 2021 11:32:11 +0000 (12:32 +0100)]
Adjust selection color of delimiter icons

3 years agoFix some math icons dimensions
Juergen Spitzmueller [Sun, 7 Feb 2021 11:31:48 +0000 (12:31 +0100)]
Fix some math icons dimensions

3 years agoePub: comment about subprocess.run instead of os.system to simplify code.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:35:42 +0000 (06:35 +0100)]
ePub: comment about subprocess.run instead of os.system to simplify code.

3 years agoePub: update doc for running script.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:32:46 +0000 (06:32 +0100)]
ePub: update doc for running script.

3 years agoePub: don't use glob.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:32:15 +0000 (06:32 +0100)]
ePub: don't use glob.

Recursivity requires Python 3.5+.

3 years agoePub: quote the command only on Windows.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:27:07 +0000 (06:27 +0100)]
ePub: quote the command only on Windows.

3 years agoePub: remove commented line.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:23:21 +0000 (06:23 +0100)]
ePub: remove commented line.

3 years agoePub: fix argument handling in Python script.
Thibaut Cuvelier [Sun, 7 Feb 2021 00:55:29 +0000 (01:55 +0100)]
ePub: fix argument handling in Python script.

3 years agoUpdate layouts
Enrico Forestieri [Sat, 6 Feb 2021 19:28:41 +0000 (20:28 +0100)]
Update layouts

3 years agoAmend [5ed01cd6/lyxgit]
Enrico Forestieri [Sat, 6 Feb 2021 19:07:31 +0000 (20:07 +0100)]
Amend [5ed01cd6/lyxgit]

This commit takes into account also the case in which a prime follows
a superscript, a case not explicitly mentioned in bug 1633.
This case has to be accounted for in a different way. We cannot look
ahead when exporting, so we simply tell TeXMathStream to output an
empty group if we just output a superscript and a prime comes next.

3 years agoImprove some icon paddings
Juergen Spitzmueller [Sat, 6 Feb 2021 16:02:01 +0000 (17:02 +0100)]
Improve some icon paddings

3 years agoGuiDelimiter: use highlight text color if icon is selected
Juergen Spitzmueller [Sat, 6 Feb 2021 15:25:55 +0000 (16:25 +0100)]
GuiDelimiter: use highlight text color if icon is selected

3 years agoGuiDelimiter: store delimiter name in UserRole
Juergen Spitzmueller [Sat, 6 Feb 2021 14:33:13 +0000 (15:33 +0100)]
GuiDelimiter: store delimiter name in UserRole

3 years agoGuiDelimiter: cleanup and fix crash
Juergen Spitzmueller [Sat, 6 Feb 2021 14:09:54 +0000 (15:09 +0100)]
GuiDelimiter: cleanup and fix crash

3 years agoGuiDelimiter: use SVG icons rather than relying on font (#12085)
Juergen Spitzmueller [Sat, 6 Feb 2021 13:04:48 +0000 (14:04 +0100)]
GuiDelimiter: use SVG icons rather than relying on font (#12085)

3 years ago#11453 correct name of SVG to ICNS conversion utility
Stephan Witt [Sat, 6 Feb 2021 11:42:17 +0000 (12:42 +0100)]
#11453 correct name of SVG to ICNS conversion utility

3 years agoePub related files for distribution.
Pavel Sanda [Sat, 6 Feb 2021 11:40:20 +0000 (12:40 +0100)]
ePub related files for distribution.

3 years ago#11453 add SVG to ICNS conversion utility
Stephan Witt [Sat, 6 Feb 2021 11:39:10 +0000 (12:39 +0100)]
#11453 add SVG to ICNS conversion utility

3 years agoctests: log a fixed issue
Scott Kostyshak [Sat, 6 Feb 2021 03:45:14 +0000 (22:45 -0500)]
ctests: log a fixed issue

3 years agoctests: invert a few ru Embedded Objects tests
Scott Kostyshak [Sat, 6 Feb 2021 03:08:39 +0000 (22:08 -0500)]
ctests: invert a few ru Embedded Objects tests

Consistent with the other Russian manuals.

3 years agoru Embedded: use relative paths
Scott Kostyshak [Sat, 6 Feb 2021 02:59:32 +0000 (21:59 -0500)]
ru Embedded: use relative paths

3 years agoUpdate release notes for ePub.
Thibaut Cuvelier [Fri, 5 Feb 2021 15:07:09 +0000 (16:07 +0100)]
Update release notes for ePub.

3 years agoConfigure: add ePub transformation.
Thibaut Cuvelier [Fri, 29 Jan 2021 03:37:42 +0000 (04:37 +0100)]
Configure: add ePub transformation.

3 years agodocbook2epub.
Thibaut Cuvelier [Thu, 28 Jan 2021 03:57:57 +0000 (04:57 +0100)]
docbook2epub.

3 years agoAdd Saxon 6.5.5.
Thibaut Cuvelier [Thu, 28 Jan 2021 22:33:28 +0000 (23:33 +0100)]
Add Saxon 6.5.5.

3 years agoAdd DocBook XSLT 1 stylesheets 1.79.2.
Thibaut Cuvelier [Thu, 28 Jan 2021 01:49:31 +0000 (02:49 +0100)]
Add DocBook XSLT 1 stylesheets 1.79.2.

3 years agoRussian translation of EmbeddedObjects manual by Henry Chern
Yuriy Skalko [Fri, 5 Feb 2021 14:29:28 +0000 (16:29 +0200)]
Russian translation of EmbeddedObjects manual by Henry Chern

3 years agoFix default limits value for (under|over)brace
Jean-Marc Lasgouttes [Fri, 5 Feb 2021 13:36:21 +0000 (14:36 +0100)]
Fix default limits value for (under|over)brace

Fixes bug #12107.

3 years agoAvoid double superscript errors
Enrico Forestieri [Fri, 5 Feb 2021 00:03:09 +0000 (01:03 +0100)]
Avoid double superscript errors

Fixes #1633

3 years agoAdd support for \bigtimes
Enrico Forestieri [Thu, 4 Feb 2021 22:20:01 +0000 (23:20 +0100)]
Add support for \bigtimes

Fixes #11223

3 years agoDisable direct insertion of multiple spaces in mathed text
Enrico Forestieri [Thu, 4 Feb 2021 20:20:45 +0000 (21:20 +0100)]
Disable direct insertion of multiple spaces in mathed text

Fixes #1311

3 years agoConfigure: look for Java in the registry on Windows.
Thibaut Cuvelier [Fri, 29 Jan 2021 03:21:35 +0000 (04:21 +0100)]
Configure: look for Java in the registry on Windows.

3 years agoConfigure: turn a commented print into a logger.debug statement.
Thibaut Cuvelier [Fri, 29 Jan 2021 00:46:38 +0000 (01:46 +0100)]
Configure: turn a commented print into a logger.debug statement.

3 years agoConfigure: get rid of mutable keyword arguments.
Thibaut Cuvelier [Thu, 4 Feb 2021 19:34:37 +0000 (20:34 +0100)]
Configure: get rid of mutable keyword arguments.

3 years agoConfigure: remove the old docbook format, no more useful.
Thibaut Cuvelier [Thu, 28 Jan 2021 04:16:33 +0000 (05:16 +0100)]
Configure: remove the old docbook format, no more useful.

3 years agoThe menu Options has been renamed Tools.
Thibaut Cuvelier [Thu, 28 Jan 2021 04:04:39 +0000 (05:04 +0100)]
The menu Options has been renamed Tools.

3 years agoext_copy: bug when creating the error string.
Thibaut Cuvelier [Thu, 28 Jan 2021 01:32:51 +0000 (02:32 +0100)]
ext_copy: bug when creating the error string.

Wrong usage of % syntax.

3 years agoAttempt on #12066.
Pavel Sanda [Wed, 3 Feb 2021 21:06:14 +0000 (22:06 +0100)]
Attempt on #12066.

Some lfuns are handled directly in GuiApplication while handling
of menu hiding in fullscreen was done on the level of GuiView.

We'll see if this code movement breaks in different scenarios,
but quick grep suggested that the only other way to guiview
dispatch is through drag&drop when menu isn't involved.

3 years agoForce redraw of all bufferviews after zoom in/out
Jean-Marc Lasgouttes [Mon, 1 Feb 2021 17:19:46 +0000 (18:19 +0100)]
Force redraw of all bufferviews after zoom in/out

Add a new ForceAll update flag that forces to update metrics and
redraw all buffer views.

The situation in multi windows setting is very fragile and will need
to be adressed properly in the 2.5 cycle.

3 years agoFindAdv: Ignore '\ensuremath{' while searching
Kornel Benko [Wed, 3 Feb 2021 11:18:33 +0000 (12:18 +0100)]
FindAdv: Ignore '\ensuremath{' while searching

but keep contents
e.g. '\ensuremath{abc}' ==> 'abc'

3 years agoAmend [bc806084/lyxgit]
Enrico Forestieri [Wed, 3 Feb 2021 10:45:52 +0000 (11:45 +0100)]
Amend [bc806084/lyxgit]

Rise a bit \dot, \ddots & co., as with some fonts they might
be drawn too close to the symbol they decorate.

3 years agoAmend [b6c089afa4/lyxgit].
Juergen Spitzmueller [Wed, 3 Feb 2021 09:23:17 +0000 (10:23 +0100)]
Amend [b6c089afa4/lyxgit].

3 years agoFix bug #11351.
Richard Kimberly Heck [Tue, 2 Feb 2021 22:34:25 +0000 (17:34 -0500)]
Fix bug #11351.

Patch from Daniel.

3 years agoUse a static map so we don't have to reinitialize every time.
Richard Kimberly Heck [Tue, 2 Feb 2021 22:30:57 +0000 (17:30 -0500)]
Use a static map so we don't have to reinitialize every time.

3 years agoFix #12104
Richard Kimberly Heck [Tue, 2 Feb 2021 22:23:00 +0000 (17:23 -0500)]
Fix #12104

3 years agoImprove alignment of math decorations
Enrico Forestieri [Tue, 2 Feb 2021 18:39:52 +0000 (19:39 +0100)]
Improve alignment of math decorations

This patch takes into account the skewness of a character for properly
align a decoration. Unfortunately, the required amount of shift depends
on single chars, so that the recently introduced FontMetrics::italicSlope()
method cannot be used with all characters. A heuristics that produces
satisfactory results is using the italic slope only with characters whose
italic correction (kerning) is zero.

Part of #11491

3 years agoImprove appearance of dots at higher zoom levels
Enrico Forestieri [Mon, 1 Feb 2021 19:02:37 +0000 (20:02 +0100)]
Improve appearance of dots at higher zoom levels

Make \dot, \ddot and friends more round when increasing zoom

Part of #11491

3 years agoMake math decorations scalable with zoom level
Enrico Forestieri [Mon, 1 Feb 2021 01:53:00 +0000 (02:53 +0100)]
Make math decorations scalable with zoom level

Fixes #11491

3 years agoFix highlighting of cursor context in View Source (#12099)
Juergen Spitzmueller [Sun, 31 Jan 2021 16:54:54 +0000 (17:54 +0100)]
Fix highlighting of cursor context in View Source (#12099)

This also considers dark mode,

3 years agomake distcheck broken after old installer purge.
Pavel Sanda [Sun, 31 Jan 2021 15:32:51 +0000 (16:32 +0100)]
make distcheck broken after old installer purge.

3 years agoFix make check
Enrico Forestieri [Sun, 31 Jan 2021 14:21:23 +0000 (15:21 +0100)]
Fix make check

We have to explicitly link zlib after [197ea636/lyxgit].

3 years agoFindAdv: Optimization
Kornel Benko [Sun, 31 Jan 2021 08:53:06 +0000 (09:53 +0100)]
FindAdv: Optimization

Using unordered_map instead of map.
Reasons:
1.) The relevant maps contain 166(Keys) and 649(Accents) entries.
  This mean that average access with 'map' needs 8 to 10 compares to find the value.
2.) Since we are using at least c++11, the unordered_map is available
2.) increasing the maps (in future) needs not to be considered anymore, because
  the access-time will not increase.

3 years agoChange backspace behavior in align type equations
Enrico Forestieri [Sat, 30 Jan 2021 23:51:15 +0000 (00:51 +0100)]
Change backspace behavior in align type equations

When hitting backspace in the first position of a cell in mathed,
if the cell is part of an array, the whole array is dissolved
and the sole cell content pasted in the containing environment.

But if the cell is part of an eqnarray or align math hull type, the
cursor is simply (and unexpectedly) taken out of the whole equation,
which is left unchanged.

This patch makes backspace equivalent to the cursor left key in those
cases, while leaving the behavior unchanged in all other ones.

Fixes #11678

3 years agoPreserve multirow/-column content on deletion of subrows/columns (#11380)
Daniel Ramoeller [Sat, 30 Jan 2021 16:03:33 +0000 (17:03 +0100)]
Preserve multirow/-column content on deletion of subrows/columns (#11380)

3 years agoAdd ProvideInsetLayout and ModifyInsetLayout (#12098)
Juergen Spitzmueller [Sat, 30 Jan 2021 14:56:31 +0000 (15:56 +0100)]
Add ProvideInsetLayout and ModifyInsetLayout (#12098)

This complements ProvideStyle and ModifyStyle.

3 years agoDo not overwrite InsetLayout font/color
Juergen Spitzmueller [Sat, 30 Jan 2021 14:16:12 +0000 (15:16 +0100)]
Do not overwrite InsetLayout font/color

3 years agoWhitespace
Juergen Spitzmueller [Sat, 30 Jan 2021 14:11:18 +0000 (15:11 +0100)]
Whitespace

3 years agoImprove \TestPackageVersion
Juergen Spitzmueller [Sat, 30 Jan 2021 13:00:20 +0000 (14:00 +0100)]
Improve \TestPackageVersion

No need to load packages manually

3 years agoFix a null pointer dereference spotted by coverity
Juergen Spitzmueller [Sat, 30 Jan 2021 12:46:47 +0000 (13:46 +0100)]
Fix a null pointer dereference spotted by coverity

3 years agoRevert "No need to set background color of a newly created branch."
Juergen Spitzmueller [Sat, 30 Jan 2021 08:16:15 +0000 (09:16 +0100)]
Revert "No need to set background color of a newly created branch."

This breaks color initialization with new branches in dark mode.

This reverts commit 5145694cd067e221a661e0d6c7dce4ed5ca22e37.

3 years agoRecent multirow finally allows multiple paragraphs
Juergen Spitzmueller [Sat, 30 Jan 2021 08:15:14 +0000 (09:15 +0100)]
Recent multirow finally allows multiple paragraphs

3 years agoAllow pasting references to mathed
Enrico Forestieri [Sat, 30 Jan 2021 00:32:40 +0000 (01:32 +0100)]
Allow pasting references to mathed

A reference can be directly inserted into mathed but cannot be pasted
because the pasted material is returned in plain text format. This patch
allows getting a string from the cut stack in a suitable format allowing
the math parser to actually create an InsetRef.

Fixes #11539

3 years agoInitialize properly IconInfo struct
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:57:13 +0000 (18:57 +0100)]
Initialize properly IconInfo struct

Spotted by coverity.

3 years agoCopy/paste error in BranchList::setColors
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:51:19 +0000 (18:51 +0100)]
Copy/paste error in BranchList::setColors

Spotted by coverity.

3 years agoChangesMonitor: beware of exceptions in destructor
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:45:50 +0000 (18:45 +0100)]
ChangesMonitor: beware of exceptions in destructor

There may be an exception is the paragraph does not have an owner. In
this case, there is nothing to do anyway.

Spotted by coverity.

3 years agoFindAndReplaceOptions: initialize properly matchAtStart
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:35:38 +0000 (18:35 +0100)]
FindAndReplaceOptions: initialize properly matchAtStart

Spotted by coverity.

3 years agoNo need to set background color of a newly created branch.
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:29:55 +0000 (18:29 +0100)]
No need to set background color of a newly created branch.

Fixes a null pointer dereference spotted by coverity.

3 years agoLengthValidator: initialize properly positive_
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:17:16 +0000 (18:17 +0100)]
LengthValidator: initialize properly positive_

Spotted by coverity.

3 years agoInitialise correctly branch_list_id_
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:01:08 +0000 (18:01 +0100)]
Initialise correctly branch_list_id_

Reported by coverity.

3 years agoUpdate sk.po
Kornel Benko [Fri, 29 Jan 2021 15:16:18 +0000 (16:16 +0100)]
Update sk.po

3 years agoCmake key-tests: These are very touchy in respect to timings
Kornel Benko [Fri, 29 Jan 2021 15:11:16 +0000 (16:11 +0100)]
Cmake key-tests: These are very touchy in respect to timings

Cmake key-tests: These are very touchy in respect to timings

1.) Try to use shortcuts instead of direct command
2.) use bigger pause where needed

3 years agoSK-Bindings: remove a binding prohibiting the use as a prefix
Kornel Benko [Fri, 29 Jan 2021 15:05:07 +0000 (16:05 +0100)]
SK-Bindings: remove a binding prohibiting the use as a prefix

3 years agoCosmetics
Juergen Spitzmueller [Fri, 29 Jan 2021 14:46:46 +0000 (15:46 +0100)]
Cosmetics

3 years agoDo not output \maketitle in table cells if the table is in the title
Juergen Spitzmueller [Fri, 29 Jan 2021 14:45:54 +0000 (15:45 +0100)]
Do not output \maketitle in table cells if the table is in the title

3 years agoFixup f3a0e8ff: Reset needUpdate after buffer update
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 13:30:21 +0000 (14:30 +0100)]
Fixup f3a0e8ff: Reset needUpdate after buffer update

3 years agoAvoid deprecation warnings
Enrico Forestieri [Fri, 29 Jan 2021 12:12:29 +0000 (13:12 +0100)]
Avoid deprecation warnings

In Qt 5.15 many deprecation warnings are issued, presumably for
helping the port to Qt 6. They are really a load but can be
shuten up by using -DQT_NO_DEPRECATED_WARNINGS, except for the ones
about MidButton, AdjustToMinimumContentsLength, and DefaultLocaleLongDate.

This change should not affect compilation with Qt 4, as all changes are
backward compatible (only Qt versions prior 4.5 could be affected).

3 years agoUpdate it.po
Enrico Forestieri [Fri, 29 Jan 2021 11:29:36 +0000 (12:29 +0100)]
Update it.po

3 years agoSet proper multirow size in X table columns
Juergen Spitzmueller [Fri, 29 Jan 2021 09:15:36 +0000 (10:15 +0100)]
Set proper multirow size in X table columns

3 years agoctests: unignore tests thanks to lyx2lyx feature
Scott Kostyshak [Thu, 28 Jan 2021 18:35:57 +0000 (13:35 -0500)]
ctests: unignore tests thanks to lyx2lyx feature

The lyx2lyx roundtrip feature added at 364532a7 fixed the
convergence of some tests so we remove them from the ignored list.

3 years agoctests: log found regression and fix
Scott Kostyshak [Thu, 28 Jan 2021 16:59:41 +0000 (11:59 -0500)]
ctests: log found regression and fix

3 years agoRun updateBuffer when adding/merging changes
Jean-Marc Lasgouttes [Thu, 28 Jan 2021 09:10:18 +0000 (10:10 +0100)]
Run updateBuffer when adding/merging changes

Following 4a4ded22, the enabling of some change-related functions is
handled in updateBuffer. However, this method is not ran at every
document change for performance reasons.

This patch adds code to every place that modifies
Paragraph::Private::changes_ that checks whether the `changedness' of
the paragraph, err... changes.

To this end, a new helper struct is introduced that remembers
paragraph state at contruction time, and compares it to new state in
the destructor.

New forceUpdate/needUpdate methods are added to Buffer class, since
the cursor is in general not available in the places where these
changes are made.

Fixes bug #12074.

3 years agode.po
Juergen Spitzmueller [Thu, 28 Jan 2021 09:34:06 +0000 (10:34 +0100)]
de.po

3 years agoUpdate tex2lyx tests
Juergen Spitzmueller [Thu, 28 Jan 2021 09:28:57 +0000 (10:28 +0100)]
Update tex2lyx tests

3 years agoAdd frontispiece layout to KOMA classes
Juergen Spitzmueller [Thu, 28 Jan 2021 09:24:28 +0000 (10:24 +0100)]
Add frontispiece layout to KOMA classes

3 years agoConsider cell language
Juergen Spitzmueller [Thu, 28 Jan 2021 08:25:20 +0000 (09:25 +0100)]
Consider cell language

3 years agoImprove lyx2lyx roundtrip with cellvarwidth
Juergen Spitzmueller [Thu, 28 Jan 2021 07:44:21 +0000 (08:44 +0100)]
Improve lyx2lyx roundtrip with cellvarwidth

3 years agoctests: add found regression and fix
Scott Kostyshak [Thu, 28 Jan 2021 05:25:30 +0000 (00:25 -0500)]
ctests: add found regression and fix

3 years agoctests-costs-benefits: define false positive
Scott Kostyshak [Thu, 28 Jan 2021 05:14:37 +0000 (00:14 -0500)]
ctests-costs-benefits: define false positive

A false positive could either be "not a bug" or a bug that is not
worth the time or complexity to fix. For the purpose of evaluating
the tests, the distinction is not important.

3 years agoctests: ignore lyx2lyx fails due to no convergence
Scott Kostyshak [Thu, 28 Jan 2021 01:28:38 +0000 (20:28 -0500)]
ctests: ignore lyx2lyx fails due to no convergence

These exports knowingly do not pass the convergence tests because
of ERT export.

3 years agoFix dependencies downloading on Windows.
Thibaut Cuvelier [Wed, 27 Jan 2021 19:13:42 +0000 (20:13 +0100)]
Fix dependencies downloading on Windows.

3 years agoUpdate Russian localization
Yuriy Skalko [Mon, 25 Jan 2021 13:12:53 +0000 (15:12 +0200)]
Update Russian localization

3 years agoUpdate sk.po
Kornel Benko [Wed, 27 Jan 2021 09:49:20 +0000 (10:49 +0100)]
Update sk.po

3 years agoProvide translation of caption label for fr and he.
Jean-Marc Lasgouttes [Wed, 27 Jan 2021 09:31:20 +0000 (10:31 +0100)]
Provide translation of caption label for fr and he.

Part of bug #10531.

3 years agoRemerge strings
Jean-Marc Lasgouttes [Tue, 26 Jan 2021 18:29:37 +0000 (19:29 +0100)]
Remerge strings

3 years agoMake InsetCaption label localizable
Jean-Marc Lasgouttes [Tue, 26 Jan 2021 18:26:36 +0000 (19:26 +0100)]
Make InsetCaption label localizable

Part of bug #10531.

3 years agocount_pars_in_inset: check nested insets
Juergen Spitzmueller [Wed, 27 Jan 2021 07:24:17 +0000 (08:24 +0100)]
count_pars_in_inset: check nested insets

3 years agoctests: log cost of recent false positive
Scott Kostyshak [Tue, 26 Jan 2021 18:28:41 +0000 (13:28 -0500)]
ctests: log cost of recent false positive