]> git.lyx.org Git - features.git/log
features.git
3 years agoAllow bundled saxon not to be installed.
Pavel Sanda [Tue, 16 Mar 2021 22:14:19 +0000 (23:14 +0100)]
Allow bundled saxon not to be installed.

3 years agoQt4 compil fix
Pavel Sanda [Tue, 16 Mar 2021 08:39:05 +0000 (09:39 +0100)]
Qt4 compil fix

3 years agoAmend 635a7d77
Enrico Forestieri [Mon, 15 Mar 2021 17:35:58 +0000 (18:35 +0100)]
Amend 635a7d77

With a multiscreen setup and Qt6, make sure to get the geometry
of the screen containing the widget.

3 years agoAllow compiling with Qt6
Enrico Forestieri [Mon, 15 Mar 2021 16:09:09 +0000 (17:09 +0100)]
Allow compiling with Qt6

This commit allows compiling LyX with Qt6 when using autotools.
For a successful compilation the following 2 conditions must be met.

1) The Qt6 qmake has to come first in PATH, so that the command
   "qmake -v | grep -o 'Qt version .'" returns "Qt version 6".
2) The --enable-qt6 switch has to be passed to the configure command.

If --enable-qt6 is used but Qt6 is not found, Qt5 is tried as a fallback.
If also Qt5 is not found, configuring for Qt4 is attempted.
If --enable-qt6 is not used, then things go as usual. This means that Qt5
is tried first and then Qt4, unless --disable-qt5 is used, in which case
Qt4 is directly attempted. This means that existing scripts should
continue working unmodified.

LyX should compile with Qt6 on windows and linux, and possibly also on
mac, but I could not test that. However, it is not guaranteed that it
works as it should. In particular I am not sure that I got right the
conversion from QRegExp to QRegularExpression. For sure, the syntax
highlighting seems to not work right. Someone in the know should take
a look at that. I am able to load documents and compile them but some
thourough testing is needed. However, when compiling for Qt5 or Qt4,
I tried to make sure that the functionality is preserved.

3 years agoAmend [1bf53d47a5b8/lyxgit]
Juergen Spitzmueller [Sun, 14 Mar 2021 15:48:04 +0000 (16:48 +0100)]
Amend [1bf53d47a5b8/lyxgit]

3 years agoUse customizable zoom context menu
Juergen Spitzmueller [Sun, 14 Mar 2021 15:41:44 +0000 (16:41 +0100)]
Use customizable zoom context menu

Based on a proposal by Daniel (#12187)

3 years agoToom value: back to QLabel, this time with custom context menu
Juergen Spitzmueller [Sun, 14 Mar 2021 11:03:42 +0000 (12:03 +0100)]
Toom value: back to QLabel, this time with custom context menu

3 years agoCmake debian packaging: use correct section (instead of "devel")
Kornel Benko [Sun, 14 Mar 2021 09:17:58 +0000 (10:17 +0100)]
Cmake debian packaging: use correct section (instead of "devel")

3 years agoProperly set minimum width with QToolButton
Juergen Spitzmueller [Sun, 14 Mar 2021 08:42:28 +0000 (09:42 +0100)]
Properly set minimum width with QToolButton

3 years agoFix indentation
Juergen Spitzmueller [Sat, 13 Mar 2021 11:17:31 +0000 (12:17 +0100)]
Fix indentation

3 years agoFix ct in table cell pasting
Juergen Spitzmueller [Fri, 12 Mar 2021 16:42:56 +0000 (17:42 +0100)]
Fix ct in table cell pasting

3 years agoFix copy of multi-cells in table (#12196)
Juergen Spitzmueller [Fri, 12 Mar 2021 16:41:43 +0000 (17:41 +0100)]
Fix copy of multi-cells in table (#12196)

3 years agoFixup 86bfa10a: add checks before updating bookmarks
Jean-Marc Lasgouttes [Fri, 12 Mar 2021 16:37:31 +0000 (17:37 +0100)]
Fixup 86bfa10a: add checks before updating bookmarks

When doing cut and paste, it can happen that inset_owner_ is null, or
that the inset is not related to a buffer.

3 years agoSet correct Windows console code page since all LyX output is in UTF-8
Yuriy Skalko [Thu, 11 Mar 2021 14:19:44 +0000 (16:19 +0200)]
Set correct Windows console code page since all LyX output is in UTF-8

3 years agoSet zoom value after menu
Juergen Spitzmueller [Fri, 12 Mar 2021 15:30:50 +0000 (16:30 +0100)]
Set zoom value after menu

Fixes initial size with styles that show a menu indicator

3 years agodt2dv.c: avoid compiler warnings
Juergen Spitzmueller [Fri, 12 Mar 2021 14:54:30 +0000 (15:54 +0100)]
dt2dv.c: avoid compiler warnings

3 years agoYet another deprecation fix (this is the last one I am aware of)
Juergen Spitzmueller [Fri, 12 Mar 2021 11:14:42 +0000 (12:14 +0100)]
Yet another deprecation fix (this is the last one I am aware of)

3 years agoAdd forgotten parent
Juergen Spitzmueller [Fri, 12 Mar 2021 09:54:46 +0000 (10:54 +0100)]
Add forgotten parent

3 years agode.po
Juergen Spitzmueller [Fri, 12 Mar 2021 09:51:10 +0000 (10:51 +0100)]
de.po

3 years agoFix deprecation warning (from|toTime_t)
Juergen Spitzmueller [Fri, 12 Mar 2021 09:32:03 +0000 (10:32 +0100)]
Fix deprecation warning (from|toTime_t)

3 years agoAddress another deprecation warning.
Juergen Spitzmueller [Fri, 12 Mar 2021 09:10:33 +0000 (10:10 +0100)]
Address another deprecation warning.

One left to go.

3 years agoFix deprecation warning
Juergen Spitzmueller [Thu, 11 Mar 2021 18:06:03 +0000 (19:06 +0100)]
Fix deprecation warning

3 years agoAdd option to toggle zoom slider to zoom statusbar menu
Juergen Spitzmueller [Thu, 11 Mar 2021 17:41:02 +0000 (18:41 +0100)]
Add option to toggle zoom slider to zoom statusbar menu

3 years agoOption to hide the zoom slider
Daniel Ramoeller [Mon, 8 Mar 2021 05:38:33 +0000 (06:38 +0100)]
Option to hide the zoom slider

Fix for bug #12187.

3 years agoUpdate sk.po
Kornel Benko [Thu, 11 Mar 2021 17:41:17 +0000 (18:41 +0100)]
Update sk.po

3 years agoAdd menu to statusbar zoom value
Juergen Spitzmueller [Thu, 11 Mar 2021 17:14:46 +0000 (18:14 +0100)]
Add menu to statusbar zoom value

3 years agoDo not scale statusbar icons
Juergen Spitzmueller [Thu, 11 Mar 2021 16:22:57 +0000 (17:22 +0100)]
Do not scale statusbar icons

This leads to stretched icons.

3 years agoRemove zoom slider ticks
Juergen Spitzmueller [Thu, 11 Mar 2021 15:32:22 +0000 (16:32 +0100)]
Remove zoom slider ticks

This doesn't align well

3 years agoFix bookmarks-goto inside insets.
Jean-Marc Lasgouttes [Thu, 11 Mar 2021 15:16:11 +0000 (16:16 +0100)]
Fix bookmarks-goto inside insets.

A stupid oversight, as far as I can see.

3 years agoAdjust bookmark position when inserting/deleting from paragraph
Jean-Marc Lasgouttes [Thu, 11 Mar 2021 14:57:06 +0000 (15:57 +0100)]
Adjust bookmark position when inserting/deleting from paragraph

Without this, bookmarks positions drift when editing.

3 years agoFixup fbf22bb3: really avoid screen-jumping with mouse click.
Jean-Marc Lasgouttes [Wed, 10 Mar 2021 09:42:24 +0000 (10:42 +0100)]
Fixup fbf22bb3: really avoid screen-jumping with mouse click.

It turns out that the commit from gadmm's lyx-unstable has been
cherry-picked at the wrong place! However I believe that both changes
are necessary.

With this second patch, I do see that some screen jumping is avoided.

Fixes bug #7457.

3 years agoConstification
Jean-Marc Lasgouttes [Wed, 10 Mar 2021 09:42:15 +0000 (10:42 +0100)]
Constification

3 years agoCode reformatting.
Jean-Marc Lasgouttes [Wed, 10 Mar 2021 09:41:49 +0000 (10:41 +0100)]
Code reformatting.

3 years ago Update fr.po
jpc [Tue, 9 Mar 2021 17:30:33 +0000 (18:30 +0100)]
       Update fr.po

3 years agoConstify some Paragraph::Private methods
Jean-Marc Lasgouttes [Tue, 9 Mar 2021 15:46:05 +0000 (16:46 +0100)]
Constify some Paragraph::Private methods

3 years agoFix debug output of FunCode
Jean-Marc Lasgouttes [Tue, 9 Mar 2021 15:26:44 +0000 (16:26 +0100)]
Fix debug output of FunCode

Outputing the FuncCode enum to a stream using the << operator does not
work well. Actually I am not sure whether the << operator in LyXAction
is supposed to work (don't we need an enum class for that?).

3 years agoRevert "Attempt to align slider and buttons in a widget"
Juergen Spitzmueller [Tue, 9 Mar 2021 13:50:23 +0000 (14:50 +0100)]
Revert "Attempt to align slider and buttons in a widget"

This reverts commit ad44f4f4483e1b7c2a358c8b6f28d7f9efdf40ff.

3 years agoAttempt to align slider and buttons in a widget
Juergen Spitzmueller [Tue, 9 Mar 2021 13:23:13 +0000 (14:23 +0100)]
Attempt to align slider and buttons in a widget

3 years agoFix cut and paste error
Juergen Spitzmueller [Tue, 9 Mar 2021 12:03:33 +0000 (13:03 +0100)]
Fix cut and paste error

3 years agoRevert 7e5c42593e4.
Pavel Sanda [Tue, 9 Mar 2021 10:56:34 +0000 (11:56 +0100)]
Revert 7e5c42593e4.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg215733.html

Main issue is git log does not return >0 when file does not exists.
Other possible issues to check - cvs might want to connect to server
with cvs log. In large git archives reaching the proper record might take
longer time than ls-files.

3 years agoUse real minus char
Juergen Spitzmueller [Tue, 9 Mar 2021 09:10:48 +0000 (10:10 +0100)]
Use real minus char

3 years agoAdd +/- buttons to zoom slider
Juergen Spitzmueller [Tue, 9 Mar 2021 07:42:27 +0000 (08:42 +0100)]
Add +/- buttons to zoom slider

3 years agoSmaller zoom slider on macOS
Daniel Ramoeller [Mon, 8 Mar 2021 19:43:03 +0000 (20:43 +0100)]
Smaller zoom slider on macOS

Fix for #12189.

3 years agoAmend change 07122f066b - correct string access.
Stephan Witt [Mon, 8 Mar 2021 20:26:58 +0000 (21:26 +0100)]
Amend change 07122f066b - correct string access.

3 years agoFix bug 11998
Eugene Chornyi [Mon, 8 Mar 2021 18:35:18 +0000 (19:35 +0100)]
Fix bug 11998

If started from console, the console is the parent process, which can be attached. If started not from console, parent process does not exist and the block is skipped.

3 years agoKeep zoom label width constant (#12186)
Juergen Spitzmueller [Mon, 8 Mar 2021 06:33:37 +0000 (07:33 +0100)]
Keep zoom label width constant (#12186)

3 years agoDisable zoom slider when there is no buffer open (#12185)
Juergen Spitzmueller [Sun, 7 Mar 2021 18:15:57 +0000 (19:15 +0100)]
Disable zoom slider when there is no buffer open (#12185)

3 years agoUpdate zoom display after zoom has been set
Juergen Spitzmueller [Sun, 7 Mar 2021 17:35:40 +0000 (18:35 +0100)]
Update zoom display after zoom has been set

3 years agoAdd way to remove items from document dictionary
Juergen Spitzmueller [Sun, 7 Mar 2021 17:23:07 +0000 (18:23 +0100)]
Add way to remove items from document dictionary

3 years agoRefactoring: move check for match in spellignore() to buffer params.
Stephan Witt [Sun, 7 Mar 2021 16:46:01 +0000 (17:46 +0100)]
Refactoring: move check for match in spellignore() to buffer params.

3 years agoFix per-document dictionary with Mac
Juergen Spitzmueller [Sun, 7 Mar 2021 16:25:31 +0000 (17:25 +0100)]
Fix per-document dictionary with Mac

3 years agoShow zoom value in statusbar
Juergen Spitzmueller [Sun, 7 Mar 2021 16:21:52 +0000 (17:21 +0100)]
Show zoom value in statusbar

3 years agoProperly set initial zoom value
Juergen Spitzmueller [Sun, 7 Mar 2021 16:09:03 +0000 (17:09 +0100)]
Properly set initial zoom value

This depends on settings

3 years agoProperly set initial zoom value
Juergen Spitzmueller [Sun, 7 Mar 2021 16:09:03 +0000 (17:09 +0100)]
Properly set initial zoom value

This depends on settings

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