Commit Graph

4879 Commits

Author SHA1 Message Date
Roman Telezhynskyi
65a9be6b9d Fixed issue #967. Variable must not include new line character.
(grafted from f263dbaec52fb6950e1db27c62313f57748f4838)

--HG--
branch : develop
2019-04-20 20:19:30 +03:00
Roman Telezhynskyi
000062b7b7 Refactoring. Move static functions to dialogtoolbox.h.
--HG--
branch : develop
2019-04-20 19:30:35 +03:00
Roman Telezhynskyi
1fe7223096 Fix checking double curve.
--HG--
branch : develop
2019-04-20 19:04:03 +03:00
Roman Telezhynskyi
527d45daba Fixed issue #966. Unable to control Approximation scale for arc with length.
(grafted from 758fe0d016a641b390f431447cff60d7c93961c8)

--HG--
branch : develop
2019-04-19 13:05:35 +03:00
Roman Telezhynskyi
35a0fd74e1 Optimize size, rely more on default values for attributes.
--HG--
branch : develop
2019-04-18 15:28:07 +03:00
Roman Telezhynskyi
72eeae24e6 Added missed formula. ref #965.
--HG--
branch : develop
2019-04-18 12:59:19 +03:00
Roman Telezhynskyi
f420812f5d Fixed build on Windows with Qt 5.6.
--HG--
branch : develop
2019-04-17 17:35:11 +03:00
Roman Telezhynskyi
4fa73c302c Local seam allowance can be 0. ref #965.
--HG--
branch : develop
2019-04-17 16:08:48 +03:00
Roman Telezhynskyi
7f01a989dd Catch null length passmarks.
--HG--
branch : develop
2019-04-17 14:59:54 +03:00
Roman Telezhynskyi
52dfb912ee Resolved issue #965. Control passmark length with formula.
--HG--
branch : develop
2019-04-17 13:02:22 +03:00
Roman Telezhynskyi
b500650cf1 Disable context menu Angle if not enabled seam allowance or enabled built in.
--HG--
branch : develop
2019-04-15 21:20:33 +03:00
Roman Telezhynskyi
419095300e Disable seam allowance options if seam allowance is built in.
--HG--
branch : develop
2019-04-15 21:15:56 +03:00
Roman Telezhynskyi
0966f536b8 Fixed issue #964. Assign operator crashes math parser.
(grafted from 9fd845b77249b4edc1bdc0a42dc4b32fb5f036f6)

--HG--
branch : develop
2019-04-13 18:18:48 +03:00
Roman Telezhynskyi
74ec82290a Fixed issue #963. Bug in tool Point intersect curve and axis.
(grafted from db4c88cadb30a460075b949a6faa108537030602)

--HG--
branch : develop
2019-04-12 18:04:07 +03:00
Roman Telezhynskyi
1da60440cd Fixed issue #962. Failed to load LibEGL.
(grafted from 00df5fb5dbb90630a40053aef89194163853288d)

--HG--
branch : develop
2019-04-12 11:26:47 +03:00
Roman Telezhynskyi
26c74d5d49 Reserve number of G-code format for future use.
--HG--
branch : develop
2019-04-10 16:32:35 +03:00
Roman Telezhynskyi
aa1d30bdb8 Alternative approach to search intersection in layout.
--HG--
branch : develop
2019-04-10 15:54:18 +03:00
Roman Telezhynskyi
2565f88038 Disable MSVC warning C4868 globally.
Cannot suppress it locally.

--HG--
branch : develop
2019-04-06 10:25:14 +03:00
Roman Telezhynskyi
ba40530668 Supress MSVC warning C4868: compiler may not enforce left-to-right evaluation
order in braced initializer list.

--HG--
branch : develop
2019-04-06 06:40:10 +03:00
Roman Telezhynskyi
e04e4907b5 Simplify calls to QCommandLineParser::addOption.
--HG--
branch : develop
2019-04-05 17:20:22 +03:00
Roman Telezhynskyi
83e61a85a8 Continue cleaning code from logging.h.
--HG--
branch : develop
2019-04-05 16:03:01 +03:00
Roman Telezhynskyi
b6ee4c995d Cppcheck warning.
--HG--
branch : develop
2019-04-05 15:51:16 +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
3777d57ada Clang warning local variable 'polygon' will be copied despite being returned by
name.

--HG--
branch : develop
2019-04-05 12:56:47 +03:00
Roman Telezhynskyi
35245cd161 Supress Wcast-function-type.
--HG--
branch : develop
2019-04-03 15:42:12 +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
c26d4d0942 Fixing issue with progress bar in console mode.
--HG--
branch : develop
2019-04-03 13:29:42 +03:00
Roman Telezhynskyi
878320fe90 Fixing error: 'this' was not captured for this lambda function.
--HG--
branch : develop
2019-04-03 13:28:49 +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
7b72ea5bc1 Optimize layout algorithm after profiling.
--HG--
branch : feature
2019-04-02 15:30:31 +03:00
Roman Telezhynskyi
4adce13a4d Abort after timeout must have own signal.
--HG--
branch : feature
2019-04-02 15:29:33 +03:00
Roman Telezhynskyi
faff2b6d5d Change condition for successful result.
--HG--
branch : feature
2019-04-01 19:22:15 +03:00
Roman Telezhynskyi
f407e969f4 Don't hide EmptyPaperError by timeout to show real reason.
--HG--
branch : feature
2019-04-01 19:21:39 +03:00
Roman Telezhynskyi
406108107d Fix tooltip.
--HG--
branch : feature
2019-03-30 12:22:44 +02:00
Roman Telezhynskyi
3b2b51fa74 Update man.
--HG--
branch : feature
2019-03-30 11:48:20 +02:00
Roman Telezhynskyi
69df0922af Check timeout inside the layout generator.
--HG--
branch : feature
2019-03-30 11:17:54 +02:00
Roman Telezhynskyi
4d75ca0fe3 Refactoring. More appropriate name for a method.
--HG--
branch : feature
2019-03-30 11:16:54 +02:00
Roman Telezhynskyi
4565a47b91 Fix bug in VLayoutPieceData class.
--HG--
branch : feature
2019-03-30 11:15:14 +02:00
Roman Telezhynskyi
69340a4ff2 Show Efficiency coefficient in percentage and as float number.
--HG--
branch : feature
2019-03-30 11:14:32 +02:00
Roman Telezhynskyi
4f6735808b Fix default time.
--HG--
branch : feature
2019-03-30 11:13:53 +02:00
Roman Telezhynskyi
46bf68521e Nesting with timeout.
--HG--
branch : feature
2019-03-29 19:52:37 +02:00
Roman Telezhynskyi
290676a2a6 Refactoring. Return value or default.
--HG--
branch : feature
2019-03-29 19:50:17 +02:00
Roman Telezhynskyi
248b0e3eeb Refactoring. Use std::initializer_list.
--HG--
branch : feature
2019-03-29 11:38:46 +02:00
Roman Telezhynskyi
47bcfd74ab Changes for dialog.
--HG--
branch : feature
2019-03-29 11:31:17 +02:00
Roman Telezhynskyi
0616dc5540 Fix regression. Setup command line parser before checking UI mode state.
--HG--
branch : develop
2019-03-28 07:47:14 +02:00
Roman Telezhynskyi
2f9d591929 Fix tool tooltip.
--HG--
branch : develop
2019-03-27 22:16:38 +02:00
Roman Telezhynskyi
a214a78006 Continue replacing custom *_FALLTHROUGH macroses with Q_FALLTHROUGH().
--HG--
branch : develop
2019-03-27 13:31:02 +02:00
Roman Telezhynskyi
91925c2618 Cppcheck warning.
--HG--
branch : develop
2019-03-27 11:45:25 +02:00
Roman Telezhynskyi
fc5b991174 Use Q_FALLTHROUGH instead of V_FALLTHROUGH.
--HG--
branch : develop
2019-03-16 12:22:09 +02:00