Commit graph

696 commits

Author SHA1 Message Date
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 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi 3db3d58961 Fixed issue #859. Export to DXF in console never ends.
--HG--
branch : develop
2018-06-21 14:46:55 +03:00
Roman Telezhynskyi e3cfd7a241 Fix memory leak.
--HG--
branch : develop
2018-05-10 13:46:50 +03:00
Roman Telezhynskyi fc3f8df5b0 Fix bug with caching removed items.
--HG--
branch : develop
2018-05-08 11:32:27 +03:00
Roman Telezhynskyi e7ca9294cf Refactoring. Use QChar instead of QString where possible.
Point and comma.

--HG--
branch : develop
2018-04-13 09:14:55 +03:00
Roman Telezhynskyi 1e5ee0ab8b Optimization. Move literals.
--HG--
branch : develop
2018-04-13 09:00:09 +03:00
Roman Telezhynskyi 2a3948c549 Fix broken conversion after commit abe689e42929.
--HG--
branch : develop
2018-04-13 08:44:51 +03:00
Roman Telezhynskyi e26fcb05b8 Fix typo.
--HG--
branch : develop
2018-04-13 08:43:44 +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 ef87a062fb Clang warnings.
--HG--
branch : develop
2018-04-09 11:51:25 +03:00
Ronan Le Tiec 2f4d699cb6 merge with incoming
--HG--
branch : develop
2018-04-06 23:11:20 +02:00
Ronan Le Tiec f09adc22ab resolves #826 code refactoring and corrections
--HG--
branch : develop
2018-04-06 23:08:09 +02:00
Ronan Le Tiec a56c41589c Merged dismine/valentina into develop
--HG--
branch : develop
2018-04-06 21:58:09 +02:00
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +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
Ronan Le Tiec 1526d77612 issue 826 - workind on undo redo command
--HG--
branch : feature
2018-04-01 17:19:10 +02:00
Ronan Le Tiec 2ee19af497 issue 826 start working on undo redo command
--HG--
branch : feature
2018-03-31 11:50:08 +02:00
Ronan Le Tiec d2f7a742b7 issue 826 update the drawing after adding/removing item to group
--HG--
branch : feature
2018-03-30 12:56:37 +02:00
Ronan Le Tiec 5fba6b797b issue 826 pattern modified when group modified
--HG--
branch : feature
2018-03-30 11:02:10 +02:00
Ronan Le Tiec e3f48b797f merge issue826 into feature
--HG--
branch : feature
2018-03-25 16:56:16 +02:00
Ronan Le Tiec 032783581a issue826 allow empty groups, schema version 0.7.8, update group list when adding or removing item
--HG--
branch : issue826
2018-03-25 16:43:28 +02:00
Ronan Le Tiec be44126c94 add remove item from group and add item to group in tool context menu
--HG--
branch : issue826
2018-03-24 23:42:17 +01:00
Roman Telezhynskyi 2cb7c4c603 Utilize macro QT_DEPRECATED_WARNINGS.
--HG--
branch : develop
2018-03-22 19:57:56 +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 cb5b7fcfcd Resolved issue #818. Improve Piece path validation. Check uniqueness.
--HG--
branch : develop
2018-03-05 12:05:59 +02:00
Roman Telezhynskyi 3f77b979aa Fixed issue #814. Make "\" valid character.
--HG--
branch : develop
2018-02-27 10:22:08 +02:00
Roman Telezhynskyi 1b60d5d5cf Fix bug in XSD schema. Piece path attribute visible must be a string.
--HG--
branch : develop
2018-02-13 18:01:40 +02:00
Roman Telezhynskyi c56992407e Resolved issue #667. Check for updates - Test version.
--HG--
branch : develop
2018-02-06 13:38:05 +02:00
Roman Telezhynskyi 72d832c93a Resolved issue #807. Issue with "Intersection" passmark.
--HG--
branch : develop
2018-02-04 12:35:27 +02:00
Roman Telezhynskyi 8b7494fb08 Show Forbid flipping and Force flipping options in piece context menu.
--HG--
branch : develop
2018-02-03 14:18:32 +02:00
Roman Telezhynskyi f938cc04fe Instead of refresing with time call cache refresh only if missed.
--HG--
branch : develop
2018-01-27 12:04:22 +02:00
Roman Telezhynskyi ac94ef8a94 Cppcheck warning.
--HG--
branch : develop
2018-01-26 14:49:42 +02:00
Roman Telezhynskyi 01acee890b Refresh cache for method VDomDocument::elementById() in separate thread.
--HG--
branch : develop
2018-01-26 14:43:52 +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 a91b1a3816 Speed optimization for method VAbstractPattern::ListMeasurements().
--HG--
branch : develop
2018-01-24 13:16:29 +02:00
Roman Telezhynskyi 27af6ac833 Resolved issue #392. Improve feature: Show progress bar while opening pattern
file.

--HG--
branch : develop
2018-01-22 14:26:53 +02:00
Roman Telezhynskyi 1cfd53c51e Improve XSD schema, more checks.
--HG--
branch : develop
2018-01-21 15:06:08 +02:00
Roman Telezhynskyi 7f84a09342 Optimization. Avoid expensive exception calls.
--HG--
branch : develop
2018-01-20 12:31:12 +02:00
Roman Telezhynskyi 4e79aaa77f Improve error message for incompatible format version.
--HG--
branch : develop
2018-01-13 13:42:12 +02:00
Roman Telezhynskyi 1e95ddcb19 Fix broken regex pattern inside measurements xsd scheme.
--HG--
branch : develop
2018-01-13 12:20:59 +02:00
Roman Telezhynskyi e6dcfd708b New internal variable RotationElArc.
--HG--
branch : develop
2018-01-05 21:07:47 +02:00
Roman Telezhynskyi f52b690827 Resolved issue #792. New feature. Visibility trigger for internal path.
--HG--
branch : develop
2018-01-03 19:31:50 +02:00
Roman Telezhynskyi 88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi debc37d78a Removed unused postfix operator.
--HG--
branch : develop
2017-12-04 14:32:17 +02:00
Roman Telezhynskyi cf727e0365 Fix XSD schema files.
We must not to use anchors, all regex matches are automatically anchored at both
ends.

--HG--
branch : develop
2017-12-02 19:20:24 +02:00
Roman Telezhynskyi 8dbcfb4874 Fix issue with elliptical arc. It should read but ignore attribute 'aScale'.
ref #768.

--HG--
branch : develop
2017-11-18 13:48:03 +02:00
Roman Telezhynskyi 604baa61d3 Improve Move tool. It should provide optional rotation origin point field.
ref #726.

--HG--
branch : develop
2017-11-17 12:28:57 +02:00
Roman Telezhynskyi 3510843e44 Resolved issue #726. Improve Move tool. Add optional rotate option.
--HG--
branch : develop
2017-11-13 19:39:11 +02:00
Roman Telezhynskyi 1ce645fa16 Fix bug in undocommands.
--HG--
branch : develop
2017-10-29 19:49:51 +02:00
Roman Telezhynskyi 29b23bbce3 Toggle piece node point label. ref #755.
--HG--
branch : develop
2017-10-27 11:53:35 +03:00
Roman Telezhynskyi 51e670bd84 Duplicate from GUI.
--HG--
branch : feature
2017-10-26 16:57:52 +03:00
Roman Telezhynskyi 9b54b0c069 Dialog Duplicate Detail.
--HG--
branch : feature
2017-10-25 17:49:04 +03:00
Roman Telezhynskyi 660efa3844 Fix bugs.
* * *
Fix tool union bugs.
* * *
Fix preparing pieces for layout.
* * *
Fix bug with formulas.

--HG--
branch : feature
2017-10-23 10:45:58 +03:00
Roman Telezhynskyi ca79c7ff93 Added place label.
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi baa2f4fd92 Resolved issue #768. New feature. Custom curve approximation scale.
--HG--
branch : develop
2017-10-11 13:51:06 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi 8de6fc4473 Fix XSD schema to accept number of user material placeholders up to 20.
--HG--
branch : develop
2017-09-29 11:40:57 +03:00
Roman Telezhynskyi d7b3ddc2d5 Resolved issue #758. Intersection Passmark - select which side is shown.
--HG--
branch : develop
2017-09-28 21:18:13 +03:00
Roman Telezhynskyi 657c445e46 Extract formulas from final measurements.
--HG--
branch : feature
2017-09-28 16:39:27 +03:00
Roman Telezhynskyi 8c84cff91d Read/write list of final measurements.
--HG--
branch : feature
2017-09-26 12:54:52 +03:00
Roman Telezhynskyi 6bd1a460e6 Refactor method VPattern::setCurrentData().
It should use method VAbstractPattern::getLocalHistory().

--HG--
branch : develop
2017-09-25 18:15:28 +03:00
Roman Telezhynskyi 3a358f7633 Improve dialog Increments. It should show all internal variables instead it
showed only those who were in currently selected pattern piece.

--HG--
branch : develop
2017-09-25 16:36:04 +03:00
Roman Telezhynskyi 28cd003bcc Improve converting customer name.
--HG--
branch : develop
2017-09-21 09:55:59 +03:00
Roman Telezhynskyi f7c75111ce Added support for operation tools.
--HG--
branch : feature
2017-09-20 12:10:57 +03:00
Roman Telezhynskyi 7864ae9572 Added support for tool True Darts.
--HG--
branch : feature
2017-09-20 10:19:02 +03:00
Roman Telezhynskyi 795438c202 Merge with develop.
--HG--
branch : feature
2017-09-20 08:53:44 +03:00
Roman Telezhynskyi bfe327ee13 If pattern linked to individual measurements it should get customer name from
it.

--HG--
branch : develop
2017-09-19 16:07:48 +03:00
Roman Telezhynskyi 783f2f1296 Merge with develop.
--HG--
branch : feature
2017-09-18 09:13:47 +03:00
Roman Telezhynskyi 0bfeb859f8 Fixed issue #754. Converting to new label template system cause error in cut
number.

--HG--
branch : develop
2017-09-18 09:11:39 +03:00
Roman Telezhynskyi b01adfa388 Saving to file works for simple point.
--HG--
branch : feature
2017-09-17 19:52:18 +03:00
Roman Telezhynskyi d6a956b7fa Improve VDomDocument::CollectId warning message.
--HG--
branch : develop
2017-09-11 11:45:38 +03:00
Roman Telezhynskyi d77acc524c Resolved issue #731. Improve tab Increments. Separate the tab on two:
Increments and Preview Calculation.

--HG--
branch : develop
2017-09-02 14:47:44 +03:00
Roman Telezhynskyi b7db0804dc Our new website.
--HG--
branch : develop
2017-09-01 17:04:19 +03:00
Roman Telezhynskyi 4ed21eb4d5 Clang warning.
--HG--
branch : develop
2017-08-30 10:16:40 +03:00
Roman Telezhynskyi b6bc6cbeae Added additional restriction for XSD schema.
--HG--
branch : feature
2017-08-30 09:38:33 +03:00
Roman Telezhynskyi a97821edce Read and write pattern materials.
--HG--
branch : feature
2017-08-30 08:55:07 +03:00
Roman Telezhynskyi 842dfafcd6 Fix bug. Valentina doesn't update pattern label.
--HG--
branch : develop
2017-08-23 20:54:20 +03:00
Roman Telezhynskyi af6e41d8cc Fix bug. Valentina doesn't update piece label.
--HG--
branch : develop
2017-08-23 15:26:48 +03:00
Roman Telezhynskyi 9d84412823 SonarQube warnings.
--HG--
branch : develop
2017-08-21 19:20:50 +03:00
Roman Telezhynskyi c4262903d8 Clang warning.
--HG--
branch : develop
2017-08-21 18:59:11 +03:00
Roman Telezhynskyi 6a5e684d90 Fix conversion a piece label with multiple materials.
--HG--
branch : develop
2017-08-21 18:07:30 +03:00
Roman Telezhynskyi ae870b8b2e Fix conflict of names.
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi 31beeb0756 Clang warnings.
--HG--
branch : develop
2017-08-21 16:03:43 +03:00
Roman Telezhynskyi c827152eb4 Fix error "QT_WARNING_PUSH does not name a type".
--HG--
branch : develop
2017-08-21 15:58:10 +03:00
Roman Telezhynskyi be548269f6 Cppcheck warnings.
--HG--
branch : develop
2017-08-21 15:39:05 +03:00
Roman Telezhynskyi acf429518d Added more additional Piece label fields.
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi 464a54c7ee Update label after changing date/time format.
--HG--
branch : feature
2017-08-19 19:52:33 +03:00
Roman Telezhynskyi a8d8efd889 Dialog DateTimeEditor.
--HG--
branch : feature
2017-08-19 19:10:57 +03:00
Roman Telezhynskyi 5961f52a73 Fix label conversion.
--HG--
branch : feature
2017-08-18 14:56:18 +03:00
Roman Telezhynskyi f07fd426dd Clearing old code.
--HG--
branch : feature
2017-08-18 14:22:31 +03:00
Roman Telezhynskyi 12fa4399e8 Convert piece label to new format.
--HG--
branch : feature
2017-08-18 09:02:03 +03:00
Roman Telezhynskyi ae78373f88 Read/write piece label.
--HG--
branch : feature
2017-08-18 07:59:47 +03:00
Roman Telezhynskyi c368a956b8 Fix bug. Changing pattern or measurements file name do not imidiatelly update
pattern label.

--HG--
branch : feature
2017-08-17 19:57:46 +03:00
Roman Telezhynskyi d6898af23e Refactoring. Rename method.
--HG--
branch : feature
2017-08-17 19:42:48 +03:00
Roman Telezhynskyi bc36e9bac3 Clear unused tags from code.
--HG--
branch : feature
2017-08-16 16:56:07 +03:00
Roman Telezhynskyi 3cd0c10f07 Convert old pattern label to new form.
--HG--
branch : feature
2017-08-16 16:39:16 +03:00
Roman Telezhynskyi 4d58e05f3e New option Font size increment.
Add value to point size of base font.

--HG--
branch : feature
2017-08-15 18:10:15 +03:00
Roman Telezhynskyi b212d04d11 Parse template and prepare pattern label.
--HG--
branch : feature
2017-08-15 15:22:33 +03:00
Roman Telezhynskyi 3b60eaff08 List to speed up reading a template by many pieces.
--HG--
branch : feature
2017-08-15 11:38:36 +03:00
Roman Telezhynskyi 882cf360e2 We use implicit conversion. That's why check if values are still the same as
excpected.

--HG--
branch : feature
2017-08-15 11:23:48 +03:00
Roman Telezhynskyi cd06b70c6f New pattern format version 0.6.0.
--HG--
branch : feature
2017-08-15 11:17:54 +03:00
Roman Telezhynskyi 8466e84eef Read/Write pattern label.
--HG--
branch : feature
2017-08-15 10:44:00 +03:00
Roman Telezhynskyi c989cdf048 Added import the template.
--HG--
branch : feature
2017-08-10 19:32:05 +03:00
Roman Telezhynskyi 5fa0324185 Fix translation elarc variables.
--HG--
branch : develop
2017-08-08 18:27:36 +03:00
Roman Telezhynskyi 16ec3a3ea8 User should be able to rename increments.
--HG--
branch : develop
2017-08-08 17:43:41 +03:00
Roman Telezhynskyi 6f5199c5d1 Performance optimization.
--HG--
branch : develop
2017-08-05 11:03:19 +03:00
Roman Telezhynskyi 474c0949e2 Fix translation variables.
(grafted from dff11ab321d8eb16de58f01b70913190f527809c)

--HG--
branch : develop
2017-08-04 10:28:44 +03:00
Roman Telezhynskyi 07a7b033b7 Performance improvement. Speed up method VDomDocument::elementById.
Use integer key instead of string.

--HG--
branch : develop
2017-08-02 14:40:17 +03:00
Roman Telezhynskyi acc340bff1 Performance improvement. Speed up method VDomDocument::elementById.
--HG--
branch : develop
2017-08-02 14:10:10 +03:00
Roman Telezhynskyi ca66c8ebe2 Improve performance. Calling method RefreshDataInFile() slows down parsing.
--HG--
branch : develop
2017-08-02 11:34:44 +03:00
Roman Telezhynskyi d9f93a28e4 Regular expression should support french names.
--HG--
branch : develop
2017-07-26 20:58:37 +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 4636215929 Fix bug in exception "Bad id".
Local variable hides class member.
(grafted from acb225f6c0ffc307f185f993feebfdaed79bd43b)

--HG--
branch : develop
2017-07-26 11:56:16 +03:00
Roman Telezhynskyi a6bafb77e1 Resolved issue #734. Optimization. Stop increments/variables table from
updating immediately.

--HG--
branch : develop
2017-07-23 16:52:57 +03:00
Roman Telezhynskyi d09de4155b Added new option for Internal path. ref #391.
This option is nedded for AAMA to determine a cut contour.

--HG--
branch : develop
2017-07-20 17:38:56 +03:00
Ronan Le Tiec 46f70788cf issue #654 refactoring the code so that the functions and variables are called xxx multisize xxx instead of xxx standard xxx
--HG--
branch : develop
2017-07-12 20:21:48 +02: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
Ronan Le Tiec f080b88cf7 issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
--HG--
branch : develop
2017-07-02 13:34:36 +02: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 d110dc3325 Fixed issue #706. Default unit in preferences not changing new file unit.
(grafted from f1ce177213a46538a840fc789e4e2ce3d78d98e4)

--HG--
branch : develop
2017-06-16 16:01:09 +03:00
Roman Telezhynskyi b0f867499c Resolved issue #244. New feature: Adjust line and point thickness and label
size.

--HG--
branch : develop
2017-06-16 14:53:08 +03:00
Roman Telezhynskyi 5c4f45397d Fix build on Mac OS X.
--HG--
branch : develop
2017-06-05 20:58:38 +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 7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi 965d908663 GCC warnings.
--HG--
branch : develop
2017-05-30 18:44:16 +03:00
Roman Telezhynskyi 9287acf90e Add Valentina version info inside each file before saving.
Many misunderstand purpose of tag "version" and think that this tag contains
information about the Valentina version. More info in the comment should help.

--HG--
branch : develop
2017-05-29 16:33:36 +03:00
Roman Telezhynskyi 5ed69ab633 SonarQube warnings.
--HG--
branch : develop
2017-05-16 16:09:11 +03:00
Roman Telezhynskyi 56dd8ef3b6 Resolved issue #684. Proposal: Add option to only show outer edges on detail.
--HG--
branch : develop
2017-05-16 15:16:50 +03:00
Roman Telezhynskyi 13a93ef5df Fix internal path support of pen style.
--HG--
branch : develop
2017-05-16 13:47:36 +03:00
Roman Telezhynskyi 32a16890a7 Resolved issue #681. Enhance feature: Dashed line options for curves, arcs, etc.
--HG--
branch : develop
2017-05-16 13:07:53 +03:00
Roman Telezhynskyi c9e005c65b Small improvements for passmark.
Added new option that allow localy disable the second passmark on the seam line.

--HG--
branch : release
2017-04-26 11:22:42 +03:00
Roman Telezhynskyi 7840bf04eb Resolved issue #668. Passmarks on Hems.
--HG--
branch : release
2017-04-25 11:42:08 +03:00
Roman Telezhynskyi 7734c0564b Localization improvements.
--HG--
branch : release
2017-04-21 17:28:25 +03:00
Roman Telezhynskyi 6c047b140d Resolved issue #666. QDomDocument produces random attribute order.
--HG--
branch : release
2017-04-20 19:01:08 +03:00
Roman Telezhynskyi a0262e260b Coverity scan warnings.
--HG--
branch : release
2017-04-19 12:48:13 +03:00
Roman Telezhynskyi bab0adfebc Refactoring method MUnit(). All formats have the same syntax.
--HG--
branch : release
2017-04-18 11:46:53 +03:00
Roman Telezhynskyi a1caf972a9 Warn a user when need to update a file format version.
--HG--
branch : release
2017-04-12 09:49:05 +03:00
Roman Telezhynskyi d355b4dce8 Cppcheck warnings.
--HG--
branch : develop
2017-04-06 15:50:15 +03:00
Roman Telezhynskyi c0f36dffbe Resolved issue #652. Show passmarks for builtin seam allowance.
--HG--
branch : develop
2017-04-05 13:22:33 +03:00
Roman Telezhynskyi e2383eb500 Refactoring. Use "=default" instead of the default implementation.
--HG--
branch : develop
2017-04-01 17:27:55 +03:00
Roman Telezhynskyi 9433a6b358 Refactoring. Remove unused private functions.
--HG--
branch : develop
2017-04-01 15:27:24 +03:00
Roman Telezhynskyi ebda4292a8 Merge with develop.
--HG--
branch : feature
2017-03-28 13:33:31 +03:00
Roman Telezhynskyi f8836cf563 Fix translation bug. Default names for increment and measurement should also
be validated in unit tests.

--HG--
branch : develop
2017-03-28 10:18:19 +03:00
Roman Telezhynskyi 6ac1a1247c Read/write passmark information.
--HG--
branch : feature
2017-03-24 14:48:07 +02:00
Roman Telezhynskyi 799858503f Internal path should have all attributes that has the main path.
--HG--
branch : feature
2017-03-24 13:17:14 +02:00
Roman Telezhynskyi e995f6f68a Added new tool Insert node.
--HG--
branch : feature
2017-03-22 12:05:53 +02:00
Roman Telezhynskyi 7fe86bc319 Successful build.
--HG--
branch : feature
2017-03-21 17:18:48 +02:00
Roman Telezhynskyi 96255ef093 Dialog Insert node tool.
--HG--
branch : feature
2017-03-21 15:39:14 +02:00
Roman Telezhynskyi 3a630b1ce3 Strip HTML from XSD Validator error message.
--HG--
branch : develop
2017-03-18 18:07:05 +02:00
Roman Telezhynskyi 814c2307ee Refactoring. Minor changes.
--HG--
branch : develop
2017-03-18 14:06:40 +02:00
Roman Telezhynskyi bd656bcfff Refactoring. Remove the code after these statements.
--HG--
branch : develop
2017-03-18 11:21:52 +02:00
Roman Telezhynskyi 6499c73d0c Refactoring. Merge identical cases.
--HG--
branch : develop
2017-03-18 11:04:12 +02:00
Roman Telezhynskyi 4f38a31f25 Convert label width and height to pattern units.
--HG--
branch : feature
2017-03-14 13:54:15 +02:00
Roman Telezhynskyi 6802c6f154 Write/read label center pin point.
--HG--
branch : feature
2017-03-13 16:10:25 +02:00
Roman Telezhynskyi 1ab541236d Successful build.
--HG--
branch : feature
2017-03-13 14:27:29 +02:00
Roman Telezhynskyi 3442da18ee Fix pattern format version after the merge.
--HG--
branch : feature
2017-03-10 19:14:14 +02:00
Roman Telezhynskyi 77a3845374 Updated multisize file format version.
--HG--
branch : feature
2017-03-10 11:39:20 +02:00
Roman Telezhynskyi 3e1cde0719 Updated file format version.
--HG--
branch : feature
2017-03-10 11:22:15 +02:00
Murloc 506ca0612c Add 200 in heights
--HG--
branch : feature
2017-03-09 21:41:48 +01:00
Roman Telezhynskyi 71d10dbdcb Sync grainline and lable position after correcting to parent bounding rect.
--HG--
branch : feature
2017-03-02 09:12:48 +02:00
Roman Telezhynskyi 5f4760f06f Read/write info about pin points.
--HG--
branch : feature
2017-02-23 16:49:20 +02:00
Roman Telezhynskyi 3bf65edaa6 Merge with develop.
--HG--
branch : feature
2017-02-22 14:48:48 +02:00
Roman Telezhynskyi b31a8d4c6b Extend max size to 72 cm.
Request from a user. See
http://forum.valentina-project.org/t/extension-of-standard-measurements/957

--HG--
branch : develop
2017-02-22 07:54:42 +02:00
Roman Telezhynskyi 71ac49a221 Merge with develop.
--HG--
branch : feature
2017-02-13 15:29:37 +02:00
Roman Telezhynskyi a740d52861 Fix bug. QTemporaryFile blocks a file on Windows.
--HG--
branch : develop
2017-02-07 13:44:33 +02:00
Roman Telezhynskyi 685f8a7d70 Create reserve copy only if a file is not a template.
--HG--
branch : develop
2017-02-05 11:27:30 +02:00
Roman Telezhynskyi 7d78a0f63f Resolved issue #619. Non writable directory prevents opening.
--HG--
branch : develop
2017-02-04 13:28:47 +02:00
Roman Telezhynskyi 85078691ca New version of pattern format.
--HG--
branch : feature
2017-02-01 14:18:45 +02:00
Roman Telezhynskyi 415e5a25a5 Merge with develop.
--HG--
branch : feature
2017-02-01 12:26:08 +02:00
Roman Telezhynskyi b5d50288a8 Union Details tool brokes a pattern.
--HG--
branch : develop
2017-02-01 12:22:36 +02:00
Roman Telezhynskyi ad403850bc Save pin inside a piece.
--HG--
branch : feature
2017-01-31 18:09:18 +02:00
Roman Telezhynskyi b9d635dab2 Dialog Pin tool.
--HG--
branch : feature
2017-01-31 14:28:48 +02:00
Roman Telezhynskyi 6e054e2008 Clang warning.
--HG--
branch : develop
2017-01-27 12:12:27 +02:00
Roman Telezhynskyi c3aea4e7dc Fix support old tool Union Details format.
--HG--
branch : develop
2017-01-25 19:21:44 +02:00
Roman Telezhynskyi 7f1de2e044 Refactoring. Made strings static.
--HG--
branch : feature
2017-01-25 15:47:55 +02:00
Roman Telezhynskyi 7817936d3e Fix conversion bug.
--HG--
branch : feature
2017-01-23 14:03:07 +02:00
Roman Telezhynskyi 8b1e9e24d4 Tool path and piece now bring formulas, should cover this fact.
--HG--
branch : feature
2017-01-21 17:32:08 +02:00
Roman Telezhynskyi 669d295804 Class VToolDetail removed.
--HG--
branch : feature
2017-01-21 16:30:14 +02:00
Roman Telezhynskyi 0ef10c01b0 A piece seam allowance can be controlled by formula.
--HG--
branch : feature
2017-01-21 15:24:40 +02:00
Roman Telezhynskyi 25a2717682 Added new local variable "CurrentSeamAllowance".
--HG--
branch : feature
2017-01-20 15:58:35 +02:00
Roman Telezhynskyi 6ee0c42d53 Used command "xmllint --format" to format files.
--HG--
branch : feature
2017-01-18 15:20:42 +02:00
Roman Telezhynskyi ac58338fc4 Convert old tool union to format version 0.4.0.
--HG--
branch : feature
2017-01-18 15:17:16 +02:00
Roman Telezhynskyi ccc8da800f Pieces should disappear from the list when deleted.
--HG--
branch : feature
2017-01-18 12:22:02 +02:00
Roman Telezhynskyi 7aebc22d88 Use MessageHandler to show better error message when load xsd schema.
--HG--
branch : feature
2017-01-17 12:26:25 +02:00
Roman Telezhynskyi 8eba46ade1 The tool redesign was finnised. Code is not tested.
--HG--
branch : feature
2017-01-16 17:37:15 +02:00
Roman Telezhynskyi 5442eb40b9 Move methods to class VAbstractPattern to be able to use them for tool Unite
Details.

--HG--
branch : feature
2017-01-16 11:59:02 +02:00
Roman Telezhynskyi 7f105e97e0 Port changes from issue #606.
--HG--
branch : feature
2017-01-03 11:50:55 +02:00
Roman Telezhynskyi b4c4a22a4c Merge with develop.
--HG--
branch : feature
2017-01-03 11:48:22 +02:00
Roman Telezhynskyi c79c4ed256 Update name regex to support all supported locales.
--HG--
branch : develop
2017-01-03 11:02:24 +02:00
Roman Telezhynskyi 0467033855 Fix potential memory leak.
--HG--
branch : develop
2017-01-03 10:58:52 +02:00
Roman Telezhynskyi 0419f60e0b Merge with develop.
--HG--
branch : feature
2016-12-23 12:58:17 +02:00
Roman Telezhynskyi 2d61b87256 Remove empty statement.
--HG--
branch : develop
2016-12-20 21:19:21 +02:00
Roman Telezhynskyi ffab000e0f Remove empty statement.
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi 0882313f1e Merge with develop.
--HG--
branch : feature
2016-12-20 17:42:51 +02:00
Roman Telezhynskyi 1fb0ab4d75 Added VNodeEllipticalArc.
--HG--
branch : develop
2016-12-20 16:51:58 +02:00
Roman Telezhynskyi 81eb33fe63 Merge with develop.
--HG--
branch : feature
2016-12-20 14:39:05 +02:00
Roman Telezhynskyi 1c9360ff1c Complete conversion to v0.3.9.
--HG--
branch : feature
2016-12-19 15:14:13 +02:00
Roman Telezhynskyi 24970440b7 Elliptic arc bring new formulas that we should also cover.
--HG--
branch : feature
2016-12-19 14:56:39 +02:00
Roman Telezhynskyi b729f4dacb Fix schema.qrc.
--HG--
branch : feature
2016-12-19 14:35:57 +02:00
Valentina Zhuravska a8a3487996 Added new schema v0.3.9.
--HG--
branch : feature
2016-12-17 03:53:47 +02:00
Valentina Zhuravska aa24976f9a Added elliptical arc tool to MainWindow.
--HG--
branch : feature
2016-12-17 03:17:29 +02:00
Roman Telezhynskyi 641a807f24 Fix VToolPiecePath visualization.
--HG--
branch : feature
2016-12-03 18:44:24 +02:00
Roman Telezhynskyi 35f54c5cc7 Added Internal path.
--HG--
branch : feature
2016-12-03 18:01:39 +02:00
Roman Telezhynskyi 939644692d Convert all mx and my values to local seam allowance.
--HG--
branch : feature
2016-12-01 20:47:15 +02:00
Roman Telezhynskyi 5cbb33a635 Each VPiecePath has a name.
--HG--
branch : feature
2016-11-29 14:28:46 +02:00
Roman Telezhynskyi 5156e0cf25 Read/write piece path include type.
--HG--
branch : feature
2016-11-28 14:52:31 +02:00
Roman Telezhynskyi f56ea24810 Custom Path will work in two modes. The first extend automatic seam allowance,
the second show custom deam allowance. In this case a path must have options
for controling seam allowance.

--HG--
branch : feature
2016-11-28 11:58:44 +02:00
Roman Telezhynskyi 530203966e Added custom seam allowance to XSD schema.
--HG--
branch : feature
2016-11-28 11:22:29 +02:00
Roman Telezhynskyi 6c04b2e7ca Remove attribute "typeObject" since 0.4.0.
--HG--
branch : feature
2016-11-25 13:19:38 +02:00
Roman Telezhynskyi 39b27e4b24 New class VToolPiecePath.
--HG--
branch : feature
2016-11-24 21:35:54 +02:00
Roman Telezhynskyi 0e78efc714 Move tag strings from VToolSeamAllowance class to VAbstractPattern class. The
same strings use also VToolPiecePath class.

--HG--
branch : feature
2016-11-24 21:35:07 +02:00
Roman Telezhynskyi 965e588a9d New piece attribute "united".
--HG--
branch : feature
2016-11-23 18:40:27 +02:00
Roman Telezhynskyi 826411d595 Make method GetActivDrawElement protected.
--HG--
branch : feature
2016-11-23 18:38:08 +02:00
Roman Telezhynskyi 6b89f43e87 Tool button connected to tool dialog.
--HG--
branch : feature
2016-11-22 14:33:08 +02:00
Roman Telezhynskyi c21aedc541 A seam allowance node angle. Read, write and set in the dialog. Not handled in
seam allowance itself.

--HG--
branch : feature
2016-11-19 13:44:12 +02:00
Roman Telezhynskyi d0b0f55d19 Read and write local seam allowance width (before and after).
--HG--
branch : feature
2016-11-12 13:18:16 +02:00
Roman Telezhynskyi a5fc19d7ec Returned storing and reading base seam allowance values: width and
enable/disable.

--HG--
branch : feature
2016-11-10 12:53:02 +02:00
Roman Telezhynskyi de6015de4d Method GetParametrBool() should allow convert strings "1" and "0" to boolean.
--HG--
branch : feature
2016-11-10 12:51:06 +02:00
Roman Telezhynskyi df20415e9e Returned "Forbid flipping" feature.
--HG--
branch : feature
2016-11-10 11:56:40 +02:00
Roman Telezhynskyi 39d2ea41ac Returned undocommand "Toggle piece in layout".
--HG--
branch : feature
2016-11-09 15:53:22 +02:00
Roman Telezhynskyi 8601b2ae2a Returned undocommand "Move piece".
--HG--
branch : feature
2016-11-09 13:06:05 +02:00
Roman Telezhynskyi 5f6b394934 Added more static asserts to check minimally supported file format versions.
--HG--
branch : feature
2016-11-08 17:07:16 +02:00
Roman Telezhynskyi 4cfcf5ad8d New pattern format version 0.4.0.
Convert tag detail to new version.

--HG--
branch : feature
2016-11-08 16:32:18 +02:00
Roman Telezhynskyi 4a41840ae7 New class VToolSeamAllowance.
--HG--
branch : feature
2016-11-08 12:57:01 +02:00
Roman Telezhynskyi db1cdc3d53 Fixed typo.
--HG--
branch : develop
2016-10-31 09:30:10 +02:00
Roman Telezhynskyi 3e8f8a8069 Resolved issue #582. Issue with standard path to shared data on Linux.
--HG--
branch : develop
2016-10-30 14:34:55 +02:00
Roman Telezhynskyi 4930414432 Fixed missed values for baseHeight in XSD files. ref #580.
--HG--
branch : develop
2016-10-27 12:43:57 +03:00
Roman Telezhynskyi b644209406 Resolved issue #580. Extend the list of heights.
--HG--
branch : develop
2016-10-26 14:49:09 +03:00
BojanKverh 96cfc52202 At least one arrow has to be present on a grainline
--HG--
branch : feature
2016-10-25 23:00:42 +02:00
BojanKverh 21cd56463c User can now turn on/off grainline arrows
--HG--
branch : feature
2016-10-25 00:53:01 +02:00
BojanKverh 0ca37fdecb Merged grainline data into v0.3.7 schema
--HG--
branch : feature
2016-10-23 17:59:03 +02:00
Bojan Kverh 01c068ddd0 Merged develop into feature
--HG--
branch : feature
2016-10-23 15:28:40 +02:00
Ronan Le Tiec ae9da263ab issue #570 tiled pdf case when margin smaller than min
--HG--
branch : feature
2016-10-23 11:11:00 +02:00
Ronan Le Tiec 588da2c9a8 corrections to support pattern schema v0.3.7
--HG--
branch : feature
2016-10-16 20:38:29 +02:00
Ronan Le Tiec f91b3dc955 10 new colors added for the lines #577
--HG--
branch : feature
2016-10-16 19:23:40 +02:00
Bojan Kverh e1a4eeb4e4 Merged develop into feature
--HG--
branch : feature
2016-10-15 11:50:17 +02:00
Roman Telezhynskyi 972c70e608 Selected detail is also selected in the list.
--HG--
branch : develop
2016-10-14 21:33:12 +03:00
Roman Telezhynskyi d38e81cecb Added new option "In layout" to context menu tool Detail.
--HG--
branch : develop
2016-10-14 20:41:37 +03:00
BojanKverh b755762aec Merged develop into feature
--HG--
branch : feature
2016-10-05 20:27:57 +02:00
Roman Telezhynskyi abce5439a5 Resolved issue #573. New tool: 'Move Point'.
--HG--
branch : develop
2016-10-04 17:34:37 +03:00
Roman Telezhynskyi 0127f745c6 Improve efficiency using QStringLiteral macros.
--HG--
branch : develop
2016-10-04 16:44:11 +03:00
Roman Telezhynskyi 9103c8ef15 Remove thousand seaparator according to xml specification for type xs:decimal.
--HG--
branch : develop
2016-10-04 16:43:06 +03:00
BojanKverh 60462bc303 Fixed some code style and replaced some code with more appropriate one according to general recommendations
--HG--
branch : feature
2016-09-29 02:13:18 +02:00
BojanKverh 744acbcd3b Merged with develop
--HG--
branch : feature
2016-09-27 22:00:02 +02:00
Roman Telezhynskyi 014ce1e45e Translation for new internal variable.
--HG--
branch : develop
2016-09-26 22:33:28 +03:00
Roman Telezhynskyi 3bb657ea1a New internal variable "Length to spline control point".
--HG--
branch : develop
2016-09-24 20:44:06 +03:00
BojanKverh f89b5a8a10 Fixed schema.qrc
--HG--
branch : feature
2016-09-20 19:42:27 +02:00
BojanKverh 5f1d7a357a Merged develop into feature, removing the conflicts
--HG--
branch : feature
2016-09-20 19:29:49 +02:00