Commit graph

560 commits

Author SHA1 Message Date
Roman Telezhynskyi 2b7769c80e Improve multisize measurements format. Allow decimal step 0.5. 2021-01-18 20:44:06 +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 80d9fbc107 New function Warning. 2020-11-20 13:18:38 +02:00
Roman Telezhynskyi 3a76f5f0cb Change value for an uninitialized local variable to NAN. 2020-11-09 13:39:32 +02:00
Roman Telezhynskyi 87889196b8 Cppcheck warning. 2020-11-07 17:43:49 +02:00
Roman Telezhynskyi 3e682b180c Alias field for tool Cut Spline Path. 2020-11-04 18:14:34 +02:00
Roman Telezhynskyi 2574ecda0e Alias field for tool Cut Arc. 2020-11-04 18:14:34 +02:00
Roman Telezhynskyi b1f9327393 Alias field for tool Spline Path. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi a5f65c319c Alias field for tool Cubic Bezier. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi 7542fc5dc2 Alias field for tool Arc with length. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi 8b49ea68c8 Add alias support for internal variables. 2020-11-04 16:17:16 +02:00
Roman Telezhynskyi 49d3ad1f80 Merge branch 'multisize-measurements-tables-improvement' into develop 2020-10-16 14:45:35 +03:00
Roman Telezhynskyi 34e1391ecb Remove translation for label placeholders. 2020-10-16 13:55:51 +03:00
Roman Telezhynskyi d10f20f399 Extend placeholders list with list of measurements. 2020-10-16 13:43:54 +03:00
Roman Telezhynskyi 3133ae1609 Clean code. 2020-10-16 12:02:32 +03:00
Roman Telezhynskyi 18e1a4a601 Remove gradation information from pattern. 2020-10-16 08:22:43 +03:00
Roman Telezhynskyi 4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi 23e6d0f830 Allow a user to select dimensions for individual measurements. 2020-10-15 09:35:08 +03:00
Roman Telezhynskyi 8c0bcfec37 Fix regression in VAbstractCurve::CurveIntersectLine. 2020-10-13 12:12:52 +03:00
Roman Telezhynskyi 4a12c1ca74 Continue improving dialog Dimension restrictions. 2020-10-06 18:00:53 +03:00
Roman Telezhynskyi 1483f7a0cc Improve warning about error in calculating a curve segment.
Added in the message information about the path name.

(cherry picked from commit 75e296e839)
2020-10-05 16:50:14 +03:00
Roman Telezhynskyi 75e296e839 Improve warning about error in calculating a curve segment.
Added in the message information about the path name.
2020-10-05 16:39:01 +03:00
Roman Telezhynskyi a083d2ff18 Hash must contains only active dimensions. 2020-10-03 18:53:36 +03:00
Roman Telezhynskyi 16ce597a37 Reading/Writing a measurement data. 2020-10-03 18:53:36 +03:00
Roman Telezhynskyi eb04357f51 Small improvement for debugging paths.
Show node index number.
2020-07-31 16:34:37 +03:00
Roman Telezhynskyi 9389cb546c Refactoring. Redesign a container reversing method. 2020-07-13 16:28:59 +03:00
Roman Telezhynskyi 5618df2b66 Fix build. Add missing headers. Closes #54 2020-07-10 20:15:46 +03:00
Roman Telezhynskyi f978db470d Refactoring name. 2020-02-27 17:28:20 +02:00
Roman Telezhynskyi ad87577ec8 Translation functions descriptions. 2020-02-27 17:26:32 +02:00
Roman Telezhynskyi 8c9eec2448 Option Pattern Piece -> Show main path doesn't show second passmarks on main path. 2020-02-25 08:44:13 +02:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 0373f727c5 Allow visibility control of passmarks.
Passmark with 0 length and enabled manual control must not be visible. Equal to
not passmark state.

--HG--
branch : develop
2020-01-10 12:19:07 +02:00
Roman Telezhynskyi 40363230dc Resolved issue #984. Issue with up to date list of unique names.
--HG--
branch : develop
2020-01-09 15:14:05 +02:00
Roman Telezhynskyi 5658e0b0d5 Fix copy paste error.
--HG--
branch : develop
2020-01-07 14:21:47 +02:00
Roman Telezhynskyi b3f236dbb5 Refactoring. Rename ArrowType enum class.
--HG--
branch : develop
2020-01-07 13:54:23 +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 5177057be1 Since Qt 5.14 enumerations can be serialized through QDataStream without the
need of manually defining streaming operators. Enum classes are
serialized using the declared size.

--HG--
branch : develop
2020-01-07 09:45:26 +02:00
Roman Telezhynskyi 1f6285aef9 Fix deprecation warnings.
(grafted from 686129d90f37b8d0c428092668673d44f06545d8)

--HG--
branch : develop
2020-01-06 20:10:09 +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 1217616813 Refactoring.
Pass VContainer::AddVariable only a variable, the variable already knows its
name.

--HG--
branch : develop
2019-11-24 13:09:16 +02:00
Roman Telezhynskyi c924a6f700 New class VRawSAPoint.
Post processing a seam allowance.

--HG--
branch : develop
2019-11-03 10:01:32 +02:00
Roman Telezhynskyi 8f6ae65224 New feature Pattern Messages.
Added special field to show pattern warnings instead of warning dialogs.
Fixed issue with tabified dockwidgets.

--HG--
branch : develop
2019-10-28 17:44:31 +02:00
Roman Telezhynskyi c802df2b73 Lupdate warnings.
Lupdate lacks of some features to support all C++ valid declarations.

--HG--
branch : develop
2019-09-10 16:57:31 +03:00
Roman Telezhynskyi 20abb9979e Fix broken tests.
--HG--
branch : develop
2019-09-05 14:13:22 +03:00
Roman Telezhynskyi 12234d2f10 Clazy warning.
--HG--
branch : develop
2019-08-29 15:04: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 04af0170ff New debugging section.
--HG--
branch : develop
2019-08-06 16:38:32 +03:00
Roman Telezhynskyi ed1439613e Fixed issue #718, "Error when using measurement A23 waist_to_floor".
(grafted from 39075c5793253189542fb8dabb2bf032f42f047f)

--HG--
branch : develop
2019-07-21 21:30:26 +03:00
Roman Telezhynskyi 965cf34c15 Completed generation of recipe.
--HG--
branch : feature
2019-07-11 13:47:55 +03:00
Roman Telezhynskyi e8804c90bb New layout option --nestQuantity.
--HG--
branch : develop
2019-07-04 14:33:45 +03:00
Roman Telezhynskyi 3212fc6136 Fix issue with a passmark.
--HG--
branch : develop
2019-07-02 19:41:49 +03:00
Roman Telezhynskyi 2b2924911c Supress Cppcheck warnings.
--HG--
branch : develop
2019-07-01 18:44:18 +03:00
Roman Telezhynskyi 762b0fc1d0 Fix build.
--HG--
branch : develop
2019-07-01 13:49:10 +03:00
Roman Telezhynskyi 03b8758781 All classes which work with QDataStream must provide a header.
--HG--
branch : develop
2019-07-01 13:25:03 +03:00
Roman Telezhynskyi 0658d92688 New marcos Q_DISABLE_ASSIGN.
--HG--
branch : develop
2019-07-01 11:33:29 +03:00
Roman Telezhynskyi 0330869796 Serialization/deserialization for class VLayoutPiece.
--HG--
branch : develop
2019-07-01 11:02:09 +03:00
Roman Telezhynskyi ed1e438d48 Fix crash.
If intial formula value is incorrect calling a formula wizard will call an
exception and the aplication will terminate.

--HG--
branch : develop
2019-06-03 12:19:12 +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 d58b3f523d Methods to get a passmark base lines.
--HG--
branch : develop
2019-05-27 17:05:42 +03:00
Roman Telezhynskyi 6294dc0748 New struct VLayoutPassmark to store data about a passmark.
--HG--
branch : develop
2019-05-27 14:57:36 +03:00
Roman Telezhynskyi 8b0f1c0cc9 Clang warning.
--HG--
branch : develop
2019-05-08 20:28:48 +03:00
Roman Telezhynskyi a05bf82c24 Clang warning.
--HG--
branch : develop
2019-05-08 20:05:26 +03:00
Roman Telezhynskyi 2247cf330e Cppcheck warning.
--HG--
branch : develop
2019-05-08 19:54:30 +03:00
Roman Telezhynskyi 3b51ccb31d Refactoring. Move drawing passmarks to separate class.
--HG--
branch : develop
2019-05-08 15:19:03 +03:00
Roman Telezhynskyi 012eef24f6 Fixed missed attributes.
--HG--
branch : develop
2019-05-08 15:18:16 +03:00
Roman Telezhynskyi 4192af8117 Refactoring.
--HG--
branch : develop
2019-05-08 15:17:34 +03:00
Roman Telezhynskyi 851ed6590c Correct passmark shape. It shouldn't go beyond a piece path.
--HG--
branch : develop
2019-04-23 21:24:45 +03:00
Roman Telezhynskyi 2c58263df1 Two new passmark types: U and Box.
--HG--
branch : develop
2019-04-23 20:56:11 +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 4fa73c302c Local seam allowance can be 0. ref #965.
--HG--
branch : develop
2019-04-17 16:08:48 +03:00
Roman Telezhynskyi 7f01a989dd Catch null length passmarks.
--HG--
branch : develop
2019-04-17 14:59:54 +03:00
Roman Telezhynskyi 52dfb912ee Resolved issue #965. Control passmark length with formula.
--HG--
branch : develop
2019-04-17 13:02:22 +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 5008c2c248 Fix warning: catching polymorphic type 'class VExceptionBadId' by value
[-Wcatch-value=].

--HG--
branch : develop
2019-03-05 11:42:38 +02:00
Roman Telezhynskyi 33d83cedea Improve VPiece::IsSeamAllowanceValid. If called for piece without seam
allowance return true.

--HG--
branch : develop
2019-03-01 17:20:21 +02:00
Roman Telezhynskyi 77ae13ae18 New pedantic check. Check if allowance path is valid.
This check validate seam allowance path and layout allowance path.

--HG--
branch : develop
2019-02-23 18:43:06 +02:00
Roman Telezhynskyi 8424222e7c Introducing method UniteMainPathPoints. This method will be usefull if need
return "invisible" path after including custom seam allowance as main path.

--HG--
branch : develop
2019-02-11 15:00:32 +02:00
Roman Telezhynskyi 864d3568c0 Resolved issue #932. 2nd version V passmarks.
--HG--
branch : develop
2019-01-24 09:26:57 +02:00
Roman Telezhynskyi 86ec5e7254 Fixed build error on aarch64. Enumerator value '-1' is outside the range of
underlying type 'char'.
(grafted from 1b4a6dbdc42664a5763d278ed4a2f4eba5dd749f)

--HG--
branch : develop
2019-01-21 13:13:54 +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 5641173e81 Cppcheck warning.
--HG--
branch : develop
2019-01-16 16:39:44 +02:00
Roman Telezhynskyi e91c92d4a9 Resolved issue #929. New variable type: Separator.
--HG--
branch : develop
2019-01-16 16:24:41 +02: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 7caf42cf48 Since Q5.4 available support C++14. Some libraries still missed use.
--HG--
branch : develop
2018-12-23 20:27:24 +02:00
Roman Telezhynskyi 6403941406 Fixed issue #914. Filtering custom seam allowance paths prevent including more
than one.
(grafted from 07fec74fad050330a1161776e27bb6c877354a59)

--HG--
branch : develop
2018-12-21 13:01:32 +02:00
Roman Telezhynskyi c782bf37db Fixed issue #909. Valentina produces wrong united path.
(grafted from 6f13c33817dd37d3679398274e697e3da87dbbd0)

--HG--
branch : develop
2018-12-19 09:19:37 +02:00
Roman Telezhynskyi f3c893d43a Try direct header to fix errors: use of undeclared identifier 'qIsInf' and use
of undeclared identifier 'qIsNaN'.

--HG--
branch : develop
2018-12-11 12:55:03 +02:00
Roman Telezhynskyi c09e7d4d65 Add core library as dependency to static libraries.
--HG--
branch : develop
2018-12-11 11:59:15 +02:00
Roman Telezhynskyi 5dd0fca9a9 Fixing errors: use of undeclared identifier 'qIsInf' and use of undeclared
identifier 'qIsNaN'.

--HG--
branch : develop
2018-12-11 11:02:47 +02:00
Roman Telezhynskyi cf3be706c2 Optimization. Update increments only if necessary.
--HG--
branch : develop
2018-11-24 16:47:44 +02:00
Roman Telezhynskyi 1d0b5790ae Be more pedantic. Show warning for case where Valentina cannot build a seam
allowance.

--HG--
branch : develop
2018-10-22 14:43:06 +03:00
Roman Telezhynskyi 427d3d48c2 Fixing a notch distortion.
User may assume a notch is not precisely position because of accuracy issue. To
avoid this force search of "real intersection".

--HG--
branch : develop
2018-10-20 22:18:27 +03:00
Roman Telezhynskyi 2211e2b7ee Fixed issues with seam allowance.
More cases.
(grafted from 7324a77cb8851a215d26269a8db7106a653915fd)

--HG--
branch : develop
2018-10-19 16:54:06 +03:00
Roman Telezhynskyi 81d2eb513a Fixed issues with seam allowance.
(grafted from 79a6fe52de80fc8707e24574eff1ec75eb1cd424)

--HG--
branch : develop
2018-10-17 18:12:39 +03:00
Roman Telezhynskyi db478562ee Fixed issue #885. Regression. Broken support for multi size measurements.
(grafted from 1a0becf32c00518f126cd0e7325c0eb2bbdcc18e)

--HG--
branch : develop
2018-10-12 13:06:03 +03:00
Roman Telezhynskyi 577065539c Show warning message for definately not valid case.
--HG--
branch : release
2018-09-29 22:01:13 +03:00
Roman Telezhynskyi 4f7f907d8d Remove checks those cover valid case of passmark collapse.
--HG--
branch : release
2018-09-29 19:36:55 +03:00
Roman Telezhynskyi 10a20b08b8 Be pendantic about notch errors.
--HG--
branch : release
2018-09-28 14:29:10 +03:00