Commit Graph

39441 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
08195c1d95 Fix potential crash with 32bit ucs4 codepoints
QChar codepoints are 16 bit, so it is not wise to pass blindly a
char_type value to the QChar constructor.

Use the already defined isSpace() helper tht takes care of this issue.

Related to #12519, which is only known to bite with Qt6 for now; this
bug is thus theoretical in 2.3.
2022-11-24 01:18:54 +01:00
Pavel Sanda
52ea367982 Qt4 compilable again 2022-11-23 23:41:22 +01:00
Pavel Sanda
94378dde3c Fix postats.py for branch strings. 2022-11-23 22:56:00 +01:00
Pavel Sanda
7da6214704 * cs.po 2022-11-23 22:14:33 +01:00
Pavel Sanda
272f1f94e2 Remerge strings 2.3.7 2022-11-23 21:33:24 +01:00
Pavel Sanda
d0dc349f61 * cs.po 2022-11-23 21:03:29 +01:00
Jean-Marc Lasgouttes
c203a842fc Set a maximum value to zoom level
The minimal vamue is set to 10%, let's set the max to 1000%. This
avoids crashes when characters are too large.

The code is refactored to be more compact and the tests are more precise.

Fixes bug #12452.

(cherry picked from commit 5259b6ba62)
2022-11-23 18:51:53 +01:00
Pavel Sanda
c8b0b15912 * status.23x 2022-11-23 13:46:20 +01:00
Pavel Sanda
c52a62dc53 status.23x: updates vs bug fixes 2022-11-23 13:38:09 +01:00
Pavel Sanda
758a9603cc Add missing status.23x entries from latest backports. 2022-11-23 13:33:29 +01:00
Juergen Spitzmueller
cd37ddc52c Fix crash when using Hebrew (bug 12464) 2022-11-23 12:28:59 +01:00
Juergen Spitzmueller
693112b3c2 Handle LFUN_FONT_DEFAULT is InsetTabular::Dispatch (fixes #12566) 2022-11-23 12:22:54 +01:00
Jean-Marc Lasgouttes
ca259d7529 Set current cursor font when toggling emphasize
The change actually works for all font toggling with implicit selection.

Fixes bug #12450.

(cherry picked from commit d44c63e2c6)
2022-11-22 21:30:03 -05:00
Richard Kimberly Heck
4af43b6d52 Fix #12524. From Enrico. 2022-11-22 21:28:14 -05:00
Jean-Marc Lasgouttes
e7f9554f39 Preview: do not overwrite fg/bg color names that beamer uses
Rename them to lyxfg/lyxbg

Fixes bug #12563.

(cherry picked from commit a20477993b)
2022-11-22 21:26:18 -05:00
Richard Kimberly Heck
f2d901fb4f Fix #12311 as described there. 2022-11-22 21:25:11 -05:00
Jean-Marc Lasgouttes
75108675ba Make rectangles have pointy corners
This only makes a difference in HiDpi mode.

Adaptation of the patch proposed by Daniel.

Fix for bug #12336.

(cherry picked from commit 3cdfb42cce)
2022-11-22 21:22:13 -05:00
Juergen Spitzmueller
e9a5dd741e Only load subscript package with LaTeX < 2005/12/01 (#12387)
(cherry picked from commit d4d4654d63)
2022-11-22 21:19:53 -05:00
Juergen Spitzmueller
c9414213bc Support 0x019b via tipa (#12426)
(cherry picked from commit ea475c0ce6)
2022-11-22 21:19:03 -05:00
Richard Kimberly Heck
caf8708e5f Backport fix for #11223. From Enrico. 2022-11-22 21:16:40 -05:00
Jean-Marc Lasgouttes
483d4466fd Fixup 7485225c: better placement of deph bar
Fixes #12243.

(cherry picked from commit a64244b844)
2022-11-22 21:13:12 -05:00
Juergen Spitzmueller
cfd3abbdb0 Fix TOC filtering with slashes (#12359)
Seems the * wildcard does not match these.
2022-11-22 21:05:22 -05:00
Richard Kimberly Heck
b4ff3fb287 Backport fix for #11491. From Enrico. 2022-11-22 21:04:29 -05:00
Richard Kimberly Heck
5290f96e1e Add a couple files to gitignore 2022-11-22 21:02:10 -05:00
Richard Kimberly Heck
4f8152b7f5 Fix bug #12369 2022-11-22 20:57:45 -05:00
Jean-Marc Lasgouttes
cac50fec00 Qt5 is now the default with configure 2022-11-17 15:10:21 +01:00
Kornel Benko
22e78cae81 Adapt to change of AC_INIT in configure.ac.
Amends 2849127f44, missed it at that time
2022-11-15 14:38:56 +01:00
Pavel Sanda
ce6e803cbd update cs.po 2022-11-15 13:57:48 +01:00
Pavel Sanda
4beee3bcf7 remerge cs.po 2022-11-15 13:55:52 +01:00
Jean-Marc Lasgouttes
6e9a0acdae document recent changes 2022-11-09 10:26:10 +01:00
Jean-Marc Lasgouttes
97dd1c4702 gcc 12 compilation fixes 2022-11-08 23:59:58 +01:00
Jean-Marc Lasgouttes
9fc89762ee Fix configure script with autoconf 2.71
Not a backport, but related to e4416535.
2022-11-08 23:59:58 +01:00
Jean-Marc Lasgouttes
2849127f44 Run autoupdate to remove many warnings
Autoconf 2.71 now show all warnings. Instead of cherry picking the 2.4
patch, the choice was made to apply autoupdate directly.

Additionally, AC_INIT now clearly indicates that automake >= 1.14 is required.
2022-11-08 23:59:58 +01:00
Pavel Sanda
b65c5480e8 * cs.po 2022-09-07 20:23:01 +02:00
jpc
5c47048047 Update fr.po 2022-04-05 09:14:48 +02:00
Stephan Witt
c22119eb1c Use real path names for buffer lookup by name of temporary external files.
In case of path names for external files containing symbolic links the real path
and the logical path name may be different for the same file or directory.
LyX is using QDir::tempPath() to create the path name of the temporary directory.
The Qt implementation is free to return the logical or the real path name here and
it happens to be different for various platforms and versions.
The most stable and clean solution is to use the real path name consistently.

(cherry picked from commit f2f861f017)
2022-02-20 14:18:26 +01:00
jpc
a12f66d7bc Update fr.po 2022-02-14 11:18:43 +01:00
Jean-Marc Lasgouttes
1def11d296 Add lyxrc option to force the use of backing store
LyX relies on a a backing store to draw when running under macOS or
Wayland, because Qt arbitrarily overwrites parts of the workarea
before we paint (and we paint only the parts that need to be painted).
However it seems that this is also necessary on X11 when the WM theme
is translucid. Since there is no way that I know of to detect this
situation, this patch adds a LyXRC setting to manually select this
drawing strategy.

Note that using a backing store is not always a good solution, since
this disables subpixel aliasing.

At this point there is no UI for the variable.

Fixes bug #12119

(cherry picked from commit c213eb7f75)
(cherry picked from commit 1ed9257c6d)
2022-01-13 17:24:28 +01:00
Stephan Witt
4455585608 #12150 don't set the directory file permissions of LyX app bundle to 444 anymore
(cherry picked from commit c38e759b28)

plus status entry
2021-10-31 10:39:27 +01:00
Stephan Witt
8b7c1d7800 #12247 disable Qt5 modifier hack for Qt-5.12 version or newer
backport of commit c5262f04a2
2021-10-31 10:35:15 +01:00
jpc
88944acf99 Update fr.po 2021-10-25 10:42:32 +02:00
Stephan Witt
dd18429aaa #11925 Remove the gap between button frame and button background (by Daniel Ramoeller)
(cherry picked from commit 3d616bfc79)
2021-10-21 22:10:24 +02:00
Juergen Spitzmueller
6a6cd13e64 de.po 2021-10-21 17:01:40 +02:00
Kornel Benko
145dc3149f Update sk.po 2021-10-21 16:42:42 +02:00
Pavel Sanda
1c93e3e695 backport 6770fe5f38 2021-10-21 16:02:56 +02:00
Pavel Sanda
c2a9f55be8 Improve error msg. 2021-10-21 15:17:39 +02:00
Pavel Sanda
202fd4a9f6 * cs.po 2021-10-21 15:16:59 +02:00
Pavel Sanda
66d2734292 Remerge cs.po 2021-10-21 15:15:49 +02:00
jpc
2de7e8dcc1 Update fr.po 2021-10-19 11:27:45 +02:00
Kornel Benko
c14c254e6b Update sk.po 2021-10-18 10:39:21 +02:00