]>
git.lyx.org Git - features.git/log
Kornel Benko [Sun, 14 Feb 2021 08:08:23 +0000 (09:08 +0100)]
FindAdv: Use global declaration for findOne() to be usefull for unit tests
cherry-pick from unit-test-adoption/
dff4779b06b , author: Yuriy Skalko <yuriy.skalko@gmail.com>
Thibaut Cuvelier [Sun, 14 Feb 2021 05:08:36 +0000 (06:08 +0100)]
DocBook: mark dates to disallow fonts inside.
One more test passes.
Thibaut Cuvelier [Sun, 14 Feb 2021 04:39:24 +0000 (05:39 +0100)]
DocBook: some tests start passing with double inlines fixed.
Thibaut Cuvelier [Sun, 14 Feb 2021 04:36:37 +0000 (05:36 +0100)]
Thibaut Cuvelier [Sun, 14 Feb 2021 04:20:26 +0000 (05:20 +0100)]
DocBook: for books only, create a preface around the first few elements so that the result is valid.
Books can only contain parts and chapters, not single sections or text after the abstract.
Enrico Forestieri [Sun, 14 Feb 2021 00:25:07 +0000 (01:25 +0100)]
Fix arrows at ends of math decorations
For math decorations with arrows at both ends the code was simply
stretching a prototype symbol, thus distorting the arrows.
Another drawing mode is introduced allowing to draw an element by
maintaining its aspect ratio also when it has to be drawn at the
other end of a decoration. An element drawn using this mode is simply
shifted to the other side by adding either the width or the height,
and a finer adjustment can be obtained by specifying an additional
horizontal or vertical shift.
Thibaut Cuvelier [Sat, 13 Feb 2021 17:23:01 +0000 (18:23 +0100)]
Stop using a GCC extension for an unprintable character in regex.
Richard Kimberly Heck [Sat, 13 Feb 2021 16:53:03 +0000 (11:53 -0500)]
Show python info in About LyX
Kornel Benko [Sat, 13 Feb 2021 15:19:45 +0000 (16:19 +0100)]
FindAdv: Tweak language settings
Language settings will be ignored if
a.) User selects if with setIgnoreFormat("language", true, true)
or
b.) The pattern does not contain lang-specs other than the default language of document
or
c.) The pattern contains math parts
Juergen Spitzmueller [Sat, 13 Feb 2021 14:22:26 +0000 (15:22 +0100)]
Address some deprecation warnings
Enrico Forestieri [Sat, 13 Feb 2021 14:16:58 +0000 (15:16 +0100)]
Update layouts
Pavel Sanda [Sat, 13 Feb 2021 12:00:21 +0000 (13:00 +0100)]
* configure.py - tested saxon + system lib stylesheets
Juergen Spitzmueller [Sat, 13 Feb 2021 07:00:23 +0000 (08:00 +0100)]
de.po
Juergen Spitzmueller [Sat, 13 Feb 2021 06:57:32 +0000 (07:57 +0100)]
cua: add binding for word-find-backwards
Juergen Spitzmueller [Sat, 13 Feb 2021 06:57:10 +0000 (07:57 +0100)]
Resolve accelerator conflicts
Thibaut Cuvelier [Sat, 13 Feb 2021 03:34:03 +0000 (04:34 +0100)]
DocBook: add the DocBookNoFontInside layout configuration.
Stephan Witt [Fri, 12 Feb 2021 21:20:02 +0000 (22:20 +0100)]
#8055 correct processing of LFUN_WORD_FIND option flags for repeated search operations
Enrico Forestieri [Fri, 12 Feb 2021 22:51:29 +0000 (23:51 +0100)]
Fix small glitch with \underXXXarrow and \overXXXarrow
When the argument is long enough, the arrow in the on-screen representation
was not covering the first or the last glyphs. For example, using
\overrightarrow{abcdefghijklmnopqrstuvwxyz}
the 'a' was drawn outside the covering arrow.
Pavel Sanda [Fri, 12 Feb 2021 22:33:47 +0000 (23:33 +0100)]
Search for external xslt stylesheets.
Tested with debian's docbook-xsl-ns (1.79.1)
Enrico Forestieri [Fri, 12 Feb 2021 22:16:03 +0000 (23:16 +0100)]
Slightly increase size of math decorations
Correspondingly tweak some shapes for better results.
Part of #12132.
Thibaut Cuvelier [Fri, 12 Feb 2021 22:09:21 +0000 (23:09 +0100)]
Zoom using Ctrl+something instead of Alt+something.
Mailing list:
[Windows] Remove the default binding between buffer-zoom and Alt+0
Pavel Sanda [Fri, 12 Feb 2021 22:01:45 +0000 (23:01 +0100)]
* docbook2epub.py syntax
Pavel Sanda [Fri, 12 Feb 2021 21:01:11 +0000 (22:01 +0100)]
* RELEASE-NOTES
Pavel Sanda [Fri, 12 Feb 2021 20:49:14 +0000 (21:49 +0100)]
* RELEASE-NOTES
Jean-Marc Lasgouttes [Fri, 12 Feb 2021 14:22:23 +0000 (15:22 +0100)]
Do not redraw cursor twice with Page Up/Down
Just recompute metrics instead of triggering a full redraw. The old
behavior was that, when the document was less that one page long, the
cursor would blink to the top of the document before going to its
correct position.
Jean-Marc Lasgouttes [Fri, 12 Feb 2021 14:04:58 +0000 (15:04 +0100)]
Make sure that top/bottom margins are visible when needed
When the cursor is at the top, it is important to make sure that, not
only its row is visible, but also the extra margin at the beginning of
the document, that was added at
907f0207 .
Fixes part of bug #12123.
Jean-Marc Lasgouttes [Thu, 11 Feb 2021 16:10:28 +0000 (17:10 +0100)]
Fix correction of row in getPitAndRowNearY
Now that the ascent of the paragraph metrics is not necessarily the
ascent of the first row (see
907f0207 ), the test is too strict. Now it
is more symmetrical wrt the !up case.
Note that changing this part of code is associated with a
non-negligible risk of creating a bug elsewhere.
Fixes part of bug #12123.
Juergen Spitzmueller [Fri, 12 Feb 2021 13:43:37 +0000 (14:43 +0100)]
Adapt comment
Juergen Spitzmueller [Fri, 12 Feb 2021 13:30:50 +0000 (14:30 +0100)]
Introduce search-string-set (#8055)
This stores its argument, the currently selected text or the word under
cursor in the search cache that is used by word-find[-backward|-forward]
if no argument is given to those.
Prerequisite for a feature apparently expected on the Mac.
Juergen Spitzmueller [Fri, 12 Feb 2021 11:18:51 +0000 (12:18 +0100)]
Use dialog-show in icon names
(and search for them also with dialog-toggle counterpart lfuns)
Fixes #12137
Juergen Spitzmueller [Fri, 12 Feb 2021 09:50:47 +0000 (10:50 +0100)]
GuiSearch: catch global shortcuts to find forwards/backwards (#11170)
Thibaut Cuvelier [Mon, 8 Feb 2021 01:36:28 +0000 (02:36 +0100)]
ePub: improve compatibility with Python 2.
Juergen Spitzmueller [Thu, 11 Feb 2021 15:45:27 +0000 (16:45 +0100)]
Correctly handle internal clipboard in cell paste
Juergen Spitzmueller [Thu, 11 Feb 2021 13:53:02 +0000 (14:53 +0100)]
Properly fix broken cursor (part of #12134)
Kornel Benko [Thu, 11 Feb 2021 13:03:46 +0000 (14:03 +0100)]
FindAdv: Ignore math hull if searching for normal text
Helps to find strings inside math also if the pattern does not use math hull.
Needed due to the algorithm-change of searching text.
Juergen Spitzmueller [Thu, 11 Feb 2021 08:05:42 +0000 (09:05 +0100)]
Set GUI name for local greyedouttext color (#12130)
Juergen Spitzmueller [Thu, 11 Feb 2021 07:08:37 +0000 (08:08 +0100)]
Fix indentation
Juergen Spitzmueller [Thu, 11 Feb 2021 07:07:55 +0000 (08:07 +0100)]
Re-initiate module filter after dialog re-opening (#12128)
Juergen Spitzmueller [Thu, 11 Feb 2021 06:57:09 +0000 (07:57 +0100)]
Assure filtered module items are not editable (#12127)
Richard Kimberly Heck [Wed, 10 Feb 2021 21:04:25 +0000 (16:04 -0500)]
Fix bug #10646.
Juergen Spitzmueller [Wed, 10 Feb 2021 10:40:56 +0000 (11:40 +0100)]
Make delimiter icons a bit smaller
Kornel Benko [Wed, 10 Feb 2021 09:50:23 +0000 (10:50 +0100)]
Update sk.po
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.
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.
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).
Juergen Spitzmueller [Tue, 9 Feb 2021 18:10:48 +0000 (19:10 +0100)]
de/Math.lyx: pull changes from en/
jpc [Tue, 9 Feb 2021 17:38:56 +0000 (18:38 +0100)]
Update fr.po (step 1)
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).
Juergen Spitzmueller [Tue, 9 Feb 2021 14:06:21 +0000 (15:06 +0100)]
Use AutoNests in g-brief (#7623)
Kornel Benko [Tue, 9 Feb 2021 14:00:35 +0000 (15:00 +0100)]
Update sk.po
Juergen Spitzmueller [Tue, 9 Feb 2021 13:09:37 +0000 (14:09 +0100)]
de.po
Juergen Spitzmueller [Tue, 9 Feb 2021 13:02:09 +0000 (14:02 +0100)]
Remove outdated math panel png files
Juergen Spitzmueller [Tue, 9 Feb 2021 10:01:45 +0000 (11:01 +0100)]
BulletsModule: disable size widget with custom bullet (#12011)
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
Richard Kimberly Heck [Mon, 8 Feb 2021 23:00:31 +0000 (18:00 -0500)]
Do not show completion cursor if completion is inactive
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
Kornel Benko [Mon, 8 Feb 2021 10:35:27 +0000 (11:35 +0100)]
Cmake export tests: Add epub-format to be tested
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
Scott Kostyshak [Mon, 8 Feb 2021 05:13:45 +0000 (00:13 -0500)]
ctests: log a fixed issue
Scott Kostyshak [Mon, 8 Feb 2021 05:12:27 +0000 (00:12 -0500)]
Math manual: use relative paths
Scott Kostyshak [Mon, 8 Feb 2021 03:13:23 +0000 (22:13 -0500)]
Update Python requirement in INSTALL
Consistent with
92345167 .
Thibaut Cuvelier [Sun, 7 Feb 2021 22:18:54 +0000 (23:18 +0100)]
ePub: share a bit of code for parsing arguments.
Thibaut Cuvelier [Sun, 7 Feb 2021 22:18:06 +0000 (23:18 +0100)]
ePub: allow a user-specified Saxon.
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.