Commit Graph

39551 Commits

Author SHA1 Message Date
Pavel Sanda
abb3354afa backport 2882bed1a 2024-07-16 09:34:26 +02:00
Richard Kimberly Heck
8750ae62a0 Fix bad escapes 2024-05-21 11:31:37 -04:00
Kornel Benko
de521e9ab5 Update sk.po 2024-05-18 19:19:47 +02:00
Juergen Spitzmueller
a6d3c1e690 Fake CJK quotes also for utf8 inputenc
The glyphs are not covered yet.

(cherry picked from commit 9644916d32)
2024-05-09 16:23:42 +02:00
Stephan Witt
ddc29fbdbf Correct copy of hunspell dictionary to bundle with internal hunspell w/o framework 2024-05-07 13:05:03 +02:00
Richard Kimberly Heck
3ddb4c5389 Remove python warning 2024-05-06 21:35:00 -04:00
Richard Kimberly Heck
91c3a3b11e Add 2.4.x converter 2024-05-02 11:21:01 -04:00
Richard Kimberly Heck
303f4db127 New ANNOUNCE file 2024-05-02 11:06:56 -04:00
Richard Kimberly Heck
a5c328b304 Add lyx2lyx tools from 2.4.x 2024-05-02 11:02:01 -04:00
Richard Kimberly Heck
ee25620931 Remerge strings. 2024-05-02 10:57:43 -04:00
Richard Kimberly Heck
3dee23044a Prepare for 2.3.8 2024-05-02 10:57:07 -04:00
Eugene Chornyi
378db92cd3 fix unary_function compile error on Windows 2024-05-01 21:21:21 +02:00
Juergen Spitzmueller
6f65cbdce2 Update lilypond converter settings (#12618)
As of v. 2.23.12, the safe mode is no longer supported and results in
error.

We thus remove the -safe flags from the converter and use our own
needauth flag instead.
2024-04-21 11:43:41 +02:00
Richard Kimberly Heck
fe6cc89c54 Status 2024-04-18 18:40:34 -04:00
Pavel Sanda
d04c406222 Hide multi-keystroke accelerators in Mac menu (bug 12693).
Patch from Juergen.

(cherry picked from commit fb43449c80)
2024-04-18 18:35:54 -04:00
Pavel Sanda
27ef57096c Revert update of pt_BR.po (the update was meant to go to 2.4, not 2.3) 2024-04-13 03:18:30 +02:00
Pavel Sanda
5835705cdc * cs.po - fix encoding 2024-04-13 03:15:13 +02:00
Richard Kimberly Heck
98f79b4e96 Update GMO files 2024-04-12 15:59:37 -04:00
Richard Kimberly Heck
a019419ef1 Update Brazilian Portuguese. 2024-04-12 15:59:17 -04:00
Enrico Forestieri
5aa404fb34 Update it.po 2024-04-06 22:53:52 +02:00
Pavel Sanda
d6731b86a6 * cs.po 2024-04-05 08:27:45 +02:00
Richard Kimberly Heck
b360b9ebf7 Update update-po.sh script 2024-04-04 17:09:16 -04:00
Richard Kimberly Heck
2f4fd84085 Remerge strings. 2024-04-04 16:40:51 -04:00
Jean-Marc Lasgouttes
0f583c11ea Typo in doc
Thanks to Peter J. Puchyr for noticing it.
2024-03-25 22:35:09 +01:00
Daniel Ramoeller
58acfdf086 Fix Disable Editing "Lock" icon protrudes into tab title on macOS
On macOS the Disable Editing "Lock" icon protrudes into tab title

Also, since the close button is on the left, the lock is better positioned on the right.

The detour via QIcon is to avoid a pixelated pixmap (because in LyX pixmaps don't adjust by default to the device's pixel ratio correctly).

Also

Fix for bug #12160.

(cherry picked from commit fde432493d)
2024-03-16 19:46:49 +01:00
Richard Kimberly Heck
f45c3e032a Update GMO files 2024-02-11 14:19:24 -05:00
Richard Kimberly Heck
567b78da79 New Ukranian translation from Yuri 2024-02-11 14:19:04 -05:00
Jean-Marc Lasgouttes
29f2a7ed66 Do not error out with too new autoconf/automake
The tests are not useful, since the configure.ac file checks for
minimal version anyway.

(cherry picked from commit 510b2cfd64)
2024-02-05 22:55:32 +01:00
Richard Kimberly Heck
5969f0e7d1 Fix a number of issues that were stopping compilation with MSVC 19.
Patch from Thibaut Cuvelier, modified slightly by me (mostly for style).

(cherry picked from commit c506f304bc)
2024-01-31 21:56:55 +01:00
Jean-Marc Lasgouttes
b3332f032c Remove unused methods
They actually lead to the following warning:
../../stable/src/mathed/InsetMath.h:236:26: warning: ‘virtual lyx::HullType lyx::InsetMath::getType() const’ was hidden [-Woverloaded-virtual=]
  236 |         virtual HullType getType() const;
      |                          ^~~~~~~
In file included from ../../stable/src/insets/InsetLabel.cpp:36:
../../stable/src/mathed/InsetMathRef.h:65:20: note:   by ‘static int lyx::InsetMathRef::getType(const lyx::docstring&)’
   65 |         static int getType(docstring const & name);
      |                    ^~~~~~~

In master the removal of these methods occurred as part of cf07d482.
2023-11-08 17:03:55 +01:00
Scott Kostyshak
ebf09680da PreviewLoader: start fake pids after PID_MAX_LIMIT
(cherry picked from commit b67ff925e5)
2023-11-08 16:14:36 +01:00
Scott Kostyshak
3f14be7739 Use << for raising 2 to power instead of ^
The ^ is interpretted as bitwise XOR, so 2^(20) evaluated to 22.

Thanks to Riki for the << trick. This way, we do not have to use
pow() and include the <cmath> header for this one expression.

(cherry picked from commit 8f3c95f757)
2023-11-08 16:14:36 +01:00
Stephan Witt
b7403de38c Correct moc compiler version extractor regex for patch level greater 9.
(cherry picked from commit c93c94fd22)
2023-11-08 15:29:24 +01:00
Kornel Benko
2f01ab6410 Backport 2.4 changes for sk.po 2023-11-07 12:50:57 +01:00
Kornel Benko
51db24e836 Update sk.po 2023-11-02 20:00:54 +01:00
Enrico Forestieri
a247305b31 Inherit outer font in text-in-math environments
Some text-in-math environments such as \text, \mbox, \fbox, and
\makebox, inherit the outer text font. This commit reflects this
in the on-screen representation.

Fixes #12950.
2023-11-02 18:04:04 +01:00
Enrico Forestieri
de6d0bfa3f Revert "Inherit outer font in text-in-math environments"
This reverts commit f0dccbf3fb.

Unfortunately, the font taken into account is the font at the
current cursor position rather than the font at the corresponding
math inset.
2023-11-02 02:05:13 +01:00
Enrico Forestieri
f0dccbf3fb Inherit outer font in text-in-math environments
The text-in-math environments such as \text, \mbox, \fbox, \makebox
and so on, inherit the outer text font. This commit reflects this
in the on-screen representation.

Fixes #12950.
2023-11-01 20:28:01 -04:00
Udi Fogiel
1d41ca50c3 fix nested uwave
(cherry picked from commit 7ccdc6edf5)
2023-10-01 09:41:24 +02:00
Juergen Spitzmueller
6ea4a67863 Fix inset clicking problems on Mac (#12279, #12418, #12820)
We now register the coordinates where the latest mouse press happens,
and if that's on the inset button we are on when releasing,
we toggle the inset.

Thus, minimal unintentional mouse movements don't lead to the button not
to respond.

(cherry picked from commit effd65a586)
2023-09-14 08:14:07 +02:00
Pavel Sanda
6b4c7c5e91 endl needs ostream header here.
(cherry picked from commit 8c4d6bbba6)
2023-08-25 12:19:46 -04:00
Scott Kostyshak
dee5eec15f cat.py: fix Python deprecation warning
This commit fixes the following warning:

  DeprecationWarning: 'U' mode is deprecated

Removing 'U' has no effect with Python 3 [1]:

  There is an additional mode character permitted, 'U', which no
  longer has any effect, and is considered deprecated. It previously
  enabled universal newlines in text mode, which became the default
  behaviour in Python 3.0.

[1] https://docs.python.org/3/library/functions.html?highlight=open#open

(cherry picked from commit 9715d3504c)
2023-08-25 12:19:33 -04:00
Juergen Spitzmueller
2d1df3140e typo 2023-08-19 12:06:48 +02:00
Scott Kostyshak
79507c98af Fix a comparison of arrays to compare *contents*
The previous code was mistakenly comparing addresses of the arrays.
This issue was caught by a warning when compiling with Clang in
C++20 mode, since comparing array addresses in this way is
deprecated.

This commit should prevent some unnecessary dispatches of
LFUN_SCREEN_FONT_UPDATE.

(cherry picked from commit eaebe404ae)
2023-08-17 07:25:51 -04:00
jpc
36975baef7 Update fr.po 2023-08-16 09:26:01 +02:00
Pavel Sanda
a5e689eee5 Adding binary path for Homebrew on MacOS-arm64 (bug 12619).
Patch from Koji.
2023-07-18 22:24:06 +02:00
Enrico Forestieri
0ffcff55f3 Use \ifthenelse instead of relying on TeX primitives
This fixes the issue reported here:
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg115156.html

The problem is due to the use of the mathpazo package because
it defines the macro \f@family as "ppl\n", i.e., it appends a
newline character at the end. Now, the "\if" TeX primitive
expands its arguments for comparing them and the newline causes
a "missing \begin{document}" error. Instead of complicating the
code to account for this, it is better using the ifthen package.
2023-06-19 19:53:16 +02:00
Pavel Sanda
2f25a73cdc * status.23x 2023-06-14 22:41:25 +02:00
Stephan Witt
b2a026fbf7 #12523 check for existence of usable Python interpreter
Backport of change bbc2270

- present appropriate alert message in case of missing Python
- add the option to quit LyX immediately
- recheck for Python interpreter on reconfigure if it was missing
2023-06-14 12:00:41 +02:00
Juergen Spitzmueller
f5457342c4 Do not load mathrsfs if unicode-math is required (#12734)
The latter provides \mathscr and the packages clash

(cherry picked from commit a15bc829d1)
2023-05-27 14:04:32 +02:00