]>
git.lyx.org Git - lyx.git/log
Scott Kostyshak [Sat, 28 Mar 2020 23:12:25 +0000 (19:12 -0400)]
PreviewLoader: start fake pids after PID_MAX_LIMIT
(cherry picked from commit
b67ff925e587acbf7b838d1a5647356bff57e3cd )
Scott Kostyshak [Sat, 28 Mar 2020 16:19:11 +0000 (12:19 -0400)]
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
8f3c95f7570f84effc4601e88f13ff48c6084f0c )
Stephan Witt [Fri, 16 Jul 2021 16:12:33 +0000 (18:12 +0200)]
Correct moc compiler version extractor regex for patch level greater 9.
(cherry picked from commit
c93c94fd22b30841e3d36fc8fc583a70091cc72f )
Kornel Benko [Tue, 7 Nov 2023 11:50:57 +0000 (12:50 +0100)]
Backport 2.4 changes for sk.po
Kornel Benko [Thu, 2 Nov 2023 19:00:54 +0000 (20:00 +0100)]
Update sk.po
Enrico Forestieri [Thu, 2 Nov 2023 17:04:04 +0000 (18:04 +0100)]
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.
Enrico Forestieri [Thu, 2 Nov 2023 01:05:13 +0000 (02:05 +0100)]
Revert "Inherit outer font in text-in-math environments"
This reverts commit
f0dccbf3fbbf589e2c0a45c286a6581c1949cb28 .
Unfortunately, the font taken into account is the font at the
current cursor position rather than the font at the corresponding
math inset.
Enrico Forestieri [Wed, 1 Nov 2023 21:21:49 +0000 (22:21 +0100)]
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.
Udi Fogiel [Tue, 26 Sep 2023 22:32:55 +0000 (01:32 +0300)]
fix nested uwave
(cherry picked from commit
7ccdc6edf548c8eda345c70a4212b70e6003ad0c )
Juergen Spitzmueller [Thu, 24 Aug 2023 07:56:09 +0000 (09:56 +0200)]
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
effd65a586468321dcf0aeab34872d5607102477 )
Pavel Sanda [Tue, 14 Jan 2020 20:59:05 +0000 (21:59 +0100)]
endl needs ostream header here.
(cherry picked from commit
8c4d6bbba68d0913ae4a7ec3beefea0e9ff4d8ea )
Scott Kostyshak [Thu, 19 Mar 2020 22:22:16 +0000 (18:22 -0400)]
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
9715d3504c6a74f9a498e2d9232956255110225d )
Juergen Spitzmueller [Sat, 19 Aug 2023 10:06:48 +0000 (12:06 +0200)]
typo
Scott Kostyshak [Thu, 31 Dec 2020 18:15:14 +0000 (13:15 -0500)]
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
eaebe404ae6c8305161bd5f41496f36cf6a2ab78 )
jpc [Wed, 16 Aug 2023 07:26:01 +0000 (09:26 +0200)]
Update fr.po
Pavel Sanda [Tue, 18 Jul 2023 20:24:06 +0000 (22:24 +0200)]
Adding binary path for Homebrew on MacOS-arm64 (bug 12619).
Patch from Koji.
Enrico Forestieri [Mon, 19 Jun 2023 17:53:16 +0000 (19:53 +0200)]
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.
Pavel Sanda [Wed, 14 Jun 2023 20:41:25 +0000 (22:41 +0200)]
* status.23x
Stephan Witt [Wed, 14 Jun 2023 10:00:41 +0000 (12:00 +0200)]
#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
Juergen Spitzmueller [Sat, 15 Apr 2023 10:35:22 +0000 (12:35 +0200)]
Do not load mathrsfs if unicode-math is required (#12734)
The latter provides \mathscr and the packages clash
(cherry picked from commit
a15bc829d10e73fd89d2d4baacb63bd34fc9d966 )
Juergen Spitzmueller [Fri, 14 Apr 2023 17:13:23 +0000 (19:13 +0200)]
tex2lyx: fix import of umlauts and ß in math (#12739)
Enrico Forestieri [Sun, 19 Mar 2023 22:40:15 +0000 (23:40 +0100)]
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.
Juergen Spitzmueller [Tue, 28 Feb 2023 15:51:38 +0000 (16:51 +0100)]
typo
jpc [Fri, 10 Feb 2023 17:35:24 +0000 (18:35 +0100)]
Update fr.po
Juergen Spitzmueller [Thu, 9 Feb 2023 16:23:18 +0000 (17:23 +0100)]
Add missing empty line (par break) between pars with differing line spacing (#12638)
cherry-picked from
8c6db951353a
Jean-Marc Lasgouttes [Thu, 2 Feb 2023 10:26:29 +0000 (11:26 +0100)]
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
09130d7a622 .
Enrico Forestieri [Sat, 28 Jan 2023 08:03:49 +0000 (09:03 +0100)]
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.
José Matos [Mon, 3 Jan 2022 19:59:42 +0000 (19:59 +0000)]
Make layout2layout compatible with Python 2 and 3
(cherry picked from commit
940d3ceeb9e6d8ce216afedf18c898ec075cc27d )
Richard Kimberly Heck [Sat, 7 Jan 2023 17:47:49 +0000 (12:47 -0500)]
Fix status file
Juergen Spitzmueller [Fri, 6 Jan 2023 13:40:25 +0000 (14:40 +0100)]
Add missing revert routine to lyx_2_0.py
(cherry picked from commit
d89a48483e390664cf894909afa62092deaeac5b )
Stephan Witt [Wed, 9 Feb 2022 09:59:18 +0000 (10:59 +0100)]
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.
Richard Kimberly Heck [Sun, 1 Jan 2023 23:47:21 +0000 (18:47 -0500)]
Back to development
Richard Kimberly Heck [Sun, 1 Jan 2023 23:34:17 +0000 (18:34 -0500)]
Remerge strings.
Richard Kimberly Heck [Sun, 1 Jan 2023 23:33:47 +0000 (18:33 -0500)]
Rebuilt GMO files
Richard Kimberly Heck [Sun, 1 Jan 2023 23:33:33 +0000 (18:33 -0500)]
Again for 2.3.7
Pavel Sanda [Wed, 28 Dec 2022 22:18:07 +0000 (23:18 +0100)]
Update ja.po from Koji.
Kornel Benko [Fri, 16 Dec 2022 08:52:37 +0000 (09:52 +0100)]
Update sk.po
Stephan Witt [Thu, 15 Dec 2022 21:43:19 +0000 (22:43 +0100)]
Add status protocol for backport of macOS build improvements.
Stephan Witt [Sun, 30 May 2021 15:30:08 +0000 (17:30 +0200)]
Pass Qt library location as link option for frameworks on Mac
(cherry picked from commit
c518c57a78f3d240ed59deb81febe7800cca2d70 )
Stephan Witt [Fri, 21 Sep 2018 19:48:48 +0000 (21:48 +0200)]
Add the option build with different compiler and linker flag extensions.
(cherry picked from commit
d4f51e6ed0d92f99843ed8998823e2c0c3c1a7f4 )
Stephan Witt [Sun, 30 May 2021 15:22:42 +0000 (17:22 +0200)]
Add macOS 11 to SDK detection for builds on Mac
(cherry picked from commit
187a9d643902215f881d172ca7c7da71b341bb2c )
Stephan Witt [Mon, 17 Jun 2019 16:07:05 +0000 (18:07 +0200)]
care for optional brackets around version string
(cherry picked from commit
b0a73c0dfdbfa0541f04d7ee2578c4cd272ef7b9 )
Pavel Sanda [Thu, 15 Dec 2022 20:27:07 +0000 (21:27 +0100)]
* ANNOUNCE
Pavel Sanda [Thu, 15 Dec 2022 20:25:44 +0000 (21:25 +0100)]
* cs.po
Juergen Spitzmueller [Thu, 15 Dec 2022 07:23:45 +0000 (08:23 +0100)]
Add missing hunspell header to the sources
This should fix Yu Gin's building woes on Windows.
Pavel Sanda [Sun, 11 Dec 2022 20:07:03 +0000 (21:07 +0100)]
* LFUNs.lyx
Richard Kimberly Heck [Sun, 11 Dec 2022 16:17:32 +0000 (11:17 -0500)]
Back to development
Richard Kimberly Heck [Sun, 11 Dec 2022 16:13:44 +0000 (11:13 -0500)]
Update build script
Richard Kimberly Heck [Sun, 11 Dec 2022 16:01:50 +0000 (11:01 -0500)]
Prepare for 2.3.7
Enrico Forestieri [Sun, 11 Dec 2022 13:26:14 +0000 (14:26 +0100)]
Update it.po
Yuriy Skalko [Sat, 10 Dec 2022 20:55:48 +0000 (21:55 +0100)]
Update ru.po
jpc [Sat, 10 Dec 2022 12:37:59 +0000 (13:37 +0100)]
Update fr.po
Enrico Forestieri [Sat, 10 Dec 2022 11:19:15 +0000 (12:19 +0100)]
Update it.po
Pavel Sanda [Thu, 8 Dec 2022 07:52:41 +0000 (08:52 +0100)]
* sv.po from Jim Rotmalm
Juergen Spitzmueller [Mon, 5 Dec 2022 07:23:50 +0000 (08:23 +0100)]
Pavel Sanda [Mon, 5 Dec 2022 06:46:34 +0000 (07:46 +0100)]
* pt_BR.po
Pavel Sanda [Sun, 4 Dec 2022 18:26:21 +0000 (19:26 +0100)]
Remerge strings for a new string.
(Better untranslated string than a crash).
Pavel Sanda [Sun, 4 Dec 2022 18:25:47 +0000 (19:25 +0100)]
Fix de.po
Pavel Sanda [Sun, 4 Dec 2022 18:23:26 +0000 (19:23 +0100)]
* cs.po
Pavel Sanda [Sun, 4 Dec 2022 18:19:18 +0000 (19:19 +0100)]
Typo in new string.
Juergen Spitzmueller [Sun, 4 Dec 2022 17:57:45 +0000 (18:57 +0100)]
de.po
Juergen Spitzmueller [Fri, 2 Dec 2022 10:23:32 +0000 (11:23 +0100)]
Check encodability of math user macro names (#11855)
(cherry picked from commit
14b108fc222ef9e7891d90ce364ceb227f8182dc )
Pavel Sanda [Mon, 28 Nov 2022 22:31:26 +0000 (23:31 +0100)]
* nl.po from Niko Strijbol
jpc [Mon, 28 Nov 2022 16:24:32 +0000 (17:24 +0100)]
A couple of new updates for graphique semantics
Yuriy Skalko [Sun, 27 Nov 2022 13:02:10 +0000 (15:02 +0200)]
Update ru.po
Enrico Forestieri [Sat, 26 Nov 2022 22:24:07 +0000 (23:24 +0100)]
Update it.po
jpc [Sat, 26 Nov 2022 17:48:14 +0000 (18:48 +0100)]
Typo in fr.po
Juergen Spitzmueller [Sat, 26 Nov 2022 16:39:43 +0000 (17:39 +0100)]
GuiGraphic: delimit "Scale in LyX" (1--1000%)
Larger values will eventually crash LyX (see #12353), 0 or negative
values make the image disappear in the workarea and impossible to edit.
(cherry picked from parts of
commit
14d63f5be86ef2463a70c792cdb0ff88c1374025 )
jpc [Sat, 26 Nov 2022 17:29:28 +0000 (18:29 +0100)]
Update doc (semantics of "graphique" in French)
Pavel Sanda [Sat, 26 Nov 2022 11:29:00 +0000 (12:29 +0100)]
Update pt_BR.po from Georger Araujo.
Pavel Sanda [Fri, 25 Nov 2022 09:41:44 +0000 (10:41 +0100)]
uk.po update one more time...
Pavel Sanda [Fri, 25 Nov 2022 09:40:39 +0000 (10:40 +0100)]
Update uk.po from Yuri.
Juergen Spitzmueller [Fri, 25 Nov 2022 07:49:23 +0000 (08:49 +0100)]
HP-Statements example: update
Some of the examples used here seem to be no longer supported by
the hpstatement package and lead to errors.
Jean-Marc Lasgouttes [Thu, 24 Nov 2022 23:18:07 +0000 (00:18 +0100)]
Fixup
52ea3679 : make macro safer.
Taking advice from José.
Jean-Marc Lasgouttes [Sun, 26 Jan 2020 18:46:19 +0000 (19:46 +0100)]
Fix distcheck target
1/ The most annoying part was the error in po/. It turns out that reading
and understanding the po/Makevars file was the key. A simple change of
variable ensures that "make dist" does not try to rebuild lyx.pot.
2/ The way tests in src/ are defined meant that the
dependency-tracking files were not all deleted. This should be OK now.
(cherry picked from commit
9017581ecf26c5e651ee1bccc053285a1b21ca29 )
Juergen Spitzmueller [Thu, 24 Nov 2022 17:14:38 +0000 (18:14 +0100)]
GuiLog: don't miss package warnings for packages with dashes
Kornel Benko [Thu, 24 Nov 2022 11:30:02 +0000 (12:30 +0100)]
Update sk.po
jpc [Thu, 24 Nov 2022 08:02:51 +0000 (09:02 +0100)]
Update fr.po
Juergen Spitzmueller [Thu, 24 Nov 2022 06:11:44 +0000 (07:11 +0100)]
de.po
Jean-Marc Lasgouttes [Thu, 24 Nov 2022 00:32:08 +0000 (01:32 +0100)]
forgot that
Jean-Marc Lasgouttes [Thu, 24 Nov 2022 00:18:21 +0000 (01:18 +0100)]
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.
Pavel Sanda [Mon, 28 Sep 2020 14:34:42 +0000 (16:34 +0200)]
Qt4 compilable again
Pavel Sanda [Wed, 23 Nov 2022 21:56:00 +0000 (22:56 +0100)]
Fix postats.py for branch strings.
Pavel Sanda [Wed, 23 Nov 2022 21:14:33 +0000 (22:14 +0100)]
* cs.po
Pavel Sanda [Wed, 23 Nov 2022 20:33:24 +0000 (21:33 +0100)]
Remerge strings 2.3.7
Pavel Sanda [Wed, 23 Nov 2022 20:03:29 +0000 (21:03 +0100)]
* cs.po
Jean-Marc Lasgouttes [Tue, 8 Feb 2022 18:42:17 +0000 (19:42 +0100)]
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
5259b6ba62fd4e31c260d73cbdfdb66847afcb98 )
Pavel Sanda [Wed, 23 Nov 2022 12:46:20 +0000 (13:46 +0100)]
* status.23x
Pavel Sanda [Wed, 23 Nov 2022 12:38:09 +0000 (13:38 +0100)]
status.23x: updates vs bug fixes
Pavel Sanda [Wed, 23 Nov 2022 12:33:29 +0000 (13:33 +0100)]
Add missing status.23x entries from latest backports.
Juergen Spitzmueller [Wed, 23 Nov 2022 11:28:59 +0000 (12:28 +0100)]
Fix crash when using Hebrew (bug 12464)
Juergen Spitzmueller [Wed, 23 Nov 2022 11:22:54 +0000 (12:22 +0100)]
Handle LFUN_FONT_DEFAULT is InsetTabular::Dispatch (fixes #12566)
Jean-Marc Lasgouttes [Tue, 4 Jan 2022 17:58:55 +0000 (18:58 +0100)]
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
d44c63e2c67cad1bd0dda4cf3e0fa09df5b225ad )
Richard Kimberly Heck [Wed, 23 Nov 2022 02:28:14 +0000 (21:28 -0500)]
Fix #12524. From Enrico.
Jean-Marc Lasgouttes [Sat, 8 Oct 2022 14:42:55 +0000 (16:42 +0200)]
Preview: do not overwrite fg/bg color names that beamer uses
Rename them to lyxfg/lyxbg
Fixes bug #12563.
(cherry picked from commit
a20477993bda8e9eaca1c8934e2b6f8991af562b )
Richard Kimberly Heck [Wed, 23 Nov 2022 02:25:11 +0000 (21:25 -0500)]
Fix #12311 as described there.
Jean-Marc Lasgouttes [Mon, 27 Sep 2021 15:46:38 +0000 (17:46 +0200)]
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
3cdfb42cced175c108563f378589ec9aae134093 )
Juergen Spitzmueller [Thu, 13 Oct 2022 14:05:03 +0000 (16:05 +0200)]
Only load subscript package with LaTeX < 2005/12/01 (#12387)
(cherry picked from commit
d4d4654d6325e92aff96523b64e1d403655a71cc )
Juergen Spitzmueller [Fri, 12 Nov 2021 10:43:11 +0000 (11:43 +0100)]
Support 0x019b via tipa (#12426)
(cherry picked from commit
ea475c0ce6636f02244fe8142a8d77dd1493f4e5 )
Richard Kimberly Heck [Wed, 23 Nov 2022 02:16:40 +0000 (21:16 -0500)]
Backport fix for #11223. From Enrico.