Commit Graph

4148 Commits

Author SHA1 Message Date
Roman Telezhynskyi
6a5aa0aafc Merged in oni303/valentina/feature (pull request #155)
qmuparser: added triangular functions that work with degree

--HG--
branch : develop
2017-02-27 20:28:37 +00:00
Georg von Zengen
159432927a qmuparser: added triangular functions that work with degree
new functions are: degTorad, radTodeg, , sinD, cosD, tanD, asinD, acosD , atanD, sinhD, coshD , tanhD, asinhD, acoshD, atanhD

--HG--
branch : feature
2017-02-27 20:42:35 +01:00
Roman Telezhynskyi
3b33eabc22 Clang warning.
--HG--
branch : develop
2017-02-26 15:52:00 +02:00
Roman Telezhynskyi
ae5650f1f0 Try to fix MSVC error.
--HG--
branch : develop
2017-02-26 12:25:14 +02:00
Roman Telezhynskyi
01612c4c7c GCC warning.
--HG--
branch : develop
2017-02-26 12:17:58 +02:00
Roman Telezhynskyi
81ac6c75a7 Lupdate.
--HG--
branch : develop
2017-02-26 09:47:39 +02:00
Roman Telezhynskyi
5dff5b36d0 Fixed issue #631. Runtime Error when using elliptical arc and opening
Measurements Table of Variables or Formula Wizard.

--HG--
branch : develop
2017-02-26 09:00:40 +02:00
Roman Telezhynskyi
5a2604d2bd "catch" a specific exception type.
--HG--
branch : develop
2017-02-22 19:49:17 +02:00
Roman Telezhynskyi
34b70cfb02 Add an explicit "return" statement with an expression.
--HG--
branch : develop
2017-02-22 19:40:50 +02:00
Roman Telezhynskyi
2c6f1d9f64 End a switch case with an unconditional break.
--HG--
branch : develop
2017-02-22 19:34:29 +02:00
Roman Telezhynskyi
703a26a5cf Remove useless assignment to variable "date".
--HG--
branch : develop
2017-02-22 19:29:30 +02:00
Roman Telezhynskyi
67d69781f3 Remove the code after "return".
--HG--
branch : develop
2017-02-22 19:27:53 +02:00
Roman Telezhynskyi
a4fd71f68c Refactoring. Merging identical cases.
--HG--
branch : develop
2017-02-22 14:15:16 +02:00
Roman Telezhynskyi
e3d6b32aec Do not use "volatile" to sync threads.
--HG--
branch : develop
2017-02-22 14:04:47 +02:00
Roman Telezhynskyi
a0380f4d24 Warning. Initialize member in an initialization list.
--HG--
branch : develop
2017-02-22 12:22:04 +02:00
Roman Telezhynskyi
2d24964c68 Appveyor added support Qt 5.8.
--HG--
branch : develop
2017-02-22 12:16:51 +02:00
Roman Telezhynskyi
2921276cad Sync libdxf code with last from QCAD project.
--HG--
branch : develop
2017-02-22 12:08:58 +02:00
Roman Telezhynskyi
146c936ccf Clang warning.
--HG--
branch : develop
2017-02-22 08:11:13 +02:00
Roman Telezhynskyi
915276748c Replace deprecated function qt_mac_set_dock_menu() by method
QMenu::setAsDockMenu().

--HG--
branch : develop
2017-02-22 08:09:33 +02:00
Roman Telezhynskyi
4ed5fd9329 QScopedPointer doesn't support deleting from outside.
--HG--
branch : develop
2017-02-22 08:02:28 +02:00
Roman Telezhynskyi
b31a8d4c6b Extend max size to 72 cm.
Request from a user. See
http://forum.valentina-project.org/t/extension-of-standard-measurements/957

--HG--
branch : develop
2017-02-22 07:54:42 +02:00
Roman Telezhynskyi
d84fd78a38 Fixed bug. Operation tools did not obey tool selection type.
--HG--
branch : develop
2017-02-21 16:16:02 +02:00
Roman Telezhynskyi
0941b018fd Use GCC's warning key -Wzero-as-null-pointer-constant.
This flag will be useful for checking using new C++11 keyword nullptr. But
because this flag produce a lot "false alarm" from insides of Qt we can't
suppress better to wait time when Qt team will fully use Q_NULLPTR macros.

--HG--
branch : develop
2017-02-21 07:10:35 +02:00
Roman Telezhynskyi
f50f9f860f Lupdate.
--HG--
branch : develop
2017-02-20 19:20:42 +02:00
Roman Telezhynskyi
38abf5c9a0 Removed redundant forward declaration.
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi
8f0f2399e2 Use QScopedPointer to prevent memory leaks.
--HG--
branch : develop
2017-02-18 10:43:06 +02:00
Roman Telezhynskyi
7b23e89237 Check pointer to prevent memory leak.
--HG--
branch : develop
2017-02-18 09:03:24 +02:00
Roman Telezhynskyi
d038a22aa3 Fix broken build.
--HG--
branch : develop
2017-02-17 20:54:16 +02:00
Roman Telezhynskyi
2f024db547 Resolved issue #611. Improve feature: Paths preferences.
--HG--
branch : develop
2017-02-17 20:37:49 +02:00
Roman Telezhynskyi
c00a1d6e94 Resolved issue #557. Enhance feature: Measurement menu enhancements.
--HG--
branch : develop
2017-02-17 14:24:55 +02:00
Roman Telezhynskyi
1b0bd37621 Resolved issue #556. Enhance feature: Move 'Pattern Properties' from Pattern
Piece menu to File menu.

--HG--
branch : develop
2017-02-16 15:16:52 +02:00
Roman Telezhynskyi
d1f9f57f76 Lupdate.
--HG--
branch : develop
2017-02-13 15:14:40 +02:00
Roman Telezhynskyi
a8bd44b63a Refactoring. Method VDrawTool::AddRecord has sense to call only when do
Document::FullParse.

--HG--
branch : develop
2017-02-13 08:55:42 +02:00
Roman Telezhynskyi
8814c07d14 Fixed bug. Grainline's formulas were not converted to internal look.
--HG--
branch : develop
2017-02-13 08:30:34 +02:00
Roman Telezhynskyi
b4e1a19b4f Clang warning.
--HG--
branch : develop
2017-02-12 22:04:09 +02:00
Roman Telezhynskyi
424f661112 Fix export to dxf.
--HG--
branch : develop
2017-02-12 21:13:03 +02:00
Roman Telezhynskyi
33cdac0db1 Fixed issue #627. Seam allowance artifacts
--HG--
branch : develop
2017-02-12 17:29:54 +02:00
Roman Telezhynskyi
16871a0466 Fix bug with Default button.
--HG--
branch : develop
2017-02-12 15:42:21 +02:00
Roman Telezhynskyi
b09cad8c42 GCC warnings.
--HG--
branch : develop
2017-02-12 15:02:07 +02:00
Roman Telezhynskyi
77aa8e6f0e Try to fix test on Windows.
--HG--
branch : develop
2017-02-12 13:20:41 +02:00
Roman Telezhynskyi
a800a01308 Fixed issue #626. Seam allowance bug on curves.
--HG--
branch : develop
2017-02-10 20:10:30 +02:00
Roman Telezhynskyi
6fd45d9e2c Path should also supports elliptical arc.
--HG--
branch : develop
2017-02-10 16:47:15 +02:00
Roman Telezhynskyi
ddd2e3054f Fixed issue #625. Seam allowance tool does not take decimals with locale
de_DE.utf8.

--HG--
branch : develop
2017-02-10 15:02:03 +02:00
Roman Telezhynskyi
d7f9898edc Fixed a typo.
--HG--
branch : develop
2017-02-09 17:16:47 +02:00
Roman Telezhynskyi
9c27e7bfed Fixed issue #624. Icon resulotion issues with some display setups.
--HG--
branch : develop
2017-02-09 15:43:17 +02:00
Roman Telezhynskyi
0ff63c57e4 MSVS error: C2065: 'not': undeclared identifier.
--HG--
branch : develop
2017-02-08 18:58:25 +02:00
Roman Telezhynskyi
aace2e0178 Internal paths in layout now support pen style.
--HG--
branch : develop
2017-02-08 13:48:05 +02:00
Roman Telezhynskyi
2b7851f354 Enable Save button only if document is modified.
--HG--
branch : develop
2017-02-08 12:12:10 +02:00
Roman Telezhynskyi
5edc241426 Fix corruption a pattern after using Union Details tool.
--HG--
branch : develop
2017-02-08 11:06:17 +02:00
Roman Telezhynskyi
a1774149f6 Fixed issue #622. Piece lost custom seam allowance data.
--HG--
branch : develop
2017-02-08 10:28:18 +02:00