Commit Graph

6336 Commits

Author SHA1 Message Date
Roman Telezhynskyi
b724210bf9 Debug ICU_DATA environment variable.
--HG--
branch : develop
2019-11-26 15:35:43 +02:00
Roman Telezhynskyi
3b56659226 Set environment variable ICU_DATA on runtime.
When deploying with AppImage based on OpenSuse, the ICU library has a
hardcoded path to the icudt*.dat file. This prevents the library from using
shared in memory data. There are few ways to resolve this issue. According to
documentation we can either use ICU_DATA environment variable or the function
u_setDataDirectory().

--HG--
branch : develop
2019-11-26 12:57:06 +02:00
Roman Telezhynskyi
a59f4d7923 Fix crash when QTextCodec::codecForMib returns null.
--HG--
branch : develop
2019-11-25 11:34:17 +02:00
Roman Telezhynskyi
9cc97ef602 Clazy warnings.
--HG--
branch : develop
2019-11-24 13:09:30 +02:00
Roman Telezhynskyi
1217616813 Refactoring.
Pass VContainer::AddVariable only a variable, the variable already knows its
name.

--HG--
branch : develop
2019-11-24 13:09:16 +02:00
Roman Telezhynskyi
2d63440549 Fix a crash. ref #984.
Cover cases with VCubicBezier and VCubicBezierPath.

--HG--
branch : develop
2019-11-24 12:49:40 +02:00
Roman Telezhynskyi
9e25e6de24 Introducing vRound function.
Shortcut to round double to X points decimal.

--HG--
branch : develop
2019-11-19 15:46:11 +02:00
Roman Telezhynskyi
0c0207aa6f Fix dialog for tool Point along perpendicular. No memory of line color settings.
(grafted from d65f796893e4f8c04b535f711bd8d93275e2ddff)

--HG--
branch : develop
2019-11-19 10:52:53 +02:00
Roman Telezhynskyi
816db0a7bb Make increments separator more visually separated from regular increments.
--HG--
branch : develop
2019-11-18 14:42:27 +02:00
Roman Telezhynskyi
522fd798ad Lupdate.
--HG--
branch : develop
2019-11-18 14:25:18 +02:00
Roman Telezhynskyi
ec346117f1 Fix initial state for Pattern messages dock widget.
It should not float, better initially show it docked.

--HG--
branch : develop
2019-11-15 17:42:12 +02:00
Roman Telezhynskyi
2a2ebe32b8 Always use Q_OS_WIN macros.
We don't have specific 32 bit implementations.

--HG--
branch : develop
2019-11-15 09:48:05 +02:00
Roman Telezhynskyi
75786483c7 Remove unused header.
--HG--
branch : develop
2019-11-15 09:44:33 +02:00
Roman Telezhynskyi
36e839ed5d Move to top and include qt_windows.h.
--HG--
branch : develop
2019-11-15 09:51:31 +02:00
Roman Telezhynskyi
477040c0b2 Fix crash.
When a user calls full parse and a pattern contains a lot of pieces while they
update a second call may cause a crash.

--HG--
branch : develop
2019-11-14 10:52:07 +02:00
Roman Telezhynskyi
8cdbb3dd7e Lupdate.
--HG--
branch : develop
2019-11-14 14:27:31 +02:00
Roman Telezhynskyi
f8ca985ad7 Fix a crash. ref #984.
--HG--
branch : develop
2019-11-07 18:07:07 +02:00
Roman Telezhynskyi
f1c95e9046 Define explicit organization.
--HG--
branch : develop
2019-11-07 16:43:34 +02:00
Roman Telezhynskyi
22c3bbcd46 Fix tests.
--HG--
branch : develop
2019-11-04 12:20:07 +02:00
Roman Telezhynskyi
db14bca099 Lupdate.
--HG--
branch : develop
2019-11-03 18:38:21 +02:00
Roman Telezhynskyi
0cb7965379 Minimal seam allowance must be little bit bigger.
--HG--
branch : develop
2019-11-03 17:50:39 +02:00
Roman Telezhynskyi
f460a324b3 We must not rely on current directory when start tests.
--HG--
branch : develop
2019-11-03 16:00:23 +02:00
Roman Telezhynskyi
bb70989165 Fixing error: invalid return type 'void' of constexpr function.
--HG--
branch : develop
2019-11-03 10:45:04 +02:00
Roman Telezhynskyi
b8f2d1782b Cppcheck warning.
--HG--
branch : develop
2019-11-03 10:20:00 +02:00
Roman Telezhynskyi
2887350c16 Fix bugs with a seam allowance.
--HG--
branch : develop
2019-11-03 10:13:02 +02:00
Roman Telezhynskyi
c924a6f700 New class VRawSAPoint.
Post processing a seam allowance.

--HG--
branch : develop
2019-11-03 10:01:32 +02:00
Roman Telezhynskyi
7f5ec1c9a1 It is better to not allow user to set seam allowance width to 0. 0 seam
allowance creates intersections with a main path.

--HG--
branch : develop
2019-11-03 09:30:36 +02:00
Roman Telezhynskyi
57ae6e82a0 Fix progress bar.
When user opens a pattern after menu Window -> Close pattern the progress bar
is missing.

--HG--
branch : develop
2019-11-02 12:15:19 +02:00
Roman Telezhynskyi
82792dba6c Speed up bulk removing pieces.
Optimizations for 'do' and 'undo' operations.

--HG--
branch : develop
2019-10-30 15:25:25 +02:00
Roman Telezhynskyi
0bd69403d7 Fixed translation numbers in scientific notation.
(grafted from ad76bd9f92578e8f4a6f9ae21ad569eec1abec8f)

--HG--
branch : develop
2019-10-30 11:34:01 +02:00
Roman Telezhynskyi
ca31168b86 Fix path to project sources.
--HG--
branch : develop
2019-10-30 10:43:02 +02:00
Roman Telezhynskyi
940c99f201 We need building from source.
--HG--
branch : develop
2019-10-30 10:25:15 +02:00
Roman Telezhynskyi
e04f5c70f5 Resolved issue #984. Special variable "CurrentLength" for tools Cut Arc, Cut
Spline and Cut Spline Path.

--HG--
branch : develop
2019-10-29 15:43:25 +02:00
Roman Telezhynskyi
9846d5a91f Fixing bugs.
--HG--
branch : develop
2019-10-29 13:42:15 +02:00
Roman Telezhynskyi
6480580c0f Little improvement.
--HG--
branch : develop
2019-10-29 12:02:00 +02:00
Roman Telezhynskyi
144f40ad3d Building an AppImage for Valentina. ref #795.
--HG--
branch : develop
2019-10-29 10:53:39 +02:00
Roman Telezhynskyi
45421b4d21 Fix error C2065: 'not': undeclared identifier.
--HG--
branch : develop
2019-10-29 08:26:05 +02:00
Roman Telezhynskyi
8f6ae65224 New feature Pattern Messages.
Added special field to show pattern warnings instead of warning dialogs.
Fixed issue with tabified dockwidgets.

--HG--
branch : develop
2019-10-28 17:44:31 +02:00
Roman Telezhynskyi
b7c1b4c4a6 Clazy warnings.
--HG--
branch : develop
2019-10-28 14:52:49 +02:00
Roman Telezhynskyi
7f9906bbcc Fix for seam aloowance angle type By first edge symmetry.
--HG--
branch : develop
2019-10-23 11:24:59 +03:00
Roman Telezhynskyi
74111e870d Lupdate.
--HG--
branch : develop
2019-10-19 11:29:01 +03:00
Roman Telezhynskyi
d956a1ab50 Update version of package for BinTray.
--HG--
branch : develop
2019-10-19 08:02:10 +03:00
Roman Telezhynskyi
a901943b7c Lupdate.
--HG--
branch : develop
2019-10-18 14:15:46 +03:00
Roman Telezhynskyi
36d5f245b9 Fix closing a pattern file.
Window title was still not cleaned properly.

--HG--
branch : develop
2019-10-18 14:01:18 +03:00
Roman Telezhynskyi
95d6bceb9b Layout stops after timeout too slow.
--HG--
branch : develop
2019-10-18 11:47:02 +03:00
Andrey Ushakov
ea75af2f46 New command line option --cropWidth. Helps to crop unused width of paper.
--HG--
branch : develop
2019-10-16 11:16:16 +03:00
Roman Telezhynskyi
b3cc614789 Fix incorrect angle value in tool tooltip.
(grafted from 3d1fe3de2bb0d8675ed89934456792906bf1d0eb)

--HG--
branch : develop
2019-10-17 14:54:54 +03:00
Roman Telezhynskyi
43b6125edd Fixed issue #978. Don't show errors in History dialog.
Showing error messages instead of tool record can confuse a user. Additionally
it may create issues with a caret (feature insert after).
(grafted from 33a0a02a8ff5904b0226cbc1e94f36619db45212)

--HG--
branch : develop
2019-09-16 11:54:55 +03:00
Roman Telezhynskyi
1bfd919e4a Lupdate.
--HG--
branch : develop
2019-10-17 14:38:48 +03:00
Roman Telezhynskyi
232f1bc920 Certain languages like he_IL and zh_CN are not supported by math parser.
--HG--
branch : develop
2019-10-17 14:38:33 +03:00