Commit graph

2088 commits

Author SHA1 Message Date
Roman Telezhynskyi 9ae393a462 For AAMA layer 1 must be default.
--HG--
branch : feature
2017-07-19 10:34:24 +03:00
Roman Telezhynskyi f20549d310 Optitex doesn't like layer 19.
--HG--
branch : feature
2017-07-19 10:33:21 +03:00
Roman Telezhynskyi 2b3434fe87 Only since R13 DXF supports space character in block name.
--HG--
branch : feature
2017-07-17 17:43:10 +03:00
Roman Telezhynskyi cc0d6d994b Read layer settings for block from block's settings.
--HG--
branch : feature
2017-07-17 17:25:38 +03:00
Roman Telezhynskyi c84f7ef828 Up to R12 DXF allows not to define default layer "0".
--HG--
branch : feature
2017-07-17 17:19:49 +03:00
Roman Telezhynskyi 2dd8519433 Code style fix.
Remove confusing commented code.

--HG--
branch : feature
2017-07-17 17:10:34 +03:00
Roman Telezhynskyi 74035ddeeb Fix opening files in version R10.
AutoCAD complains about missed groups.

--HG--
branch : feature
2017-07-17 13:35:20 +03:00
Roman Telezhynskyi 54eadfdb3c Export to DXF-AAMA.
--HG--
branch : feature
2017-07-16 21:10:48 +03:00
Ronan Le Tiec 46f70788cf issue #654 refactoring the code so that the functions and variables are called xxx multisize xxx instead of xxx standard xxx
--HG--
branch : develop
2017-07-12 20:21:48 +02:00
Roman Telezhynskyi 052896b960 Fix bug. Mirrored text had wrong position on layout.
--HG--
branch : develop
2017-07-11 15:14:08 +03:00
Roman Telezhynskyi 3b00e4ad0e Fix grainline position on layout.
--HG--
branch : develop
2017-07-11 13:53:36 +03:00
Roman Telezhynskyi 9475da34b8 Tool Seam allowance's bounding box should not include passmarks.
--HG--
branch : develop
2017-07-11 13:05:48 +03:00
Roman Telezhynskyi 03e6a4304f Fix painting outside of grainline bounding rect.
(grafted from cfbfaefb91a4efd42df937bd5d87a2f9459b6f86)

--HG--
branch : develop
2017-07-11 12:32:07 +03:00
Roman Telezhynskyi b166ff83b2 Pieces should be positioned as on Detail mode. ref #660.
--HG--
branch : develop
2017-07-09 22:27:54 +03:00
Roman Telezhynskyi 7d205d7596 Resolved issue #660. New export: Export details without layout.
--HG--
branch : develop
2017-07-09 14:45:49 +03:00
Roman Telezhynskyi d0cc8902f9 SonarQube warnings.
--HG--
branch : develop
2017-07-09 09:02:26 +03:00
Roman Telezhynskyi e56e59dec1 SonarQube warnings.
--HG--
branch : develop
2017-07-07 20:08:35 +03:00
Roman Telezhynskyi 2f98ec7c8a Fix memory leak.
--HG--
branch : develop
2017-07-07 18:11:48 +03:00
Roman Telezhynskyi 703c9f5f06 Clang warnings.
--HG--
branch : develop
2017-07-07 10:22:24 +03:00
Roman Telezhynskyi 42c2b45171 Fix error C2065: 'not': undeclared identifier.
--HG--
branch : develop
2017-07-06 22:12:46 +03:00
Roman Telezhynskyi 9ff99ab357 Clang warning.
--HG--
branch : develop
2017-07-06 19:07:53 +03:00
Roman Telezhynskyi 36d6e8e408 Fix error C2065: 'not': undeclared identifier.
--HG--
branch : develop
2017-07-06 19:04:58 +03:00
Roman Telezhynskyi 5968ed27cc error "QT_WARNING_PUSH was not declared in this scope".
--HG--
branch : develop
2017-07-06 16:10:46 +03:00
Roman Telezhynskyi 38afcf43f2 error "QT_WARNING_PUSH was not declared in this scope".
--HG--
branch : develop
2017-07-06 16:03:02 +03:00
Roman Telezhynskyi 9a074266b9 Completely disable warning Wstack-protector.
--HG--
branch : develop
2017-07-06 15:45:58 +03:00
Roman Telezhynskyi 33a3c4e214 Suppressing syntaxError doesn't work.
--HG--
branch : develop
2017-07-06 15:37:57 +03:00
Roman Telezhynskyi 9a8419920d Suppress Cppcheck warning "syntaxError".
--HG--
branch : develop
2017-07-06 15:21:44 +03:00
Roman Telezhynskyi 21e9719954 Fix error "QT_WARNING_PUSH does not name a type".
--HG--
branch : develop
2017-07-06 15:08:34 +03:00
Roman Telezhynskyi f701cc95f9 Suppress GCC's warning Wstack-protector.
--HG--
branch : develop
2017-07-06 14:49:49 +03:00
Roman Telezhynskyi 365f971d5f Fix building tests.
--HG--
branch : develop
2017-07-06 14:26:42 +03:00
Roman Telezhynskyi 490ccbe60a Remove dwg support.
--HG--
branch : develop
2017-07-06 14:10:14 +03:00
Roman Telezhynskyi e6eb9c756b Cppcheck warnings.
--HG--
branch : develop
2017-07-06 12:58:26 +03:00
Roman Telezhynskyi 189f091bb4 VDXF library. Since Qt5.4 available support C++14.
--HG--
branch : develop
2017-07-05 19:36:17 +03:00
Roman Telezhynskyi 1726b55339 GCC warnings.
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi b6e0d97df0 Qmake. Fix masks to support 64 bit versions of compilers.
--HG--
branch : develop
2017-07-05 11:35:32 +03:00
Roman Telezhynskyi d25979f054 Merged with feature.
--HG--
branch : develop
2017-07-04 19:53:05 +03:00
Roman Telezhynskyi 13d43d100d Resolved issue #712. Default seam allowance setting.
--HG--
branch : develop
2017-07-03 11:23:34 +03:00
Ronan Le Tiec 14b0eade7a currentIndex of tabpaths.ui changed by mistake
--HG--
branch : develop
2017-07-02 13:46:38 +02:00
Ronan Le Tiec f080b88cf7 issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
--HG--
branch : develop
2017-07-02 13:34:36 +02:00
Ronan Le Tiec 07556c6c46 issue #712 new setting added in dialog for seam default seam allowance. not taken into account in the rest of the programm yet
--HG--
branch : develop
2017-07-02 10:14:01 +02:00
Roman Telezhynskyi 72ea1997fb Fixed issue #715. Build fails with Qt 5.9.1 / clang / macOS.
(grafted from d78ca13c4891ccf3542b0704a7d66af0f9b02938)

--HG--
branch : develop
2017-07-01 21:38:26 +03:00
Roman Telezhynskyi f94967d02e New option Export text as paths.
--HG--
branch : feature
2017-07-01 20:32:54 +03:00
Roman Telezhynskyi 53502e3dd9 Refactoring. Remove code dependency.
--HG--
branch : feature
2017-07-01 14:43:16 +03:00
Roman Telezhynskyi 275338da4b Allow user to setup font family for piece labels.
--HG--
branch : feature
2017-07-01 14:41:46 +03:00
Roman Telezhynskyi c97af5a9f9 Restore saving real font family.
--HG--
branch : feature
2017-06-29 20:08:08 +03:00
Roman Telezhynskyi 22b448f98d Fixed text conversion.
--HG--
branch : feature
2017-06-29 20:03:35 +03:00
Roman Telezhynskyi 1226db1735 Text now correctly converted due to hack. Saved to continue cleaning.
--HG--
branch : feature
2017-06-29 18:56:52 +03:00
Roman Telezhynskyi b18f5fa928 Fix bug. Date on label doesn't obey GUI language locale.
(grafted from b60a78d145f51bef3bc08978e1fe3b0a7d6500ab)

--HG--
branch : develop
2017-06-29 14:47:24 +03:00
Roman Telezhynskyi a59e0e54af Fix bug. Date on label doesn't obey GUI language locale.
--HG--
branch : feature
2017-06-29 14:47:24 +03:00
Roman Telezhynskyi 0bb4280a02 Improvment libdxfrw to support font style.
--HG--
branch : feature
2017-06-29 13:01:28 +03:00
Roman Telezhynskyi 721165eae3 Export from a layout text instead of paths.
--HG--
branch : feature
2017-06-29 13:00:06 +03:00
Roman Telezhynskyi a1daf20d0f Init appId.
--HG--
branch : feature
2017-06-26 18:06:57 +03:00
Roman Telezhynskyi 9edc1a39db Allow user to select DXF version.
--HG--
branch : feature
2017-06-26 17:28:41 +03:00
Roman Telezhynskyi ff0e5919a7 Fix polygon linetype.
--HG--
branch : feature
2017-06-26 13:00:59 +03:00
Roman Telezhynskyi d9353df43a Correct line types.
--HG--
branch : feature
2017-06-23 22:11:25 +03:00
Roman Telezhynskyi 4c2c4ae7a2 Fix broken $TDCREATE.
--HG--
branch : feature
2017-06-23 17:49:15 +03:00
Roman Telezhynskyi 146bf98f84 Merge with develop.
--HG--
branch : feature
2017-06-23 16:21:11 +03:00
Roman Telezhynskyi cacba00e83 Zoom fit best current did not work properly because of corrupted point.
--HG--
branch : develop
2017-06-23 16:02:59 +03:00
Roman Telezhynskyi a1f4207621 Scale curve direction arrows.
--HG--
branch : develop
2017-06-23 14:18:31 +03:00
Roman Telezhynskyi 8d0b2c0af9 Fix a crash.
Valentina crahed if create a curve.

--HG--
branch : develop
2017-06-23 12:25:02 +03:00
Roman Telezhynskyi beff9d1322 We don't need anymore library dxflib.
--HG--
branch : feature
2017-06-21 16:59:58 +03:00
Roman Telezhynskyi 88288f2fba AutoCAD doesn't like how we init dimstyles.
--HG--
branch : feature
2017-06-21 16:36:24 +03:00
Roman Telezhynskyi 3c48935b5c Handle value $TDCREATE.
--HG--
branch : feature
2017-06-21 16:32:50 +03:00
Roman Telezhynskyi 98dc6893a9 Looks like one file was lost.
--HG--
branch : feature
2017-06-21 16:32:19 +03:00
Roman Telezhynskyi af51cc0edf Removed dummy functions.
--HG--
branch : feature
2017-06-21 15:57:06 +03:00
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