Commit Graph

46706 Commits

Author SHA1 Message Date
Richard Kimberly Heck
55f6f6365a Begin 2.4.3 development 2024-09-21 13:26:34 -04:00
Kornel Benko
0ffcfd9c7b Update sk.po 2024-09-19 18:39:37 +02:00
Richard Kimberly Heck
e349194c38 Remerge strings. 2024-09-19 11:06:22 -04:00
Richard Kimberly Heck
89ed9ab0c2 Prepare for 2.4.2 2024-09-19 11:05:58 -04:00
Juergen Spitzmueller
5cb9b55162 Fix outliner tree depth (#13098) 2024-09-19 11:00:01 -04:00
Juergen Spitzmueller
0a2e65c0e1 Do not output empty statement in lyx2lyx reversion 2024-09-17 18:26:55 +02:00
Jean-Marc Lasgouttes
2c5f284f89 Initialize client's name in main()
Initializing clientName at declaration time is not a good idea.

Spotted by Coverity scan.

(cherry picked from commit 3d323412ad)
2024-09-10 12:02:32 +02:00
Jean-Marc Lasgouttes
615f035854 Do not forget to reset stream after std::hex
Spotted by Coverity scan.

(cherry picked from commit f4c02d670b)
2024-09-10 11:59:22 +02:00
Juergen Spitzmueller
a7e8397a84 adapt tex2lyx to 0beb790a6a
(cherry picked from commit f725abea05)
2024-09-09 18:11:08 -04:00
Juergen Spitzmueller
fb5782b62a Handle space issue with refstyle more downstream
It is not necessarily, and infers with some usages, to generally escape
spaces in labels and references

(cherry picked from commit 0beb790a6a)
2024-09-09 18:05:10 -04:00
Juergen Spitzmueller
16281b4cf1 Fix indentation
(cherry picked from commit bfd855747a)
2024-09-09 18:04:59 -04:00
Pavel Sanda
806a67c75b * postats.py 2024-09-06 23:07:39 +02:00
Pavel Sanda
f0b7066f9b * cs.po 2024-09-06 22:51:48 +02:00
jpc
4792d6c75d Solve shortcut conflict in fr.po 2024-09-06 17:57:39 +02:00
jpc
2380c2c911 Update fr.po after pocheck 2024-09-06 15:59:50 +02:00
Richard Kimberly Heck
639563febc Update to simplified Chinese translation. 2024-09-04 21:36:18 -04:00
Jean-Marc Lasgouttes
4d46f766ea Avoid missing updates after some operations on selection
The logic at the end of Text::dispatch failed when needsUpdate and
singleParUpdate were true at the same time.
2024-08-31 16:12:59 +02:00
Jean-Marc Lasgouttes
5ca48a7a39 Fix update of cursor in tab-delete when there is a selection
The position of the cursor should not be decreased if it is already at
the start of the paragraph. This can lead to a crash when trying to
display the caret.

(cherry picked from commit 16be88ca18)
2024-08-31 16:12:59 +02:00
Jean-Marc Lasgouttes
d7e2ca377f Get rid of QPA_XCB define
Since the platform is selected at run time (e.g. xcb vs. Wayland), it
is not a good idea to decide at compile time what code is run. Another
example is on macOS, where having xcb libraries available will lead to
lauching the Xquartz whenever LyX is running.

With this patch, things are separated:
- the code is run when run-time platform is "xcb".
- the support code is compiled in when xcb header and libraries are
  available.

The cmake code is courtesy of Kornel Benko.

Fixes ticket #13086.

(cherry picked from commit 18c310a8cf)
(cherry picked from commit f1fddd86ef)
(cherry picked from commit 3bc4554e57)
(cherry picked from commit 8c14748e78)
2024-08-31 15:07:29 +02:00
Jean-Marc Lasgouttes
390f458122 Streamline -geometry command-line option support
Instead of baking our own support for -geometry command line option on
Windows (Qt only does that for Xcb), use the fact that Qt 5 provides
the equivalent -qwindowgeometry flag.

All we need to do is to replace the -geometry option with -qwindowgeometry.

This is part of the effort in ticket #13086 to get rid of the
compile-time QPA_XCB define.

(cherry picked from commit ce9de28f06)
2024-08-31 15:05:34 +02:00
Jean-Marc Lasgouttes
76ef192214 Fixup e2cf6731: fix thinko
The current buffer is part of allRelatives(), contrary to what I
thought. Therefore updateId() increased the buffer id by two.

(cherry picked from commit 2eb4e3d3ca)
2024-08-30 15:10:22 +02:00
Jean-Marc Lasgouttes
e2cf6731c0 Do not run updateMacros if the buffer has not changed
Each buffer now has an id which is increased when it is marked dirty
(or when one of its relatives is marked dirty).

This can be a big win since updateMacros is very expensive.

(cherry picked from commit 999fb37ebb)
(cherry picked from commit fe1a3b57df)
2024-08-30 11:11:10 +02:00
Koji Yokota
63165a95d5 update ja.po file 2024-08-28 23:39:03 +09:00
Richard Kimberly Heck
a8bc9c84eb Portuguese Brazilian update from Georger 2024-08-27 11:45:26 -04:00
Jean-Marc Lasgouttes
f06de64047 Force a metrics update of buffer after reload
It makes reload more robust and is in any case good enough to avoid
crash in #139091.

Fixes bug #13091.

(cherry picked from commit 52ec69a1af)
2024-08-27 14:07:51 +02:00
José Matos
f95e238ccd Python 3.13 removed the pipes module from the standard library
That module was a wrapper over the popen module and it was scheduled to
be removed in Python 3.11.

This code is also compatible with Python 2.

(cherry picked from commit d06a034578)
2024-08-27 08:50:11 +01:00
Enrico Forestieri
fd9f09e517 Update it.po 2024-08-25 23:38:11 +02:00
Juergen Spitzmueller
53ae96fb0b Assure OK/Apply button is initially disabled in InsetParamsDialogs (#8927)
(cherry picked from commit a2629b8eab)
2024-08-25 12:42:33 -04:00
Kornel Benko
16f8084536 Update sk.po 2024-08-25 11:31:14 +02:00
Pavel Sanda
940a58fa80 Update zh_CN.po from Jiaxu Zi 2024-08-24 19:48:29 +02:00
Pavel Sanda
83795d303b Fix branch name for the web 2024-08-23 21:37:38 +02:00
Pavel Sanda
f39711ee93 * postats.py description 2024-08-23 21:37:17 +02:00
Richard Kimberly Heck
b7e494bca8 Remerge strings. 2024-08-22 21:08:44 -04:00
jpc
df6fc4a6f8 Update fr.po before 2.4.2 2024-08-21 17:54:59 +02:00
Richard Kimberly Heck
a02c2f2f80 Begin preps for 2.4.2 2024-08-21 11:28:20 -04:00
Richard Kimberly Heck
4453ae8e97 Begin preps for 2.4.2 2024-08-21 11:26:30 -04:00
Richard Kimberly Heck
46f2fd1a74 Replace lyx2lyx code with native solution 2024-08-21 11:14:59 -04:00
Koji Yokota
0562b13743 Fix wrong preedit cursor position in Qt5 2024-08-20 21:11:15 +09:00
Kornel Benko
20548fbd0c Update sk.po, sk.gmo 2024-08-20 12:47:44 +02:00
Pavel Sanda
3a68177562 Fix regression introduced via #12819.
Cherry-pick e322ef153.
2024-08-20 09:32:03 +02:00
Koji Yokota
c1bfa93f1f Update ja.po 2024-08-19 11:05:10 +09:00
Enrico Forestieri
e4ed568921 Update status.24x 2024-08-18 23:00:02 +02:00
Enrico Forestieri
0237398a59 Update it.po 2024-08-18 22:56:29 +02:00
Juergen Spitzmueller
51d9776df3 de.po 2024-08-18 18:43:16 +02:00
Juergen Spitzmueller
7955854269 Document recent commits 2024-08-18 18:34:29 +02:00
Juergen Spitzmueller
a46fb46633 Improve output pane, as discussed in #12372
* The image scale param is shared by XHTML and DocBook
* It does not only apply to math
* Get rid of redundant group headers (#12902)

(cherry picked from commit 1429552063)
2024-08-18 18:32:03 +02:00
Juergen Spitzmueller
b21f104b37 Add "needcopiesfrom" converter flag
This is needed to provide ePub and other DocBook-based exports with
the right (renamed) images (fixes #12372)

(cherry picked from commit 03c5842006)
2024-08-18 18:29:22 +02:00
Kornel Benko
f8b18714c4 Update sk.po, sk.gmo 2024-08-18 13:09:26 +02:00
Pavel Sanda
3f31c8994c * cs.po 2024-08-18 12:07:24 +02:00
Juergen Spitzmueller
f179759b67 de.po 2024-08-18 09:20:56 +02:00