]>
git.lyx.org Git - features.git/log
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
Juergen Spitzmueller [Wed, 17 Feb 2021 11:45:30 +0000 (12:45 +0100)]
FancyLineEdit: reformat using our indentation style
No change in function
Kornel Benko [Wed, 17 Feb 2021 09:41:55 +0000 (10:41 +0100)]
Update sk.po
Juergen Spitzmueller [Wed, 17 Feb 2021 09:04:52 +0000 (10:04 +0100)]
de.po
Juergen Spitzmueller [Wed, 17 Feb 2021 08:51:09 +0000 (09:51 +0100)]
Advanced F&R: Improve code on Return key
Juergen Spitzmueller [Wed, 17 Feb 2021 08:50:18 +0000 (09:50 +0100)]
Adv F&R: indicate search direction
Juergen Spitzmueller [Wed, 17 Feb 2021 08:49:25 +0000 (09:49 +0100)]
Adv F&R: Fix accelerator conflicts
Juergen Spitzmueller [Wed, 17 Feb 2021 08:08:26 +0000 (09:08 +0100)]
Add accelerator
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 19:22:46 +0000 (20:22 +0100)]
Fixup
824d1c99 : do not change the semantics of leftMargin(pit_type)
In the row painter, when painting a centered label, one wants to get
the left/right margin of the non-first rows (without indent). It was a
bad idea to change leftMargin(pit) to do that, because its semantics
are unclear and the the code depends on the fact that this function does
strange things when the paragraph is empty...
Fixes bug #12118.
Kornel Benko [Tue, 16 Feb 2021 18:54:38 +0000 (19:54 +0100)]
Update sk.po
Juergen Spitzmueller [Tue, 16 Feb 2021 18:13:13 +0000 (19:13 +0100)]
GuiSpellchecker: resolve accelerator conflicts
Juergen Spitzmueller [Tue, 16 Feb 2021 18:12:00 +0000 (19:12 +0100)]
de.po
Juergen Spitzmueller [Tue, 16 Feb 2021 15:33:30 +0000 (16:33 +0100)]
GuiThesaurus: complement lyxfind options
Pavel Sanda [Tue, 16 Feb 2021 14:08:19 +0000 (15:08 +0100)]
Bring search-string-set back, someone actually wants this ;)
Pavel Sanda [Tue, 16 Feb 2021 12:50:55 +0000 (13:50 +0100)]
Revert the mac-style binding
Juergen Spitzmueller [Tue, 16 Feb 2021 12:35:04 +0000 (13:35 +0100)]
use dialog-show with search dialogs
Now that focus setting works, and since find dialog can be closed with
Esc, this makes sense to get back from workarea to dialog.
Juergen Spitzmueller [Tue, 16 Feb 2021 12:30:31 +0000 (13:30 +0100)]
GuiSearch: Properly delegate focus
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 11:21:12 +0000 (12:21 +0100)]
Make selections vertically tighter.
Introduce a new Row::contents_dim(), which height is restricted to the
row contents and does not contain any extra vertical spacing.
Rely on this for painting selections: if the selection starts on row,
for example, the ascent of the contents dim is considered. If ot was
started above, then the full dim is used.
Fixes bug #3899.
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 11:01:40 +0000 (12:01 +0100)]
Keep the useful parts of reverted commits
Keep from
907f0207 the introduction of BufferView::top/bottomMargin()
and the setting of the top/bottom margin of the document. The
difference is that the extra height is still added to the relevant
rows, and not only to the paragraph metrics.
Keep from
f41ca959 the reduction of top/bottom margin for Adv F&R
workareas.
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 09:34:40 +0000 (10:34 +0100)]
Revert "Improve handling of top and bottom margin"
This reverts commit
907f020724b4d73a75644642f3e097f74c75c3b5 .
Jean-Marc Lasgouttes [Tue, 16 Feb 2021 09:32:36 +0000 (10:32 +0100)]
Revert "Reduce top/bottom margin for Adv F&R workareas"
This reverts commit
f41ca959fd531cd955bce778f2734f2a3ff1ee14 .