Commit Graph

43309 Commits

Author SHA1 Message Date
Pavel Sanda
223e23bca4 * docbook2epub.py syntax 2021-02-12 23:01:45 +01:00
Pavel Sanda
73c3036dca * RELEASE-NOTES 2021-02-12 22:01:11 +01:00
Pavel Sanda
b6cf47c635 * RELEASE-NOTES 2021-02-12 21:49:14 +01:00
Jean-Marc Lasgouttes
1cbbe5c3aa 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.
2021-02-12 18:35:07 +01:00
Jean-Marc Lasgouttes
a78eb4471f 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.
2021-02-12 18:35:07 +01:00
Jean-Marc Lasgouttes
08a3405181 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.
2021-02-12 18:35:06 +01:00
Juergen Spitzmueller
b75fc70561 Adapt comment 2021-02-12 14:43:56 +01:00
Juergen Spitzmueller
7f90e3b7d2 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.
2021-02-12 14:30:50 +01:00
Juergen Spitzmueller
fbef5e687a Use dialog-show in icon names
(and search for them also with dialog-toggle counterpart lfuns)

Fixes #12137
2021-02-12 12:18:51 +01:00
Juergen Spitzmueller
d1ea8a40af GuiSearch: catch global shortcuts to find forwards/backwards (#11170) 2021-02-12 10:50:47 +01:00
Thibaut Cuvelier
b1febf112d ePub: improve compatibility with Python 2. 2021-02-12 05:26:32 +01:00
Juergen Spitzmueller
c24c82d986 Correctly handle internal clipboard in cell paste 2021-02-11 16:45:27 +01:00
Juergen Spitzmueller
59bead6dfa Properly fix broken cursor (part of #12134) 2021-02-11 14:53:02 +01:00
Kornel Benko
4cd80de69e 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.
2021-02-11 14:03:46 +01:00
Juergen Spitzmueller
9721a5cc6b Set GUI name for local greyedouttext color (#12130) 2021-02-11 09:05:42 +01:00
Juergen Spitzmueller
456b2b0e8b Fix indentation 2021-02-11 08:08:37 +01:00
Juergen Spitzmueller
2175899f17 Re-initiate module filter after dialog re-opening (#12128) 2021-02-11 08:07:55 +01:00
Juergen Spitzmueller
ad1e7da1fb Assure filtered module items are not editable (#12127) 2021-02-11 07:57:09 +01:00
Richard Kimberly Heck
2874384414 Fix bug #10646. 2021-02-10 16:04:25 -05:00
Juergen Spitzmueller
65f96abfec Make delimiter icons a bit smaller 2021-02-10 11:40:56 +01:00
Kornel Benko
b1ae981c1d Update sk.po 2021-02-10 10:50:23 +01:00
Jean-Marc Lasgouttes
939d25561d DEPM: do not fix cursor pit if it was in a different cell
This bug has been here forever.

Fixes bug #12117.
2021-02-10 10:22:36 +01:00
Jean-Marc Lasgouttes
d2f23c303c Remove left/right spacing around top/left buttons
This makes collapsible insets look better.

Fixes #10323.
2021-02-10 10:22:36 +01:00
Juergen Spitzmueller
c2822d684b Add LFUN_LYXFILES_OPEN
This opens the new templates/examples dialog and creates a view if
necessary (#12106).
2021-02-10 09:36:32 +01:00
Juergen Spitzmueller
fdde74cd24 de/Math.lyx: pull changes from en/ 2021-02-09 19:10:48 +01:00
jpc
29bde6e64a Update fr.po (step 1) 2021-02-09 18:38:56 +01:00
Juergen Spitzmueller
e35574b3ce 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).
2021-02-09 16:54:21 +01:00
Juergen Spitzmueller
ce49e2cd8b Use AutoNests in g-brief (#7623) 2021-02-09 15:07:53 +01:00
Kornel Benko
76a6cfd6dd Update sk.po 2021-02-09 15:00:35 +01:00
Juergen Spitzmueller
ff8df05c65 de.po 2021-02-09 14:09:37 +01:00
Juergen Spitzmueller
42ec433fd8 Remove outdated math panel png files 2021-02-09 14:02:09 +01:00
Juergen Spitzmueller
7cccfe5515 BulletsModule: disable size widget with custom bullet (#12011) 2021-02-09 11:01:45 +01:00
Juergen Spitzmueller
11b7714fc1 Use SVG icons in itemize bullet selector
This scales much better than the current png solution, is HiDPI- and
darkmode-ready
2021-02-09 10:32:16 +01:00
Richard Kimberly Heck
080b5107c7 Do not show completion cursor if completion is inactive 2021-02-08 18:48:06 -05:00
Jean-Marc Lasgouttes
c311451518 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
2021-02-08 13:13:21 +01:00
Kornel Benko
983d327fe3 Cmake export tests: Add epub-format to be tested 2021-02-08 11:35:27 +01:00
Stephan Witt
80e20e86be #11682 amend change 4d4dc96b06 - check Qt version for all Qt::ApplicationState occurances 2021-02-08 09:04:18 +01:00
Scott Kostyshak
3c16d627da ctests: log a fixed issue 2021-02-08 00:13:45 -05:00
Scott Kostyshak
1ddc1c6bea Math manual: use relative paths 2021-02-08 00:12:27 -05:00
Scott Kostyshak
963fad6929 Update Python requirement in INSTALL
Consistent with 92345167.
2021-02-07 22:13:23 -05:00
Thibaut Cuvelier
7622292027 ePub: share a bit of code for parsing arguments. 2021-02-07 23:19:07 +01:00
Thibaut Cuvelier
f7beed1ee2 ePub: allow a user-specified Saxon. 2021-02-07 23:19:07 +01:00
Pavel Sanda
cad51390cd Math.lyx: unintended part 2021-02-07 21:45:19 +01:00
Pavel Sanda
22a0ea85d0 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.
2021-02-07 21:43:57 +01:00
Pavel Sanda
436fecd3d0 Math.lyx: save in updated format before merging. 2021-02-07 21:43:57 +01:00
Thibaut Cuvelier
bf976cb0ae ePub: use None instead of an empty string. 2021-02-07 20:52:50 +01:00
Thibaut Cuvelier
e95513c823 ePub: add argument for external DocBook XSLT. 2021-02-07 20:51:25 +01:00
Thibaut Cuvelier
d7d31ab512 ePub: restructure the script as a class.
This allows to share a little bit more code and to avoid functions with many arguments.
2021-02-07 20:47:24 +01:00
Thibaut Cuvelier
9d4ffac7fb ePub: detect and use xsltproc. 2021-02-07 20:33:06 +01:00
Thibaut Cuvelier
7f4782d51d ePub: copy images into the ePub archive. 2021-02-07 20:00:45 +01:00