Commit graph

3137 commits

Author SHA1 Message Date
Roman Telezhynskyi 1014cc86ca Resolved issue #612. Valentina crashes when network is disabled on Linux.
--HG--
branch : develop
2017-01-24 15:47:25 +02:00
fabrice salvaire 55509e523d fixed typo in code: allowence and greed
--HG--
branch : develop
2017-01-23 17:20:15 +01:00
Roman Telezhynskyi 1fffac502d Disable test PossibleInfiniteClearLoops on Windows.
--HG--
branch : develop
2017-01-11 16:01:01 +02:00
Roman Telezhynskyi ebe12ba5af Added note about test case file.
--HG--
branch : develop
2017-01-11 13:59:57 +02:00
Roman Telezhynskyi ff03f67663 Fix infinite loop in method VAbstractDetail::CheckLoops().
--HG--
branch : develop
2017-01-11 13:54:06 +02:00
Roman Telezhynskyi bf067d6bf5 Fix broken test.
--HG--
branch : develop
2017-01-10 20:46:35 +02:00
Roman Telezhynskyi 5aa863cf3b Modified output to see point coordinates.
--HG--
branch : develop
2017-01-10 20:45:15 +02:00
Roman Telezhynskyi e952260a9f Fixed issue #609. Bug in CheckLoops method. Better handling internal and
external loops.

--HG--
branch : develop
2017-01-09 18:25:13 +02:00
Roman Telezhynskyi a842e2c2d1 Fixed issue #604. Seams allowances gets "weird" and turns inward when changing
measurment file.

--HG--
branch : develop
2017-01-05 17:16:36 +02:00
Roman Telezhynskyi fe8179d1bf Do not update labels and grain line if disabled.
--HG--
branch : develop
2017-01-05 13:13:44 +02:00
Roman Telezhynskyi d4317a61ec Fix division by zero.
--HG--
branch : develop
2017-01-05 13:11:18 +02:00
Roman Telezhynskyi 1882833ce7 Fixed issue #607. Cut tools do not support operation tools.
--HG--
branch : develop
2017-01-04 13:38:10 +02:00
Roman Telezhynskyi f4a2d64497 Completely remove unsupported XML editor.
--HG--
branch : develop
2017-01-03 20:16:04 +02:00
Roman Telezhynskyi b41ea624da Fix linker error on Windows.
--HG--
branch : develop
2017-01-03 14:37:27 +02:00
Roman Telezhynskyi 66b8097194 Silent warning [-Werror=unused-but-set-variable].
--HG--
branch : develop
2017-01-03 12:00:21 +02:00
Roman Telezhynskyi 73f201303f Silent warning [-Werror=unused-but-set-variable].
--HG--
branch : develop
2017-01-03 11:40:40 +02:00
Roman Telezhynskyi be17f7f30a Cppcheck warning.
--HG--
branch : develop
2017-01-03 11:32:19 +02:00
Roman Telezhynskyi da6cd92b22 Resolved issue #606. Mac OS X. Can’t type in measurements due to digit count
limitation.

--HG--
branch : develop
2017-01-03 11:14:32 +02:00
Roman Telezhynskyi 290f78651d Updated test name regex.
--HG--
branch : develop
2017-01-03 11:09:24 +02:00
Roman Telezhynskyi dd3ec71c34 Original muparser doesn't support thousand separator for C locale because by
default used ',' as group separator.

In contrary we use ';' as gorup separator and should support C locale thousand
separator ','.

--HG--
branch : develop
2017-01-03 11:08:29 +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 86f4b21879 Instead of method QLocale::system() better to use the default constructor.
Usefull in case we will deside change default locale.

--HG--
branch : develop
2017-01-03 10:46:28 +02:00
Roman Telezhynskyi 4d277f392e Fix switching to Layout page when enable Layout mode.
--HG--
branch : develop
2016-12-23 11:11:00 +02:00
Roman Telezhynskyi c9e9fb57d5 Fixed issue #603. Wrong layout caused by wrong seam allowance.
--HG--
branch : develop
2016-12-23 10:25:45 +02:00
Roman Telezhynskyi e777c788b4 Cppcheck warning.
--HG--
branch : develop
2016-12-23 10:51:05 +02:00
Roman Telezhynskyi 82c48ef4c3 Fix potential memory leak.
--HG--
branch : develop
2016-12-21 22:40:01 +02:00
Roman Telezhynskyi 3a8fd53dc8 Fix memory leak.
--HG--
branch : develop
2016-12-21 21:39:44 +02:00
Roman Telezhynskyi a6a8ef29b0 Refactoring. Merge similar switch cases together.
--HG--
branch : develop
2016-12-21 21:35:07 +02:00
Roman Telezhynskyi 731eb9ec89 Refactoring.
There is no automatic disconnection when the 'receiver' is destroyed because
it's a functor with no QObject. However, since 5.2 there is an overload which
adds a "context object". When that object is destroyed, the connection is
broken (the context is also used for the thread affinity: the lambda will be
called in the thread of the event loop of the object used as context).

--HG--
branch : develop
2016-12-21 20:45:14 +02:00
Roman Telezhynskyi e4c90a0809 Fix warning "Explicitly capture the required scope variables".
--HG--
branch : develop
2016-12-21 20:08:02 +02:00
Roman Telezhynskyi d247823d22 Refactoring. Merge similar switch cases together.
--HG--
branch : develop
2016-12-21 19:07:57 +02:00
Roman Telezhynskyi 6fe96ca4d0 Remove empty statement.
--HG--
branch : develop
2016-12-21 18:12:49 +02:00
Roman Telezhynskyi 7b76dbe99d Remove redundant check.
--HG--
branch : develop
2016-12-21 18:00:56 +02:00
Roman Telezhynskyi d10026bd9d Remove empty statement.
--HG--
branch : develop
2016-12-21 17:58:18 +02:00
Roman Telezhynskyi 074620fe77 Refactor to avoid "break" after "return".
--HG--
branch : develop
2016-12-21 17:56:52 +02:00
Roman Telezhynskyi f3b900902b Fix memory leak.
--HG--
branch : develop
2016-12-21 17:47:07 +02:00
Roman Telezhynskyi 7551cfda87 Remove the code after "return".
--HG--
branch : develop
2016-12-21 17:38:27 +02:00
Roman Telezhynskyi 5c40a91335 Remove empty statement.
--HG--
branch : develop
2016-12-21 17:36:38 +02:00
Roman Telezhynskyi 36c8e96bab Disable MSVC security warnings for library vdxf.
--HG--
branch : develop
2016-12-21 17:30:40 +02:00
Roman Telezhynskyi 4cf9c59056 Remove redundant check.
--HG--
branch : develop
2016-12-21 17:19:12 +02:00
Roman Telezhynskyi ffc1bae39c Remove redundant declaration.
--HG--
branch : develop
2016-12-21 15:22:44 +02:00
Roman Telezhynskyi a2cfecd2f1 Cppcheck warning.
--HG--
branch : develop
2016-12-21 14:20:42 +02:00
Roman Telezhynskyi 5153e997d1 Fix warning "using-directive shall not be used.".
--HG--
branch : develop
2016-12-21 14:02:55 +02:00
Roman Telezhynskyi bba88c108f Fix possible use of uninitialized value.
--HG--
branch : develop
2016-12-21 12:32:38 +02:00
Roman Telezhynskyi 049a72ff20 "C3861: 'snprintf': identifier not found" with VS2013 and prior.
--HG--
branch : develop
2016-12-20 22:55:40 +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 86330282be Fix potential vulnerabilities.
--HG--
branch : develop
2016-12-20 20:18:36 +02:00
Roman Telezhynskyi 0ec53b6499 Operation tools should control an elliptical arc.
--HG--
branch : develop
2016-12-20 17:08:28 +02:00