Commit Graph

7712 Commits

Author SHA1 Message Date
Roman Telezhynskyi
29bd9b6497 Implementation of C++14's make_unique for C++11 compilers. 2022-02-17 15:45:41 +02:00
Roman Telezhynskyi
7d4c238a94 Since Leap 15.4 we must switch to lrelease-pro. 2022-02-17 15:34:21 +02:00
Roman Telezhynskyi
eae539dc4a Add missing header. 2022-02-17 14:44:53 +02:00
Roman Telezhynskyi
c09b81a427 Add missing package on OpenSUSE. 2022-02-17 13:26:08 +02:00
Roman Telezhynskyi
2c0ccbb1cf Fix build on Debian 9. 2022-02-17 13:20:42 +02:00
Roman Telezhynskyi
95e115faca make_unique available since C++14. 2022-02-17 13:04:51 +02:00
Roman Telezhynskyi
a4658e38c9 Port fix for debugbreak. 2022-02-17 12:28:06 +02:00
Roman Telezhynskyi
0498a51b6f Add a shortcut for Final measurements. 2022-02-15 11:32:07 +02:00
Roman Telezhynskyi
c7a54a4c7c Correct release date. 2022-02-14 17:44:27 +02:00
Roman Telezhynskyi
0286173c67 Lupdate. 2022-02-14 17:43:57 +02:00
Roman Telezhynskyi
306914b757 Fix build on Windows. 2022-02-14 15:21:44 +02:00
Roman Telezhynskyi
59ce30d4d3 Lupdate. 2022-02-14 14:20:26 +02:00
Roman Telezhynskyi
0998354422 Remove unused variable. 2022-02-14 14:12:29 +02:00
Roman Telezhynskyi
080e84ff48 New placeholders. 2022-02-14 14:11:27 +02:00
Roman Telezhynskyi
77138b0364 Add a dimension axis to name in individual measurements. 2022-02-14 13:46:11 +02:00
Roman Telezhynskyi
0b7d139680 Lupdate. 2022-02-14 13:34:53 +02:00
Roman Telezhynskyi
cbef79733d Fix crash. 2022-02-14 13:26:31 +02:00
Roman Telezhynskyi
715442508d Dimension custom name. 2022-02-14 13:26:24 +02:00
Roman Telezhynskyi
baa107d12f Adjust combobox to fit a dimension label length. 2022-02-12 17:42:32 +02:00
Roman Telezhynskyi
7c55596052 When add a piece do not make it selected. 2022-02-12 16:44:44 +02:00
Roman Telezhynskyi
341dfadc93 Improve refreshing watermark data. 2022-02-12 13:41:38 +02:00
Roman Telezhynskyi
44dffa9c68 Refactoring. Move reading a watermark data to separate method.
This should help to avoid infinite loop and crash on Windows.
2022-02-12 13:02:31 +02:00
Roman Telezhynskyi
26eeebe91f Remove debug strings. 2022-02-12 13:01:00 +02:00
Roman Telezhynskyi
2e56a61bb6 Refactoring. 2022-02-12 12:01:07 +02:00
Roman Telezhynskyi
7494b05b92 Fix crash when linked image is missing. 2022-02-11 12:53:51 +02:00
Roman Telezhynskyi
e68e44c24b Change default line width. 2022-02-10 16:43:22 +02:00
Roman Telezhynskyi
09cf8257d6 New option Show tile number. 2022-02-10 14:07:15 +02:00
Roman Telezhynskyi
d16aa1af64 New option piece line width. 2022-02-09 17:49:14 +02:00
Roman Telezhynskyi
b14cb7128b Remove unused cursor. 2022-02-09 16:25:14 +02:00
Roman Telezhynskyi
d9a424e0c3 Refactoring.
Reduce methods complexity.
2022-02-09 15:58:43 +02:00
Roman Telezhynskyi
b75292c341 Improve Puzzle's piece rotation handlers. 2022-02-09 15:31:34 +02:00
Roman Telezhynskyi
23e6d524b1 Fix build with MSVC. 2022-02-09 10:32:57 +02:00
Roman Telezhynskyi
745f8f7c6c Fix build. 2022-02-08 21:17:33 +02:00
Roman Telezhynskyi
399aa27b9f Fix build. 2022-02-08 20:52:59 +02:00
Roman Telezhynskyi
6f55659c16 Fix build. 2022-02-08 20:40:33 +02:00
Roman Telezhynskyi
f763309a46 Fix incorrect translation of known measurements. 2022-02-08 19:58:03 +02:00
Roman Telezhynskyi
ab774c96eb Fix downloading translations. 2022-02-08 19:55:56 +02:00
Roman Telezhynskyi
7452a94065 Block a background image transformation if the image in hold state. 2022-02-07 18:40:11 +02:00
Roman Telezhynskyi
922920c12c Port changes from debugbreak. 2022-02-07 15:05:15 +02:00
Roman Telezhynskyi
5b3bcdf1af Remove unused DRW_Class::parseCode() method. 2022-02-07 14:55:31 +02:00
Roman Telezhynskyi
adea504bc1 protect vector<>.reserve() calls
Malformed or suspicious input files can cause std::exceptions by
vector<>.reserve() calls. Now they are caught to avoid crashes or other
vulnerabilities.
2022-02-07 14:52:41 +02:00
Roman Telezhynskyi
1639603551 Added NULL check for hatch code 93. 2022-02-07 11:49:20 +02:00
Roman Telezhynskyi
3e59505da2 Improve creation by mouse for tool Spline. 2022-02-07 11:42:53 +02:00
Roman Telezhynskyi
038fbb3540 New measurement type separator. 2022-02-05 15:00:30 +02:00
Roman Telezhynskyi
427a70b541 Fix tool True darts notes. 2022-02-05 12:22:49 +02:00
Roman Telezhynskyi
f97c18c923 Improve error in check point uniqueness check. 2022-02-05 11:30:32 +02:00
Roman Telezhynskyi
2d91455ed5 Allow size to have values from 1 to 100 if not a circumference. 2022-02-04 17:15:42 +02:00
Roman Telezhynskyi
750c31dcd8 Tool line was not compatible with a background image. 2022-02-04 17:02:17 +02:00
Roman Telezhynskyi
94e7c7d612 Update transformation origin when move an image. 2022-02-04 16:36:45 +02:00
Roman Telezhynskyi
d4f791f0ee Fit Valentina's scale and an image resolution. 2022-02-04 16:31:19 +02:00