Commit graph

51 commits

Author SHA1 Message Date
Roman Telezhynskyi 03630fb273 Refactoring. 2023-05-03 14:07:08 +03:00
Roman Telezhynskyi ac244d92ee Math functions are now declared as templates. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 5335fecc98 QLocale in Qt6 now returns QString instead of QChar. 2023-02-10 17:51:21 +02:00
Roman Telezhynskyi 171b3be090 Backward compatibility for type qsizetype. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi 6e499b7245 Remove missing in Qt6 headers. 2023-02-09 17:24:02 +02:00
Roman Telezhynskyi a0224bd6a2 Fix build on Windows. 2022-08-17 10:01:51 +03:00
Roman Telezhynskyi 80d9fbc107 New function Warning. 2020-11-20 13:18:38 +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 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 515df843d3 New function VFuzzyComparePoints to compare two points.
--HG--
branch : release
2018-09-27 14:52:21 +03:00
Roman Telezhynskyi 862860f016 QString optimizations.
--HG--
branch : develop
2018-04-22 18:32:55 +03: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 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 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 da6cd92b22 Resolved issue #606. Mac OS X. Can’t type in measurements due to digit count
limitation.

--HG--
branch : develop
2017-01-03 11:14:32 +02:00
Roman Telezhynskyi 5153e997d1 Fix warning "using-directive shall not be used.".
--HG--
branch : develop
2016-12-21 14:02:55 +02:00
Roman Telezhynskyi 2d61b87256 Remove empty statement.
--HG--
branch : develop
2016-12-20 21:19:21 +02:00
Roman Telezhynskyi d66280033b Fixed issue #546. Compile error under Windows in current develop revision.
--HG--
branch : develop
2016-08-16 19:57:32 +03:00
Roman Telezhynskyi 80f00b361d Use "Include What You Use" tool for optimizing #includes.
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi be7277eeba Refactoring. Use more safe function VFuzzyComparePossibleNulls.
--HG--
branch : develop
2016-03-23 16:09:30 +02:00
Roman Telezhynskyi f1796eaf90 GCC warnings. Don't use PCH if use ccache.
--HG--
branch : develop
2015-10-26 12:04:20 +02:00
Roman Telezhynskyi 86982d3d0a Localize parser error messages.
--HG--
branch : develop
2015-10-12 15:25:44 +03:00
Roman Telezhynskyi be398bae93 cppcheck.
--HG--
branch : develop
2015-10-12 14:52:48 +03:00
Roman Telezhynskyi a869874429 Resolved issue #300. How to find even odd number.
--HG--
branch : develop
2015-05-14 19:19:23 +03:00
Roman Telezhynskyi bfbe2a5fc2 Fixed copyright notice for library qmuparser.
--HG--
branch : develop
2015-02-27 12:21:09 +02:00
Roman Telezhynskyi 8c0bdcc612 Make parser static locale variable local for each parser instance.
--HG--
branch : feature
2015-02-10 13:39:31 +02:00
dismine ea9ba2a11a Building with Clang.
--HG--
branch : develop
2014-10-03 13:32:12 +03:00
dismine 7e6cfe9f70 Change build dependence to Qt 5.0.2.
--HG--
branch : develop
2014-09-25 18:44:06 +03:00
dismine c3355e37e4 Includes for Coverity Scan, again.
--HG--
branch : develop
2014-06-17 12:50:11 +03:00
dismine 7e3dc203dc Use forward declaration.
--HG--
branch : feature
2014-06-08 21:10:57 +03:00
dismine 381adf0ba0 Dialog edit wrong formula (only for toolendline now).
--HG--
branch : feature
2014-05-30 11:32:40 +03:00
dismine ccde48e3bf Factory function for creating new parser variables. New methods what return
tokens and numbers.

--HG--
branch : feature
2014-05-22 15:11:14 +03:00
dismine 6a8869bc1b Made possible methods include.
--HG--
branch : develop
2014-05-06 17:36:42 +03:00
dismine d65368bafb Tests passed.
--HG--
branch : feature
2014-05-06 12:45:21 +03:00
dismine 79ef0e914e CppCheck.
--HG--
branch : feature
2014-05-02 11:09:10 +03:00
dismine 362638066a Vera++.
--HG--
branch : feature
2014-05-01 14:33:40 +03:00
dismine 37ecf9fd86 Fix gcc's warnings.
--HG--
branch : feature
2014-05-01 12:55:23 +03:00
dismine f505234bbd My surname like in my passport.
--HG--
branch : feature
2014-04-30 08:38:52 +03:00
dismine 2c77a73343 Apply project code style.
--HG--
branch : feature
2014-04-30 08:32:29 +03:00
dismine 0b49785255 First success build after all changes.
--HG--
branch : feature
2014-04-28 21:41:38 +03:00
dismine d8f0cc2824 Use standard math constants.
--HG--
branch : feature
2014-04-26 10:40:44 +03:00
dismine 21c38b446d Use Qt math function.
--HG--
branch : feature
2014-04-26 10:23:50 +03:00
dismine 11f527143b Used qreal for datatype. Deleted _T() macros.
--HG--
branch : feature
2014-04-25 18:01:23 +03:00