Commit Graph

2023 Commits

Author SHA1 Message Date
Roman Telezhynskyi
e9d93103c8 AutoCAD doesn't like dimstyles we provide.
--HG--
branch : feature
2017-06-21 15:55:50 +03:00
Roman Telezhynskyi
388bad3535 Merged changed from SolveSpace's independent fork of libdxfrw.
--HG--
branch : feature
2017-06-21 14:54:17 +03:00
Roman Telezhynskyi
3f570fc52e Clear path before creating a new path.
--HG--
branch : feature
2017-06-21 12:47:47 +03:00
Roman Telezhynskyi
407a9519aa Basic implamentation has been finished.
--HG--
branch : feature
2017-06-21 12:34:20 +03:00
Roman Telezhynskyi
c0b0053859 GCC warning.
--HG--
branch : feature
2017-06-20 13:31:06 +03:00
Roman Telezhynskyi
279e1cda84 Temporary suppress all GCC wanings inside libdxfrw.
--HG--
branch : feature
2017-06-20 13:30:36 +03:00
Roman Telezhynskyi
47265a515b Added library libdxfrw.
--HG--
branch : feature
2017-06-20 11:40:39 +03:00
Roman Telezhynskyi
d514b22611 Because we have been using C++11 we don't need this key.
--HG--
branch : feature
2017-06-20 11:30:44 +03:00
Roman Telezhynskyi
663ab8aff1 SonarCloud warnings.
--HG--
branch : develop
2017-06-19 17:44:18 +03:00
Roman Telezhynskyi
9686d0e179 Fixed issue #623. Issue: Bug with dialog Open file.
--HG--
branch : develop
2017-06-19 16:11:44 +03:00
Roman Telezhynskyi
e982df63c0 Move scaling font size to appropriate class.
--HG--
branch : develop
2017-06-19 15:26:29 +03:00
Roman Telezhynskyi
8e0a7250df Added new feature Zoom Fit Best Current pattern piece.
--HG--
branch : develop
2017-06-16 21:14:33 +03:00
Roman Telezhynskyi
61dcc52965 Remember Formula Wizard dialog size.
--HG--
branch : develop
2017-06-16 17:05:35 +03:00
Roman Telezhynskyi
67928c16a2 Cppcheck warning.
--HG--
branch : develop
2017-06-16 16:44:57 +03:00
Roman Telezhynskyi
d110dc3325 Fixed issue #706. Default unit in preferences not changing new file unit.
(grafted from f1ce177213a46538a840fc789e4e2ce3d78d98e4)

--HG--
branch : develop
2017-06-16 16:01:09 +03:00
Roman Telezhynskyi
46d845f7e1 Improve the Formula Wizard dialog. Set a pointing hand cursor for variables
table.

--HG--
branch : develop
2017-06-16 15:11:25 +03:00
Roman Telezhynskyi
acd960ecee Fixed issue #637. Max scene size too small to fit all objects.
--HG--
branch : develop
2017-06-16 15:03:24 +03:00
Roman Telezhynskyi
b0f867499c Resolved issue #244. New feature: Adjust line and point thickness and label
size.

--HG--
branch : develop
2017-06-16 14:53:08 +03:00
Roman Telezhynskyi
45ced25561 Fixed issue #704. Valentina crashes if click on detail.
--HG--
branch : develop
2017-06-09 12:39:24 +03:00
Roman Telezhynskyi
4df84fdd94 Fix build on Mac OS X.
--HG--
branch : develop
2017-06-05 21:46:04 +03:00
Roman Telezhynskyi
e4099ec4ed Fix build on Mac OS X.
--HG--
branch : develop
2017-06-05 21:22:51 +03:00
Roman Telezhynskyi
5c4f45397d Fix build on Mac OS X.
--HG--
branch : develop
2017-06-05 20:58:38 +03:00
Roman Telezhynskyi
bdea0b8d59 Fix build on Mac OS X.
--HG--
branch : develop
2017-06-05 20:29:08 +03:00
Roman Telezhynskyi
3a4871fcd0 SonarQube warnings.
--HG--
branch : develop
2017-06-05 19:47:25 +03:00
Roman Telezhynskyi
7a9b2e34bd Changed default behaviour if path to multisize measurements or templates doesn't
exist.

If the path doesn't exist Valentina will create and return path to user
localized default folder.
(grafted from 722c37544c26fe3f406d222b7f344ddf7b3602a0)

--HG--
branch : develop
2017-06-05 17:52:42 +03:00
Roman Telezhynskyi
9be7403919 Fixed issue #702. Valentina produces broken shortcut (.lnk) files on Windows.
(grafted from 1dd5ef5924bf7d78c5c3eeae884e7f4e41bb688d)

--HG--
branch : develop
2017-06-05 16:18:38 +03:00
Roman Telezhynskyi
4461caaf0f Fixed issue #698. Problem typing in new axis point for new piece.
(grafted from 8ad30021d46f5ddcd479b7ec1a9279a5185a2578)

--HG--
branch : develop
2017-06-02 09:23:29 +03:00
Roman Telezhynskyi
bfd2620fad Next try to fix problem with tests.
Because different compilers and even different version from same vendor may
produce little bit different result this cause of test fails because it expect
too accurate result. We don't need such accuracy and can use variable
VGObject::accuracyPointOnLine to compare two points.

--HG--
branch : develop
2017-06-01 13:04:25 +03:00
Roman Telezhynskyi
cc5641a15c Added gcc’s 4.9.0 Undefined Behavior Sanitizer (ubsan).
--HG--
branch : develop
2017-06-01 10:14:17 +03:00
Roman Telezhynskyi
37a28a4629 Fixed issue #697. Incomplete Internal Path for Waist Dart.
(grafted from 1f17c5a2e540f1b1c27dab709bae1570fb170ed9)

--HG--
branch : develop
2017-05-31 10:55:39 +03:00
Roman Telezhynskyi
bd72aa29cc Try to fix tests.
--HG--
branch : develop
2017-05-30 20:56:59 +03:00
Roman Telezhynskyi
7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi
2dcfe1c84b Since Q5.4 available support C++14.
--HG--
branch : develop
2017-05-30 18:54:54 +03:00
Roman Telezhynskyi
965d908663 GCC warnings.
--HG--
branch : develop
2017-05-30 18:44:16 +03:00
Roman Telezhynskyi
2921dbf2a3 Move dialog Piece path.
--HG--
branch : develop
2017-05-30 11:56:16 +03:00
Roman Telezhynskyi
fb64c8d2e8 Remeber size of tool Seam allowance dialog between sessions. ref #683.
--HG--
branch : develop
2017-05-30 11:47:27 +03:00
Roman Telezhynskyi
4d1c15c2d5 Fixed issue #696. Wrong grainline position on layout.
(grafted from 23e7ca4bff38c47729324aaa081d601351844035)

--HG--
branch : develop
2017-05-29 17:45:55 +03:00
Roman Telezhynskyi
9287acf90e Add Valentina version info inside each file before saving.
Many misunderstand purpose of tag "version" and think that this tag contains
information about the Valentina version. More info in the comment should help.

--HG--
branch : develop
2017-05-29 16:33:36 +03:00
Roman Telezhynskyi
2efec7a1ed Added tooltip for tab Passmark.
Explained meaning of check box "Show the second passmark on seam line".
(grafted from d144cddaa4decf56cc5ff85748251b918ae407b9)

--HG--
branch : develop
2017-05-26 19:49:06 +03:00
Roman Telezhynskyi
6e1eabaf29 Tab Pins moved to be second in the list after tab Paths.
(grafted from 6dade874f3c6417db907d0c00760006aba4bd702)

--HG--
branch : develop
2017-05-26 19:39:42 +03:00
Roman Telezhynskyi
f9060f1bb7 Fixed bug in dialog Internal Piece Path.
Value from the field After rewrited data in the field Before.
(grafted from bf1336d102f09e2efef6afe4db87a0692df44b86)

--HG--
branch : develop
2017-05-26 19:27:11 +03:00
Roman Telezhynskyi
3a782f8fa7 Fixed issue #689. Grainline default values swapped around.
(grafted from 7730e53eed5099c5cdd5d0eb5abf2550b83b7805)

--HG--
branch : develop
2017-05-21 20:54:35 +03:00
Roman Telezhynskyi
780ce623ab Fixed issue #687. Wrong seam allowance.
--HG--
branch : develop
2017-05-19 10:57:58 +03:00
Roman Telezhynskyi
cc83d9602a Fixed issue #686. Seam allowance not placed correctly.
--HG--
branch : develop
2017-05-18 15:10:05 +03:00
Roman Telezhynskyi
b05b5bad8c Fixed issue #685. Bug report: CSV exports as "CVS".
--HG--
branch : develop
2017-05-17 07:57:46 +03:00
Roman Telezhynskyi
c7ad55274f Read default value of option Hide main path from settings. ref #684.
--HG--
branch : develop
2017-05-16 16:22:12 +03:00
Roman Telezhynskyi
28fce33530 Clang warning.
--HG--
branch : develop
2017-05-16 16:13:03 +03:00
Roman Telezhynskyi
5ed69ab633 SonarQube warnings.
--HG--
branch : develop
2017-05-16 16:09:11 +03:00
Roman Telezhynskyi
d38681b853 Cppcheck warning.
--HG--
branch : develop
2017-05-16 15:35:50 +03:00
Roman Telezhynskyi
91a75f6f01 Fix layout internal path support of pen style.
--HG--
branch : develop
2017-05-16 15:19:27 +03:00
Roman Telezhynskyi
56dd8ef3b6 Resolved issue #684. Proposal: Add option to only show outer edges on detail.
--HG--
branch : develop
2017-05-16 15:16:50 +03:00
Roman Telezhynskyi
13a93ef5df Fix internal path support of pen style.
--HG--
branch : develop
2017-05-16 13:47:36 +03:00
Roman Telezhynskyi
32a16890a7 Resolved issue #681. Enhance feature: Dashed line options for curves, arcs, etc.
--HG--
branch : develop
2017-05-16 13:07:53 +03:00
Roman Telezhynskyi
037fe89e27 Resolved issue #683. Tool Seam allowance's dialog is off screen on small
resolutions.

--HG--
branch : develop
2017-05-13 11:55:02 +03:00
Roman Telezhynskyi
c02ef13ed4 Suppress warnings inside ui folder.
--HG--
branch : develop
2017-05-12 15:51:44 +03:00
Roman Telezhynskyi
e923234127 SonarQube warnings.
--HG--
branch : develop
2017-05-12 15:48:25 +03:00
Roman Telezhynskyi
7225481091 Resolved issue #682. New feature. Export increments to Excel .csv.
--HG--
branch : develop
2017-05-12 15:09:19 +03:00
Roman Telezhynskyi
5aaeaaf9da SonarQube warnings.
--HG--
branch : develop
2017-05-12 10:15:44 +03:00
Roman Telezhynskyi
34f3737c9e Begin new branch v0.6.0.
--HG--
branch : develop
2017-05-12 08:47:05 +03:00
Roman Telezhynskyi
1cf4e97b7d Clang warnings. 2017-05-10 14:58:17 +03:00
Roman Telezhynskyi
e48298ce64 Fix regression. 2017-05-10 09:35:19 +03:00
Roman Telezhynskyi
67a54b8f3d Fix error after merge. 2017-05-09 18:36:39 +03:00
Roman Telezhynskyi
c0d79afb85 Merge with release. 2017-05-09 18:18:31 +03:00
Roman Telezhynskyi
b355f1dbfc Prepare to release 0.5.0. Change version number.
--HG--
branch : release
2017-05-09 16:04:31 +03:00
Roman Telezhynskyi
5f92557609 Fixed issue #679. Second control point at beginning of curved path - bug.
--HG--
branch : release
2017-05-07 08:35:18 +03:00
Roman Telezhynskyi
9fd611e2d1 Fixed bug with a grainline.
Grainline arrows were upside down on layout.

--HG--
branch : release
2017-04-28 15:37:31 +03:00
Roman Telezhynskyi
03a9b07eff Fixed issue #673. The Insert Node tool changes Label.
--HG--
branch : release
2017-04-28 09:38:09 +03:00
Roman Telezhynskyi
677ef71626 Added second case when create a passmark for point that lies on line.
--HG--
branch : release
2017-04-27 18:19:23 +03:00
Roman Telezhynskyi
f2f1a681ef Pins should be on top.
--HG--
branch : release
2017-04-27 16:53:18 +03:00
Roman Telezhynskyi
1a2def2bca SonarQube warnings.
--HG--
branch : release
2017-04-27 16:45:29 +03:00
Roman Telezhynskyi
32e3a6340c Fixed issue #671. Weird behaviour of the passmark.
--HG--
branch : release
2017-04-27 16:37:10 +03:00
Roman Telezhynskyi
f990a5726c Refactoring. Join similar parts from methods that update labels. ref #672.
Issue #672 that this part better to refactor to eliminate more issues in future.

--HG--
branch : release
2017-04-27 14:30:20 +03:00
Roman Telezhynskyi
795373e74e Fixed issue #672. Labels are turning oposite directions.
--HG--
branch : release
2017-04-27 13:32:52 +03:00
Roman Telezhynskyi
c9e005c65b Small improvements for passmark.
Added new option that allow localy disable the second passmark on the seam line.

--HG--
branch : release
2017-04-26 11:22:42 +03:00
Roman Telezhynskyi
39a1c50022 Fix bug. Labels created tools from Operation section should be not movable when
use a tool.

--HG--
branch : release
2017-04-26 08:19:39 +03:00
Roman Telezhynskyi
89bf3cc005 Revert previos changes. ref #668.
Do not ignore nodes if a passmark is part of main path.

--HG--
branch : release
2017-04-26 08:07:07 +03:00
Roman Telezhynskyi
585213412c Fix case with custom piece path as part of main path. ref #668.
--HG--
branch : release
2017-04-25 20:48:32 +03:00
Roman Telezhynskyi
b300c2a83a Fix bug with property browser.
Coverity Scan gave bad advise.

--HG--
branch : release
2017-04-25 14:39:08 +03:00
Roman Telezhynskyi
dce880e270 Minor fixes for dialog Piece path.
--HG--
branch : release
2017-04-25 13:55:35 +03:00
Roman Telezhynskyi
7840bf04eb Resolved issue #668. Passmarks on Hems.
--HG--
branch : release
2017-04-25 11:42:08 +03:00
Roman Telezhynskyi
c09f69b320 Fix typo.
--HG--
branch : release
2017-04-24 17:20:15 +03:00
Roman Telezhynskyi
85aca86c85 Fix current index for tab Main path.
--HG--
branch : release
2017-04-24 16:01:50 +03:00
Roman Telezhynskyi
e2f1b87596 Fix typo.
--HG--
branch : release
2017-04-22 17:24:25 +03:00
Roman Telezhynskyi
45ce22d6e3 SonarQube warning.
--HG--
branch : release
2017-04-21 18:01:43 +03:00
Roman Telezhynskyi
7734c0564b Localization improvements.
--HG--
branch : release
2017-04-21 17:28:25 +03:00
Roman Telezhynskyi
6c047b140d Resolved issue #666. QDomDocument produces random attribute order.
--HG--
branch : release
2017-04-20 19:01:08 +03:00
Roman Telezhynskyi
b4106f8e5a Improved tip in the Piece path dialog.
--HG--
branch : release
2017-04-20 15:00:37 +03:00
Roman Telezhynskyi
b2ed7d9db4 Refactoring. Add a move assignment operator to all classes that use
QSharedDataPointer class to keep data.

--HG--
branch : release
2017-04-19 13:27:17 +03:00
Roman Telezhynskyi
a0262e260b Coverity scan warnings.
--HG--
branch : release
2017-04-19 12:48:13 +03:00
Roman Telezhynskyi
ef9f9c6af4 Fixed issue #665. Passmark not correct.
--HG--
branch : release
2017-04-18 21:39:13 +03:00
Roman Telezhynskyi
c2609b98be Refactoring.
--HG--
branch : release
2017-04-18 11:49:05 +03:00
Roman Telezhynskyi
bab0adfebc Refactoring method MUnit(). All formats have the same syntax.
--HG--
branch : release
2017-04-18 11:46:53 +03:00
Roman Telezhynskyi
124fd657e3 Suppress scene item context menu if a tool was activated.
A context menu is allowed only if the Arrow tool is active.

--HG--
branch : release
2017-04-18 11:06:17 +03:00
Roman Telezhynskyi
865af1540b SonarQube warning.
--HG--
branch : release
2017-04-15 18:19:16 +03:00
Roman Telezhynskyi
30a35e723a Removed unused function.
--HG--
branch : release
2017-04-15 18:19:00 +03:00
Roman Telezhynskyi
b433d9cfc4 Clang warning.
--HG--
branch : release
2017-04-15 18:11:19 +03:00
Roman Telezhynskyi
c5957846b6 Refactoring. New parent class VInteractiveTool.
Helps to share info about tool dialog.

--HG--
branch : release
2017-04-15 17:39:59 +03:00
Roman Telezhynskyi
e8917bd10d Fixed issue #662. Valentina closes when creating details on 64 bit systems.
--HG--
branch : release
2017-04-15 13:25:07 +03:00
Roman Telezhynskyi
73c035ecc9 Fix bug with trigonometric functions.
Functions sin(), cos() and tan() take radians. And their counterparts asin(),
acos() and atan() return radians. Removed hyperbolic functions because they do
not work with radians.

--HG--
branch : release
2017-04-14 18:42:49 +03:00
Roman Telezhynskyi
a7b721941a Fix build on Windows.
--HG--
branch : release
2017-04-14 17:47:39 +03:00