]>
git.lyx.org Git - features.git/log
Jean-Marc Lasgouttes [Fri, 5 Mar 2021 12:12:58 +0000 (13:12 +0100)]
Indicate that we do not use a return value
Please Coverity.
Jean-Marc Lasgouttes [Fri, 5 Mar 2021 12:06:10 +0000 (13:06 +0100)]
Fix missing initialization
Spotted by Coverity.
Jean-Marc Lasgouttes [Fri, 5 Mar 2021 10:54:11 +0000 (11:54 +0100)]
Fix warning when not using Qt regexps
Juergen Spitzmueller [Fri, 5 Mar 2021 06:54:17 +0000 (07:54 +0100)]
Remove redundant call (amend
2b7fae04f32c )
Juergen Spitzmueller [Fri, 5 Mar 2021 06:51:49 +0000 (07:51 +0100)]
Fix limiting of absurdly large input to thesaurus (#10528)
Juergen Spitzmueller [Thu, 4 Mar 2021 17:02:04 +0000 (18:02 +0100)]
Fix wrap with Spellchecker after ignore (#10383)
Juergen Spitzmueller [Thu, 4 Mar 2021 15:54:01 +0000 (16:54 +0100)]
Remove confusing and unusual "Find Next" button from spellchecker dialog (#8931)
Enrico Forestieri [Thu, 4 Mar 2021 15:16:21 +0000 (16:16 +0100)]
Update it.po
Juergen Spitzmueller [Thu, 4 Mar 2021 13:52:39 +0000 (14:52 +0100)]
Style
Juergen Spitzmueller [Thu, 4 Mar 2021 13:51:58 +0000 (14:51 +0100)]
refillToolbars() does not need to be public
Juergen Spitzmueller [Thu, 4 Mar 2021 11:35:38 +0000 (12:35 +0100)]
Allow for runtime (dark/light) mode switch
Enrico Forestieri [Thu, 4 Mar 2021 10:58:44 +0000 (11:58 +0100)]
Fix bug #9601
Make sure emphasized text in mathed has correct shape and color.
Jean-Marc Lasgouttes [Tue, 2 Mar 2021 08:12:47 +0000 (09:12 +0100)]
Avoid pointless 'undefined flex inset' errors
When switching class, it does not make sense to flag flex insets that
are undefined if they were already undefined before.
Part of bug #12163.
Daniel Ramoeller [Mon, 22 Feb 2021 10:04:10 +0000 (11:04 +0100)]
Fix Disable Editing "Lock" icon protrudes into tab title on macOS
On macOS the Disable Editing "Lock" icon protrudes into tab title
Also, since the close button is on the left, the lock is better positioned on the right.
The detour via QIcon is to avoid a pixelated pixmap (because in LyX pixmaps don't adjust by default to the device's pixel ratio correctly).
Also
Fix for bug #12160.
jpc [Tue, 2 Mar 2021 17:22:20 +0000 (18:22 +0100)]
Import updated UserGuide from 2.3
Jean-Marc Lasgouttes [Tue, 2 Mar 2021 17:07:43 +0000 (18:07 +0100)]
Fix random scrolling inside nested insets
Happened when the BufferView was resized (e.g. math toolbars were
displayed/hidden).
Backported from gadmm's lyx-unstable tree
https://gitlab.com/gadmm/lyx-unstable/-/commit/
a868bc034cea4c
Possible fix to bug #7457.
jpc [Tue, 2 Mar 2021 10:16:41 +0000 (11:16 +0100)]
Update fr.po
Juergen Spitzmueller [Tue, 2 Mar 2021 08:15:33 +0000 (09:15 +0100)]
Consider selection scope when DEPM after CT acceptance/rejection (#2166)
This fixes a crash and DEPM overshooting.
Juergen Spitzmueller [Tue, 2 Mar 2021 07:36:42 +0000 (08:36 +0100)]
Merge branch 'master' of git.lyx.org:lyx
Jean-Marc Lasgouttes [Tue, 2 Mar 2021 07:20:39 +0000 (08:20 +0100)]
Cleanup High DPI support
Disable for Qt >= 6 (this is the default now).
Disable for macOS (does it in its own way).
Juergen Spitzmueller [Tue, 2 Mar 2021 06:04:03 +0000 (07:04 +0100)]
Merge branch 'master' of git.lyx.org:lyx
Jean-Marc Lasgouttes [Mon, 1 Mar 2021 18:15:49 +0000 (19:15 +0100)]
Add Qt platform name in About dialog
Enrico Forestieri [Mon, 1 Mar 2021 09:08:08 +0000 (10:08 +0100)]
Amend
c2facb8c
Make sure the base of a script is not empty before accessing it.
Enrico Forestieri [Sun, 28 Feb 2021 21:32:11 +0000 (22:32 +0100)]
Fix bug #11007
The math color inset inherits the mode of the containing inset.
This mode is inferred by the kind of font in effect. Setting the
right mode allows to insert spaces where these should be allowed.
Another small glitch was that the selection was always parsed in
math mode, so that any space was swallowed, even if the inset would
allow them.
Juergen Spitzmueller [Sun, 28 Feb 2021 16:38:01 +0000 (17:38 +0100)]
grammar
Juergen Spitzmueller [Sun, 28 Feb 2021 16:34:42 +0000 (17:34 +0100)]
Prevent infinite loop with instant search on Mac (#12161)
The search dialog was repeatedly feeded with the same string, and a
new search was triggered.
Enrico Forestieri [Sun, 28 Feb 2021 13:56:42 +0000 (14:56 +0100)]
Fix bug #11444
Juergen Spitzmueller [Sun, 28 Feb 2021 12:57:24 +0000 (13:57 +0100)]
Use a proper filter bar in the outliner
Daniel Ramoeller [Sun, 21 Feb 2021 07:02:21 +0000 (08:02 +0100)]
Adjust adv. find & replace pane spacing
Partial fix of bug #12152.
Daniel Ramoeller [Sat, 20 Feb 2021 14:40:17 +0000 (15:40 +0100)]
Adjust code preview spacing
Partial fix of bug #12152.
Daniel Ramoeller [Sat, 20 Feb 2021 09:53:01 +0000 (10:53 +0100)]
Adjust outliner spacing
Partial fix for #12152.
Juergen Spitzmueller [Sun, 28 Feb 2021 11:35:29 +0000 (12:35 +0100)]
HiDPI support for search indicators (#12162)
Requires Qt5
Richard Kimberly Heck [Sun, 28 Feb 2021 01:34:19 +0000 (20:34 -0500)]
Add a bit of debugging code
Enrico Forestieri [Sat, 27 Feb 2021 20:40:28 +0000 (21:40 +0100)]
Fix bug #3751
We lack the necessary font (cmb10) for drawing bold uppercase greek
letters. It would be overkill adding it for this sole purpose, so
adopt the same poor man's bold strategy used with \boldsymbol.
Richard Kimberly Heck [Sat, 27 Feb 2021 18:27:03 +0000 (13:27 -0500)]
Fix bug #12169
Patch from Daniel.
Enrico Forestieri [Sat, 27 Feb 2021 13:49:55 +0000 (14:49 +0100)]
Fix bug #3294
Kornel Benko [Sat, 27 Feb 2021 13:14:28 +0000 (14:14 +0100)]
FindAdv: Added handling of some chars found in unnicodesymbols
Yuriy Skalko [Fri, 26 Feb 2021 21:55:46 +0000 (23:55 +0200)]
Update Russian localization
Yuriy Skalko [Fri, 26 Feb 2021 16:00:15 +0000 (18:00 +0200)]
Add Russian translation of Fancy_Colored_Boxes.lyx by Henry Chern
Enrico Forestieri [Fri, 26 Feb 2021 19:30:41 +0000 (20:30 +0100)]
Fix cursor navigation in \overbrace and \underbrace
Due to the way these decorations are implemented, entering
them with the cursor (either form right or left) required
pressing two times cursor left or right.
Fixes #2264
Daniel Ramoeller [Mon, 22 Feb 2021 05:22:51 +0000 (06:22 +0100)]
Use document mode on work area and docks on macOS
- More fittingly (plain) looking tabs for documents and docks.
- Also macOS fix for bug #9391.
Jean-Marc Lasgouttes [Fri, 26 Feb 2021 18:05:35 +0000 (19:05 +0100)]
Display bookmarks in the workarea (take 2).
The bookmarks are shown with circled numbers in the right margin (or
the left margin in RTL mode). A new color "bookmarks" has been added.
Currently bookmark 0 (the return position) is not displayed because it
is very disturbing in practice.
To make this work, a new method BookmarksSection::bookmarksInPar
retuns the list of bookmarks in a paragraph along with their position.
Force redraw when using bookmark-save and bookmark-clear.
Caveats:
- this solution does not show the precise position of the bookmark
(this is supposedly not a problem).
- if several bookmarks are on the same row, they will currently be
garbled. It would be easy to make sure that only one is shown ; what
would be more difficult would be to move the second bookmark lower.
- it is possible to make sure that the markers are correctly centered
in the margin, and that the margin size is large enough to hold the
marker (I did not try all fonts).
Fixes bug #2496.
Jean-Marc Lasgouttes [Fri, 26 Feb 2021 17:07:39 +0000 (18:07 +0100)]
Revert "Display bookmarks in the workarea."
This will be replaced by a different version.
This reverts commit
99e636ae7b83dacb5acc96ae3b60a96c28339c0e .
Richard Kimberly Heck [Fri, 26 Feb 2021 02:49:50 +0000 (21:49 -0500)]
Allow to call cap::switchBetweenClasses without an ErrorList.
It turns out that we usually don't care about the errors and so
were creating dummy ErrorList objects in several places.
Jean-Marc Lasgouttes [Thu, 25 Feb 2021 19:00:41 +0000 (20:00 +0100)]
Remove assertion that is not necessary.
It may happen that there are errors when doing undo, crashing does not
help in this case.
Fixes bug #12163.
Jean-Marc Lasgouttes [Thu, 25 Feb 2021 16:56:11 +0000 (17:56 +0100)]
Improve HiDpi handling
Add code stolen from QBitTorrent that enables properly HiDpi handling.
HighDpi support is set by default starting with Qt 5.6.
Support for fractional scaling is added for Qt >= 5.14.
Hopefully fixes bug #12060.
jpc [Wed, 24 Feb 2021 17:48:12 +0000 (18:48 +0100)]
Update fr.po, shortcut conflicts solved
Kornel Benko [Wed, 24 Feb 2021 12:56:02 +0000 (13:56 +0100)]
Update sk.po
Enrico Forestieri [Tue, 23 Feb 2021 20:48:54 +0000 (21:48 +0100)]
Enrico Forestieri [Tue, 23 Feb 2021 18:59:57 +0000 (19:59 +0100)]
Fix bug #12165
Jean-Marc Lasgouttes [Tue, 23 Feb 2021 18:19:57 +0000 (19:19 +0100)]
Fix cursor position when undoing inset-dissolve.
When invoking inset-dissolve with the cursor in front of the inset,
add recordUndo call to make sure that the cursor is at the right
class.
Fixes bug #12164.
jpc [Tue, 23 Feb 2021 18:10:32 +0000 (19:10 +0100)]
Update fr.po, shortcuts untested
Almost done, DRS stuff remains fuzzy until I decide to translate it or not
Enrico Forestieri [Tue, 23 Feb 2021 16:34:19 +0000 (17:34 +0100)]
Improve fix for #12153
Use a WYSIWYM approach instead of a WYSIWYG one.
Juergen Spitzmueller [Tue, 23 Feb 2021 15:53:15 +0000 (16:53 +0100)]
FancyLineEdit: use QLineEdit's own clear button with Qt >= 5.2
jpc [Tue, 23 Feb 2021 10:28:40 +0000 (11:28 +0100)]
Update fr.po, step 3
Jean-Marc Lasgouttes [Mon, 22 Feb 2021 18:35:08 +0000 (19:35 +0100)]
"12 pixels ought to be enough for anyone"
Fixes bug #12153.
Pavel Sanda [Mon, 22 Feb 2021 10:09:22 +0000 (11:09 +0100)]
By report autoconf 2.71 works, 2.70 is known to have compatibility issues.
Daniel Ramoeller [Sun, 21 Feb 2021 17:28:58 +0000 (18:28 +0100)]
Adjust label size to directory names in About
Fix for bug #11946.
Jean-Marc Lasgouttes [Sun, 21 Feb 2021 19:33:57 +0000 (20:33 +0100)]
Reduce the value of (above|below)displayskip
The value of 10pt is too large, use a 'mean' value of 8.5pt.
Tentative fix to bug #12153.
Pavel Sanda [Sun, 21 Feb 2021 19:05:06 +0000 (20:05 +0100)]
Compile with gcc 4.9 again.
Thibaut Cuvelier [Sun, 21 Feb 2021 12:14:51 +0000 (13:14 +0100)]
Amend
61657bd610466a0fcd8e611d5942cff328ae6169
Restore indentation to be more consistent.
Enrico Forestieri [Sat, 20 Feb 2021 23:32:41 +0000 (00:32 +0100)]
Draw real dots
A new method for drawing ellipses has been added to the painter
and used for drawing real dots for math decorations and the various
\cdots, \ddots, \vdots, etc., latex commands.
Thibaut Cuvelier [Fri, 19 Feb 2021 21:38:25 +0000 (22:38 +0100)]
DocBook: convert a first ERT.
Juergen Spitzmueller [Sat, 20 Feb 2021 07:10:01 +0000 (08:10 +0100)]
ProgressView: fix initial tab.
Scott Kostyshak [Sat, 20 Feb 2021 00:19:12 +0000 (19:19 -0500)]
ctests: log a fixed issue
Richard Kimberly Heck [Fri, 19 Feb 2021 22:31:36 +0000 (17:31 -0500)]
Fix bug #12152.
Patch from Daniel.
Thibaut Cuvelier [Fri, 19 Feb 2021 19:59:20 +0000 (20:59 +0100)]
ePub: try harder to find image files.
Thibaut Cuvelier [Fri, 19 Feb 2021 16:38:22 +0000 (17:38 +0100)]
DocBook: implement prepended/appended arguments for all kinds of elements.
Previously, it was just in InsetText.
Yuriy Skalko [Tue, 16 Feb 2021 20:00:20 +0000 (22:00 +0200)]
Update Russian localization
Kornel Benko [Fri, 19 Feb 2021 16:06:37 +0000 (17:06 +0100)]
FindAdv: Do not distinguish between different math constructs
This means that searching math-mode will find instances also in
math-environments like align*, multline, ...
Yuriy Skalko [Thu, 18 Feb 2021 13:38:13 +0000 (15:38 +0200)]
Fix margins for Beamer columns
Yuriy Skalko [Thu, 18 Feb 2021 13:36:24 +0000 (15:36 +0200)]
Fix setting of math matrix size with mouse
Scott Kostyshak [Fri, 19 Feb 2021 05:42:38 +0000 (00:42 -0500)]
Fix warnings in fr.po
Escaping \alpha addresses the following warning messages:
fr.po:33491: warning: internationalized messages should not contain the '\a' escape sequence
fr.po:33501: warning: internationalized messages should not contain the '\a' escape sequence
Enrico Forestieri [Fri, 19 Feb 2021 01:19:06 +0000 (02:19 +0100)]
Fix bug #12148
jpc [Thu, 18 Feb 2021 16:57:45 +0000 (17:57 +0100)]
Update fr.po, step 2
Juergen Spitzmueller [Thu, 18 Feb 2021 14:55:05 +0000 (15:55 +0100)]
Select search string after inserting from find buffer
Jean-Marc Lasgouttes [Thu, 18 Feb 2021 14:35:42 +0000 (15:35 +0100)]
Fix a crash when closing tabs
Although I do not know how to reproduce the crash, the change makes sense.
This is backported from gadmm's lyx-unstable tree
https://gitlab.com/gadmm/lyx-unstable/-/commit/
261ce4ea98d82625a07f0fcf85e40f9055d2db3b
Juergen Spitzmueller [Thu, 18 Feb 2021 14:44:27 +0000 (15:44 +0100)]
GuiSearch: properly display indicators in dark mode
Daniel Ramoeller [Thu, 18 Feb 2021 07:05:15 +0000 (08:05 +0100)]
Fix Undo with search-string-set
Makes it possible to use the find combobox's internal undo feature to undo a set search string.
Juergen Spitzmueller [Thu, 18 Feb 2021 11:59:52 +0000 (12:59 +0100)]
Do not report false find with empty string in instant search
Kornel Benko [Thu, 18 Feb 2021 09:11:35 +0000 (10:11 +0100)]
Update sk.po
Juergen Spitzmueller [Thu, 18 Feb 2021 08:14:39 +0000 (09:14 +0100)]
Improve search-options icon
Kornel Benko [Thu, 18 Feb 2021 08:34:43 +0000 (09:34 +0100)]
Amend
c21cd7dc : Ignore epub tests for now
Juergen Spitzmueller [Thu, 18 Feb 2021 06:33:26 +0000 (07:33 +0100)]
GuiSearch: make search options visible/accessible in minimal mode
Scott Kostyshak [Thu, 18 Feb 2021 05:57:38 +0000 (00:57 -0500)]
ctests: uninvert 2 docbook exports now succeeding
Scott Kostyshak [Thu, 18 Feb 2021 03:56:13 +0000 (22:56 -0500)]
Fix an instance of -Werror=misleading-indentation
Full GCC output is:
/home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp: In member function ‘void lyx::InsetText::docbook(lyx::XMLStream&, const lyx::OutputParams&, lyx::InsetText::XHTMLOptions) const’:
/home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp:713:5: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
713 | for (auto const & arg : appendedArguments)
| ^~~
/home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp:717:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
717 | if (writeOuterTag) {
| ^~
Scott Kostyshak [Thu, 18 Feb 2021 03:40:02 +0000 (22:40 -0500)]
Revert "Revert "Cmake export tests: Add epub-format to be tested""
Rather than revert the added epub tests, it makes more sense to
ignore them. That way it is easier to flip the switch to enable
them.
Thanks to Kornel.
This reverts commit
894977b62e66e9993694b8469e40716876ec1c46 .
Thibaut Cuvelier [Wed, 17 Feb 2021 22:32:23 +0000 (23:32 +0100)]
DocBook: force paragraphs in HTML cells to allow for nested tables.
CALS still invalid because it forbids nested tables.
Thibaut Cuvelier [Wed, 17 Feb 2021 22:25:41 +0000 (23:25 +0100)]
DocBook: spurious spaces in table attributes.
Thibaut Cuvelier [Wed, 17 Feb 2021 21:55:37 +0000 (22:55 +0100)]
DocBook: TODO is outdated, table type is checked within docbookRow.
Thibaut Cuvelier [Sun, 14 Feb 2021 05:35:13 +0000 (06:35 +0100)]
DocBook: use DocBookArgumentAfterMainTag for short titles.
Thibaut Cuvelier [Sun, 14 Feb 2021 06:07:04 +0000 (07:07 +0100)]
DocBook: add support for DocBookArgumentAfterMainTag.
Thibaut Cuvelier [Sun, 14 Feb 2021 05:35:13 +0000 (06:35 +0100)]
DocBook: add support for short titles.
Currently, the DocBook output is not valid. This is solved by the next two commits.
Thibaut Cuvelier [Sun, 14 Feb 2021 05:09:47 +0000 (06:09 +0100)]
French doc: two typos.
Enrico Forestieri [Wed, 17 Feb 2021 18:51:01 +0000 (19:51 +0100)]
Correctly show deleted url with change tracking
This fixes the issue reported here:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202545.html
I could not find an open ticket about it.
Scott Kostyshak [Wed, 17 Feb 2021 16:51:18 +0000 (11:51 -0500)]
Revert "Cmake export tests: Add epub-format to be tested"
Revert the addition of epub tests for now since a lot of them are
failing (and are not regressions).
This reverts commit
983d327fe3bbf8cdc8dbb1e56bbb78ba7e3fbcd5 .
Juergen Spitzmueller [Wed, 17 Feb 2021 15:55:55 +0000 (16:55 +0100)]
Clean up previous selections with empty searchstr on instant
Juergen Spitzmueller [Wed, 17 Feb 2021 14:50:54 +0000 (15:50 +0100)]
Consider case (in)sensitivity when querying special char insets
Juergen Spitzmueller [Wed, 17 Feb 2021 13:48:31 +0000 (14:48 +0100)]
GuiSearch: separate findClicked() slot from more general function
the latter one is also accessed by different paths than clicking
Juergen Spitzmueller [Wed, 17 Feb 2021 13:32:26 +0000 (14:32 +0100)]
Fix Find button with search as you type