Commit Graph

45440 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
e2e1fd6ea9 QDesktopWidget is not required in Qt5, the Qt6 code works 2023-03-05 21:54:08 +01:00
Jean-Marc Lasgouttes
9156843ec2 QWidget::setContentsMargins is supported in Qt5 2023-03-05 21:37:01 +01:00
Jean-Marc Lasgouttes
7d78078838 When a displayed inset is aligned left, align it left
The use of LYX_ALIGN_BLOCK was a mistake.

Fixes bug #12683.
2023-03-05 20:59:35 +01:00
Kornel Benko
8cc13656cd Update sk.po 2023-03-05 14:59:00 +01:00
Pavel Sanda
bad9e2285c * cs/Tutorial.lyx 2023-03-03 21:17:45 +01:00
Pavel Sanda
30bf26fe04 * cs.po 2023-03-03 21:17:21 +01:00
jpc
2cdb7c3efa Translation of the safety nets section, step 1 2023-03-03 18:28:10 +01:00
jpc
d6fa4ae324 Update fr.po 2023-03-03 17:51:08 +01:00
Jean-Marc Lasgouttes
f7de345f85 Avoid row breaking at inconvenient places.
The test that was used to avoid breaking a string that was followed
by a too long element was not correct (especially the part that
compared with total row width).

Typical example here is:
- a word with a part that has a font change like /un/breakable;
- a longish sentence after it.

Use a new test that is good enough for this particular case, although
with sortcomings. I do not want to overcomplicate and prefer to wait
for other complaints (this code is already more complicated that I
would like).

Document known shortcoming.

Fix ticket #12660.
2023-03-03 17:24:06 +01:00
Jean-Marc Lasgouttes
c90ea03884 Remove traces of QtCore5Compat in autoconf script
Other instances remain in :
CMakeList.txt
INSTALL.Win32
development/LyX-Mac-binary-release.sh
development/Win32/packaging/installer/src/main.nsh
src/CMakeLists.txt
src/client/CMakeLists.txt
src/support/tests/CMakeLists.txt
src/tests/CMakeLists.txt
src/tex2lyx/CMakeLists.txt
2023-03-03 17:23:13 +01:00
Juergen Spitzmueller
2d1350bf57 de.po 2023-03-03 15:03:17 +01:00
Juergen Spitzmueller
e6966647fd Fix intitle context checking for info insets 2023-03-03 14:54:52 +01:00
Juergen Spitzmueller
739905862f Address deprecation
See https://doc.qt.io/qt-6/qbytearray-obsolete.html
2023-03-03 11:37:39 +01:00
Jean-Marc Lasgouttes
309f8f4b40 Remove two remaining snippets from the QRegExp era. 2023-03-03 11:17:58 +01:00
Kornel Benko
6251afec70 Amend 263da2fa and 88c1ed9e for CMake-build 2023-03-03 10:57:12 +01:00
Jean-Marc Lasgouttes
263da2fa20 Remove use of QRegExp
QRegexp has been replaced with QRegularExpression in Qt5. Now that we
have dropped support for Qt4, there is no need for keeping it around.
2023-03-03 10:49:32 +01:00
Jean-Marc Lasgouttes
88c1ed9e32 Remove dead code which is deprecated in Qt6 2023-03-03 10:48:51 +01:00
Pavel Sanda
06928c914f * SpellcheckerUi fix casing in tooltip 2023-03-03 10:45:46 +01:00
Jean-Marc Lasgouttes
00c39208ac At metrics time, store paragraph id too
Instead of actually fixing the messiness of InsetInfo, let's just fix
the symptom and avoid the access to Paragraph::id() that was crashing
LyX every time updateBuffer/validate/metrics/draw did not happen in
the right order.

Fixes bug #12639.
2023-03-03 10:34:18 +01:00
Pavel Sanda
190d2ba2c3 * doxy - correct whitespacing. 2023-03-02 22:03:09 +01:00
Pavel Sanda
0036b9673b * cs.po 2023-03-02 22:02:23 +01:00
Pavel Sanda
96eb65dc32 Spellcheck - more verbose tooltip. 2023-03-02 22:01:17 +01:00
Scott Kostyshak
ffe5d61bb2 ja docs: restore \font_typewriter to IPAGothic
It had been (accidentally, I think) set to default at 723d3703.

See 6656dd22 for why we set to IPAGothic.
2023-02-27 20:54:45 -05:00
Pavel Sanda
607e85e667 * cs.po 2023-02-27 22:33:08 +01:00
Juergen Spitzmueller
5cb8733660 trim trailing linebreak 2023-02-27 12:16:04 +01:00
Kornel Benko
3c88f7ef10 Update sk.po 2023-02-27 10:36:17 +01:00
Juergen Spitzmueller
fbe1b0ed70 de.po 2023-02-27 08:46:35 +01:00
Pavel Sanda
9bbec4a75a Fix #12678. 2023-02-26 22:30:17 +01:00
Pavel Sanda
9dee1572bb Fix casing.
Spotted by Juergen.
2023-02-26 19:51:48 +01:00
Kornel Benko
ce708535be Update sk.po 2023-02-26 11:24:21 +01:00
Pavel Sanda
16c5f03de0 * cs.po 2023-02-25 19:00:05 +01:00
Pavel Sanda
fb048aed49 remerge cs.po 2023-02-25 18:55:46 +01:00
Pavel Sanda
2b6ef1257a Infoinset - better specification of few strings 2023-02-25 18:52:31 +01:00
Juergen Spitzmueller
7da020a594 Remove zombie Acknowledgement theorem 2023-02-25 08:43:41 +01:00
Pavel Sanda
52d51fe433 lyxpaperview - fix redirection
Any time pdfviewer process write anything to stderr it's killed,
most probably due to not existing pipe to proper stderr file descriptor.
/dev/null redirection fixes the issue.
2023-02-24 20:44:37 +01:00
Pavel Sanda
17829ee513 lyxpaperview - don't wait for the process to finish 2023-02-24 20:26:35 +01:00
Pavel Sanda
723d3703fd Update ja manuals from Koji 2023-02-24 19:57:30 +01:00
Pavel Sanda
b4ed627ecc Fogotten case for replacing $$python.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219385.html
2023-02-24 19:44:37 +01:00
Pavel Sanda
ecd5751ece Update ja.po from Koji & remerge 2023-02-24 19:38:19 +01:00
Kornel Benko
b866d5fedf Update sk.po 2023-02-24 13:42:03 +01:00
Juergen Spitzmueller
29bdf518bc de.po 2023-02-23 15:30:25 +01:00
Pavel Sanda
d0fc501e21 * cs.po 2023-02-22 20:57:03 +01:00
Juergen Spitzmueller
c5e4043fa3 Warn user when OUTLINE_IN/OUT is about to flatten the structure (#11178) 2023-02-22 17:31:32 +01:00
Scott Kostyshak
83af3dfd29 Fix equation numbers after row operation (#12665)
After removing/adding rows, the corresponding equation numbers in
the LyX display were not updated (although if you clicked outside
the math inset they were).

Now they are updated immediately after the operation.
2023-02-22 11:12:56 -05:00
Juergen Spitzmueller
8fd1aaa46e Fix another old outliner bug (#9375)
Parts, chapters and sections have different LabelTypes, but this does
not mean they cannot be transformed into each other while doing
OUTLINE_IN/OUT

Not sure why the labeltype check is here anyway, but let's keep it.
2023-02-22 16:33:37 +01:00
Juergen Spitzmueller
41d95a45d9 Properly reset tree depth in outliner with keep when outliner is re-filled
Fixes a 13 year old bug (#6675)
2023-02-22 15:24:15 +01:00
Juergen Spitzmueller
08fc56486e Whitespace 2023-02-22 14:53:25 +01:00
Juergen Spitzmueller
ceb03b1815 Amend 4cd568d312 2023-02-22 14:35:53 +01:00
Juergen Spitzmueller
4cd568d312 Do not change outliner tree depth when not appropriate
This fixes expansion/collapsing on double-click (#12672)
2023-02-22 14:23:04 +01:00
Kornel Benko
6e35cae618 Update sk.po 2023-02-22 12:19:31 +01:00