]>
git.lyx.org Git - features.git/log
Pavel Sanda [Sun, 7 Feb 2021 20:45:19 +0000 (21:45 +0100)]
Math.lyx: unintended part
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.
Pavel Sanda [Sun, 7 Feb 2021 20:36:43 +0000 (21:36 +0100)]
Math.lyx: save in updated format before merging.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:52:50 +0000 (20:52 +0100)]
ePub: use None instead of an empty string.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:51:25 +0000 (20:51 +0100)]
ePub: add argument for external DocBook XSLT.
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.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:33:06 +0000 (20:33 +0100)]
ePub: detect and use xsltproc.
Thibaut Cuvelier [Sun, 7 Feb 2021 19:00:31 +0000 (20:00 +0100)]
ePub: copy images into the ePub archive.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:53:43 +0000 (06:53 +0100)]
ePub: refactor script as a series of small functions.
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
Juergen Spitzmueller [Sun, 7 Feb 2021 16:24:59 +0000 (17:24 +0100)]
GuiDelimiter: properly calculate widget width
Juergen Spitzmueller [Sun, 7 Feb 2021 16:00:20 +0000 (17:00 +0100)]
GuiDelimiter: fix tabstop access
DialogButtonBox not yet included, though.
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
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
Yuriy Skalko [Sat, 30 Jan 2021 23:10:36 +0000 (01:10 +0200)]
Update Russian localization
Stephan Witt [Sun, 7 Feb 2021 11:42:17 +0000 (12:42 +0100)]
ePub: quote all path names of the command
Kornel Benko [Sun, 7 Feb 2021 11:37:58 +0000 (12:37 +0100)]
Cmake + epub: Install needed docbook files
Juergen Spitzmueller [Sun, 7 Feb 2021 11:32:11 +0000 (12:32 +0100)]
Adjust selection color of delimiter icons
Juergen Spitzmueller [Sun, 7 Feb 2021 11:31:48 +0000 (12:31 +0100)]
Fix some math icons dimensions
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.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:32:46 +0000 (06:32 +0100)]
ePub: update doc for running script.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:32:15 +0000 (06:32 +0100)]
ePub: don't use glob.
Recursivity requires Python 3.5+.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:27:07 +0000 (06:27 +0100)]
ePub: quote the command only on Windows.
Thibaut Cuvelier [Sun, 7 Feb 2021 05:23:21 +0000 (06:23 +0100)]
ePub: remove commented line.
Thibaut Cuvelier [Sun, 7 Feb 2021 00:55:29 +0000 (01:55 +0100)]
ePub: fix argument handling in Python script.
Enrico Forestieri [Sat, 6 Feb 2021 19:28:41 +0000 (20:28 +0100)]
Update layouts
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.
Juergen Spitzmueller [Sat, 6 Feb 2021 16:02:01 +0000 (17:02 +0100)]
Improve some icon paddings
Juergen Spitzmueller [Sat, 6 Feb 2021 15:25:55 +0000 (16:25 +0100)]
GuiDelimiter: use highlight text color if icon is selected
Juergen Spitzmueller [Sat, 6 Feb 2021 14:33:13 +0000 (15:33 +0100)]
GuiDelimiter: store delimiter name in UserRole
Juergen Spitzmueller [Sat, 6 Feb 2021 14:09:54 +0000 (15:09 +0100)]
GuiDelimiter: cleanup and fix crash
Juergen Spitzmueller [Sat, 6 Feb 2021 13:04:48 +0000 (14:04 +0100)]
GuiDelimiter: use SVG icons rather than relying on font (#12085)
Stephan Witt [Sat, 6 Feb 2021 11:42:17 +0000 (12:42 +0100)]
#11453 correct name of SVG to ICNS conversion utility
Pavel Sanda [Sat, 6 Feb 2021 11:40:20 +0000 (12:40 +0100)]
ePub related files for distribution.
Stephan Witt [Sat, 6 Feb 2021 11:39:10 +0000 (12:39 +0100)]
#11453 add SVG to ICNS conversion utility
Scott Kostyshak [Sat, 6 Feb 2021 03:45:14 +0000 (22:45 -0500)]
ctests: log a fixed issue
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.
Scott Kostyshak [Sat, 6 Feb 2021 02:59:32 +0000 (21:59 -0500)]
ru Embedded: use relative paths
Thibaut Cuvelier [Fri, 5 Feb 2021 15:07:09 +0000 (16:07 +0100)]
Update release notes for ePub.
Thibaut Cuvelier [Fri, 29 Jan 2021 03:37:42 +0000 (04:37 +0100)]
Configure: add ePub transformation.
Thibaut Cuvelier [Thu, 28 Jan 2021 03:57:57 +0000 (04:57 +0100)]
docbook2epub.
Thibaut Cuvelier [Thu, 28 Jan 2021 22:33:28 +0000 (23:33 +0100)]
Add Saxon 6.5.5.
Thibaut Cuvelier [Thu, 28 Jan 2021 01:49:31 +0000 (02:49 +0100)]
Add DocBook XSLT 1 stylesheets 1.79.2.
Yuriy Skalko [Fri, 5 Feb 2021 14:29:28 +0000 (16:29 +0200)]
Russian translation of EmbeddedObjects manual by Henry Chern
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.
Enrico Forestieri [Fri, 5 Feb 2021 00:03:09 +0000 (01:03 +0100)]
Avoid double superscript errors
Fixes #1633
Enrico Forestieri [Thu, 4 Feb 2021 22:20:01 +0000 (23:20 +0100)]
Add support for \bigtimes
Fixes #11223
Enrico Forestieri [Thu, 4 Feb 2021 20:20:45 +0000 (21:20 +0100)]
Disable direct insertion of multiple spaces in mathed text
Fixes #1311
Thibaut Cuvelier [Fri, 29 Jan 2021 03:21:35 +0000 (04:21 +0100)]
Configure: look for Java in the registry on Windows.
Thibaut Cuvelier [Fri, 29 Jan 2021 00:46:38 +0000 (01:46 +0100)]
Configure: turn a commented print into a logger.debug statement.
Thibaut Cuvelier [Thu, 4 Feb 2021 19:34:37 +0000 (20:34 +0100)]
Configure: get rid of mutable keyword arguments.
Thibaut Cuvelier [Thu, 28 Jan 2021 04:16:33 +0000 (05:16 +0100)]
Configure: remove the old docbook format, no more useful.
Thibaut Cuvelier [Thu, 28 Jan 2021 04:04:39 +0000 (05:04 +0100)]
The menu Options has been renamed Tools.
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.
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.
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.
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'
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.
Juergen Spitzmueller [Wed, 3 Feb 2021 09:23:17 +0000 (10:23 +0100)]
Amend [
b6c089afa4 /lyxgit].
Richard Kimberly Heck [Tue, 2 Feb 2021 22:34:25 +0000 (17:34 -0500)]
Fix bug #11351.
Patch from Daniel.
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.
Richard Kimberly Heck [Tue, 2 Feb 2021 22:23:00 +0000 (17:23 -0500)]
Fix #12104
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
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
Enrico Forestieri [Mon, 1 Feb 2021 01:53:00 +0000 (02:53 +0100)]
Make math decorations scalable with zoom level
Fixes #11491
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,
Pavel Sanda [Sun, 31 Jan 2021 15:32:51 +0000 (16:32 +0100)]
make distcheck broken after old installer purge.
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].
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.
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
Daniel Ramoeller [Sat, 30 Jan 2021 16:03:33 +0000 (17:03 +0100)]
Preserve multirow/-column content on deletion of subrows/columns (#11380)
Juergen Spitzmueller [Sat, 30 Jan 2021 14:56:31 +0000 (15:56 +0100)]
Add ProvideInsetLayout and ModifyInsetLayout (#12098)
This complements ProvideStyle and ModifyStyle.
Juergen Spitzmueller [Sat, 30 Jan 2021 14:16:12 +0000 (15:16 +0100)]
Do not overwrite InsetLayout font/color
Juergen Spitzmueller [Sat, 30 Jan 2021 14:11:18 +0000 (15:11 +0100)]
Whitespace
Juergen Spitzmueller [Sat, 30 Jan 2021 13:00:20 +0000 (14:00 +0100)]
Improve \TestPackageVersion
No need to load packages manually
Juergen Spitzmueller [Sat, 30 Jan 2021 12:46:47 +0000 (13:46 +0100)]
Fix a null pointer dereference spotted by coverity
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 .
Juergen Spitzmueller [Sat, 30 Jan 2021 08:15:14 +0000 (09:15 +0100)]
Recent multirow finally allows multiple paragraphs
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
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:57:13 +0000 (18:57 +0100)]
Initialize properly IconInfo struct
Spotted by coverity.
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:51:19 +0000 (18:51 +0100)]
Copy/paste error in BranchList::setColors
Spotted by coverity.
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.
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:35:38 +0000 (18:35 +0100)]
FindAndReplaceOptions: initialize properly matchAtStart
Spotted by coverity.
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.
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:17:16 +0000 (18:17 +0100)]
LengthValidator: initialize properly positive_
Spotted by coverity.
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 17:01:08 +0000 (18:01 +0100)]
Initialise correctly branch_list_id_
Reported by coverity.
Kornel Benko [Fri, 29 Jan 2021 15:16:18 +0000 (16:16 +0100)]
Update sk.po
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
Kornel Benko [Fri, 29 Jan 2021 15:05:07 +0000 (16:05 +0100)]
SK-Bindings: remove a binding prohibiting the use as a prefix
Juergen Spitzmueller [Fri, 29 Jan 2021 14:46:46 +0000 (15:46 +0100)]
Cosmetics
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
Jean-Marc Lasgouttes [Fri, 29 Jan 2021 13:30:21 +0000 (14:30 +0100)]
Fixup
f3a0e8ff : Reset needUpdate after buffer update
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).
Enrico Forestieri [Fri, 29 Jan 2021 11:29:36 +0000 (12:29 +0100)]
Update it.po
Juergen Spitzmueller [Fri, 29 Jan 2021 09:15:36 +0000 (10:15 +0100)]
Set proper multirow size in X table columns
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.
Scott Kostyshak [Thu, 28 Jan 2021 16:59:41 +0000 (11:59 -0500)]
ctests: log found regression and fix
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.
Juergen Spitzmueller [Thu, 28 Jan 2021 09:34:06 +0000 (10:34 +0100)]
de.po
Juergen Spitzmueller [Thu, 28 Jan 2021 09:28:57 +0000 (10:28 +0100)]
Update tex2lyx tests