Commit Graph

4679 Commits

Author SHA1 Message Date
Roman Telezhynskyi
dbb63daa31 Release v0.6.0.
--HG--
branch : release
2018-10-01 12:33:22 +03:00
Roman Telezhynskyi
2295a56160 Check QMessageLogContext class version.
--HG--
branch : release
2018-09-30 18:39:51 +03:00
Roman Telezhynskyi
c23502da9a Fix build prior Qt 5.4.0.
--HG--
branch : release
2018-09-29 22:05:03 +03:00
Roman Telezhynskyi
577065539c Show warning message for definately not valid case.
--HG--
branch : release
2018-09-29 22:01:13 +03:00
Roman Telezhynskyi
978a8ba0c3 Added missed passmark option in Piece Path dialog.
Dialog should provide the same amount of options because a piece path can be
used as a custom seam allowance included as main path.

--HG--
branch : release
2018-09-29 21:46:39 +03:00
Roman Telezhynskyi
b5c771b964 Update pattern format version to version 0.7.12.
--HG--
branch : release
2018-09-29 19:47:32 +03:00
Roman Telezhynskyi
4f7f907d8d Remove checks those cover valid case of passmark collapse.
--HG--
branch : release
2018-09-29 19:36:55 +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
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
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
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
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
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
Roman Telezhynskyi
c8b43c56d2 Add support for new individual measurements format version.
--HG--
branch : develop
2018-07-30 16:43:01 +03:00
Roman Telezhynskyi
ca90ceaada Refactoring. Use macros FORMAT_VERSION to avoid human mistakes.
--HG--
branch : develop
2018-07-30 16:32:45 +03:00
Roman Telezhynskyi
62b6475896 Removed all pattern format versions those were present in version 0.3.x.
--HG--
branch : develop
2018-07-26 21:44:37 +03:00
Roman Telezhynskyi
d8f6734451 Refactoring. Use macros FORMAT_VERSION to avoid human mistakes.
--HG--
branch : develop
2018-07-26 21:21:08 +03:00
Roman Telezhynskyi
8a29755a36 Resolved issue #868. New feature. Connect internal path with cutting contour.
--HG--
branch : develop
2018-07-26 20:00:24 +03:00
Roman Telezhynskyi
44709728df Fix fatal build error: QPrinter: No such file or directory.
--HG--
branch : develop
2018-07-25 15:31:18 +03:00
Roman Telezhynskyi
86e7674920 Fix bug. Hide internal path if it doesn't have a parent.
--HG--
branch : develop
2018-07-25 12:57:39 +03:00
Roman Telezhynskyi
fe9dc90dc7 Bug in undocommands. We should return to pattern piece only if in Calculation
mode. If do it in Details mode Valentina may not switch pattern piece back when
a user returns to Calculation mode. This breaks a work and no new object can be
added to pattern.

--HG--
branch : develop
2018-07-25 11:26:09 +03:00
Roman Telezhynskyi
d35684a44a Fix regression. Valentina doesn't show a notch mark in a custom seam allowance
list.

--HG--
branch : develop
2018-07-24 15:29:53 +03:00
Roman Telezhynskyi
a0e09d3fe7 Fix crash on Windows.
Cancelling Piece Path dialog crashes Valentina.

--HG--
branch : develop
2018-07-24 14:57:41 +03:00
Roman Telezhynskyi
fbafe9f052 Forbid enabling notches before completed creation of main path.
--HG--
branch : develop
2018-07-24 10:12:44 +03:00
Roman Telezhynskyi
16d8c5fc65 Valentina doesn't allow to continue creating a customer seam allowance after
calling a context menu.

--HG--
branch : develop
2018-07-24 10:09:00 +03:00
Roman Telezhynskyi
fdd609f8a2 Placeholder should not have a space in name.
--HG--
branch : develop
2018-07-22 16:31:22 +03:00
Roman Telezhynskyi
a8d9795dc3 Improve tooltip for option Cut on fabric.
Because this option has effect only on export to DXF-AAMA it confuses users.

--HG--
branch : develop
2018-07-22 11:40:27 +03:00
Roman Telezhynskyi
9d778378d8 Improve Piece Path dialog. Hide posibility to enable passmark for internal path.
--HG--
branch : develop
2018-07-22 11:31:57 +03:00
Roman Telezhynskyi
1ae08d6020 Resolved issue #867. Visibility control for place labels.
--HG--
branch : develop
2018-07-20 10:30:05 +03:00
Roman Telezhynskyi
20b3f034d4 Fixed issue #866. Valentina produces an invalid pattern file if a user defines
more than 9 materials.

--HG--
branch : develop
2018-07-19 16:47:20 +03:00
Roman Telezhynskyi
2c7b21b98d Resolved issue #865. New feature. Dynamic Way to define Material in piece label.
--HG--
branch : develop
2018-07-18 20:18:30 +03:00
Roman Telezhynskyi
9da4cbb329 Resolved issue #864. Valentina crashes on Mac OS X after closing Variables
Table dialog.

--HG--
branch : develop
2018-07-18 18:03:38 +03:00
Roman Telezhynskyi
219a15da23 Fix issue with export non-latin DXF file name on Windows.
--HG--
branch : develop
2018-07-16 20:00:42 +03:00
Roman Telezhynskyi
968996da86 It seems like mistake. ratio renamed to width.
--HG--
branch : develop
2018-07-16 19:55:37 +03:00
Roman Telezhynskyi
85e90504ef Minore fixes.
--HG--
branch : develop
2018-07-16 19:54:00 +03:00
Roman Telezhynskyi
5015dda5dd Fix DXF vport. AutoCAD complains about clipped view.
--HG--
branch : develop
2018-07-16 19:53:15 +03:00
Roman Telezhynskyi
8c7f9e2558 Cppcheck warning.
--HG--
branch : develop
2018-07-13 16:34:19 +03:00
Roman Telezhynskyi
fd85efacd9 Resolved issue #862. Force Valentina to immediately terminate if a pattern
contains a parsing warning.

--HG--
branch : develop
2018-07-13 16:18:04 +03:00
Roman Telezhynskyi
6c19748802 Improve tooltip. Users are still confused by the message.
--HG--
branch : develop
2018-07-13 14:14:16 +03:00
Roman Telezhynskyi
ef6dd49202 Resolved issue #861. Valentina hangs if pattern has too many loops.
--HG--
branch : develop
2018-07-12 20:21:24 +03:00
Roman Telezhynskyi
24796e7f2d Cppcheck warning. Virtual function 'CleanLayout' is called from destructor
'~MainWindow()'.

--HG--
branch : develop
2018-07-09 14:19:07 +03:00
Roman Telezhynskyi
fedbe60952 Resolved issue #860. Valentina allows forbidflipping and forceflipping at the
same time.

Undocommands for context menu were poorly designed.

--HG--
branch : develop
2018-07-09 14:17:53 +03:00
Roman Telezhynskyi
2235a5d3d8 Cppcheck warning. Virtual function 'OpenSettings' is called from constructor
'VApplication(int&argc,char**argv)'.

--HG--
branch : develop
2018-07-09 10:45:23 +03:00
Roman Telezhynskyi
126658f03f Cppcheck warning. Virtual function 'setValue' is called from constructor
'VFormulaProperty(const QString&name)'.

--HG--
branch : develop
2018-07-09 10:25:34 +03:00
Roman Telezhynskyi
627aa6dd70 Resolved issue #838. Qt GUI theme on Windows looks old-fashioned.
--HG--
branch : develop
2018-06-26 23:47:51 +03:00
Roman Telezhynskyi
e7d0208c47 Fix typo.
--HG--
branch : develop
2018-06-26 21:23:22 +03:00
Roman Telezhynskyi
279fe7bff7 Cppcheck warning 'qrandCalled'.
--HG--
branch : develop
2018-06-26 16:24:07 +03:00
Roman Telezhynskyi
63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi
6c3ef7580a Fix restriction for Detail name.
--HG--
branch : develop
2018-06-22 22:16:38 +03:00
Roman Telezhynskyi
3db3d58961 Fixed issue #859. Export to DXF in console never ends.
--HG--
branch : develop
2018-06-21 14:46:55 +03:00
Roman Telezhynskyi
598fea3969 Refactoring. Use QStringLiteral instead of QString.
--HG--
branch : develop
2018-06-21 14:41:36 +03:00
Roman Telezhynskyi
13a8b83a0e Flush buffer after adding a string, not before.
--HG--
branch : develop
2018-06-21 14:16:17 +03:00
Roman Telezhynskyi
f2c8481f53 Hide line to control point if the center of connection is inside of the point.
--HG--
branch : develop
2018-06-19 13:18:38 +03:00
Roman Telezhynskyi
21b3f4b5ae Fixed issue #856. Regression in curve control point interaction on macOS.
--HG--
branch : develop
2018-06-19 13:08:54 +03:00
Roman Telezhynskyi
0ef32da1d8 Refactoring. Rename GetPPath() to GetPatternPath(). Changes for Mac.
--HG--
branch : develop
2018-06-19 12:22:47 +03:00
Roman Telezhynskyi
09e8c81d6f Refactoring. Rename GetPPath() to GetPatternPath().
--HG--
branch : develop
2018-06-19 09:18:38 +03:00
Roman Telezhynskyi
da1d94a749 Added test cases. ref #814.
--HG--
branch : develop
2018-06-18 15:04:47 +03:00
Roman Telezhynskyi
40f8c5f5f0 Link with library uxtheme to enable new style since WindowsXP or later.
--HG--
branch : develop
2018-06-11 11:54:44 +03:00
Roman Telezhynskyi
71d78cf08e QShortcut context must not be translated in our localization. It is part of
Qt's localization files.

--HG--
branch : develop
2018-06-11 09:53:39 +03:00
Roman Telezhynskyi
e244d002cc More tools should show a warning if cannot find a result.
--HG--
branch : develop
2018-06-07 14:37:43 +03:00
Roman Telezhynskyi
cc6c178b17 On macOS, the ControlModifier value corresponds to the Command keys on the
keyboard.

--HG--
branch : develop
2018-06-05 18:07:39 +03:00
Roman Telezhynskyi
fe2ced590c Improve logging.
--HG--
branch : develop
2018-06-05 12:22:46 +03:00
Roman Telezhynskyi
e343cc8018 Fixed issue #854. Union Details Tool version 1 breaks a pattern.
--HG--
branch : develop
2018-06-05 12:22:31 +03:00
Roman Telezhynskyi
4cab5b0dc9 Enable the version checker on Mac.
--HG--
branch : develop
2018-06-04 12:00:36 +03:00