Commit Graph

236 Commits

Author SHA1 Message Date
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
Roman Telezhynskyi
d5cd6095e5 Clang warning.
--HG--
branch : develop
2017-11-13 11:50:09 +02:00
Roman Telezhynskyi
132b7c9fc6 CSR - special modeling case.
--HG--
branch : develop
2017-11-13 10:53:27 +02:00
Roman Telezhynskyi
0adfbb8fb1 New math parser function "r2cm". Round to up to 1 decimal.
--HG--
branch : develop
2017-09-29 17:47:11 +03:00
Roman Telezhynskyi
d9f93a28e4 Regular expression should support french names.
--HG--
branch : develop
2017-07-26 20:58:37 +03:00
Roman Telezhynskyi
08945f71f2 Fix build on Windows.
--HG--
branch : develop
2017-07-26 20:13:15 +03:00
Roman Telezhynskyi
f9f241ac25 Fix variable name regular expression.
Forbid characters "." and ",".

--HG--
branch : develop
2017-07-26 19:28:26 +03:00
Roman Telezhynskyi
1726b55339 GCC warnings.
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi
b6e0d97df0 Qmake. Fix masks to support 64 bit versions of compilers.
--HG--
branch : develop
2017-07-05 11:35:32 +03:00
Roman Telezhynskyi
72ea1997fb Fixed issue #715. Build fails with Qt 5.9.1 / clang / macOS.
(grafted from d78ca13c4891ccf3542b0704a7d66af0f9b02938)

--HG--
branch : develop
2017-07-01 21:38:26 +03:00
Roman Telezhynskyi
3a4871fcd0 SonarQube warnings.
--HG--
branch : develop
2017-06-05 19:47:25 +03:00
Roman Telezhynskyi
cc5641a15c Added gcc’s 4.9.0 Undefined Behavior Sanitizer (ubsan).
--HG--
branch : develop
2017-06-01 10:14:17 +03:00
Roman Telezhynskyi
bd72aa29cc Try to fix tests.
--HG--
branch : develop
2017-05-30 20:56:59 +03:00
Roman Telezhynskyi
2dcfe1c84b Since Q5.4 available support C++14.
--HG--
branch : develop
2017-05-30 18:54:54 +03:00
Roman Telezhynskyi
965d908663 GCC warnings.
--HG--
branch : develop
2017-05-30 18:44:16 +03:00
Roman Telezhynskyi
c0d79afb85 Merge with release. 2017-05-09 18:18:31 +03:00
Roman Telezhynskyi
1a2def2bca SonarQube warnings.
--HG--
branch : release
2017-04-27 16:45:29 +03:00
Roman Telezhynskyi
73c035ecc9 Fix bug with trigonometric functions.
Functions sin(), cos() and tan() take radians. And their counterparts asin(),
acos() and atan() return radians. Removed hyperbolic functions because they do
not work with radians.

--HG--
branch : release
2017-04-14 18:42:49 +03:00
Roman Telezhynskyi
d355b4dce8 Cppcheck warnings.
--HG--
branch : develop
2017-04-06 15:50:15 +03:00
Roman Telezhynskyi
d696af9a33 "static" members should be accessed statically.
--HG--
branch : develop
2017-03-23 10:25:46 +02:00
Roman Telezhynskyi
360c5ef604 Use Qt built in functions qRadiansToDegrees and qDegreesToRadians.
--HG--
branch : develop
2017-02-27 23:03:07 +02:00
Georg von Zengen
159432927a qmuparser: added triangular functions that work with degree
new functions are: degTorad, radTodeg, , sinD, cosD, tanD, asinD, acosD , atanD, sinhD, coshD , tanhD, asinhD, acoshD, atanhD

--HG--
branch : feature
2017-02-27 20:42:35 +01:00
Roman Telezhynskyi
01612c4c7c GCC warning.
--HG--
branch : develop
2017-02-26 12:17:58 +02:00
Roman Telezhynskyi
38abf5c9a0 Removed redundant forward declaration.
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi
252e6a1368 Clang warning.
--HG--
branch : develop
2017-01-27 11:37:55 +02:00