Commit Graph

39532 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
624a1be072 tex2lyx: fix import of umlauts and ß in math (#12739) 2023-05-27 14:01:19 +02:00
Enrico Forestieri
27208273ef Fix bug #12711
Add a few missing autocorrect combinations and allow cycling
through arrows.

The way autocorrect is implemented it is not possible to map
--> and ==> to \longleftarrow and \Longleftarrow, respectively.
One has to type ->- and =>= to that effect, which may be
counterintuitive.

This commit allows typing -> or => followed by * to cycle through
all possible arrows of the same type.
2023-03-19 23:40:15 +01:00
Juergen Spitzmueller
61eed0305f typo 2023-02-28 16:51:38 +01:00
jpc
0bb7494a14 Update fr.po 2023-02-10 18:35:24 +01:00
Juergen Spitzmueller
ed9a846200 Add missing empty line (par break) between pars with differing line spacing (#12638)
cherry-picked from 8c6db95135
2023-02-10 09:20:29 +01:00
Jean-Marc Lasgouttes
dfbf4c4839 upgrade boost to 1.75.0
Boost is updated to a more recent version to avoid many compilation
warnings. However, boost 1.76 introduces a brand new regex library.
Therefore, it was chosen to use the last version before that to
minimize changes.

The part that adapts our source to the new boost requirements is
backported from 09130d7a62.
2023-02-05 20:27:43 +01:00
Enrico Forestieri
8bc83f123a Fix bug #12633
Avoid recursion when validating a macro that is defined recursively.
This avoids a crash but the latex engine will choke on it, of course.
2023-01-28 09:03:49 +01:00
José Matos
fef787a80a Make layout2layout compatible with Python 2 and 3
(cherry picked from commit 940d3ceeb9)
2023-01-08 11:26:27 -05:00
Richard Kimberly Heck
4392031f1f Fix status file 2023-01-07 12:47:49 -05:00
Juergen Spitzmueller
b2907f7abc Add missing revert routine to lyx_2_0.py
(cherry picked from commit d89a48483e)
2023-01-06 13:36:21 -05:00
Stephan Witt
638e8e4c6c Avoid static members zoom_min_ and zoom_max_
Some compilers cannot use static class members by reference. std::min() and std::max() are passing parameters by const reference.
2023-01-05 18:48:46 -05:00
Richard Kimberly Heck
a54afe1b88 Back to development 2023-01-01 18:47:21 -05:00
Richard Kimberly Heck
2b7705ae20 Remerge strings. 2023-01-01 18:34:17 -05:00
Richard Kimberly Heck
6e394a509b Rebuilt GMO files 2023-01-01 18:33:47 -05:00
Richard Kimberly Heck
c303b1a25e Again for 2.3.7 2023-01-01 18:33:33 -05:00
Pavel Sanda
e3fe833652 Update ja.po from Koji. 2022-12-28 23:18:07 +01:00
Kornel Benko
ee75477e32 Update sk.po 2022-12-16 09:52:37 +01:00
Stephan Witt
419f15e511 Add status protocol for backport of macOS build improvements. 2022-12-15 22:43:50 +01:00
Stephan Witt
95bd9e5b45 Pass Qt library location as link option for frameworks on Mac
(cherry picked from commit c518c57a78)
2022-12-15 22:43:50 +01:00