]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoRemove resolved FIXME
Juergen Spitzmueller [Sun, 14 Feb 2021 17:15:33 +0000 (18:15 +0100)]
Remove resolved FIXME

3 years agoFrame takes less space than GroupBox
Juergen Spitzmueller [Sun, 14 Feb 2021 17:12:38 +0000 (18:12 +0100)]
Frame takes less space than GroupBox

3 years agonullptr
Richard Kimberly Heck [Sun, 14 Feb 2021 17:05:40 +0000 (12:05 -0500)]
nullptr

3 years agoNo reason not to use M as shortcut for Messages Pane.
Richard Kimberly Heck [Sun, 14 Feb 2021 16:58:41 +0000 (11:58 -0500)]
No reason not to use M as shortcut for Messages Pane.

3 years agode.po
Juergen Spitzmueller [Sun, 14 Feb 2021 16:46:52 +0000 (17:46 +0100)]
de.po

3 years agoUpdate release notes for bookmark shortcuts
Richard Kimberly Heck [Sun, 14 Feb 2021 16:46:27 +0000 (11:46 -0500)]
Update release notes for bookmark shortcuts

3 years agoAmend 2baa3a46a6ad.
Richard Kimberly Heck [Sun, 14 Feb 2021 16:34:49 +0000 (11:34 -0500)]
Amend 2baa3a46a6ad.

3 years agoChange bookmark-save bindings. Use S-F3 for word-find-backwards.
Richard Kimberly Heck [Sat, 13 Feb 2021 16:54:54 +0000 (11:54 -0500)]
Change bookmark-save bindings. Use S-F3 for word-find-backwards.

3 years agoTransform simple search dialog to dock widget (#2625)
Juergen Spitzmueller [Sun, 14 Feb 2021 16:18:00 +0000 (17:18 +0100)]
Transform simple search dialog to dock widget (#2625)

Also solves #8054

3 years agoFindAdv: Use global declaration for findOne() to be usefull for unit tests
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>

3 years agoDocBook: mark dates to disallow fonts inside.
Thibaut Cuvelier [Sun, 14 Feb 2021 05:08:36 +0000 (06:08 +0100)]
DocBook: mark dates to disallow fonts inside.

One more test passes.

3 years agoDocBook: some tests start passing with double inlines fixed.
Thibaut Cuvelier [Sun, 14 Feb 2021 04:39:24 +0000 (05:39 +0100)]
DocBook: some tests start passing with double inlines fixed.

3 years agoAmend ac98f21f
Thibaut Cuvelier [Sun, 14 Feb 2021 04:36:37 +0000 (05:36 +0100)]
Amend ac98f21f

3 years agoDocBook: for books only, create a preface around the first few elements so that the...
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.

3 years agoFix arrows at ends of math decorations
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.

3 years agoStop using a GCC extension for an unprintable character in regex.
Thibaut Cuvelier [Sat, 13 Feb 2021 17:23:01 +0000 (18:23 +0100)]
Stop using a GCC extension for an unprintable character in regex.

3 years agoShow python info in About LyX
Richard Kimberly Heck [Sat, 13 Feb 2021 16:53:03 +0000 (11:53 -0500)]
Show python info in About LyX

3 years agoFindAdv: Tweak language settings
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

3 years agoAddress some deprecation warnings
Juergen Spitzmueller [Sat, 13 Feb 2021 14:22:26 +0000 (15:22 +0100)]
Address some deprecation warnings

3 years agoUpdate layouts
Enrico Forestieri [Sat, 13 Feb 2021 14:16:58 +0000 (15:16 +0100)]
Update layouts

3 years ago* configure.py - tested saxon + system lib stylesheets
Pavel Sanda [Sat, 13 Feb 2021 12:00:21 +0000 (13:00 +0100)]
* configure.py - tested saxon + system lib stylesheets

3 years agode.po
Juergen Spitzmueller [Sat, 13 Feb 2021 07:00:23 +0000 (08:00 +0100)]
de.po

3 years agocua: add binding for word-find-backwards
Juergen Spitzmueller [Sat, 13 Feb 2021 06:57:32 +0000 (07:57 +0100)]
cua: add binding for word-find-backwards

3 years agoResolve accelerator conflicts
Juergen Spitzmueller [Sat, 13 Feb 2021 06:57:10 +0000 (07:57 +0100)]
Resolve accelerator conflicts

3 years agoDocBook: add the DocBookNoFontInside layout configuration.
Thibaut Cuvelier [Sat, 13 Feb 2021 03:34:03 +0000 (04:34 +0100)]
DocBook: add the DocBookNoFontInside layout configuration.

3 years ago#8055 correct processing of LFUN_WORD_FIND option flags for repeated search operations
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

3 years agoFix small glitch with \underXXXarrow and \overXXXarrow
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.

3 years agoSearch for external xslt stylesheets.
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)

3 years agoSlightly increase size of math decorations
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.

3 years agoZoom using Ctrl+something instead of Alt+something.
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

3 years ago* docbook2epub.py syntax
Pavel Sanda [Fri, 12 Feb 2021 22:01:45 +0000 (23:01 +0100)]
* docbook2epub.py syntax

3 years ago* RELEASE-NOTES
Pavel Sanda [Fri, 12 Feb 2021 21:01:11 +0000 (22:01 +0100)]
* RELEASE-NOTES

3 years ago* RELEASE-NOTES
Pavel Sanda [Fri, 12 Feb 2021 20:49:14 +0000 (21:49 +0100)]
* RELEASE-NOTES

3 years agoDo not redraw cursor twice with Page Up/Down
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.

3 years agoMake sure that top/bottom margins are visible when needed
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.

3 years agoFix correction of row in getPitAndRowNearY
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.

3 years agoAdapt comment
Juergen Spitzmueller [Fri, 12 Feb 2021 13:43:37 +0000 (14:43 +0100)]
Adapt comment

3 years agoIntroduce search-string-set (#8055)
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.

3 years agoUse dialog-show in icon names
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

3 years agoGuiSearch: catch global shortcuts to find forwards/backwards (#11170)
Juergen Spitzmueller [Fri, 12 Feb 2021 09:50:47 +0000 (10:50 +0100)]
GuiSearch: catch global shortcuts to find forwards/backwards (#11170)

3 years agoePub: improve compatibility with Python 2.
Thibaut Cuvelier [Mon, 8 Feb 2021 01:36:28 +0000 (02:36 +0100)]
ePub: improve compatibility with Python 2.

3 years agoCorrectly handle internal clipboard in cell paste
Juergen Spitzmueller [Thu, 11 Feb 2021 15:45:27 +0000 (16:45 +0100)]
Correctly handle internal clipboard in cell paste

3 years agoProperly fix broken cursor (part of #12134)
Juergen Spitzmueller [Thu, 11 Feb 2021 13:53:02 +0000 (14:53 +0100)]
Properly fix broken cursor (part of #12134)

3 years agoFindAdv: Ignore math hull if searching for normal text
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.

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