Commit Graph

5900 Commits

Author SHA1 Message Date
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
273cd77205 Remove unknown Clang options. Suppress Wunknown-warning-option.
--HG--
branch : develop
2019-04-05 12:27:30 +03:00
Roman Telezhynskyi
cbf242ed9e Change Travis linux image to xenial.
--HG--
branch : develop
2019-04-05 12:11:16 +03:00
Roman Telezhynskyi
49cc0fadf8 Disable Clang option Wunknown-warning-option.
--HG--
branch : develop
2019-04-05 11:26:25 +03:00
Roman Telezhynskyi
b2e3e7a1ab Lupdate.
--HG--
branch : develop
2019-04-03 18:39:55 +03:00
Roman Telezhynskyi
55a7d2ade8 Use Wno-pragmas instead of Wno-unknown-pragmas.
--HG--
branch : develop
2019-04-03 16:12:18 +03:00
Roman Telezhynskyi
709a25e0ed Too many false positive for Wzero-as-null-pointer-constant.
--HG--
branch : develop
2019-04-03 16:10:46 +03:00
Roman Telezhynskyi
35245cd161 Supress Wcast-function-type.
--HG--
branch : develop
2019-04-03 15:42:12 +03:00
Roman Telezhynskyi
37b07c1512 Refrsesh docker image.
--HG--
branch : develop
2019-04-03 15:10:56 +03:00
Roman Telezhynskyi
a2ff65d8fb Debian jessie has been moved to archive.
--HG--
branch : develop
2019-04-03 14:19:51 +03:00
Roman Telezhynskyi
3694eea728 Try to fix error by specifying build dependencies.
--HG--
branch : develop
2019-04-03 13:58:05 +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
de39309f5a Merge with feature
--HG--
branch : develop
2019-04-02 15:34:14 +03:00
Roman Telezhynskyi
41d22be317 Resolved issue #916. Improve layout generation.
--HG--
branch : feature
2019-04-02 15:33:56 +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
Roman Telezhynskyi
c2672b4b69 Shows global contour.
For debugging purposes.
* * *
Show nodes on global contour.

--HG--
branch : develop
2019-03-27 10:29:59 +02:00
Roman Telezhynskyi
715389d35d Use Qt's Q_DECL_UNUSED instead of internal V_UNUSED.
--HG--
branch : develop
2019-03-16 12:02:00 +02:00
Roman Telezhynskyi
635922faec Instead of squares compare depth position.
--HG--
branch : develop
2019-03-27 10:22:00 +02:00
Roman Telezhynskyi
39f24d2dcc When append whole piece don't miss piece edge.
This will potentially create less reserved space.

--HG--
branch : develop
2019-03-15 16:36:37 +02:00
Roman Telezhynskyi
762ee18026 Extend layout sheet paper size to cover coner cases.
--HG--
branch : develop
2019-03-15 15:33:30 +02:00
Roman Telezhynskyi
5ed2134a29 Refactoring. Move pointer to mouse position label to "no GUI" class.
* * *
Fix crash. Access to null pointer.

--HG--
branch : develop
2019-03-27 10:15:24 +02:00
Roman Telezhynskyi
37a113abd6 Fix spacer in dialog Layout settings.
--HG--
branch : develop
2019-03-27 10:08:43 +02:00
Roman Telezhynskyi
1f25b81f88 Fix bug in Add increment tool button.
--HG--
branch : develop
2019-03-13 10:23:44 +02:00
Roman Telezhynskyi
1393be669b Fix auto cropping.
--HG--
branch : develop
2019-03-12 19:45:27 +02:00
Roman Telezhynskyi
0f226d6cdf Fix wrong use of SetAttributeOrRemoveIf(). The remove condition must be
calculated not hardcoded.

--HG--
branch : develop
2019-03-27 09:46:33 +02:00
Roman Telezhynskyi
3b1d753360 Update for pattern format.
--HG--
branch : develop
2019-03-27 09:46:08 +02:00