Commit Graph

2661 Commits

Author SHA1 Message Date
Wren Turkal
71f7f40875 Add ability to search measurements by regex.
You do this by prepending "/r/" to the front of the search string.
This makes it much easier to find measurements when one has a lot of
measurements for a given individual.

I also refactored that common table search code to consolidate this
functionality and make it easier to add other search methods in the
future.

--HG--
branch : develop
2019-01-06 01:25:12 -08:00
Wren Turkal
42b00c5c58 Fix the tape app importing of measurments from a pattern
When importing measurements from a pattern in the tape app, it
defaulted to the templates directory instead of the patterns
directory. The patterns directory was set as a setting in the
valentina settings (VSettings) instead of the common settings
(VCommonSettings). I refactored the the setting into the
VCommonSettings and made the tape app use the setting. I was
able to confirm that setting a new pattern directory resulted
in the same pattern directory being used in both Valentina and
tape.

--HG--
branch : develop
2019-01-05 16:46:31 -08:00
Roman Telezhynskyi
2f717fd365 Fix uniting and cropping pages.
Code missed handling landscape orienation.

--HG--
branch : develop
2019-01-03 19:35:04 +02:00
Roman Telezhynskyi
b66f516a74 Fix missing arrow type when follow a grainline.
--HG--
branch : develop
2019-01-02 21:36:51 +02:00
Roman Telezhynskyi
b1ef2a0f7a Fixing warnings.
--HG--
branch : develop
2019-01-02 16:52:07 +02:00
Roman Telezhynskyi
25fc7227f0 Fix strip optimization. It must follow paper sheet orientation settings.
--HG--
branch : develop
2019-01-02 16:49:57 +02:00
Roman Telezhynskyi
d5d8104d3a Improve test verbosity. Read from stderr to provide more information. ref #917.
(grafted from 33a876f6910d456af8f6e8df34540a23cb45361c)

--HG--
branch : develop
2019-01-02 16:28:51 +02:00
Roman Telezhynskyi
b825a9084e Improving tests. Comparisons for TST_FindPoint is too precise. ref #918.
(grafted from 0a47a319a9450b3d30f0d7f8d00675628744d58a)

--HG--
branch : develop
2019-01-02 15:58:59 +02:00
Roman Telezhynskyi
3dfa269224 Implement "pull left" behavior.
Between valid best results select most top or most left for portrait and
landscape orientation.

--HG--
branch : develop
2018-12-31 13:35:42 +02:00
Roman Telezhynskyi
da0ee5ce6f Fix bug with flipped piece and follow grainline option.
--HG--
branch : develop
2018-12-31 11:33:20 +02:00
Roman Telezhynskyi
a35a6f2e55 Fix warning Wunused-function.
For some reasons suppressing doesn't work.

--HG--
branch : develop
2018-12-28 22:40:19 +02:00
Roman Telezhynskyi
8c676948ff Fixing regression. ref #915.
(grafted from 4a1f66408bca3eab9df83d5b9ef46ac9c3cc6278)

--HG--
branch : develop
2018-12-28 21:55:48 +02:00
Roman Telezhynskyi
bcb7def7b8 Improving contour edge for empty sheet.
It must follow sheet orientation, plus added control of numbers of points with
shift option.

--HG--
branch : develop
2018-12-28 15:57:24 +02:00
Roman Telezhynskyi
6bc160075b Refactoring. Fixing warnings.
--HG--
branch : develop
2018-12-28 15:55:47 +02:00
Roman Telezhynskyi
55a3ecb8cb Improvement for option "Save layout length".
This option worked only for portrait orientation. In landscape orientation
instead of width need save height. Additionally we keep original comaprison for
the smallest bounding rect. This creates more humanlike output.

--HG--
branch : develop
2018-12-28 15:53:18 +02:00
Roman Telezhynskyi
f678174729 Refactoring. Hide private static methods.
--HG--
branch : develop
2018-12-28 13:19:41 +02:00
Roman Telezhynskyi
728dd00b76 Refactoring. Fixing warnings.
--HG--
branch : develop
2018-12-28 13:08:53 +02:00
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