Roman Telezhynskyi
83e61a85a8
Continue cleaning code from logging.h.
...
--HG--
branch : develop
2019-04-05 16:03:01 +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
5f181e3a54
Don't use Qt OpenGL module since Q5.4.
...
--HG--
branch : develop
2019-04-05 13:56:44 +03:00
Roman Telezhynskyi
fc04d2d4bb
Use new сoefficient option to speed up nesting.
...
Just stop after first succesful nesting.
--HG--
branch : develop
2019-04-03 13:30:29 +03:00
Roman Telezhynskyi
2f420854c2
Fixed issue #957 . Unable to cut an arc with negative length.
...
(grafted from 885261e387dda0508fda374445b9c05e379103e0)
--HG--
branch : develop
2019-04-03 09:37:43 +03:00
Roman Telezhynskyi
d0f738c0f0
Cleaning. Remove commented section.
...
--HG--
branch : develop
2019-03-26 17:13:44 +02:00
Roman Telezhynskyi
bafb7ff70a
I have found out that QTest functions chop message string. Because most
...
valuable for us information goes last we must keep this in mind.
--HG--
branch : develop
2019-02-22 17:54:00 +02:00
Roman Telezhynskyi
883d2c04f6
Resolved issue #937 . Wrong symmetrical seam corners on pieces.
...
(grafted from 8c1b09cc7bc40d6d40e39d931d3e040b0323bd87)
--HG--
branch : develop
2019-02-13 16:32:38 +02:00
Roman Telezhynskyi
63e402ba8a
Resolved issue #937 . Wrong symmetrical seam corners on pieces.
...
(grafted from f15fbf536959418dcd9a2f2caf7c0267ae46eaee)
--HG--
branch : develop
2019-02-12 14:51:21 +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
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
60c4e2880f
Fixed issue #923 . Valentina produces wrong seam allowance for rollback case.
...
(grafted from 111ae73392a265baecbb3031cf3963682e0bea77)
--HG--
branch : develop
2019-01-07 18:20:36 +02:00
Roman Telezhynskyi
9f91137ae1
Skip certain tests if architecture is s390 or s390x. ref #918 .
...
(grafted from a82704b1fc5dba81a965616c0d3323bcc601472c)
--HG--
branch : develop
2019-01-02 16:12:56 +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
8c676948ff
Fixing regression. ref #915 .
...
(grafted from 4a1f66408bca3eab9df83d5b9ef46ac9c3cc6278)
--HG--
branch : develop
2018-12-28 21:55:48 +02:00
Roman Telezhynskyi
d4f3f701d6
Disable test on Windows.
...
(grafted from d65fdda771d4061d3fe8e2e5b3a20b5224bff333)
--HG--
branch : develop
2018-12-24 14:25:49 +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
54418925c6
Fixed issue #915 . Valentina produces wrong seam allowance for acute angle.
...
(grafted from 41a93a0a57ac2dcc731563b7eb759bfa2bc2961e)
--HG--
branch : develop
2018-12-23 18:41:51 +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
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
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
5b8f699ad3
Improvement for test 'TestTemplatePlaceholders()'.
...
(grafted from 658380148e5f08dfe48eae8fef435655e2a959a3)
--HG--
branch : develop
2018-10-12 15:15:04 +03:00
Roman Telezhynskyi
cead9092e3
Segmenting curve should be more precise and doesn't create distruption.
...
--HG--
branch : release
2018-09-27 15:06:19 +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
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
Roman Telezhynskyi
5fa0324185
Fix translation elarc variables.
...
--HG--
branch : develop
2017-08-08 18:27:36 +03:00
Roman Telezhynskyi
3999ebd82e
Fixed bug in Tape. Each Window should has own size and height values.
...
--HG--
branch : develop
2017-08-04 20:29:43 +03:00
Roman Telezhynskyi
cbfe69756f
Fix tests. Regular expression should support french names.
...
--HG--
branch : develop
2017-07-26 21:24:04 +03:00
Roman Telezhynskyi
f9f241ac25
Fix variable name regular expression.
...
Forbid characters "." and ",".
--HG--
branch : develop
2017-07-26 19:28:26 +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
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
Roman Telezhynskyi
f65ff76dd4
Disable some tests on x86_64.
...
--HG--
branch : develop
2017-06-01 15:04:29 +03:00
Roman Telezhynskyi
bfd2620fad
Next try to fix problem with tests.
...
Because different compilers and even different version from same vendor may
produce little bit different result this cause of test fails because it expect
too accurate result. We don't need such accuracy and can use variable
VGObject::accuracyPointOnLine to compare two points.
--HG--
branch : develop
2017-06-01 13:04:25 +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
2dcfe1c84b
Since Q5.4 available support C++14.
...
--HG--
branch : develop
2017-05-30 18:54:54 +03:00
Roman Telezhynskyi
780ce623ab
Fixed issue #687 . Wrong seam allowance.
...
--HG--
branch : develop
2017-05-19 10:57:58 +03:00
Roman Telezhynskyi
cc83d9602a
Fixed issue #686 . Seam allowance not placed correctly.
...
--HG--
branch : develop
2017-05-18 15:10:05 +03:00
Roman Telezhynskyi
c280748a10
Disabled several tests due to "undefined behavior" problem.
2017-05-10 17:07:37 +03:00
Roman Telezhynskyi
dcf7abed7b
Disabled several tests due to "undefined behavior" problem.
2017-05-10 11:50:58 +03:00
Roman Telezhynskyi
a0262e260b
Coverity scan warnings.
...
--HG--
branch : release
2017-04-19 12:48:13 +03:00
Roman Telezhynskyi
862b5823e7
Fixed issue #647 . Shoulder tool broken in latest test builds.
...
--HG--
branch : develop
2017-04-03 13:50:05 +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
f9aa896477
Refactoring. Avoid implicit conversions.
...
--HG--
branch : develop
2017-03-31 17:04:11 +03:00
Roman Telezhynskyi
3d9feaf3c5
Disabled several tests on Windows due to "undefined behavior" problem.
...
--HG--
branch : develop
2017-03-31 07:50:30 +03:00
Roman Telezhynskyi
4907ce584f
Fixed issue #646 . Wrong seam allowance if node is on line.
...
--HG--
branch : feature
2017-03-30 11:06:47 +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
d696af9a33
"static" members should be accessed statically.
...
--HG--
branch : develop
2017-03-23 10:25:46 +02:00
Roman Telezhynskyi
e56d3440d2
Fixed issue #642 . Detail's main path is cutted.
...
--HG--
branch : develop
2017-03-20 08:16:35 +02:00
Roman Telezhynskyi
6499c73d0c
Refactoring. Merge identical cases.
...
--HG--
branch : develop
2017-03-18 11:04:12 +02:00