Commit graph

2694 commits

Author SHA1 Message Date
Roman Telezhynskyi e108a1378f New command line option --landscapeOrientation.
--HG--
branch : develop
2018-12-27 16:37:47 +02:00
Roman Telezhynskyi 6016308d58 Resolved issue #651. Improve feature: Layout orientation according to grainline.
--HG--
branch : develop
2018-12-27 15:54:29 +02:00
Roman Telezhynskyi 7218098165 Fixing error: invalid use of incomplete type class QMarginsF.
--HG--
branch : develop
2018-12-23 21:02:59 +02:00
Roman Telezhynskyi 7caf42cf48 Since Q5.4 available support C++14. Some libraries still missed use.
--HG--
branch : develop
2018-12-23 20:27:24 +02:00
Roman Telezhynskyi cbd991a8b0 Refactoring. Use relaxed constexpr for ToPixel, FromPixel, UnitConvertor and
VFuzzyComparePossibleNulls.

--HG--
branch : develop
2018-12-23 20:09:57 +02:00
Roman Telezhynskyi 54418925c6 Fixed issue #915. Valentina produces wrong seam allowance for acute angle.
(grafted from 41a93a0a57ac2dcc731563b7eb759bfa2bc2961e)

--HG--
branch : develop
2018-12-23 18:41:51 +02:00
Roman Telezhynskyi 6403941406 Fixed issue #914. Filtering custom seam allowance paths prevent including more
than one.
(grafted from 07fec74fad050330a1161776e27bb6c877354a59)

--HG--
branch : develop
2018-12-21 13:01:32 +02:00
Roman Telezhynskyi 5bed94c31b Fixed issue #913. Unable to save changes for piece path if it doesn't contain a
point.
(grafted from 0cf04b80083754dc5ed7e54ed95be63b97a7503a)

--HG--
branch : develop
2018-12-20 17:54:54 +02:00
Roman Telezhynskyi e23438347a Fixed issue #912. Labels in inactive state return to initial color.
(grafted from b222072d66ff164252223728d913226b500df73a)

--HG--
branch : develop
2018-12-20 17:50:33 +02:00
Roman Telezhynskyi ac6224d2df Because VDomDocument::find checks for unique id we must use temp cache. ref #905
(grafted from 660b90b7a2c64837148237902a3fb11e73ef49f0)

--HG--
branch : develop
2018-12-20 16:43:18 +02:00
Roman Telezhynskyi c782bf37db Fixed issue #909. Valentina produces wrong united path.
(grafted from 6f13c33817dd37d3679398274e697e3da87dbbd0)

--HG--
branch : develop
2018-12-19 09:19:37 +02:00
Roman Telezhynskyi d6bcdcdaf7 Update debugbreak for support PowerPC target.
--HG--
branch : develop
2018-12-18 16:08:14 +02:00
Roman Telezhynskyi 5f5b7e41fa Enable alternative operator representations for support old or nonconforming
compilers by default.

--HG--
branch : develop
2018-12-11 22:27:55 +02:00
Roman Telezhynskyi f3c893d43a Try direct header to fix errors: use of undeclared identifier 'qIsInf' and use
of undeclared identifier 'qIsNaN'.

--HG--
branch : develop
2018-12-11 12:55:03 +02:00
Roman Telezhynskyi b7cf983fb0 Add core library as dependency to vtool static library.
--HG--
branch : develop
2018-12-11 12:42:31 +02:00
Roman Telezhynskyi 9005bd6a77 Suppress warning for file delaunay.cpp.
--HG--
branch : develop
2018-12-11 12:11:58 +02:00
Roman Telezhynskyi c09e7d4d65 Add core library as dependency to static libraries.
--HG--
branch : develop
2018-12-11 11:59:15 +02:00
Roman Telezhynskyi 54e2025439 Fix deprecated QColorDialog::getRgba.
--HG--
branch : develop
2018-12-11 11:48:42 +02:00
Roman Telezhynskyi 5dd0fca9a9 Fixing errors: use of undeclared identifier 'qIsInf' and use of undeclared
identifier 'qIsNaN'.

--HG--
branch : develop
2018-12-11 11:02:47 +02:00
Roman Telezhynskyi 5b250caa46 Adjustment for pattern file format.
--HG--
branch : develop
2018-12-01 20:25:31 +02:00
Roman Telezhynskyi 33b780f3c4 Update pattern format version. Reservation fields for future use.
--HG--
branch : develop
2018-11-30 17:47:29 +02:00
Roman Telezhynskyi 4e8ceb6c1e Improve UI. Make placeholder menu scrollable.
--HG--
branch : develop
2018-11-30 17:32:36 +02:00
Roman Telezhynskyi d13b6e841d Fixed issue #905. Valentina crashes with error: This id is not unique.
(grafted from 0ca6c7805835b3f46bb4e8c2f199e68c804c0820)

--HG--
branch : develop
2018-11-28 12:00:40 +02:00
Roman Telezhynskyi cf3be706c2 Optimization. Update increments only if necessary.
--HG--
branch : develop
2018-11-24 16:47:44 +02:00
Roman Telezhynskyi 8a6ee744c6 Fix build on Windows.
--HG--
branch : develop
2018-11-19 17:16:23 +02:00
Roman Telezhynskyi 7c17b3629f To speed up opening a pattern delay piece RafreshGeometry().
--HG--
branch : develop
2018-11-19 11:07:31 +02:00
Roman Telezhynskyi 5004c12342 Seepd up pattern file validation making it parallel.
--HG--
branch : develop
2018-11-18 09:52:08 +02:00
Roman Telezhynskyi bac4e0872b Perform test for unique id after parsing.
In most cases this is very rare issue. Many checs will cover this case anyway.
Instead of wait we will perform check when calculation done.

--HG--
branch : develop
2018-11-17 14:59:45 +02:00
Roman Telezhynskyi f44484a364 Optimization for method PointBezier_r().
--HG--
branch : develop
2018-11-16 17:44:54 +02:00
Roman Telezhynskyi d099e441a4 Fixed issue #903. Bug in tool Cut Spline path.
(grafted from a5d6d7a0bd903897c2b509f90af1e50206feec0e)

--HG--
branch : develop
2018-11-13 17:03:35 +02:00
Roman Telezhynskyi b01305b92f Dark theme by default should be disabled.
--HG--
branch : develop
2018-10-29 19:39:14 +02:00
Emmanuel Nyachoke 6d9105729f Added initial dark mode theme using https://github.com/ColinDuquesnoy/
QDarkStyleSheet

--HG--
branch : develop
2018-10-29 15:05:49 +03:00
Roman Telezhynskyi ead254ab6b Resolve issue #895. Improve path validation. Do not allow repeat the same curve
twice.

--HG--
branch : develop
2018-10-22 15:43:58 +03:00
Roman Telezhynskyi 9f2959e32e Resolved issue #894. Quick way to disable a passmark.
--HG--
branch : develop
2018-10-22 15:06:32 +03:00
Roman Telezhynskyi 1d0b5790ae Be more pedantic. Show warning for case where Valentina cannot build a seam
allowance.

--HG--
branch : develop
2018-10-22 14:43:06 +03:00
Roman Telezhynskyi fb4d935ac4 Clazy warnings.
--HG--
branch : develop
2018-10-22 14:42:13 +03:00
Roman Telezhynskyi 1d95b36377 Resolved issue #892. Show tooltip for piece node point.
--HG--
branch : develop
2018-10-22 13:28:58 +03:00
Roman Telezhynskyi 427d3d48c2 Fixing a notch distortion.
User may assume a notch is not precisely position because of accuracy issue. To
avoid this force search of "real intersection".

--HG--
branch : develop
2018-10-20 22:18:27 +03:00
Roman Telezhynskyi 61ced5d7f5 Refactoring. Removed unnecessary operations.
(grafted from 19c986add3afc4629ebb1eac49f689e9ecd975ff)

--HG--
branch : develop
2018-10-19 19:48:36 +03:00
Roman Telezhynskyi 2211e2b7ee Fixed issues with seam allowance.
More cases.
(grafted from 7324a77cb8851a215d26269a8db7106a653915fd)

--HG--
branch : develop
2018-10-19 16:54:06 +03:00
Roman Telezhynskyi 81d2eb513a Fixed issues with seam allowance.
(grafted from 79a6fe52de80fc8707e24574eff1ec75eb1cd424)

--HG--
branch : develop
2018-10-17 18:12:39 +03:00
Roman Telezhynskyi c47193540b Improve precision of dump functions. It should be close to what debugger gives.
(grafted from d94873822ea085f90db8ad6b857dd041cd9654c6)

--HG--
branch : develop
2018-10-17 18:11:32 +03:00
Roman Telezhynskyi 2c881cd516 Fixed comments in XSD schema.
Values in code and the comments were not in sync.
(grafted from 319eab782b7cf97c71815d6b8bfaed0d6a0fa5a8)

--HG--
branch : develop
2018-10-17 18:08:18 +03:00
Roman Telezhynskyi db478562ee Fixed issue #885. Regression. Broken support for multi size measurements.
(grafted from 1a0becf32c00518f126cd0e7325c0eb2bbdcc18e)

--HG--
branch : develop
2018-10-12 13:06:03 +03:00
Roman Telezhynskyi 409f34d205 Starting to collect changes for new version 0.7.0.
--HG--
branch : develop
2018-10-12 15:55:58 +03:00
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 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 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 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 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 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 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