Commit Graph

5616 Commits

Author SHA1 Message Date
Roman Telezhynskyi
9ab6b4b842 Ignore Spectre mitigation warning.
VS2017 has added a new warning that indicates where Spectre mitigation
code would be inserted if /Qspectre were specified.

--HG--
branch : release
2018-09-29 09:25:14 +03:00
Roman Telezhynskyi
ecc952d235 Suppressing error: 'void q_dispatch_async_main(voidBlock)' defined but not used
[-Werror=unused-function].

First, because this is static function define it inline. Second, use GCC
extension to fully cover possible cases with Clang.

--HG--
branch : release
2018-09-28 22:29:58 +03:00
Roman Telezhynskyi
47e3f9f7c7 Improve message handling from threads.
Only GUI thread can show message boxes.

--HG--
branch : release
2018-09-28 21:05:42 +03:00
Roman Telezhynskyi
10a20b08b8 Be pendantic about notch errors.
--HG--
branch : release
2018-09-28 14:29:10 +03:00
Roman Telezhynskyi
ac3b8a2726 Check and correct a notch position if it is not on current seam allowance.
--HG--
branch : release
2018-09-28 13:43:03 +03:00
Roman Telezhynskyi
fadc55983d This code doesn't work without constexpr.
--HG--
branch : release
2018-09-27 20:25:37 +03:00
Roman Telezhynskyi
33554c03b5 Clazy warning.
--HG--
branch : release
2018-09-27 15:16:01 +03:00
Roman Telezhynskyi
135cea212d Generate seam allowance only one time to use it in creating notches.
--HG--
branch : release
2018-09-27 15:13:43 +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
1eaccd6a41 New pattern file format version.
Reserved for future use.

--HG--
branch : release
2018-09-24 14:44:45 +03:00
Roman Telezhynskyi
e252de9e80 Refactoring method DialogTool::GetNodeName().
Renamed an argument. Show node details only if requested.

--HG--
branch : release
2018-09-24 14:41:34 +03:00
Roman Telezhynskyi
56e05ab953 Improve context menu in dialog piece path.
This menu should povide exclude option. Also Passmark option should be available
only when a piece path included as main path.

--HG--
branch : release
2018-09-24 14:40:02 +03:00
Roman Telezhynskyi
f0fdb7d8b9 Performance improvements.
--HG--
branch : release
2018-09-24 14:30:41 +03:00
Roman Telezhynskyi
9f919ffe8a Improve seam allowance. Case with custom seam allowance.
--HG--
branch : release
2018-09-23 15:51:28 +03:00
Roman Telezhynskyi
81f7993f43 Use $$system_path() to improve support MSYS environment.
--HG--
branch : release
2018-09-21 13:35:57 +03:00
Roman Telezhynskyi
252fa3a0de Suppress warning Wunused-function.
Try number 2.

--HG--
branch : release
2018-09-19 20:06:47 +03:00
Roman Telezhynskyi
778d4bebc1 Disable warning Wunused-function.
--HG--
branch : release
2018-09-19 18:53:32 +03:00
Roman Telezhynskyi
a4ec72b3bd Help function to speed up creating tests.
--HG--
branch : release
2018-09-19 15:16:29 +03:00
Roman Telezhynskyi
f0106c25e7 Clean tests.
--HG--
branch : release
2018-09-19 15:15:39 +03:00
Roman Telezhynskyi
ec79f50e65 Fix float point accuracy issue. ref #883.
--HG--
branch : release
2018-09-19 12:24:24 +03:00
Roman Telezhynskyi
26d79e5ca2 Fix error: no match for operator== (operand types are QAtomicInt and int).
--HG--
branch : release
2018-09-18 17:24:00 +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
49506c0bf2 Refactring. MaxLocalSA can be part of VSAPoint class.
--HG--
branch : release
2018-09-13 17:31:14 +03:00
Roman Telezhynskyi
f57c98b7c3 Refactoring. Move private static methods.
--HG--
branch : release
2018-09-13 17:16:40 +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
8a3d50520f Added status check for settings read/write operations.
--HG--
branch : release
2018-09-09 12:39:19 +03:00
Roman Telezhynskyi
2858122d9d Fix typo.
--HG--
branch : release
2018-09-02 19:51:00 +03:00
Roman Telezhynskyi
605d4ae085 Lupdate.
--HG--
branch : release
2018-09-02 19:50:24 +03:00
Roman Telezhynskyi
d9bb978532 Do not submit angle type if it has not been changed.
--HG--
branch : release
2018-09-02 18:52:19 +03:00
Roman Telezhynskyi
ebab1a0345 Fixing issues with .desktop files.
--HG--
branch : release
2018-09-02 15:52:22 +03:00
Roman Telezhynskyi
e56df1e738 Fix the issue number.
--HG--
branch : release
2018-09-01 18:58:45 +03:00
Roman Telezhynskyi
90fcb31fa2 Qt Creator Debugging Helpers
--HG--
branch : release
2018-09-01 18:57:14 +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
2ce59a1ee6 Added submenu to quick access to piece node point angle type.
--HG--
branch : release
2018-09-01 12:21:29 +03:00
Roman Telezhynskyi
eabfd48b50 Fix bug with watcher. It watches wrong path.
--HG--
branch : release
2018-08-31 15:22:59 +03:00
Roman Telezhynskyi
4f18aea56f Fix GCC warning Wint-in-bool-context.
--HG--
branch : release
2018-08-29 23:35:36 +03:00
Roman Telezhynskyi
b8acb767df Officially in beta.
--HG--
branch : release
2018-08-17 11:10:15 +03:00
Roman Telezhynskyi
287daa8dab Lupdate.
--HG--
branch : release
2018-08-12 10:32:43 +03:00
Roman Telezhynskyi
3fd4dfc173 Port patch from FreeBSD port.
--HG--
branch : release
2018-08-12 10:13:59 +03:00
Roman Telezhynskyi
37428a4d82 Warn users about empty piece list when they use one of the tools those require
a piece to continue work.

--HG--
branch : release
2018-08-12 10:03:39 +03:00
Roman Telezhynskyi
e9afe63c7b Patch for FreeBSD. ref #877.
--HG--
branch : release
2018-08-12 09:45:04 +03:00
Roman Telezhynskyi
cb6c2eb8eb Fix warning option '-Wmissing-prototypes' is valid for C/ObjC but not for C++.
--HG--
branch : develop
2018-08-06 20:47:24 +03:00
Roman Telezhynskyi
9e80bc186d Refactoring. Move methods to class MainWindowsNoGUI.
--HG--
branch : develop
2018-08-06 19:38:23 +03:00
Roman Telezhynskyi
ed5ac37256 Fix potential crash.
--HG--
branch : develop
2018-08-02 15:03:15 +03:00
Roman Telezhynskyi
e1cfe78077 Fix memory leak.
--HG--
branch : develop
2018-08-02 13:48:48 +03:00
Roman Telezhynskyi
2453758735 Fix mistake in name.
--HG--
branch : develop
2018-08-01 19:25:36 +03:00
Roman Telezhynskyi
4211b55b71 Changelog for 0.5.1 is now part of version 0.6.0.
--HG--
branch : develop
2018-08-01 19:23:44 +03:00
Roman Telezhynskyi
2678ab9c2c Don't allow a user to make a grainline too short.
--HG--
branch : develop
2018-08-01 19:22:43 +03:00
Roman Telezhynskyi
7be1d35d8f Fixed issue #869. Pattern piece label size limited.
--HG--
branch : develop
2018-08-01 19:21:49 +03:00