]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoFix zoom slider with mouse wheel
Juergen Spitzmueller [Sun, 7 Mar 2021 14:18:28 +0000 (15:18 +0100)]
Fix zoom slider with mouse wheel

3 years agoFix for Qt < 5.11
Juergen Spitzmueller [Sun, 7 Mar 2021 13:33:13 +0000 (14:33 +0100)]
Fix for Qt < 5.11

3 years agoAdd ticks to zoom slider
Juergen Spitzmueller [Sun, 7 Mar 2021 13:15:15 +0000 (14:15 +0100)]
Add ticks to zoom slider

3 years agoFix display of emphasize in slanted text
Jean-Marc Lasgouttes [Sun, 7 Mar 2021 12:29:21 +0000 (13:29 +0100)]
Fix display of emphasize in slanted text

Fixes bug #12175.

3 years agoZoom slider
Juergen Spitzmueller [Sun, 7 Mar 2021 12:29:23 +0000 (13:29 +0100)]
Zoom slider

3 years agoAmend 07396ab2445720b21dc8195816eb1aee1f2ae3a7 - fix compilation error for Apple...
Stephan Witt [Sun, 7 Mar 2021 09:46:31 +0000 (10:46 +0100)]
Amend 07396ab2445720b21dc8195816eb1aee1f2ae3a7 - fix compilation error for Apple spell checker.

3 years agoAmend 07396ab2445720b21dc8195816eb1aee1f2ae3a7 - fix white space.
Stephan Witt [Sun, 7 Mar 2021 09:46:00 +0000 (10:46 +0100)]
Amend 07396ab2445720b21dc8195816eb1aee1f2ae3a7 - fix white space.

3 years agoUpdate tex2lyx tests
Juergen Spitzmueller [Sun, 7 Mar 2021 07:24:01 +0000 (08:24 +0100)]
Update tex2lyx tests

3 years ago\\spellchecker_ignore: use LyX language name rather than langcode
Juergen Spitzmueller [Sun, 7 Mar 2021 07:21:23 +0000 (08:21 +0100)]
\\spellchecker_ignore: use LyX language name rather than langcode

3 years agoctests: invert failing tests for new ru file
Scott Kostyshak [Sun, 7 Mar 2021 01:33:53 +0000 (20:33 -0500)]
ctests: invert failing tests for new ru file

The failing tests for the Russian Fancy_Colored_Boxes are likely
failing for the same reasons as the other Russian documents.

3 years agoctests: for log, specify benefit is quick fixes
Scott Kostyshak [Sun, 7 Mar 2021 01:09:32 +0000 (20:09 -0500)]
ctests: for log, specify benefit is quick fixes

In the cost/benefit log, most of the bugs would have been discovered
eventually. The benefit of a test suite is to find bugs quickly.

3 years agoctests: log a fixed issue
Scott Kostyshak [Sun, 7 Mar 2021 01:09:24 +0000 (20:09 -0500)]
ctests: log a fixed issue

3 years agoFrench User Guide: fix file paths
Scott Kostyshak [Sun, 7 Mar 2021 01:05:03 +0000 (20:05 -0500)]
French User Guide: fix file paths

3 years agoFix bug #12181
Enrico Forestieri [Sat, 6 Mar 2021 22:36:58 +0000 (23:36 +0100)]
Fix bug #12181

The context menu for InsetMathRef is now usable.
InsetMathRef still misses support for RefStyle and thus the
corresponding entries are omitted from the menu. But this would
be a different bug.

3 years agoDo not toggle on (all) layouts in force plain
Daniel Ramoeller [Sat, 6 Mar 2021 10:50:11 +0000 (11:50 +0100)]
Do not toggle on (all) layouts in force plain

Fix for #12179.

3 years agoUpdate sk.po
Kornel Benko [Sat, 6 Mar 2021 19:06:12 +0000 (20:06 +0100)]
Update sk.po

3 years agoCompilation fix
Jean-Marc Lasgouttes [Sat, 6 Mar 2021 18:58:18 +0000 (19:58 +0100)]
Compilation fix

3 years agoLayout fix
Juergen Spitzmueller [Sat, 6 Mar 2021 16:45:06 +0000 (17:45 +0100)]
Layout fix

3 years agode.po
Juergen Spitzmueller [Sat, 6 Mar 2021 16:39:28 +0000 (17:39 +0100)]
de.po

3 years agoMeet per-document spelling dictionaries (fixes #86 [sic!])
Juergen Spitzmueller [Sat, 6 Mar 2021 15:53:33 +0000 (16:53 +0100)]
Meet per-document spelling dictionaries (fixes #86 [sic!])

Now who can beat that? ;-)

3 years agofix indendation
Juergen Spitzmueller [Sat, 6 Mar 2021 15:15:10 +0000 (16:15 +0100)]
fix indendation

3 years agoUpdate Russian localization
Yuriy Skalko [Sat, 6 Mar 2021 10:51:39 +0000 (12:51 +0200)]
Update Russian localization

3 years agoUpdate it.po
Enrico Forestieri [Sat, 6 Mar 2021 09:49:52 +0000 (10:49 +0100)]
Update it.po

3 years agoUpdate it.po
Enrico Forestieri [Sat, 6 Mar 2021 09:44:48 +0000 (10:44 +0100)]
Update it.po

3 years agoUpdfate sk.po
Kornel Benko [Sat, 6 Mar 2021 08:39:47 +0000 (09:39 +0100)]
Updfate sk.po

3 years agoAllow context menus in mathed
Enrico Forestieri [Fri, 5 Mar 2021 20:21:41 +0000 (21:21 +0100)]
Allow context menus in mathed

It is now possible to get a context menu for math insets.
InsetMathSpace was already providing a specific context menu,
but it was never triggered because the math hull inset is not
descendable. It is still so, but now when a context menu is
requested all the insets inside the math hull are examined.
If the inset under the cursor provides a context menu, it
is shown instead of the general math one.

Fixes #12100.

3 years agoUpdate PO and GMO files
Richard Kimberly Heck [Fri, 5 Mar 2021 20:06:37 +0000 (15:06 -0500)]
Update PO and GMO files

3 years agoAdd LFUN_FONT_NO_SPELLCHECK
Juergen Spitzmueller [Fri, 5 Mar 2021 17:23:38 +0000 (18:23 +0100)]
Add LFUN_FONT_NO_SPELLCHECK

3 years agoFix tristate toolbar toggling via toolbar (#12177)
Juergen Spitzmueller [Fri, 5 Mar 2021 16:12:51 +0000 (17:12 +0100)]
Fix tristate toolbar toggling via toolbar (#12177)

3 years agoIndicate that we do not use a return value
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.

3 years agoFix missing initialization
Jean-Marc Lasgouttes [Fri, 5 Mar 2021 12:06:10 +0000 (13:06 +0100)]
Fix missing initialization

Spotted by Coverity.

3 years agoFix warning when not using Qt regexps
Jean-Marc Lasgouttes [Fri, 5 Mar 2021 10:54:11 +0000 (11:54 +0100)]
Fix warning when not using Qt regexps

3 years agoRemove redundant call (amend 2b7fae04f32c)
Juergen Spitzmueller [Fri, 5 Mar 2021 06:54:17 +0000 (07:54 +0100)]
Remove redundant call (amend 2b7fae04f32c)

3 years agoFix limiting of absurdly large input to thesaurus (#10528)
Juergen Spitzmueller [Fri, 5 Mar 2021 06:51:49 +0000 (07:51 +0100)]
Fix limiting of absurdly large input to thesaurus (#10528)

3 years agoFix wrap with Spellchecker after ignore (#10383)
Juergen Spitzmueller [Thu, 4 Mar 2021 17:02:04 +0000 (18:02 +0100)]
Fix wrap with Spellchecker after ignore (#10383)

3 years agoRemove confusing and unusual "Find Next" button from spellchecker dialog (#8931)
Juergen Spitzmueller [Thu, 4 Mar 2021 15:54:01 +0000 (16:54 +0100)]
Remove confusing and unusual "Find Next" button from spellchecker dialog (#8931)

3 years agoUpdate it.po
Enrico Forestieri [Thu, 4 Mar 2021 15:16:21 +0000 (16:16 +0100)]
Update it.po

3 years agoStyle
Juergen Spitzmueller [Thu, 4 Mar 2021 13:52:39 +0000 (14:52 +0100)]
Style

3 years agorefillToolbars() does not need to be public
Juergen Spitzmueller [Thu, 4 Mar 2021 13:51:58 +0000 (14:51 +0100)]
refillToolbars() does not need to be public

3 years agoAllow for runtime (dark/light) mode switch
Juergen Spitzmueller [Thu, 4 Mar 2021 11:35:38 +0000 (12:35 +0100)]
Allow for runtime (dark/light) mode switch

3 years agoFix bug #9601
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.

3 years agoAvoid pointless 'undefined flex inset' errors
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.

3 years agoFix Disable Editing "Lock" icon protrudes into tab title on macOS
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.

3 years ago Import updated UserGuide from 2.3
jpc [Tue, 2 Mar 2021 17:22:20 +0000 (18:22 +0100)]
          Import updated UserGuide from 2.3

3 years agoFix random scrolling inside nested insets
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.

3 years ago Update fr.po
jpc [Tue, 2 Mar 2021 10:16:41 +0000 (11:16 +0100)]
        Update fr.po

3 years agoConsider selection scope when DEPM after CT acceptance/rejection (#2166)
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.

3 years agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Tue, 2 Mar 2021 07:36:42 +0000 (08:36 +0100)]
Merge branch 'master' of git.lyx.org:lyx

3 years agoCleanup High DPI support
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).

3 years agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Tue, 2 Mar 2021 06:04:03 +0000 (07:04 +0100)]
Merge branch 'master' of git.lyx.org:lyx

3 years agoAdd Qt platform name in About dialog
Jean-Marc Lasgouttes [Mon, 1 Mar 2021 18:15:49 +0000 (19:15 +0100)]
Add Qt platform name in About dialog

3 years agoAmend c2facb8c
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.

3 years agoFix bug #11007
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.

3 years agogrammar
Juergen Spitzmueller [Sun, 28 Feb 2021 16:38:01 +0000 (17:38 +0100)]
grammar

3 years agoPrevent infinite loop with instant search on Mac (#12161)
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.

3 years agoFix bug #11444
Enrico Forestieri [Sun, 28 Feb 2021 13:56:42 +0000 (14:56 +0100)]
Fix bug #11444

3 years agoUse a proper filter bar in the outliner
Juergen Spitzmueller [Sun, 28 Feb 2021 12:57:24 +0000 (13:57 +0100)]
Use a proper filter bar in the outliner

3 years agoAdjust adv. find & replace pane spacing
Daniel Ramoeller [Sun, 21 Feb 2021 07:02:21 +0000 (08:02 +0100)]
Adjust adv. find & replace pane spacing

Partial fix of bug #12152.

3 years agoAdjust code preview spacing
Daniel Ramoeller [Sat, 20 Feb 2021 14:40:17 +0000 (15:40 +0100)]
Adjust code preview spacing

Partial fix of bug #12152.

3 years agoAdjust outliner spacing
Daniel Ramoeller [Sat, 20 Feb 2021 09:53:01 +0000 (10:53 +0100)]
Adjust outliner spacing

Partial fix for #12152.

3 years agoHiDPI support for search indicators (#12162)
Juergen Spitzmueller [Sun, 28 Feb 2021 11:35:29 +0000 (12:35 +0100)]
HiDPI support for search indicators (#12162)

Requires Qt5

3 years agoAdd a bit of debugging code
Richard Kimberly Heck [Sun, 28 Feb 2021 01:34:19 +0000 (20:34 -0500)]
Add a bit of debugging code

3 years agoFix bug #3751
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.

3 years agoFix bug #12169
Richard Kimberly Heck [Sat, 27 Feb 2021 18:27:03 +0000 (13:27 -0500)]
Fix bug #12169
Patch from Daniel.

3 years agoFix bug #3294
Enrico Forestieri [Sat, 27 Feb 2021 13:49:55 +0000 (14:49 +0100)]
Fix bug #3294

3 years agoFindAdv: Added handling of some chars found in unnicodesymbols
Kornel Benko [Sat, 27 Feb 2021 13:14:28 +0000 (14:14 +0100)]
FindAdv: Added handling of some chars found in unnicodesymbols

3 years agoUpdate Russian localization
Yuriy Skalko [Fri, 26 Feb 2021 21:55:46 +0000 (23:55 +0200)]
Update Russian localization

3 years agoAdd Russian translation of Fancy_Colored_Boxes.lyx by Henry Chern
Yuriy Skalko [Fri, 26 Feb 2021 16:00:15 +0000 (18:00 +0200)]
Add Russian translation of Fancy_Colored_Boxes.lyx by Henry Chern

3 years agoFix cursor navigation in \overbrace and \underbrace
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

3 years agoUse document mode on work area and docks on macOS
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.

3 years agoDisplay bookmarks in the workarea (take 2).
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.

3 years agoRevert "Display bookmarks in the workarea."
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.

3 years agoAllow to call cap::switchBetweenClasses without an ErrorList.
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.

3 years agoRemove assertion that is not necessary.
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.

3 years agoImprove HiDpi handling
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.

3 years ago Update fr.po, shortcut conflicts solved
jpc [Wed, 24 Feb 2021 17:48:12 +0000 (18:48 +0100)]
        Update fr.po, shortcut conflicts solved

3 years agoUpdate sk.po
Kornel Benko [Wed, 24 Feb 2021 12:56:02 +0000 (13:56 +0100)]
Update sk.po

3 years agoAmend 368e983a
Enrico Forestieri [Tue, 23 Feb 2021 20:48:54 +0000 (21:48 +0100)]
Amend 368e983a

3 years agoFix bug #12165
Enrico Forestieri [Tue, 23 Feb 2021 18:59:57 +0000 (19:59 +0100)]
Fix bug #12165

3 years agoFix cursor position when undoing inset-dissolve.
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.

3 years ago Update fr.po, shortcuts untested
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

3 years agoImprove fix for #12153
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.

3 years agoFancyLineEdit: use QLineEdit's own clear button with Qt >= 5.2
Juergen Spitzmueller [Tue, 23 Feb 2021 15:53:15 +0000 (16:53 +0100)]
FancyLineEdit: use QLineEdit's own clear button with Qt >= 5.2

3 years ago Update fr.po, step 3
jpc [Tue, 23 Feb 2021 10:28:40 +0000 (11:28 +0100)]
      Update fr.po, step 3

3 years ago"12 pixels ought to be enough for anyone"
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.

3 years agoBy report autoconf 2.71 works, 2.70 is known to have compatibility issues.
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.

3 years agoAdjust label size to directory names in About
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.

3 years agoReduce the value of (above|below)displayskip
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.

3 years agoCompile with gcc 4.9 again.
Pavel Sanda [Sun, 21 Feb 2021 19:05:06 +0000 (20:05 +0100)]
Compile with gcc 4.9 again.

3 years agoAmend 61657bd610466a0fcd8e611d5942cff328ae6169
Thibaut Cuvelier [Sun, 21 Feb 2021 12:14:51 +0000 (13:14 +0100)]
Amend 61657bd610466a0fcd8e611d5942cff328ae6169

Restore indentation to be more consistent.

3 years agoDraw real dots
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.

3 years agoDocBook: convert a first ERT.
Thibaut Cuvelier [Fri, 19 Feb 2021 21:38:25 +0000 (22:38 +0100)]
DocBook: convert a first ERT.

3 years agoProgressView: fix initial tab.
Juergen Spitzmueller [Sat, 20 Feb 2021 07:10:01 +0000 (08:10 +0100)]
ProgressView: fix initial tab.

3 years agoctests: log a fixed issue
Scott Kostyshak [Sat, 20 Feb 2021 00:19:12 +0000 (19:19 -0500)]
ctests: log a fixed issue

3 years agoFix bug #12152.
Richard Kimberly Heck [Fri, 19 Feb 2021 22:31:36 +0000 (17:31 -0500)]
Fix bug #12152.

Patch from Daniel.

3 years agoePub: try harder to find image files.
Thibaut Cuvelier [Fri, 19 Feb 2021 19:59:20 +0000 (20:59 +0100)]
ePub: try harder to find image files.

3 years agoDocBook: implement prepended/appended arguments for all kinds of elements.
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.

3 years agoUpdate Russian localization
Yuriy Skalko [Tue, 16 Feb 2021 20:00:20 +0000 (22:00 +0200)]
Update Russian localization

3 years agoFindAdv: Do not distinguish between different math constructs
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, ...

3 years agoFix margins for Beamer columns
Yuriy Skalko [Thu, 18 Feb 2021 13:38:13 +0000 (15:38 +0200)]
Fix margins for Beamer columns