Roman Telezhynskyi
43db94f4b0
Fix conditions.
2020-07-06 15:37:41 +03:00
Roman Telezhynskyi
8bf4c85e6e
Fix deprecation warnings.
2020-07-06 09:41:08 +03:00
Roman Telezhynskyi
bdceb76316
Fix matching new line character at the end of label. Closes smart-pattern/valentina#46 .
...
Because Perl returns a string with a newline at the end when reading a line from a file, Perl’s regex engine matches $ at the position before the line break at the end of the string even when multi-line mode is turned off. Perl also matches $ at the very end of the string, regardless of whether that character is a line break. So ^\d+$ matches 123 whether the subject string is 123 or 123\n.
Most modern regex flavors have copied this behavior. That includes .NET, Java, PCRE, Delphi, PHP, and Python. This behavior is independent of any settings such as “multi-line mode”.
In all these flavors except Python, \Z also matches before the final line break. If you only want a match at the absolute very end of the string, use \z (lowercase z instead of uppercase Z). \A\d+\z does not match 123\n. \z matches after the line break, which is not matched by the shorthand character class.
2020-06-01 17:42:20 +03:00
Roman Telezhynskyi
bfe9bd808d
Fix cast warning.
...
(grafted from f7b7f00f0f117582449259e974fc53182df958cb)
--HG--
branch : develop
2020-01-06 20:11:23 +02:00
Roman Telezhynskyi
d74225e63e
QLineF::IntersectType QLineF::intersect(const QLineF&, QPointF*) const' is
...
deprecated: Use intersects() instead.
(grafted from b8646bf40865848ad48eae89cae8419483d56f6b)
--HG--
branch : develop
2020-01-06 18:34:35 +02:00
Roman Telezhynskyi
84001dac61
Refactoring. Added move constructor.
...
--HG--
branch : develop
2019-12-30 17:13:18 +02:00
Roman Telezhynskyi
74bb3e4369
Fix move sematic.
...
(grafted from fb8691f522f3515d7c3014a0ea90b60b352a444e)
--HG--
branch : develop
2019-12-30 13:00:57 +02:00
Roman Telezhynskyi
41c3ddf5db
${TARGET} variable works differently for shared libraries.
...
--HG--
branch : develop
2019-12-22 12:44:43 +02:00
Roman Telezhynskyi
888a968056
Refactoring. Remove unneeded conditions.
...
--HG--
branch : develop
2019-12-22 11:48:42 +02:00
Roman Telezhynskyi
3c69b425ec
Fix noDebugSymbols.
...
--HG--
branch : develop
2019-11-29 19:55:27 +02:00
Roman Telezhynskyi
0bd69403d7
Fixed translation numbers in scientific notation.
...
(grafted from ad76bd9f92578e8f4a6f9ae21ad569eec1abec8f)
--HG--
branch : develop
2019-10-30 11:34:01 +02:00
Roman Telezhynskyi
4263874d30
Fixed issue #979 . Pattern is not designed correctly on last beta version.
...
Backed out changeset: cfc33c4b93b0
--HG--
branch : develop
2019-09-09 18:47:16 +03:00
Roman Telezhynskyi
0a28339963
Fix inverse trigonometric functions. Wrong work with degrees.
...
(grafted from 91c06257daf0d9172d41348dac216027d9f0a855)
--HG--
branch : develop
2019-08-26 09:15:46 +03:00
Roman Telezhynskyi
0658d92688
New marcos Q_DISABLE_ASSIGN.
...
--HG--
branch : develop
2019-07-01 11:33:29 +03:00
Roman Telezhynskyi
5c55778d66
Since Q5.12 available support for C++17.
...
--HG--
branch : develop
2019-05-28 17:41:15 +03:00
Roman Telezhynskyi
65a9be6b9d
Fixed issue #967 . Variable must not include new line character.
...
(grafted from f263dbaec52fb6950e1db27c62313f57748f4838)
--HG--
branch : develop
2019-04-20 20:19:30 +03:00
Roman Telezhynskyi
0966f536b8
Fixed issue #964 . Assign operator crashes math parser.
...
(grafted from 9fd845b77249b4edc1bdc0a42dc4b32fb5f036f6)
--HG--
branch : develop
2019-04-13 18:18:48 +03:00
Roman Telezhynskyi
0987428a93
Increase required Qt version up to 5.4.
...
--HG--
branch : develop
2019-04-05 15:42:22 +03:00
Roman Telezhynskyi
35245cd161
Supress Wcast-function-type.
...
--HG--
branch : develop
2019-04-03 15:42:12 +03:00
Roman Telezhynskyi
a214a78006
Continue replacing custom *_FALLTHROUGH macroses with Q_FALLTHROUGH().
...
--HG--
branch : develop
2019-03-27 13:31:02 +02:00
Roman Telezhynskyi
1cc5fac34a
Fixing error: undefined reference to FindFirstNotOf
.
...
(grafted from 9da0b82a1e0e8f794868fa31b4a1b492f1b64c4a)
--HG--
branch : develop
2019-01-18 09:05:51 +02:00
Roman Telezhynskyi
1a44f7968a
Fixed issue #931 . Variable translation for Greek and Chinese are broken.
...
(grafted from d24d4570fc861a487cb6a1e76d2d828f1e1d7386)
--HG--
branch : develop
2019-01-17 16:08:55 +02:00
Roman Telezhynskyi
5f5b7e41fa
Enable alternative operator representations for support old or nonconforming
...
compilers by default.
--HG--
branch : develop
2018-12-11 22:27:55 +02:00
Roman Telezhynskyi
515df843d3
New function VFuzzyComparePoints to compare two points.
...
--HG--
branch : release
2018-09-27 14:52:21 +03:00
Roman Telezhynskyi
e7d0208c47
Fix typo.
...
--HG--
branch : develop
2018-06-26 21:23:22 +03:00
Roman Telezhynskyi
279fe7bff7
Cppcheck warning 'qrandCalled'.
...
--HG--
branch : develop
2018-06-26 16:24:07 +03:00
Roman Telezhynskyi
63b1eb8068
Cppcheck warning 'missingOverride'.
...
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi
2c6c537d66
String optimization.
...
--HG--
branch : develop
2018-04-22 19:06:34 +03:00
Roman Telezhynskyi
862860f016
QString optimizations.
...
--HG--
branch : develop
2018-04-22 18:32:55 +03:00
Roman Telezhynskyi
e845453f95
Optimization. Use FindFirstNotOf() that supports QString natively.
...
--HG--
branch : develop
2018-04-22 18:32:38 +03:00
Roman Telezhynskyi
29db30548d
Refactoring. Use shared data pointer for class QmuParserCallback.
...
Should speed up copying.
--HG--
branch : develop
2018-04-20 12:47:48 +03:00
Roman Telezhynskyi
2d5f84b4bf
Refactoring. Don't use old slot style in QTimer::singleShot.
...
--HG--
branch : develop
2018-04-18 11:15:53 +03:00
Roman Telezhynskyi
3970bbdbc0
Refactoring. Use QChar instead of QString where possible.
...
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi
0e3a9533af
Refactoring. Use C++11 range-based loop.
...
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi
3252130f36
Refactoring. Use C++11 range-based loop.
...
--HG--
branch : develop
2018-04-02 20:38:56 +03:00
Roman Telezhynskyi
2cb7c4c603
Utilize macro QT_DEPRECATED_WARNINGS.
...
--HG--
branch : develop
2018-03-22 19:57:56 +02:00
Roman Telezhynskyi
b547adf344
Refactor QmuTranslation to not allocate memory.
...
--HG--
branch : develop
2018-03-15 08:51:47 +02:00
Roman Telezhynskyi
6a7405b4d4
Refactoring. Use QString default constructor instead of empty string.
...
--HG--
branch : develop
2018-03-14 16:01:24 +02:00
Roman Telezhynskyi
c1cea4c441
Clazy warnings.
...
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi
3f77b979aa
Fixed issue #814 . Make "\" valid character.
...
--HG--
branch : develop
2018-02-27 10:22:08 +02:00
Roman Telezhynskyi
c7256dbe0c
Token parser should allow subexpressions.
...
--HG--
branch : develop
2018-01-31 14:30:24 +02:00
Roman Telezhynskyi
54d3ae7561
Improve parsing formulas.
...
Enable subexpressions. Allow user to define local variables.
--HG--
branch : develop
2018-01-24 22:08:53 +02:00
Roman Telezhynskyi
e784534d8e
Fix compatibility with MSVC.
...
--HG--
branch : develop
2018-01-22 10:03:04 +02:00
Roman Telezhynskyi
7bdc10419c
Speed optimization translating internal variables.
...
--HG--
branch : develop
2018-01-21 16:00:53 +02:00
Roman Telezhynskyi
e68510cc49
Speed optimization for method QmuTokenParser::IsSingle().
...
--HG--
branch : develop
2018-01-20 15:36:50 +02:00
Roman Telezhynskyi
49c091be38
Refactoring.
...
--HG--
branch : develop
2018-01-20 13:12:28 +02:00
Roman Telezhynskyi
ef3c60b459
Clang warning.
...
--HG--
branch : develop
2017-12-04 17:12:51 +02:00
Roman Telezhynskyi
a4df5612d9
Fixed issue #776 . Valentina cannot recognize translated functions.
...
(grafted from 5b89c34d11eea52b32e9fb60b87820ecc5187c31)
--HG--
branch : develop
2017-12-04 11:44:29 +02:00
Roman Telezhynskyi
191e4e7d08
Fix Valentina hang in formula CSR.
...
--HG--
branch : develop
2017-11-21 11:03:37 +02:00
Roman Telezhynskyi
f71b0fd328
Fix build on Windows.
...
--HG--
branch : develop
2017-11-13 12:59:25 +02:00