Commit graph

52 commits

Author SHA1 Message Date
Roman Telezhynskyi 2788e0a136 Successful build of test binaries. 2023-01-04 21:00:11 +02:00
Roman Telezhynskyi eb38a1c26f Successful build of main binaries. 2023-01-04 18:31:50 +02:00
Roman Telezhynskyi 64bfafb1d3 Fix build on Windows.
error: must #include <typeinfo> before using typeid.
2022-11-14 20:16:20 +02:00
Roman Telezhynskyi 595cbc44ac Decrease accuracy to fix float point issues. 2022-11-11 20:50:10 +02:00
Roman Telezhynskyi a329444b4b GCC warning. 2022-11-11 19:03:34 +02:00
Roman Telezhynskyi 5a3669e42b Improve testing paths. 2022-11-11 17:57:34 +02:00
Roman Telezhynskyi 3379fca082 Clang warning. 2022-11-10 17:00:41 +02:00
Roman Telezhynskyi a2a8f7a4f0 Clang warning. 2022-11-10 16:15:11 +02:00
Roman Telezhynskyi 60b4851753 Fix reading json. 2022-10-29 14:46:10 +03:00
Roman Telezhynskyi bd10a78f55 Successful compilation. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi 70168ebe6c Fix support Visual Studio 2015. 2022-09-02 17:14:03 +03:00
Roman Telezhynskyi 0ab0edc654 Refactoring. 2022-08-12 18:50:22 +03:00
Roman Telezhynskyi b2f9d00182 Disable Wstringop-overflow on global level because cannot suppress warnings in Qt headers. 2021-09-24 19:00:09 +03:00
Roman Telezhynskyi d83039c4ee Compiler warnings. 2021-09-24 16:53:47 +03:00
Roman Telezhynskyi 391a721d84 Fix GCC warnings. 2021-07-01 16:03:38 +03:00
Roman Telezhynskyi 6abddfd240 Standard passmarks length for all pieces. Closes #124 2021-05-10 16:39:17 +03:00
Roman Telezhynskyi 1cccaf097c Fix incorrect elliptical arc end angle. Closes #121 2021-04-20 19:56:30 +03:00
Roman Telezhynskyi d5310d8ae1 Fix incorrect seam allowance. Closes #112 2021-03-30 16:20:38 +03:00
Roman Telezhynskyi 707e0e682d Improve point comparison. Loose restrictions for distance between points. smart-pattern/valentina#103
- Instead of default value for accuracy use 1 mm. This should help to cover more false positive cases.
- All tests are now enabled on all platforms.
- Added calculation of a distance between points to see exactly how big is difference.
2021-03-04 13:53:22 +02:00
Roman Telezhynskyi 3c0c624682 Don't check warnings for a legacy mac os x build. 2020-12-26 19:44:55 +02:00
Roman Telezhynskyi abe92c667d Temporary enable full output for macosx. 2020-12-25 09:40:18 +02:00
Roman Telezhynskyi 3c7f565d86 Fix build. 2020-11-12 17:30:30 +02:00
Roman Telezhynskyi 34fd0b81bf Allow controlling collection timeout over environment variable VTEST_RUN_TIMEOUT. #79 2020-11-12 16:01:10 +02:00
Roman Telezhynskyi 93fb90153f Fix finding the latest tag distance.
Switch to git.
2020-01-31 09:00:40 +02:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi cf1e383d7b Don't use 'char' as a type of enum class.
QDataStream doesn't support serialization for this type.

--HG--
branch : develop
2020-01-07 12:54:01 +02:00
Roman Telezhynskyi aa6a75298c error C2440: 'static_cast': cannot convert from 'double' to 'PassmarkLineType'.
Conversions between enumeration and floating point values are no longer allowed.

--HG--
branch : develop
2019-09-05 17:21:06 +03:00
Roman Telezhynskyi d791649170 Suppress MinGW warning.
--HG--
branch : develop
2019-09-05 14:59:22 +03:00
Roman Telezhynskyi 20abb9979e Fix broken tests.
--HG--
branch : develop
2019-09-05 14:13:22 +03:00
Roman Telezhynskyi 7e04c412de Suppress MinGW warning.
--HG--
branch : develop
2019-09-02 09:37:37 +03:00
Roman Telezhynskyi 833a092b27 Refactoring. Fix bug in reading vector from Json.
--HG--
branch : develop
2019-08-31 09:34:39 +03:00
Roman Telezhynskyi df3684d2a1 VPiece to JSON.
Strict version to support Unit tests.

--HG--
branch : develop
2019-08-29 15:01:27 +03:00
Roman Telezhynskyi 4876560b5d MSVC error C2440: 'static_cast': cannot convert from 'double' to 'PieceNodeAngle'.
--HG--
branch : develop
2019-08-07 20:28:36 +03:00
Roman Telezhynskyi 8332d4b15b Serialization a point to json. ref #874.
--HG--
branch : develop
2019-08-07 17:53:18 +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 0987428a93 Increase required Qt version up to 5.4.
--HG--
branch : develop
2019-04-05 15:42:22 +03:00
Roman Telezhynskyi 6efc6f11c8 Fixed issue #924. Valentina produces wrong passmark for rollback case.
(grafted from 5ff3a91f41efebed4963d3377cb2f194983cc7f7)

--HG--
branch : develop
2019-01-09 17:46:02 +02:00
Roman Telezhynskyi d5d8104d3a Improve test verbosity. Read from stderr to provide more information. ref #917.
(grafted from 33a876f6910d456af8f6e8df34540a23cb45361c)

--HG--
branch : develop
2019-01-02 16:28:51 +02:00
Roman Telezhynskyi b825a9084e Improving tests. Comparisons for TST_FindPoint is too precise. ref #918.
(grafted from 0a47a319a9450b3d30f0d7f8d00675628744d58a)

--HG--
branch : develop
2019-01-02 15:58:59 +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 44709728df Fix fatal build error: QPrinter: No such file or directory.
--HG--
branch : develop
2018-07-25 15:31:18 +03:00
Roman Telezhynskyi fd85efacd9 Resolved issue #862. Force Valentina to immediately terminate if a pattern
contains a parsing warning.

--HG--
branch : develop
2018-07-13 16:18:04 +03:00
Roman Telezhynskyi 598fea3969 Refactoring. Use QStringLiteral instead of QString.
--HG--
branch : develop
2018-06-21 14:41:36 +03:00
Roman Telezhynskyi 6b6a2632a9 Refactoring. Replacing all Q_FOREACH/foreach loops with the c++ range-based
loops.

--HG--
branch : develop
2018-04-03 11:15:58 +03:00
Roman Telezhynskyi 2cb7c4c603 Utilize macro QT_DEPRECATED_WARNINGS.
--HG--
branch : develop
2018-03-22 19:57:56 +02:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi d0cc8902f9 SonarQube warnings.
--HG--
branch : develop
2017-07-09 09:02:26 +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