Commit Graph

396 Commits

Author SHA1 Message Date
Roman Telezhynskyi
279674f491 Make Swap methods inline.
--HG--
branch : develop
2018-04-22 13:32:06 +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
962cde8e6e Clazy warning.
--HG--
branch : develop
2018-04-09 11:15:55 +03:00
Roman Telezhynskyi
f7e1b0942c Fixed issue #837. Valentina crashes when changing seam allowance on a curve
segment.

I made a mistake switching to C++11 range-based loops here.

--HG--
branch : develop
2018-04-09 11:12:46 +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
4eaf556342 Cppcheck warning.
--HG--
branch : develop
2018-04-02 17:05:53 +03:00
Roman Telezhynskyi
218c2cc518 Resolved issue #830. Seam allowance tool - object selection and preview.
--HG--
branch : develop
2018-04-02 16:49:53 +03: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
cb5b7fcfcd Resolved issue #818. Improve Piece path validation. Check uniqueness.
--HG--
branch : develop
2018-03-05 12:05:59 +02:00
Roman Telezhynskyi
9088ad93be Fix bug in VFormula copy constructor.
--HG--
branch : develop
2018-02-27 09:44:17 +02:00
Roman Telezhynskyi
ced8963041 Refactoring VFormula::Eval().
Plus, in case of check If zero set value to Error instead of "0". This confuses
users.

--HG--
branch : develop
2018-02-22 15:03:11 +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
cd1ebf434a Resolved issue #804. New feature. Import measurements from CSV file in Tape app.
--HG--
branch : develop
2018-01-31 14:34:50 +02:00
Roman Telezhynskyi
d5843ceb6d Speed optimization for parsing piece internals.
--HG--
branch : develop
2018-01-25 23:53:53 +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
f7e8b10407 Cppcheck warning.
--HG--
branch : develop
2018-01-21 18:41:17 +02:00
Roman Telezhynskyi
7bdc10419c Speed optimization translating internal variables.
--HG--
branch : develop
2018-01-21 16:00:53 +02:00
Roman Telezhynskyi
93c84a9dc5 Speed optimization Calculator::EvalFormula().
In certain cases simple conversion string to number will speed up calculating.

--HG--
branch : develop
2018-01-21 14:31:13 +02:00
Roman Telezhynskyi
d63cb30935 Remove noisy debug messages.
--HG--
branch : develop
2018-01-20 16:23:12 +02:00
Roman Telezhynskyi
99d6ea5152 Speed optimization for class VFormula.
--HG--
branch : develop
2018-01-20 15:37:15 +02:00
Roman Telezhynskyi
d03cd7be06 Speed optmization for method VContainer::ClearVariables().
--HG--
branch : develop
2018-01-20 14:01:35 +02:00
Roman Telezhynskyi
76f93ca63e Fixed issue #797. Custom seam allowance ignored in some cases.
(grafted from 3d77c1493f427eefbad7d98a828cd64061b72759)

--HG--
branch : develop
2018-01-15 16:20:29 +02:00
Roman Telezhynskyi
2295a88885 Clang warning.
--HG--
branch : develop
2018-01-06 15:54:06 +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
f53343b01e Fix test crash.
(grafted from 8f904d2962fb3631f8ee3cdc6f8a9f5ed38f4d73)

--HG--
branch : develop
2017-12-04 16:38:32 +02:00
Roman Telezhynskyi
debc37d78a Removed unused postfix operator.
--HG--
branch : develop
2017-12-04 14:32:17 +02:00
Roman Telezhynskyi
a4df5612d9 Fixed issue #776. Valentina cannot recognize translated functions.
(grafted from 5b89c34d11eea52b32e9fb60b87820ecc5187c31)

--HG--
branch : develop
2017-12-04 11:44:29 +02:00
Roman Telezhynskyi
efb4b58b8d Fix bug with Increments. After creating they know more than should.
--HG--
branch : develop
2017-11-19 17:08:50 +02:00
Roman Telezhynskyi
132b7c9fc6 CSR - special modeling case.
--HG--
branch : develop
2017-11-13 10:53:27 +02:00
Roman Telezhynskyi
e8ca7f575d Fix bug. Modeling objects should be separated from calculation objects and stay
in not copied container.

--HG--
branch : feature
2017-10-26 12:54:08 +03:00
Roman Telezhynskyi
89a2323944 Fix problem with updating objects inside vcontainer.
--HG--
branch : feature
2017-10-24 19:50:16 +03:00
Roman Telezhynskyi
9c6160fa50 Fix bug with parent disappearing.
--HG--
branch : feature
2017-10-24 12:02:47 +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
ef41c700f8 Improve Move piece undocommand.
Performance improvement.

--HG--
branch : develop
2017-10-18 11:24:15 +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
0adfbb8fb1 New math parser function "r2cm". Round to up to 1 decimal.
--HG--
branch : develop
2017-09-29 17:47:11 +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
4caab9a479 Fix export increments and preview calculations.
Separate both types. First write increments then preview calculations.

--HG--
branch : feature
2017-09-27 11:53:17 +03:00
Roman Telezhynskyi
0eb6b8b30f Dialog Final measurements.
--HG--
branch : feature
2017-09-26 17:24:02 +03:00
Roman Telezhynskyi
fa74e32769 First working result.
Doesn't change file.

--HG--
branch : feature
2017-09-17 09:19:13 +03:00
Roman Telezhynskyi
f6923a92f4 Show option Show label.
--HG--
branch : feature
2017-09-16 17:25:14 +03:00
Roman Telezhynskyi
600ded659e Trying to fix error implicit instantiation of undefined template
'QSharedPointer<VInternalVariable>'.

--HG--
branch : develop
2017-09-12 07:42:27 +03:00
Roman Telezhynskyi
27f605dc65 Fixed issue #752. Valentina produces corrupted file if unite two pieces.
(grafted from e0e2d27ac2a1f8f43879218a97924481ae674c77)

--HG--
branch : develop
2017-09-11 15:56:18 +03:00
Roman Telezhynskyi
3499b04c56 Remove space as thousands separator when return formula to user.
(grafted from 11b585c55b443564fefcff38cd7ce297d31659c0)

--HG--
branch : develop
2017-09-06 09:58:48 +03:00