Commit Graph

43442 Commits

Author SHA1 Message Date
Thibaut Cuvelier
adf62c3184 Fix compilation with MSVC 19. 2021-01-02 17:27:56 +01:00
Kornel Benko
f500a287d4 FindAdv: Try to make regex search with format enabled somehow faster 2021-01-01 21:53:07 +01:00
Scott Kostyshak
eaebe404ae 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.
2020-12-31 14:02:40 -05:00
Kornel Benko
4e9dc856e4 FindAdv: Added handling for \w' in regex using non-ascii chars
Also fix some 'out of range accesses' (causing crash in debug-glibc-mode)
2020-12-31 17:00:49 +01:00
Scott Kostyshak
46aedb4eaf Fix warnings in id.po
Fix warnings like the following:

  po/id.po:32659: warning: internationalized messages should not contain the '\a' escape sequence
2020-12-30 15:30:31 -05:00
Yuriy Skalko
a2c126f867 Replace deprecated std::result_of, make nod library compatible with C++20 2020-12-30 18:02:11 +02:00
Kornel Benko
f7772849b9 FindAdv: Let lyx use QRegularExpression if available
This regex handling is part of QT5. For lyx which uses QT4
findafv will still work, but is not good for caseinsensitive matchings
in handling non ASCII characters
2020-12-30 13:00:03 +01:00
Richard Kimberly Heck
c4bbebdeb6 Back from alpha 2020-12-30 03:52:00 -05:00
Yuriy Skalko
cafa1d4ae4 Fix C++20 compilation on systems where char_type is wchar_t 2020-12-30 09:42:50 +02:00
Yuriy Skalko
950eaae5e6 Update ru.po 2020-12-30 09:42:34 +02:00
Kornel Benko
fc3c3c175e Update sk.po 2020-12-29 20:52:19 +01:00
Kornel Benko
c07278a45c Cmake build: Syntax of AC_INIT() in configure.ac changed, adapted macro 2020-12-29 20:27:19 +01:00
Richard Kimberly Heck
0afa322860 Update po files 2020-12-29 12:05:08 -05:00
Richard Kimberly Heck
e72a6e4e05 Update bind etc files 2020-12-29 12:03:46 -05:00
Richard Kimberly Heck
469168e592 Update documentation 2020-12-29 12:03:05 -05:00
Richard Kimberly Heck
d49e54018b 2.4.0-alpha1 2020-12-29 12:02:32 -05:00
Yuriy Skalko
d3ca28b468 Amend 3971b1b35e, also fix warnings for older compilers 2020-12-29 16:30:16 +02:00
Stephan Witt
e29896d93d Amend 18f7dce3d9 - avoid uninialized local variable atlastpos 2020-12-29 11:41:24 +01:00
Kornel Benko
5a192d28f0 FindAdv: fix converting unicode-point to utf-8
I misinterpreted the unicode creation 'u8"\uF00xx"'.
The C++-compiler saw 'u8"\uF00x" "x"', but this was not intended.

The routine which mimicked is doing the right job now.
2020-12-29 09:59:44 +01:00
Yuriy Skalko
3971b1b35e Fix C++20 warning on implicit capture of this via [=] 2020-12-28 23:26:14 +02:00
Yuriy Skalko
197ea63631 Use crc32 calculation from zlib instead of boost 2020-12-28 21:32:56 +02:00
Yuriy Skalko
3e167f9fe7 Update Doxygen options to have more dependency graphs
Now many graphs are not generated due to excessive dependencies
(default node limit for one graph is 50).
2020-12-28 21:32:34 +02:00
Kornel Benko
ab7ac800dc FindAdv: Allow compilation with c++20 2020-12-28 16:45:02 +01:00
Yuriy Skalko
d927e9343c Suppress unneeded git log output 2020-12-28 15:44:39 +02:00
Kornel Benko
86a10281da Cmake build: Expand for possible c++20 compilation 2020-12-28 13:13:27 +01:00
Yuriy Skalko
dea8231b7b Update Russian localization 2020-12-28 12:00:32 +02:00
Juergen Spitzmueller
2af8e661a3 Re-enable input of non-LyX files (e.g., tex, pgf) (#12056)
This amends [a385b7dc2b58/lyxgit]
2020-12-28 09:58:30 +01:00
Juergen Spitzmueller
b53b44266a de: sofortige Vorschau > eingebettete Vorschau 2020-12-27 17:14:02 +01:00
Juergen Spitzmueller
e67d147d74 de.po 2020-12-27 17:11:58 +01:00
Juergen Spitzmueller
4886c0370b inset-split: consider that freeSpacing() doesn't DEPM 2020-12-27 14:28:03 +01:00
Juergen Spitzmueller
11740f6fc0 Amend dc174db6c1973d1/lyxgit (#12057) 2020-12-27 14:00:30 +01:00
Kornel Benko
c7bc46d707 Amend 3736bee4: Forgot to set the cassensitivity flag in regex statement 2020-12-27 12:16:37 +01:00
Kornel Benko
3736bee4b7 FindAdv: Use stdregex to handle case-insensitivity (if regex is used)
For search we used to lowercase for everything, but sonce the regex itself
should be left unchanged, this change was needed.
Works nice with ASCII, but fails miserably on on other UTF8 points (like Cyrillic chars)
2020-12-27 12:01:23 +01:00
Juergen Spitzmueller
0521051938 Correct function name 2020-12-24 10:55:10 +01:00
Juergen Spitzmueller
18f7dce3d9 Implement inset-split (only for text insets for now) (#10260) 2020-12-24 10:48:52 +01:00
Jean-Marc Lasgouttes
af1ab2caa9 Update layouts to version 90 2020-12-22 16:53:15 +01:00
Kornel Benko
bce49b877e Cmake build: Remove references to remowed hunspell directories
Amends d04a8cf5
2020-12-21 09:11:48 +01:00
Jean-Marc Lasgouttes
d04a8cf58f Remove parsers in included hunspell 2020-12-20 19:39:35 +01:00
Jean-Marc Lasgouttes
8d0d3ea090 Autoconf: use included boost when system boost is not available 2020-12-20 19:27:01 +01:00
Jean-Marc Lasgouttes
37e7333359 some other stuff that should have been removed from boost
Update extract.sh to remove more thoroughly old boost files (*.h, *.pl).
2020-12-20 18:12:46 +01:00
Richard Kimberly Heck
df0b108500 Add Lorenzo Bertini to the credits. 2020-12-20 11:14:31 -05:00
Juergen Spitzmueller
f47ea0dd5e Add missing header include 2020-12-20 12:42:04 +01:00
Thibaut Cuvelier
372b32c0a6 Fix MathML output of InsetMathDelim
Patch by lynx (https://www.lyx.org/trac/ticket/12050).
2020-12-20 00:21:10 +01:00
Yuriy Skalko
d9e455b61a Move Trackable class to Server.h 2020-12-19 22:52:57 +02:00
Yuriy Skalko
4f0981e7bb Merge namespace signals2 into namespace lyx 2020-12-19 22:52:51 +02:00
Yuriy Skalko
b89910af0f Update Russian localization 2020-12-19 21:34:31 +02:00
Yuriy Skalko
cbd1b3a2d4 Remove useless declaration 2020-12-19 21:33:33 +02:00
Pavel Sanda
db52066d6a Typo 2020-12-19 18:29:10 +01:00
Jean-Marc Lasgouttes
405b5c04a7 Fixup 005f69de: code cleanup.
Since we are not sure of where the cursor ends up after invoking
Cursor::handleNest it is safer to reset the cursor at each cell,
rather than reuse the same one over and over.

Related to bug #12035.
2020-12-19 17:12:28 +01:00
Richard Kimberly Heck
8c805db9d3 Typo 2020-12-18 17:35:58 -05:00