Commit graph

309 commits

Author SHA1 Message Date
Roman Telezhynskyi 515df843d3 New function VFuzzyComparePoints to compare two points.
--HG--
branch : release
2018-09-27 14:52:21 +03:00
Roman Telezhynskyi f0106c25e7 Clean tests.
--HG--
branch : release
2018-09-19 15:15:39 +03:00
Roman Telezhynskyi 60b323cf8e Fixed issue #882. VContainer class doesn't support multi document mode.
--HG--
branch : release
2018-09-18 16:38:16 +03:00
Roman Telezhynskyi 3fe7709c40 Fixed issue #883. Fix right angle seam allowance angle type.
--HG--
branch : release
2018-09-13 16:46:04 +03:00
Roman Telezhynskyi 05a5101115 Fixed issue #808. Fix broken seam allowance angle type.
--HG--
branch : release
2018-09-01 18:56:43 +03:00
Roman Telezhynskyi fdd609f8a2 Placeholder should not have a space in name.
--HG--
branch : develop
2018-07-22 16:31:22 +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 ef6dd49202 Resolved issue #861. Valentina hangs if pattern has too many loops.
--HG--
branch : develop
2018-07-12 20:21:24 +03:00
Roman Telezhynskyi 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi da1d94a749 Added test cases. ref #814.
--HG--
branch : develop
2018-06-18 15:04:47 +03:00
Roman Telezhynskyi e244d002cc More tools should show a warning if cannot find a result.
--HG--
branch : develop
2018-06-07 14:37:43 +03:00
Roman Telezhynskyi 270f3b44a1 Improve handling errors cases for points of intersection.
Instead of silence setting coordinate to (0;0) show a warning message. Also for
tool "Point of Lines intersection" set coordinates to (0;0) instead of skipping
creating a point. This will prevent failing to open a pattern file.

--HG--
branch : develop
2018-05-25 17:52:35 +03:00
Roman Telezhynskyi 9c2527cf9f Fix typo. ref #850.
--HG--
branch : develop
2018-05-21 11:27:28 +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 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 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi 64029c249a Refactoring. Added special section for string literals.
--HG--
branch : develop
2018-04-08 19:45:23 +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 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 3252130f36 Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-02 20:38:56 +03:00
Roman Telezhynskyi 979b97f169 Lupdate.
--HG--
branch : develop
2018-03-24 08:01:16 +02: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 368c3a871a Resolved issue #819. Use OpenGL as render for view.
--HG--
branch : develop
2018-03-10 16:39:37 +02:00
Roman Telezhynskyi cacca07c13 Fix build on MSVC.
--HG--
branch : develop
2018-02-18 10:05:10 +02:00
Roman Telezhynskyi 9763aaa59d Fix build on Qt 5.2.
--HG--
branch : develop
2018-02-17 20:45:10 +02:00
Roman Telezhynskyi 573f6a828a Fix build.
--HG--
branch : develop
2018-02-17 20:35:38 +02:00
Roman Telezhynskyi eeb7c86d74 Speed up starting translation tests.
--HG--
branch : develop
2018-02-17 20:26:25 +02:00
Roman Telezhynskyi a91b1a3816 Speed optimization for method VAbstractPattern::ListMeasurements().
--HG--
branch : develop
2018-01-24 13:16:29 +02:00
Roman Telezhynskyi 76dd51b6c6 Fix test crash.
--HG--
branch : develop
2018-01-21 21:42:04 +02:00
Roman Telezhynskyi 96df29144e Fix test crash.
--HG--
branch : develop
2018-01-21 18:41:30 +02:00
Roman Telezhynskyi e68510cc49 Speed optimization for method QmuTokenParser::IsSingle().
--HG--
branch : develop
2018-01-20 15:36:50 +02:00
Roman Telezhynskyi e6dcfd708b New internal variable RotationElArc.
--HG--
branch : develop
2018-01-05 21:07:47 +02:00
Roman Telezhynskyi b25f971758 Fixed issue #793. Operations work incorrect with elliptical arc.
--HG--
branch : develop
2018-01-05 19:41:09 +02:00
Roman Telezhynskyi ec3750e087 Resolved issue #773. Tool Point intersection curve and axis cannot find
desired intersection poin.
(grafted from 86bc49a9552fc4555956815a4d32abfa091ccfc1)

--HG--
branch : develop
2017-11-11 11:01:45 +02:00
Roman Telezhynskyi 3e80b6439a Fix bug with seam allowance. ref #767.
(grafted from 764b3537c0c8cac7804494f00436bdd152d286d7)

--HG--
branch : develop
2017-10-19 14:11:57 +03:00
Roman Telezhynskyi a2ebd5bb68 Fix broken tests. ref #768.
--HG--
branch : develop
2017-10-11 14:22:10 +03:00
Roman Telezhynskyi 9cbd725957 Fix broken tests.
(grafted from 115ada20dc71e5c75046da96b26245fd431bf8d3)

--HG--
branch : develop
2017-10-10 13:37:54 +03:00
Roman Telezhynskyi 67b01c0337 Resolved issue #657. Improve feature: Allow more paper formats for printing
tiled PDF.

--HG--
branch : develop
2017-10-10 12:22:59 +03:00
Roman Telezhynskyi 0fb0763191 Fixed issue #767. Valentina produces wrong main path.
(grafted from c07c9ff6a27a673f55e5c3d98242534ee2c6ca95)

--HG--
branch : develop
2017-10-07 15:19:36 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi 95a21e07cc Fix test crash.
--HG--
branch : develop
2017-09-30 11:31:41 +03:00
Roman Telezhynskyi 661e71bad0 Refactoring use static methods VTranslateVars::TryFormula*User().
--HG--
branch : feature
2017-09-26 17:46:28 +03:00
Roman Telezhynskyi 0fd36056d4 New test. Check ellipsis at the end of line.
--HG--
branch : develop
2017-09-24 10:33:35 +03:00
Roman Telezhynskyi 15fc06fbf1 Fix tests. ref #753.
(grafted from 390ce06769037946ec705a8acecae65d5349e621)

--HG--
branch : develop
2017-09-13 09:17:21 +03:00
Roman Telezhynskyi 79edcfb7ca Tests for issue #752. ref #752.
--HG--
branch : develop
2017-09-11 16:05:00 +03:00
Roman Telezhynskyi e288c3a7ee Fix test.
Ensure that we also remove a thousands separator in test.
(grafted from 023f2d495cf49a2cf8dc58b3154aed42e57882a9)

--HG--
branch : develop
2017-09-06 13:22:57 +03:00
Roman Telezhynskyi 20f5cb3694 Read measurements size and height from individual measurements file to insert
data into label template.

The size measurement was added as synonym of bust_arc_f.

--HG--
branch : feature
2017-08-21 14:25:27 +03:00
Roman Telezhynskyi af5c82bdf6 Test to be sure that translation of placeholders are correct.
--HG--
branch : feature
2017-08-16 13:09:29 +03:00