]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoSet GUI name for local greyedouttext color (#12130)
Juergen Spitzmueller [Thu, 11 Feb 2021 08:05:42 +0000 (09:05 +0100)]
Set GUI name for local greyedouttext color (#12130)

3 years agoFix indentation
Juergen Spitzmueller [Thu, 11 Feb 2021 07:08:37 +0000 (08:08 +0100)]
Fix indentation

3 years agoRe-initiate module filter after dialog re-opening (#12128)
Juergen Spitzmueller [Thu, 11 Feb 2021 07:07:55 +0000 (08:07 +0100)]
Re-initiate module filter after dialog re-opening (#12128)

3 years agoAssure filtered module items are not editable (#12127)
Juergen Spitzmueller [Thu, 11 Feb 2021 06:57:09 +0000 (07:57 +0100)]
Assure filtered module items are not editable (#12127)

3 years agoFix bug #10646.
Richard Kimberly Heck [Wed, 10 Feb 2021 21:04:25 +0000 (16:04 -0500)]
Fix bug #10646.

3 years agoMake delimiter icons a bit smaller
Juergen Spitzmueller [Wed, 10 Feb 2021 10:40:56 +0000 (11:40 +0100)]
Make delimiter icons a bit smaller

3 years agoUpdate sk.po
Kornel Benko [Wed, 10 Feb 2021 09:50:23 +0000 (10:50 +0100)]
Update sk.po

3 years agoDEPM: do not fix cursor pit if it was in a different cell
Jean-Marc Lasgouttes [Wed, 10 Feb 2021 09:20:34 +0000 (10:20 +0100)]
DEPM: do not fix cursor pit if it was in a different cell

This bug has been here forever.

Fixes bug #12117.

3 years agoRemove left/right spacing around top/left buttons
Jean-Marc Lasgouttes [Tue, 9 Feb 2021 15:12:16 +0000 (16:12 +0100)]
Remove left/right spacing around top/left buttons

This makes collapsible insets look better.

Fixes #10323.

3 years agoAdd LFUN_LYXFILES_OPEN
Juergen Spitzmueller [Wed, 10 Feb 2021 08:36:32 +0000 (09:36 +0100)]
Add LFUN_LYXFILES_OPEN

This opens the new templates/examples dialog and creates a view if
necessary (#12106).

3 years agode/Math.lyx: pull changes from en/
Juergen Spitzmueller [Tue, 9 Feb 2021 18:10:48 +0000 (19:10 +0100)]
de/Math.lyx: pull changes from en/

3 years ago Update fr.po (step 1)
jpc [Tue, 9 Feb 2021 17:38:56 +0000 (18:38 +0100)]
Update fr.po (step 1)

3 years agoStore the AuthorList in the cut stack
Juergen Spitzmueller [Tue, 9 Feb 2021 15:54:21 +0000 (16:54 +0100)]
Store the AuthorList in the cut stack

Otherwise we crash when we paste text with markup into a different buffer
that has change tracking disabled (in this case, markup is now kept).

3 years agoUse AutoNests in g-brief (#7623)
Juergen Spitzmueller [Tue, 9 Feb 2021 14:06:21 +0000 (15:06 +0100)]
Use AutoNests in g-brief (#7623)

3 years agoUpdate sk.po
Kornel Benko [Tue, 9 Feb 2021 14:00:35 +0000 (15:00 +0100)]
Update sk.po

3 years agode.po
Juergen Spitzmueller [Tue, 9 Feb 2021 13:09:37 +0000 (14:09 +0100)]
de.po

3 years agoRemove outdated math panel png files
Juergen Spitzmueller [Tue, 9 Feb 2021 13:02:09 +0000 (14:02 +0100)]
Remove outdated math panel png files

3 years agoBulletsModule: disable size widget with custom bullet (#12011)
Juergen Spitzmueller [Tue, 9 Feb 2021 10:01:45 +0000 (11:01 +0100)]
BulletsModule: disable size widget with custom bullet (#12011)

3 years agoUse SVG icons in itemize bullet selector
Juergen Spitzmueller [Tue, 9 Feb 2021 09:32:16 +0000 (10:32 +0100)]
Use SVG icons in itemize bullet selector

This scales much better than the current png solution, is HiDPI- and
darkmode-ready

3 years agoDo not show completion cursor if completion is inactive
Richard Kimberly Heck [Mon, 8 Feb 2021 23:00:31 +0000 (18:00 -0500)]
Do not show completion cursor if completion is inactive

3 years agoFix math class code in InsetMathColor
Jean-Marc Lasgouttes [Mon, 8 Feb 2021 12:13:21 +0000 (13:13 +0100)]
Fix math class code in InsetMathColor

The current code is too naïve and asserts on MC_UNKNOWN class.

See discussion here:
https://marc.info/?l=lyx-devel&m=161267112524889&w=2

3 years agoCmake export tests: Add epub-format to be tested
Kornel Benko [Mon, 8 Feb 2021 10:35:27 +0000 (11:35 +0100)]
Cmake export tests: Add epub-format to be tested

3 years ago#11682 amend change 4d4dc96b06 - check Qt version for all Qt::ApplicationState occurances
Stephan Witt [Mon, 8 Feb 2021 08:04:18 +0000 (09:04 +0100)]
#11682 amend change 4d4dc96b06 - check Qt version for all Qt::ApplicationState occurances

3 years agoctests: log a fixed issue
Scott Kostyshak [Mon, 8 Feb 2021 05:13:45 +0000 (00:13 -0500)]
ctests: log a fixed issue

3 years agoMath manual: use relative paths
Scott Kostyshak [Mon, 8 Feb 2021 05:12:27 +0000 (00:12 -0500)]
Math manual: use relative paths

3 years agoUpdate Python requirement in INSTALL
Scott Kostyshak [Mon, 8 Feb 2021 03:13:23 +0000 (22:13 -0500)]
Update Python requirement in INSTALL

Consistent with 92345167.

3 years agoePub: share a bit of code for parsing arguments.
Thibaut Cuvelier [Sun, 7 Feb 2021 22:18:54 +0000 (23:18 +0100)]
ePub: share a bit of code for parsing arguments.

3 years agoePub: allow a user-specified Saxon.
Thibaut Cuvelier [Sun, 7 Feb 2021 22:18:06 +0000 (23:18 +0100)]
ePub: allow a user-specified Saxon.

3 years agoMath.lyx: unintended part
Pavel Sanda [Sun, 7 Feb 2021 20:45:19 +0000 (21:45 +0100)]
Math.lyx: unintended part

3 years agoMath.lyx: merged changes from Phil Netro.
Pavel Sanda [Sun, 7 Feb 2021 20:40:29 +0000 (21:40 +0100)]
Math.lyx: merged changes from Phil Netro.

Most changes accepted, some remain visible in CT, because they were real bugs
(etc. shortcuts, or mathed commands) which might be broken in other language
variants.

We will accept them for 2.4 in the final review.

3 years agoMath.lyx: save in updated format before merging.
Pavel Sanda [Sun, 7 Feb 2021 20:36:43 +0000 (21:36 +0100)]
Math.lyx: save in updated format before merging.

3 years agoePub: use None instead of an empty string.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:52:50 +0000 (20:52 +0100)]
ePub: use None instead of an empty string.

3 years agoePub: add argument for external DocBook XSLT.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:51:25 +0000 (20:51 +0100)]
ePub: add argument for external DocBook XSLT.

3 years agoePub: restructure the script as a class.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:46:29 +0000 (20:46 +0100)]
ePub: restructure the script as a class.

This allows to share a little bit more code and to avoid functions with many arguments.

3 years agoePub: detect and use xsltproc.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:33:06 +0000 (20:33 +0100)]
ePub: detect and use xsltproc.

3 years agoePub: copy images into the ePub archive.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:00:31 +0000 (20:00 +0100)]
ePub: copy images into the ePub archive.

3 years agoePub: refactor script as a series of small functions.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:53:43 +0000 (06:53 +0100)]
ePub: refactor script as a series of small functions.

3 years ago#11682 open new window on Mac if there is none and LyX is activated via dock
Stephan Witt [Sun, 7 Feb 2021 17:53:11 +0000 (18:53 +0100)]
#11682 open new window on Mac if there is none and LyX is activated via dock

3 years agoGuiDelimiter: properly calculate widget width
Juergen Spitzmueller [Sun, 7 Feb 2021 16:24:59 +0000 (17:24 +0100)]
GuiDelimiter: properly calculate widget width

3 years agoGuiDelimiter: fix tabstop access
Juergen Spitzmueller [Sun, 7 Feb 2021 16:00:20 +0000 (17:00 +0100)]
GuiDelimiter: fix tabstop access

DialogButtonBox not yet included, though.

3 years agoAmend f7ed7f53: Cmake + epub: Install saxon*.jar together with its licence
Kornel Benko [Sun, 7 Feb 2021 15:23:46 +0000 (16:23 +0100)]
Amend f7ed7f53: Cmake + epub: Install saxon*.jar together with its licence

Thanks to Pavel

3 years ago#11453 make LyX app icons on Mac retina ready - use the Lydia.svg from Mike
Stephan Witt [Sun, 7 Feb 2021 12:05:28 +0000 (13:05 +0100)]
#11453 make LyX app icons on Mac retina ready - use the Lydia.svg from Mike

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.