]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoFix bug #12261. From Daniel.
Richard Kimberly Heck [Wed, 24 Mar 2021 17:50:43 +0000 (13:50 -0400)]
Fix bug #12261. From Daniel.

3 years agoUpdate tex2lyx tests
Scott Kostyshak [Wed, 24 Mar 2021 17:07:17 +0000 (13:07 -0400)]
Update tex2lyx tests

3 years agoRemove tweaks of [pm]i.base.font in InsetCaption
Jean-Marc Lasgouttes [Wed, 24 Mar 2021 15:27:05 +0000 (16:27 +0100)]
Remove tweaks of [pm]i.base.font in InsetCaption

Captions do not reset font settings (try to insert caption in emph context).

Part of investigation of bug #12204.

3 years agoRemove unneeded InsetFootlike::metrics/draw() methods
Jean-Marc Lasgouttes [Wed, 24 Mar 2021 13:51:41 +0000 (14:51 +0100)]
Remove unneeded InsetFootlike::metrics/draw() methods

The font is already set to the buffer font when called from
TextMetrics::redoParagraph and RowPainter::paintInset, because
inheritFont() is false.

Part of investigation of bug #12204.

3 years agoCmake build Qt6: Remove some redundant statements.
Kornel Benko [Wed, 24 Mar 2021 10:42:39 +0000 (11:42 +0100)]
Cmake build Qt6: Remove some redundant statements.

3 years agoMake the latest FORMAT entry more detailed.
Thibaut Cuvelier [Tue, 23 Mar 2021 22:32:36 +0000 (23:32 +0100)]
Make the latest FORMAT entry more detailed.

3 years agoDocBook: add some documentation in Additional.
Thibaut Cuvelier [Tue, 23 Mar 2021 21:32:03 +0000 (22:32 +0100)]
DocBook: add some documentation in Additional.

3 years agoImprove tool tip for the new DocBook MathML-prefix option.
Thibaut Cuvelier [Tue, 23 Mar 2021 20:28:44 +0000 (21:28 +0100)]
Improve tool tip for the new DocBook MathML-prefix option.

3 years ago* FORMAT
Pavel Sanda [Tue, 23 Mar 2021 20:23:57 +0000 (21:23 +0100)]
* FORMAT

3 years ago* FORMAT
Pavel Sanda [Tue, 23 Mar 2021 20:19:56 +0000 (21:19 +0100)]
* FORMAT

3 years agoAmend 0f782b0d: add the required changes to lyx2lyx.
Thibaut Cuvelier [Tue, 23 Mar 2021 20:12:34 +0000 (21:12 +0100)]
Amend 0f782b0d: add the required changes to lyx2lyx.

3 years agoFix note about resumed enumerations
Richard Kimberly Heck [Tue, 23 Mar 2021 15:28:38 +0000 (11:28 -0400)]
Fix note about resumed enumerations

3 years agoRemove empty section, re-organize.
Richard Kimberly Heck [Tue, 23 Mar 2021 14:53:54 +0000 (10:53 -0400)]
Remove empty section, re-organize.

3 years agoDocBook: add the MathML-namespace prefix in the GUI.
Thibaut Cuvelier [Mon, 22 Mar 2021 23:32:36 +0000 (00:32 +0100)]
DocBook: add the MathML-namespace prefix in the GUI.

3 years agoDocBook: add a parameter to change the namespace prefix for MathML.
Thibaut Cuvelier [Mon, 22 Mar 2021 23:08:50 +0000 (00:08 +0100)]
DocBook: add a parameter to change the namespace prefix for MathML.

3 years agoAmend 635a7d77: Allow compiling with Qt6 with cmake
Kornel Benko [Mon, 22 Mar 2021 15:19:10 +0000 (16:19 +0100)]
Amend 635a7d77: Allow compiling with Qt6 with cmake

Thanks Scott for checking.
TODO: Check compilation on Windows and Mac.

3 years agoFix Qt6 deprecation warning about QString::fromUcs4
Enrico Forestieri [Sun, 21 Mar 2021 16:15:08 +0000 (17:15 +0100)]
Fix Qt6 deprecation warning about QString::fromUcs4

3 years agoRevert "Fix Qt6 deprecation warning (QString::fromUcs4(uint))"
Juergen Spitzmueller [Sun, 21 Mar 2021 15:59:25 +0000 (16:59 +0100)]
Revert "Fix Qt6 deprecation warning (QString::fromUcs4(uint))"

This reverts commit 52dff70641788cdd99ca40cf30550861555191c3.

3 years agoReplace obsoleted signal
Juergen Spitzmueller [Sun, 21 Mar 2021 11:51:38 +0000 (12:51 +0100)]
Replace obsoleted signal

This has been obsoleted in Qt5 and dropped in Qt6

3 years agoFix Qt6 deprecation warning (QString::fromUcs4(uint))
Juergen Spitzmueller [Sun, 21 Mar 2021 11:38:47 +0000 (12:38 +0100)]
Fix Qt6 deprecation warning (QString::fromUcs4(uint))

3 years agoFix Qt6 deprecation warning (QMouseEvent::x() ::y())
Juergen Spitzmueller [Sun, 21 Mar 2021 11:38:05 +0000 (12:38 +0100)]
Fix Qt6 deprecation warning (QMouseEvent::x() ::y())

3 years agoFix Qt6 deprecation warning (QEvent::globalPos())
Juergen Spitzmueller [Sun, 21 Mar 2021 11:37:17 +0000 (12:37 +0100)]
Fix Qt6 deprecation warning (QEvent::globalPos())

3 years agoAddress Qt6 deprecation warning (QLibraryInfo::location())
Juergen Spitzmueller [Sun, 21 Mar 2021 11:30:34 +0000 (12:30 +0100)]
Address Qt6 deprecation warning (QLibraryInfo::location())

3 years agoFix unused variable warning with Qt6
Juergen Spitzmueller [Sun, 21 Mar 2021 11:30:01 +0000 (12:30 +0100)]
Fix unused variable warning with Qt6

3 years agoImprove Qt6 detection
Enrico Forestieri [Sun, 21 Mar 2021 10:28:11 +0000 (11:28 +0100)]
Improve Qt6 detection

There is still no clear pattern of how distributions will install Qt6.
The old scheme of adding a -qtN suffix is not followed by OpenSuse,
and qmake and the ancillary programs are installed with 6 as a suffix.

3 years agoMake all a synonym of any in cmd debug mode
Eugene Chornyi [Sun, 21 Mar 2021 08:59:23 +0000 (09:59 +0100)]
Make all a synonym of any in cmd debug mode

3 years agoUpdate sk.po
Kornel Benko [Sat, 20 Mar 2021 09:27:24 +0000 (10:27 +0100)]
Update sk.po

3 years agode.po
Juergen Spitzmueller [Sat, 20 Mar 2021 08:59:38 +0000 (09:59 +0100)]
de.po

3 years agoDocBook: for PDF export with Pandoc, support the current syntax for PDf engine
Thibaut Cuvelier [Thu, 18 Mar 2021 19:40:29 +0000 (20:40 +0100)]
DocBook: for PDF export with Pandoc, support the current syntax for PDf engine

3 years ago* RELEASE-NOTES
Pavel Sanda [Wed, 17 Mar 2021 20:58:13 +0000 (21:58 +0100)]
* RELEASE-NOTES

3 years agoAllow bundled saxon not to be installed.
Pavel Sanda [Wed, 17 Mar 2021 20:51:01 +0000 (21:51 +0100)]
Allow bundled saxon not to be installed.

3 years agoFix latex syntax highlighting with Qt6
Enrico Forestieri [Wed, 17 Mar 2021 09:17:10 +0000 (10:17 +0100)]
Fix latex syntax highlighting with Qt6

3 years agoFix copy&paste error
Enrico Forestieri [Wed, 17 Mar 2021 07:59:04 +0000 (08:59 +0100)]
Fix copy&paste error

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