Commit Graph

8973 Commits

Author SHA1 Message Date
Roman Telezhynskyi
745c5de5d6 Refactoring.
Remove the top level "const" qualifier from the return type of a function.
2024-04-16 17:34:23 +03:00
Roman Telezhynskyi
1ddb07f2ee Refactoring.
Avoid unnecessary copy by using a "const" reference.
2024-04-16 17:12:32 +03:00
Roman Telezhynskyi
0080ce8ef5 Refactoring.
Overriding member functions should do more than simply call the same member in the base class.
2024-04-16 15:12:54 +03:00
Roman Telezhynskyi
8c90fd0367 Refactoring.
"bool" expressions should not be used as operands to built-in operators.
2024-04-16 14:54:56 +03:00
Roman Telezhynskyi
14d92ba834 Fix copy past error. 2024-04-16 14:48:55 +03:00
Roman Telezhynskyi
8ccc5c6c8f "constexpr" literal operators should be "consteval". 2024-04-16 14:48:37 +03:00
Roman Telezhynskyi
f46197740d Refactoring.
Switch to using std::chrono.
2024-04-16 11:47:13 +03:00
Roman Telezhynskyi
5b92408fee Fix conflict with macros on Windows. 2024-04-16 11:46:02 +03:00
Roman Telezhynskyi
cd7bf7d261 Lupdate. 2024-04-15 18:19:43 +03:00
Roman Telezhynskyi
3b29ce1da7 Fix issue with Privacy tab vertical spacer. 2024-04-15 18:08:43 +03:00
Roman Telezhynskyi
96011fa545 Innosetup fix syntax error. 2024-04-15 16:34:14 +03:00
Roman Telezhynskyi
5d2754e34f Since Qt 6.7 we can start testing for compatibility with C++20. 2024-04-15 16:31:19 +03:00
Roman Telezhynskyi
96465460bd Fix compatibility with Qt 6.7. 2024-04-15 15:48:15 +03:00
Roman Telezhynskyi
d7be594820 Fix cleaning mask. 2024-04-15 15:46:18 +03:00
Roman Telezhynskyi
cff3e08c9e Fix compatibility with Qt 5.15. 2024-04-13 16:59:50 +03:00
Roman Telezhynskyi
7a89aa93e9 Switch to Qt 6.7. 2024-04-13 15:32:16 +03:00
Roman Telezhynskyi
b2e1e339c0 Adapt installer to new path to settings. 2024-04-13 14:42:28 +03:00
Roman Telezhynskyi
0fd034c483 Fix build on Linux. 2024-04-13 14:25:01 +03:00
Roman Telezhynskyi
7286516cdc Fix build on Linux. 2024-04-13 12:37:11 +03:00
Roman Telezhynskyi
e154ba7440 Support for OneDrive on Windows.
Move settings, "Svg fonts", "Font corrections" and "Known measurements" folders to user Documents. This will map to OneDrive's documents folder if OneDrive activated.
2024-04-13 12:34:09 +03:00
Roman Telezhynskyi
b4b26b115b Fix path to Crashpad data on Windows. 2024-04-13 12:31:19 +03:00
Roman Telezhynskyi
08c4d1e411 Fix path to logs on Windows. 2024-04-13 12:30:43 +03:00
Roman Telezhynskyi
7378cfbe95 Fix piece rotation with enabled Follow grainline. 2024-04-12 17:37:13 +03:00
Roman Telezhynskyi
e4481754f0 Fix calculating label position for flipped piece. 2024-04-12 09:51:49 +03:00
Roman Telezhynskyi
55cc3a7d54 Fix opening a layout file when current file is not empty. 2024-04-11 20:17:06 +03:00
Roman Telezhynskyi
39cdbd1c70 Show piece copy number. 2024-04-11 20:15:58 +03:00
Roman Telezhynskyi
14e542b412 Optimize calling position validations. 2024-04-11 18:38:43 +03:00
Roman Telezhynskyi
b4c009502b Log file on Windows is empty in release mode.
Disable only Qt's debug logging.
2024-04-11 10:49:43 +03:00
Roman Telezhynskyi
bc31838319 Create sym files with includes. 2024-04-11 10:48:46 +03:00
Roman Telezhynskyi
8f5c5b8cae Declutter pattern by increasing transparency of label line. 2024-04-09 20:46:37 +03:00
Roman Telezhynskyi
3aec5bf341 Reduce path to file in logs. Show only part inside of root folder. 2024-04-09 19:22:19 +03:00
Roman Telezhynskyi
d331b5dc01 Fix path to QStandardPaths::ConfigLocation. 2024-04-09 16:28:49 +03:00
Roman Telezhynskyi
f72d235344 Validate pieces each time we activate a sheet. 2024-04-08 20:18:33 +03:00
Roman Telezhynskyi
c5a3375d78 Animate piece transformation with stickying animation. 2024-04-08 18:58:23 +03:00
Roman Telezhynskyi
9e3659830e New warning "Piece gape position". 2024-04-08 16:26:09 +03:00
Roman Telezhynskyi
39d56e34aa Fix color of fold line. 2024-04-08 15:58:09 +03:00
Roman Telezhynskyi
d3bdd68c46 Make sure revision hash always has 'g' at the beginning. 2024-04-08 15:32:00 +03:00
Roman Telezhynskyi
f681b5ccaf Toggling Cut on Fold check must always trigger the check. 2024-04-08 12:30:49 +03:00
Roman Telezhynskyi
2bdd023afe Optimize sticking sensitivity. 2024-04-08 12:26:42 +03:00
Roman Telezhynskyi
1a6a830119 Using QtConcurrent::blockingMappedReduced to parallelize the computation of finding closest distance between two polygons. 2024-04-08 11:55:59 +03:00
Roman Telezhynskyi
0eef58f2cf Crash settings must be disabled/empty when application doesn't support sending automatic crash reports to avoid user confusion. 2024-04-08 09:23:13 +03:00
Roman Telezhynskyi
cbc137f4e9 Make valgrind happy. 2024-04-06 18:53:24 +03:00
Roman Telezhynskyi
fbaf5f0f38 Refactoring. 2024-04-06 18:52:43 +03:00
Roman Telezhynskyi
54ee9e0629 Refactoring. 2024-04-06 12:09:38 +03:00
Roman Telezhynskyi
a4e2e1f1bf Disable piece gap if option Sticky edges is not active. 2024-04-06 11:54:37 +03:00
Roman Telezhynskyi
b25df043bf Disable explicit sheet's grainline orientation if option Follow grainline is not active. 2024-04-06 11:51:26 +03:00
Roman Telezhynskyi
5186e80adb Change direction of automatic layout grainline to avoid user confusion. 2024-04-06 08:28:28 +03:00
Roman Telezhynskyi
5ea7817a02 New option Show mirror line.
Make showing a symmetry line optional. In some cases users don't need it.
2024-04-05 19:54:48 +03:00
Roman Telezhynskyi
812414f0ea Change direction of sheet grainline to avoid user confusion. 2024-04-05 18:17:56 +03:00
Roman Telezhynskyi
34ed181558 Refactoring. 2024-04-05 18:17:14 +03:00