Commit Graph

44798 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
337cc97174 Use auto const & when possible to avoid copies
In several range-based for loops, implicit copies are made. Remove
that when possible, and try to shut converity up otherwise.

Fixes issues found by coverity.
2022-08-30 17:31:37 +02:00
jpc
35070ecc03 Update fr.po 2022-08-28 18:46:31 +02:00
Kornel Benko
a95da6922e Update sk.po 2022-08-19 13:33:14 +02:00
Juergen Spitzmueller
0515bfa989 Update stats display if a stat is (un)selected 2022-08-18 19:09:15 +02:00
Scott Kostyshak
1182687991 ctests: uninvert a utf8x test
The compilation succeeds now, although the behavior might be
different: unless we load ucs explicitly it will proceed with
utf8 instead of utf8x if I understand correctly.

See here for more details:
https://github.com/latex3/latex2e/issues/833#issuecomment-1219535732
2022-08-18 10:17:30 -04:00
Scott Kostyshak
1e63f48b67 ctests: invert EuropeCV tests
These might not be fixed for a while:

  https://github.com/gsilano/EuropeCV/pull/33
2022-08-18 09:09:30 -04:00
Juergen Spitzmueller
ccc9212a2b de.po 2022-08-17 18:15:29 +02:00
Juergen Spitzmueller
fee10d2d0d Another inset font switch fix 2022-08-17 18:04:51 +02:00
Juergen Spitzmueller
96d9e748cf Polish status bar statistics 2022-08-17 14:59:50 +02:00
Juergen Spitzmueller
e6b93f7489 Load ucs before utf8x inputenc with recent ucs versions
Otherwise inputenc falls back to utf8 option, which breaks documents
2022-08-16 17:56:07 +02:00
Juergen Spitzmueller
f6fff878a7 fix compiler warning 2022-08-16 17:41:40 +02:00
Juergen Spitzmueller
771e46c58d de/UserGuide: another minor correction 2022-08-16 12:28:13 +02:00
Juergen Spitzmueller
5d87131901 de/UserGuide: some minor corrections 2022-08-16 12:25:55 +02:00
Juergen Spitzmueller
438f6943ed de.po 2022-08-16 11:55:04 +02:00
Stephan Witt
f426470a54 Improved synctex support
- Add check for converter with active synctex support to check for synchronized output for activate forward search.
2022-08-13 14:20:03 +02:00
Pavel Sanda
bd0510b08f configure.py: sanitize restrictive policies of IM on some distributions.
Some distros banned GS for Imagemigick conversions.
In effect eps->png conversion is broken and this can't
be fixed locally by the user.

Our workaround is to allow eps->pdf->png conversion from
different tools when IM bans the conversion.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217834.html
2022-08-12 01:03:09 +02:00
Stephan Witt
9686fe0c79 Improved synctex support
- Check the state of the synchronize TeX output option of the document to enable or disable the LFUN for forward-search.
- write synctex macro to TeX source not only for PdfLaTeX
2022-08-11 22:45:51 +02:00
Stephan Witt
7391ca961d Additional cursor position validation required to avoid an assertion in Text::selectWord 2022-08-11 22:35:58 +02:00
Pavel Sanda
04ada8e5fa Fix shortcut 2022-08-10 00:03:20 +02:00
Pavel Sanda
c1575a5be1 * RELEASE-NOTES 2022-08-09 23:58:13 +02:00
Pavel Sanda
5b50a97fd7 Add document statistics to statusbar.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217810.html
2022-08-09 23:48:55 +02:00
Juergen Spitzmueller
c69da75dfc Use localized length strings also in space label/tooltip 2022-08-09 17:28:41 +02:00
Juergen Spitzmueller
9214f92599 Mode [un]locLengthString() methods to support/qstring_helpers 2022-08-09 17:27:53 +02:00
Juergen Spitzmueller
079bc8ca40 Localize display of glue lengths in dialogs 2022-08-09 09:44:12 +02:00
Juergen Spitzmueller
60b539e544 Rename function 2022-08-09 09:31:46 +02:00
jpc
5b496f897c Update fr.po 2022-08-09 08:46:54 +02:00
Juergen Spitzmueller
1487b19803 Allow entering localized lengths with unit (#11852) 2022-08-08 18:35:48 +02:00
Stephan Witt
4296df9960 Add detection for available macOS applications and add check for Skim.app as alternate PDF viewer. 2022-08-08 15:46:57 +02:00
Stephan Witt
a89f2fd08c Make "open -a" implicit on macOS
Fix for bug #12570 - add simple check for app bundle name and prefix it with macOS open command if name matches
2022-08-08 10:36:46 +02:00
Kornel Benko
00f371e43e Update sk.po 2022-08-08 10:23:14 +02:00
Juergen Spitzmueller
199980412b Install icon.aliases in images/ where it is searched 2022-08-08 10:13:23 +02:00
Juergen Spitzmueller
3286dd6be3 de.po 2022-08-08 09:55:07 +02:00
Juergen Spitzmueller
a8947aaad8 Amend 9e645a5cfc
Only show "System Default" if auto-open is available for the current
format.
2022-08-08 09:49:51 +02:00
Daniel Ramoeller
9e645a5cfc "System Default" viewer/editor option
Fix for bug #12571. More user friendly way to set the system default application aka "auto" option.
2022-08-08 09:18:39 +02:00
Kornel Benko
d68cef8d2d Update sk.po 2022-08-07 19:27:06 +02:00
jpc
31fdb5e1e8 Update fr.po 2022-08-07 18:06:44 +02:00
Juergen Spitzmueller
5656c23ac4 de.po 2022-08-07 16:47:18 +02:00
Juergen Spitzmueller
14d63f5be8 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.
2022-08-07 16:40:12 +02:00
Juergen Spitzmueller
6a2b220b8d Handle LFUN_FONT_DEFAULT is InsetTabular::Dispatch (fixes #12566) 2022-08-07 14:34:42 +02:00
Juergen Spitzmueller
75aaa8e22b Amend 4ba989000c
If the lfun argument already has a Flex: prefix (which is equivalent),
do not append one
2022-08-07 10:41:02 +02:00
Juergen Spitzmueller
4ba989000c Fixup cd83386363 (#12569) 2022-08-06 19:00:36 +02:00
Juergen Spitzmueller
8ac177f656 Fix font tracking at fontswitch_insets
(hopefully)
2022-08-06 17:29:40 +02:00
Stephan Witt
83bea9c8c1 Fix a typo in copied comment. 2022-07-31 23:35:14 +02:00
Pavel Sanda
79f321d0f5 pyupgrade related fixes to python scripts #2.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217790.html
2022-07-31 20:08:44 +02:00
jpc
4c72d8aeac Info in French UserGuide 2022-07-31 18:29:23 +02:00
Pavel Sanda
c041925261 pyupgrade related fixes to python scripts #2.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217777.html
2022-07-31 11:13:53 +02:00
Stephan Witt
e873ac3c90 Enhanced build script to use c++17 with EnableCXXMode for Qt6 2022-07-31 07:54:50 +02:00
Pavel Sanda
d79637a88e Various python fixes suggested by pyupgrade.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217770.html
2022-07-31 00:36:51 +02:00
Pavel Sanda
6031666b01 another typo 2022-07-31 00:26:04 +02:00
Pavel Sanda
00bba01de9 whitespace 2022-07-31 00:24:33 +02:00