Commit Graph

39517 Commits

Author SHA1 Message Date
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
Stephan Witt
fa5320c910 Add the option build with different compiler and linker flag extensions.
(cherry picked from commit d4f51e6ed0)
2022-12-15 22:43:50 +01:00
Stephan Witt
f4cd2e863b Add macOS 11 to SDK detection for builds on Mac
(cherry picked from commit 187a9d6439)
2022-12-15 22:43:49 +01:00
Stephan Witt
9956d3fb43 care for optional brackets around version string
(cherry picked from commit b0a73c0dfd)
2022-12-15 22:43:49 +01:00
Pavel Sanda
e32dfe2751 * ANNOUNCE 2022-12-15 21:27:07 +01:00
Pavel Sanda
06fbe468d2 * cs.po 2022-12-15 21:25:44 +01:00
Juergen Spitzmueller
d882b20e22 Add missing hunspell header to the sources
This should fix Yu Gin's building woes on Windows.
2022-12-15 08:23:45 +01:00
Pavel Sanda
94c8586764 * LFUNs.lyx 2022-12-11 21:08:18 +01:00
Richard Kimberly Heck
f7f37e48e5 Back to development 2022-12-11 11:17:32 -05:00
Richard Kimberly Heck
a9338e796a Update build script 2022-12-11 11:13:44 -05:00
Richard Kimberly Heck
4ac62e3e0a Prepare for 2.3.7 2022-12-11 11:01:50 -05:00
Enrico Forestieri
489e0b1cab Update it.po 2022-12-11 14:26:36 +01:00
Yuriy Skalko
abca508bad Update ru.po 2022-12-10 21:55:58 +01:00
jpc
dc48ef2c74 Update fr.po 2022-12-10 13:37:59 +01:00
Enrico Forestieri
eda0aeaed5 Update it.po 2022-12-10 12:19:15 +01:00
Pavel Sanda
9c30620ec2 * sv.po from Jim Rotmalm 2022-12-08 08:52:41 +01:00