]>
git.lyx.org Git - features.git/log
Richard Kimberly Heck [Sun, 28 Mar 2021 15:05:31 +0000 (11:05 -0400)]
Show the label for a cross-reference in the TOC.
Enrico Forestieri [Sat, 27 Mar 2021 10:23:52 +0000 (11:23 +0100)]
Tweak Qt6 detection
Don't try in turn every possible qmake candidate but directly
use the correct one.
Richard Kimberly Heck [Fri, 26 Mar 2021 17:58:28 +0000 (13:58 -0400)]
Revert "By default, use an argument's menu string as its label string."
Committed by accident.
This reverts commit
affd6101bddb3afebad05e16f36e771c04b7b8e3 .
Richard Kimberly Heck [Thu, 25 Mar 2021 21:42:09 +0000 (17:42 -0400)]
Change "Local Layout" button to "Local Class".
This is for choosing a local document class/layout file. The tooltip
uses the 'class' language already, and "Local Layout" conflicts with
the way that term is used elsewhere in the dialog.
Richard Kimberly Heck [Mon, 15 Mar 2021 22:25:39 +0000 (18:25 -0400)]
By default, use an argument's menu string as its label string.
If one wants different label strings, then provide those first.
Richard Kimberly Heck [Mon, 15 Mar 2021 22:21:51 +0000 (18:21 -0400)]
Move the information about arguments into its own section, since these are now used both with styles and inset layouts.
Jean-Marc Lasgouttes [Fri, 26 Mar 2021 16:49:38 +0000 (17:49 +0100)]
Produce an error on bad debug level values
Add new funciton Debug::badValue, that returns the first bad value in a debug
setting string.
Use it to parse the -dbg comand line option and to control the
execution of the debug-level-set lfun.
Use range-based loops in a few places.
Jean-Marc Lasgouttes [Fri, 26 Mar 2021 13:19:07 +0000 (14:19 +0100)]
Fixup
4671214f : add comment
Kornel Benko [Fri, 26 Mar 2021 12:09:32 +0000 (13:09 +0100)]
Cmake build with qt6 on MAC
Patch from P. De Visschere
Citing:
I also must exclude the QMacPasteboardMimeGraphics class in
GuiApplication.cpp since QMacPasteboard is not available anymore with qt6.
and add an #include <QStandardPaths> in support/Package.cpp (I suppose
this will pose no problem for qt5 but have not checked it, it's only
needed with USE_MACOSX_PACKAGING)
Daniel Ramoeller [Fri, 12 Mar 2021 18:19:51 +0000 (19:19 +0100)]
Keep caret visible when small
Fix for ticket #12190.
Kornel Benko [Thu, 25 Mar 2021 16:29:24 +0000 (17:29 +0100)]
Cmake bqt6 build: Ignore missing Qt6MacExtras
Jean-Marc Lasgouttes [Thu, 25 Mar 2021 09:52:21 +0000 (10:52 +0100)]
Set explicitly outer font when inserting text inset.
Now it is possible to set this font directly instead of relying on
metrics() side effects. Do that to avoid crashes due to bad
interactions.
This implements the new scheme that was mentionned in
5a58ca65 .
Fixes bug #12204.
Thibaut Cuvelier [Wed, 24 Mar 2021 21:14:51 +0000 (22:14 +0100)]
DocBook: improve doc for MathML prefix.
Jean-Marc Lasgouttes [Wed, 24 Mar 2021 19:25:50 +0000 (20:25 +0100)]
Move code responsible to set TextMetrics outer font to InsetText
This code was previously in InsetCollapsible for no good reason.
Move it to a new function InsetText::setOuterFont, which can now be
called for other purposes.
Part of investigation of bug #12204.
Jean-Marc Lasgouttes [Wed, 24 Mar 2021 19:00:51 +0000 (20:00 +0100)]
Move getFont and getLabelFont from InsetCollapsible to Inset
Also move around getLayout and isPassThru.
Part of investigation of bug #12204.
Richard Kimberly Heck [Wed, 24 Mar 2021 17:50:43 +0000 (13:50 -0400)]
Fix bug #12261. From Daniel.
Scott Kostyshak [Wed, 24 Mar 2021 17:07:17 +0000 (13:07 -0400)]
Update tex2lyx tests
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.
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.
Kornel Benko [Wed, 24 Mar 2021 10:42:39 +0000 (11:42 +0100)]
Cmake build Qt6: Remove some redundant statements.
Thibaut Cuvelier [Tue, 23 Mar 2021 22:32:36 +0000 (23:32 +0100)]
Make the latest FORMAT entry more detailed.
Thibaut Cuvelier [Tue, 23 Mar 2021 21:32:03 +0000 (22:32 +0100)]
DocBook: add some documentation in Additional.
Thibaut Cuvelier [Tue, 23 Mar 2021 20:28:44 +0000 (21:28 +0100)]
Improve tool tip for the new DocBook MathML-prefix option.
Pavel Sanda [Tue, 23 Mar 2021 20:23:57 +0000 (21:23 +0100)]
* FORMAT
Pavel Sanda [Tue, 23 Mar 2021 20:19:56 +0000 (21:19 +0100)]
* FORMAT
Thibaut Cuvelier [Tue, 23 Mar 2021 20:12:34 +0000 (21:12 +0100)]
Amend
0f782b0d : add the required changes to lyx2lyx.
Richard Kimberly Heck [Tue, 23 Mar 2021 15:28:38 +0000 (11:28 -0400)]
Fix note about resumed enumerations
Richard Kimberly Heck [Tue, 23 Mar 2021 14:53:54 +0000 (10:53 -0400)]
Remove empty section, re-organize.
Thibaut Cuvelier [Mon, 22 Mar 2021 23:32:36 +0000 (00:32 +0100)]
DocBook: add the MathML-namespace prefix in the GUI.
Thibaut Cuvelier [Mon, 22 Mar 2021 23:08:50 +0000 (00:08 +0100)]
DocBook: add a parameter to change the namespace prefix for MathML.
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.
Enrico Forestieri [Sun, 21 Mar 2021 16:15:08 +0000 (17:15 +0100)]
Fix Qt6 deprecation warning about QString::fromUcs4
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 .
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
Juergen Spitzmueller [Sun, 21 Mar 2021 11:38:47 +0000 (12:38 +0100)]
Fix Qt6 deprecation warning (QString::fromUcs4(uint))
Juergen Spitzmueller [Sun, 21 Mar 2021 11:38:05 +0000 (12:38 +0100)]
Fix Qt6 deprecation warning (QMouseEvent::x() ::y())
Juergen Spitzmueller [Sun, 21 Mar 2021 11:37:17 +0000 (12:37 +0100)]
Fix Qt6 deprecation warning (QEvent::globalPos())
Juergen Spitzmueller [Sun, 21 Mar 2021 11:30:34 +0000 (12:30 +0100)]
Address Qt6 deprecation warning (QLibraryInfo::location())
Juergen Spitzmueller [Sun, 21 Mar 2021 11:30:01 +0000 (12:30 +0100)]
Fix unused variable warning with Qt6
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.
Eugene Chornyi [Sun, 21 Mar 2021 08:59:23 +0000 (09:59 +0100)]
Make all a synonym of any in cmd debug mode
Kornel Benko [Sat, 20 Mar 2021 09:27:24 +0000 (10:27 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 20 Mar 2021 08:59:38 +0000 (09:59 +0100)]
de.po
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
Pavel Sanda [Wed, 17 Mar 2021 20:58:13 +0000 (21:58 +0100)]
* RELEASE-NOTES
Pavel Sanda [Wed, 17 Mar 2021 20:51:01 +0000 (21:51 +0100)]
Allow bundled saxon not to be installed.
Enrico Forestieri [Wed, 17 Mar 2021 09:17:10 +0000 (10:17 +0100)]
Fix latex syntax highlighting with Qt6
Enrico Forestieri [Wed, 17 Mar 2021 07:59:04 +0000 (08:59 +0100)]
Fix copy&paste error
Pavel Sanda [Tue, 16 Mar 2021 22:14:19 +0000 (23:14 +0100)]
Allow bundled saxon not to be installed.
Pavel Sanda [Tue, 16 Mar 2021 08:39:05 +0000 (09:39 +0100)]
Qt4 compil fix
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.
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.
Juergen Spitzmueller [Sun, 14 Mar 2021 15:48:04 +0000 (16:48 +0100)]
Amend [
1bf53d47a5b8 /lyxgit]
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)
Juergen Spitzmueller [Sun, 14 Mar 2021 11:03:42 +0000 (12:03 +0100)]
Toom value: back to QLabel, this time with custom context menu
Kornel Benko [Sun, 14 Mar 2021 09:17:58 +0000 (10:17 +0100)]
Cmake debian packaging: use correct section (instead of "devel")
Juergen Spitzmueller [Sun, 14 Mar 2021 08:42:28 +0000 (09:42 +0100)]
Properly set minimum width with QToolButton
Juergen Spitzmueller [Sat, 13 Mar 2021 11:17:31 +0000 (12:17 +0100)]
Fix indentation
Juergen Spitzmueller [Fri, 12 Mar 2021 16:42:56 +0000 (17:42 +0100)]
Fix ct in table cell pasting
Juergen Spitzmueller [Fri, 12 Mar 2021 16:41:43 +0000 (17:41 +0100)]
Fix copy of multi-cells in table (#12196)
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.
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
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
Juergen Spitzmueller [Fri, 12 Mar 2021 14:54:30 +0000 (15:54 +0100)]
dt2dv.c: avoid compiler warnings
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)
Juergen Spitzmueller [Fri, 12 Mar 2021 09:54:46 +0000 (10:54 +0100)]
Add forgotten parent
Juergen Spitzmueller [Fri, 12 Mar 2021 09:51:10 +0000 (10:51 +0100)]
de.po
Juergen Spitzmueller [Fri, 12 Mar 2021 09:32:03 +0000 (10:32 +0100)]
Fix deprecation warning (from|toTime_t)
Juergen Spitzmueller [Fri, 12 Mar 2021 09:10:33 +0000 (10:10 +0100)]
Address another deprecation warning.
One left to go.
Juergen Spitzmueller [Thu, 11 Mar 2021 18:06:03 +0000 (19:06 +0100)]
Fix deprecation warning
Juergen Spitzmueller [Thu, 11 Mar 2021 17:41:02 +0000 (18:41 +0100)]
Add option to toggle zoom slider to zoom statusbar menu
Daniel Ramoeller [Mon, 8 Mar 2021 05:38:33 +0000 (06:38 +0100)]
Option to hide the zoom slider
Fix for bug #12187.
Kornel Benko [Thu, 11 Mar 2021 17:41:17 +0000 (18:41 +0100)]
Update sk.po
Juergen Spitzmueller [Thu, 11 Mar 2021 17:14:46 +0000 (18:14 +0100)]
Add menu to statusbar zoom value
Juergen Spitzmueller [Thu, 11 Mar 2021 16:22:57 +0000 (17:22 +0100)]
Do not scale statusbar icons
This leads to stretched icons.
Juergen Spitzmueller [Thu, 11 Mar 2021 15:32:22 +0000 (16:32 +0100)]
Remove zoom slider ticks
This doesn't align well
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.
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.
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.
Jean-Marc Lasgouttes [Wed, 10 Mar 2021 09:42:15 +0000 (10:42 +0100)]
Constification
Jean-Marc Lasgouttes [Wed, 10 Mar 2021 09:41:49 +0000 (10:41 +0100)]
Code reformatting.
jpc [Tue, 9 Mar 2021 17:30:33 +0000 (18:30 +0100)]
Update fr.po
Jean-Marc Lasgouttes [Tue, 9 Mar 2021 15:46:05 +0000 (16:46 +0100)]
Constify some Paragraph::Private methods
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?).
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 .
Juergen Spitzmueller [Tue, 9 Mar 2021 13:23:13 +0000 (14:23 +0100)]
Attempt to align slider and buttons in a widget
Juergen Spitzmueller [Tue, 9 Mar 2021 12:03:33 +0000 (13:03 +0100)]
Fix cut and paste error
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.
Juergen Spitzmueller [Tue, 9 Mar 2021 09:10:48 +0000 (10:10 +0100)]
Use real minus char
Juergen Spitzmueller [Tue, 9 Mar 2021 07:42:27 +0000 (08:42 +0100)]
Add +/- buttons to zoom slider
Daniel Ramoeller [Mon, 8 Mar 2021 19:43:03 +0000 (20:43 +0100)]
Smaller zoom slider on macOS
Fix for #12189.
Stephan Witt [Mon, 8 Mar 2021 20:26:58 +0000 (21:26 +0100)]
Amend change
07122f066b - correct string access.
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.
Juergen Spitzmueller [Mon, 8 Mar 2021 06:33:37 +0000 (07:33 +0100)]
Keep zoom label width constant (#12186)
Juergen Spitzmueller [Sun, 7 Mar 2021 18:15:57 +0000 (19:15 +0100)]
Disable zoom slider when there is no buffer open (#12185)
Juergen Spitzmueller [Sun, 7 Mar 2021 17:35:40 +0000 (18:35 +0100)]
Update zoom display after zoom has been set
Juergen Spitzmueller [Sun, 7 Mar 2021 17:23:07 +0000 (18:23 +0100)]
Add way to remove items from document dictionary
Stephan Witt [Sun, 7 Mar 2021 16:46:01 +0000 (17:46 +0100)]
Refactoring: move check for match in spellignore() to buffer params.
Juergen Spitzmueller [Sun, 7 Mar 2021 16:25:31 +0000 (17:25 +0100)]
Fix per-document dictionary with Mac
Juergen Spitzmueller [Sun, 7 Mar 2021 16:21:52 +0000 (17:21 +0100)]
Show zoom value in statusbar