Compare commits

...

2307 Commits

Author SHA1 Message Date
Roman Telezhynskyi 075d135757 Lupdate. 2024-05-07 13:04:15 +03:00
Roman Telezhynskyi 5fb51c3e91 Refactoring. 2024-05-07 11:20:12 +03:00
Roman Telezhynskyi 8451ff874a Make sure that moving an object of class "VPieceLabelInfo" is "noexcept". 2024-05-07 11:05:40 +03:00
Roman Telezhynskyi bf2b110b69 Cancel watched jobs before application close to prevent crashes. 2024-05-06 18:56:30 +03:00
Roman Telezhynskyi a21a3eac85 Add missing dependence. 2024-05-06 17:22:37 +03:00
Roman Telezhynskyi 64b566349e Lupdate. 2024-05-06 17:15:41 +03:00
Roman Telezhynskyi 04217cc5da New feature. Hide/Show enabled grainline. 2024-05-06 14:01:29 +03:00
Roman Telezhynskyi 2aea155d61 Speedup optimization.
Move label data update to a separate thread to not block main GUI thread.
2024-05-04 18:01:15 +03:00
Roman Telezhynskyi d997f74620 Refactoring.
Replace the redundant type with "auto".
2024-05-04 09:14:22 +03:00
Roman Telezhynskyi 143d709e83 Crashpad supports attachments on MacOS. 2024-05-02 14:38:45 +03:00
Roman Telezhynskyi 68d7562e4d Lupdate. 2024-05-02 13:52:11 +03:00
Roman Telezhynskyi 9600364c05 Refactoring.
Replace the redundant type with "auto".
2024-05-02 13:47:29 +03:00
Roman Telezhynskyi 5e56f30fb1 Refactoring.
Replace declarations by a structured binding declaration.
2024-05-02 12:03:30 +03:00
Roman Telezhynskyi e5295c0665 Refactoring.
Merge "if" statement with the enclosing one.
2024-05-02 10:36:26 +03:00
Roman Telezhynskyi be1a8d15d0 Speedup optimization.
Cache watermark image geometry info.
2024-05-02 10:17:39 +03:00
Roman Telezhynskyi ae31bd9fdb Since Qt 6.7 Mac Os and Windows have support for native icons. Set built-in as fallback icon theme. 2024-05-01 19:40:44 +03:00
Roman Telezhynskyi f98287ee16 Clear the table content without keeping dimensions. 2024-05-01 19:03:35 +03:00
Roman Telezhynskyi 00a9082f4e Lupdate. 2024-05-01 17:42:47 +03:00
Roman Telezhynskyi 35af2f7b44 Fix typos. 2024-05-01 17:39:47 +03:00
Roman Telezhynskyi aaa40a5662 Refactoring.
Replace the redundant type with "auto".
2024-04-30 11:48:51 +03:00
Roman Telezhynskyi a81f878cd6 Refactoring.
Merge "if" statement with the enclosing one.
2024-04-29 19:05:19 +03:00
Roman Telezhynskyi 8c83c50991 Don't zip sym files. 2024-04-29 17:03:21 +03:00
Roman Telezhynskyi 7c4ac6bfcf Emitting in this case can cause a crash. 2024-04-29 16:59:30 +03:00
Roman Telezhynskyi 78735cd31a Refactoring.
Replace the redundant type with "auto".
2024-04-27 12:54:59 +03:00
Roman Telezhynskyi ad1ea7b7fb Refactoring.
Explicitly capture the required scope variables.
2024-04-27 11:48:12 +03:00
Roman Telezhynskyi 4b985b4ecc Refactoring. 2024-04-27 11:44:30 +03:00
Roman Telezhynskyi 5adcdb9b67 Lupdate. 2024-04-27 09:11:15 +03:00
Roman Telezhynskyi bb8ff04498 Migrate to github actions. 2024-04-27 09:06:27 +03:00
Roman Telezhynskyi 730c6d3de5 Fix for issue QTBUG-123722 introduced in Qt 6.7.0. 2024-04-26 12:30:23 +03:00
Roman Telezhynskyi 56859de79d Add missing themeDef.cpp. 2024-04-23 09:12:11 +03:00
Roman Telezhynskyi ce82eb53f7 Fix AppImage script. 2024-04-23 09:10:08 +03:00
Roman Telezhynskyi 064bd33397 Fix build errors. 2024-04-23 08:28:16 +03:00
Roman Telezhynskyi 7de604a63b Use job_group. 2024-04-22 19:58:33 +03:00
Roman Telezhynskyi ce1634e1ab Fix crash when remove pieces. 2024-04-22 18:13:43 +03:00
Roman Telezhynskyi 6eb702b778 Refactoring.
Since Qt 6.7 we can start using enum QIcon::ThemeIcon.
2024-04-22 18:13:43 +03:00
Roman Telezhynskyi ed4f2945da Show a piece position status in Property tab. 2024-04-22 18:13:43 +03:00
Roman Telezhynskyi 537efbeaa8 Move piece position validation to separate thread. 2024-04-22 18:13:42 +03:00
Roman Telezhynskyi a8a75f358a Skip commits. 2024-04-22 18:13:42 +03:00
Roman Telezhynskyi 4a97ca14bf Refactoring. 2024-04-18 16:56:25 +03:00
Roman Telezhynskyi df0d430c2b Refactoring. 2024-04-18 16:33:58 +03:00
Roman Telezhynskyi 73cbe7cecb Lupdate. 2024-04-18 16:13:38 +03:00
Roman Telezhynskyi 586c4b319a Fix AppImage build. 2024-04-18 16:11:19 +03:00
Roman Telezhynskyi d896fa01fc Disables all the APIs deprecated before Qt 6.7.0. 2024-04-17 21:25:45 +03:00
Roman Telezhynskyi d67df44d9c Ship Qt's translation together with AppImage. 2024-04-17 21:25:22 +03:00
Roman Telezhynskyi 161d019f29 Fix compiler warnings. 2024-04-17 20:44:30 +03:00
Roman Telezhynskyi 4729d51dd5 Fix piece node style. 2024-04-17 20:26:23 +03:00
Roman Telezhynskyi 1394204c65 Changing curved path settings should not trigger visibility of control points. 2024-04-17 17:55:02 +03:00
Roman Telezhynskyi b78adf9264 Fix piece label issue.
Rotation caused label font change.
2024-04-17 16:35:29 +03:00
Roman Telezhynskyi 3424f34354 Fix Seam Allowance Issue. 2024-04-17 15:17:39 +03:00
Roman Telezhynskyi 5199f4d4bc Refactoring.
Use a static QRegularExpression object to avoid recreating the regular expressions.
2024-04-17 13:05:42 +03:00
Roman Telezhynskyi f1081a2aad Refactoring.
Fix places that could use a reserve() call.
2024-04-17 13:02:25 +03:00
Roman Telezhynskyi afd948b330 Refactoring.
Fix places defining containers inside loops.
2024-04-17 12:53:23 +03:00
Roman Telezhynskyi 8063645cf6 Refactoring.
A "constexpr" function should not be declared "inline".
2024-04-17 11:46:37 +03:00
Roman Telezhynskyi 47a589c8d8 Refactoring.
Remove deprecated constexpr macros.
2024-04-17 11:43:48 +03:00
Roman Telezhynskyi 6e6629b77c Refactoring. 2024-04-16 18:20:53 +03:00
Roman Telezhynskyi 708d626524 No support for tok_001 locale. 2024-04-16 17:53:00 +03:00
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
Roman Telezhynskyi 35c99ddf3c Update flipping status when import a piece. 2024-04-05 17:13:35 +03:00
Roman Telezhynskyi 74eb3765bc Fix default tab. 2024-04-05 15:36:59 +03:00
Roman Telezhynskyi 8a2177663c When hide seam line also hide built-in notches. 2024-04-05 15:36:40 +03:00
Roman Telezhynskyi 68555a2d9e Force piece update after import. 2024-04-05 15:28:42 +03:00
Roman Telezhynskyi 6a2b48050f Fix DXF font size. 2024-04-04 19:45:54 +03:00
Roman Telezhynskyi ebf678888e Fix exporting full piece. 2024-04-04 19:00:10 +03:00
Roman Telezhynskyi b3e6365e92 Use the init-statement to declare a variable inside the if statement. 2024-04-04 10:27:15 +03:00
Roman Telezhynskyi f50aec80c3 Separate filters for qbs, qmake and sonar tasks. 2024-04-03 21:00:12 +03:00
Roman Telezhynskyi 637a206810 Fix build script. 2024-04-03 19:31:24 +03:00
Roman Telezhynskyi b99cd19885 Missed part about dynamic libraries. 2024-04-03 19:09:51 +03:00
Roman Telezhynskyi 7d00832c6a Improvements for signlebundle.
Don't copy debug files inside a bundle when build with crash reports.
2024-04-03 18:47:50 +03:00
Roman Telezhynskyi d1567560d9 Because of code signing we cannot copy debug symbols on macos inside a bundle. Code signing happens before we upload them on server and remove. 2024-04-03 17:48:27 +03:00
Roman Telezhynskyi 816351564a Lupdate. 2024-04-01 14:55:42 +03:00
Roman Telezhynskyi 0ae8e79890 Fix build script. 2024-04-01 14:12:14 +03:00
Roman Telezhynskyi c98d76cb8c Increase minimal macos version. 2024-04-01 14:11:55 +03:00
Roman Telezhynskyi 94dc3bddd5 Refactoring.
Use the init-statement to declare a variable inside the if/switch statement.
2024-03-30 18:02:45 +02:00
Roman Telezhynskyi 9ee4cf208b Refactoring. 2024-03-30 15:20:59 +02:00
Roman Telezhynskyi daa7ab72e6 Refactoring.
Concatenate namespace with the nested one.
2024-03-30 15:01:30 +02:00
Roman Telezhynskyi 16e8305858 git describe returns commit hash in format gSHA. 2024-03-29 18:41:16 +02:00
Roman Telezhynskyi 53724b2fa0 Don't use admin rights. 2024-03-29 17:22:01 +02:00
Roman Telezhynskyi fda3ec4783 Improve reading repo information.
Relying on logs/HEAD in case of CI doesn't work.
2024-03-29 17:20:57 +02:00
Roman Telezhynskyi 2ed50a772e Move fetching tags closer to actual build. 2024-03-29 16:10:36 +02:00
Roman Telezhynskyi b7e2366cd1 Debug files files on macos are actually folders. 2024-03-29 15:58:06 +02:00
Roman Telezhynskyi 291ac98c64 Sign crashpad_handler on macos when create a bundle. 2024-03-29 14:29:05 +02:00
Roman Telezhynskyi a892e74938 Minimal build requirement is Qt 5.15. 2024-03-29 14:28:22 +02:00
Roman Telezhynskyi cd43e90174 Fix build script. 2024-03-29 13:03:55 +02:00
Roman Telezhynskyi 6bf4c820a6 Fetch tags to get correct project version. 2024-03-29 12:10:16 +02:00
Roman Telezhynskyi 7b58a98127 Fix dropbox cleaning. 2024-03-29 11:37:04 +02:00
Roman Telezhynskyi 28b09be6b4 Switch AppImage to clang. 2024-03-28 19:50:06 +02:00
Roman Telezhynskyi 4a6fc76329 Ensure that file closed after sending. 2024-03-28 15:51:46 +02:00
Roman Telezhynskyi 5a8111c9b1 Move tasks to speedup testing. 2024-03-28 15:12:27 +02:00
Roman Telezhynskyi 9d7903b67c Build script fixes. 2024-03-28 15:10:59 +02:00
Roman Telezhynskyi 19b3137ff1 Trying to give script more rights. 2024-03-28 15:03:35 +02:00
Roman Telezhynskyi d5c260a24d Add optional "multibundle" to version string. 2024-03-28 14:53:26 +02:00
Roman Telezhynskyi 2c72549195 Build script fixes. 2024-03-28 11:21:41 +02:00
Roman Telezhynskyi 959a878e29 Build script fixes. 2024-03-28 07:22:44 +02:00
Roman Telezhynskyi d3ee5df455 Fix build script. 2024-03-26 21:13:39 +02:00
Roman Telezhynskyi 62e66deb5e Since we zip sym file, we no longer need it. 2024-03-26 21:09:48 +02:00
Roman Telezhynskyi c630b5cdf8 Fix typo. 2024-03-26 20:34:57 +02:00
Roman Telezhynskyi f4efda8de6 dump_sysms needs this. 2024-03-26 20:34:45 +02:00
Roman Telezhynskyi 12a12a2a45 Improve calling conan.
Catching exception gives feedback in case of errors.
2024-03-26 20:34:12 +02:00
Roman Telezhynskyi a829a2d2de Fix copying debug files on macos. 2024-03-26 20:33:21 +02:00
Roman Telezhynskyi dfe40b7df4 Fix build on macos. 2024-03-26 20:32:50 +02:00
Roman Telezhynskyi e72cebf473 Additional crashpad dependencies on macos. 2024-03-26 20:32:02 +02:00
Roman Telezhynskyi 22cbbcadfd Fixing build script. 2024-03-26 15:08:47 +02:00
Roman Telezhynskyi fef128d461 Map enableConan in all cases. 2024-03-26 15:08:26 +02:00
Roman Telezhynskyi cb6087a00b Install setuptools. 2024-03-26 11:57:33 +02:00
Roman Telezhynskyi 83cdf53ddb Try without sdk_version. 2024-03-26 11:42:41 +02:00
Roman Telezhynskyi cc2ed983dc Fix build script. 2024-03-26 11:29:51 +02:00
Roman Telezhynskyi 3320a27268 Fix generating debug information. 2024-03-26 10:27:57 +02:00
Roman Telezhynskyi 88951bbb0a Fix configuration issues. 2024-03-26 10:25:10 +02:00
Roman Telezhynskyi b3b6843b2e Use string instead of char. 2024-03-26 10:24:27 +02:00
Roman Telezhynskyi ed5e5ef5fd Update compiler version. 2024-03-25 18:38:46 +02:00
Roman Telezhynskyi 88f83ecae1 ERROR: sentry-crashpad/0.6.5: 'settings.arch' value not defined. 2024-03-25 18:36:41 +02:00
Roman Telezhynskyi 91720c4b7c Create /usr/local/bin. 2024-03-25 18:26:05 +02:00
Roman Telezhynskyi 55640d6257 Install debug files with crash reports. 2024-03-25 18:15:32 +02:00
Roman Telezhynskyi 8b443c6e61 Fix a warning. 2024-03-25 18:13:49 +02:00
Roman Telezhynskyi b80106c18b ERROR: Invalid setting 'libstdc++11' is not a valid 'settings.compiler.libcxx' value. 2024-03-25 17:18:46 +02:00
Roman Telezhynskyi 4dff6f303f Fix building on Windows. 2024-03-25 17:12:24 +02:00
Roman Telezhynskyi 276aeb8c73 /usr/local/bin/python: No such file or directory 2024-03-25 17:06:16 +02:00
Roman Telezhynskyi b30e48f728 error: externally-managed-environment. 2024-03-25 16:41:26 +02:00
Roman Telezhynskyi 7a319922ed Remove pipx. 2024-03-25 16:27:39 +02:00
Roman Telezhynskyi 797d90bdb9 Log symupload script. 2024-03-25 16:23:21 +02:00
Roman Telezhynskyi 7c50a13ac6 Fix conan profile. 2024-03-25 15:56:16 +02:00
Roman Telezhynskyi dd2b4605e0 Fix conanfile. 2024-03-25 15:43:21 +02:00
Roman Telezhynskyi 187fbd0208 Install dump_syms on MacOS. 2024-03-25 14:14:59 +02:00
Roman Telezhynskyi a085dddd28 Fix building. 2024-03-25 14:14:40 +02:00
Roman Telezhynskyi bdb9028a00 Install dump_syms on Windows. 2024-03-25 14:14:40 +02:00
Roman Telezhynskyi 5597a497b5 Corect handling dynamic libraries on Windows with MSVC. 2024-03-25 13:59:58 +02:00
Roman Telezhynskyi 7383d78775 Refactoring. 2024-03-25 13:59:17 +02:00
Roman Telezhynskyi 035e702a04 Add missing dependency. 2024-03-25 13:58:45 +02:00
Roman Telezhynskyi 2392275162 Fix building. 2024-03-22 10:51:37 +02:00
Roman Telezhynskyi f9623b807d Fix appveyor.yml. 2024-03-22 10:30:21 +02:00
Roman Telezhynskyi d9afd41753 Fix building. 2024-03-22 10:28:35 +02:00
Roman Telezhynskyi ee109cd303 Build crash report on Windows only with MSVC. 2024-03-21 18:05:22 +02:00
Roman Telezhynskyi 73dae25d8a Fix build on Windows. 2024-03-21 18:04:37 +02:00
Roman Telezhynskyi 08a0f54249 Ignore certificate import error. 2024-03-21 17:23:25 +02:00
Roman Telezhynskyi 09730f8a53 Switch to dump_syms from mozilla project. 2024-03-21 17:18:10 +02:00
Roman Telezhynskyi 6d26411500 Improve ConanfileProbe.
Add remote option.
2024-03-21 15:21:45 +02:00
Roman Telezhynskyi f9f61069fe Make .bak files hidden on Unix systems. 2024-03-18 11:37:43 +02:00
Roman Telezhynskyi abd382ff97 Avoid writing optional data. 2024-03-16 15:32:41 +02:00
Roman Telezhynskyi 75c329a08e Refactoring.
Code style.
2024-03-16 15:32:41 +02:00
Roman Telezhynskyi 62efe1dd8a Fix width of box notch. 2024-03-16 15:32:41 +02:00
Roman Telezhynskyi 6ebd9e7033 Improve compatibility with Richpeace CAD. 2024-03-16 15:32:41 +02:00
Roman Telezhynskyi 4d849163fb Refactoring.
Code style.
2024-03-14 13:35:48 +02:00
Roman Telezhynskyi 3dfc62e99a New dialog to improve user experience.
Most users don't understand how to work with new known measurements system. This dialog should help them.
2024-03-14 13:35:28 +02:00
Roman Telezhynskyi 47fd57113e Fix Tape crash. 2024-03-14 10:12:14 +02:00
Roman Telezhynskyi 78d878322d Fix incorrect piece geometry refresh if disable a mirror line.
Fold line still visible.
2024-03-13 16:26:10 +02:00
Roman Telezhynskyi 24d39bffb7 Save logs for Tape and Puzzle apps in log file on disk for sending with crash reports. 2024-03-13 15:45:28 +02:00
Roman Telezhynskyi eb4f8719f2 Fix Puzzle's crash. 2024-03-13 15:11:56 +02:00
Roman Telezhynskyi 88cee6b7a7 Issue with QT_REQUIRE_VERSION macro has been fixes since Qt 6.6. 2024-03-12 18:41:13 +02:00
Roman Telezhynskyi 6292ce3d8f Link with gcov. 2024-03-12 18:40:44 +02:00
Roman Telezhynskyi 0e43aefe79 Fix build. 2024-03-12 18:40:22 +02:00
Roman Telezhynskyi b4fba6a7da Add path to conan. 2024-03-12 18:39:55 +02:00
Roman Telezhynskyi 23e0631fbd Ignore certificate import error. 2024-03-12 17:02:38 +02:00
Roman Telezhynskyi 45decf0b1f Lupdate. 2024-03-12 16:51:53 +02:00
Roman Telezhynskyi 33a5939c18 Automatic crash reports. 2024-03-12 16:39:44 +02:00
Roman Telezhynskyi fb15284483 Sonarcloud warnings. 2024-03-02 15:24:09 +02:00
Roman Telezhynskyi 3548f2b71c Install missing dependency. 2024-03-01 16:10:49 +02:00
Roman Telezhynskyi 9c8ba7f997 Fix crash in History dialog. 2024-03-01 14:32:19 +02:00
Roman Telezhynskyi 18545d6355 Prepare portable bundle on Windows as a second option. 2024-03-01 13:44:15 +02:00
Roman Telezhynskyi f48dd59087 Fix build. 2024-03-01 11:10:49 +02:00
Roman Telezhynskyi 5dfe06804f Fix mirror line. 2024-02-29 16:42:07 +02:00
Roman Telezhynskyi ced93eb58a Warn about overriding previous version. 2024-02-28 12:24:54 +02:00
Roman Telezhynskyi 21b8401466 Fix rounding problem when search a size template. 2024-02-27 20:35:22 +02:00
Roman Telezhynskyi eb22f19fea English language is internal and doesn't require separate *.qm file. 2024-02-27 18:12:16 +02:00
Roman Telezhynskyi f32da16dd8 Lupdate. 2024-02-27 17:29:06 +02:00
Roman Telezhynskyi 55c0b95a3f Fix incorrect update of seam allowance mirror line. 2024-02-27 15:55:13 +02:00
Roman Telezhynskyi 2b879c7bef Fix copy/paste error. 2024-02-27 15:38:59 +02:00
Roman Telezhynskyi a138352d1c Puzzle app. Open new window only if current already has been used. 2024-02-27 15:24:51 +02:00
Roman Telezhynskyi 97d4e6378a Fix compatibility with previous versions. 2024-02-27 15:10:26 +02:00
Roman Telezhynskyi 283a62f580 Fix build errors. 2024-02-24 12:20:50 +02:00
Roman Telezhynskyi 2c58867ed9 Merge branch 'maintenance/improvement2' into 'develop'
Code smell and performance

See merge request smart-pattern/valentina!20
2024-02-24 10:10:04 +00:00
Yann Lossouarn 55b2c1b4ae Code cleaning : functions that should be const 2024-02-24 00:03:20 +01:00
Yann Lossouarn 95db2eb133 Code smell and performance : capture various variables by reference 2024-02-24 00:00:39 +01:00
Yann Lossouarn a1cf176331 Code smell and performance : capture various variables by reference 2024-02-24 00:00:32 +01:00
Yann Lossouarn 0400b4fc72 Code smell and performance : capture various variables by reference 2024-02-24 00:00:18 +01:00
Yann Lossouarn ed6cd0a927 Code smell and performance : capture img and watermarkData by reference 2024-02-24 00:00:12 +01:00
Yann Lossouarn eea5dca893 Code smell & performance improvement : Capture large object "watermarkData" by reference. 2024-02-24 00:00:05 +01:00
Yann Lossouarn 7ff8aed6bc Code smell improvement: capture variable by reference 2024-02-23 23:59:53 +01:00
Yann Lossouarn 932db63497 Code smell improvement: capture 'matrix' by reference instead of capturing by value 2024-02-23 23:59:08 +01:00
Roman Telezhynskyi b0b451eabd Add note about Discord server. 2024-02-23 19:17:43 +02:00
Roman Telezhynskyi cdc6bc8c8a Fix links to Instagram accounts. 2024-02-23 19:17:17 +02:00
Roman Telezhynskyi 1527a53367 Discord chat badge. 2024-02-23 15:47:21 +02:00
Roman Telezhynskyi f5ded09608 Fix badges layout. 2024-02-23 15:45:13 +02:00
Roman Telezhynskyi aa8748e873 Remove virtual. 2024-02-23 15:35:46 +02:00
Roman Telezhynskyi ae59938dc9 Support for Retina screens. 2024-02-23 15:35:21 +02:00
Roman Telezhynskyi c69267466e Code style. 2024-02-23 15:12:19 +02:00
Roman Telezhynskyi 2ae203897a Reverse change.
Cache object must not be available public, must be static.
2024-02-23 14:42:57 +02:00
Roman Telezhynskyi cf5fd8124f Reverse change.
Follow don't repeat yourself approach.
2024-02-23 14:31:29 +02:00
Roman Telezhynskyi e8c0f73726 Add disambiguation to help translators. 2024-02-23 11:35:51 +02:00
Roman Telezhynskyi db245ed644 Merge branch 'develop' into 'develop'
Bugfix: suppressing horizontal scrolling on Preferences>Pattern and...

See merge request smart-pattern/valentina!17
2024-02-23 09:35:32 +00:00
Yann Lossouarn b6ad741cd9 Bugfix: suppressing horizontal scrolling on Preferences>Pattern and... 2024-02-23 09:35:32 +00:00
Roman Telezhynskyi e4e128417b Add missing dependency. 2024-02-21 19:29:50 +02:00
Roman Telezhynskyi 45af6500b2 Improve build script. 2024-02-21 19:29:28 +02:00
Roman Telezhynskyi ed7f357a3c Pass expensive to copy object by reference to const. 2024-02-21 13:38:02 +02:00
Roman Telezhynskyi 2f53e38ad7 Add a using-declaration to derived class to inherit the constructors, and remove the ones manually duplicated. 2024-02-21 11:59:52 +02:00
Roman Telezhynskyi 587d7aadd4 Convert integer literal to a bool literal. 2024-02-21 11:58:57 +02:00
Roman Telezhynskyi 1249e1f2fc "empty()" or "isEmpty()" should be used to test for emptiness. 2024-02-21 11:48:58 +02:00
Roman Telezhynskyi b6b278997a The "_t" and "_v" version of type traits should be used instead of "::type" and "::value". 2024-02-21 09:05:21 +02:00
Roman Telezhynskyi 634913da34 Combine functions with its overloads by using "if constexpr". 2024-02-20 15:59:44 +02:00
Roman Telezhynskyi 5d3ca3c470 Refactoring. 2024-02-20 15:44:50 +02:00
Roman Telezhynskyi 72893d4d40 Change targeted C++ standard. 2024-02-20 15:38:24 +02:00
Roman Telezhynskyi 8931d7808d Fix build on mac. 2024-02-20 12:00:18 +02:00
Roman Telezhynskyi 5f03a272d4 Make available build revision number in sources. 2024-02-20 11:58:02 +02:00
Roman Telezhynskyi f120519ede Default construct doesn't initialize constructor. 2024-02-20 11:39:25 +02:00
Roman Telezhynskyi 6df0ca7fca Fix build on mac. 2024-02-20 11:38:46 +02:00
Roman Telezhynskyi ba5c40b15d Refactoring. Code duplication. 2024-02-20 11:00:24 +02:00
Roman Telezhynskyi 01462c3d20 Fix build. 2024-02-20 10:30:31 +02:00
Roman Telezhynskyi faab23b0af Use auto. 2024-02-20 09:27:52 +02:00
Roman Telezhynskyi d6fa5ddac0 Suppress warning object used after it was moved. 2024-02-20 09:17:20 +02:00
Roman Telezhynskyi ff018a3f2c Add pointer qualifications to auto-typed variables that are deduced to pointers. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 2134f969a0 Use 'using' instead of 'typedef'. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi a48977c1df Constness prevents automatic move. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 643deeb521 Use auto to avoid duplicating the type name. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 0adb49a427 Variable can be declared 'const'. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 3027ddb49c Remove class destructor so that classes follows the rule of Zero. 2024-02-20 08:58:06 +02:00
Roman Telezhynskyi 304ff66b06 Use the "nullptr" literal. 2024-02-19 11:24:10 +02:00
Roman Telezhynskyi 409161c302 Make sure that moving an object of class is "noexcept". 2024-02-19 11:17:32 +02:00
Roman Telezhynskyi 827b82e3f6 Remove Q_COMPILER_RVALUE_REFS. 2024-02-19 11:14:02 +02:00
Roman Telezhynskyi 47a159c6aa Fix xcode version. 2024-02-18 10:35:18 +02:00
Roman Telezhynskyi 38962a8ada Fix job names. 2024-02-17 22:02:02 +02:00
Roman Telezhynskyi a3448cde76 Refactoring. 2024-02-17 20:22:56 +02:00
Roman Telezhynskyi ad0d3c1612 Fix compatibility with >= c++17. 2024-02-17 20:06:56 +02:00
Roman Telezhynskyi 6d04cd32a7 Sonar warnings. 2024-02-17 16:46:59 +02:00
Roman Telezhynskyi 3192b0cafa Appveyor updated list of pre-installed software. 2024-02-17 16:08:33 +02:00
Roman Telezhynskyi 6c0a8f0b64 Sonar warnings. 2024-02-17 11:49:41 +02:00
Roman Telezhynskyi f353b02530 Since C++20 we no longer need operator!=. 2024-02-17 11:41:47 +02:00
Roman Telezhynskyi be5b6d5b1f Refactoring. 2024-02-17 11:24:26 +02:00
Roman Telezhynskyi bd89d3509b Change cache path. 2024-02-17 09:12:15 +02:00
Roman Telezhynskyi 7d19562cd2 Reset cache. 2024-02-16 22:53:00 +02:00
Roman Telezhynskyi 807bc88a68 Default entity resolution should be disabled before parsing. 2024-02-16 19:34:05 +02:00
Roman Telezhynskyi 2ef85d43d4 Add path to Linux folder. 2024-02-16 18:31:35 +02:00
Roman Telezhynskyi f2c0b194ad Setup ccache. 2024-02-16 18:31:08 +02:00
Roman Telezhynskyi cb13946e4f Don't use PCH with Sonar. 2024-02-16 18:04:39 +02:00
Roman Telezhynskyi 0ca7c7b3b5 Make coverage an optional dependency. 2024-02-16 17:40:43 +02:00
Roman Telezhynskyi c8ffff6428 Test coverage with gcov. 2024-02-16 16:39:07 +02:00
Roman Telezhynskyi 52c73dd321 Lupdate. 2024-02-15 09:16:41 +02:00
Roman Telezhynskyi baf625e1ba Update cache on MacOS 10.15. 2024-02-15 09:12:31 +02:00
Roman Telezhynskyi 47937245a6 Some dependencies still are missing. 2024-02-14 12:46:06 +02:00
Roman Telezhynskyi 3b6aae076f Sonar warnings. 2024-02-14 11:57:42 +02:00
Roman Telezhynskyi c8edf84def Fix path to AppImage. 2024-02-14 11:03:13 +02:00
Roman Telezhynskyi 4b19565d4e Lupdate. 2024-02-14 09:38:00 +02:00
Roman Telezhynskyi 2bbd678c8d Fix missing dependencies. 2024-02-13 22:04:13 +02:00
Roman Telezhynskyi 260176f768 Switching to appimage-builder to generate AppImage. 2024-02-13 20:35:06 +02:00
Roman Telezhynskyi 443f35c0d2 Fix opening Tape and Puzzle inside AppImage. 2024-02-13 19:56:28 +02:00
Roman Telezhynskyi 815f8bf7b8 Log opening Tape and Puzzle. 2024-02-13 19:55:52 +02:00
Roman Telezhynskyi 08b8023f3c Merge branch 'develop' into 'develop'
Correction of build errors with MacOS Sonoma

See merge request smart-pattern/valentina!16
2024-02-13 11:02:27 +00:00
Yann Lossouarn b85e0fe3f8 Correction of build errors with MacOS Sonoma 2024-02-13 11:59:34 +01:00
Roman Telezhynskyi b83c38f7b5 Install dropbox package to deploy files. 2024-02-12 17:38:29 +02:00
Roman Telezhynskyi 2d9575400a hint: value item "FileTools" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: Utility, or System. 2024-02-12 16:02:07 +02:00
Roman Telezhynskyi 428c27cddc error: value "application/x-valentina-pattern;application/x-valentina-s-measurements;application/x-valentina-i-measurements;application/x-valentina-k-measurements;application/x-valentina-layout" for string list key "MimeType" in group "Desktop Entry" does not have a semicolon (';') as trailing character. 2024-02-12 16:01:11 +02:00
Roman Telezhynskyi d1f079d5f0 Ensure that all libraries can be found by ldd. 2024-02-12 14:15:17 +02:00
Roman Telezhynskyi cd1b065e58 Suppress GCC warnings. 2024-02-12 13:49:01 +02:00
Roman Telezhynskyi 25082b01c7 fatal error: unicode/putil.h: No such file or directory. 2024-02-12 13:34:15 +02:00
Roman Telezhynskyi 0b4e20c8e9 fatal error: GL/gl.h: No such file or directory. 2024-02-10 20:20:34 +02:00
Roman Telezhynskyi a16e928c2c No mold support for old Ubuntu. 2024-02-10 16:35:19 +02:00
Roman Telezhynskyi abdbf9241c Fix .cirrus.yml 2024-02-10 15:55:16 +02:00
Roman Telezhynskyi 1ac5a4167f Support for AppImage. 2024-02-10 15:53:02 +02:00
Roman Telezhynskyi 63292fa235 Sonar warnings. 2024-02-08 18:37:59 +02:00
Roman Telezhynskyi 91611cedfe Let the analyzer detect the number of threads automatically. 2024-02-08 18:15:19 +02:00
Roman Telezhynskyi 98b6168588 Give task more memory. Let the analyzer detect the number of threads automatically. 2024-02-08 17:44:42 +02:00
Roman Telezhynskyi 13b225d5c9 Update Qbs version. 2024-02-08 16:41:52 +02:00
Roman Telezhynskyi 87662cb70f Use size() instead of strlen. 2024-02-05 14:56:33 +02:00
Roman Telezhynskyi b9f3e7c601 Analyze code with Sonar cloud. 2024-02-05 14:46:30 +02:00
Roman Telezhynskyi e493773805 Use auto constants to handle non administrative install mode. 2024-02-04 17:01:15 +02:00
Roman Telezhynskyi a82e9d6b03 Update README file. [skip ci] 2024-02-03 17:38:56 +02:00
Roman Telezhynskyi 4e05c704cc Fix rotation of piece label when export to DXF AAMA/ASTM. 2024-01-31 18:07:54 +02:00
Roman Telezhynskyi 2a3970559d Fix build. 2024-01-31 17:36:13 +02:00
Roman Telezhynskyi cc92270ecb Prevent stealing focus when scrolling. 2024-01-31 15:15:43 +02:00
Roman Telezhynskyi 1d198db6e9 Fix compatibility with scroll area. 2024-01-31 11:27:23 +02:00
Roman Telezhynskyi e23db69bb0 Remove redundant localizations: en_CA, en_IN. 2024-01-31 10:56:07 +02:00
Roman Telezhynskyi f6e929fbcd Remove mentions of English (India) and English (Canada). 2024-01-31 10:49:09 +02:00
Roman Telezhynskyi 281587512c Create multisize versions of ICO files for Windows. 2024-01-30 20:35:12 +02:00
Roman Telezhynskyi 43e69371b5 Windows installer. Translate text "Edit with". 2024-01-30 16:43:38 +02:00
Roman Telezhynskyi 49a210fd68 Lupdate. 2024-01-30 16:10:19 +02:00
Roman Telezhynskyi 9a5263eb83 Remove redundant localizations: fr_CA, en_CA, en_IN. 2024-01-30 16:10:11 +02:00
Roman Telezhynskyi 748d18ce9a Fix size of Unsaved changes dialog.
Since Qt 6 produces warnings "QWindowsWindow::setGeometry: Unable to set geometry".
2024-01-29 17:07:54 +02:00
Roman Telezhynskyi 0cd42f83e6 Fix color of a line edit text in dark mode. 2024-01-29 16:47:19 +02:00
Roman Telezhynskyi a0c1b6a512 QFutureWatcher::connect: connecting after calling setFuture() is likely to produce race. 2024-01-29 16:33:24 +02:00
Roman Telezhynskyi 6164120969 Fix progress bar in custom dark theme. 2024-01-27 19:53:40 +02:00
Roman Telezhynskyi 498274a070 Fix environment variable name. 2024-01-27 19:02:55 +02:00
Roman Telezhynskyi f3377f6964 Add missing dark theme custom icons. 2024-01-27 19:02:25 +02:00
Roman Telezhynskyi 909f5a14d9 Fix build. 2024-01-27 18:40:25 +02:00
Roman Telezhynskyi f8562b63ea Refactoring. Code style. 2024-01-27 16:29:00 +02:00
Roman Telezhynskyi 1261708b06 Fix History dialog.
Cursor image missing.
2024-01-27 15:29:06 +02:00
Roman Telezhynskyi 4ec350693a Lupdate. 2024-01-27 15:13:17 +02:00
Roman Telezhynskyi 58d8768429 Save as UTF-8 BOM. 2024-01-27 11:49:16 +02:00
Roman Telezhynskyi ac92a209d9 Rename environment variable. 2024-01-25 12:27:22 +02:00
Roman Telezhynskyi e31bc4c0d4 Debugging script. 2024-01-25 11:32:13 +02:00
Roman Telezhynskyi 4060160f87 Fix preparing to deploy an installer. 2024-01-25 09:01:24 +02:00
Roman Telezhynskyi c26d913ab6 Windows CMD doesn't treat single quotes as anything but a regular character. 2024-01-24 18:29:45 +02:00
Roman Telezhynskyi 64512c822e Remove cd. 2024-01-24 17:06:06 +02:00
Roman Telezhynskyi 3d0fbfee8d The token '||' is not a valid statement separator in this version. 2024-01-24 16:46:44 +02:00
Roman Telezhynskyi 28de72ff0d Switch to patch. 2024-01-24 16:38:37 +02:00
Roman Telezhynskyi e538dec3f3 Patch Qbs. 2024-01-24 16:15:26 +02:00
Roman Telezhynskyi f6e44564ff Fix script compatibility. 2024-01-24 15:46:56 +02:00
Roman Telezhynskyi 8e49d56d3b Place first to use Qbs from Chocolatey. 2024-01-24 15:46:32 +02:00
Roman Telezhynskyi 7321c60ba7 French localization of Windows installer strings. 2024-01-24 15:33:34 +02:00
Roman Telezhynskyi 240bddfcba Install the latest version Qbs. 2024-01-24 12:31:13 +02:00
Roman Telezhynskyi ce1eac1407 Fix not working shortcuts. 2024-01-24 12:18:13 +02:00
Roman Telezhynskyi 32519e6089 Updated Windows installer. Closes #196 2024-01-24 11:22:01 +02:00
Roman Telezhynskyi 38dbbe29ba Minimal Qt version increased to Qt 5.15. Minimal C++ standard to C++17. 2024-01-23 15:57:29 +02:00
Roman Telezhynskyi 35adb101ba Improve copying Qt's translations. 2024-01-23 10:56:40 +02:00
Roman Telezhynskyi 0c7371d4cc Skip test on Qt 5.6. 2024-01-20 14:18:37 +02:00
Roman Telezhynskyi 2ba85ced32 Temporary disable Qt 6.5 + MinGW. 2024-01-20 14:10:00 +02:00
Roman Telezhynskyi 225cb47f17 Fixed bug in seam allowance with mirror line. 2024-01-19 18:15:30 +02:00
Roman Telezhynskyi 25a8da8259 Add way to disable mirror line. 2024-01-19 17:54:33 +02:00
Roman Telezhynskyi f527c035bf Switching to MSVC. MinGW too slow. 2024-01-19 16:18:02 +02:00
Roman Telezhynskyi 23ccdf667d Polishing scripts. 2024-01-19 16:15:28 +02:00
Roman Telezhynskyi 6471840acf Save cache on error. 2024-01-19 16:14:48 +02:00
Roman Telezhynskyi 0524ae2d7c Call windeployqt only for release build. 2024-01-19 16:14:27 +02:00
Roman Telezhynskyi a7d61cb87c Fix command. 2024-01-19 11:01:21 +02:00
Roman Telezhynskyi e48d4d5464 Fix typo in the gist. 2024-01-19 10:56:34 +02:00
Roman Telezhynskyi 66b68bac59 ERROR: Unable to deduce type config install: 0abab496338183c36661e635c2aeab8d\settings.yml. 2024-01-19 10:42:32 +02:00
Roman Telezhynskyi 8b6ee824ae Better control over known measurement image size in description. 2024-01-19 10:34:43 +02:00
Roman Telezhynskyi 717225ce03 Fix issue with translation of tool groups. 2024-01-18 18:16:03 +02:00
Roman Telezhynskyi 27e07d16f2 Fix translation variables in Formula Wizard. 2024-01-18 17:12:38 +02:00
Roman Telezhynskyi f34a0b331b Clone settings.yml manually. 2024-01-18 16:43:09 +02:00
Roman Telezhynskyi 7cc10ba6e7 Read settings.yml. 2024-01-18 16:01:05 +02:00
Roman Telezhynskyi 689b5614c8 New path to config. 2024-01-18 08:55:43 +02:00
Roman Telezhynskyi 7e7ee85444 Move Qt 6.5 on top. 2024-01-18 08:24:25 +02:00
Roman Telezhynskyi 35e03ca6f3 Switch to GCC 13.2. 2024-01-17 21:34:50 +02:00
Roman Telezhynskyi 5d7e076b8e Don't build Qt 6.4. 2024-01-17 21:34:02 +02:00
Roman Telezhynskyi 4f7c9fd59b Fix export to DXF AAMA/ASTM on Windows with Qt 6. 2024-01-16 20:12:41 +02:00
Roman Telezhynskyi ad20f93085 Fix compatibility with Qt < 5.13. 2024-01-15 13:38:53 +02:00
Roman Telezhynskyi 12b73a121e Lupdate. 2024-01-13 15:06:11 +02:00
Roman Telezhynskyi 9ea39debdb Fix searching a fold line center. 2024-01-13 15:03:05 +02:00
Roman Telezhynskyi 2efce2e3ff Changing MSVC version.
14.38.33130 crashes.
2024-01-13 14:41:09 +02:00
Roman Telezhynskyi 95f405cb8d Fix redundant code. 2024-01-13 14:40:12 +02:00
Roman Telezhynskyi aabbb29bb8 Ignore patch rejection. 2024-01-13 14:35:43 +02:00
Roman Telezhynskyi 0b6abc6bbb Update MSVC version. 2024-01-13 08:38:41 +02:00
Roman Telezhynskyi 97bc0266c2 Fix compatibility with Qt 5.6. 2024-01-13 08:33:22 +02:00
Roman Telezhynskyi ea57284c1c Forward declaration is not enough. 2024-01-13 08:29:42 +02:00
Roman Telezhynskyi 3cfb25869a Skip patching if already patched and cached. 2024-01-13 08:22:34 +02:00
Roman Telezhynskyi 5a46ca0a48 Switch back to GCC 13 for Qt5 QMake. 2024-01-12 19:50:37 +02:00
Roman Telezhynskyi a22bcb041c Test with ppa:ubuntu-toolchain-r/test. 2024-01-12 19:07:45 +02:00
Roman Telezhynskyi 2ebb0aee2c Switch back to GCC 13 for Qt5 QMake. 2024-01-12 17:24:42 +02:00
Roman Telezhynskyi 01ce780548 Fix crash when export to DXF AAMA/ASTM. 2024-01-12 17:10:22 +02:00
Roman Telezhynskyi 52430657c3 Ccache still doesn't work with Clang. 2024-01-12 16:34:17 +02:00
Roman Telezhynskyi f73ac823d4 Don't stop after search. [skip appveyor] 2024-01-12 16:10:40 +02:00
Roman Telezhynskyi 72ba96cfb6 Fixing /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.15' not found. [skip appveyor] 2024-01-12 16:05:44 +02:00
Roman Telezhynskyi 331a5673e2 Give more memory to GCC. [skip appveyor] 2024-01-12 15:34:28 +02:00
Roman Telezhynskyi bb2d8c9704 Patch Qbs. 2024-01-12 15:03:05 +02:00
Roman Telezhynskyi 24ff2970f3 Activate brew auto update. 2024-01-11 17:04:13 +02:00
Roman Telezhynskyi 4ed8892dc8 Try --force-probe-execution. 2024-01-11 16:49:43 +02:00
Roman Telezhynskyi af6b86fb97 Clang warnings. 2024-01-11 16:25:31 +02:00
Roman Telezhynskyi b6542e989c Fix deprecation warning. 2024-01-11 15:50:03 +02:00
Roman Telezhynskyi d5dbdab24f Fix parsing error. 2024-01-11 15:07:05 +02:00
Roman Telezhynskyi 131da4387c Use mold linker. 2024-01-11 15:05:48 +02:00
Roman Telezhynskyi a919a3497e We should switch to newer Qbs version. 2024-01-10 14:26:49 +02:00
Roman Telezhynskyi 67bcc9ee59 Enable Ccache+clang+pch combination. 2024-01-10 14:22:23 +02:00
Roman Telezhynskyi bd25db3610 Appveyor. Invalidate brew cache. 2024-01-10 13:58:28 +02:00
Roman Telezhynskyi 561fca7785 Allow brew auto update. 2024-01-10 13:57:06 +02:00
Roman Telezhynskyi e571a0f1a6 Fix build. 2024-01-10 11:40:46 +02:00
Roman Telezhynskyi 92a0e57bf7 Removing Qt 6 specific stuff. 2024-01-10 11:19:59 +02:00
Roman Telezhynskyi 29de9aca0b Fix build. 2024-01-10 10:54:37 +02:00
Roman Telezhynskyi 88cfbea9cf Update qbs version. 2024-01-09 15:45:47 +02:00
Roman Telezhynskyi ec7c5e083f Fix build. 2024-01-09 15:05:10 +02:00
Roman Telezhynskyi 3f5371321b Do not translate formulas, but localize decimal character. 2024-01-06 15:47:59 +02:00
Roman Telezhynskyi cb5b85435f Lupdate. 2024-01-06 14:27:31 +02:00
Roman Telezhynskyi 38fbc03f16 New features: Mirror line, Fold line. 2024-01-06 14:22:03 +02:00
Roman Telezhynskyi 670f08eb9b Include external V notch as part of a cut boundary. 2023-11-30 11:51:14 +02:00
Roman Telezhynskyi d4f14ab1d5 Lupdate. 2023-11-29 16:44:49 +02:00
Roman Telezhynskyi e9565b3e75 Horizontal piece flipping. 2023-11-29 16:40:36 +02:00
Roman Telezhynskyi a7073dbeae Fix build. 2023-11-29 11:57:30 +02:00
Roman Telezhynskyi 458c36f08c Fix build. 2023-11-29 11:09:49 +02:00
Roman Telezhynskyi 5dec82606c Lupdate. 2023-11-29 10:44:06 +02:00
Roman Telezhynskyi 5724c9611a New feature. Boundary together with notches. 2023-11-28 16:40:27 +02:00
Roman Telezhynskyi fef322116b Fix reading a detail node label position. 2023-11-25 15:38:22 +02:00
Roman Telezhynskyi c7379122a8 Improve cutting spline and curved path.
Loose cutting restrictions.
2023-11-22 14:58:00 +02:00
Roman Telezhynskyi aee93b01b9 Optimize U-notch shape. 2023-11-22 13:59:50 +02:00
Roman Telezhynskyi ddb921d468 Fix duplicate items in the list of known measurements. 2023-11-21 12:33:15 +02:00
Roman Telezhynskyi 6041dd52b6 Added support for notch data type dependency. 2023-11-20 15:15:58 +02:00
Roman Telezhynskyi 348b7c4e8a Refactoring.
Code style.
2023-11-20 13:28:31 +02:00
Roman Telezhynskyi f5256c514c libdxfrw. C++14 support 2023-11-20 12:23:56 +02:00
Roman Telezhynskyi d704cf9322 Fix compatibility with old compilers. 2023-11-18 06:16:06 +02:00
Roman Telezhynskyi 8d600d8ee2 Fix compatibility with old compilers. 2023-11-17 20:24:48 +02:00
Roman Telezhynskyi 018bacb959 Fix filter extension. 2023-11-17 12:21:05 +02:00
Roman Telezhynskyi 17a585e610 Lupdate. 2023-11-17 12:18:36 +02:00
Roman Telezhynskyi 3497c9499d New tools: Arc start point, Arc end point. 2023-11-17 11:58:51 +02:00
Roman Telezhynskyi 427c62efe3 Fix compatibility with Qt 5.6. 2023-11-17 09:31:47 +02:00
Roman Telezhynskyi c8fe11c291 Fix draw artifacts. 2023-11-17 09:31:31 +02:00
Roman Telezhynskyi 8b402dc1d9 Adding removing nodes of curved path. 2023-11-17 09:30:48 +02:00
Roman Telezhynskyi 111d8950fd Label %mFileName% file name punctuation. Closes #188 2023-11-16 12:16:20 +02:00
Roman Telezhynskyi c026f42689 MSVC warning. 2023-11-16 11:34:28 +02:00
Roman Telezhynskyi 3d0573f2a7 QWidget::setWindowFlag was introduced since Qt 5.9. 2023-11-16 11:32:13 +02:00
Roman Telezhynskyi 0225ade6fc Remove caching label placeholders. 2023-11-16 11:19:24 +02:00
Roman Telezhynskyi 57f8a56830 Lupdate. 2023-11-15 09:17:42 +02:00
Roman Telezhynskyi e2829cd043 Gcc Warning. 2023-11-15 09:16:06 +02:00
Roman Telezhynskyi bf4942e316 New feature: Always keep on top. 2023-11-15 09:04:50 +02:00
Roman Telezhynskyi 9178456a9f Refactoring. 2023-11-15 09:04:37 +02:00
Roman Telezhynskyi 6565cc6355 Fix compatibility with MSVC. 2023-11-15 08:19:41 +02:00
Roman Telezhynskyi 41d2ad7afa Fix compatibility with old compilers. 2023-11-15 08:11:08 +02:00
Roman Telezhynskyi e9e439e9cb Fix testing formula translation. 2023-11-14 16:38:17 +02:00
Roman Telezhynskyi 4691de62fd Allow negative values. 2023-11-14 16:38:17 +02:00
Roman Telezhynskyi ae9e374629 Improve object tooltip for group operation.
Separate object and operation tooltip.
2023-11-14 16:37:48 +02:00
Roman Telezhynskyi c84d1153ab Fix moving a point.
First set angle then length. Length can have negative value.
2023-11-14 16:37:48 +02:00
Roman Telezhynskyi 7f6231f480 Fix place marker number. 2023-11-14 16:37:48 +02:00
Roman Telezhynskyi 6ddefa9d99 Refactoring.
Code style.
2023-11-14 16:37:48 +02:00
Roman Telezhynskyi 03a1b53276 Lupdate. 2023-11-10 13:07:58 +02:00
Roman Telezhynskyi 51134ac9f2 Fix typo. 2023-11-10 13:01:36 +02:00
Roman Telezhynskyi 7e9222dabe Handle empty piece icon when drag it on sheet. 2023-11-10 12:02:38 +02:00
Roman Telezhynskyi 23fd31ca08 Refactoring.
Code style.
2023-11-10 11:08:13 +02:00
Roman Telezhynskyi 3f0baef082 Lupdate. 2023-11-10 11:06:18 +02:00
Roman Telezhynskyi 8264e94abd Fix cleaning place label position. 2023-11-10 11:01:03 +02:00
Roman Telezhynskyi f455100b14 Refactoring. 2023-11-10 08:11:42 +02:00
Roman Telezhynskyi 869a7b7970 Fix building. 2023-11-10 08:07:27 +02:00
Roman Telezhynskyi 19d632a094 Clang warning. 2023-11-09 18:41:59 +02:00
Roman Telezhynskyi dac26b1551 Lupdate. 2023-11-09 18:29:58 +02:00
Roman Telezhynskyi 4778102fc9 QEvent::ApplicationActivate has been deprecated. Use ApplicationStateChange instead. 2023-11-09 17:59:21 +02:00
Roman Telezhynskyi 9d652aa3b5 Fix building. 2023-11-09 17:46:39 +02:00
Roman Telezhynskyi a4f2eefacd Fix building. 2023-11-09 15:36:50 +02:00
Roman Telezhynskyi cd176bfc14 Update change log. 2023-11-08 20:01:39 +02:00
Roman Telezhynskyi fae11472c6 Lupdate. 2023-11-08 20:00:27 +02:00
Roman Telezhynskyi 612b5f29ba Merge branch 'feature/known_measurements' into develop 2023-11-08 19:51:37 +02:00
Roman Telezhynskyi 0a71fd3e23 Known measurements icon. 2023-11-08 19:51:02 +02:00
Roman Telezhynskyi b22d6a4886 Update man page. 2023-11-08 15:13:44 +02:00
Roman Telezhynskyi 90bc077679 Refactoring. 2023-11-08 15:08:59 +02:00
Roman Telezhynskyi 6336a94bd5 Import/Export known measurements to CSV. 2023-11-07 17:38:20 +02:00
Roman Telezhynskyi 84cc3a1393 Refactoring. 2023-11-07 11:28:47 +02:00
Roman Telezhynskyi 32c10a4b39 Known measurements editor. 2023-11-07 11:20:31 +02:00
Roman Telezhynskyi c7620ef60c Remove diagrams.qrc. 2023-10-31 19:55:36 +02:00
Roman Telezhynskyi 934d2448b2 Fix compatibility with Qt 6.6. 2023-10-31 11:33:31 +02:00
Roman Telezhynskyi b187e3c1c7 Remove measurement translations. 2023-10-31 09:42:09 +02:00
Roman Telezhynskyi 856e472587 Init measurements database. 2023-10-28 09:55:21 +03:00
Roman Telezhynskyi b145a25abf Known measurements database. 2023-10-28 08:56:05 +03:00
Roman Telezhynskyi 45999c10c1 Default path to known measurements. 2023-10-26 12:05:45 +03:00
Roman Telezhynskyi e1f6b8d219 Lupdate. 2023-10-25 17:22:14 +03:00
Roman Telezhynskyi 8e2c0bc7ef Separate tool tips for the tool groups. 2023-10-25 16:55:19 +03:00
Roman Telezhynskyi 77024cd188 Fix an action name. 2023-10-25 12:21:32 +03:00
Roman Telezhynskyi a3195babf2 Define constructors for struct VSShortcut. 2023-10-25 11:29:36 +03:00
Roman Telezhynskyi b9b1d2fb66 Show disabled action instead of empty menu. 2023-10-24 19:15:14 +03:00
Roman Telezhynskyi 61854d2fa8 Lupdate. 2023-10-24 17:37:41 +03:00
Roman Telezhynskyi 2486d9d697 Fix compilation. 2023-10-24 15:00:22 +03:00
Roman Telezhynskyi 75a6d70aea Fix compilation. 2023-10-24 14:49:56 +03:00
Roman Telezhynskyi a2ac2ba670 Fix compilation. 2023-10-24 14:38:05 +03:00
Roman Telezhynskyi 3bbab78d4d Keyboard shortcuts for each tool. 2023-10-24 14:27:41 +03:00
Roman Telezhynskyi 434a1d0acf Fix deprecation warnings. 2023-10-24 11:03:04 +03:00
Roman Telezhynskyi 8527c5936c Fix compiler warnings. 2023-10-24 08:29:03 +03:00
Roman Telezhynskyi b6ea17d506 GCC warning. 2023-10-23 18:23:54 +03:00
Roman Telezhynskyi a2c7e1efa2 Fix qmake script. 2023-10-23 18:16:45 +03:00
Roman Telezhynskyi e56bd0792d Refactoring.
Fix name of the signal according to code style.
2023-10-23 18:16:01 +03:00
Roman Telezhynskyi 5c1d8476ff QKeySequenceEdit::setClearButtonEnabled was introduced in Qt 6.4. 2023-10-23 17:59:23 +03:00
Roman Telezhynskyi 06dd217130 Fix build. 2023-10-23 17:38:42 +03:00
Roman Telezhynskyi bb807d288f Lupdate. 2023-10-23 17:31:55 +03:00
Roman Telezhynskyi f620b24b56 Shortcuts manager. 2023-10-23 16:57:22 +03:00
Roman Telezhynskyi 6696c613c4 Fix compilation error. 2023-10-20 11:32:30 +03:00
Roman Telezhynskyi 08f4c86dcc Fix qmake script. 2023-10-19 18:54:04 +03:00
Roman Telezhynskyi 83ea11cc19 GCC warning. 2023-10-19 18:13:26 +03:00
Roman Telezhynskyi c03a847342 Lupdate. 2023-10-19 18:06:11 +03:00
Roman Telezhynskyi 0c64c55eb2 Tape app. Show variables in order they were added if possible.
Additionally users can sort the list.
2023-10-19 17:59:34 +03:00
Roman Telezhynskyi 2dae3816a6 New feature. Custom measurement name. 2023-10-19 17:35:29 +03:00
Roman Telezhynskyi 4ea992cb87 Refactoring.
Code style.
2023-10-19 09:16:13 +03:00
Roman Telezhynskyi 7d515b08c4 Fix pattern image proportions in pattern properties. 2023-10-19 09:15:59 +03:00
Roman Telezhynskyi df51f1a873 More cases for string literals. 2023-10-18 15:23:55 +03:00
Roman Telezhynskyi 59b42849cf Fix compatibility with MSVC. 2023-10-14 08:32:04 +03:00
Roman Telezhynskyi dabe8f375a Lupdate. 2023-10-13 19:12:29 +03:00
Roman Telezhynskyi f6073c0c82 Fix GCC warning. 2023-10-13 18:42:34 +03:00
Roman Telezhynskyi fe4d5b9a8e Lupdate. 2023-10-13 18:33:36 +03:00
Roman Telezhynskyi 9d734a667b Fix error: tr() cannot be called without context. 2023-10-13 18:33:16 +03:00
Roman Telezhynskyi a312e154b7 Puzzle app. Fix updating layout when file already opened. 2023-10-13 18:07:48 +03:00
Roman Telezhynskyi ff27cb217a Puzzle app. Fix losing selection by piece. 2023-10-13 17:33:59 +03:00
Roman Telezhynskyi 3db18228c8 Save last used path to raw layout data. 2023-10-13 16:17:36 +03:00
Roman Telezhynskyi bc6b9468b7 Refactoring. 2023-10-13 15:26:19 +03:00
Roman Telezhynskyi bf58addbe3 Puzzle app. Fix piece position move when update layout data. 2023-10-13 15:22:23 +03:00
Roman Telezhynskyi 3058c2fc33 Fix incorrect applying grainline position correction. 2023-10-13 15:20:01 +03:00
Roman Telezhynskyi f430dbae1f Round total memory to one decimal place. 2023-10-13 12:51:26 +03:00
Roman Telezhynskyi bb0a573e88 Fix parsing seam line.
Puzzle ignores Hide main path option.
2023-10-12 17:50:05 +03:00
Roman Telezhynskyi bcd53e0036 Validate sheet and layout names before proposing file name. 2023-10-12 16:50:17 +03:00
Roman Telezhynskyi 14f6d525ac Fix reading grainline type. 2023-10-12 16:10:47 +03:00
Roman Telezhynskyi 9ac8323898 Fix defining notch marks. Should be unicode. 2023-10-12 12:18:21 +03:00
Roman Telezhynskyi a46b5b8d1d Fix context menu. 2023-10-12 12:02:43 +03:00
Roman Telezhynskyi 6a3531eef9 Fix compatibility with Qt 5.6. 2023-10-11 18:30:20 +03:00
Roman Telezhynskyi 68482a5310 Lupdate. 2023-10-11 18:02:26 +03:00
Roman Telezhynskyi 86260a5c69 Merge branch 'develop' into 'develop'
Corrected some mistakes in French translation

See merge request smart-pattern/valentina!15
2023-10-11 14:50:12 +00:00
Yann Lossouarn 82b236813b Corrections de certaines traductions françaises 2023-10-11 10:48:05 +02:00
Roman Telezhynskyi 418d5dcc5e Lupdate. 2023-10-10 17:49:41 +03:00
Roman Telezhynskyi 8de3bbf5df Save selected path to measurements. 2023-10-10 17:18:56 +03:00
Roman Telezhynskyi d1699e673c Layout efficiency coefficient should support two decimals. 2023-10-10 17:04:32 +03:00
Roman Telezhynskyi 81235377fe Refactoring. 2023-10-10 14:49:04 +03:00
Roman Telezhynskyi 895dfec825 Fix handling broken formula. 2023-10-10 14:48:45 +03:00
Roman Telezhynskyi 2118e0766d New piece option Follow grainline. 2023-10-10 14:14:23 +03:00
Roman Telezhynskyi 11b5efc514 Refactoring.
Reduce complexity of the function.
2023-10-10 11:25:13 +03:00
Roman Telezhynskyi 6d471c5a55 Refactoring. 2023-10-10 11:08:57 +03:00
Roman Telezhynskyi bbf7e24aa8 Optimizing call of PreparePlaceholders function. 2023-10-10 11:08:41 +03:00
Roman Telezhynskyi e895a1d77d Refactoring.
Code style.
2023-10-10 10:36:30 +03:00
Roman Telezhynskyi b40d8e3c8e Fixing compatibility with Qt 5.6. 2023-10-09 13:40:55 +03:00
Roman Telezhynskyi d913a3bd0d Fix multi line string literals. 2023-10-09 12:45:34 +03:00
Roman Telezhynskyi 55cf9bbad6 Fix clearing Dropbox folder. 2023-10-08 08:15:03 +03:00
Roman Telezhynskyi 9f42d88394 Unit::LAST_UNIT_DO_NOT_USE used to mark a dimension which doesn't have units. 2023-10-08 07:41:16 +03:00
Roman Telezhynskyi 5fb441c9ba Calculate font pixel size if the size was set with setPointSize() or setPointSizeF(). 2023-10-08 07:40:21 +03:00
Roman Telezhynskyi e9f42bda30 Start using string literal operators for Qt types. 2023-10-07 18:56:39 +03:00
Roman Telezhynskyi 8f23d057f4 Fix filling piece label data. 2023-10-07 12:47:43 +03:00
Roman Telezhynskyi a103108799 Make new logo icons compatible with Inkscape. 2023-10-06 17:30:06 +03:00
Roman Telezhynskyi e7f1b09e83 New option: Translate formula. 2023-10-06 10:57:46 +03:00
Roman Telezhynskyi 3dddfb39cc Fix path to icon. 2023-10-06 10:18:20 +03:00
Roman Telezhynskyi 479866431c Refactoring.
Code style.
2023-10-06 10:18:00 +03:00
Roman Telezhynskyi 1ed8bf4a46 Collect statistic about used file format versions.
Later it will be useful when we will decide which formats to support for backward compatibility.
2023-10-06 10:01:35 +03:00
Roman Telezhynskyi be88184f7c Fix handling dimension values. 2023-10-06 08:56:10 +03:00
Roman Telezhynskyi 6ddb2a4875 Lupdate. 2023-10-05 17:10:40 +03:00
Roman Telezhynskyi 2219985f6e Redesign standard path system. 2023-10-05 16:51:21 +03:00
Roman Telezhynskyi 02a92a4c49 Log pattern tool used.
It would be interesting to see popular and less popular tools, and to, at some point, take a deeper dive as to why people use the less often used tools, less often. It brings many interesting discussions - perhaps a tool doesn't quite work as intended or could be improved on.
2023-10-05 10:19:13 +03:00
Roman Telezhynskyi afe27c18c5 Refactoring.
Code style.
2023-10-05 10:18:01 +03:00
Roman Telezhynskyi 427503a886 Add Hide main path option to details's context menu. 2023-10-05 09:02:53 +03:00
Roman Telezhynskyi e7f0628bf9 Fix invalid tool cursor names. 2023-10-04 18:01:11 +03:00
Roman Telezhynskyi d1643a56d6 Block based on IP. 2023-10-04 17:02:18 +03:00
Roman Telezhynskyi 1194c43e55 Fix collecting user statistic.
Fix calculation of screen resolution for primary screen in case of HighDPI screen.

Collect new metrics: screens number, screen pixel ratio, country code (based on IP), platform type, total memory.
2023-10-04 17:01:30 +03:00
Roman Telezhynskyi 5f60af68ca Refactoring.
Code style.
2023-10-04 16:58:56 +03:00
Roman Telezhynskyi ecf93f8d31 Redesign notch context menu to allow quick selection of the notch type. 2023-10-02 18:06:20 +03:00
Roman Telezhynskyi 54a713f545 Remove the attribute if not used. 2023-10-02 18:04:34 +03:00
Roman Telezhynskyi 2fc5492f57 Fix XSD schema for pattern format version 0.9.2. 2023-10-02 15:22:42 +03:00
Roman Telezhynskyi 578e76596d Refactoring. 2023-10-02 15:22:13 +03:00
Roman Telezhynskyi 2db6805629 Fix doubling of mirror tool. 2023-09-27 16:06:56 +03:00
Roman Telezhynskyi 13fafca653 Disable access via VNC. 2023-09-27 11:25:43 +03:00
Roman Telezhynskyi 9c2d7b5a6a Do not stop even when notarization takes more than 5 minutes. 2023-09-26 20:19:12 +03:00
Roman Telezhynskyi f3aa53ce8a Add Qbs to PATH. 2023-09-26 18:07:15 +03:00
Roman Telezhynskyi 35477235eb Suppress error. 2023-09-26 17:39:54 +03:00
Roman Telezhynskyi a30019e356 Clean /usr/local/include from Qt6. 2023-09-26 17:14:07 +03:00
Roman Telezhynskyi f8f1fef11e Switch to macOS 12 to build Qt5 based version. 2023-09-26 16:52:16 +03:00
Roman Telezhynskyi 556de78e66 Do not install cmake. 2023-09-26 16:09:20 +03:00
Roman Telezhynskyi 86dac2c466 Fix build script issue. 2023-09-26 16:00:41 +03:00
Roman Telezhynskyi bc13cc6c10 Use custom macdeployqt to build Qt5 based version on MacOS. 2023-09-26 15:46:40 +03:00
Roman Telezhynskyi 4d958b2130 Update MSVC version. 2023-09-26 15:42:49 +03:00
Roman Telezhynskyi 92fa8f5407 Fix dmg icon size. 2023-09-23 16:17:21 +03:00
Roman Telezhynskyi d590b8aa3a Fix issue with urllib3 v2.0. 2023-09-23 12:08:36 +03:00
Roman Telezhynskyi bc6ff3df0d Switch PATH to brew's Qt. 2023-09-23 12:08:20 +03:00
Roman Telezhynskyi e857dc6a8d Add missing filter to clean multibundle builds. 2023-09-23 10:44:45 +03:00
Roman Telezhynskyi 96d2529055 Annoying clang issue: clang++ does not respect -isystem flag. 2023-09-23 10:37:44 +03:00
Roman Telezhynskyi 6330d574d3 Forgot to import File. 2023-09-23 10:13:51 +03:00
Roman Telezhynskyi 232e1f049a Correct way to check os type. 2023-09-23 09:55:42 +03:00
Roman Telezhynskyi e368b3d2b7 Suppress xerces-c warnings. 2023-09-23 09:27:20 +03:00
Roman Telezhynskyi 5486c208c3 Fix build script error. 2023-09-23 08:58:56 +03:00
Roman Telezhynskyi 69fe8c01d9 Fix issue with urllib3 v2.0. 2023-09-23 08:21:29 +03:00
Roman Telezhynskyi 4b98e304d3 Disable conan cache. 2023-09-22 22:47:21 +03:00
Roman Telezhynskyi e4cc5b52bc Remove conan. 2023-09-22 21:04:23 +03:00
Roman Telezhynskyi 01715e10e6 Qt 5 doesn't require openssl. 2023-09-22 20:36:24 +03:00
Roman Telezhynskyi b3f2e76cc3 Fix path to conan user home. 2023-09-22 20:35:26 +03:00
Roman Telezhynskyi b3e0138d67 Use xerces-c from brew where possible. 2023-09-22 20:21:42 +03:00
Roman Telezhynskyi 393243bb87 Add paths to Qt library. 2023-09-22 19:33:19 +03:00
Roman Telezhynskyi d27e28410d Because we install qbs with brew we must use Qt from brew too. 2023-09-22 17:27:51 +03:00
Roman Telezhynskyi a5e6e35e26 Conan doesn't support arch x64. Use x86_64 instead. 2023-09-22 16:31:20 +03:00
Roman Telezhynskyi aa22dcf870 Use system curl version. 2023-09-22 16:11:07 +03:00
Roman Telezhynskyi 90dc482b93 Use conan custom profile instead of default. 2023-09-22 15:27:49 +03:00
Roman Telezhynskyi d947c569a4 Update conan requirements. 2023-09-22 15:26:43 +03:00
Roman Telezhynskyi 4fa9aca80d Do not install curl with brew.
Because macOS already provides this software and installing another version in parallel can cause all kinds of trouble.
2023-09-22 14:51:24 +03:00
Roman Telezhynskyi 5589ad2072 Fix build on MacOS. 2023-09-22 12:17:14 +03:00
Roman Telezhynskyi f167b66669 Fix incorrect build command. 2023-09-22 11:32:47 +03:00
Roman Telezhynskyi 63b0cbd4e2 Fix incorrect unzip destination. 2023-09-22 11:25:00 +03:00
Roman Telezhynskyi fc13414011 Specify working directory when call cmake. 2023-09-21 19:00:45 +03:00
Roman Telezhynskyi 69fc2ee343 Specify path when unzip macdeployqt source. 2023-09-21 18:48:16 +03:00
Roman Telezhynskyi c9084d2039 Fix deprecation warning.
'start' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead.
2023-09-21 18:47:40 +03:00
Roman Telezhynskyi b12124603e Use custom macdeployqt with better compatibility with brew. 2023-09-21 18:20:22 +03:00
Roman Telezhynskyi 9dad93dcc3 Bug fixes for macdeployqt module. 2023-09-21 17:45:30 +03:00
Roman Telezhynskyi 792817313a New property macdeployqtProgramBinPath to control path to macdeployqt. 2023-09-21 17:44:59 +03:00
Roman Telezhynskyi b9f5b06fbb Copy signed executable inside app bundle when build single bundle build. 2023-09-21 17:39:56 +03:00
Roman Telezhynskyi f2596591e5 New module pdftops.
With Qt 6 copy and sign pdftops from brew.
2023-09-21 17:37:49 +03:00
Roman Telezhynskyi 5876813056 Revert "Switch to using external pdftops utility to convert pdf to ps on mac."
This reverts commit 4eba1fa673.
2023-09-21 16:31:41 +03:00
Roman Telezhynskyi 6a86463fde Append to PATH instead of perpend. 2023-09-15 09:44:17 +03:00
Roman Telezhynskyi 2c0035bb2f Rebuild deps. 2023-09-15 09:27:39 +03:00
Roman Telezhynskyi e5087302e7 DMG license causes issues in Qbs. 2023-09-15 09:21:13 +03:00
Roman Telezhynskyi ea71d5ff56 Wait Puzzle and Tape before building Valentina on MacOS in case of multibundle. 2023-09-15 09:05:24 +03:00
Roman Telezhynskyi 080800c2d4 Prevent build keychain from locking. 2023-09-14 21:21:12 +03:00
Roman Telezhynskyi 1227e6c4e3 Unlock keychain in build_script stage. 2023-09-14 20:36:54 +03:00
Roman Telezhynskyi e4e412947f Add python binary for xcode-select. 2023-09-14 20:30:58 +03:00
Roman Telezhynskyi b462286a23 Accessing macOS build worker via VNC. 2023-09-14 19:57:07 +03:00
Roman Telezhynskyi 390e30f664 Patch Qbs. Fix from version 2.1.2. 2023-09-14 18:48:37 +03:00
Roman Telezhynskyi f34b8afda4 Add python binary for xcode-select. 2023-09-14 15:34:18 +03:00
Roman Telezhynskyi c0dcb9303a Move the symlink to build_script stage. 2023-09-14 15:16:11 +03:00
Roman Telezhynskyi 8cf84c9226 ln: /usr/bin/python: Read-only file system 2023-09-14 14:57:11 +03:00
Roman Telezhynskyi 06a40757d6 Check if System.keychain is not cluttered 2023-09-14 14:49:18 +03:00
Roman Telezhynskyi ac7732f7af Switch to /usr/bin. 2023-09-14 14:48:58 +03:00
Roman Telezhynskyi dc28faab7c ln: /usr/local/bin/python: Permission denied 2023-09-14 13:36:16 +03:00
Roman Telezhynskyi 4d0c6cfb82 Installing to System.keychain requires root rights. 2023-09-14 13:28:57 +03:00
Roman Telezhynskyi fed375993b Move macos builds on top. 2023-09-14 13:14:43 +03:00
Roman Telezhynskyi 1947a0d8a7 Install certificates to System.keychain instead. 2023-09-14 13:13:23 +03:00
Roman Telezhynskyi 784c3ff3e7 Link Python to Python3. 2023-09-14 13:12:46 +03:00
Roman Telezhynskyi 9a644bacc7 Fix variable expansion. 2023-09-13 18:52:32 +03:00
Roman Telezhynskyi ba1ed1f441 Fix path to build.keychain. 2023-09-13 18:06:39 +03:00
Roman Telezhynskyi b21c634162 Escape string. 2023-09-13 17:45:33 +03:00
Roman Telezhynskyi e54c3f0d52 Probe if bundles are ready. 2023-09-13 16:58:21 +03:00
Roman Telezhynskyi 626b0d4bc8 Limit ccache size. 2023-09-13 14:27:32 +03:00
Roman Telezhynskyi c3c2fb3d6f Automatic Code-signing and Notarization for macOS. 2023-09-13 14:27:14 +03:00
Roman Telezhynskyi 0e7ff22882 Codesign on macos. 2023-09-12 17:50:15 +03:00
Roman Telezhynskyi bdc9c1a2b6 Update icons look. 2023-09-12 17:49:35 +03:00
Roman Telezhynskyi 4eba1fa673 Switch to using external pdftops utility to convert pdf to ps on mac. 2023-09-12 14:46:23 +03:00
Roman Telezhynskyi db1b4496f1 Lupdate. 2023-09-12 13:12:49 +03:00
Roman Telezhynskyi f3538df445 New option: Use Tool Groups. 2023-09-12 13:12:49 +03:00
Roman Telezhynskyi 812c0b84d7 Fix GUI freezing while nesting. 2023-09-12 13:12:49 +03:00
Roman Telezhynskyi a33ad45e37 Merge branch 'new-macos-icons' into 'develop'
Add new macOS icons

See merge request smart-pattern/valentina!14
2023-09-12 10:11:11 +00:00
GooRoo 353eed132e
Fix indentation in `AUTHORS.txt` 2023-09-12 01:32:44 +02:00
GooRoo 6657caa7cb
Add new macOS icons
Plus an alternative version of the main icon
2023-09-12 01:29:15 +02:00
Roman Telezhynskyi 4db2e04a84 Fix issue with caching SVG font engine. 2023-08-30 19:29:28 +03:00
Roman Telezhynskyi 5b533473bd Fix issue with high DPI versions of transformation handles. 2023-08-30 16:22:36 +03:00
Roman Telezhynskyi 324d7977f6 Lupdate. 2023-08-30 14:16:56 +03:00
Roman Telezhynskyi e9213004ce Increase minimal required version for Qbs. 2023-08-29 19:03:51 +03:00
Roman Telezhynskyi 268d0dff40 Update path to Python after upgrade. 2023-08-29 19:02:43 +03:00
Roman Telezhynskyi e29ab9c7d9 New option: Pointer mode. 2023-08-29 18:49:16 +03:00
Roman Telezhynskyi 4f2fb335fa Improve comments. 2023-08-29 16:51:56 +03:00
Roman Telezhynskyi 8de440a272 Explicitly add conan as a module provider. 2023-08-29 16:08:59 +03:00
Roman Telezhynskyi 82372fa344 Fix typos. 2023-08-29 15:55:26 +03:00
Roman Telezhynskyi 146a9d3d2b Switch to using qbspkgconfig. 2023-08-29 15:35:48 +03:00
Roman Telezhynskyi 24d870e306 Install pkg-config on Mac. 2023-08-28 21:17:33 +03:00
Roman Telezhynskyi d0ddc4d108 Fix loading hiDPI version of cursors. 2023-08-28 19:57:39 +03:00
Roman Telezhynskyi 29a89de9b4 cannot read property 'version' of undefined 2023-08-28 17:35:41 +03:00
Roman Telezhynskyi d5f69e102a Move cursors cursor-arrow-openhand and cursor-arrow-closehand to VMisc library. 2023-08-28 17:25:31 +03:00
Roman Telezhynskyi a293d441d7 Explicitly link to libcrypto and libssl to avoid error: Failed to load libssl/libcrypto. 2023-08-28 17:25:31 +03:00
Roman Telezhynskyi 52eb082aec Optimize container requirements. 2023-08-28 17:25:31 +03:00
Roman Telezhynskyi 24adb97b5a Fix build. 2023-08-26 09:59:06 +03:00
Roman Telezhynskyi 9fa969cbb1 Guard font size to prevent a warning show. 2023-08-26 09:51:55 +03:00
Roman Telezhynskyi e2c6fe5124 Fix scrollbar handle color for dark mode. 2023-08-26 09:43:13 +03:00
Roman Telezhynskyi d3846ba757 MSVC warnings. 2023-08-23 11:41:52 +03:00
Roman Telezhynskyi 1388bf3f95 Fix toolbox icon size switch. 2023-08-22 18:44:32 +03:00
Roman Telezhynskyi c5d1a4d778 Fix build. 2023-08-22 18:00:08 +03:00
Roman Telezhynskyi 84844e257b Remove buggy test. 2023-08-22 15:38:53 +03:00
Roman Telezhynskyi 904c18a7f9 Fix build. 2023-08-22 15:16:20 +03:00
Roman Telezhynskyi 5f091344fa Return libdxfrw internal text codec converter. 2023-08-21 19:13:47 +03:00
Roman Telezhynskyi c2fea54864 Port changes from libdxfrw mainstream. 2023-08-21 17:24:10 +03:00
Roman Telezhynskyi df888f2f5d Lupdate. 2023-08-21 16:30:03 +03:00
Roman Telezhynskyi a49f156ce0 Better control over toolbox icon size. 2023-08-21 15:51:49 +03:00
Roman Telezhynskyi 8476b50a24 Fix issue with passing incorrect number of dimension to Tape. 2023-08-19 15:24:45 +03:00
Roman Telezhynskyi 5fd4b8f563 All builds should include Windows icon themes. 2023-08-19 14:04:09 +03:00
Roman Telezhynskyi 46241e8e85 Refactoring.
Code style.
2023-08-18 16:22:16 +03:00
Roman Telezhynskyi a7b0ed1171 QGraphicsView not interpreting Mac laptop touchpad correctly. 2023-08-18 16:10:16 +03:00
Roman Telezhynskyi 493b11bfd6 Method includes is not available in old Qbs versions. 2023-08-18 14:44:11 +03:00
Roman Telezhynskyi b46ca34d84 TypeError: Result of expression 'includePaths[i].includes' [undefined] is not a function. 2023-08-18 14:23:29 +03:00
Roman Telezhynskyi 5e36a24996 Define minimumQtVersion property. 2023-08-18 14:02:42 +03:00
Roman Telezhynskyi b67a063665 Enable code signing on mac. 2023-08-18 14:01:03 +03:00
Roman Telezhynskyi 7532800830 Fix macdeployqt keys. 2023-08-18 13:51:36 +03:00
Roman Telezhynskyi 6a114ac94e Fix path to fallback theme icon. 2023-08-18 13:49:13 +03:00
Roman Telezhynskyi 4dbac33c96 Disable warnings from xerces-c with pkg-config. 2023-08-18 13:48:03 +03:00
Roman Telezhynskyi bb43ff07ea Fix export to HGPL. Reverse line type after testing. 2023-08-16 19:00:14 +03:00
Roman Telezhynskyi 6dae04e3e6 Optimize themes colors. Synchronize dark and light themes. Fixes few bugs with widgets. 2023-08-16 10:39:33 +03:00
Roman Telezhynskyi 71e77118f6 Disable debug. 2023-08-15 20:28:25 +03:00
Roman Telezhynskyi f317dcec34 Check if all environment variables are correct. 2023-08-15 19:07:01 +03:00
Roman Telezhynskyi b1bbd41105 Debug build. 2023-08-15 16:55:44 +03:00
Roman Telezhynskyi 78483c6fcf Suppress MSVC warning C4191. 2023-08-14 16:42:35 +03:00
Roman Telezhynskyi ceb125f5d7 Disable unit tests for Qt 6.5/QBS/MSVC. 2023-08-14 07:32:48 +03:00
Roman Telezhynskyi d9a53a92fc When dealing with a system that supports native dark mode and Qt that doesn't, activate only custom dark theme to mimic dark mode and nothing in case of light mode. 2023-08-14 07:26:54 +03:00
Roman Telezhynskyi ae549bf948 Activate custom stylesheet to mimic dark mode on Qt versions those do not support native dark mode. 2023-08-13 19:58:58 +03:00
Roman Telezhynskyi 20117e78a2 Temporary comment. 2023-08-13 17:02:58 +03:00
Roman Telezhynskyi fef65aeeca Show that the app busy when switching a style. 2023-08-13 17:02:27 +03:00
Roman Telezhynskyi 7f332548c2 Refactoring.
Code style.
2023-08-13 10:51:54 +03:00
Roman Telezhynskyi be2aaf5cdf Fix missing headers. 2023-08-13 10:51:38 +03:00
Roman Telezhynskyi 8a9e73738d Fix missing headers. 2023-08-13 09:24:01 +03:00
Roman Telezhynskyi 16566d1a4c Set QT_PLUGIN_PATH variable to fix running unit tests. 2023-08-12 20:23:54 +03:00
Roman Telezhynskyi da1b6e8c28 Fix MSVC 2022 warnings. 2023-08-12 20:23:13 +03:00
Roman Telezhynskyi 2820fde0ee Support for Dark mode. 2023-08-12 12:38:18 +03:00
Roman Telezhynskyi a5bf891d43 Increased requirement for minimal Qt version. 2023-08-12 12:03:28 +03:00
Roman Telezhynskyi baf4f1a08b Refactoring.
Code style.
2023-08-12 10:31:10 +03:00
Roman Telezhynskyi ff6689f247 Fix compatibility with Qt 5.6. 2023-08-11 17:59:55 +03:00
Roman Telezhynskyi 92af5107d7 Fix recursion issue on MacOS. 2023-08-11 16:16:22 +03:00
Roman Telezhynskyi 19059ccaff MSVC warning. 2023-08-11 16:16:03 +03:00
Roman Telezhynskyi 5d5ab508d4 Fix build. 2023-08-10 18:46:41 +03:00
Roman Telezhynskyi 479c7da4c1 Fix cursor size.
Qt on Windows doesn't like asymmetrical images. Keep both width and height equal.
2023-08-10 16:35:18 +03:00
Roman Telezhynskyi 639daa9c4f Fix compatibility with < Qt 5.13. 2023-08-10 15:45:27 +03:00
Roman Telezhynskyi 0e70c799c4 Updating pip requires administrative rights. 2023-08-10 15:18:04 +03:00
Roman Telezhynskyi d433287be7 Fixing artifacts while changing system theme color on Windows. 2023-08-09 19:21:04 +03:00
Roman Telezhynskyi 70b527a3c9 Fix build. 2023-08-09 15:55:25 +03:00
Roman Telezhynskyi aea4fe3cee Qt can ignore OS settings, so, we must check palette settings instead. 2023-08-09 15:53:00 +03:00
Roman Telezhynskyi 14ec95ee9f Switch to Fusion style when activate custom theme or use default dark theme on Windows. 2023-08-09 15:46:02 +03:00
Roman Telezhynskyi 0f7a8b7e0d Upgrade pip before installing. 2023-08-08 18:17:49 +03:00
Roman Telezhynskyi eedb2cdf1b Refactoring. 2023-08-08 18:17:31 +03:00
Roman Telezhynskyi 846e5b3d4f Fix Qbs script. 2023-08-08 18:17:19 +03:00
Roman Telezhynskyi 73c35c4b2a error C2065: 'not': undeclared identifier 2023-08-08 16:55:59 +03:00
Roman Telezhynskyi d4859b7604 Fix compatibility with Qt 5.6. 2023-08-08 16:52:07 +03:00
Roman Telezhynskyi 358e16bb0d QToolBar background color only applies to actions on Linux.
Bug in Qt 5.
2023-08-08 10:39:14 +03:00
Roman Telezhynskyi aeb4780c96 Fix build with qmake. 2023-08-08 09:26:14 +03:00
Roman Telezhynskyi 2907f1e80a Fix resource names. 2023-08-08 07:33:10 +03:00
Roman Telezhynskyi 0713223ba8 Optimize size of icon themes. 2023-08-08 07:31:25 +03:00
Roman Telezhynskyi 16c65f1d53 Increase memory limit for Linux container. 2023-08-07 12:05:15 +03:00
Roman Telezhynskyi 0eff1b09f2 Use NativeMacDarkThemeAvailable instead of NSNativeMacDarkThemeAvailable. 2023-08-07 11:37:06 +03:00
Roman Telezhynskyi 5d305e7d78 Remove scripts. 2023-08-07 11:09:19 +03:00
Roman Telezhynskyi 6d70309136 Use icons from icon theme. 2023-08-07 11:08:12 +03:00
Roman Telezhynskyi c041cd029e Remove symbolic links which doesn't work well on Windows. Optimize themes. Split dark and light themes to optimize amount of memory needed for compilation. 2023-08-07 09:37:00 +03:00
Roman Telezhynskyi 659188028e Reverse change.
error: @available does not guard availability here; use if (@available) instead
2023-08-05 19:39:23 +03:00
Roman Telezhynskyi 995ff71546 Fix infinite recursion. 2023-08-05 19:31:23 +03:00
Roman Telezhynskyi 45c0b1cf1f Use #include <QtGlobal> instead to cover all Qt versions. 2023-08-05 19:06:32 +03:00
Roman Telezhynskyi cd0813f043 Fix compatibility with < Qt 6. 2023-08-05 18:58:29 +03:00
Roman Telezhynskyi 5e6e1e2844 Add missing files. 2023-08-05 18:39:19 +03:00
Roman Telezhynskyi e60ba5bedb Support for dark theme for custom icons. 2023-08-05 17:52:34 +03:00
Roman Telezhynskyi 8611153fe1 Fix regression. 2023-08-05 17:52:34 +03:00
Roman Telezhynskyi 809186b8f5 Added Memory Sanitizer. 2023-08-05 17:52:34 +03:00
Roman Telezhynskyi d1cbb61238 Refactoring.
Code style.
2023-08-05 17:52:34 +03:00
Roman Telezhynskyi ccdabec868 Avoid using global static variables. 2023-08-05 17:52:13 +03:00
Roman Telezhynskyi ba9d9ff501 Improve performance when draw with SVG fonts. 2023-08-05 17:51:48 +03:00
Roman Telezhynskyi bc1f47921f Refactoring.
Code style.
2023-08-05 17:51:47 +03:00
Roman Telezhynskyi 807964e019 Fix memory leaks. 2023-07-24 17:52:52 +03:00
Roman Telezhynskyi 55ba30e785 Fix app crash. 2023-07-24 17:51:55 +03:00
Roman Telezhynskyi cb4741acc9 Fix memory leaks. 2023-07-24 17:51:23 +03:00
Roman Telezhynskyi ec8a22cc84 Improve support for dark theme.
Custom dark theme updated. Added support for native dark mode. Added new icon themes. Scene still needs improvement.
2023-07-24 13:41:42 +03:00
Roman Telezhynskyi 2646a9c6d7 Fix compatibility with < Qt 5.7. 2023-07-17 16:48:50 +03:00
Roman Telezhynskyi 01bd5a0caf Fix compatibility with < Qt 5.12. 2023-07-17 16:41:59 +03:00
Roman Telezhynskyi c8844853b5 do not include <ciso646> with C++20 2023-07-17 16:33:57 +03:00
Roman Telezhynskyi 62f468b57b Fix compilation error. 2023-07-15 19:31:41 +03:00
Roman Telezhynskyi 27d5b5d784 Optimizing cleaning algorithm. 2023-07-15 19:24:22 +03:00
Roman Telezhynskyi 404145c708 Fix compatibility with Qt 5.6. 2023-07-15 17:40:18 +03:00
Roman Telezhynskyi 30aa5e7c22 Fix incompatibility with GCC < 10.1. 2023-07-15 17:35:16 +03:00
Roman Telezhynskyi b44919c53e Move python upfront. 2023-07-15 16:49:23 +03:00
Roman Telezhynskyi 99ef44937d Restore path to Chocolatey. 2023-07-15 16:25:28 +03:00
Roman Telezhynskyi 3920e9ca15 Switch to MinGW from Chocolatey. 2023-07-15 16:14:45 +03:00
Roman Telezhynskyi d1b51c78f6 Fix build. 2023-07-15 15:24:25 +03:00
Roman Telezhynskyi 3c4caff7e1 Try GCC 8.1. 2023-07-15 15:19:45 +03:00
Roman Telezhynskyi 37b00a9fd5 Fix build. 2023-07-15 15:12:17 +03:00
Roman Telezhynskyi dad5955e48 Switch to MinGW 11.2. 2023-07-15 14:47:50 +03:00
Roman Telezhynskyi 8980adda6f Fix build. 2023-07-15 14:42:17 +03:00
Roman Telezhynskyi 403c57ecc7 Give static functions more verbose names to not confuse a compiler. 2023-07-15 14:34:24 +03:00
Roman Telezhynskyi 254d32ff7f Optimize usage of defglobal.h. 2023-07-15 13:47:14 +03:00
Roman Telezhynskyi dc625ceaa4 Check what has been installed in C:\Qt\Tools. 2023-07-15 13:38:54 +03:00
Roman Telezhynskyi 8e6eb13b38 Fix Microsoft Visual Studio 2022 version. 2023-07-15 11:07:18 +03:00
Roman Telezhynskyi 41464eece0 Fix build with GCC 4.9. 2023-07-15 10:58:28 +03:00
Roman Telezhynskyi 7275ad5a7f Add missing link to printsupport. 2023-07-15 10:57:56 +03:00
Roman Telezhynskyi 68ab004b9d Fix compiler version. 2023-07-15 10:57:17 +03:00
Roman Telezhynskyi 629fb343c7 appveyor now supports Qt 6.5.1. 2023-07-13 22:12:24 +03:00
Roman Telezhynskyi a89815fdea Switch back to MinGW. 2023-07-13 22:11:28 +03:00
Roman Telezhynskyi 25aa63f9a9 Improve Dropbox folder cleaning. 2023-07-13 22:08:39 +03:00
Roman Telezhynskyi 1f9a5ce258 Fix missing includes. 2023-07-13 20:10:23 +03:00
Roman Telezhynskyi 49b0ae49f5 Refactoring.
Code style.
2023-07-13 20:10:04 +03:00
Roman Telezhynskyi 97957cf4d7 Fix missing header. 2023-07-13 19:32:07 +03:00
Roman Telezhynskyi bbed14d37d Refactoring.
Code style.
2023-07-13 19:31:54 +03:00
Roman Telezhynskyi ac25cc02df Fix regression with curve control length. 2023-07-13 17:49:31 +03:00
Roman Telezhynskyi 161918203a Refactoring.
Code style.
2023-07-13 17:49:31 +03:00
Roman Telezhynskyi de0ffa0148 Tool box redesign. 2023-07-10 19:23:56 +03:00
Roman Telezhynskyi 276c620535 Fix crash after using tool Union of details. 2023-07-10 19:23:56 +03:00
Roman Telezhynskyi 3e2a44d2ab Refactoring.
Code style.
2023-07-10 19:23:56 +03:00
Roman Telezhynskyi 83c914f47d Export to HP-GL format. 2023-07-10 19:23:56 +03:00
Roman Telezhynskyi 633bd18899 Qt5's QFont::fromString() isn't compatible with Qt6's QFont::toString().
Cover more cases.
2023-07-07 16:43:03 +03:00
Roman Telezhynskyi 1e2f1f7708 Refactoring.
Code style.
2023-07-07 16:29:12 +03:00
Roman Telezhynskyi c39c5b884e Revert to armv8. 2023-06-30 11:57:11 +03:00
Roman Telezhynskyi e3b871813b Switch to custom profile. 2023-06-30 11:02:30 +03:00
Roman Telezhynskyi 9ec05fe80b Switch to Xcode 14. 2023-06-30 10:07:18 +03:00
Roman Telezhynskyi 2672eaeb0e Fix build. 2023-06-30 09:20:02 +03:00
Roman Telezhynskyi b443159cf5 Fix compatibility with < Qt 5.15. 2023-06-29 19:08:39 +03:00
Roman Telezhynskyi e6533cb697 Fix compatibility with < Qt 6.1. 2023-06-29 18:16:04 +03:00
Roman Telezhynskyi d5f5e0cb3f Minor fixes. 2023-06-29 18:08:36 +03:00
Roman Telezhynskyi 7e9ed594ea Send countryId attribute to check if we can populate country information. 2023-06-29 17:57:40 +03:00
Roman Telezhynskyi a459e41f1d Update info about selected translation language if user changed it. 2023-06-29 17:55:43 +03:00
Roman Telezhynskyi 791aa22050 Send repo revision. 2023-06-29 17:54:54 +03:00
Roman Telezhynskyi 003a17a06d Fix build issues. 2023-06-29 16:04:18 +03:00
Roman Telezhynskyi e90ff5701a Changes to work around issue QTBUG-112204. 2023-06-28 16:39:05 +03:00
Roman Telezhynskyi c132d5676d Fix build issues. 2023-06-28 10:19:17 +03:00
Roman Telezhynskyi fbfb63feaa Send usage statistic only in GUI mode. 2023-06-28 08:21:32 +03:00
Roman Telezhynskyi 2c1b151853 Add missing stable.h. 2023-06-27 15:01:14 +03:00
Roman Telezhynskyi 85bda5a28b Fix build issues. 2023-06-27 14:22:49 +03:00
Roman Telezhynskyi eaf9d65339 System to collect usage statistic. 2023-06-27 14:15:21 +03:00
Roman Telezhynskyi 53dc4135e3 Refactoring.
Code style.
2023-06-27 13:45:46 +03:00
Roman Telezhynskyi edd15cbbc0 Fix path in case of Microsoft Visual Studio 2022. 2023-06-26 10:33:23 +03:00
Roman Telezhynskyi 9f04b0feb3 Add missing includes. 2023-06-26 10:33:03 +03:00
Roman Telezhynskyi 3a39d8854f QRecursiveMutex available only since Qt 5.14. 2023-06-26 10:12:54 +03:00
Roman Telezhynskyi 11d1e4302d windeployqt doesn't support key "--no-virtualkeyboard" since Qt 6.5. 2023-06-24 21:16:22 +03:00
Roman Telezhynskyi 49632e8f11 MSVC warning. 2023-06-24 19:21:21 +03:00
Roman Telezhynskyi 1fb9d82f61 Fix compatibility with Qt 5.9. 2023-06-24 16:24:53 +03:00
Roman Telezhynskyi 2d512e57b2 Switch to conan 1.60. 2023-06-24 15:54:36 +03:00
Roman Telezhynskyi 14d8bbb993 Use alternative Conan settings file. 2023-06-24 15:54:10 +03:00
Roman Telezhynskyi a2fbfaf840 Try image Visual Studio 2022. 2023-06-24 15:16:22 +03:00
Roman Telezhynskyi c0bf13198a Debug appveyor script. 2023-06-24 15:13:07 +03:00
Roman Telezhynskyi c05530eff7 Remove more packages. They cause update conflicts. 2023-06-24 15:12:58 +03:00
Roman Telezhynskyi 3cb51d1a09 Debug appveyor script. 2023-06-24 14:56:56 +03:00
Roman Telezhynskyi 0c1b6af40d Remove Ada and ObjC compilers. They cause update conflicts. 2023-06-24 14:17:06 +03:00
Roman Telezhynskyi 97fd973352 Fix build. 2023-06-24 13:57:00 +03:00
Roman Telezhynskyi dba7fa33df Fix appveyor build script. 2023-06-24 13:14:00 +03:00
Roman Telezhynskyi 61bdf7cd82 Fix build. 2023-06-24 13:04:01 +03:00
Roman Telezhynskyi e85c548b81 Fix build. 2023-06-24 12:07:41 +03:00
Roman Telezhynskyi 857f372ee3 Upgrade only required formulas. 2023-06-24 10:38:55 +03:00
Roman Telezhynskyi 3d4f6f7fa9 Upgrade brew packages to latest versions. 2023-06-24 10:27:08 +03:00
Roman Telezhynskyi 275c274b49 Switch to Qt 6.5 build on Windows. 2023-06-24 09:47:24 +03:00
Roman Telezhynskyi aeba78f127 Compatibility with Qt 6. 2023-06-24 09:33:35 +03:00
Roman Telezhynskyi 8b29cd6b36 Refactoring.
Code style.
2023-06-24 09:33:01 +03:00
Roman Telezhynskyi 914a2c9d09 Fix build. 2023-06-24 08:55:29 +03:00
Roman Telezhynskyi a744bc3efb Fix qbs script. 2023-06-23 09:55:10 +03:00
Roman Telezhynskyi 57ce414a38 Fix path to translations. 2023-06-23 09:12:50 +03:00
Roman Telezhynskyi 640f9342cf Refactoring. 2023-06-23 09:12:36 +03:00
Roman Telezhynskyi d70c447786 Fix qbs script. 2023-06-23 08:39:08 +03:00
Roman Telezhynskyi 2cd0005fcf Lupdate. 2023-06-22 19:04:39 +03:00
Roman Telezhynskyi c78a51e9a0 Using QSaveFile in some cases not enough to prevent loosing content of a file. 2023-06-22 18:32:13 +03:00
Roman Telezhynskyi 81141acf6d Support for single-line fonts. 2023-06-22 18:30:43 +03:00
Roman Telezhynskyi 1847115627 Refactoring.
Code style.
2023-06-21 10:24:51 +03:00
Roman Telezhynskyi 031d6e7a07 Install git to retrieve commit hash. 2023-06-13 10:21:08 +03:00
Roman Telezhynskyi b5779ca3e8 Refactoring.
Code style.
2023-06-08 13:20:20 +03:00
Roman Telezhynskyi 3a7803b78f Add missing include. 2023-05-22 18:27:01 +03:00
Roman Telezhynskyi eeaba2f3c5 Lupdate. 2023-05-22 17:40:00 +03:00
Roman Telezhynskyi 7410d188ce Piece labels line break. 2023-05-22 17:30:18 +03:00
Roman Telezhynskyi 1dbd0c7c56 Improve clang format settings. 2023-05-22 17:27:42 +03:00
Roman Telezhynskyi e540c6292c Refactoring.
Fix code style.
2023-05-22 17:27:42 +03:00
Roman Telezhynskyi 1a0ca6c782 Refactoring.
Fix code style.
2023-05-18 10:27:40 +03:00
Roman Telezhynskyi baba595be3 Fix compatibility with Qt 5.6. 2023-05-18 10:27:25 +03:00
Roman Telezhynskyi aa78d93527 Fix cleaning Dropbox. 2023-05-17 16:42:25 +03:00
Roman Telezhynskyi 58af14dd9a Lupdate. 2023-05-17 16:26:51 +03:00
Roman Telezhynskyi 9878a2dba1 Fix issues with translations. 2023-05-17 16:25:27 +03:00
Roman Telezhynskyi 9c0fe9131a Refactoring.
Fix code style.
2023-05-17 16:24:27 +03:00
Roman Telezhynskyi 0eaf1a6b66 Fix lupdate script. 2023-05-17 16:10:10 +03:00
Roman Telezhynskyi 867348fb8e Fix issue with incorrect placing pattern making translations. 2023-05-17 09:35:34 +03:00
Roman Telezhynskyi 3d1dc32b73 Fix transifex config. 2023-05-17 09:35:34 +03:00
Roman Telezhynskyi e71497a280 Lupdate. 2023-05-17 09:35:34 +03:00
Roman Telezhynskyi f69eaafe86 Independent translation for piece labels. 2023-05-16 19:21:17 +03:00
Roman Telezhynskyi e2815f39ed Fix preparing placeholders for piece areas. 2023-05-16 19:21:16 +03:00
Roman Telezhynskyi 7320c1c5df Refactoring.
Fix code style.
2023-05-16 19:21:16 +03:00
Roman Telezhynskyi 3ce8e6e5a7 Refactoring.
Fix method name.
2023-05-16 17:37:53 +03:00
Roman Telezhynskyi 7b2707a528 Explicitly specify number of concurrent build jobs. 2023-05-12 20:21:29 +03:00
Roman Telezhynskyi 97a70bede9 Optimize redundant lrelease call. 2023-05-12 20:00:09 +03:00
Roman Telezhynskyi bdd152dd83 Fix build issues. 2023-05-12 10:42:39 +03:00
Roman Telezhynskyi c704321d5a Correct the unit symbol. 2023-05-11 22:23:24 +03:00
Roman Telezhynskyi 4f43412dc3 Lupdate. 2023-05-11 19:39:02 +03:00
Roman Telezhynskyi ded2829dcb Fix active tab by default. 2023-05-11 18:27:41 +03:00
Roman Telezhynskyi 325a95bfbc Redesign the notch angle. 2023-05-11 18:21:19 +03:00
Roman Telezhynskyi 2aeaebdebc Fix build issues. 2023-05-11 16:23:57 +03:00
Roman Telezhynskyi 113b685c9c Fix build on Windows. 2023-05-10 18:28:38 +03:00
Roman Telezhynskyi 608b90122c Fix Check notch opening. 2023-05-10 18:07:58 +03:00
Roman Telezhynskyi 394df3c775 Fix grainline type description. 2023-05-10 17:31:11 +03:00
Roman Telezhynskyi 236a372538 Fix qmake script. 2023-05-10 15:00:02 +03:00
Roman Telezhynskyi 54fdcf3cae Fix build issues. 2023-05-10 11:00:34 +03:00
Roman Telezhynskyi 04852c132c Until Qt 6 moc doesn't support trailing return type well. 2023-05-10 11:00:18 +03:00
Roman Telezhynskyi 4a7ce91f65 Refactoring. 2023-05-09 19:28:11 +03:00
Roman Telezhynskyi fbbcf5320f Fix build issues. 2023-05-09 19:27:56 +03:00
Roman Telezhynskyi dd1dccea7d Fix build issues. 2023-05-09 18:59:57 +03:00
Roman Telezhynskyi f5a7e85aae Fix broken tests. 2023-05-09 18:59:32 +03:00
Roman Telezhynskyi b845969fff Fix build issues. 2023-05-08 19:24:14 +03:00
Roman Telezhynskyi a3be5d636f Fix build issues. 2023-05-08 18:28:11 +03:00
Roman Telezhynskyi a180e53829 Fix build issues. 2023-05-08 18:10:06 +03:00
Roman Telezhynskyi 8102edad66 Lupdate. 2023-05-08 17:51:35 +03:00
Roman Telezhynskyi cf412d058c Update transifex config. 2023-05-08 17:51:34 +03:00
Roman Telezhynskyi 598682e57b New notch type - Check Notch. Control a notch width and angle with formulas. 2023-05-08 17:51:34 +03:00
Roman Telezhynskyi 66e01d9994 Refactoring. 2023-05-08 17:51:34 +03:00
Roman Telezhynskyi 2fd78f68a5 Simplify number of versions for DXF AAMA/ASTM. 2023-05-03 16:23:54 +03:00
Roman Telezhynskyi 03630fb273 Refactoring. 2023-05-03 14:07:08 +03:00
Roman Telezhynskyi 30f2897732 Use Clang-format to maintain code formating. 2023-05-02 17:40:10 +03:00
Roman Telezhynskyi 1311c794c3 Improve handling four ways grainlines. 2023-05-02 17:38:44 +03:00
Roman Telezhynskyi 894e2dffac Refactoring. 2023-05-02 17:38:44 +03:00
Roman Telezhynskyi 5e3c23c460 Backport changes for the freedesktop module. 2023-04-25 16:07:17 +03:00
Roman Telezhynskyi e7a23df3e6 Improve calculating notches. 2023-04-12 21:05:29 +03:00
Roman Telezhynskyi 872e50814d Update manpages. 2023-04-10 13:43:12 +03:00
Roman Telezhynskyi c88da992a0 Clean Puzzle's command line keys.
Remove unused keys.
2023-04-10 13:41:44 +03:00
Roman Telezhynskyi 7dd8aa0058 Fix Clang warning. 2023-04-10 13:17:14 +03:00
Roman Telezhynskyi cb9f029c0f New key --noGrainline. #163 2023-04-10 13:17:01 +03:00
Roman Telezhynskyi a2b701f083 Show/hide grainline when export. Closes #163 2023-04-10 12:20:18 +03:00
Roman Telezhynskyi 64acbfff4c Fix build with Qt 5.6 on Windows. 2023-04-08 09:58:22 +03:00
Roman Telezhynskyi 265b519aab Fix build with Qt 5.6 on Windows. 2023-04-07 16:12:07 +03:00
Roman Telezhynskyi 857e384221 New grainline type: Four way. 2023-04-07 10:05:29 +03:00
Roman Telezhynskyi 9cd31f1dd7 Fix notches. 2023-04-06 18:21:24 +03:00
Roman Telezhynskyi 6e295f7172 Fix list of dimension popup list. Make sure it will always has enough space for values. 2023-04-05 17:09:54 +03:00
Roman Telezhynskyi 433389b798 QScopedPointer::take() was deprecated since 6.1. 2023-04-03 13:44:20 +03:00
Roman Telezhynskyi e7e4e07162 Fix seam allowance. Loose requirements to case with prong. 2023-04-03 10:50:25 +03:00
Roman Telezhynskyi 944d9e71e0 Fix compatibility with Richpeace DXF-AAMA/ASTM R12. 2023-04-01 15:03:34 +03:00
Roman Telezhynskyi b1470053f7 Fix incorrect memory management. 2023-03-30 17:20:16 +03:00
Roman Telezhynskyi e1e3a5106e For calculating area a formula needs CurrentSeamAllowance variable. 2023-03-30 15:41:37 +03:00
Roman Telezhynskyi 69397c1404 Fix pattern file conversion. 2023-03-26 18:13:04 +03:00
Roman Telezhynskyi 9b925dd996 Fix float-point accuracy issue in multisize measurements dimensions. 2023-03-23 08:39:31 +02:00
Roman Telezhynskyi 2334a04fbd Validate dimensions while reading multisize measurements. 2023-03-23 08:36:11 +02:00
Roman Telezhynskyi 3f2806a695 Refactoring. 2023-03-23 08:21:02 +02:00
Roman Telezhynskyi f247a1e895 Clean stale artifacts. 2023-03-11 13:55:40 +02:00
Roman Telezhynskyi 740f70c030 Refactoring. 2023-03-11 13:43:50 +02:00
Roman Telezhynskyi e8621121b3 Fix MSVC warnings. 2023-03-10 20:20:35 +02:00
Roman Telezhynskyi 3fad6bc5f9 Fix MSVC warnings. 2023-03-10 14:14:18 +02:00
Roman Telezhynskyi 777fe6a296 Remove build MSVC arm64. 2023-03-10 07:40:56 +02:00
Roman Telezhynskyi 7d759ec92b Fix MSVC warnings. 2023-03-10 07:40:27 +02:00
Roman Telezhynskyi 09d09b5a87 Try 32bit version of Python. 2023-03-09 16:42:27 +02:00
Roman Telezhynskyi 8b591847b1 Fix MSVC warnings. 2023-03-09 16:17:54 +02:00
Roman Telezhynskyi 429c321852 Remove version check. 2023-03-09 08:32:00 +02:00
Roman Telezhynskyi 6d34b6af13 Fix MSVC warnings. 2023-03-09 08:20:40 +02:00
Roman Telezhynskyi 16b67644b0 freopen_s() is not available for mingw. 2023-03-09 08:13:20 +02:00
Roman Telezhynskyi cb4c1aa10b Treat warnings as errors not only when debug. 2023-03-08 18:54:47 +02:00
Roman Telezhynskyi 004f46847c Fix conflicting settings. 2023-03-08 18:48:30 +02:00
Roman Telezhynskyi 37541b600e Fix MSVC warnings. 2023-03-08 18:45:42 +02:00
Roman Telezhynskyi 973f4d6b0d Enable utf8 literals for MSVC. 2023-03-08 18:44:07 +02:00
Roman Telezhynskyi 7a8d18569a Remove buggy test case. 2023-03-08 18:41:49 +02:00
Roman Telezhynskyi d622821b9f Use with call. 2023-03-07 17:32:30 +02:00
Roman Telezhynskyi e55df88c22 Fix a syntax error. 2023-03-07 10:16:26 +02:00
Roman Telezhynskyi 84990ca08d Always install conan on macos with qbs. 2023-03-07 09:50:54 +02:00
Roman Telezhynskyi 2dff4162b7 Full path to qmake.bat. 2023-03-06 16:39:22 +02:00
Roman Telezhynskyi 597c0d6d6d Build xerces-c only if missing. 2023-03-06 16:34:39 +02:00
Roman Telezhynskyi 65367edf91 Use qbs preinstalled with Qt Creator. 2023-03-06 16:34:15 +02:00
Roman Telezhynskyi cfc901b7ec Fix invalid yml. 2023-03-06 11:08:44 +02:00
Roman Telezhynskyi e57d228737 Correct way to init MSVC variables inside PowerShell script. 2023-03-06 11:04:23 +02:00
Roman Telezhynskyi bfc8a6b35b To init msvc for arm64 use qmake.bat file. 2023-03-06 11:03:06 +02:00
Roman Telezhynskyi 362681585e Do not install cmake. 2023-03-06 09:42:03 +02:00
Roman Telezhynskyi 2bae9a84eb Fix excluding objects in internal path. 2023-03-04 18:37:50 +02:00
Roman Telezhynskyi bd10ac3c13 Fix copying conan package library on Windows.
On Windows dll in bin folder, while on Unix it in lib.
2023-03-04 09:24:39 +02:00
Roman Telezhynskyi 5ceff228eb Fix path to platfrom plugin on Windows. 2023-03-04 09:21:22 +02:00
Roman Telezhynskyi a791fc0173 Reading from disc doesn't work from on Windows. Read from memory instead. 2023-03-04 09:17:40 +02:00
Roman Telezhynskyi 08362980bd Don't ignore warning Wenum-enum-conversion in this place. 2023-03-04 09:11:17 +02:00
Roman Telezhynskyi 2a9fcda3a6 Fix bug with compilation on Windows 10 with Qt 6. 2023-03-04 09:07:30 +02:00
Roman Telezhynskyi f3e9918729 pkg-config is more wildly used than was previously thought. 2023-03-04 09:06:06 +02:00
Roman Telezhynskyi 7d017116f3 Install only necessary dependencies since cmake and python already present. 2023-03-01 10:57:32 +02:00
Roman Telezhynskyi 1f839195d5 Enable silent output for unit tests. 2023-02-28 14:42:02 +02:00
Roman Telezhynskyi 454af3a988 Enable PCH for MinGW 12.2. 2023-02-28 14:31:55 +02:00
Roman Telezhynskyi b584818f65 Cache conan. 2023-02-28 14:31:36 +02:00
Roman Telezhynskyi b6d1400b23 Fix build without precompiled headers. 2023-02-28 14:31:14 +02:00
Roman Telezhynskyi a4139e1fa9 Fix build on Windows. 2023-02-28 12:00:50 +02:00
Roman Telezhynskyi a3264e34e5 error: expected unqualified-id before 'const' 2023-02-28 12:00:41 +02:00
Roman Telezhynskyi 9145b9638b Fix ReferenceError: Can't find variable: FileInfo. 2023-02-28 10:46:31 +02:00
Roman Telezhynskyi c89544fe08 Start building with C++20 since Qt 6.0 2023-02-28 10:45:58 +02:00
Roman Telezhynskyi dce2061dc3 Incorrect syntax for Windows. 2023-02-28 10:31:37 +02:00
Roman Telezhynskyi a9ffeebe83 Install MinGW 12.2 to bypass error with default compiler. 2023-02-28 10:24:39 +02:00
Roman Telezhynskyi 94f88b1066 Imitate QTextCodec::codecForLocale(). 2023-02-28 10:14:14 +02:00
Roman Telezhynskyi 934781660a QWinTaskbarButton not available since Qt 6. 2023-02-28 10:13:18 +02:00
Roman Telezhynskyi bf60cb02b1 Set environment variable on Windows to be able to run autotests. 2023-02-27 12:04:44 +02:00
Roman Telezhynskyi 60d8833fb0 No need to install cmake. 2023-02-26 21:06:54 +02:00
Roman Telezhynskyi 58f8e01f76 Fixes. 2023-02-26 20:43:28 +02:00
Roman Telezhynskyi 7debd364ce Check if msvc will work without stable.cpp. 2023-02-26 20:21:07 +02:00
Roman Telezhynskyi 0c24aeaaed Use the same name across all builds. 2023-02-26 14:58:23 +02:00
Roman Telezhynskyi 85a59a617f Fix conan profile. 2023-02-26 14:54:29 +02:00
Roman Telezhynskyi 3ef14942d7 Copy paste error. 2023-02-26 13:13:38 +02:00
Roman Telezhynskyi 4991e5b866 unexpected EOF while looking for matching `}' 2023-02-26 13:00:40 +02:00
Roman Telezhynskyi 5ae7ef7803 Try Qt 6.4 with GCC 8.1.
See issue QTBUG-103573.
2023-02-26 12:30:12 +02:00
Roman Telezhynskyi 9d16ffb016 Fix calling. 2023-02-26 11:22:36 +02:00
Roman Telezhynskyi fbf90fc109 Check if msvc will work without stable.cpp. 2023-02-26 11:22:36 +02:00
Roman Telezhynskyi e0692bdc76 Avoid using environment variables when defining them. 2023-02-26 10:42:24 +02:00
Roman Telezhynskyi 718f8bf75a Fix build on Windows. 2023-02-26 10:30:56 +02:00
Roman Telezhynskyi 560bf30417 Fix build on Windows. 2023-02-26 00:42:20 +02:00
Roman Telezhynskyi d42e625fd1 Brew installs new Python version. 2023-02-25 23:49:58 +02:00
Roman Telezhynskyi 737352517a Fix build on Windows. 2023-02-25 21:17:14 +02:00
Roman Telezhynskyi 5b7ada925b Wrong way to read environment variable on Windows. 2023-02-25 20:50:45 +02:00
Roman Telezhynskyi 2ee06edbb2 Set PATH for each stage separately. 2023-02-25 20:44:39 +02:00
Roman Telezhynskyi e9b1c769ee Try to set PATH variable globally. 2023-02-25 20:36:05 +02:00
Roman Telezhynskyi 39bc832493 Option to disable precompiled headers. 2023-02-25 20:35:40 +02:00
Roman Telezhynskyi 61064cff42 Check PATH variable. 2023-02-25 20:15:41 +02:00
Roman Telezhynskyi 4b8cd819e7 Path to Python. 2023-02-25 19:57:24 +02:00
Roman Telezhynskyi 346f89850e Add mingw path to PATH 2023-02-25 18:23:36 +02:00
Roman Telezhynskyi 2781ab0cc0 Fixes. 2023-02-25 18:18:34 +02:00
Roman Telezhynskyi 9f43bf16f4 Command not found after pip install. 2023-02-25 18:01:14 +02:00
Roman Telezhynskyi 1ff9a975d6 Fallback to conan 1.59. 2023-02-25 17:22:45 +02:00
Roman Telezhynskyi 16f732372b Default profile must always be defined. 2023-02-25 12:27:48 +02:00
Roman Telezhynskyi 079128630b Define profile when we build xerces-c on Windows. 2023-02-25 12:19:15 +02:00
Roman Telezhynskyi 6e03722250 Correct path to Qt. 2023-02-25 12:09:58 +02:00
Roman Telezhynskyi 3417b22f63 Define Path variable. 2023-02-25 11:59:12 +02:00
Roman Telezhynskyi aa85a0bde9 Fixing PowerShell script. 2023-02-25 11:16:11 +02:00
Roman Telezhynskyi a558a788ae Fixes. 2023-02-25 11:07:15 +02:00
Roman Telezhynskyi 03603ff7f5 Define custom conan profile. 2023-02-25 10:26:21 +02:00
Roman Telezhynskyi ce0abdeb21 Fixes. 2023-02-24 21:32:45 +02:00
Roman Telezhynskyi 78fd3574b6 Conan profile. 2023-02-24 20:54:09 +02:00
Roman Telezhynskyi da57bfc7b1 Conan 2.0 requires direct specifying a library version. 2023-02-24 16:17:42 +02:00
Roman Telezhynskyi 6a7d9c82d6 Create a default conan profile. 2023-02-24 15:56:20 +02:00
Roman Telezhynskyi fdb8fc8f1f Fix issue with FileInfo.executableSuffix(). 2023-02-24 15:32:32 +02:00
Roman Telezhynskyi a21e1ddcd4 Support for conan 2.0. 2023-02-24 14:36:40 +02:00
Roman Telezhynskyi cce962ff66 Fix file name. 2023-02-24 14:32:43 +02:00
Roman Telezhynskyi db67a484b9 Fix xcode version. 2023-02-23 11:28:07 +02:00
Roman Telezhynskyi dd3afe808e Help qbs to detect compiler type. 2023-02-23 11:12:42 +02:00
Roman Telezhynskyi 1b71ceb5cd Look inside C:\Qt\Tools\mingw1120_64\bin 2023-02-23 11:04:07 +02:00
Roman Telezhynskyi 0599aaaedd Use MinGW 11.2. 2023-02-23 11:00:16 +02:00
Roman Telezhynskyi b88b4b2285 Fix xcode version. 2023-02-23 10:54:21 +02:00
Roman Telezhynskyi 7deef0e27d Remove double-quotes. 2023-02-23 10:41:46 +02:00
Roman Telezhynskyi 6c367e51ad Fixes. 2023-02-23 10:29:57 +02:00
Roman Telezhynskyi 474185a9fb Invalid yml. 2023-02-23 10:21:37 +02:00
Roman Telezhynskyi adb8667e2b Fixes. 2023-02-23 10:17:19 +02:00
Roman Telezhynskyi e7f1a32c76 Fix typo. 2023-02-22 16:49:26 +02:00
Roman Telezhynskyi f4ecde5120 appveyor.yml Windows and MacOS. 2023-02-22 16:45:53 +02:00
Roman Telezhynskyi bbff839210 Use Q_DECL_UNUSED to suppress warning. 2023-02-22 12:30:35 +02:00
Roman Telezhynskyi 41bcc2a4b4 Move QT_WARNING_DISABLE inside Qt namespace. 2023-02-22 09:48:51 +02:00
Roman Telezhynskyi a66b050ecd Suppress warnings. 2023-02-22 08:46:16 +02:00
Roman Telezhynskyi 321b41c435 Disable ccache on macos with Clang. 2023-02-21 10:33:58 +02:00
Roman Telezhynskyi 48da4ff899 qprintengine.h declares Q_DECLARE_METATYPE(QMarginsF). We can use its macro to check. 2023-02-21 10:20:39 +02:00
Roman Telezhynskyi 647653a40a QString::front() was introduced in Qt 5.10. 2023-02-21 09:57:49 +02:00
Roman Telezhynskyi 647cee5e36 Optimize includes. 2023-02-21 09:52:19 +02:00
Roman Telezhynskyi 178d260dff Fix conflict with declaration from qmuparser lib. 2023-02-21 09:52:08 +02:00
Roman Telezhynskyi fb08b0a317 Try to avoid redeclaration. 2023-02-21 09:40:22 +02:00
Roman Telezhynskyi 2691f0b9e4 Fix environments. 2023-02-20 22:03:39 +02:00
Roman Telezhynskyi 1e6179e69d Read environment variable directly from conanfile.py. 2023-02-20 21:45:02 +02:00
Roman Telezhynskyi 824d978473 echo command 2023-02-20 21:27:45 +02:00
Roman Telezhynskyi 51f7c5102d Verbose true. 2023-02-20 21:15:49 +02:00
Roman Telezhynskyi 6b4683d10a Try without environment variable. 2023-02-20 20:29:50 +02:00
Roman Telezhynskyi e317836957 Try without quotes. 2023-02-20 20:14:13 +02:00
Roman Telezhynskyi 2733a00a40 Internally return string. 2023-02-20 19:54:35 +02:00
Roman Telezhynskyi b51c028f23 Pass as string. 2023-02-20 19:34:05 +02:00
Roman Telezhynskyi f3899ac072 Switch to conanfile.py. 2023-02-20 16:40:38 +02:00
Roman Telezhynskyi 1285f85dbc Fix conanfile.txt. 2023-02-20 16:11:10 +02:00
Roman Telezhynskyi 3c19d0123d Prebuild xerces-c with correct macos deployment target version we need.
Required version is not always available by default.
2023-02-20 15:57:54 +02:00
Roman Telezhynskyi 84529d7b39 Better control over macos deployment target version. 2023-02-20 15:50:23 +02:00
Roman Telezhynskyi ac84b9f273 Use conanfile.txt to control package options. 2023-02-20 15:47:06 +02:00
Roman Telezhynskyi 4a022e7f1a Cache conan. 2023-02-20 15:42:50 +02:00
Roman Telezhynskyi 47bb2c16d4 Fix installing xerces-c library. 2023-02-20 14:54:48 +02:00
Roman Telezhynskyi 34632ebb43 No need to use std::move in this case. 2023-02-20 13:13:39 +02:00
Roman Telezhynskyi 4f2f05fe9a Don't use XERCES_CPP_NAMESPACE_USE macro. 2023-02-20 13:03:11 +02:00
Roman Telezhynskyi edccf99f43 Fix multibundle module. 2023-02-20 12:59:24 +02:00
Roman Telezhynskyi 05ed63c3eb Wrong property. 2023-02-17 20:22:38 +02:00
Roman Telezhynskyi 324be6e872 According to documentation minimal macos version must be 10.14. But for some reason it requires 10.15 to build. 2023-02-17 20:19:00 +02:00
Roman Telezhynskyi ef7e8f942c Disable ccache for qbs and clang. 2023-02-17 19:59:50 +02:00
Roman Telezhynskyi 6721553c53 Build with conan on macos. 2023-02-17 19:06:42 +02:00
Roman Telezhynskyi 0513b46a17 Don't use include_file_mtime and include_file_ctime options. 2023-02-17 18:57:00 +02:00
Roman Telezhynskyi 01fe967da8 Use auto detect to find clang. 2023-02-17 18:33:10 +02:00
Roman Telezhynskyi ee5f9d2f06 Homebrew on Apple Silicon switched to different prefix. 2023-02-17 16:50:46 +02:00
Roman Telezhynskyi b6c610da7f Only Qt6 version available with brew is the latest. 2023-02-17 15:19:03 +02:00
Roman Telezhynskyi 9ddbb28e33 qt6 is just an alias. 2023-02-17 14:55:32 +02:00
Roman Telezhynskyi 80affdba85 Testing macos build. 2023-02-17 14:49:53 +02:00
Roman Telezhynskyi 31a0f3d82c Fix QT issue on MacOS version 11.0 "Big Sur". 2023-02-17 11:09:41 +02:00
Roman Telezhynskyi a40ce741ad Improve labels for V notch. 2023-02-17 09:47:54 +02:00
Roman Telezhynskyi e3a8cef544 ccache together with precompiled headers. 2023-02-16 22:29:45 +02:00
Roman Telezhynskyi fe8f126424 Copy paste error. 2023-02-16 22:00:06 +02:00
Roman Telezhynskyi a386017f29 Always treat -Wreserved-identifier as a warning with Clang. 2023-02-16 21:46:19 +02:00
Roman Telezhynskyi 0948a58b17 Try another approach for qbs. 2023-02-16 21:46:19 +02:00
Roman Telezhynskyi 5e0c0c7638 Missed profile. 2023-02-16 21:25:35 +02:00
Roman Telezhynskyi 90f184bb95 Since Qt 6 changed name for Czech Republic. 2023-02-16 21:25:19 +02:00
Roman Telezhynskyi 9f6697ab63 Add path to translation when run an app from install root. 2023-02-16 21:24:09 +02:00
Roman Telezhynskyi 31f63f8a32 Fix building with < Qt 5.13. 2023-02-16 20:09:26 +02:00
Roman Telezhynskyi 5c2eb064bf Set working directory for autotest. 2023-02-16 20:09:26 +02:00
Roman Telezhynskyi 69a75decac Reuse build folder when run unit tests. 2023-02-16 20:09:26 +02:00
Roman Telezhynskyi 22972b8830 Setup LD_LIBRARY_PATH variable for autotest runner. 2023-02-16 20:09:26 +02:00
Roman Telezhynskyi 325d74bee4 Always treat -Wstrict-overflow as a warning with Clang. 2023-02-16 20:09:26 +02:00
Roman Telezhynskyi cb4083fa17 Trying to fix internal compiler error in GCC. 2023-02-16 20:09:26 +02:00
Roman Telezhynskyi a85595ef3d Fix DXF test. 2023-02-16 13:03:30 +02:00
Roman Telezhynskyi 7cc560fd31 Do not escape / in XSD regex. 2023-02-16 12:49:34 +02:00
Roman Telezhynskyi 12f4a006fd Suppress warnings in moc_*.cpp files. 2023-02-16 08:57:11 +02:00
Roman Telezhynskyi 505cd6d62f Fix error: an attribute list cannot appear here. 2023-02-15 17:53:34 +02:00
Roman Telezhynskyi cae3f28dcc Complete remove use of void QProcess::start(const QString &command, QIODevice::OpenMode mode = ReadWrite). 2023-02-15 17:42:17 +02:00
Roman Telezhynskyi 839d654798 Explicitly define qmake spec name. 2023-02-15 17:36:41 +02:00
Roman Telezhynskyi dfcfea88b6 Fix error: no matching member function for call to 'start'. 2023-02-15 17:36:13 +02:00
Roman Telezhynskyi 88f0ec0fa4 Check /usr/bin/ 2023-02-15 16:24:25 +02:00
Roman Telezhynskyi 84ff119eae Use new image for GCC. 2023-02-15 16:20:20 +02:00
Roman Telezhynskyi db077cddef Fix dependence condition. 2023-02-15 14:41:44 +02:00
Roman Telezhynskyi 8e84ce8f2d Cleaning. 2023-02-15 14:35:32 +02:00
Roman Telezhynskyi 7a10fe8d80 qbs.targetOS is not available in this place need to use a property. 2023-02-15 14:22:14 +02:00
Roman Telezhynskyi d6dd3de8f1 List all profiles. 2023-02-15 13:26:02 +02:00
Roman Telezhynskyi c1e19f068b Manually set target platform. 2023-02-15 13:21:42 +02:00
Roman Telezhynskyi c6cabc7aa1 Manually setup correct compiler. 2023-02-15 13:05:41 +02:00
Roman Telezhynskyi 5248162123 Query qmake. 2023-02-15 12:19:32 +02:00
Roman Telezhynskyi 2e3abb4a9a Fix error: expected a scalar value or a list with scalar values. 2023-02-15 12:00:04 +02:00
Roman Telezhynskyi 6e39dc9471 Redesign. 2023-02-15 11:55:40 +02:00
Roman Telezhynskyi 1222f8bdbe Template for a clang task. 2023-02-15 11:26:20 +02:00
Roman Telezhynskyi 75e3e5b7b8 FileInfo.executableSuffix() available only since qbs 1.23. 2023-02-15 11:25:35 +02:00
Roman Telezhynskyi c8cee2f47f Switch to another image. 2023-02-15 11:05:35 +02:00
Roman Telezhynskyi 448fb0e093 Check what is going on in /usr/bin/. 2023-02-14 20:28:43 +02:00
Roman Telezhynskyi e2c7a45882 Call qmake6 instead. 2023-02-14 20:18:29 +02:00
Roman Telezhynskyi 92faf02020 Install package qmake6. 2023-02-14 20:09:22 +02:00
Roman Telezhynskyi 11165c566a Check qmake version. 2023-02-14 20:01:39 +02:00
Roman Telezhynskyi f86ba23f92 Don't check compiler version. 2023-02-14 19:58:42 +02:00
Roman Telezhynskyi 59f78a4f1f Select Clang 16. 2023-02-14 19:52:19 +02:00
Roman Telezhynskyi 02781040ed Specify toolchain name directly. 2023-02-14 19:49:03 +02:00
Roman Telezhynskyi d726f7206f Try configuration. 2023-02-14 19:30:45 +02:00
Roman Telezhynskyi 8888164f47 Check compiler version first. 2023-02-14 16:10:39 +02:00
Roman Telezhynskyi 82cb2d83ab Fix error: incomplete type 'QRegularExpression' used in nested name specifier. 2023-02-14 15:55:45 +02:00
Roman Telezhynskyi 5680bbe463 Use Ubuntu based container for Clang. 2023-02-14 15:46:08 +02:00
Roman Telezhynskyi d541823020 Configuring qbs. Setup qt 2023-02-14 15:42:16 +02:00
Roman Telezhynskyi db8c776e36 Fix build with qmake. 2023-02-14 14:55:19 +02:00
Roman Telezhynskyi 04d2a1c631 Use QtCore/qcontainerfwd.h header for forward declaration containers. 2023-02-14 14:52:48 +02:00
Roman Telezhynskyi cca8a687a2 Incorrect name of library package. 2023-02-14 12:55:58 +02:00
Roman Telezhynskyi a839c8e7ed Try another approach. 2023-02-14 12:52:33 +02:00
Roman Telezhynskyi 484e76b84a Error while parsing tasks: INVALID_ARGUMENT: yaml: unknown anchor 'LINUX_QT5_QBS_QMAKE_TASK_TEMPLATE' referenced! 2023-02-14 12:39:08 +02:00
Roman Telezhynskyi 660a1acf6f Qt6 build on Cirrus CI. 2023-02-14 12:37:27 +02:00
Roman Telezhynskyi c6647866cb Merge branch 'qt6' into develop. Closes #115, #117 2023-02-14 09:27:11 +02:00
Roman Telezhynskyi 71f58af02e Support for conan package manager. 2023-02-13 19:59:07 +02:00
Roman Telezhynskyi 4a82ea8687 Reading settings file causes crash. 2023-02-13 19:54:17 +02:00
Roman Telezhynskyi 6aaa20010d Remove use of Qt 5 Core Compatibility module. 2023-02-13 19:47:51 +02:00
Roman Telezhynskyi 787cfcfc16 Use QStringConverter to replace QTextCodec. 2023-02-13 19:47:51 +02:00
Roman Telezhynskyi f5f4b1e4c8 Fix math parser tests. 2023-02-10 17:56:36 +02:00
Roman Telezhynskyi 3a88048952 Fix issues with XSD schemas. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi c0deb4d27a Qt XML Patterns deprecated since Qt 5.13.
Use Xerces-C++ instead.
2023-02-10 17:51:22 +02:00
Roman Telezhynskyi e95a29c08e Use of overloaded operator '=' is ambiguous (with operand types 'QChar' and 'qmu::char_type' (aka 'wchar_t')). 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi e8ee6a50ce QTextStream no longer supports QTextCodec. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 1a2374e64e Temporary use Qt 5 Core Compatibility module. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 5daab80a09 Fix incorrect use of Q_NORETURN. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi ac244d92ee Math functions are now declared as templates. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi feba5f04f1 No member named ‘insertMulti’ in QMap.
Before Qt 5.15, QMap distinguished between maps and multi-maps by insert and insertMulti. Qt 5.15 introduces a new class QMultiMap, which inherits from QMap.
2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 88a793319e QLibraryInfo::location is deprecated since 6.0. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 0335bcf571 QRegularExpression wildcard matching. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi e280c309cb Default codec for QTextStream is UTF-8 since Qt6. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi c9786ed7b7 Refactoring. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 659e1f6fc0 Suppress warnings. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 19c5b80b24 QVariant::value<T>() fails to convert unless QVariant::fromValue<T>() has been called previously. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 885a618820 QDropEvent::pos() is deprecated since 6.0. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 10c6ff1181 Enum QVariant::Type is deprecated. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 3e1c8a36d5 Fix QKeySequence. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 912e62e92c ‘endl’ is deprecated: Use Qt::endl 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 980b1b5837 Method enterEvent() expects QEnterEvent in Qt6. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 0a6c560382 Refactoring. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi f952368fa1 HiDPI is now enabled by default in Qt6. 2023-02-10 17:51:21 +02:00
Roman Telezhynskyi 5335fecc98 QLocale in Qt6 now returns QString instead of QChar. 2023-02-10 17:51:21 +02:00
Roman Telezhynskyi 404f870069 QtConcurrent::run signature was switched up.
Switching to using lambdas instead of binding the methods.
2023-02-09 17:27:43 +02:00
Roman Telezhynskyi 734e5d0d11 QVector and QStringList are now just aliases to QList. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi 171b3be090 Backward compatibility for type qsizetype. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi af8505f468 Remove Q_DISABLE_MOVE macro.
Q_DISABLE_MOVE was deprecated.
2023-02-09 17:24:29 +02:00
Roman Telezhynskyi dee3c593de Improve stable.h. 2023-02-09 17:24:02 +02:00
Roman Telezhynskyi 6e499b7245 Remove missing in Qt6 headers. 2023-02-09 17:24:02 +02:00
Roman Telezhynskyi 3d51968601 Change dependencies for Qt6. 2023-01-28 22:15:32 +02:00
Roman Telezhynskyi d781c34ede Merge branch 'qbs' into develop Closes #116 2023-01-28 17:08:50 +02:00
Roman Telezhynskyi 5fa48e52c4 Fix build on Windows. 2023-01-28 16:57:32 +02:00
Roman Telezhynskyi 4dd424262e Fix build on Linux. 2023-01-28 08:07:12 +02:00
Roman Telezhynskyi 8b42f12a20 Setup visibility level for exported symbols. 2023-01-27 22:16:31 +02:00
Roman Telezhynskyi 4b6f68ff80 Module macdeployqt. 2023-01-27 12:08:47 -08:00
Roman Telezhynskyi 766aae447d Define bundle prefix for dynamic library. 2023-01-27 09:20:43 -08:00
Roman Telezhynskyi e6c7051b6f Multi bundle support. 2023-01-27 09:07:34 -08:00
Roman Telezhynskyi 038afda6ed Fix installing tool applications. 2023-01-25 08:31:35 -08:00
Roman Telezhynskyi 272089074d Building ICNS. 2023-01-25 08:31:35 -08:00
Roman Telezhynskyi 53650d6223 Building Info.plist file. 2023-01-25 08:31:35 -08:00
Roman Telezhynskyi 6e4ec3e69f Installing app bundle on macos. 2023-01-25 08:31:35 -08:00
Roman Telezhynskyi d3f9ed80e7 Installing translations on macos. 2023-01-25 08:31:35 -08:00
Roman Telezhynskyi e0558dcc28 RC files only for Windows. 2023-01-21 07:12:53 -08:00
Roman Telezhynskyi 38d15cdd41 Fix build on MacOS. 2023-01-21 05:01:21 -08:00
Roman Telezhynskyi 40cef9befb Fix build with qmake. 2023-01-18 17:15:16 +02:00
Roman Telezhynskyi 9226ebf0a2 Fix building release version With GCC. 2023-01-18 16:46:01 +02:00
Roman Telezhynskyi 971869c346 Stage 'windeployqt'. 2023-01-18 15:04:26 +02:00
Roman Telezhynskyi b26094969d Explicitly define applications not console. 2023-01-18 15:02:51 +02:00
Roman Telezhynskyi 56c7870c31 New module i18nconfig to keep all data in one place. 2023-01-18 15:00:43 +02:00
Roman Telezhynskyi 7b755b6130 windeployqt combines all translations into one file. 2023-01-18 14:57:38 +02:00
Roman Telezhynskyi 521c156736 Update version of OpenSSL library. 2023-01-17 19:01:52 +03:00
Roman Telezhynskyi 3392ea560e Enable full static.h on Windows. 2023-01-17 16:48:31 +03:00
Roman Telezhynskyi 09747beea9 Use cpp.systemIncludePaths for Qt headers, so that building Qt applications no longer triggers warnings from Qt headers unrelated to the user code.
This feature available since Qbs 1.22.
2023-01-17 16:13:11 +03:00
Roman Telezhynskyi f4fb0b4a24 Fix dependencies. 2023-01-17 16:11:44 +03:00
Roman Telezhynskyi 881f0b9826 Replace obsolete method QLayout::setMargin with QLayout::setContentsMargins. 2023-01-17 14:18:27 +03:00
Roman Telezhynskyi 141373a903 Define macros to build shared libraries on windows. 2023-01-17 14:05:41 +03:00
Roman Telezhynskyi 51200a38e2 Suppress warning. 2023-01-17 14:04:33 +03:00
Roman Telezhynskyi c8bd8aeb2c Optimize working with paths.
FileInfo.pathSeparator() available only since qbs 1.22.
Use FileInfo.joinPaths() only when necessary.
2023-01-17 13:00:35 +03:00
Roman Telezhynskyi 74bd52652e Include vsapoint.cpp only before C++17. 2023-01-16 18:48:21 +02:00
Roman Telezhynskyi 16c5117b9c Remove unused lambda capture.
(cherry picked from commit 00e7e57a69)
2023-01-16 18:34:51 +02:00
Roman Telezhynskyi f54de83886 Fix build with Clang.
(cherry picked from commit 7ea8441271)
2023-01-16 18:34:45 +02:00
Roman Telezhynskyi 0b56ca464f Shortcut to quickly enable/disable Interactive tools mode.
(cherry picked from commit 80ba9e9961)
2023-01-16 18:34:33 +02:00
Roman Telezhynskyi 525dac06de New option. Default piece label template for new pieces.
(cherry picked from commit 664bbe9afe)
2023-01-16 18:33:20 +02:00
Roman Telezhynskyi 4bed35052b Refactoring.
Rename method name.

(cherry picked from commit 07dbc5e2ff)
2023-01-16 18:31:47 +02:00
Roman Telezhynskyi ab3e58519c Refactoring.
(cherry picked from commit 32f6b1be3e)
2023-01-16 18:31:39 +02:00
Roman Telezhynskyi cc0ae88921 Replace static private variable with Q_GLOBAL_STATIC.
(cherry picked from commit f0db72c89b)
2023-01-16 18:31:35 +02:00
Roman Telezhynskyi 0d50387980 Fix missing string argument.
(cherry picked from commit 649113da92)
2023-01-16 18:31:30 +02:00
Roman Telezhynskyi 00e7e57a69 Remove unused lambda capture. 2023-01-16 18:06:06 +02:00
Roman Telezhynskyi 7ea8441271 Fix build with Clang. 2023-01-16 18:04:01 +02:00
Roman Telezhynskyi 80ba9e9961 Shortcut to quickly enable/disable Interactive tools mode. 2023-01-16 17:00:03 +02:00
Roman Telezhynskyi 664bbe9afe New option. Default piece label template for new pieces. 2023-01-16 16:40:50 +02:00
Roman Telezhynskyi 07dbc5e2ff Refactoring.
Rename method name.
2023-01-16 15:50:53 +02:00
Roman Telezhynskyi 32f6b1be3e Refactoring. 2023-01-16 11:40:21 +02:00
Roman Telezhynskyi f0db72c89b Replace static private variable with Q_GLOBAL_STATIC. 2023-01-16 11:40:00 +02:00
Roman Telezhynskyi 649113da92 Fix missing string argument. 2023-01-15 17:57:33 +02:00
Roman Telezhynskyi f4113dbd9c Add RC files. 2023-01-13 18:47:28 +02:00
Roman Telezhynskyi 746b30c341 Build diagrams.rcc. 2023-01-13 17:54:42 +02:00
Roman Telezhynskyi 769b11926a Add metainfo.xml file. 2023-01-13 17:12:13 +02:00
Roman Telezhynskyi 78076e6dbf Optimize installing qm files.
Only on MacOS we need to install for three separate tools.
2023-01-13 16:02:53 +02:00
Roman Telezhynskyi 56850aef55 Rename .desktop file names to reverse DNS convention. 2023-01-13 15:57:27 +02:00
Roman Telezhynskyi 1b2143e026 Lupdate. 2023-01-12 20:14:59 +02:00
Roman Telezhynskyi 1669fbd3b2 Fix Lupdate warnings. 2023-01-12 20:12:16 +02:00
Roman Telezhynskyi 0a681d7f93 Module to update ts files. 2023-01-12 18:33:39 +02:00
Roman Telezhynskyi 44b9e1b77c Generating qm files. 2023-01-11 15:08:32 +02:00
Roman Telezhynskyi f43f8c5f98 Improve description. 2023-01-11 14:02:48 +02:00
Roman Telezhynskyi 19344de569 Refactoring preparing test environment. 2023-01-11 14:02:35 +02:00
Roman Telezhynskyi 47db665c21 New module to generate external binary resources. 2023-01-11 14:01:24 +02:00
Roman Telezhynskyi 89aab8cb92 Property to enable building appimage. 2023-01-11 13:03:46 +02:00
Roman Telezhynskyi 282f9c789a hicolor icons and mimetypes. 2023-01-11 13:03:46 +02:00
Roman Telezhynskyi 2c38bb5cee Define highlighter for JavaScriptCommand. 2023-01-11 13:03:46 +02:00
Roman Telezhynskyi ef713b1183 Added desktop files. 2023-01-11 13:03:46 +02:00
Roman Telezhynskyi 951cf2ae93 Fork freedesktop module.
Current version has some limitation.
2023-01-10 17:44:24 +02:00
Roman Telezhynskyi 5ac4858915 Optimize tool app config. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi e05527d7ea Optimize preparing pdftops tool. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 3af79ccfcc Optimize unit test app config. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 895b02ef0d Move 'Precompiled headers' group to buildconfig. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi af647e6386 Define V_NO_ASSERT. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi adce1f28e6 Installing label templates and multisize measurements table. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 9aa0f3f8d1 Property to disable pedantic build. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi da197fc84b Add comments. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi ea1195f9fa Added support for ccache. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi d6e3dfcbb3 Property to disable the use of precompiled headers. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 78fb2c246b Include QtWinExtras to precompiled headers. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 2221a35e7b Setup rpaths only for dynamic libraries.
Property to disable the use of rpath.
2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 11642ebfe1 Property to control building unit tests. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 2ba1a5db5e Improve stable.h. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 3599577b83 Coping files for collection test. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi 26693777cc Define versions for dynamic libraries. 2023-01-10 13:27:56 +02:00
Roman Telezhynskyi f96a507b1b Fix installing dynamic libraries. 2023-01-06 11:33:41 +02:00
Roman Telezhynskyi d9627416af Copy pdftops. 2023-01-05 19:38:08 +02:00
Roman Telezhynskyi 0c162dcc0c Copy OpenSSL files for test runs. 2023-01-05 19:01:30 +02:00
Roman Telezhynskyi b8c200954a Add QT_NO_FOREACH define. 2023-01-05 15:54:19 +02:00
Roman Telezhynskyi 3bba41c07c Compiler warnings. 2023-01-05 15:53:55 +02:00
Roman Telezhynskyi e9ffd33d1a Fix Clang warning. 2023-01-05 15:52:00 +02:00
Roman Telezhynskyi 33b2fb5ed0 Fix GCC warnings. 2023-01-05 15:14:13 +02:00
Roman Telezhynskyi 964b4c0aea Optimize dependencies with Export item. 2023-01-05 12:25:29 +02:00
Roman Telezhynskyi 2788e0a136 Successful build of test binaries. 2023-01-04 21:00:11 +02:00
Roman Telezhynskyi eb38a1c26f Successful build of main binaries. 2023-01-04 18:31:50 +02:00
Roman Telezhynskyi e896617c92 Fix regression in dialog Known measurements. Closes #189 2023-01-02 16:41:15 +02:00
Roman Telezhynskyi 7d222bb485 Lupdate. 2023-01-02 14:25:46 +02:00
Roman Telezhynskyi c9b9a3fb66 Refactoring. 2023-01-02 14:20:00 +02:00
Roman Telezhynskyi cfe341e7b9 Placeholder for area units. #193 2023-01-02 14:19:46 +02:00
Roman Telezhynskyi 86ee89414a Sort list of placeholders and show tooltips. #193 2023-01-02 13:59:24 +02:00
Roman Telezhynskyi de7239c53b Refactoring. 2023-01-02 11:32:28 +02:00
Roman Telezhynskyi 386760ff3f New placeholders CurrentArea and CurrentSeamLineArea. #193 2023-01-02 11:32:21 +02:00
Roman Telezhynskyi 234995fa7a Lupdate. 2022-12-31 15:40:17 +02:00
Roman Telezhynskyi aeaf962a57 Fix preparing placeholders for final measurements. #193 2022-12-31 15:27:44 +02:00
Roman Telezhynskyi 6e98acd13a New variable: Piece seam line area. #193 2022-12-31 14:46:01 +02:00
Roman Telezhynskyi a547822af1 Refactoring.
Method void QMap::insert(const QMap<Key, T> &map) available since Qt 5.15.
2022-12-31 14:41:10 +02:00
Roman Telezhynskyi 376152da8c Improve error messages while import CSV data.
Show correct row number.
2022-12-26 15:38:12 +02:00
Roman Telezhynskyi db2b6b865b Suppress annoying PNG warning. 2022-12-26 15:35:53 +02:00
Roman Telezhynskyi ae0b965500 Fix build with MSVC. 2022-11-24 17:33:49 +02:00
Roman Telezhynskyi a74bb62d97 Fix build with MSVC. 2022-11-24 15:36:44 +02:00
Roman Telezhynskyi d353e6616f Change modifier to avoid conflict on mac os. 2022-11-23 13:54:35 +02:00
Roman Telezhynskyi 78a123b266 Fix build with MSVC. 2022-11-22 17:01:01 +02:00
Roman Telezhynskyi de664c3aa0 error: 'value' is unavailable: introduced in macOS 10.14. 2022-11-22 13:11:08 +02:00
Roman Telezhynskyi 68d7ce7af1 Lupdate. 2022-11-22 12:37:18 +02:00
Roman Telezhynskyi dc565c55b8 Fix build. 2022-11-22 12:36:56 +02:00
Roman Telezhynskyi 655f978706 error: inline variables are only available with -std=c++1z or -std=gnu++1z. 2022-11-22 12:18:00 +02:00
Roman Telezhynskyi a749d15376 Control Z value for a background image with keyboard. 2022-11-22 12:00:34 +02:00
Roman Telezhynskyi 6e924ba0fa Fix positioning a transformation origin for a background image. 2022-11-22 09:57:47 +02:00
Roman Telezhynskyi 3e64af6443 Change Z value for piece controls.
This will place them above a piece.
2022-11-22 09:42:24 +02:00
Roman Telezhynskyi 6e77a8401b Fix build. 2022-11-22 08:34:32 +02:00
Roman Telezhynskyi e251bd365c Fix build. 2022-11-22 08:20:22 +02:00
Roman Telezhynskyi 0f2c922ead Fix manual layout format conversion and reading. 2022-11-21 18:52:11 +02:00
Roman Telezhynskyi 1925300ff3 Remove redundant includes. 2022-11-21 18:50:03 +02:00
Roman Telezhynskyi 2d6fa0fe9b Fix reading a layout. 2022-11-21 16:48:29 +02:00
Roman Telezhynskyi 034fc5822b Fix layout schema. 2022-11-21 16:48:18 +02:00
Roman Telezhynskyi 1c6f891f02 Fix missing schema. 2022-11-21 16:47:55 +02:00
Roman Telezhynskyi 15750a749c Refactoring. Use std::optional. 2022-11-21 16:47:32 +02:00
Roman Telezhynskyi 8cd3bfb803 Only C++17 introduces the rule that static constexpr member variables are implicitly inline. 2022-11-21 08:55:32 +02:00
Roman Telezhynskyi 36fb9db58f Fix links. 2022-11-19 18:40:18 +02:00
Roman Telezhynskyi 6ec85f3bdf New option Interactive tools. 2022-11-17 16:42:03 +02:00
Roman Telezhynskyi 64bfafb1d3 Fix build on Windows.
error: must #include <typeinfo> before using typeid.
2022-11-14 20:16:20 +02:00
Roman Telezhynskyi 461170d2ab Lupdate. 2022-11-14 18:08:54 +02:00
Roman Telezhynskyi 2f683930e9 Fix typo. 2022-11-14 18:02:00 +02:00
Roman Telezhynskyi d95d755e0d New option Show accuracy radius. 2022-11-14 17:28:51 +02:00
Roman Telezhynskyi 56cdd08e71 Fix build with Qt 5.6. 2022-11-14 16:53:44 +02:00
Roman Telezhynskyi 7a3e37c19a Disable test for GCC. 2022-11-11 21:12:33 +02:00
Roman Telezhynskyi 93be6f3771 error C2397: conversion from 'int' to 'double' requires a narrowing conversion. 2022-11-11 20:56:56 +02:00
Roman Telezhynskyi 595cbc44ac Decrease accuracy to fix float point issues. 2022-11-11 20:50:10 +02:00
Roman Telezhynskyi 165af7c2d8 Fix build for mingw49_32. 2022-11-11 20:46:59 +02:00
Roman Telezhynskyi a329444b4b GCC warning. 2022-11-11 19:03:34 +02:00
Roman Telezhynskyi 5a3669e42b Improve testing paths. 2022-11-11 17:57:34 +02:00
Roman Telezhynskyi 3379fca082 Clang warning. 2022-11-10 17:00:41 +02:00
Roman Telezhynskyi 890486f2db Fix build on Windows. 2022-11-10 16:16:57 +02:00
Roman Telezhynskyi a2a8f7a4f0 Clang warning. 2022-11-10 16:15:11 +02:00
Roman Telezhynskyi 301069fbff Clang warnings. 2022-11-10 15:53:36 +02:00
Roman Telezhynskyi accaa68e7a No reasons for method toJson() to be virtual. 2022-11-10 15:40:41 +02:00
Roman Telezhynskyi 4c5c22a432 Cannot suppress, disable. 2022-11-10 15:17:33 +02:00
Roman Telezhynskyi 4bf88d07ce Fix GCC warnings. 2022-11-10 15:08:10 +02:00
Roman Telezhynskyi c190725f1c Suppress Clang warning. 2022-11-10 15:01:42 +02:00
Roman Telezhynskyi c9abdc350e Suppress Clang warning. 2022-11-10 14:34:35 +02:00
Roman Telezhynskyi 5f62b1bd52 QSharedPointer::get() was introduced in Qt 5.11. 2022-11-10 12:05:06 +02:00
Roman Telezhynskyi 4869bc2d89 error: incomplete result type 'QPainterPath' in function definition. 2022-11-10 11:58:16 +02:00
Roman Telezhynskyi 2e835c2af2 Cppcheck warnings. 2022-11-10 11:55:50 +02:00
Roman Telezhynskyi 57c85f97e6 Lupdate. 2022-11-10 11:46:22 +02:00
Roman Telezhynskyi d6e417b197 Export area of piece in Final measurements. 2022-11-10 11:46:05 +02:00
Roman Telezhynskyi b4256fb500 Optimize includes. 2022-11-10 11:46:04 +02:00
Roman Telezhynskyi 99fad389b0 Refactoring. 2022-11-08 16:58:20 +02:00
Roman Telezhynskyi 52c8e47e60 New option "Seam line on drawing".
There are two ways to export a sew line to DXF-AAMA: on Draw layer or Sew line layer. The second is not standard, but preferable way for most CAD systems.
2022-11-04 17:16:50 +02:00
Roman Telezhynskyi acc8d73271 Refactoring VAbstractPieceData class. 2022-11-04 16:12:58 +02:00
Roman Telezhynskyi fbe81aac36 Merge branch 'dxf_compatibility' into develop 2022-11-04 15:56:59 +02:00
Roman Telezhynskyi d8f5f4fec9 Update test cases. 2022-10-29 17:51:05 +03:00
Roman Telezhynskyi d03f378a59 Fix incorrect seam allowance. Closes #181
Case #2.
2022-10-29 15:58:14 +03:00
Roman Telezhynskyi ab43b83ab2 Fix incorrect seam allowance. #181
Case #1.
2022-10-29 15:19:21 +03:00
Roman Telezhynskyi 60b4851753 Fix reading json. 2022-10-29 14:46:10 +03:00
Roman Telezhynskyi 9c7ab2fb4a Refactor CastTo. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi 0bf3d93d7e New option Turn point for context menu. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi 6c0863ca62 Refactoring. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi bd10a78f55 Successful compilation. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi 704bbecd2e Improve segmenting a curve for calculating a piece path. 2022-10-28 14:22:20 +03:00
Roman Telezhynskyi 867400332f Fix option Hide labels.
Enabling it and the app restart hides all points.
2022-10-14 17:29:59 +03:00
Roman Telezhynskyi 7beb234f22 Fix export measurement separator to CSV. 2022-10-14 14:50:26 +03:00
Roman Telezhynskyi 8b354dcae4 Puzzle: message "Invalid version: Max supported version 0.1.2" when opening 0.1.1 file in Val 0.7.52. Closes #187 2022-10-14 13:58:17 +03:00
Roman Telezhynskyi 4a89a0892f Introduce new macro Q_DISABLE_ASSIGN_MOVE. 2022-10-08 15:22:17 +03:00
Roman Telezhynskyi 05d064af1e Refactoring. 2022-10-08 14:22:52 +03:00
Roman Telezhynskyi 576e3bbbf2 Refactoring. 2022-10-07 16:04:07 +03:00
Roman Telezhynskyi 2eaecc747c Fix loading background image.
Drag and drop doesn't work for new pattern file.
2022-10-04 17:11:11 +03:00
Roman Telezhynskyi 704d9caf08 Detect russian language. 2022-10-04 14:52:09 +03:00
Roman Telezhynskyi b21fefba3f Prevent loading russian translation. 2022-09-29 11:59:00 +03:00
Roman Telezhynskyi fb85ec4eec Inconsistent $MEASUREMENT/$INSUNITS variables. 2022-09-20 11:50:38 +03:00
Roman Telezhynskyi d3205b853c Port changes from fpm's mainstream. 2022-09-20 11:13:12 +03:00
Roman Telezhynskyi 7d6ad602f5 Fix visualization for tool Point from circle and tangent. 2022-09-16 18:47:32 +03:00
Roman Telezhynskyi 851e8cf5e5 Fix layout sheet export with empty name. 2022-09-16 18:41:22 +03:00
Roman Telezhynskyi 1eb8661007 Add tooltip for setting "Print tiles scheme".
User may be confused by it when export a scheme. This setting has effect only when print in application.
2022-09-16 17:14:59 +03:00
Roman Telezhynskyi 65400da902 Improve "Incompatible locale" check. 2022-09-15 15:02:44 +03:00
Roman Telezhynskyi e160bb02ff In C++11 a static constexpr member variable, unlike every other kind of constexpr global variable, has external linkage, thus must be explicitly defined somewhere.
This flaw is fixed in C++17.
2022-09-15 15:01:45 +03:00
Roman Telezhynskyi 9429be3e0d Fix error: conversion from '<brace-enclosed initializer list>' to 'QCommandLineOption' is ambiguous. 2022-09-13 15:05:30 +03:00
Roman Telezhynskyi c4e71a3f60 error: no matching function for call to 'sleep_for(int)'. 2022-09-13 13:54:07 +03:00
Roman Telezhynskyi 44a2b9b0f4 New option that disables precompiled headers.
Very often get error cannot write PCH file: No space left on device.
2022-09-13 13:23:22 +03:00
Roman Telezhynskyi 53f53079a3 More extra tokens at the end of %endif directive. 2022-09-13 13:12:32 +03:00
Roman Telezhynskyi 44370de134 bpstd::literals::chrono_literals not compatible with GCC 4.8. 2022-09-13 13:10:12 +03:00
Roman Telezhynskyi 72f0dcf002 Path to lrelease is different. 2022-09-13 11:36:06 +03:00
Roman Telezhynskyi dbaec93145 Try clang-devel. 2022-09-13 11:28:04 +03:00
Roman Telezhynskyi dd3cd509c6 Fix error: lrelease-pro: No .pro/.pri files given.
Instead of lrelease-pro we should use lrelease-qt5.
2022-09-13 11:04:38 +03:00
Roman Telezhynskyi d158750279 extra tokens at the end of %endif directive in line. 2022-09-12 20:40:22 +03:00
Roman Telezhynskyi a37f7a7aa0 Add missing includes. 2022-09-12 20:35:04 +03:00
Roman Telezhynskyi 8059d1c0b8 QPointer doesn't work with QObject::connect in case of GCC 4.8. 2022-09-12 20:32:39 +03:00
Roman Telezhynskyi c9edbc6310 Fix error: can't set 'no_instrument_function' attribute after definition.
GCC 4.8 complains about this.
2022-09-12 20:19:05 +03:00
Roman Telezhynskyi a4c312b255 Fix error: Installed (but unpackaged) file(s) found. 2022-09-12 19:38:09 +03:00
Roman Telezhynskyi 54d8530c6f Uncomment support for CentOS. 2022-09-12 17:22:19 +03:00
Roman Telezhynskyi 2426838496 Fix error: missing space between '""' and suffix identifier.
GCC 4.8 complains about this.
2022-09-12 17:14:56 +03:00
Roman Telezhynskyi 3cfce3e640 Add missing include. 2022-09-12 17:00:42 +03:00
Roman Telezhynskyi 39e20864e5 Bump version. 2022-09-12 16:30:17 +03:00
Roman Telezhynskyi 1a4a22849c Qt started to support std::chrono since Qt 5.8. 2022-09-08 21:00:14 +03:00
Roman Telezhynskyi 3c1f5c04ca Fix error: literal operator suffixes not preceded by '_' are reserved for future standardization.
Old GCC versions do not allow to suppress the warning in certain cases. Switching to using macro.
2022-09-08 19:10:00 +03:00
Roman Telezhynskyi d32093bf4d Supperss Wdeprecated-declarations. 2022-09-08 16:58:12 +03:00
Roman Telezhynskyi 1bce66591b Lupdate. 2022-09-08 16:49:13 +03:00
Roman Telezhynskyi 8a902d8f66 Backport std::chrono_literals to C++11. 2022-09-08 16:43:21 +03:00
Roman Telezhynskyi fd173c81cd Improve highlighting file in file browser for Linux. 2022-09-08 15:13:01 +03:00
Roman Telezhynskyi 4c3b6a899c Allow resizing Spline path dialog. 2022-09-05 14:38:26 +03:00
Roman Telezhynskyi c51559e0ef Try explicit constexpr. 2022-09-04 08:49:32 +03:00
Roman Telezhynskyi 70168ebe6c Fix support Visual Studio 2015. 2022-09-02 17:14:03 +03:00
Roman Telezhynskyi daf7574f39 Fix support Visual Studio 2015. 2022-09-01 10:11:44 +03:00
Roman Telezhynskyi 3e8c45737f Lupdate. 2022-08-31 11:40:04 +03:00
Roman Telezhynskyi 488fbb6baa Fix support Visual Studio 2015. 2022-08-30 17:18:16 +03:00
Roman Telezhynskyi 4bf01918c9 Fix support Visual Studio 2015. 2022-08-30 15:41:33 +03:00
Roman Telezhynskyi d56acab0b1 Cppcheck warnings. 2022-08-30 14:42:44 +03:00
Roman Telezhynskyi ed40aafcb0 Lupdate. 2022-08-30 14:39:10 +03:00
Roman Telezhynskyi b01fd72af9 Fix issues with elliptical arc. 2022-08-30 14:19:40 +03:00
Roman Telezhynskyi 9055f10658 Fix bug in seam allowance. 2022-08-29 18:13:46 +03:00
Roman Telezhynskyi 83e9a4c8f0 Enable Approximation scale option for Elliptical arc. 2022-08-27 17:57:08 +03:00
Roman Telezhynskyi 1e344d6df0 Fix calculating an elliptical arc. 2022-08-27 16:46:25 +03:00
Roman Telezhynskyi ab75b783b6 Refactoring. 2022-08-24 20:11:12 +03:00
Roman Telezhynskyi e608e13fa1 Explicitly set visualization mode to Show even if not used. 2022-08-24 19:58:58 +03:00
Roman Telezhynskyi b5ec1e61b8 Refactoring.
Use Visualization::AngleToUser method to show angle values in a tooltip.
2022-08-24 19:53:48 +03:00
Roman Telezhynskyi f9bc111159 Optimize ::ShowDialog method. 2022-08-24 19:53:48 +03:00
Roman Telezhynskyi 5262d8afb7 Refactoring.
Rename Visualization::NumberToUser to Visualization::LengthToUser to avoid confusion.
Add Visualization::AngleToUser.
2022-08-24 19:53:48 +03:00
Roman Telezhynskyi 1c0885e766 Improve visualization for tool Elliptical Arc. 2022-08-24 19:44:45 +03:00
Roman Telezhynskyi cdc291a40f Refactoring. 2022-08-24 19:44:45 +03:00
Roman Telezhynskyi 8a94ed2645 Improve visualization for tool Point of intersection circle and segment. 2022-08-24 19:44:45 +03:00
Roman Telezhynskyi 35eedc0a44 Refactoring. 2022-08-23 21:04:23 +03:00
Roman Telezhynskyi be07f701c7 Fix tool Arc with given length. 2022-08-23 21:03:35 +03:00
Roman Telezhynskyi 165da734e3 Refactoring. 2022-08-23 20:42:46 +03:00
Roman Telezhynskyi d7fc36e0d4 Improve visualization for tool Point from circle and tangent. 2022-08-23 19:27:59 +03:00
Roman Telezhynskyi c10279c7e1 Refactoring. 2022-08-23 16:37:58 +03:00
Roman Telezhynskyi b9a2a6715b Refactoring. 2022-08-22 16:36:01 +03:00
Roman Telezhynskyi a13f13e3fc Refactoring.
Optimize includes.
2022-08-22 11:34:02 +03:00
Roman Telezhynskyi 0939d28c41 Improve visualization for tool Point of intersection circles. 2022-08-22 10:51:24 +03:00
Roman Telezhynskyi 4d104a789e Refactoring. 2022-08-22 10:23:51 +03:00
Roman Telezhynskyi cf4145dd94 Refactoring. 2022-08-22 09:15:09 +03:00
Roman Telezhynskyi 097b08af6f Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 4fb6dfbd92 Improve visualization for tool Segment an arc. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi a5c8bab097 Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 94d46a4530 Improve visualization for tool Segment a curved path. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi c136a716f6 Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 63cd0e7b5d Improve visualization for tool Segmenting a simple curve. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi b1d7177952 Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 0f78ef8b05 Improve visualization for tool Special point on shoulder. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi b9dd7d0ee9 Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi dd2eacd0d5 Improve visualization for tool Point along bisector. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi 0aac23ec8e Refactoring. 2022-08-20 20:09:29 +03:00
Roman Telezhynskyi de3179a37c Improve visualization for tool Point along perpendicular. 2022-08-20 20:09:24 +03:00
Roman Telezhynskyi 48b7c387a8 Refactoring. 2022-08-20 20:09:24 +03:00
Roman Telezhynskyi 3d186c2a37 Improve visualization for tool Point along line. 2022-08-19 13:49:09 +03:00
Roman Telezhynskyi 9a28166539 Refactoring. 2022-08-19 11:20:01 +03:00
Roman Telezhynskyi 714a4e1715 Fix segmenting a simple curve. 2022-08-19 08:29:42 +03:00
Roman Telezhynskyi 7d276461ed Fix export tiled pdf on Mac OS. 2022-08-18 17:10:42 +03:00
Roman Telezhynskyi 94a2bcb005 Refactoring. 2022-08-18 17:09:29 +03:00
Roman Telezhynskyi 5f8b46da5b Refactor VPMainWindow::GeneratePdfTiledFile.
It should return result to stop generation in case of an error.
2022-08-18 17:09:12 +03:00
Roman Telezhynskyi 8c3de72a51 Fix export of tiled sheet. 2022-08-17 19:29:32 +03:00
Roman Telezhynskyi b43592e3e9 Fix build. 2022-08-17 16:35:38 +03:00
Roman Telezhynskyi 003c9bf33f Fix build. 2022-08-17 15:51:35 +03:00
Roman Telezhynskyi 5855af6bc9 Fix missing header. 2022-08-17 12:32:48 +03:00
Roman Telezhynskyi de94a6db84 Fix build on Windows. 2022-08-17 11:51:17 +03:00
Roman Telezhynskyi a0224bd6a2 Fix build on Windows. 2022-08-17 10:01:51 +03:00
Roman Telezhynskyi 0fb54f73c7 error: attribute ignored [-Werror=attributes]
#  define Q_REQUIRED_RESULT [[nodiscard]]
2022-08-16 17:28:25 +03:00
Roman Telezhynskyi 42fedfc262 Fix build on Windows. 2022-08-16 16:43:22 +03:00
Roman Telezhynskyi 793292fbf8 Fix build. 2022-08-16 16:19:29 +03:00
Roman Telezhynskyi f60858f2e9 Fix macros. 2022-08-16 16:05:04 +03:00
Roman Telezhynskyi 7a386292b7 Fix build on mac os. 2022-08-16 16:02:42 +03:00
Roman Telezhynskyi 53905b624a Refactoring. 2022-08-16 16:01:17 +03:00
Roman Telezhynskyi 5b9c1b1d55 Port changes from mainstream. 2022-08-13 19:27:47 +03:00
Roman Telezhynskyi 46b2814981 Refactoring. 2022-08-13 19:26:55 +03:00
Roman Telezhynskyi 2cf2dc5985 Fix segmenting a simple curve. 2022-08-13 17:57:26 +03:00
Roman Telezhynskyi 0ab0edc654 Refactoring. 2022-08-12 18:50:22 +03:00
Roman Telezhynskyi 8dafc0e157 Lupdate. 2022-08-08 17:06:15 +03:00
Roman Telezhynskyi 7af257d552 Fix unit tests. 2022-08-08 16:14:46 +03:00
Roman Telezhynskyi 4e07172a6f Cppcheck warnings. 2022-08-08 15:25:14 +03:00
Roman Telezhynskyi df68bfefc8 Remember selected dimension values. 2022-08-06 13:33:07 +03:00
Roman Telezhynskyi 18e2554907 Support for options Force Flipping and Forbid Flipping in Puzzle. 2022-08-05 18:26:00 +03:00
Roman Telezhynskyi a68793cc82 Refactoring. 2022-08-03 20:28:08 +03:00
Roman Telezhynskyi 74da6b8e1e Unit type for increments. 2022-08-03 20:05:09 +03:00
Roman Telezhynskyi f005b78ecc Refactoring. 2022-08-03 14:41:19 +03:00
Roman Telezhynskyi 36180a7c38 Check system locale. 2022-08-03 12:17:04 +03:00
Roman Telezhynskyi 7ae794e0b7 Refactoring. 2022-08-02 20:12:23 +03:00
Roman Telezhynskyi 4dd7b93aab Add function's argument template with name in the Formula Wizard. 2022-08-02 20:11:26 +03:00
Roman Telezhynskyi 5a6e021cc9 Do not translate this warning message. 2022-08-02 18:27:14 +03:00
Roman Telezhynskyi 8462a7ec1d Fix layout export dialog. 2022-08-02 17:39:43 +03:00
Roman Telezhynskyi 91a6da3c26 Fix menu on Mac OS X. 2022-08-02 17:38:26 +03:00
Roman Telezhynskyi 57dd27cec0 Fix updating dimension labels in Valentina app. 2022-07-23 10:47:52 +03:00
Roman Telezhynskyi 22d21a867a Refactoring. 2022-07-20 08:29:59 +03:00
Roman Telezhynskyi 672278209d Fix Setup multisize measurements dialog. Improved handling Height dimension. 2022-07-19 20:00:34 +03:00
Roman Telezhynskyi be430f8c7e Fix incorrect seam allowance. 2022-07-15 17:21:56 +03:00
Roman Telezhynskyi 62f84c06a5 Fix validation a grainline position. 2022-07-15 09:51:50 +03:00
Roman Telezhynskyi f020a806d4 Fix main path validation. False positive double curve. 2022-07-12 16:18:42 +03:00
Roman Telezhynskyi b4462395e1 "Export from existing ..." now supports multisize measurements. 2022-07-01 10:29:03 +03:00
Roman Telezhynskyi 92398bbf52 Fix warning while segmenting flipped arc. 2022-06-28 12:55:27 +03:00
Roman Telezhynskyi 2e0f9c2a53 Puzzle app. Fix reading a piece name. 2022-06-04 16:31:46 +03:00
Roman Telezhynskyi 93f21830e1 Improve dynamic translation. 2022-06-04 16:13:21 +03:00
Roman Telezhynskyi 5f2d0e95a8 Fix Valentina app crash after canceling a tool. 2022-06-01 16:42:54 +03:00
Roman Telezhynskyi f4d0d4aa2e Tape app. Fix crash after switching language. 2022-05-28 17:17:01 +03:00
Roman Telezhynskyi 6c4231955e Add action Add separator to menu. 2022-05-28 17:16:10 +03:00
Roman Telezhynskyi d6f446c452 Suppress warning QString::arg: Argument missing. 2022-05-28 15:14:50 +03:00
Roman Telezhynskyi c9c46cc954 Code style. 2022-05-20 17:08:32 +03:00
Roman Telezhynskyi ca2fe5fff1 Improved curve segment warnings. 2022-05-20 15:49:25 +03:00
Roman Telezhynskyi 43aee75f64 Improve creating an arc by length. 2022-05-11 19:08:08 +03:00
Roman Telezhynskyi b8872a0319 Code style. 2022-05-11 17:32:09 +03:00
Roman Telezhynskyi 4bf0571dc0 Improve creating an arc by two angles. 2022-05-11 17:32:09 +03:00
Roman Telezhynskyi a0db254016 Code style. 2022-05-10 17:29:35 +03:00
Roman Telezhynskyi 32cd5823cb Improve tool tip. 2022-05-10 17:29:28 +03:00
Roman Telezhynskyi 1ba202e550 Code style. 2022-05-06 15:11:40 +03:00
Roman Telezhynskyi 92c9160bea Fix visualization for tool Point of intersection line and axis. 2022-05-06 15:11:28 +03:00
Roman Telezhynskyi 689aea92b5 Fix incorrect update of a layout piece. 2022-05-03 17:02:45 +03:00
Roman Telezhynskyi 7c1c6deeae Fix crash when default locale is ru.
Additionally fix a common antipattern when loading translations in Qt.
2022-04-22 12:42:46 +03:00
Roman Telezhynskyi 7d45ca1447 Remove russian translation. 2022-04-19 15:47:53 +03:00
Roman Telezhynskyi e2510aee4d Fix error: hardcoded-packager-tag Roman Telezhinskyi &lt;dismine@gmail.com&gt; 2022-04-19 13:32:49 +03:00
Roman Telezhynskyi 9085357ca1 Fix error: explicit-lib-dependency libqt5-qtimageformats 2022-04-19 13:28:43 +03:00
Roman Telezhynskyi f734cb3178 Fix errors: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/libqmuparser.so, devel-file-in-non-devel-package (Badness: 50) /usr/lib64/libvpropertyexplorer.so 2022-04-19 13:16:50 +03:00
Roman Telezhynskyi cfad2f4cfc Fix error: standard-dir-owned-by-package /usr/share/icons. 2022-04-19 13:14:06 +03:00
Roman Telezhynskyi 679e68a15b Bump version. 2022-04-18 20:12:47 +03:00
Roman Telezhynskyi 049fd660a5 Lupdate. 2022-04-18 20:04:19 +03:00
Roman Telezhynskyi 289a639124 Fix change log. 2022-04-18 19:45:30 +03:00
Roman Telezhynskyi 55cba24b1d Lupdate. 2022-03-28 17:41:04 +03:00
Roman Telezhynskyi 2402bfaf9e Fix typos. 2022-03-28 17:40:44 +03:00
Roman Telezhynskyi 250fa436c0 Fix broken pattern conversion. 2022-03-25 11:15:34 +02:00
Roman Telezhynskyi 67161bcfcb Improve handling gradation change.
Use parsed object to recalculate values instead opening file and parsing it every time.
2022-03-24 13:02:17 +02:00
Roman Telezhynskyi 1e88d2f8c8 Improve file format conversion. 2022-03-24 12:43:52 +02:00
Roman Telezhynskyi 6960dd9d00 Fix typos. 2022-03-24 12:42:14 +02:00
Roman Telezhynskyi 3a432e06fd Improve CLI. Better handle printer margins. 2022-03-19 18:17:23 +02:00
Roman Telezhynskyi 6d77f3ebc0 Remove support for russian language. 2022-03-18 12:28:55 +02:00
Roman Telezhynskyi 06a2e69a67 Update logo. 2022-03-18 10:46:09 +02:00
Roman Telezhynskyi 191cf7e25f Suspend use of qt_ntfs_permission_lookup. QTBUG-101168 2022-03-17 13:35:49 +02:00
Roman Telezhynskyi 0644122345 Code style. 2022-03-16 17:43:22 +02:00
Roman Telezhynskyi 8b0b5c89aa Incorrect work with curves. Closes #170 2022-03-16 17:43:09 +02:00
Roman Telezhynskyi e013ce234a System identifies two of the same curve. Closes #171 2022-03-14 18:31:31 +02:00
Roman Telezhynskyi 5d22771428 Improve logging.
Suppress useless warnings.
2022-03-14 17:38:32 +02:00
Roman Telezhynskyi 259eb8eaea Cppcheck false positive warning. 2022-02-19 21:51:27 +02:00
Roman Telezhynskyi 19f95c8e54 Refactoring. Use TextWidth to simplify code. 2022-02-19 21:26:30 +02:00
Roman Telezhynskyi 8837bec33d Fix mirroring a piece label. 2022-02-19 21:17:51 +02:00
Roman Telezhynskyi 460385c3ad Fix clearing piece transformation.
Mirror state must be cleared as well.
2022-02-19 21:17:00 +02:00
Roman Telezhynskyi 78eca1859c Rotation origin must not be visible after export. 2022-02-18 20:01:49 +02:00
Roman Telezhynskyi 9bbf384a0a Fix issue with tile font size. 2022-02-18 20:01:30 +02:00
Roman Telezhynskyi 9cddf75d97 Fix issue with Custom template. 2022-02-18 19:18:19 +02:00
Roman Telezhynskyi d913ec281b Lupdate. 2022-02-18 18:04:40 +02:00
Roman Telezhynskyi 0aeb3e8926 Add hove color for a layout piece. 2022-02-18 17:57:55 +02:00
Roman Telezhynskyi 4508bd859f Fix disappearing of rotation controls. 2022-02-18 17:57:55 +02:00
Roman Telezhynskyi d37c68321e Z value change for a layout piece. 2022-02-18 17:57:55 +02:00
Roman Telezhynskyi ed910db2c3 Fix the layout format conversion. 2022-02-18 16:32:43 +02:00
Roman Telezhynskyi 499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi 4c73ab529a Code style. 2022-02-18 10:15:34 +02:00
Roman Telezhynskyi c0e45c85fe Fix build on Debian. 2022-02-17 19:29:44 +02:00
Roman Telezhynskyi 214f4f7562 Fix highlighting a measurement separator. 2022-02-17 18:44:03 +02:00
Roman Telezhynskyi bd13db8371 Rpm doesn't like a comment at the end of an %if condition. 2022-02-17 16:51:40 +02:00
Roman Telezhynskyi a5ac9bc638 bad %if condition: 01599 > 1500 # Tumbleweed 2022-02-17 16:40:17 +02:00
Roman Telezhynskyi 7966b08f21 Suppress Cppcheck warnings. 2022-02-17 16:39:11 +02:00
Roman Telezhynskyi e8fa5e6084 Suppress Cppcheck warnings. 2022-02-17 16:22:11 +02:00
Roman Telezhynskyi 0e20edab9e %elif available only since rpm 4.15. 2022-02-17 16:20:14 +02:00
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
Roman Telezhynskyi 10a2de6b1d When add a background image place it at the center of visible area. 2022-02-04 11:30:50 +02:00
Roman Telezhynskyi fd8d2f8a9d Opacity option for a background image. 2022-02-04 11:01:52 +02:00
Roman Telezhynskyi 111b7f356c Take default name of a background image from a file path. 2022-02-03 17:11:21 +02:00
Roman Telezhynskyi 62ff405cc0 Added scroll area to layout settings dialog. 2022-02-03 17:05:52 +02:00
Roman Telezhynskyi e876a4d611 Fix issue in tool cut spline.
Infinite loop while calculating a t parameter.
2022-02-03 15:48:52 +02:00
Roman Telezhynskyi 11b8ba9e78 Point user to home directory when add a background image. 2022-02-01 19:44:42 +02:00
Roman Telezhynskyi 5dc07b753a Fix build with MSVC. 2022-01-31 12:41:46 +02:00
Roman Telezhynskyi 92e7f99e92 Fix build with MSVC. 2022-01-31 10:42:09 +02:00
Roman Telezhynskyi fbccb7206d Fix issue with delete. 2022-01-31 10:39:17 +02:00
Roman Telezhynskyi fe5fcdce3e Fix build on Windows. 2022-01-29 20:50:42 +02:00
Roman Telezhynskyi 317bc432e2 Fix reparsing background image items. 2022-01-29 20:13:54 +02:00
Roman Telezhynskyi 882f4ba0bf Cppcheck warnings. 2022-01-29 18:27:17 +02:00
Roman Telezhynskyi 28b4874441 Cppcheck warnings. 2022-01-29 18:05:15 +02:00
Roman Telezhynskyi be52aeb68e Fix build with Qt 5.6. 2022-01-29 16:56:21 +02:00
Roman Telezhynskyi c3cbfbaaca Fix build with Qt 5.6. 2022-01-29 16:06:01 +02:00
Roman Telezhynskyi fb001c23a5 Fix build on MSVC. 2022-01-29 15:12:04 +02:00
Roman Telezhynskyi a3e1cc8639 Fix build with Qt 5.6. 2022-01-29 14:57:21 +02:00
Roman Telezhynskyi ab49227ec2 Optimize list of builds for Windows platform. Leave only builds we really use. 2022-01-29 13:22:17 +02:00
Roman Telezhynskyi 1d85487ea3 Fix compatibility with Qt 5.6. 2022-01-29 13:15:28 +02:00
Roman Telezhynskyi 992375c754 Fix alias for tool Cut Arc. 2022-01-29 12:28:39 +02:00
Roman Telezhynskyi 4b5773c506 Fix build on Windows. 2022-01-29 12:07:53 +02:00
Roman Telezhynskyi a8aa4fdb7b Fix warning 'unused-lambda-capture'. 2022-01-29 11:50:13 +02:00
Roman Telezhynskyi 1b188bf414 Compatibility issues. 2022-01-29 10:59:02 +02:00
Roman Telezhynskyi a6f0ab2b3f Code style. 2022-01-29 09:46:01 +02:00
Roman Telezhynskyi ec804740a5 Lupdate. 2022-01-28 17:09:28 +02:00
Roman Telezhynskyi 357fd3a0ac New feature Background image. Closes #43 2022-01-28 16:54:58 +02:00
Roman Telezhynskyi 141b33884d Redesign of pattern image.
Preparations for support of background image. #43
2022-01-11 17:24:16 +02:00
Roman Telezhynskyi 2448ee4361 Improve generating pattern recipe.
If a pattern based on multisize measurements copy value to formula field.
2021-11-25 12:16:28 +02:00
Roman Telezhynskyi f28660e0ea Clang warnings. 2021-11-24 14:50:31 +02:00
Roman Telezhynskyi 612306bbd8 Cppcheck warning. 2021-11-24 14:25:47 +02:00
Roman Telezhynskyi 79e9b886ac Lupdate. 2021-11-24 14:20:58 +02:00
Roman Telezhynskyi cb036e8d43 New path validation Invalid segment. 2021-11-24 14:15:21 +02:00
Roman Telezhynskyi cd23cec411 Improved main path validations. 2021-11-24 11:27:44 +02:00
Roman Telezhynskyi 869b9e98e1 Refactoring.
Move GetNodeName to better place.
2021-11-23 17:10:00 +02:00
Roman Telezhynskyi b9958e9953 fixed LibreCAD 2 issue #1371, read failed with binary DXF 2021-11-23 14:48:30 +02:00
Roman Telezhynskyi 0db9e1f728 Class to handle plot settings object entries. 2021-11-23 14:43:26 +02:00
Roman Telezhynskyi c6bd3ae727 Fix typo. 2021-11-23 13:21:24 +02:00
Roman Telezhynskyi 11a7fc2652 viewport - target xyz. 2021-11-23 13:16:58 +02:00
Roman Telezhynskyi 6a219c5ed4 Port set version bug from solvespace fork and cleanup version handling in DRW_TextCodec.
One of the most intrusive changes in QGIS' fork was that the debugging code was replaced with hardcoded changes to redirect the output to QGIS' internal logging mechanism. In this PR I've setup an interface to allow clients to create custom output debugging classes and assign these to be used by the library.

This will allow me to remove all the related downstream changes in QGIS' fork and re-sync these files back to upstream.
Interface for debug printers.
2021-11-23 13:12:11 +02:00
Roman Telezhynskyi a8d8fa0946 Modernize debugging. 2021-11-23 11:28:54 +02:00
Roman Telezhynskyi 642fbe815d Use ununordered_map instead of map
Should result in a performance boost when reading large files.
2021-11-23 11:15:11 +02:00
Roman Telezhynskyi c51d9d5b30 More modernization and cleanups. 2021-11-22 19:28:51 +02:00
Roman Telezhynskyi 5f6445cf93 Read extrusion tags for dimension entities
Dimension entities support DXF codes 210, 220, 230 and and DRW_Dimension
already had a extPoint member, but the tags were never used when
parsing.
2021-11-22 18:53:33 +02:00
Roman Telezhynskyi b18f09d86e DRW_Coord: Simplify constructor. 2021-11-22 18:48:47 +02:00
Roman Telezhynskyi c7fc0b8dcb Misc. typos 2021-11-22 18:44:44 +02:00
Roman Telezhynskyi 1b4dfc7988 Misc typos: length. 2021-11-22 18:39:20 +02:00
Roman Telezhynskyi 47e0e3d0f3 fixed heap use after free vulnerability CVE-2021-21900
as reported in TALOS-2021-1351 / CVE-2021-21900,
DRW_TableEntry::parseCode had the potential to trigger an use after free exception with a malformed DXF file.
2021-11-22 18:22:27 +02:00
Roman Telezhynskyi 783a3faaeb We no longer need this file. 2021-11-22 15:25:04 +02:00
Roman Telezhynskyi b8b3acbfd3 Improve for a search bar. 2021-11-22 15:24:48 +02:00
Roman Telezhynskyi 8b966019e6 Code style. 2021-11-19 13:23:51 +02:00
Roman Telezhynskyi 920e6fc8ab Add text search bar in History window. Closes #153 2021-11-19 13:23:35 +02:00
Roman Telezhynskyi d61eda4a41 Option to disable the automatic search for updates. 2021-11-18 14:55:15 +02:00
Roman Telezhynskyi 679bb9af48 Code style. 2021-11-18 13:29:53 +02:00
Roman Telezhynskyi 421a8df4be Remove tool from all visibility groups it in. 2021-11-18 13:29:36 +02:00
Roman Telezhynskyi a915ef5a0d Code style. 2021-11-17 16:19:00 +02:00
Roman Telezhynskyi 888dccc2f3 Improve storing visibility group items. Don't store duplicate information. 2021-11-17 16:18:46 +02:00
Roman Telezhynskyi 2945da4d38 Fix double call of a main path context menu. 2021-11-16 18:52:32 +02:00
Roman Telezhynskyi 5eaab50647 Log a change. 2021-11-16 18:33:56 +02:00
Roman Telezhynskyi bd50428b56 Improve validation grainline position. 2021-11-16 18:33:20 +02:00
Roman Telezhynskyi ec672a8811 Improve XSD schema for multisize measurements. Format version 0.5.1. 2021-11-16 17:18:32 +02:00
Roman Telezhynskyi 03e1b5ba3a Increase the limit for the Letter field. 2021-11-05 16:08:13 +02:00
Roman Telezhynskyi 68b4eced95 Lupdate. 2021-10-20 10:44:03 +03:00
Roman Telezhynskyi 216b910001 Lupdate. 2021-10-19 14:51:45 +03:00
Roman Telezhynskyi fe8a983ee3 Improve code quality. 2021-10-19 14:43:49 +03:00
Roman Telezhynskyi 8d52157b41 Help user to select default GUI language. 2021-10-19 14:43:20 +03:00
Roman Telezhynskyi 4b3b7a8987 Add Don't ask again for Stale layout question dialog. 2021-10-19 11:36:34 +03:00
Roman Telezhynskyi 8f5bf16b4d Lupdate. 2021-10-16 14:03:45 +03:00
Roman Telezhynskyi f13118d12b Bump version. 2021-10-16 14:02:15 +03:00
Roman Telezhynskyi 713ad813ff Allow Valentina to open vlt files on Mac. 2021-10-16 13:49:36 +03:00
Roman Telezhynskyi 8625ecd2b4 Fix handling numeric values passed in console mode. 2021-10-15 18:47:43 +03:00
Roman Telezhynskyi 64c6a28053 Fix reading tiled page margins in console mode. 2021-10-15 18:27:06 +03:00
Roman Telezhynskyi bcb786958e Show tooltip about defined user material in the label placeholder list. 2021-10-02 19:15:08 +03:00
Roman Telezhynskyi b6dc3f30b8 Lupdate. 2021-10-01 21:10:16 +03:00
Roman Telezhynskyi e42775f48e Fix regression in Valentina's layout. Unite pages worked incorrect. 2021-10-01 18:31:23 +03:00
Roman Telezhynskyi b7ee561024 Check if need to warn about changes in default layout settings in Puzzle app. 2021-09-30 18:25:22 +03:00
Roman Telezhynskyi 34b5422144 Lupdate. 2021-09-30 17:33:24 +03:00
Roman Telezhynskyi 64819d19ec Revert "Try without DEBIAN_FRONTEND noninteractive."
This reverts commit 925c296b1b.
2021-09-29 08:37:06 +03:00
Roman Telezhynskyi 925c296b1b Try without DEBIAN_FRONTEND noninteractive. 2021-09-28 19:03:39 +03:00
Roman Telezhynskyi 587d8e2cfc Try without dialog package. 2021-09-28 18:53:47 +03:00
Roman Telezhynskyi 2dd553b5e7 Try without apt-utils package. 2021-09-28 18:44:26 +03:00
Roman Telezhynskyi f1a9499688 Try build without packages locales locales-all. 2021-09-28 18:15:22 +03:00
Roman Telezhynskyi 8cfc59a668 Cppcheck warning. 2021-09-28 17:40:36 +03:00
Roman Telezhynskyi 665101a6c5 Disable inter-window drag&drop. 2021-09-28 17:13:03 +03:00
Roman Telezhynskyi 74090f7ffd PDF Tiles "ruler" is fine when Unit is "Inch" or "Cm". It is bad when Unit is "Mm" or "Pixel". 2021-09-28 16:43:36 +03:00
Roman Telezhynskyi 05b884a632 Context-menu on a piece in the carrousel should be the same as the context menu of a piece in the sheet 2021-09-28 16:34:25 +03:00
Roman Telezhynskyi 72a2300bef Crop watermark if doesn't fit on page. 2021-09-28 16:10:55 +03:00
Roman Telezhynskyi 2e9c94ffae Fix watermark size while scale sheet.
Add watermark placeholder for cases when raster image of watermark will require bigger size than image cache can handle.
2021-09-28 15:19:02 +03:00
Roman Telezhynskyi 4fe2e9688d I select a piece, then I click on "remove unused" length. If I click directly afterwards on another piece, it makes automatically a multiple selection of the 2 pieces.
Expectation: I makes a single selection of the last clicked piece.
2021-09-27 12:12:56 +03:00
Roman Telezhynskyi 2b966a02df When changing the unit to "inches" in "Sheet", the margins get more decimals after the dot.
When changing back to mm / cm etc. it doesn't change back to 2 decimals.
2021-09-27 12:02:29 +03:00
Roman Telezhynskyi eda0b6173e When multiple selection, you can see the "No piece selected" after the Transformation-block. It shouldn't be shown. 2021-09-27 11:49:33 +03:00
Roman Telezhynskyi 32be26beef GCC warnings. 2021-09-27 11:47:09 +03:00
Roman Telezhynskyi ac3679b10b if i open the context menu on a piece (right click) and directly after open the context menu (again right click) on another piece, then a multiple selection occurs.
Expectation: the same behaviour as when doing several left clicks after another (no multiple selection).
2021-09-27 11:33:09 +03:00
Roman Telezhynskyi 72da739e90 when I click on a piece (left click), there is a background-red for the cutting shape and the seam-shape. With the superposition, we have shade of red. When I open the context-menu on a piece (right click), only the seam-shape is colored in red. I would expect the same behaviour (selection) as with the left click. 2021-09-27 10:32:06 +03:00
Roman Telezhynskyi db28a6fe91 Undo & Redo Buttons should look like "Zoom in", "zoom out" etc. Right now there is no subcaption and the small buttons make it difficult to click. 2021-09-27 10:16:28 +03:00
Roman Telezhynskyi 3ff6910c38 Move DEBIAN_FRONTEND environment variable. 2021-09-27 09:59:39 +03:00
Roman Telezhynskyi 39829e00ba Error: No usable dialog-like program is installed, so the dialog based frontend cannot be used. 2021-09-27 08:46:47 +03:00
Roman Telezhynskyi 304606f37a Improvements for the build script. 2021-09-26 20:11:27 +03:00
Roman Telezhynskyi 858105fa7c Improve installing packages on Ubuntu. 2021-09-26 19:56:34 +03:00
Roman Telezhynskyi f04c570442 Fix build on Windows. 2021-09-26 19:53:50 +03:00
Roman Telezhynskyi 7739c1f015 Install poppler-utils instead of xpdf. 2021-09-26 18:47:45 +03:00
Roman Telezhynskyi 76214c0dce Switch to another container image to test with the latest GCC version. 2021-09-26 18:33:53 +03:00
Roman Telezhynskyi 38a6d2da67 Give GCC more memory. 2021-09-25 21:55:39 +03:00
Roman Telezhynskyi 33e957b877 Works fine without it. 2021-09-25 21:37:30 +03:00
Roman Telezhynskyi f5ae3635a6 GCC warnings. 2021-09-25 21:22:33 +03:00
Roman Telezhynskyi 15ae6b131f Stick with just brew cleanup. 2021-09-25 21:01:20 +03:00
Roman Telezhynskyi 7853e00234 Enable GCC color output. 2021-09-25 20:57:24 +03:00
Roman Telezhynskyi 7acade3aff GCC warnings. 2021-09-25 20:57:05 +03:00
Roman Telezhynskyi eedaa90a63 Revert "Temporary disable silent mode to check which options passed to gcc."
This reverts commit 8c145b9150.
2021-09-25 20:45:05 +03:00
Roman Telezhynskyi d870dd7ef1 Revert "Move warnings -Wsuggest-final-types and -Wsuggest-final-methods to GCC 8 block."
This reverts commit 83bdf5af33.
2021-09-25 20:22:33 +03:00
Roman Telezhynskyi bc970c6a33 Revert "Move warnings -Wnull-dereference to GCC 8 block."
This reverts commit 352a5398ad.
2021-09-25 20:21:36 +03:00
Roman Telezhynskyi a4c484f821 qmake function str_member incorrectly parsed GCC version.
GCC 11 returned as GCC 1.
2021-09-25 20:12:15 +03:00
Roman Telezhynskyi d1e6eb269d Separate script starts from CIRRUS_WORKING_DIR. 2021-09-25 19:50:48 +03:00
Roman Telezhynskyi 8c145b9150 Temporary disable silent mode to check which options passed to gcc. 2021-09-25 19:33:05 +03:00
Roman Telezhynskyi c5839ebe28 Platform name should not have space in name. 2021-09-25 19:32:05 +03:00
Roman Telezhynskyi dac5cd7795 Define environments on task level. 2021-09-25 18:25:49 +03:00
Roman Telezhynskyi 352a5398ad Move warnings -Wnull-dereference to GCC 8 block. 2021-09-25 17:56:39 +03:00
Roman Telezhynskyi 7e8521a587 Try QMAKE_CXXFLAGS_WARN_ON to suppres -Wstringop-overflow. 2021-09-25 17:48:31 +03:00
Roman Telezhynskyi 544785163b Fix incorrect name of a warning. 2021-09-25 17:45:18 +03:00
Roman Telezhynskyi 83bdf5af33 Move warnings -Wsuggest-final-types and -Wsuggest-final-methods to GCC 8 block. 2021-09-25 17:45:02 +03:00
Roman Telezhynskyi 68f9707df2 Fix build on mac. 2021-09-25 17:33:35 +03:00
Roman Telezhynskyi 99cd76230c Cppcheck warning. 2021-09-25 17:32:20 +03:00
Roman Telezhynskyi b861d6a28e GCC warnings. 2021-09-25 17:18:33 +03:00
Roman Telezhynskyi f711f8aac1 Cannot suppress warnings from Qt headers. 2021-09-25 17:18:15 +03:00
Roman Telezhynskyi 9bfc0df25b GCC warnings. 2021-09-25 15:49:00 +03:00
Roman Telezhynskyi d25c6f0602 Cannot suppress warnings from Qt headers. 2021-09-25 15:44:47 +03:00
Roman Telezhynskyi 547133492e Correct path to the github action. 2021-09-25 15:38:24 +03:00
Roman Telezhynskyi 97181fd661 It seems -Wstringop-overflow issued during the LTO stage. 2021-09-25 13:37:23 +03:00
Roman Telezhynskyi 51ed05e1fa GCC warnings. 2021-09-25 12:57:15 +03:00
Roman Telezhynskyi aff0ee546b Enable Cirrus Ci email notifications. 2021-09-25 12:47:02 +03:00
Roman Telezhynskyi 1b3e133309 GCC warnings. 2021-09-25 12:42:28 +03:00
Roman Telezhynskyi 73861dedd5 Suppress warnings on mac os. 2021-09-25 12:11:31 +03:00
Roman Telezhynskyi 2ffda9a073 Introduce *_MARK_NONFINAL_CLASS and *_MARK_NONFINAL_METHOD macroses to suppress GCC warning Wsuggest-final-types. 2021-09-25 11:43:05 +03:00
Roman Telezhynskyi d996f7335a Redesign SCASSERT to avoid unintended indentation. 2021-09-25 11:41:26 +03:00
Roman Telezhynskyi 803b1cb318 Try another way to suppress -Wstringop-overflow. 2021-09-25 09:40:46 +03:00
Roman Telezhynskyi d7c25f370e Prepare brew cache before upload. 2021-09-25 08:50:43 +03:00
Roman Telezhynskyi 888b40817c cirrus-deploy.sh expects an environment variable. 2021-09-25 08:50:08 +03:00
Roman Telezhynskyi 3b07b6ad09 Ccache should also work on mac os. 2021-09-25 08:42:27 +03:00
Roman Telezhynskyi fc30957b85 GCC warnings. 2021-09-25 08:17:30 +03:00
Roman Telezhynskyi c8c94b7df8 Install coreutils to get cpu cores number. 2021-09-25 07:44:57 +03:00
Roman Telezhynskyi 5b61ec1584 Fix path to deploy script. 2021-09-25 07:44:31 +03:00
Roman Telezhynskyi 69cd801ae6 Fix enabling warning keys specific to GCC versions. 2021-09-25 07:43:41 +03:00
Roman Telezhynskyi 475484b80c Give macos more time. 2021-09-24 19:20:11 +03:00
Roman Telezhynskyi b2f9d00182 Disable Wstringop-overflow on global level because cannot suppress warnings in Qt headers. 2021-09-24 19:00:09 +03:00
Roman Telezhynskyi a86ef76e5c Compiler warnings. 2021-09-24 17:56:23 +03:00
Roman Telezhynskyi d83039c4ee Compiler warnings. 2021-09-24 16:53:47 +03:00
Roman Telezhynskyi 50c0c97c2e Cache pip. 2021-09-24 16:53:29 +03:00
Roman Telezhynskyi d98d5758d6 Remove specific for travis operation. 2021-09-24 15:29:11 +03:00
Roman Telezhynskyi 5602114489 Add more memory for linux containers to avoid out of memory state. 2021-09-24 14:58:28 +03:00
Roman Telezhynskyi ed7703c60c Clang warnings. 2021-09-24 14:57:30 +03:00
Roman Telezhynskyi b3e52d351e Clang warning. 2021-09-24 14:24:10 +03:00
Roman Telezhynskyi d4d719d412 Fix incorrect call for mac os container. 2021-09-24 14:10:29 +03:00
Roman Telezhynskyi 505a58489f Define compiler on linux. 2021-09-24 13:39:43 +03:00
Roman Telezhynskyi 5bbbecbb91 Debian no longer provides qt5-default. 2021-09-24 13:11:07 +03:00
Roman Telezhynskyi 348875f139 Fix incorrect name of command. 2021-09-24 13:08:12 +03:00
Roman Telezhynskyi 14fd2b30ba Missed after debug. 2021-09-24 12:58:31 +03:00
Roman Telezhynskyi cb30d5e3f4 Seam allowance not correct at intersection curve and axis. Closes #145 2021-09-24 12:51:39 +03:00
Roman Telezhynskyi 121c775144 Use Cirrus CI to build Valentina. 2021-09-23 10:57:27 +03:00
Roman Telezhynskyi f2cae16706 Lupdate. 2021-09-16 15:02:50 +03:00
Roman Telezhynskyi a9b1bebb9e Fix build with MSVC. 2021-09-16 14:18:36 +03:00
Roman Telezhynskyi c8fe39dde8 Fix build with MSVC. 2021-09-16 06:54:51 +03:00
Roman Telezhynskyi 071fb7d4c2 Fix build with Qt 5.6. 2021-09-15 14:55:13 +03:00
Roman Telezhynskyi 2433517203 Fix build with MSVC. 2021-09-15 10:42:38 +03:00
Roman Telezhynskyi c7dbbb8146 GCC warning. 2021-09-15 10:22:18 +03:00
Roman Telezhynskyi f1f368ed43 Fix build with Qt 5.6. 2021-09-15 10:22:06 +03:00
Roman Telezhynskyi 9397a57477 Rename method to avoid collision with an enum class. 2021-09-14 19:54:51 +03:00
Roman Telezhynskyi 4c946d7da5 Fix build with MSVC. 2021-09-14 19:47:41 +03:00
Roman Telezhynskyi 87d62684db Fix build with Qt 5.6. 2021-09-14 17:54:53 +03:00
Roman Telezhynskyi 0301cf567e error: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance. 2021-09-14 16:38:44 +03:00
Roman Telezhynskyi 095f926e46 error: 'AdjustToMinimumContentsLength' is deprecated: Use AdjustToContents or AdjustToContentsOnFirstShow. 2021-09-14 15:53:15 +03:00
Roman Telezhynskyi c8a9423b51 Fix build on Windows. 2021-09-14 15:16:06 +03:00
Roman Telezhynskyi 698e139630 Fix build. 2021-09-13 21:07:02 +03:00
Roman Telezhynskyi 93c4f7cc0b Fix build. 2021-09-13 20:41:53 +03:00
Roman Telezhynskyi de26b55338 Suppress warning. 2021-09-13 20:16:20 +03:00
Roman Telezhynskyi 638bd14f67 Fix build. 2021-09-13 19:01:25 +03:00
Roman Telezhynskyi 392f06b212 Fix osx_image version. 2021-09-13 18:34:05 +03:00
Roman Telezhynskyi f7974273fa Fix build. 2021-09-13 18:19:39 +03:00
Roman Telezhynskyi eff295ccaf Cppcheck warnings. 2021-09-13 18:09:53 +03:00
Roman Telezhynskyi e56d601761 Build mac os version with xcode 12.2 to start supporting mac os 11. 2021-09-13 17:57:00 +03:00
Roman Telezhynskyi 23ea2efe59 Lupdate. 2021-09-13 17:40:58 +03:00
Roman Telezhynskyi 332de25210 Merge branch 'feature/manual-layout' into develop 2021-09-13 17:28:31 +03:00
Roman Telezhynskyi 2306d4a67c Print layout. 2021-09-13 17:27:46 +03:00
Roman Telezhynskyi f1e49a7fd6 Create and update manual layout from Valentina. 2021-09-13 09:04:11 +03:00
Roman Telezhynskyi 3fea813b9c Watermark support. 2021-09-11 19:39:38 +03:00
Roman Telezhynskyi 54b0ca5ee5 Fix redrawing VPGraphicsSheet. 2021-09-11 14:01:29 +03:00
Roman Telezhynskyi 18e52f4a70 Use constexpr function instead of macros. 2021-09-11 12:24:09 +03:00
Roman Telezhynskyi 3a76f4a2d8 Added page Tiles Scheme. 2021-09-08 18:32:43 +03:00
Roman Telezhynskyi a3e5948167 Keep original scale from raw layout data. 2021-09-08 12:57:12 +03:00
Roman Telezhynskyi 84cf53f612 Fix issue in VAbstractMainWindow::CheckFilePermissions.
Don't check permissions if file doesn't exist.
2021-09-08 12:53:15 +03:00
Roman Telezhynskyi 09005ddb63 Show warning before export. 2021-09-08 11:59:41 +03:00
Roman Telezhynskyi 99153594f7 Temporary disable validation check when export. 2021-09-08 11:19:29 +03:00
Roman Telezhynskyi cc87f3420d Fix color for internal items of piece. 2021-09-08 11:15:01 +03:00
Roman Telezhynskyi 03721118a6 Add ruler. 2021-09-08 10:41:35 +03:00
Roman Telezhynskyi 048035db79 Fix generation tiles. 2021-09-07 20:26:35 +03:00
Roman Telezhynskyi 22da66e4d8 Setup correct page orientation. 2021-09-07 12:31:58 +03:00
Roman Telezhynskyi c32a4f60b0 Place a piece according to margins values. 2021-09-06 18:29:59 +03:00
Roman Telezhynskyi a9e5ea55cf Read/write Ignore margins setting. 2021-09-06 18:29:16 +03:00
Roman Telezhynskyi addfcd94ad Hide rotation controls while exporting. 2021-09-06 18:06:06 +03:00
Roman Telezhynskyi 7b134d8b62 Clear selection when switch active sheet. 2021-09-06 17:44:27 +03:00
Roman Telezhynskyi b71253738c Correct scale when export tiled PDF. 2021-09-06 16:56:56 +03:00
Roman Telezhynskyi d5a02ac48c Export layout. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi 9b24f6ac08 Improve error message when layout file has an error. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi 005d5fdafd Release file lock if reading failed. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi 7d16cae718 Validate layout data. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi 88508b102e Fix reading piece labels. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi d21546e397 Add support for "Text as path" feature. 2021-09-03 11:32:07 +03:00
Roman Telezhynskyi 3b388d9e19 Fix memory leak. 2021-09-03 11:31:23 +03:00
Roman Telezhynskyi 8e9547da4a Remove unused length. 2021-09-01 09:21:06 +03:00
Roman Telezhynskyi 1e15d343a0 Show seam line feature. 2021-08-31 14:12:46 +03:00
Roman Telezhynskyi b14ad59010 Import with update. 2021-08-31 13:08:59 +03:00
Roman Telezhynskyi 29325add49 Gradation label. 2021-08-31 12:07:26 +03:00
Roman Telezhynskyi 0944ea968a Validate a piece when import raw layout or read the layout format. 2021-08-30 20:00:10 +03:00
Roman Telezhynskyi b877009d90 Sticky edges. 2021-08-30 18:45:27 +03:00
Roman Telezhynskyi 3d9a4f6f65 Warn the main window about a layout change. 2021-08-30 18:45:00 +03:00
Roman Telezhynskyi 9ceabab131 Handle cases when need to resize the scene size. 2021-08-27 18:34:37 +03:00
Roman Telezhynskyi cf75f88fcb Paint piece labels. 2021-08-27 18:27:52 +03:00
Roman Telezhynskyi 5c9b71dee4 Warnings piece out of bound and superposition of pieces. 2021-08-27 18:27:52 +03:00
Roman Telezhynskyi 877fe380e3 Follow grainline. 2021-08-26 19:04:24 +03:00
Roman Telezhynskyi acfbc5478e Cleaning.
Remove unused slots.
2021-08-26 08:53:53 +03:00
Roman Telezhynskyi 6c1c2fea36 Code style. 2021-08-26 08:50:20 +03:00
Roman Telezhynskyi 54710608d6 Better piece flipping. 2021-08-26 08:50:11 +03:00
Roman Telezhynskyi d32bbfcfd4 Layout properties. 2021-08-25 16:58:50 +03:00
Roman Telezhynskyi 4646b6c1fb Default layout settings. 2021-08-21 16:14:03 +03:00
Roman Telezhynskyi 087d0855dd Undo/Redo remove sheet. 2021-08-19 16:24:43 +03:00
Roman Telezhynskyi 3f73bd9d75 Undo/Redo add sheet. 2021-08-19 16:09:44 +03:00
Roman Telezhynskyi 6da151c604 Undo/Redo move piece on sheet. 2021-08-19 15:13:54 +03:00
Roman Telezhynskyi 18d9417c96 Undo/Redo transformation origin move. 2021-08-19 12:36:39 +03:00
Roman Telezhynskyi 9a7e4e5ea6 Refresh rotation handles after rotation finish. 2021-08-18 20:51:40 +03:00
Roman Telezhynskyi cfb8c1b1f4 Fix calculating a piece bounding rect.
If the piece will have incorrect shape user will see drawing artifacts.
2021-08-18 20:47:49 +03:00
Roman Telezhynskyi a35e46f845 Undo/Redo piece rotate. 2021-08-18 20:33:47 +03:00
Roman Telezhynskyi 0908b5a1f7 Undo/Redo piece move. 2021-08-17 18:49:28 +03:00
Roman Telezhynskyi b638be5b2e Use QSaveFile class for saving a layout. 2021-08-14 17:21:58 +03:00
Roman Telezhynskyi 742c1c3eb3 Handle read only state. 2021-08-14 17:16:58 +03:00
Roman Telezhynskyi 2d68d40b59 Restore the maybe save warning. 2021-08-14 16:00:42 +03:00
Roman Telezhynskyi edee237fb8 Fix crash when we open the same file at the same windows twice. 2021-08-14 15:24:22 +03:00
Roman Telezhynskyi 807183b2ce Read/Write layout file. 2021-08-14 15:19:28 +03:00
Roman Telezhynskyi 718ff2056a Refactor names to avoid confusion. 2021-08-14 15:18:15 +03:00
Roman Telezhynskyi d6fe9508a6 Move piece with keyboard. 2021-08-09 15:24:36 +03:00
Roman Telezhynskyi 3fbe96c2a7 Piece rotation. 2021-08-09 15:09:10 +03:00
Roman Telezhynskyi b366986f7a Make an increment name valid after user selected it from a completion list. 2021-08-06 17:06:11 +03:00
Roman Telezhynskyi 785d72117d Fix incorrect comparison of the global length of passmark to minimal allowed value. 2021-08-06 16:54:45 +03:00
Roman Telezhynskyi c7db3de6d8 Restored a piece context menu. 2021-07-31 16:00:32 +03:00
Roman Telezhynskyi 2eecf95af9 Cleaning. 2021-07-31 12:32:23 +03:00
Roman Telezhynskyi bc0b271f16 Add Add/Remove sheets. 2021-07-31 12:21:07 +03:00
Roman Telezhynskyi 52c9257bd0 Highlight active sheet. 2021-07-31 09:24:38 +03:00
Roman Telezhynskyi bc3b144fc3 GCC warning. 2021-07-30 18:03:29 +03:00
Roman Telezhynskyi 78382b5c97 Fix issue with drag pixmap.
It disappears if move cursor far enough. Instead draw a cursor which will include a piece pixmap.
2021-07-30 18:03:20 +03:00
Roman Telezhynskyi 5242b4ed54 Restore adding pieces on sheet. 2021-07-30 14:49:38 +03:00
Roman Telezhynskyi ec6c1cad23 Cleaning carousel. 2021-07-29 18:05:25 +03:00
Roman Telezhynskyi 91a69b83b6 Cleaning and refactoring. 2021-07-29 17:11:18 +03:00
Roman Telezhynskyi 9d9f953fae Fix layout comment. 2021-07-27 10:16:38 +03:00
Roman Telezhynskyi 53f7d00e6d Fix crash when a grainline is empty. 2021-07-27 10:13:11 +03:00
Roman Telezhynskyi bbc6f20237 Table of variables is available in Details mode.
(cherry picked from commit 3df3dc58c3)
2021-07-27 10:08:25 +03:00
Roman Telezhynskyi 3df3dc58c3 Table of variables is available in Details mode. 2021-07-27 10:07:39 +03:00
Roman Telezhynskyi cfac8e8355 Cppcheck warning. 2021-07-26 16:52:54 +03:00
Roman Telezhynskyi e5105e4eed Merge branch 'develop' into feature/manual-layout 2021-07-26 16:47:54 +03:00
Roman Telezhynskyi 816f9f02a3 When we search point of intersection curve and axis select the base point only at the end. 2021-07-24 16:36:17 +03:00
Roman Telezhynskyi 6c5c4f671b Fix hover for tool point of intersection curve and axis. 2021-07-24 16:26:42 +03:00
Roman Telezhynskyi 8656e9f633 GCC warning. 2021-07-24 12:35:22 +03:00
Roman Telezhynskyi a474713b77 Fix visualization for tool point of intersection line and axis. Case when the axis's point lies on the line. 2021-07-24 12:05:55 +03:00
Roman Telezhynskyi 25047b329d Fix hover for tool point of intersection line and axis. 2021-07-24 12:05:04 +03:00
Roman Telezhynskyi 8ffc2447dd Fix finding point of intersection curve and axis.
Add case where the axis's point lies on the curve.
2021-07-24 11:27:50 +03:00
Roman Telezhynskyi a6d9194051 New warnings. Warn a user about incorrect cut curve segment length. 2021-07-24 11:15:48 +03:00
Roman Telezhynskyi 95ba17aee3 2 decimals for entering values in multi measurements tables. Closes #136 2021-07-24 10:49:29 +03:00
Roman Telezhynskyi 5d84aa6dc1 Fix regression. Set default value for detail labels size and grainline length to 10 cm. 2021-07-20 16:14:13 +03:00
Roman Telezhynskyi af3ce8abfe Fix build. 2021-07-10 16:21:44 +03:00
Roman Telezhynskyi bd229583d4 Test IsAllowanceValid method. 2021-07-10 16:13:29 +03:00
Roman Telezhynskyi 83c230e45f Update tests. 2021-07-10 15:51:51 +03:00
Roman Telezhynskyi 7043d59858 Warn about stale layout only in GUI mode. 2021-07-09 15:38:53 +03:00
Roman Telezhynskyi a1d4ea13c4 Call autosave only in GUI mode. 2021-07-09 15:31:35 +03:00
Roman Telezhynskyi d280f6a2bb Fix regression. Minimal seam allowance width is less than the point accuracy values. 2021-07-09 10:42:17 +03:00
Roman Telezhynskyi 5b7e98bf48 Bump version. 2021-07-01 17:12:34 +03:00
Roman Telezhynskyi 6c2f1bda6e Lupdate. 2021-07-01 17:03:22 +03:00
Roman Telezhynskyi 738e2a4b29 Add tooltip for Export draw feature. 2021-07-01 17:03:22 +03:00
Roman Telezhynskyi 7ea984f194 Fix crash. 2021-07-01 16:54:49 +03:00
Roman Telezhynskyi 391a721d84 Fix GCC warnings. 2021-07-01 16:03:38 +03:00
Roman Telezhynskyi da3e6a8dd7 Bump version. 2021-06-29 17:31:40 +03:00
Roman Telezhynskyi 136da97002 Lupdate. 2021-06-29 12:26:39 +03:00
Roman Telezhynskyi 8cb5007688 Suppress MSVC warning C5243: 'type-name': using incomplete class 'class-name' can cause potential one definition rule violation due to ABI limitation. 2021-06-29 11:57:21 +03:00
Roman Telezhynskyi c867a9a56e Export the Draw mode. Closes #83 2021-06-28 20:05:19 +03:00
Roman Telezhynskyi b2b7dff106 Fix regression. Fix correct handle export format for exporting details in the Detail mode. 2021-06-28 10:25:52 +03:00
Roman Telezhynskyi 7779e16be3 Refactoring. 2021-06-28 10:23:44 +03:00
Roman Telezhynskyi f5a5fadc52 Optimize calls. 2021-06-23 15:58:43 +03:00
Roman Telezhynskyi 3c27c3ee46 Fix incorrect seam allowance. Closes #133 2021-06-22 19:04:13 +03:00
Roman Telezhynskyi 8cc9a221c6 As suggested by user, use file name when call save as. 2021-06-22 16:48:37 +03:00
Roman Telezhynskyi 5eaff85a60 Add link to our shop. 2021-06-22 16:38:12 +03:00
Roman Telezhynskyi 4bf9a70a65 Update website link.
We now have new website.
2021-06-22 16:30:22 +03:00
Roman Telezhynskyi 5defddfbb8 Fix parsing formulas with not canonical math symbols.
(cherry picked from commit 5672e616af)
2021-06-11 15:30:24 +03:00
Roman Telezhynskyi 5672e616af Fix parsing formulas with not canonical math symbols. 2021-06-11 15:30:06 +03:00
Roman Telezhynskyi 41e9f0c71a Fix build. 2021-06-04 11:45:21 +03:00
Roman Telezhynskyi 88e681348b Fix build. 2021-06-04 10:43:15 +03:00
Roman Telezhynskyi 598f29a0a9 Fix build. 2021-06-04 10:00:14 +03:00
Roman Telezhynskyi 18c0d7454f Hide warnings related to QMacCGContext. 2021-06-04 08:50:37 +03:00
Roman Telezhynskyi e40f15ea35 Merge branch 'develop' into feature/manual-layout 2021-06-04 08:49:36 +03:00
Roman Telezhynskyi 40619c22ef Hide warnings related to QMacCGContext. 2021-06-04 08:49:09 +03:00
Roman Telezhynskyi daf42ccb67 Fix build. 2021-05-31 12:23:59 +03:00
Roman Telezhynskyi 3ae13febd3 Incorrect behavior of empty arc and elliptical arc. Closes #129 2021-05-31 12:07:28 +03:00
Roman Telezhynskyi 7ee158c11c New menu option Add sheet. 2021-05-27 21:11:32 +03:00
Roman Telezhynskyi 962b5dd561 Cppcheck warning. 2021-05-27 20:58:18 +03:00
Roman Telezhynskyi f3c0af7294 Improve creating a piece icon.
Add more information about contour: seam line, seam allowance, notches, grainline, internal paths.
2021-05-27 19:52:37 +03:00
Roman Telezhynskyi 82935a1f03 Improvements for VPCarrousel. 2021-05-27 15:55:25 +03:00
Roman Telezhynskyi f233e7dcba Improve code style. 2021-05-27 11:35:47 +03:00
Roman Telezhynskyi 18c804c962 Fix closing a pattern file.
Because we did not properly cleared VAbstractPattern class state Valentina thought that after closing the pattern file we still have unsaved changes.

(cherry picked from commit a907ab03ce)
2021-05-26 10:40:45 +03:00
Roman Telezhynskyi a907ab03ce Fix closing a pattern file.
Because we did not properly cleared VAbstractPattern class state Valentina thought that after closing the pattern file we still have unsaved changes.
2021-05-26 10:40:21 +03:00
Roman Telezhynskyi 45256ebdd9 Use SetAttributeOrRemoveIf for margins. 2021-05-26 10:17:02 +03:00
Roman Telezhynskyi 53ed34c226 Mark required attributes. 2021-05-26 10:14:01 +03:00
Roman Telezhynskyi 320ac40056 Add method SetAttributeOrRemoveIf for VPLayoutFileWriter class. 2021-05-26 10:01:50 +03:00
Roman Telezhynskyi 66283709d1 Refactoring.
Redesign SetAttributeOrRemoveIf. Add use of a lambda function.
2021-05-25 21:31:02 +03:00
Roman Telezhynskyi fc06da908f "Select New for creation measurement file" should be "Select New to create a measurement file". Closes #128
(cherry picked from commit 00b436e21d)
2021-05-25 17:29:21 +03:00
Roman Telezhynskyi 00b436e21d "Select New for creation measurement file" should be "Select New to create a measurement file". Closes #128 2021-05-25 17:28:45 +03:00
Roman Telezhynskyi 5467e213a2 Read/write empty layout file. 2021-05-22 20:29:33 +03:00
Roman Telezhynskyi 224aa23527 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout VPExporter Class

See merge request smart-pattern/valentina!13
2021-05-22 11:15:17 +00:00
Ronan 302a1fbc2b Move ExportFormatSuffix and Description to VLayoutExporter 2021-05-22 11:52:24 +02:00
Ronan 1c6aebec4f VPExporter inherits from VLayoutExporter 2021-05-22 11:00:42 +02:00
Ronan fb2a7f8714 refactoring for Settings 2021-05-22 09:25:39 +02:00
Ronan b49087295e Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2021-05-22 09:13:20 +02:00
Ronan c9a25613f5 Merge remote-tracking branch 'refs/remotes/upstream/feature/manual-layout'
Conflicts:
	src/app/puzzle/vpmainwindow.cpp
	src/app/puzzle/vpmainwindow.h
2021-05-22 09:11:48 +02:00
Roman Telezhynskyi 173703245f Fix build on macx. 2021-05-22 10:05:18 +03:00
Roman Telezhynskyi a05a66b2ae Fix build on Qt less than 5.6. 2021-05-22 09:21:01 +03:00
Roman Telezhynskyi fcc221f53a Cppcheck warning. 2021-05-21 21:41:56 +03:00
Roman Telezhynskyi cf30ab06ab Localization. 2021-05-21 21:34:50 +03:00
Roman Telezhynskyi a9711316ec Refactoring. 2021-05-21 21:33:17 +03:00
Roman Telezhynskyi 06d19ace25 Dialog File > Preferences. 2021-05-21 20:51:46 +03:00
Roman Telezhynskyi 05645ca7df Recently Opened Files. 2021-05-21 18:26:00 +03:00
Roman Telezhynskyi 6efa26ffe3 File > Open Layout. 2021-05-21 18:08:37 +03:00
Roman Telezhynskyi d10355b400 File > Save functions. 2021-05-21 17:17:22 +03:00
Roman Telezhynskyi 67fc4b7539 Label for tooltip. 2021-05-21 12:03:26 +03:00
Roman Telezhynskyi 9c05894dac Move a "scale" spinner to separate tool bar. 2021-05-21 11:52:29 +03:00
Roman Telezhynskyi e1b9fbaccd One application, many windows. 2021-05-21 11:25:43 +03:00
Roman Telezhynskyi 5f607008ac Return to initial concept. 2021-05-21 10:54:58 +03:00
Roman Telezhynskyi dc50d24439 Review class VPMainWindow.
Setup initial state for a window. User must click New or Open before starting to use the window.
2021-05-20 18:33:53 +03:00
Roman Telezhynskyi a0dba0ea25 Review class VPApplication. 2021-05-20 17:10:43 +03:00
Roman Telezhynskyi e15b370ed4 Setup toolbar, set icons for actions. 2021-05-20 16:52:14 +03:00
Roman Telezhynskyi d7041cc835 Control length of a passmark for builtin seam allowance with global setting. #124
This case was not covered.

(cherry picked from commit a5191ce763)
2021-05-20 11:49:04 +03:00
Roman Telezhynskyi a5191ce763 Control length of a passmark for builtin seam allowance with global setting. #124
This case was not covered.
2021-05-20 11:48:47 +03:00
Roman Telezhynskyi 81ed01e281 Add Puzzle source code to the localization list.
This will include strings to valentina.ts file.
2021-05-20 10:42:39 +03:00
Roman Telezhynskyi c2b9b2c8fd Incorrect placement for the resource. 2021-05-20 10:41:39 +03:00
Roman Telezhynskyi c8a7c1a898 Deploy for Puzzle. 2021-05-20 10:35:40 +03:00
Roman Telezhynskyi 1d60f3987f Clean Puzzle's man page. 2021-05-20 09:12:04 +03:00
Ronan Le Tiec e399c6bf1e max value of placement grid 2021-05-15 15:37:21 +02:00
Ronan Le Tiec 588232a442 new class VPExporter 2021-05-15 15:28:17 +02:00
Ronan Le Tiec ee9bce8632 take orientation into account for export 2021-05-15 13:02:21 +02:00
Roman Telezhynskyi 43fbdbf83c Port changes for Puzzle to the pattern format version 0.8.11. 2021-05-15 12:43:16 +03:00
Roman Telezhynskyi 68c6c033b4 Merge branch 'develop' into feature/manual-layout 2021-05-15 11:27:37 +03:00
Roman Telezhynskyi 342df09a82 To less distract users change completer filter mode to match contains. #124 2021-05-15 10:39:31 +03:00
Roman Telezhynskyi 2902d84a74 Try another approach. 2021-05-14 14:51:03 +03:00
Roman Telezhynskyi 1425757bef Try to move tags up. 2021-05-14 14:17:39 +03:00
Roman Telezhynskyi 66bef28c93 OBS searches for valentina-0.7.47.v0.7.47.tar.gz. 2021-05-14 12:50:37 +03:00
Roman Telezhynskyi dce17fad08 Define name of a file with tag. 2021-05-14 12:46:08 +03:00
Roman Telezhynskyi 42cb355fe2 Try another approach. 2021-05-14 12:30:20 +03:00
Roman Telezhynskyi 30ef53cbed Try another approach. 2021-05-14 12:17:46 +03:00
Roman Telezhynskyi b04009a977 Try to use Debtransform-Tar instead of Debtransform-Files-Tar. 2021-05-14 12:01:35 +03:00
Roman Telezhynskyi 4e13f18aed Use Debtransform-Files-Tar to specify correct tarball for OBS. 2021-05-14 11:56:16 +03:00
Roman Telezhynskyi b1510f0951 Help to determent right source tarball. 2021-05-14 11:42:26 +03:00
Roman Telezhynskyi 622b58c010 Fix appimage.yml. 2021-05-14 11:08:42 +03:00
Roman Telezhynskyi 307a2410c3 Instead of qt5-default use an environment variable. 2021-05-14 11:07:54 +03:00
Roman Telezhynskyi bf9f577f43 OBS used incorrect old file. 2021-05-14 11:07:02 +03:00
Roman Telezhynskyi 1a52939d2a qt5-default is being dropped. 2021-05-14 10:42:18 +03:00
Roman Telezhynskyi d1da6eb553 Fix link to the repo archive.
GitLab no longer supports the old format.
2021-05-14 10:42:06 +03:00
Roman Telezhynskyi a90f184f90 Fix variable assignment. 2021-05-14 09:42:52 +03:00
Roman Telezhynskyi e904953bdf Fix error ../scripts/travis-deploy.sh: Permission denied. 2021-05-13 21:41:19 +03:00
Roman Telezhynskyi 5c8fbbcc59 Fix getting the latest tag distance. #126 2021-05-13 21:38:24 +03:00
Roman Telezhynskyi 1ea8e1baaa Bump version. 2021-05-13 14:24:05 +03:00
Roman Telezhynskyi 8e94e4f0dc Update debugbreak to the latest version.
Since Clang 10 Clang doesn't like `gnu_inline` attribute.
2021-05-13 11:13:20 +03:00
Roman Telezhynskyi 8245aa907c Lupdate. 2021-05-11 13:16:21 +03:00
Roman Telezhynskyi fd2a69451f Attempt to fix build on FreeBSD. #126 2021-05-11 11:19:05 +03:00
Roman Telezhynskyi 2a4082c5a8 Fix build on Windows. 2021-05-11 10:53:18 +03:00
Roman Telezhynskyi 6abddfd240 Standard passmarks length for all pieces. Closes #124 2021-05-10 16:39:17 +03:00
Roman Telezhynskyi 6bfc5065bd Alias support for tools Point of intersection curve and axis and Point of intersection curves. 2021-05-08 10:54:14 +03:00
Roman Telezhynskyi b89be44a88 Improve tool tooltip. Show segment names and aliases.
Show segments for tools: Curve intersect axis, Point of intersection curves.
Show aliases for tools: Segment Arc, Segment Spline, Segment Spline Path.
2021-05-07 17:00:23 +03:00
Roman Telezhynskyi 69da5ba9b7 Fix regression. Incorrect data caching. 2021-05-07 11:19:06 +03:00
Roman Telezhynskyi 40af5ce356 Fix correct handle a final measurement formula error when exporting a pattern recipe.
Valentina must not crash.

(cherry picked from commit abdebbbfaa)
2021-05-05 19:47:55 +03:00
Roman Telezhynskyi abdebbbfaa Fix correct handle a final measurement formula error when exporting a pattern recipe.
Valentina must not crash.
2021-05-05 18:53:15 +03:00
Roman Telezhynskyi 662ffd255b Fix incorrect us of QScopedPointer. 2021-05-04 09:33:19 +03:00
Roman Telezhynskyi c61087ed5d Fix potential memory leak. 2021-05-04 09:21:34 +03:00
Roman Telezhynskyi ca20519fa7 Fix deprecation warning. 2021-05-04 09:19:04 +03:00
Roman Telezhynskyi a01f06b439 Fix incorrect define the precompiled header file.
Expected name is stable.h/cpp.
2021-05-04 08:45:27 +03:00
Roman Telezhynskyi de5c6d4f70 Separate script for travis deployment.
Check status after each command call. Travis has habit to silent errors in the python script.

(cherry picked from commit 2efe887cad)
2021-05-04 08:37:54 +03:00
Roman Telezhynskyi 2efe887cad Separate script for travis deployment.
Check status after each command call. Travis has habit to silent errors in the python script.
2021-05-03 20:30:36 +03:00
Roman Telezhynskyi 68990ef5b4 Merge branch 'develop' into feature/manual-layout 2021-05-03 18:39:56 +03:00
Roman Telezhynskyi 92eaf1000d Improve the deployment script. 2021-05-03 17:32:50 +03:00
Roman Telezhynskyi 7f64637798 No longer need this file. 2021-05-03 16:47:07 +03:00
Roman Telezhynskyi 25aa17bb60 Switch to a better compression algorithm. 2021-05-03 16:46:12 +03:00
Roman Telezhynskyi 2bbaabf6ce Use a better compression algorithm. 2021-05-03 16:43:50 +03:00
Roman Telezhynskyi aa6e4f0bf3 Name of an archive must not contain ".". 2021-05-03 16:43:04 +03:00
Roman Telezhynskyi 349f614ec5 Forgot to fix environment variables. 2021-05-03 15:46:34 +03:00
Roman Telezhynskyi 542008a4ba Improvements for the script. 2021-05-03 15:14:00 +03:00
Roman Telezhynskyi a4ea99078d Try with PowerShell script. 2021-05-03 15:04:58 +03:00
Roman Telezhynskyi df6cceb620 Fix deploy issue. 2021-05-03 14:13:05 +03:00
Roman Telezhynskyi db1efb4bb4 Fix deploy issue. 2021-05-03 13:22:20 +03:00
Roman Telezhynskyi 0418b546bb Fix deploy issue. 2021-05-03 12:11:55 +03:00
Roman Telezhynskyi 112854187a Fix deploy issue. 2021-05-03 11:34:39 +03:00
Roman Telezhynskyi 7eea280f83 Remove optional check. 2021-05-02 20:05:34 +03:00
Roman Telezhynskyi eb0dfb1f7a This time should work. 2021-05-02 20:04:15 +03:00
Roman Telezhynskyi d8043c03b3 Another try. 2021-05-02 20:02:35 +03:00
Roman Telezhynskyi c23f8fbd70 Another try. 2021-05-02 20:01:20 +03:00
Roman Telezhynskyi 666633a1ff Another try. 2021-05-02 19:58:24 +03:00
Roman Telezhynskyi d998a0e145 Another try to make it work. 2021-05-02 19:55:46 +03:00
Roman Telezhynskyi ff6887dec4 Fix deploy issues. 2021-05-02 18:33:26 +03:00
Roman Telezhynskyi 49ef6ae279 Fix deploy issues. 2021-05-02 18:27:22 +03:00
Roman Telezhynskyi 586d81f522 Fix issues. 2021-05-02 17:26:52 +03:00
Roman Telezhynskyi 6a5e29beba Fix issues. 2021-05-02 16:43:12 +03:00
Roman Telezhynskyi 0479b897c5 Fixing issues. 2021-05-02 16:24:59 +03:00
Roman Telezhynskyi 9b268395f2 Bintray is no longer available for us. 2021-05-01 19:54:48 +03:00
Roman Telezhynskyi 613502b392 Improve error handling for the dxf export. 2021-04-28 20:06:24 +03:00
Roman Telezhynskyi 90eeec1d70 Fix warning parameter 'filename' not found in the function declaration. 2021-04-28 16:44:05 +03:00
Roman Telezhynskyi 9daeae12fe Filling more gaps in the documentation. 2021-04-28 13:22:24 +03:00
Roman Telezhynskyi 4525662fae Complete code documentation to satisfy Clang. 2021-04-26 09:14:48 +03:00
Roman Telezhynskyi c0afa2408e Fix error inside Save layout dialog. Closes #123
(cherry picked from commit a2d7446308)
2021-04-26 09:06:17 +03:00
Roman Telezhynskyi a2d7446308 Fix error inside Save layout dialog. Closes #123 2021-04-26 09:03:45 +03:00
Roman Telezhynskyi cd1ba3a64e Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout  small functionalities

See merge request smart-pattern/valentina!12
2021-04-24 11:31:40 +00:00
Ronan Le Tiec 84479771f7 Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2021-04-24 13:04:44 +02:00
Roman Telezhynskyi b372668c52 Cppcheck warning. 2021-04-24 13:34:44 +03:00
Roman Telezhynskyi d152de030e Lupdate. 2021-04-24 13:16:00 +03:00
Roman Telezhynskyi f4eb8330b3 Merge branch 'develop' into feature/manual-layout 2021-04-24 13:05:13 +03:00
Roman Telezhynskyi e1fa77510b Remember last selected export format. 2021-04-23 18:03:16 +03:00
Roman Telezhynskyi d9f2b756a4 Extend piece bounding rect. Closes #122 2021-04-23 09:26:49 +03:00
Roman Telezhynskyi 1cccaf097c Fix incorrect elliptical arc end angle. Closes #121 2021-04-20 19:56:30 +03:00
Roman Telezhynskyi 730614fc97 Fix export to DXF AAMA/ASTM.
Don't export a sew line if a piece doesn't have seam allowance.
2021-04-19 17:28:25 +03:00
Roman Telezhynskyi 197a4a54e1 Fix incorrect seam allowance. Closes #120 2021-04-10 19:18:28 +03:00
Roman Telezhynskyi bcceeab089 Fix crash.
Closing pattern while refreshing pieces causing the app to crash.
2021-04-10 15:54:11 +03:00
Roman Telezhynskyi 6625fe4d85 Reset edit status when close a pattern. 2021-04-10 15:53:03 +03:00
Roman Telezhynskyi dbf7343c87 Improve tool Point of intersection curves. Closes #119 2021-04-09 18:06:34 +03:00
Roman Telezhynskyi 2a9adb5d88 Fix deprecation warning.
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases.
2021-04-09 17:51:45 +03:00
Roman Telezhynskyi 17de0410a0 Fix crash while delete the last base point.
Disable removing by key Delete if a base point is the last.
2021-04-08 18:36:51 +03:00
Roman Telezhynskyi 5fcefc0642 Fix removing last duplicate point.
If removeFirstAndLast not active the last point must remain intact.
2021-04-07 20:41:57 +03:00
Roman Telezhynskyi 56ae4a1381 Fix incorrect seam allowance. Closes #118 2021-04-07 20:38:56 +03:00
Roman Telezhynskyi 6ab2bc8043 qt5-default is being dropped. 2021-03-31 17:50:10 +03:00
Roman Telezhynskyi f85c29649b Bump version. 2021-03-31 17:22:18 +03:00
Roman Telezhynskyi 33360e81c8 Fix translations. 2021-03-31 13:24:59 +03:00
Roman Telezhynskyi 2d8ec0eaae Port lupdate script to Python 3. 2021-03-30 20:43:19 +03:00
Roman Telezhynskyi 24b6fcc4ce Lupdate. 2021-03-30 20:42:43 +03:00
Roman Telezhynskyi 641b336c54 Update changelog. 2021-03-30 20:22:22 +03:00
Roman Telezhynskyi bfe2cfb0e1 Fix incorrect seam allowance. Closes #114 2021-03-30 20:21:42 +03:00
Roman Telezhynskyi 453736dfbc Fix crash if a piece contour is empty. 2021-03-30 18:21:02 +03:00
Roman Telezhynskyi b2e75261b7 Fix incorrect seam allowance. Closes #113 2021-03-30 18:11:18 +03:00
Roman Telezhynskyi d5310d8ae1 Fix incorrect seam allowance. Closes #112 2021-03-30 16:20:38 +03:00
Roman Telezhynskyi 33b8482f18 Clazy warnings. 2021-03-30 16:10:31 +03:00
Roman Telezhynskyi e00cfb9890 Incorrect duplication of a piece. Missing restoring pins. 2021-03-29 16:09:00 +03:00
Roman Telezhynskyi 95fb3f3d89 Pattern label template placeholder with dimension label value. Closes #109 2021-03-29 15:06:32 +03:00
Roman Telezhynskyi 45649f5178 Fix regression. Closes #111
Enable Pattern label position options when load not empty label template.
2021-03-26 17:51:28 +02:00
Roman Telezhynskyi e4674f6058 Fix crash.
Valentina crashes if highlighted from history dialog tool was removed.
2021-03-26 17:38:31 +02:00
Roman Telezhynskyi 1be20e0b46 Fix reading tool notes.
Some tools missed reading notes attribute.
2021-03-26 16:53:37 +02:00
Roman Telezhynskyi 638d3182f4 Fix retranslation table headers in Tape. 2021-03-26 16:27:17 +02:00
Ronan Le Tiec 4ec454a9ef export title with sheet name 2021-03-14 16:57:20 +01:00
Ronan Le Tiec 0e420963cf use the sheet name as file name for export 2021-03-14 16:49:02 +01:00
Ronan Le Tiec dc183eaa51 initialise placement values 2021-03-14 14:40:56 +01:00
Ronan Le Tiec c4473b0d27 Add rotation shortcuts and grid placement 2021-03-14 14:27:45 +01:00
Roman Telezhynskyi 8d7dc4bc91 Remove test "GAVAUDAN Laure". smart-pattern/valentina#103 2021-03-04 14:41:51 +02:00
Roman Telezhynskyi 707e0e682d Improve point comparison. Loose restrictions for distance between points. smart-pattern/valentina#103
- Instead of default value for accuracy use 1 mm. This should help to cover more false positive cases.
- All tests are now enabled on all platforms.
- Added calculation of a distance between points to see exactly how big is difference.
2021-03-04 13:53:22 +02:00
Roman Telezhynskyi 1b64cba897 Fix incorrect calculation of value for multisize measurements in Valentina. 2021-02-28 14:47:41 +02:00
Roman Telezhynskyi 80b6c97b3a Bump version. 2021-02-26 16:21:54 +02:00
Roman Telezhynskyi d3b9defbc6 Disable a test case for Windows 64 bit. 2021-02-24 16:45:20 +02:00
Roman Telezhynskyi 0138e5a321 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2021-02-24 16:26:11 +02:00
Roman Telezhynskyi f46c604bd2 Enabling Show Curve Details option causes constant redraw. 2021-02-24 14:54:35 +02:00
Roman Telezhynskyi cecc1dfd4e Incorrect fix of seam allowance distortion. Closes smart-pattern/valentina#99 2021-02-23 18:29:54 +02:00
Roman Telezhynskyi 9f940ba7cf Fix bug in seam allowance. 2021-02-23 16:08:12 +02:00
Roman Telezhynskyi af1a77f1f1 Fix regression with country flags.
Since Qt 5.12 QLocale::countryToString returns names of countries with spaces.
2021-02-21 19:39:06 +02:00
Roman Telezhynskyi e9f9fb0f30 Fix incorrect seam allowance for angle type second edge right angle. 2021-02-17 19:26:54 +02:00
Roman Telezhynskyi c1b7fcd2c9 Changes to QTemporaryFile since Qt 5.10.
On Linux, QTemporaryFile will attempt to create unnamed temporary
files. If that succeeds, open() will return true but exists() will be
false. If you call fileName() or any function that calls it,
QTemporaryFile will give the file a name, so most applications will
not see a difference.

To get a real file on disk call fileName().
2021-02-17 19:20:35 +02:00
Roman Telezhynskyi c8f12690bc Clean pattern messages.
Replace \" with ".
2021-02-17 19:07:55 +02:00
Roman Telezhynskyi d2c6ebba21 Fix the formula wizard crash. 2021-02-10 19:22:59 +02:00
Roman Telezhynskyi c10611605b Bump version. 2021-02-09 19:53:05 +02:00
Roman Telezhynskyi ad2b6cc68a Improve Valentina man page.
Add examples of usage.
2021-02-09 19:52:35 +02:00
Roman Telezhynskyi 7ebb9f2e04 Fix issue. Tape allows to enable disabled rows. 2021-02-08 15:17:43 +02:00
Roman Telezhynskyi bbfbdb57f4 Lupdate. 2021-02-07 16:59:51 +02:00
Roman Telezhynskyi 1b57580c15 Fix bug. Undo Union details hide piece node points. 2021-02-07 11:26:54 +02:00
Roman Telezhynskyi 4665bc16e0 Fix crash when edit a group operation notes. 2021-02-06 16:39:47 +02:00
Roman Telezhynskyi 2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi d61089d755 Suppress a warning. 2021-02-05 17:44:58 +02:00
Roman Telezhynskyi 6da0f8f2b1 Added examples of command-line usage to Valentina's man page. 2021-02-03 18:02:21 +02:00
Roman Telezhynskyi 29582687e5 Values for waist and hip swapped for individual measurements. 2021-02-03 17:17:43 +02:00
Roman Telezhynskyi 82da9fc935 Fix incorrect month in change log. 2021-02-03 17:17:16 +02:00
Roman Telezhynskyi 4376b9ab48 Placeholder %size% has incorrect value. 2021-02-03 17:13:28 +02:00
Roman Telezhynskyi 42e5c0be5b Bump version. 2021-01-31 15:59:25 +02:00
Roman Telezhynskyi 664f1d8603 Lupdate. 2021-01-31 10:43:02 +02:00
Roman Telezhynskyi afd2dd8b15 Don't warn about a file format update after Save as. 2021-01-30 21:36:59 +02:00
Roman Telezhynskyi 9031b44b7b Lupdate. 2021-01-30 21:29:48 +02:00
Roman Telezhynskyi 6d3d624980 Improve error handling for final measurements placeholders. #85 2021-01-30 21:15:49 +02:00
Roman Telezhynskyi 4ee901d97c Fix regression in Pattern properties dialog. Tab Security is disabled for pattern with individual measurements. 2021-01-30 20:43:30 +02:00
Roman Telezhynskyi cf785a8cde Lupdate. 2021-01-30 20:39:32 +02:00
Roman Telezhynskyi 5133cac921 Fix warning about missing EUDC font om Wondows. 2021-01-30 20:27:19 +02:00
Roman Telezhynskyi d62bf67759 Fix regression. Export to tiled PDF has no suffix. 2021-01-30 20:05:04 +02:00
Roman Telezhynskyi d86a483524 Correct reading permissions on Windows. 2021-01-30 19:34:54 +02:00
Roman Telezhynskyi 228c40f975 Fix disabling rows for the restriction of the second dimension. 2021-01-28 17:38:30 +02:00
Roman Telezhynskyi 63aba8728b Fix regression. Changing dimension value caused an infinite loop. 2021-01-27 19:20:26 +02:00
Roman Telezhynskyi e714999430 Improve Windows installer. Avoid crashing on checking if a program is still running. 2021-01-27 15:10:06 +02:00
Roman Telezhynskyi 1019f91d5b Fix crash on Windows. 2021-01-27 09:27:34 +02:00
Roman Telezhynskyi 70ea54992f Fix Clang warning. 2021-01-26 17:08:54 +02:00
Roman Telezhynskyi 62caf5a5c0 Update appimage.yml. 2021-01-26 16:45:42 +02:00
Roman Telezhynskyi 1935d7cb13 Bump version. 2021-01-26 15:38:47 +02:00
Roman Telezhynskyi 5c3f957a55 Lupdate. 2021-01-24 16:09:44 +02:00
Roman Telezhynskyi 12aae03262 Lupdate. 2021-01-24 13:35:30 +02:00
Roman Telezhynskyi 8b15f4aed6 Final measurement printout on pattern piece. Closes #85 2021-01-23 21:37:36 +02:00
Roman Telezhynskyi c47664d86c Allow insertion of multiple nodes by setting their number. Closes #88. Ref #80 2021-01-23 21:11:21 +02:00
Roman Telezhynskyi 8123c67e7c Move Pattern Label Data tab to piece dialog. Closes #89 2021-01-23 20:27:51 +02:00
Roman Telezhynskyi d30ca54297 Fix width of a grainline on export. 2021-01-23 18:54:07 +02:00
Roman Telezhynskyi 2406e98350 Add support for TIFF format. Closes smart-pattern/valentina#87 2021-01-23 18:47:50 +02:00
Roman Telezhynskyi f81babbf7b Refactoring. 2021-01-23 15:25:01 +02:00
Roman Telezhynskyi 5eb8784cd4 New warning. Grainline is not valid. 2021-01-23 15:24:44 +02:00
Roman Telezhynskyi 4fe4efe859 Fix incorrect filename regular expressions. 2021-01-23 14:04:15 +02:00
Roman Telezhynskyi 3cc6cae97e Lupdate. 2021-01-23 12:59:46 +02:00
Roman Telezhynskyi b85167ae8d Fix opening link to a website. 2021-01-22 19:07:52 +02:00
Roman Telezhynskyi 8ddcb2c826 Lupdate. 2021-01-22 18:07:12 +02:00
Roman Telezhynskyi 0a71b6c030 Update comboboxes when sync measurements. 2021-01-20 20:22:24 +02:00
Roman Telezhynskyi a569a20756 Improve multisize measurements format. Allow excluding combinations inside min/max range. 2021-01-19 21:13:25 +02:00
Roman Telezhynskyi 61867fa2d7 Optimize a measurements file loading time. 2021-01-19 13:25:10 +02:00
Roman Telezhynskyi e7ae897433 Add cursor to inform a user about long operation. 2021-01-19 13:00:09 +02:00
Roman Telezhynskyi 4c0edca64a Improve restrict dimension dialog. Disable not available combinations. 2021-01-19 12:24:56 +02:00
Roman Telezhynskyi 2b7769c80e Improve multisize measurements format. Allow decimal step 0.5. 2021-01-18 20:44:06 +02:00
Roman Telezhynskyi d60653fcd3 Add missing definition for restrictions section. 2021-01-15 21:31:25 +02:00
Roman Telezhynskyi c2f2c62b1d Relax requirements for the shiftA attribute. 2021-01-15 11:14:21 +02:00
Roman Telezhynskyi d6e555f482 Reduce connectivity for VMainGraphicsView class.
Use a signal instead of direct read of a main window to trigger zoom fit best.
2020-12-27 16:38:40 +02:00
Roman Telezhynskyi 936011a8d6 Reduce connectivity for VMainGraphicsView class.
Use a signal instead of direct read of a main window to trigger zoom fit best.
2020-12-27 16:35:17 +02:00
Roman Telezhynskyi 6f3e65e30e Merge branch 'develop' into feature/manual-layout 2020-12-26 22:29:10 +02:00
Roman Telezhynskyi 3c0c624682 Don't check warnings for a legacy mac os x build. 2020-12-26 19:44:55 +02:00
Roman Telezhynskyi 445d5c8503 Fox some reason if to list a system directory in QMAKE_DEFAULT_INCDIRS it will not be automatically added to arguments by qmake. 2020-12-26 18:52:02 +02:00
Roman Telezhynskyi a980cd36c6 Try another approach. 2020-12-26 18:37:16 +02:00
Roman Telezhynskyi 12e2c8aaba Use QMAKE_DEFAULT_INCDIRS to extend list of system directories. 2020-12-26 18:29:19 +02:00
Roman Telezhynskyi 2627c08cf7 Try without trailing slash. 2020-12-25 10:07:25 +02:00
Roman Telezhynskyi 2e99c3322b Fix path to system headers. 2020-12-25 09:53:16 +02:00
Roman Telezhynskyi abe92c667d Temporary enable full output for macosx. 2020-12-25 09:40:18 +02:00
Roman Telezhynskyi b8c899bbf5 Fix GCC warning. 2020-12-25 09:31:34 +02:00
Roman Telezhynskyi 26457152cd Remove deprecated QPrinter methods. 2020-12-24 13:32:40 +02:00
Roman Telezhynskyi 968b41aa74 Improve suppressing a compiler warnings on macos. 2020-12-24 13:27:49 +02:00
Roman Telezhynskyi de6e4d6fed Fix a test crash. 2020-12-24 13:04:56 +02:00
Roman Telezhynskyi 60c6c9e5f4 Fix build. 2020-12-24 07:32:31 +02:00
Roman Telezhynskyi 54bad5d29c Fix build. 2020-12-23 20:08:33 +02:00
Roman Telezhynskyi dccc87d8af Cppcheck warning. 2020-12-23 19:01:04 +02:00
Roman Telezhynskyi 547b6bcdb3 VLayoutExporter, add support for the RLD format. 2020-12-23 18:57:25 +02:00
Roman Telezhynskyi a58a783aba Merge branch 'develop' into feature/manual-layout 2020-12-23 18:40:33 +02:00
Roman Telezhynskyi 2412dbd6dd Merge branch '83-export-drawing' into develop 2020-12-23 17:54:42 +02:00
Roman Telezhynskyi 510a5ab6a7 Refactoring. 2020-12-23 15:42:30 +02:00
Roman Telezhynskyi abb4397901 Introducing VPrintLayout class.
Refactoring printing a layout.
2020-12-23 15:30:06 +02:00
Roman Telezhynskyi 8405ff3c6d Merge branch 'develop' into 83-export-drawing 2020-12-22 13:19:40 +02:00
Roman Telezhynskyi 319a8ec48a Remove deprecated QPrinter methods.
Missed one paperRect().
2020-12-21 16:21:42 +02:00
Roman Telezhynskyi 9793d5e6a2 Remove deprecated QPrinter methods. 2020-12-21 15:52:34 +02:00
Roman Telezhynskyi 03ec38f2c3 Introducing new class VLayoutExporter.
Move all export code outside of the main window class.
2020-12-19 19:10:55 +02:00
Roman Telezhynskyi 4b2e8c0c82 Don't use static_cast for downcast. 2020-12-19 17:15:28 +02:00
Roman Telezhynskyi c3142b8b07 Remove deprecated QPrinter methods. 2020-12-19 13:13:03 +02:00
Roman Telezhynskyi e70e998dc5 Improve the layout option "Auto crop unused width". 2020-12-18 17:01:58 +02:00
Roman Telezhynskyi 58cae6f66c New option "Don't use the native file dialog". 2020-12-17 18:43:15 +02:00
Roman Telezhynskyi 0ab76dd6b9 New warning. Warn about empty measurements dimension value when preparing placeholders. 2020-12-17 17:42:47 +02:00
Roman Telezhynskyi f40c06b6fc Fix invalid visualization for tool Point of intersection circles. 2020-12-08 11:20:44 +02:00
Roman Telezhynskyi 4166e8f635 Fix a regression in tool Segment a spline path.
Dialog must forbids a user to save an invalid point name.
2020-12-07 10:05:46 +02:00
Roman Telezhynskyi 7eb99f7a2f Improve export of increments into a pattern recipe.
Add support for separators.
2020-12-05 14:50:55 +02:00
Roman Telezhynskyi bb3cde292b Lupdate. 2020-12-05 12:40:45 +02:00
Roman Telezhynskyi dc350ae0e2 Fix export of pattern recipe. 2020-12-05 12:36:40 +02:00
Roman Telezhynskyi 8d36b8329a Correct version for bintray. 2020-12-05 12:34:57 +02:00
Roman Telezhynskyi 7002097362 Bump version. 2020-12-04 09:39:13 +02:00
Roman Telezhynskyi 5222a53bb1 Lupdate. 2020-12-04 09:29:50 +02:00
Roman Telezhynskyi 40fb6e6900 New option Reset label position. 2020-12-04 09:24:31 +02:00
Roman Telezhynskyi c476d4b96a Clean status message after load of a pattern. 2020-11-28 09:10:56 +02:00
Roman Telezhynskyi aa5f026c58 Merge branch 'develop' into feature/manual-layout 2020-11-27 11:56:55 +02:00
Roman Telezhynskyi 2a5d6c6aa9 Lupdate. 2020-11-27 11:03:08 +02:00
Roman Telezhynskyi d7600dff14 Unify a tool name for the tool Point of intersection circle and segment. 2020-11-27 10:57:51 +02:00
Roman Telezhynskyi c4234b3050 Refactoring. 2020-11-27 10:57:11 +02:00
Roman Telezhynskyi 8877ce4630 Fix arc name in property browser. 2020-11-27 10:42:00 +02:00
Roman Telezhynskyi 53f686e919 Fix crash after creating an elliptical arc. 2020-11-27 10:34:23 +02:00
Roman Telezhynskyi 3ce704d039 Improve crossing check for the layout algorithm. 2020-11-26 19:55:02 +02:00
Roman Telezhynskyi f2624692e3 Refactoring.
Rename the function to better reflect its purpose.
2020-11-26 19:39:55 +02:00
Roman Telezhynskyi 27fe4b15fd Fix regression.
Regression after commit 1539abaf4d.
2020-11-26 19:39:18 +02:00
Roman Telezhynskyi a6437dbb3b Fix incorrect nesting status for valid cases. 2020-11-26 19:12:59 +02:00
Roman Telezhynskyi f4f6ba9989 Improve canceling nesting. 2020-11-26 19:11:42 +02:00
Roman Telezhynskyi 4041f9e154 Restore layout debug system. 2020-11-26 19:10:09 +02:00
Roman Telezhynskyi bccc852931 Fix arc names in property browser. 2020-11-26 13:08:48 +02:00
Roman Telezhynskyi 1e960e2f8a Refactoring. Remove unused argument. 2020-11-25 09:59:36 +02:00
Roman Telezhynskyi e8b69bbb88 Refactoring. Remove unused argument. 2020-11-25 08:47:01 +02:00
Roman Telezhynskyi e2f4859d48 Fix curve names in property browser. 2020-11-25 08:44:05 +02:00
Roman Telezhynskyi 10684213ec Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-24 13:30:33 +02:00
Roman Telezhynskyi 1539abaf4d Fix hiding inserted node in a pattern piece after its removal. 2020-11-24 13:28:42 +02:00
Roman Telezhynskyi ce94d0747d Lupdate. 2020-11-23 17:38:25 +02:00
Roman Telezhynskyi 76f195121e Bump version. 2020-11-23 10:48:58 +02:00
Roman Telezhynskyi d95cb9428f Lupdate. 2020-11-23 10:48:04 +02:00
Roman Telezhynskyi 486e9bc917 Fix curve name in property browser for segmenting tools.
(cherry picked from commit 9d323169e2)
2020-11-22 16:07:27 +02:00
Roman Telezhynskyi 9d323169e2 Fix curve name in property browser for segmenting tools. 2020-11-22 16:07:09 +02:00
Roman Telezhynskyi e81d1167a3 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout

See merge request smart-pattern/valentina!11
2020-11-22 12:10:25 +00:00
Ronan Le Tiec bbe27ec671 Nicer rotate cursor 2020-11-22 12:45:38 +01:00
Ronan Le Tiec 214d46ffcf Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-11-22 10:46:00 +01:00
Roman Telezhynskyi 219a3e1eab Fix Tape crash on opening. Closes #81
(cherry picked from commit 7beac9db5b)
2020-11-22 09:36:19 +02:00
Roman Telezhynskyi 7beac9db5b Fix Tape crash on opening. Closes #81 2020-11-22 09:32:33 +02:00
Roman Telezhynskyi e8fd8095b4 Merge branch 'develop' into feature/manual-layout 2020-11-21 19:05:46 +02:00
Roman Telezhynskyi 28d2358825 Allow insertion of multiple nodes. Closes #80 2020-11-21 19:04:31 +02:00
Ronan Le Tiec cdff123231 Refactor triangle position marks for tiled pdf 2020-11-21 16:47:05 +01:00
Ronan Le Tiec dd5970f8ba Improve Piece carrousel icon and drag icon 2020-11-21 15:38:33 +01:00
Roman Telezhynskyi c31966145e Improve object alias validation.
Property browser not correctly validates an object alias.
2020-11-21 15:44:55 +02:00
Ronan Le Tiec 728b2c83c3 Fix piece carrousel context menu crash 2020-11-21 14:28:28 +01:00
Ronan Le Tiec b9e26f0b3f Add a trash list and delete context menu function 2020-11-21 14:24:07 +01:00
Ronan Le Tiec b606497c48 Persistence of sheet name 2020-11-21 13:45:26 +01:00
Ronan Le Tiec 898a5a92c3 Ppi after format name added 2020-11-21 13:26:38 +01:00
Ronan Le Tiec 3cb79b32e2 Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-11-20 22:45:05 +01:00
Roman Telezhynskyi d8c1c8e4d4 Generate new uuid for a piece duplicate. 2020-11-20 20:39:42 +02:00
Roman Telezhynskyi 435122de92 Fix build on Windows.
(cherry picked from commit 8aea612202)
2020-11-20 20:24:41 +02:00
Roman Telezhynskyi 8aea612202 Fix build on Windows. 2020-11-20 19:53:36 +02:00
Ronan Le Tiec 4366cbdec9 Display passmarks and place labels 2020-11-20 17:05:56 +01:00
Ronan Le Tiec efac90c9bb Icons for templates 2020-11-20 16:24:53 +01:00
Ronan Le Tiec f9d4eac8b4 Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-11-20 15:51:53 +01:00
Ronan Le Tiec 9140fdcb78 Templates for sheet and tiles 2020-11-20 15:51:24 +01:00
Roman Telezhynskyi b82d6f1bb1 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-20 13:40:39 +02:00
Roman Telezhynskyi 330378e5b9 Lupdate. 2020-11-20 13:24:34 +02:00
Roman Telezhynskyi 80d9fbc107 New function Warning. 2020-11-20 13:18:38 +02:00
Ronan Le Tiec 073bd93df7 remove the grainline filling 2020-11-19 17:24:48 +01:00
Ronan Le Tiec 7e16c12623 Change the selection sequence with tabs 2020-11-19 16:45:02 +01:00
Ronan Le Tiec b90a99a0aa Showing internal paths 2020-11-19 16:32:47 +01:00
Ronan Le Tiec a0cd4e9a31 Selected piece on top 2020-11-19 15:08:45 +01:00
Ronan Le Tiec 9f8f0e8341 refactoring vpgraphicstilegrid and vptilefactory 2020-11-19 14:33:27 +01:00
Roman Telezhynskyi b3ea7d69f4 Improve Windows installer. [skip ci]
Make removing settings on uninstall optional.

(cherry picked from commit 274de54746)
2020-11-18 10:19:41 +02:00
Ronan Le Tiec 97351b58dd Add text infos to the tiles 2020-11-16 20:22:38 +01:00
Ronan Le Tiec db4bd0d616 Improve tiles decoration 2020-11-15 22:34:24 +01:00
Ronan Le Tiec cbf0651486 All tiles exported 2020-11-15 13:06:57 +01:00
Ronan Le Tiec f90f8ca01b First tiles export 2020-11-15 12:30:29 +01:00
Ronan Le Tiec e7cd13b703 Preview grid of the tiles on the sheet 2020-11-14 17:31:34 +01:00
Ronan Le Tiec dddf1fe654 Tiles functions and persistence 2020-11-14 15:58:42 +01:00
Ronan Le Tiec 40c9e8161b Tiles Tab content 2020-11-14 13:23:32 +01:00
Ronan Le Tiec ffaca85f49 Test SVG export improved 2020-11-14 12:46:18 +01:00
Ronan Le Tiec f6e5f67159 Button export with test svg export 2020-11-14 12:37:43 +01:00
Ronan Le Tiec 491d5848b4 Add mouse position functionality 2020-11-14 10:55:57 +01:00
Ronan Le Tiec d55dbbb61e Add scale spinbox functionality 2020-11-14 10:20:02 +01:00
Ronan Le Tiec c497e325d8 Zoom functions 2020-11-13 23:31:22 +01:00
Ronan Le Tiec 396443f60c Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-11-13 17:25:45 +01:00
Roman Telezhynskyi 1e3f11d1a1 Fix crash when save notes for the line tool.
(cherry picked from commit 66fc63c04b)
2020-11-13 15:27:24 +02:00
Roman Telezhynskyi 9ae51c937f Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-13 11:52:10 +02:00
Ronan Le Tiec 4ec3e29bb1 add zoom icons to toolbar 2020-11-11 22:04:07 +01:00
Ronan Le Tiec e1c79b0db5 Icon for the layout tab 2020-11-11 21:09:01 +01:00
Ronan Le Tiec 9fb4a2cc39 init tab refactoring 2020-11-11 19:31:39 +01:00
Ronan Le Tiec c0c85bb2d5 Layout name und description persistence 2020-11-11 19:14:06 +01:00
Ronan Le Tiec 23c4f81904 Hide some ui elements for MVP 2020-11-10 21:46:23 +01:00
Ronan Le Tiec f448514c71 take into account Show Seamline 2020-11-10 21:29:23 +01:00
Ronan Le Tiec 6d2b05ccc4 Add uuid to current piece infos 2020-11-10 20:55:39 +01:00
Roman Telezhynskyi 83225958de Cppcheck warnings. 2020-11-10 16:14:51 +02:00
Roman Telezhynskyi 453d120150 Cppcheck warnings. 2020-11-10 16:10:38 +02:00
Roman Telezhynskyi 0371905c0d Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-10 16:00:01 +02:00
Roman Telezhynskyi 0ee00369f7 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout

See merge request smart-pattern/valentina!10
2020-11-07 14:18:32 +00:00
Ronan Le Tiec 2cc3c93dea Sheet orientation and piece transform 2020-06-25 16:59:48 +02:00
Ronan Le Tiec 4ad2c854b2 VPPiece now inherits form VLayoutPiece 2020-06-25 14:17:31 +02:00
Roman Telezhynskyi e419ccfece Fix build on Qt 5.15: missed include in vlayoutdef header.
(cherry picked from commit 6af9d104cd)
2020-06-13 11:26:20 +03:00
Roman Telezhynskyi 20b797b2c5 Merge branch 'develop' into feature/manual-layout. 2020-06-04 13:45:32 +03:00
Roman Telezhynskyi 55c9103ef1 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout Puzzle Refactoring

See merge request smart-pattern/valentina!8
2020-06-03 07:42:59 +00:00
Ronan Le Tiec af40b52988 Refactoring Piece carrousel part 2 2020-05-24 19:53:51 +02:00
Ronan Le Tiec f00168e59b Refactoring Piece carrousel 2020-05-24 14:55:03 +02:00
Ronan Le Tiec b4b77c4cdf Introducing VPSheet and refactoring part 3 2020-05-23 17:51:00 +02:00
Ronan Le Tiec 61a2e17a78 Introducing VPSheet and refactoring part 2 2020-05-23 17:47:04 +02:00
Ronan Le Tiec 803a7b6caa Introducing VPSheet and refactoring 2020-05-23 17:46:46 +02:00
Ronan Le Tiec 22a5e2094c Refactoring VPuzzleSettings 2020-05-23 15:44:44 +02:00
Ronan Le Tiec 83666c090f Refactoring VPuzzlePiece 2020-05-23 15:42:51 +02:00
Ronan Le Tiec 6079d69c93 Refactoring VPuzzleMimeDataPiece 2020-05-23 15:38:59 +02:00
Ronan Le Tiec 2accd83d6b Refactoring VPuzzleMainGraphicsView 2020-05-23 15:36:46 +02:00
Ronan Le Tiec 5e785bfa79 Refactoring VPuzzleLayout 2020-05-23 15:34:11 +02:00
Ronan Le Tiec 34b67cc6e3 Refactoring VPuzzleLayer 2020-05-23 15:29:57 +02:00
Ronan Le Tiec 45be7271bb Refactoring VPuzzleGraphicsPiece 2020-05-23 14:50:22 +02:00
Ronan Le Tiec e43f970ea8 Refactoring VPuzzleGraphicsLayout 2020-05-23 14:48:31 +02:00
Ronan Le Tiec 9e532edc1a Refactoring VPuzzleCommandLine 2020-05-23 14:43:57 +02:00
Ronan Le Tiec fb78189d29 Refactoring VPieceCarrouselPiecePreview 2020-05-23 14:39:31 +02:00
Ronan Le Tiec 510d1bd931 Refactoring VPieceCarrouselPiece 2020-05-23 14:36:35 +02:00
Ronan Le Tiec 8ca77baef0 Refactoring VPieceCarrouselLayer 2020-05-23 14:33:02 +02:00
Ronan Le Tiec 690606b4e5 Refactoring VPieceCarrousel 2020-05-23 14:29:18 +02:00
Ronan Le Tiec 74112a43ac Refactoring stable 2020-05-23 14:19:12 +02:00
Ronan Le Tiec 1079ef2add Refactoring PuzzleMainWindow 2020-05-23 14:17:20 +02:00
Ronan Le Tiec e816e4d5a1 Refactoring puzzlecommands 2020-05-23 14:12:07 +02:00
Ronan Le Tiec 5bd695b646 Refactoring PuzzleApplication 2020-05-23 14:10:05 +02:00
Ronan Le Tiec 04e97b6e74 Refactoring class comments 2020-05-23 14:04:39 +02:00
Ronan Le Tiec 13c060f2fc Refactoring VPuzzleLayoutFileWriter 2020-05-23 14:02:39 +02:00
Ronan Le Tiec d9e3a08eac Refactoring VPuzzleLayoutFileReader 2020-05-23 14:01:03 +02:00
Ronan Le Tiec 63d5ac0158 refactoring layoutliterals 2020-05-23 13:51:57 +02:00
Ronan Le Tiec 213863ae98 refactoring dialog about 2020-05-23 13:49:38 +02:00
Ronan Le Tiec e2cfe7d0cc Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-05-23 13:11:06 +02:00
Ronan Le Tiec ed3022ae51 isEmpty test of graphic piece 2020-05-23 13:10:25 +02:00
Roman Telezhynskyi beaedae7b5 Improve the property browser. Show full arc name.
(cherry picked from commit 590e0089da)
2020-05-13 17:53:08 +03:00
Roman Telezhynskyi f1057de239 Redesign. Move initialization in ui file. Use QListWidget instead of a custom solution. Basic functions do not work yet. 2020-05-11 17:48:08 +03:00
Roman Telezhynskyi 5fc927b32a Since we store a dockwidget size no need to handle size manually. 2020-05-11 17:46:25 +03:00
Roman Telezhynskyi 56ec768777 GCC warning. 2020-05-11 17:44:53 +03:00
Roman Telezhynskyi 21dd764d53 Code style. 2020-05-11 17:44:30 +03:00
Roman Telezhynskyi 067dd637a7 Cppcheck warning. 2020-05-11 17:40:53 +03:00
Roman Telezhynskyi a89259d47d Fix issue with VMainGraphicsView. 2020-05-11 17:39:54 +03:00
Roman Telezhynskyi 19fd03b66e Read/write window state. Will help with setting the carousel size. 2020-05-10 18:38:06 +03:00
Roman Telezhynskyi c1051783f6 Fix code style. 2020-05-10 18:35:25 +03:00
Roman Telezhynskyi 7b1449f11e Redesign settings.
All apps settings classes moved to binaries. Use common part to get access from static libraries. Fixed issues with VMainGraphicsView class.
2020-05-10 18:32:26 +03:00
Roman Telezhynskyi 02b21d818f Use fuzzy functions to compare floats. 2020-05-10 11:51:54 +03:00
Roman Telezhynskyi 3e4b82b3cc Correct user defined export scale factor.
(cherry picked from commit dda789e444)
2020-05-10 11:28:36 +03:00
Roman Telezhynskyi e2ef71faf6 Fix default value for a export scale factor.
(cherry picked from commit 1f310c2c2c)
2020-05-10 11:28:28 +03:00
Roman Telezhynskyi ddd4d735e8 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout app behaviour optimization

See merge request smart-pattern/valentina!7
2020-05-10 08:27:19 +00:00
Ronan Le Tiec 0e87b10a66 improvement rotation initialisation 2020-05-09 15:13:00 +02:00
Ronan Le Tiec 3fc0924887 Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-05-09 14:48:43 +02:00
Ronan Le Tiec a9d6fae27d optimization angle / rotation 2020-05-09 14:45:36 +02:00
Roman Telezhynskyi 03a8d71e65 qOverload was introduced in Qt 5.7. 2020-05-09 13:57:42 +03:00
Roman Telezhynskyi 33865a06b5 Cppcheck warnings. 2020-05-09 13:25:23 +03:00
Roman Telezhynskyi f06c85753b Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-05-09 13:21:29 +03:00
Roman Telezhynskyi a009e25004 Fix (de)serialize enums into QDataStream.
It is very important to use exactly the same way across all Qt versions we need to support. Otherwise, it will break interchange between Valentina versions built on different Qt versions.
2020-05-09 12:36:03 +03:00
Ronan Le Tiec dc44bef761 enable rotation 2020-05-09 11:13:29 +02:00
Ronan Le Tiec e72a664c8a context menu for carrousel piece and graphics piece 2020-05-09 09:54:56 +02:00
Ronan Le Tiec f516d80513 improve unselect behaviour of unplaced pieces 2020-05-09 09:00:27 +02:00
Ronan Le Tiec 6c35dfc78a Work on layer and graphics view behaviour 2020-05-08 23:49:41 +02:00
Ronan Le Tiec d72be9029f improve multiple selection and add grainline to pieces 2020-05-06 15:05:01 +02:00
Ronan Le Tiec e2b816f192 work on piece selection and position 2020-05-05 17:40:36 +02:00
Ronan Le Tiec c4dbea1d56 puzzle main graphics and pieces 2020-05-05 07:44:20 +02:00
Ronan Le Tiec 497cb65cb2 Optimizing the piece carrousel 2020-05-02 12:17:06 +02:00
Roman Telezhynskyi ab569feff8 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Work on the piece carrousel,  Feature/manual layout

See merge request smart-pattern/valentina!6
2020-05-02 07:51:52 +00:00
Ronan Le Tiec e27e543fbc comments 2020-05-02 09:44:45 +02:00
Ronan Le Tiec 928c57f74b remove uncomment in LoadFile 2020-05-02 09:30:53 +02:00
Ronan Le Tiec 9a8fabc25e optimization current piece tab 2020-05-01 19:08:48 +02:00
Ronan Le Tiec f5e325a235 Piece carrousel design and piece selection 2020-05-01 18:26:02 +02:00
Ronan Le Tiec 7bca5f41ec Optimize the carrousel piece fitInView 2020-04-26 22:32:08 +02:00
Ronan Le Tiec 4edcbfd0c5 work on the piece and carrousel 2020-04-26 15:36:20 +02:00
Ronan Le Tiec 39c889d43b Piece Name and UUID taken into account in *vlt reader / writer 2020-04-26 14:12:20 +02:00
Ronan Le Tiec 25cb7f9e6e Optimization piece carrousel 2020-04-26 14:03:43 +02:00
Ronan Le Tiec bf09544d87 Piece Carrousel 2020-04-26 12:09:28 +02:00
Ronan Le Tiec 664c6dcd51 Typo 2020-04-24 17:25:43 +02:00
Ronan Le Tiec 1c598ab069 extend Q_ASSERT of ReadLayer function 2020-04-24 16:23:06 +02:00
Ronan Le Tiec 9c5b23e7eb Slot auto connection, name convention and comments 2020-04-24 16:10:42 +02:00
Roman Telezhynskyi e09c8de9c8 Fix build on Mac OS X. 2020-04-23 21:17:49 +03:00
Roman Telezhynskyi a6677523b8 Clang warnings. 2020-04-23 19:16:17 +03:00
Roman Telezhynskyi b9c5aed236 Clang warnings. 2020-04-23 18:41:34 +03:00
Roman Telezhynskyi e9f44d01e9 Cppcheck warning. 2020-04-23 18:09:48 +03:00
Roman Telezhynskyi 82ce2aadfe Added initial support for the manual layout format version converter. 2020-04-23 18:05:00 +03:00
Roman Telezhynskyi aeebd2a095 Specialized methods to write attribute value.
Certain types must be treated in a certain way.
2020-04-23 17:24:06 +03:00
Roman Telezhynskyi b2f26f02bc Specialized functions to read tag attributes.
Provide easier conversion, return default value if an attribute is not provided, throw exception in case of error.
2020-04-23 17:22:58 +03:00
Roman Telezhynskyi dcfb00aec8 Fix warning about unsafe usage. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi 61effa2a82 Define literals of each tags and attributes in manual layout format.
More efficient. A lot easier to maintain. Remove redundancy.
2020-04-23 15:51:07 +03:00
Roman Telezhynskyi 8138c1b430 Disable copy methods as in parent class. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi abb0862c89 Cppcheck warning. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi a4e01d514b More issues with code style. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi 222db34589 Fix potential memory leaks. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi 55e4dceb06 Refactoring. Follow code style. 2020-04-23 15:51:07 +03:00
Roman Telezhynskyi 7a46b98f5b Use brace initialization to define default value for class members.
Requires less code.
2020-04-23 15:50:56 +03:00
Roman Telezhynskyi d769e9d3e2 Use forward declaration where possible. 2020-04-23 15:50:56 +03:00
Roman Telezhynskyi 0e7149a695 Pass a variable as constant reference. 2020-04-23 15:50:56 +03:00
Roman Telezhynskyi ffe8ffa322 Getters can be const. 2020-04-23 15:50:20 +03:00
Roman Telezhynskyi a0fb0f8ee3 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Puzzle, work on the UI, the file reader and writer

See merge request smart-pattern/valentina!5
2020-04-23 08:04:43 +00:00
Ronan Le Tiec 828bd8dd3f Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-04-22 17:36:50 +02:00
Roman Telezhynskyi b9fb53c21a GCC warnings. 2020-04-22 16:17:19 +03:00
Roman Telezhynskyi 46225d641d Merge branch 'develop' into feature/manual-layout 2020-04-22 15:14:50 +03:00
Roman Telezhynskyi 30a27ee85a UUID field for piece. 2020-04-22 14:32:25 +03:00
Roman Telezhynskyi b2fd02b510 Reading the Raw Layout Data file in Puzzle. 2020-04-21 19:03:46 +03:00
Roman Telezhynskyi 3b37d22a0b Actions Open Puzzle, Create Manual Layout, Update Manual Layout in Valentina. 2020-04-21 19:02:21 +03:00
Roman Telezhynskyi a9de60f515 Provide access to showHelp function. 2020-04-21 18:58:01 +03:00
Roman Telezhynskyi 3a675f0552 New default folder Manual layouts. 2020-04-21 18:57:11 +03:00
Ronan Le Tiec f2ed6a12f2 Work on file opening and reader 2020-04-19 16:01:46 +02:00
Ronan Le Tiec 83f5d70f98 Persistence of Layout in UI 2020-04-19 12:47:38 +02:00
Ronan Le Tiec 8be95376f1 work on units, layout and reader 2020-04-19 11:58:43 +02:00
Ronan Le Tiec c83ac5e493 Changes for vlt Format version 2020-04-19 10:38:28 +02:00
Ronan Le Tiec 9e2c0e9cc5 Work on the VPuzzleLayoutFileReader 2020-04-18 20:24:25 +02:00
Ronan Le Tiec 596707d5b1 Work on VPuzzleLayoutFileWriter 2020-04-18 16:32:54 +02:00
Ronan Le Tiec 13d42bfa62 Additional function in VPuzzleLayer 2020-04-18 12:12:04 +02:00
Ronan Le Tiec cefb643d54 Definition of the VPuzzleLayer class 2020-04-18 11:54:34 +02:00
Ronan Le Tiec 213814f09f Small changes in VPuzzleLayout class 2020-04-18 11:31:55 +02:00
Ronan Le Tiec 2cb5b8e6aa Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-04-18 11:25:42 +02:00
Roman Telezhynskyi adb6419670 Fix closing app in GUI mode.
It must close only in console mode.
2020-04-18 10:53:32 +03:00
Roman Telezhynskyi c7085e42c3 Fix application name in man page. 2020-04-18 09:07:25 +03:00
Roman Telezhynskyi 186be9c272 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout

See merge request smart-pattern/valentina!4
2020-04-18 06:03:55 +00:00
vorzelmir b84e47f077 Update vpuzzlecommandline.h 2020-04-17 18:58:34 +00:00
vorzelmir 863ce66f22 Merge branch 'feature/manual-layout' of gitlab.com:vorzelmir/valentina into feature/manual-layout 2020-04-16 00:12:18 +03:00
vorzelmir 831a1caa41 puzzle man page 2020-04-16 00:12:07 +03:00
Roman Telezhynskyi cc3d3e8021 Redesign command-line interface to support client server architecture. 2020-04-14 11:36:21 +03:00
Ronan Le Tiec d12a9c2c0b Cpp checks 2020-04-13 19:03:01 +02:00
Ronan Le Tiec d93e1ace92 Add classes for layer,layout and piece 2020-04-13 18:58:16 +02:00
Roman Telezhynskyi a258d5c7ed GCC warnings. 2020-04-13 15:28:06 +03:00
Roman Telezhynskyi dd68bd8d5e qOverload was introduced in Qt 5.7. 2020-04-13 15:27:52 +03:00
Roman Telezhynskyi 4db705b2c1 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature manual layout

See merge request smart-pattern/valentina!3
2020-04-13 12:17:15 +00:00
Roman Telezhynskyi da26ec832c Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-04-13 15:11:40 +03:00
Roman Telezhynskyi 53bd9474be Cppcheck warning. 2020-04-13 15:05:22 +03:00
Roman Telezhynskyi fe281120d5 Remove comments. 2020-04-13 15:02:55 +03:00
Roman Telezhynskyi 2f02e7cdc0 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature manual layout #9

Basic structure of Puzzle (menu, properties and piece carrousel).

See merge request smart-pattern/valentina!1
2020-04-13 11:54:31 +00:00
Ronan Le Tiec e8b119a959 Icons in high definition 2020-04-13 12:56:25 +02:00
Ronan Le Tiec 096f913d33 Corrections of .pro 2020-04-13 12:49:33 +02:00
Ronan Le Tiec ee98cfb05f Updated class comment 2020-04-13 12:43:27 +02:00
Ronan Le Tiec 95101b6ac3 Piece carrousel 2020-04-13 12:24:26 +02:00
Roman Telezhynskyi 5e5199f9f6 Fix crash. Added more keys we will need in future. 2020-04-13 12:48:09 +03:00
Roman Telezhynskyi eba2ed695c Better looking comments. 2020-04-13 12:47:19 +03:00
Roman Telezhynskyi aa81fa5ecf Improve code style. Use typedef. 2020-04-13 12:43:25 +03:00
vorzelmir e1c945d02c add VPuzzleCommandLine to Puzzleapplication 2020-04-12 23:28:36 +03:00
Ronan Le Tiec ed6cc7f5d9 corrections about puzzle dialog 2020-04-11 23:34:58 +02:00
Ronan Le Tiec 1b0b30eb77 current piece property, slot and code format 2020-04-11 17:04:44 +02:00
Ronan Le Tiec e35e80a242 some comments 2020-04-11 16:32:49 +02:00
Ronan Le Tiec 44bf83a089 slots for the layout properties 2020-04-11 16:25:23 +02:00
Ronan Le Tiec 132bc819b3 grainline icons and layout property 2020-04-11 14:23:17 +02:00
Ronan Le Tiec 3b96605ef9 layout property and icons 2020-04-11 13:28:01 +02:00
Ronan Le Tiec 3f9822d271 property tabs and tab layout 2020-04-11 12:52:26 +02:00
Ronan Le Tiec 234529f398 about puzzle dialog 2020-04-11 11:40:02 +02:00
Ronan Le Tiec fbbc3ba479 remove tab nos needed for mvp 2020-04-11 11:17:53 +02:00
Ronan Le Tiec 80226b7188 Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout
merge upstream
2020-04-11 10:46:06 +02:00
Ronan Le Tiec 8aff83d2a2 icons and structure main window 2020-04-11 10:43:47 +02:00
Roman Telezhynskyi 51e0694f36 Merge branch 'develop' into feature/manual-layout. 2020-04-11 10:38:14 +03:00
Ronan Le Tiec f4e4f100f3 MenuBar edit, first signals and slots 2020-04-10 21:08:29 +02:00
vorzelmir b88e23697e puzzle command line initial options 2020-04-07 00:57:01 +03:00
vorzelmir 186a855cbd vpuzzlecommandline header the plan 2020-04-03 23:05:03 +03:00
Roman Telezhynskyi c6c4edb893 Merge branch 'develop' into feature/manual-layout 2020-03-25 15:28:23 +02:00
Roman Telezhynskyi 3ce9de7181 error: no viable conversion from 'PuzzleMainWindow' to 'PuzzleMainWindow *'. 2020-02-16 23:36:50 +02:00
Roman Telezhynskyi 736d07a304 error: unknown type name 'QFileOpenEvent'. 2020-02-16 23:07:44 +02:00
Roman Telezhynskyi 8e815bbb54 Suppress warnings. 2020-02-16 21:51:41 +02:00
Roman Telezhynskyi 5a10bd7f63 Puzzle application class. 2020-02-16 19:18:39 +02:00
Roman Telezhynskyi 732cda4b46 Dummy base for Puzzle application. 2020-02-16 18:18:21 +02:00
45090 changed files with 1647531 additions and 5216794 deletions

465
.cirrus.yml Normal file
View File

@ -0,0 +1,465 @@
### Global defaults
env:
CCACHE_SIZE: "800M"
CCACHE_DIR: "/tmp/ccache_dir"
CCACHE_NOHASHDIR: "1" # Debug info might contain a stale path if the build dir changes, but this is fine
CCACHE_CPP2: "yes"
### Task templates
# https://cirrus-ci.org/guide/writing-tasks/#supported-functions
qbs_task_filter: &QBS_TASK_FILTER
skip: "!changesInclude('.cirrus.yml', '**.{h,hpp,cpp,c,ts,ui,png,qbs,js}')"
qmake_task_filter: &QMAKE_TASK_FILTER
skip: "!changesInclude('.cirrus.yml', '**.{h,hpp,cpp,c,pro,pri,ts,ui,png}')"
sonar_task_filter: &SONAR_TASK_FILTER
skip: "!changesInclude('**.{h,hpp,cpp,c}')"
regular_task_template: &REGULER_TASK_TEMPLATE
ccache_cache:
folder: "/tmp/ccache_dir"
linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE
<< : *QBS_TASK_FILTER
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL -y qt6-base-dev qt6-l10n-tools libqt6svg6-dev qt6-base-dev-tools qmake6 libxerces-c-dev poppler-utils libgl1-mesa-dev"
- git fetch --tags
build_script:
- uname -a
- mkdir -pm 0700 $XDG_RUNTIME_DIR
- Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix &
- sleep 1
- ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
- echo $PATH
- which qmake6
- which qbs
- pwd
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- ${COMPILER} --version
- qmake6 --version
- qbs --version
- qbs setup-toolchains /usr/bin/${COMPILER} ${COMPILER}
- qbs setup-qt /usr/bin/qmake6 qt6
- qbs config profiles.qt6.baseProfile ${COMPILER}
- qbs config defaultProfile qt6
- qbs build -f valentina.qbs -d build --jobs $(nproc) profile:qt6 config:release modules.buildconfig.enableCcache:${ENABLE_CCACHE} modules.cpp.linkerVariant:mold --force-probe-execution
- qbs -p autotest-runner -d build profile:qt6 config:release
- ccache -s
linux_qt6_sonar_task_template: &LINUX_QT6_TASK_SONAR_TEMPLATE
<< : *QBS_TASK_FILTER
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL -y qt6-base-dev qt6-l10n-tools libqt6svg6-dev qt6-base-dev-tools qmake6 libxerces-c-dev poppler-utils libgl1-mesa-dev"
- git fetch --tags
build_script:
- uname -a
- mkdir -pm 0700 $XDG_RUNTIME_DIR
- Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix &
- sleep 1
- ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
- echo $PATH
- which qmake6
- which qbs
- pwd
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- ${COMPILER} --version
- qmake6 --version
- qbs --version
- qbs setup-toolchains /usr/bin/${COMPILER} ${COMPILER}
- qbs setup-qt /usr/bin/qmake6 qt6
- qbs config profiles.qt6.baseProfile ${COMPILER}
- qbs config defaultProfile qt6
- build-wrapper-linux-x86-64 --out-dir ${CIRRUS_WORKING_DIR}/bw-output qbs build --no-install -f valentina.qbs -d ${CIRRUS_WORKING_DIR}/build --jobs $(nproc) profile:qt6 config:debug modules.buildconfig.enableCcache:true modules.cpp.linkerVariant:mold modules.buildconfig.enableTestCoverage:true modules.buildconfig.enablePCH:false
# Execute the tests to generate the coverage statistics
- qbs -p autotest-runner -d build profile:qt6 config:debug
# Run gcov to translate `.gcda` files into `.gcov` readable by humans and SonarCloud
- mkdir ${CIRRUS_WORKING_DIR}/build/coverage-dir
- cd ${CIRRUS_WORKING_DIR}/build/coverage-dir
# --preserve-paths helps us avoid name clash for `.gcov` files corresponding to source files
# with the same name but in different directories.
- find .. -name '*.o' -exec gcov --preserve-paths {} \;
- cd $CIRRUS_WORKING_DIR
- sonar-scanner -Dsonar.scm.revision=${CIRRUS_CHANGE_IN_REPO} -Dsonar.links.ci=https://cirrus-ci.com/task/${CIRRUS_TASK_ID} -Dsonar.branch.name=${CIRRUS_BRANCH} -Dsonar.cfamily.gcov.reportsPath="${CIRRUS_WORKING_DIR}/build/coverage-dir"
- ccache -s
linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
<< : *QMAKE_TASK_FILTER
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL qtbase5-dev libqt5svg5-dev qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 poppler-utils"
- git fetch --tags
build_script:
- uname -a
- echo $PATH
- which qmake
- mkdir build
- cd build
- pwd
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- ${COMPILER} --version
- strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
- ccache --set-config max_size="$CCACHE_SIZE"
- qmake --version
- qmake ../Valentina.pro -r -spec ${QMAKE_SPEC} CONFIG+=noDebugSymbols CONFIG+=checkWarnings
- make -j$(nproc)
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$CIRRUS_WORKING_DIR/build/src/libs/vpropertyexplorer/bin:$CIRRUS_WORKING_DIR/build/src/libs/qmuparser/bin"
- xvfb-run -a make --silent check TESTARGS="-silent"
- ccache -s
linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
<< : *QBS_TASK_FILTER
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL qtbase5-dev libqt5svg5-dev qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 poppler-utils"
- git fetch --tags
build_script:
- uname -a
- mkdir -pm 0700 $XDG_RUNTIME_DIR
- Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix &
- sleep 1
- ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
- echo $PATH
- which qmake
- which qbs
- pwd
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- ${COMPILER} --version
- qmake --version
- qbs --version
- qbs setup-toolchains /usr/bin/${COMPILER} ${COMPILER}
- qbs setup-qt /usr/bin/qmake qt5
- qbs config defaultProfile qt5
- qbs config profiles.qt5.baseProfile ${COMPILER}
- qbs build -f valentina.qbs -d build --jobs $(nproc) profile:qt5 config:release modules.buildconfig.enableCcache:${ENABLE_CCACHE} modules.cpp.linkerVariant:mold --force-probe-execution
- qbs -p autotest-runner -d build profile:qt5 config:release
- ccache -s
appimage_task_template: &APPIMAGE_TASK_TEMPLATE
<< : *QBS_TASK_FILTER
pip_cache:
folder: ${PIP_CACHE_DIR}
conan_cache:
folder: "~/.conan/data"
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL qt515base qt515svg qt515tools qt515xmlpatterns qt515translations qt515doc qt515imageformats poppler-utils git xvfb ccache build-essential libgl1-mesa-dev libicu-dev python3-pip cmake"
- git fetch --tags
- python3 --version
- pip3 install --user --upgrade pip dropbox py7zr 'urllib3<2.0' conan==1.63.0 requests
build_script:
- uname -a
- mkdir -pm 0700 $XDG_RUNTIME_DIR
- Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix &
- sleep 1
- ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
- export PATH="${PATH}:/root/.local/bin"
- echo $PATH
- which qmake
- which qbs
- pwd
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- ${COMPILER} --version
- qmake --version
- qbs --version
- conan profile new valentina
- conan profile update settings.build_type=Release valentina
- conan profile update settings.os=Linux valentina
- conan profile update settings.os_build=Linux valentina
- conan profile update settings.arch=x86_64 valentina
- conan profile update settings.arch_build=x86_64 valentina
- conan profile update settings.compiler=clang valentina
- conan profile update settings.compiler.libcxx=libstdc++11 valentina
- conan profile update settings.compiler.version=10 valentina
- qbs setup-toolchains /usr/bin/${COMPILER} ${COMPILER}
- qbs setup-qt /opt/qt515/bin/qmake qt5
- qbs config defaultProfile qt5
- qbs config profiles.qt5.baseProfile ${COMPILER}
- conan install . -s os=Linux --build=missing -o with_crash_reporting=True -pr=valentina
- qbs build -f valentina.qbs -d $CIRRUS_WORKING_DIR/build --jobs $(nproc) profile:qt5 config:release modules.buildconfig.enableCcache:${ENABLE_CCACHE} qbs.installRoot:$CIRRUS_WORKING_DIR/build/AppDir modules.buildconfig.enableAppImage:true modules.buildconfig.enableRPath:false project.conanWithCrashReporting:true project.enableConan:true project.conanProfiles:valentina
- qbs -p autotest-runner -d build profile:qt5 config:release
- export CRASH_QT_VERSION=$(/opt/qt515/bin/qmake -query QT_VERSION | awk -F. '{print $1 "_" $2}')
- export CRASH_SHORT_SHA=$(git log --pretty=format:%h -n 1)
- python3 scripts/symupload.py $CIRRUS_WORKING_DIR/build/AppDir $VALENTINA_VERSION g$CRASH_SHORT_SHA $CRASH_QT_VERSION --clean
- appimage-builder --recipe dist/AppImage/AppImageBuilder.yml --appdir $CIRRUS_WORKING_DIR/build/AppDir --skip-test
- ccache -s
deploy_script:
- pwd
- $CIRRUS_WORKING_DIR/scripts/appimage-deploy.sh
linux_task:
<< : *REGULER_TASK_TEMPLATE
env:
DEBIAN_FRONTEND: "noninteractive"
PACKAGE_MANAGER_INSTALL: "apt-get -qq update && apt-get install -y"
DISPLAY: ":90"
XDG_RUNTIME_DIR: "/tmp/runtime-kdeci/"
matrix:
- container:
image: dismine/clang-ubuntu:latest
env:
COMPILER: clang
QMAKE_SPEC: "linux-clang"
COMPILER_REGEX: clang
matrix:
- name: 'latest Clang [Qt5 QMake]'
<< : *QMAKE_TASK_FILTER
<< : *LINUX_QT5_QMAKE_TASK_TEMPLATE
env:
QT_SELECT: "qt5"
container:
cpu: 2
memory: 6G # Set to 6GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
- name: 'latest Clang [Qt5 QBS]'
<< : *LINUX_QT5_QBS_TASK_TEMPLATE
env:
QT_SELECT: "qt5"
ENABLE_CCACHE: true
container:
cpu: 2
memory: 6G # Set to 6GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
- name: 'latest Clang [Qt6]'
<< : *LINUX_QT6_TASK_TEMPLATE
env:
QT_SELECT: "qt6"
ENABLE_CCACHE: true
container:
cpu: 8
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
- container:
image: dismine/gcc-ubuntu:13
env:
COMPILER: gcc
QMAKE_SPEC: "linux-g++"
GCC_COLORS: 'error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
COMPILER_REGEX: "gcc|g\\+\\+"
matrix:
- name: 'GCC 13 [Qt5 QMake]'
<< : *QMAKE_TASK_FILTER
<< : *LINUX_QT5_QMAKE_TASK_TEMPLATE
env:
QT_SELECT: "qt5"
container:
cpu: 2
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
- container:
image: dismine/appimage-builder:latest
env:
COMPILER: clang
QMAKE_SPEC: "linux-clang"
COMPILER_REGEX: clang
PIP_CACHE_DIR: ${HOME}/.cache/pip
matrix:
- name: 'AppImage'
<< : *APPIMAGE_TASK_TEMPLATE
env:
ACCESS_TOKEN: ENCRYPTED[81e0b2381ffb628b73f5c94f834010e6631191e0ad03cdd0850d440fb2737a74b68131d842030f010c1bf73ab4cdc1ae]
DEPLOY: "true"
QT_SELECT: "qt5"
ENABLE_CCACHE: true
VERSION: "continuous"
QT_VERSION: Qt6
ARCH: x86_64
TARGET_PLATFORM: "Linux"
VALENTINA_VERSION: 0_7_52
container:
cpu: 4
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
- container:
image: dismine/gcc-ubuntu:latest
env:
COMPILER: gcc
QMAKE_SPEC: "linux-g++"
GCC_COLORS: 'error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
COMPILER_REGEX: "gcc|g\\+\\+"
matrix:
- name: 'latest GCC [Qt5 QBS]'
<< : *LINUX_QT5_QBS_TASK_TEMPLATE
env:
QT_SELECT: "qt5"
ENABLE_CCACHE: true
container:
cpu: 3
memory: 10G # Set to 10GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
- name: 'latest GCC [Qt6]'
<< : *LINUX_QT6_TASK_TEMPLATE
env:
QT_SELECT: "qt6"
ENABLE_CCACHE: true
container:
cpu: 4
memory: 16G # Set to 16GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
- name: 'Sonar, latest GCC [Qt6]'
<< : *LINUX_QT6_TASK_SONAR_TEMPLATE
env:
QT_SELECT: "qt6"
SONAR_TOKEN: ENCRYPTED[!715ab983713a5035d505d2c601c9bb78a9475b9a04db62cdda9c674affd58ac956e563ce6d38228b48e05c4dbea2f52d!]
container:
cpu: 8
memory: 10G # Set to 10GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
sonar_cache:
folder: "${HOME}/.sonar/cache"
macos_task_template: &MACOS_TASK_TEMPLATE
<< : *QBS_TASK_FILTER
<< : *REGULER_TASK_TEMPLATE
timeout_in: 120m
env:
ACCESS_TOKEN: ENCRYPTED[81e0b2381ffb628b73f5c94f834010e6631191e0ad03cdd0850d440fb2737a74b68131d842030f010c1bf73ab4cdc1ae]
# Should contain the base64 of the certificate
MACOS_CERTIFICATE: ENCRYPTED[6600e8c131eaa3ca1d8e4d61a266bfbbf072d557ba89d34e5fb044f8d07af857ea163543824a4a664636a50c1d6d9456]
# Should contain the full certificate name, such as Developer ID Application: Your Name (K1234567)
MACOS_CERTIFICATE_NAME: ENCRYPTED[9b9e4b0b596a19690a97abfaa8ec90176d8c9567c0c807757ee5dda02672a7426cd25fea3bb7652958abc970912b2138]
# Should contain the password you chose when exported the certificate from the Keychain Access app
MACOS_CERTIFICATE_PWD: ENCRYPTED[ad78a1c7b5b17ef56c833664cd6a71563b7ea4157ad2daa8e89d88988bdc3f7a669b9d2ee3e47b911707c37f6d84153e]
# Should contain apple developer email, the same used the Apple Developer subscription
MACOS_NOTARIZATION_APPLE_ID: ENCRYPTED[38dc4848b24abb90c25a0a1156de39af8c88aea6267e934e59cc5fb17dc528e3c1a93d8a9695fe937f4894d10eac707e]
# Should contain the app-specific password
MACOS_NOTARIZATION_PWD: ENCRYPTED[1df7f3455fb6837adf9ccf2913b5609c0a5125dca3147ece0a51001cf322234c5382977f28a783222f974525a1794cf4]
# Should contain the Team ID
MACOS_NOTARIZATION_TEAM_ID: ENCRYPTED[8499d687ffd7f6eacda48bd3692bfb22ea6a25eb4a59637b9ff10caa3c8a2df681a790e99b976e7a419d8e5fad2ad35c]
# Should contain a strong, randomly generated password
MACOS_CI_KEYCHAIN_PWD: ENCRYPTED[7f08698aea44fb7c900267c439c1dfe54e218082e5d6b2354cecc00e21bc640058a55036fd027a1fb5a3d72356abb9ea]
QTDIR: "/opt/homebrew/opt/qt6"
PATH: $QTDIR/bin:${PATH}
# ^ add user paths
PIP_CACHE_DIR: ${HOME}/.cache/pip
LDFLAGS: "-L$QTDIR/lib"
CPPFLAGS: "-I$QTDIR/include"
HOMEBREW_NO_AUTO_UPDATE: ""
local_homebrew_cache:
folder: "$HOME/Library/Caches/Homebrew"
global_conan_cache:
folder: "$HOME/Library/Caches/Conan"
local_conan_cache:
folder: "~/.conan/data"
pip_cache:
folder: ${PIP_CACHE_DIR}
install_script:
- git fetch --tags
- clang --version
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
- sudo xcode-select -p
- xcrun --show-sdk-path -sdk macosx
# Decode the environment variable into a regular .p12 file
- echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12
# We need to create a new keychain, otherwise using the certificate will prompt
# with a UI dialog asking for the certificate password, which we can't
# use in a headless CI environment
# Create the keychain with a password ($MACOS_CI_KEYCHAIN_PWD)
- security create-keychain -p "$MACOS_CI_KEYCHAIN_PWD" $HOME/Library/Keychains/build.keychain
# Make the custom keychain default, so xcodebuild will use it for signing
- security default-keychain -s $HOME/Library/Keychains/build.keychain
# Unlock the keychain
- security unlock-keychain -p "$MACOS_CI_KEYCHAIN_PWD" $HOME/Library/Keychains/build.keychain
- security set-keychain-settings $HOME/Library/Keychains/build.keychain
# Check if System.keychain is not cluttered
# good: 60K
# bad: 25MB
- du -h /Library/Keychains/System.keychain
# Add certificates to keychain and allow codesign to access them
# 1) Apple Worldwide Developer Relations Certification Authority
- curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
- sudo security import $HOME/AppleWWDRCAG3.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
# 2) Developer Authentication Certification Authority
- curl https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer --output $HOME/DeveloperIDG2CA.cer --silent
- sudo security import $HOME/DeveloperIDG2CA.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
# 3) Developer ID
- security import certificate.p12 -k $HOME/Library/Keychains/build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
# Delete the files, we no longer need them
- rm $HOME/AppleWWDRCAG3.cer
- rm $HOME/DeveloperIDG2CA.cer
- rm certificate.p12
# Set the partition list (sort of like an access control list)
- security set-key-partition-list -S "apple-tool:,apple:,codesign:" -s -k "$MACOS_CI_KEYCHAIN_PWD" $HOME/Library/Keychains/build.keychain
# Echo the identity, just so that we know it worked.
# This won't display anything secret.
- security find-identity -v -p codesigning
- brew update > /dev/null
- brew install qt6 coreutils ccache qbs cmake ninja git openssl@1.1 pkg-config poppler xerces-c
- brew outdated
- brew upgrade qt6
- echo $PATH
- export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH"
- echo $PATH
- python3 --version
- pip3 install --break-system-packages --user --upgrade pip dropbox py7zr 'urllib3<2.0' conan==1.63.0 requests setuptools
- ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
- qmake --version
- which qmake
- qbs --version
build_script:
- echo $PATH
- export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$HOME/.cargo/bin:$PATH"
- echo $PATH
- whereis python3
- sudo mkdir /usr/local/bin
- sudo ln -s -f /usr/bin/python3 /usr/local/bin/python
- sudo ln -s /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/usr/bin/python
- whereis python
- pwd
- curl -LJ https://github.com/dismine/macdeployqt/archive/refs/heads/main.zip --output ${HOME}/macdeployqt-main.zip --silent
- unzip ${HOME}/macdeployqt-main.zip -d ${HOME}
- cmake ${HOME}/macdeployqt-main -GNinja -S ${HOME}/macdeployqt-main -B ${HOME}/macdeployqt-build-dir -DCMAKE_INSTALL_PREFIX=${HOME}/macdeployqt-install-dir -DCMAKE_BUILD_TYPE=Release
- cmake --build ${HOME}/macdeployqt-build-dir --target install
- conan profile new valentina
- conan profile update settings.build_type=Release valentina
- conan profile update settings.os=Macos valentina
- conan profile update settings.os_build=Macos valentina
- conan profile update settings.arch=armv8 valentina
- conan profile update settings.arch_build=armv8 valentina
- conan profile update settings.compiler=apple-clang valentina
- conan profile update settings.compiler.cppstd=17 valentina
- conan profile update settings.compiler.libcxx=libc++ valentina
- conan profile update settings.compiler.version=15 valentina
- qbs setup-toolchains --detect
- qbs config --list profiles
- qbs setup-qt /opt/homebrew/opt/qt6/bin/qmake qt6
- qbs config defaultProfile qt6
- qbs config profiles.qt6.baseProfile clang
- conan install . -s os=Macos --build=missing -o with_crash_reporting=True -pr=valentina
- qbs build -f valentina.qbs -d $CIRRUS_WORKING_DIR/build --jobs $(nproc) config:release modules.buildconfig.enableUnitTests:false modules.buildconfig.enableMultiBundle:${MULTI_BUNDLE} qbs.installRoot:$CIRRUS_WORKING_DIR/build/install-root profile:qt6 project.minimumMacosVersion:${MACOS_DEPLOYMENT_TARGET} modules.buildconfig.enableCcache:${ENABLE_CCACHE} moduleProviders.qbspkgconfig.extraPaths:$(brew --prefix xerces-c)/lib/pkgconfig,$(brew --prefix qt6)/lib/pkgconfig,$(brew --prefix openssl@1.1)/lib/pkgconfig "modules.buildconfig.signingIdentity:$MACOS_CERTIFICATE_NAME" modules.macdeployqt.libpath:$(brew --prefix qt6)/lib,$(brew --prefix poppler)/lib modules.macdeployqt.macdeployqtProgramBinPath:${HOME}/macdeployqt-install-dir project.enableConan:true project.conanWithCrashReporting:true project.conanProfiles:valentina
- export CRASH_QT_VERSION=$(/opt/homebrew/opt/qt6/bin/qmake -query QT_VERSION | awk -F. '{print $1 "_" $2}')
- export CRASH_SHORT_SHA=$(git log --pretty=format:%h -n 1)
- curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mozilla/dump_syms/releases/download/v2.3.1/dump_syms-installer.sh | sh
- python3 scripts/symupload.py $CIRRUS_WORKING_DIR/build/install-root $VALENTINA_VERSION g$CRASH_SHORT_SHA $CRASH_QT_VERSION --multibundle=$MULTI_BUNDLE --clean
- qbs build -f valentina.qbs -d $CIRRUS_WORKING_DIR/build -p 'Valentina DMG' --force-probe-execution --jobs $(nproc) config:release modules.buildconfig.enableUnitTests:false modules.buildconfig.enableMultiBundle:${MULTI_BUNDLE} qbs.installRoot:$CIRRUS_WORKING_DIR/build/install-root profile:qt6 project.minimumMacosVersion:${MACOS_DEPLOYMENT_TARGET} modules.buildconfig.enableCcache:${ENABLE_CCACHE} moduleProviders.qbspkgconfig.extraPaths:$(brew --prefix xerces-c)/lib/pkgconfig,$(brew --prefix qt6)/lib/pkgconfig,$(brew --prefix openssl@1.1)/lib/pkgconfig "modules.buildconfig.signingIdentity:$MACOS_CERTIFICATE_NAME" modules.macdeployqt.libpath:$(brew --prefix qt6)/lib,$(brew --prefix poppler)/lib modules.macdeployqt.macdeployqtProgramBinPath:${HOME}/macdeployqt-install-dir project.enableConan:true project.conanWithCrashReporting:true project.conanProfiles:valentina
# Store the notarization credentials so that we can prevent a UI password dialog
# from blocking the CI
- echo "Create keychain profile"
- xcrun notarytool store-credentials "notarytool-profile" --apple-id "$MACOS_NOTARIZATION_APPLE_ID" --team-id "$MACOS_NOTARIZATION_TEAM_ID" --password "$MACOS_NOTARIZATION_PWD"
# Here we send the notarization request to the Apple's Notarization service, waiting for the result.
# This typically takes a few seconds inside a CI environment, but it might take more depending on the App
# characteristics. Visit the Notarization docs for more information and strategies on how to optimize it if
# you're curious
- echo "Notarize app"
- xcrun notarytool submit "$CIRRUS_WORKING_DIR/build/install-root/share/valentina.dmg" --keychain-profile "notarytool-profile" --wait --timeout 5m || true
# Finally, we need to "attach the staple" to our executable, which will allow our app to be
# validated by macOS even when an internet connection is not available.
- echo "Attach staple"
- xcrun stapler staple $CIRRUS_WORKING_DIR/build/install-root/share/valentina.dmg || true
- ccache -s
deploy_script:
- pwd
- $CIRRUS_WORKING_DIR/scripts/cirrus-deploy.sh
before_cache_script:
- brew cleanup
macos_task:
macos_instance:
image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest
<< : *MACOS_TASK_TEMPLATE
env:
DEPLOY: "true"
QT_VERSION: Qt6
ARCH: armv8
TARGET_PLATFORM: "macOS_12.4+"
MACOS_DEPLOYMENT_TARGET: 12.0
ENABLE_CCACHE: true
VALENTINA_VERSION: 0_7_52
matrix:
- name: 'macOS Monterey 12 [signle bundle, no tests]'
env:
MULTI_BUNDLE: false
- name: 'macOS Monterey 12 [multi bundle, no tests]'
env:
MULTI_BUNDLE: true

38
.clang-format Normal file
View File

@ -0,0 +1,38 @@
BasedOnStyle: LLVM
IndentWidth: 4
UseTab: Never
TabWidth: 4
SpacesBeforeTrailingComments: 1
ColumnLimit: 120
BreakBeforeBraces: Allman
BraceWrapping:
AfterControlStatement: Always
AfterFunction: true
SplitEmptyRecord: false
BeforeElse: true
IndentBraces: true
AfterCaseLabel: true
AfterClass: true
AfterEnum: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeLambdaBody: true
BeforeWhile: true
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
PackConstructorInitializers: Never
ConstructorInitializerIndentWidth: 2
CommentPragmas: NOLINT:.*
AllowShortFunctionsOnASingleLine: InlineOnly
Standard: Cpp11
Cpp11BracedListStyle: true
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
IndentAccessModifiers: false
AccessModifierOffset: -4
SpaceBeforeParens: ControlStatementsExceptControlMacros
IndentCaseLabels: true
StatementMacros: ['Q_OBJECT', 'Q_UNUSED']

27
.github/workflows/email.yml vendored Normal file
View File

@ -0,0 +1,27 @@
on:
check_suite:
type: ['completed']
name: Email about Cirrus CI failures
jobs:
continue:
name: After Cirrus CI Failure
if: github.event.check_suite.app.name == 'Cirrus CI' && github.event.check_suite.conclusion != 'success'
runs-on: ubuntu-latest
steps:
- uses: octokit/request-action@v2.x
id: get_failed_check_run
with:
route: GET /repos/${{ github.repository }}/check-suites/${{ github.event.check_suite.id }}/check-runs?status=completed
mediaType: '{"previews": ["antiope"]}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
echo "Cirrus CI ${{ github.event.check_suite.conclusion }} on ${{ github.event.check_suite.head_branch }} branch!"
echo "SHA ${{ github.event.check_suite.head_sha }}"
echo $MESSAGE
echo "##[error]See $CHECK_RUN_URL for details" && false
env:
CHECK_RUN_URL: ${{ fromJson(steps.get_failed_check_run.outputs.data).check_runs[0].html_url }}

231
.github/workflows/windows.yml vendored Normal file
View File

@ -0,0 +1,231 @@
name: Windows build
on:
push:
branches:
- 'master'
- 'develop'
tags:
- 'v*'
pull_request:
branches:
- 'master'
- 'develop'
defaults:
run:
shell: cmd
env:
SOURCE_DIR: ${{ github.workspace }}
INSTALL_QT: 6.7.0
QBS_VERSION: 2.2.2
VALENTINA_VERSION: 0_7_52
ACCESS_TOKEN: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
jobs:
Windows_Qt_6_7_MSVC_x64:
name: Windows Qt 6.7 (MSVC x64)
runs-on: windows-latest
env:
DEPLOY: 'true'
RUN_TESTS: 'true'
WITH_CRASH_REPORTING: 'True'
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-tags: true
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.INSTALL_QT }}
host: 'windows'
target: 'desktop'
arch: win64_msvc2019_64
dir: ${{ runner.temp }}
modules: 'qtimageformats'
cache: true
tools: 'tools_cmake tools_opensslv3_x64'
setup-python: false
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
architecture: "x64"
cache: 'pip'
cache-dependency-path: '**/requirements-ci.txt'
- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: Install Python dependencies
run: |
python --version
python -m pip install --upgrade setuptools
python -m pip install -r share/requirements-ci.txt
- name: Cache Chocolatey
uses: actions/cache@v4
with:
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
# This caches the cache, no need to make sure that this is invalidated
# chocolatey will do that for us.
key: chocolatey-cache
- name: Install Chocolatey dependencies
run: |
choco install qbs -y --version=${{ env.QBS_VERSION }}
qbs --version
- name: Find cl.exe
id: cl-path
shell: pwsh
run: |
function Locate-VSWhere {
$path = Get-Command 'vswhere' -ErrorAction SilentlyContinue
if ($path) {
$path.Path
} else {
Join-Path ${env:ProgramFiles(x86)} 'Microsoft Visual Studio' 'Installer' 'vswhere'
}
}
function Locate-VS {
# vswhere doesn't search for Build Tools by default, God knows why.
# https://github.com/microsoft/vswhere/issues/22
$products = 'Community','Professional','Enterprise','BuildTools' | %{ "Microsoft.VisualStudio.Product.$_" }
$vswhere = Locate-VSWhere
& $vswhere -products $products -latest -format json | ConvertFrom-Json
}
function Locate-CLPath {
$vsInfo = Locate-VS
if ($vsInfo) {
$vsInstallPath = $vsInfo[0].installationPath
$clPath = Join-Path $vsInstallPath 'VC\Tools\MSVC'
$latestVersion = (Get-ChildItem -Path $clPath | Where-Object { $_.PSIsContainer } | Sort-Object -Property Name -Descending)[0].Name
$clPath = Join-Path $clPath $latestVersion
$clPath = Join-Path $clPath 'bin\Hostx64\x64\cl.exe'
return $clPath
} else {
Write-Output "Visual Studio not found."
return $null
}
}
$clPath = Locate-CLPath
echo "Found Cl at $clPath"
echo "cl-path=$clPath" >> $env:GITHUB_OUTPUT
# To cache Conan 1.x packages in GitHub Actions, you can save the .conan/data directory for every OS like this:
- name: Setup path to Conan home folder
run: echo CONAN_USER_HOME=${{ runner.temp }} >> ${{ github.env }}
- name: Cache Conan packages
uses: actions/cache@v4
with:
path: ${{ env.CONAN_USER_HOME }}\.conan\data
key: conan-packages-${{ runner.os }}-v1-${{ hashFiles('**/conanfile.py') }}
restore-keys: conan-packages-${{ runner.os }}-
# For Conan 2.0 setting conan_home=./.conan2 in the .conanrc file and saving .conan2/p directory seems to work as well.
- name: Before build
run: |
qbs-setup-toolchains --detect
qbs-setup-qt %Qt6_DIR%\bin\qmake.exe qt6
qbs-config defaultProfile qt6
qbs-setup-toolchains.exe --type msvc "${{ steps.cl-path.outputs.cl-path }}" msvc
qbs-config.exe profiles.qt6.baseProfile msvc
conan config install https://gist.github.com/dismine/0abab496338183c36661e635c2aeab8d.git
type ${{ env.CONAN_USER_HOME }}\.conan\settings.yml
conan profile new valentina
conan profile update settings.build_type=Release valentina
conan profile update settings.os=Windows valentina
conan profile update settings.arch=x86_64 valentina
conan profile update settings.compiler=msvc valentina
conan profile update settings.compiler.cppstd=17 valentina
conan profile update settings.compiler.runtime=dynamic valentina
conan profile update settings.compiler.runtime_type=Release valentina
conan profile update settings.compiler.version=192 valentina
qbs-config --list profiles
conan profile list
- name: Build Conan dependencies
run: conan install . -s os=Windows --build=missing -o with_crash_reporting=${{ env.WITH_CRASH_REPORTING }} -o with_xerces=True -pr=valentina
- name: Build Valentina
run: >
qbs build
-f valentina.qbs
-d ${{ runner.temp }}\build
config:release
qbs.installRoot:${{ runner.temp }}\build\install-root\valentina
profile:qt6
project.enableConan:true
project.conanWithCrashReporting:${{ env.WITH_CRASH_REPORTING }}
project.conanWithXerces:true
project.conanProfiles:valentina
modules.buildconfig.enablePCH:true
modules.windeployqt.compilerRuntime:true
modules.windeployqt.noCompilerRuntime:false
- name: Tests
if: env.RUN_TESTS == 'true'
run: qbs -p autotest-runner -d ${{ runner.temp }}\build profile:qt6 config:release
- name: Deploy symbols
if: env.WITH_CRASH_REPORTING == 'True'
shell: pwsh
run: |
$qmakeOutput = & "$env:Qt6_DIR\bin\qmake.exe" -query QT_VERSION
$majorMinorVersion = $qmakeOutput -replace '(\d+)\.(\d+).*', '$1_$2'
$env:CRASH_QT_VERSION = $majorMinorVersion
$env:CRASH_SHORT_SHA = git log --pretty=format:%h -n 1
./scripts/install_dump_sysms.ps1
& python ./scripts/symupload.py ${{ runner.temp }}\build\install-root\valentina $env:VALENTINA_VERSION g$env:CRASH_SHORT_SHA $env:CRASH_QT_VERSION --clean
- name: Create installer
if: github.event_name != 'pull_request' && env.DEPLOY == 'true'
run: >
qbs build
-f valentina.qbs
-d ${{ runner.temp }}\build
-p ValentinaSetup
config:release
qbs.installRoot:${{ runner.temp }}\build\install-root\valentina
profile:qt6
project.enableConan:true
project.conanWithCrashReporting:${{ env.WITH_CRASH_REPORTING }}
project.conanWithXerces:true
project.conanProfiles:valentina
modules.buildconfig.enablePCH:true
modules.windeployqt.compilerRuntime:true
modules.windeployqt.noCompilerRuntime:false
- name: Commit hash
id: commit
if: github.event_name != 'pull_request' && env.DEPLOY == 'true'
uses: prompt/actions-commit-hash@v3
- name: Deploy
if: github.event_name != 'pull_request' && env.DEPLOY == 'true'
shell: pwsh
env:
VALENTINA_BUILD_FOLDER: ${{ runner.temp }}\build
APPVEYOR_BUILD_FOLDER: ${{ env.SOURCE_DIR }}
APPVEYOR_REPO_BRANCH: ${{ github.base_ref || github.ref_name }}
APPVEYOR_REPO_COMMIT: ${{ steps.commit.outputs.hash }}
PYTHON: ${{ env.Python3_ROOT_DIR }}
TARGET_PLATFORM: "Windows10+"
ARCH: x64
COMPILER: msvc
QT_VERSION: Qt6_7
run: ./scripts/appveyor-deploy.ps1

22
.gitignore vendored
View File

@ -73,7 +73,6 @@ cov-int/
*.la
*.a
*.lib
*.lo
# Executables
*.exe
@ -97,7 +96,6 @@ moc_*.cpp
qrc_*.cpp
ui_*.h
Makefile*
*-build-*
# Ignore Qt translation file
*.qm
@ -118,7 +116,6 @@ Makefile*
*.xcodeproj
# OSX specific
.DS_Store
.AppleDouble
.LSOverride
@ -166,3 +163,22 @@ $RECYCLE.BIN/
*.udb
__pycache__
# Temporary svg cursor files
/src/app/valentina/share/resources/cursor/svg/light/
/src/app/valentina/share/resources/cursor/svg/dark/
# Sonar Cloud
.scannerwork
bw-output
# Conan
/activate_run.ps1
/activate_run.sh
/conanbuildinfo.txt
/conaninfo.txt
/deactivate_run.ps1
/deactivate_run.sh
/environment_run.ps1.env
/environment_run.sh.env
/graph_info.json

View File

@ -1,4 +1,7 @@
language: cpp
env:
global:
- secure: Zo+BbyV3sgNmKHwWvn7cCt3leXCLGbE9rSrAYoCrl22OEDZjPj7KeGzQ/59xLosE5v8PA5MV8KceH7aQB9GoIbDt6sHLw5mws13VXmy5HWtM7yhk2RpNnn1gTZIfEz33QGYuPG1geapTcZtZfaVKFU04PMkvk3f7zxA1HuS6zGRgzrNv1AmcpuOGH4LIGxbk3Z1S6xGcUMj/z9calyLlmPTOfbDLJWChU11FMVmvdTzyeDLE0oQZ5IkmsowluCfDHARfIijeRuPiuU8RzJptYEIzcWvpQ6gfDb4qDWndA9BgPDkN2aTmPL5/TA/S9zfs8BKjo07sg0TaVbTboPisyS/gGDf3SBYxlAS9B95KKdRzGGD41ZYe+cHod5tgWUt5gO/Obq2MPY/GltSwuq5KEsR+R/pKVLby/k7+R5oCO8avXJPL5HBgn46ZehEzpw0I8LFQ/ed+dLqykrxaSiA2/zHAkHSeVZptzegoCF5xeDf6T/rJFNqxr1BV3kVLPiXW90z0m63Hv2K6rz8LmBUNTQcR/mrLpkpdbQ8UQ/et30o7CE2GcJLLzUDNcjxYfA1fe66oR9L+euqyBtZc8dNuzy1iIaUOLazGWYkdlUpiYnGvWrxv6BUwzAJYpiXjWELtcTVUGMjMBpkvAmwV1FjZN45isX2iHGz5XhoVDrjbE5c=
jobs:
include:
- stage: main test
@ -9,10 +12,10 @@ jobs:
- DEPLOY=false
- CCACHE_CPP2=yes
- RUN_TESTS=true
cache:
ccache: true
directories:
- "$HOME/.sonar/cache"
cache:
ccache: true
directories:
- "$HOME/.sonar/cache"
- os: linux
dist: bionic
compiler: clang
@ -21,29 +24,42 @@ jobs:
- CCACHE_CPP2=yes
- RUN_TESTS=true
cache:
ccache: true
directories:
- "$HOME/.sonar/cache"
ccache: true
directories:
- "$HOME/.sonar/cache"
- os: osx
compiler: clang
env:
- DEPLOY=true
- LEGACY=false
- XCODE=xcode12_2
osx_image: xcode12.2
cache:
directories:
- "$HOME/Library/Caches/Homebrew"
- "/usr/local/Homebrew"
- os: osx
compiler: clang
env:
- DEPLOY=true
- LEGACY=false
- XCODE=xcode11
osx_image: xcode11
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
- "$HOME/Library/Caches/Homebrew"
- "/usr/local/Homebrew"
- os: osx
compiler: clang
env:
- DEPLOY=true
- LEGACY=true
- XCODE=xcode8
osx_image: xcode8
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
- "$HOME/Library/Caches/Homebrew"
- "/usr/local/Homebrew"
before_cache:
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew cleanup; fi
# Credit https://discourse.brew.sh/t/best-practice-for-homebrew-on-travis-brew-update-is-5min-to-build-time/5215/9
@ -76,10 +92,13 @@ before_install:
chmod -R 755 /usr/local/opt/qt5/*
else
unset SSL_CERT_FILE;
HOMEBREW_NO_AUTO_UPDATE=1 brew install https://gist.githubusercontent.com/dismine/c3ac01de38e12edcf22d9e05791adf82/raw/f553c39bbc5f3a2b231a767924e846bdd2a56d8d/qt.rb;
HOMEBREW_NO_AUTO_UPDATE=1 brew install https://gist.githubusercontent.com/dismine/c3ac01de38e12edcf22d9e05791adf82/raw/1218041ffba3ff4b64d109e64a9a867f8fe394c1/qt.rb;
brew link qt --force;
chmod -R 755 /usr/local/opt/qt/*
chmod -R 755 /usr/local/opt/qt/*;
HOMEBREW_NO_AUTO_UPDATE=1 brew install python3;
fi
python3 --version;
pip3 install dropbox;
fi
before_script:
- |
@ -105,7 +124,11 @@ before_script:
qmake ../Valentina.pro -r -spec linux-clang CONFIG+=noDebugSymbols CONFIG+=checkWarnings CONFIG+=noTests;
fi
else
qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests;
if [[ "$LEGACY" = false ]]; then
qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests;
else
qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=noTests;
fi
fi
script:
- "$CXX --version"
@ -125,23 +148,6 @@ notifications:
- dismine@gmail.com
on_success: change
on_failure: always
before_deploy:
- |
if [[ "$DEPLOY" == "true" ]]; then
../scripts/macfixqtdylibrpath.py $TRAVIS_BUILD_DIR/build/src/app/valentina/bin/Valentina.app;
if [[ "$LEGACY" = false ]]; then
tar -C $TRAVIS_BUILD_DIR/build/src/app/valentina/bin --exclude "*.DS_Store" -cvzf valentina-osx-${TRAVIS_COMMIT}.tar.gz Valentina.app/;
else
tar -C $TRAVIS_BUILD_DIR/build/src/app/valentina/bin --exclude "*.DS_Store" -cvzf valentina-osx-${TRAVIS_COMMIT}-legacy.tar.gz Valentina.app/;
fi
fi
deploy:
provider: bintray
skip_cleanup: true
file: "../share/bintray.json"
user: dismine
key:
secure: q9rcswyUyOqHAnxL0FLEQ8tdFkE21kNlv/TUpZgk0MbcsWRhBWaKJVv5kz6ABkjeLMB7c7eS7KfYRui0RFBKHI7ZnpzHBZN4f1aGd/rf9m5qaZdKFFBlpz4tXPHvXOVyXRwOReqFj7brAz6NB+oqJN8HFA4Q1y039yZOaHt28JkwYSDqS5lRvbwegYS8kaJupGZcm8NaNeB8tuXuZ/8DIQpZdVKmBUwpgpPAewCEqYP4z9DUpsmMZ5h63g7mJKm9di91cQr65eS24io6m1ZfAx8M6kTaKwyR5nz8a8bnqR48AAnbNoM8Xj1sgJqnT40DZKPCNr7KL3JSNRglKNgHVMFBOj0v9F5YxsDs8twWuqFVbywB+lNSHDyvGVgmS2+EdwKLQT0YBxYfIL1nh34ed7GffZZmBcAJGfxo8ieAMRgyylSyQIHJ0ZBl6X6DzOvLpvFlcva9yhqZfkx3P/Dgarqklnj3DdvzTDW2vxCT4yVLpMySlBXW2I3s7m8xpOjZbM7eZfMZkwjd/e8IYp8jxdQnxlzNe15mzxSXnZjLz3Rwi1qzhJZyZf4OGVxuQuR9oW+c5q55OOY5hImtZELlJyu1K0zKTd85g0D+WwKj4J30J0QWl1pxZlln59Q5cMmpyQ7sc8zN1WPoWAEyavwPrf4028TpEJqaUw/0cQGg9I4=
on:
all_branches: true
condition: "$DEPLOY = true"
after_success:
- ../scripts/travis-deploy.sh

View File

@ -1,347 +1,11 @@
[main]
host = https://www.transifex.com
lang_map = uk: uk_UA, cs : cs_CZ, nl : nl_NL, fi : fi_FI, es : es_ES, id : id_ID
host = https://www.transifex.com
lang_map = es: es_ES, id: id_ID, uk: uk_UA, cs: cs_CZ, nl: nl_NL, fi: fi_FI
[valentina-project.valentina_ts]
file_filter = share/translations/valentina_<lang>.ts
[o:valentina:p:valentina-project:r:valentina_ts]
file_filter = share/translations/valentina_<lang>.ts
source_file = share/translations/valentina.ts
source_lang = en
type = QT
minimum_perc = 20
source_file = share/translations/valentina.ts
source_lang = en
type = QT
[valentina-project.measurements_p0ts]
file_filter = share/translations/measurements_p0_<lang>.ts
source_file = share/translations/measurements_p0.ts
source_lang = en
type = QT
[valentina-project.measurements_p1ts]
file_filter = share/translations/measurements_p1_<lang>.ts
source_file = share/translations/measurements_p1.ts
source_lang = en
type = QT
[valentina-project.measurements_p2ts]
file_filter = share/translations/measurements_p2_<lang>.ts
source_file = share/translations/measurements_p2.ts
source_lang = en
type = QT
[valentina-project.measurements_p3ts]
file_filter = share/translations/measurements_p3_<lang>.ts
source_file = share/translations/measurements_p3.ts
source_lang = en
type = QT
[valentina-project.measurements_p4ts]
file_filter = share/translations/measurements_p4_<lang>.ts
source_file = share/translations/measurements_p4.ts
source_lang = en
type = QT
[valentina-project.measurements_p5ts]
file_filter = share/translations/measurements_p5_<lang>.ts
source_file = share/translations/measurements_p5.ts
source_lang = en
type = QT
[valentina-project.measurements_p6ts]
file_filter = share/translations/measurements_p6_<lang>.ts
source_file = share/translations/measurements_p6.ts
source_lang = en
type = QT
[valentina-project.measurements_p7ts]
file_filter = share/translations/measurements_p7_<lang>.ts
source_file = share/translations/measurements_p7.ts
source_lang = en
type = QT
[valentina-project.measurements_p8ts]
file_filter = share/translations/measurements_p8_<lang>.ts
source_file = share/translations/measurements_p8.ts
source_lang = en
type = QT
[valentina-project.measurements_p9ts]
file_filter = share/translations/measurements_p9_<lang>.ts
source_file = share/translations/measurements_p9.ts
source_lang = en
type = QT
[valentina-project.measurements_p10ts]
file_filter = share/translations/measurements_p10_<lang>.ts
source_file = share/translations/measurements_p10.ts
source_lang = en
type = QT
[valentina-project.measurements_p11ts]
file_filter = share/translations/measurements_p11_<lang>.ts
source_file = share/translations/measurements_p11.ts
source_lang = en
type = QT
[valentina-project.measurements_p12ts]
file_filter = share/translations/measurements_p12_<lang>.ts
source_file = share/translations/measurements_p12.ts
source_lang = en
type = QT
[valentina-project.measurements_p13ts]
file_filter = share/translations/measurements_p13_<lang>.ts
source_file = share/translations/measurements_p13.ts
source_lang = en
type = QT
[valentina-project.measurements_p14ts]
file_filter = share/translations/measurements_p14_<lang>.ts
source_file = share/translations/measurements_p14.ts
source_lang = en
type = QT
[valentina-project.measurements_p15ts]
file_filter = share/translations/measurements_p15_<lang>.ts
source_file = share/translations/measurements_p15.ts
source_lang = en
type = QT
[valentina-project.measurements_p16ts]
file_filter = share/translations/measurements_p16_<lang>.ts
source_file = share/translations/measurements_p16.ts
source_lang = en
type = QT
[valentina-project.measurements_p17ts]
file_filter = share/translations/measurements_p17_<lang>.ts
source_file = share/translations/measurements_p17.ts
source_lang = en
type = QT
[valentina-project.measurements_p18ts]
file_filter = share/translations/measurements_p18_<lang>.ts
source_file = share/translations/measurements_p18.ts
source_lang = en
type = QT
[valentina-project.measurements_p19ts]
file_filter = share/translations/measurements_p19_<lang>.ts
source_file = share/translations/measurements_p19.ts
source_lang = en
type = QT
[valentina-project.measurements_p20ts]
file_filter = share/translations/measurements_p20_<lang>.ts
source_file = share/translations/measurements_p20.ts
source_lang = en
type = QT
[valentina-project.measurements_p21ts]
file_filter = share/translations/measurements_p21_<lang>.ts
source_file = share/translations/measurements_p21.ts
source_lang = en
type = QT
[valentina-project.measurements_p22ts]
file_filter = share/translations/measurements_p22_<lang>.ts
source_file = share/translations/measurements_p22.ts
source_lang = en
type = QT
[valentina-project.measurements_p23ts]
file_filter = share/translations/measurements_p23_<lang>.ts
source_file = share/translations/measurements_p23.ts
source_lang = en
type = QT
[valentina-project.measurements_p24ts]
file_filter = share/translations/measurements_p24_<lang>.ts
source_file = share/translations/measurements_p24.ts
source_lang = en
type = QT
[valentina-project.measurements_p25ts]
file_filter = share/translations/measurements_p25_<lang>.ts
source_file = share/translations/measurements_p25.ts
source_lang = en
type = QT
[valentina-project.measurements_p26ts]
file_filter = share/translations/measurements_p26_<lang>.ts
source_file = share/translations/measurements_p26.ts
source_lang = en
type = QT
[valentina-project.measurements_p27ts]
file_filter = share/translations/measurements_p27_<lang>.ts
source_file = share/translations/measurements_p27.ts
source_lang = en
type = QT
[valentina-project.measurements_p28ts]
file_filter = share/translations/measurements_p28_<lang>.ts
source_file = share/translations/measurements_p28.ts
source_lang = en
type = QT
[valentina-project.measurements_p29ts]
file_filter = share/translations/measurements_p29_<lang>.ts
source_file = share/translations/measurements_p29.ts
source_lang = en
type = QT
[valentina-project.measurements_p30ts]
file_filter = share/translations/measurements_p30_<lang>.ts
source_file = share/translations/measurements_p30.ts
source_lang = en
type = QT
[valentina-project.measurements_p31ts]
file_filter = share/translations/measurements_p31_<lang>.ts
source_file = share/translations/measurements_p31.ts
source_lang = en
type = QT
[valentina-project.measurements_p32ts]
file_filter = share/translations/measurements_p32_<lang>.ts
source_file = share/translations/measurements_p32.ts
source_lang = en
type = QT
[valentina-project.measurements_p33ts]
file_filter = share/translations/measurements_p33_<lang>.ts
source_file = share/translations/measurements_p33.ts
source_lang = en
type = QT
[valentina-project.measurements_p34ts]
file_filter = share/translations/measurements_p34_<lang>.ts
source_file = share/translations/measurements_p34.ts
source_lang = en
type = QT
[valentina-project.measurements_p35ts]
file_filter = share/translations/measurements_p35_<lang>.ts
source_file = share/translations/measurements_p35.ts
source_lang = en
type = QT
[valentina-project.measurements_p36ts]
file_filter = share/translations/measurements_p36_<lang>.ts
source_file = share/translations/measurements_p36.ts
source_lang = en
type = QT
[valentina-project.measurements_p37ts]
file_filter = share/translations/measurements_p37_<lang>.ts
source_file = share/translations/measurements_p37.ts
source_lang = en
type = QT
[valentina-project.measurements_p38ts]
file_filter = share/translations/measurements_p38_<lang>.ts
source_file = share/translations/measurements_p38.ts
source_lang = en
type = QT
[valentina-project.measurements_p39ts]
file_filter = share/translations/measurements_p39_<lang>.ts
source_file = share/translations/measurements_p39.ts
source_lang = en
type = QT
[valentina-project.measurements_p40ts]
file_filter = share/translations/measurements_p40_<lang>.ts
source_file = share/translations/measurements_p40.ts
source_lang = en
type = QT
[valentina-project.measurements_p41ts]
file_filter = share/translations/measurements_p41_<lang>.ts
source_file = share/translations/measurements_p41.ts
source_lang = en
type = QT
[valentina-project.measurements_p42ts]
file_filter = share/translations/measurements_p42_<lang>.ts
source_file = share/translations/measurements_p42.ts
source_lang = en
type = QT
[valentina-project.measurements_p43ts]
file_filter = share/translations/measurements_p43_<lang>.ts
source_file = share/translations/measurements_p43.ts
source_lang = en
type = QT
[valentina-project.measurements_p44ts]
file_filter = share/translations/measurements_p44_<lang>.ts
source_file = share/translations/measurements_p44.ts
source_lang = en
type = QT
[valentina-project.measurements_p45ts]
file_filter = share/translations/measurements_p45_<lang>.ts
source_file = share/translations/measurements_p45.ts
source_lang = en
type = QT
[valentina-project.measurements_p46ts]
file_filter = share/translations/measurements_p46_<lang>.ts
source_file = share/translations/measurements_p46.ts
source_lang = en
type = QT
[valentina-project.measurements_p47ts]
file_filter = share/translations/measurements_p47_<lang>.ts
source_file = share/translations/measurements_p47.ts
source_lang = en
type = QT
[valentina-project.measurements_p48ts]
file_filter = share/translations/measurements_p48_<lang>.ts
source_file = share/translations/measurements_p48.ts
source_lang = en
type = QT
[valentina-project.measurements_p49ts]
file_filter = share/translations/measurements_p49_<lang>.ts
source_file = share/translations/measurements_p49.ts
source_lang = en
type = QT
[valentina-project.measurements_p50ts]
file_filter = share/translations/measurements_p50_<lang>.ts
source_file = share/translations/measurements_p50.ts
source_lang = en
type = QT
[valentina-project.measurements_p51ts]
file_filter = share/translations/measurements_p51_<lang>.ts
source_file = share/translations/measurements_p51.ts
source_lang = en
type = QT
[valentina-project.measurements_p52ts]
file_filter = share/translations/measurements_p52_<lang>.ts
source_file = share/translations/measurements_p52.ts
source_lang = en
type = QT
[valentina-project.measurements_p53ts]
file_filter = share/translations/measurements_p53_<lang>.ts
source_file = share/translations/measurements_p53.ts
source_lang = en
type = QT
[valentina-project.measurements_p54ts]
file_filter = share/translations/measurements_p54_<lang>.ts
source_file = share/translations/measurements_p54.ts
source_lang = en
type = QT
[valentina-project.measurements_p998ts]
file_filter = share/translations/measurements_p998_<lang>.ts
source_file = share/translations/measurements_p998.ts
source_lang = en
type = QT

View File

@ -3,24 +3,24 @@ to the Valentina project.
Maintainer and founder of the project:
Roman Telezhynskyi <dismine@gmail.com>
Community manager, web site:
Susan Spencer <susan.spencer@gmail.com>
Patch contributors:
Patrick Proy <patrick@proy.org>
* Developing.
Christine Neupert <enaisoc@googlemail.com>
* Testing.
* Testing.
* Translation.
Lindsay Williams <linzkitt@gmail.com>
* Design logo.
* Design logo.
Sabine Schmaltz <sabineschmaltz@gmail.com >
* Developing.
* Developing.
* Documantation.
Felix Ulber <felix.ulber@gmx.de >
* Developing.
* Translation.
* Developing.
* Translation.
Mischa Krempel
* Developing.
* Mac OS package.
@ -34,5 +34,7 @@ Patch contributors:
* Translation.
Bettina Gatzlaff <bettina.gatzlaff@gmail.com>
* Testing
Timo Virtaneva
Timo Virtaneva
* Testing
Serhii Olendarenko <sergey.olendarenko@gmail.com>
* Icons

View File

@ -1,3 +1,243 @@
# Valentina 0.7.53 (unreleased)
- Fix layout sheet export with empty name.
- Fix visualization for tool Point from circle and tangent.
- Fix loading background image.
- [smart-pattern/valentina#187] Puzzle: message "Invalid version: Max supported version 0.1.2" when opening 0.1.1 file in Val 0.7.52.
- Fix export measurement separator to CSV.
- Fix option Hide labels.
- Improve segmenting a curve for calculating a piece path.
- [smart-pattern/valentina#184] Fix incorrect seam allowance.
- Export area of piece in Final measurements.
- New option Show accuracy radius.
- New option Interactive tools.
- Improve error messages while import CSV data.
- [smart-pattern/valentina#189] Fix regression in dialog Known measurements.
- New option. Default piece label template for new pieces.
- Shortcut to quickly enable/disable Interactive tools mode.
- Improve labels for V notch.
- Fix QT issue on MacOS version 11.0 "Big Sur".
- Fix excluding objects in internal path.
- Fix float-point accuracy issue in multisize measurements dimensions.
- Fix compatibility with Richpeace DXF-AAMA/ASTM R12.
- Fix seam allowance. Loose requirements to case with prong.
- Fix list of dimension popup list. Make sure it will always has enough space for values.
- New grainline type: Four way.
- [smart-pattern/valentina#163] Show/hide grainline when export.
- Improve calculating notches.
- Simplify number of versions for DXF AAMA/ASTM.
- New notch type - Check Notch.
- Control a notch width and angle with formulas.
- Independent translation for piece labels.
- Piece labels line break.
- Support for single-line fonts.
- Export to HP-GL format.
- Fix crash after using tool Union of details.
- Tool box redesign.
- Increased requirement for minimal Qt version.
- Support for Dark mode.
- Fix issue with passing incorrect number of dimension to Tape.
- New option: Pointer mode.
- Fix GUI freezing while nesting.
- New option: Use Tool Groups.
- Redesign notch context menu to allow quick selection of the notch type.
- Redesign standard path system.
- New option: Translate formula.
- Fix filling piece label data.
- New piece option Follow grainline.
- Validate sheet and layout names before proposing file name.
- Puzzle app. Fix piece position move when update layout data.
- Puzzle app. Fix losing selection by piece.
- Puzzle app. Fix updating layout when file already opened.
- Tape app. Custom measurement name.
- Tape app. Show variables in order they were added.
- Shortcuts manager.
- Support for custom known measurements.
- Allow negative values.
- Tape app. New feature: Always keep on top.
- [smart-pattern/valentina#188] Label %mFileName% file name punctuation.
- Adding removing nodes of curved path.
- New tools: Arc start point, Arc end point.
- Optimize U-notch shape.
- New feature. Boundary together with notches.
- Puzzle app. Horizontal piece flipping.
- Mirror line.
- Fold line.
- Minimal Qt version increased to Qt 5.15. Minimal C++ standard to C++17.
- Updated Windows installer.
- Automatic crash reports.
- Improve compatibility with Richpeace CAD.
- New warning "Piece gape position".
- New feature. Hide/Show enabled grainline.
# Valentina 0.7.52 September 12, 2022
- Fix crash when default locale is ru.
- Puzzle app. Fix incorrect update of a layout piece.
- Fix visualization for tool Point of intersection line and axis.
- Improved curve segment warnings.
- Tape app. Add action Add separator to menu.
- Tape app. Fix crash after switching language.
- Fix Valentina app crash after canceling a tool.
- Puzzle app. Fix reading a piece name.
- Fix warning while segmenting flipped arc.
- Tape app. "Export from existing ..." now supports multisize measurements.
- Fix main path validation. False positive double curve.
- Fix Setup multisize measurements dialog. Improved handling Height dimension.
- Fix updating dimension labels in Valentina app.
- Fix menu on Mac OS X.
- Add function's argument template with name in the Formula Wizard.
- Unit type for increments.
- Support for options Force Flipping and Forbid Flipping in Puzzle.
- Remember selected dimension values.
- Fix segmenting a simple curve.
- Fix export tiled pdf on Mac OS.
- Improve visualization for tools.
- Fix calculating an elliptical arc.
- Enable Approximation scale option for Elliptical arc.
- Fix bug in seam allowance.
- Allow resizing Spline path dialog.
- Improve highlighting file in file browser for Linux.
# Valentina 0.7.51 April 18, 2022
- Z value change for a layout piece.
- Fix issue with Custom template.
- Fix issue with tile font size.
- [smart-pattern/valentina#171] System identifies two of the same curve.
- [smart-pattern/valentina#170] Incorrect work with curves.
- Suspend use of qt_ntfs_permission_lookup. QTBUG-101168
- Remove support for russian language.
- Improve CLI. Better handle printer margins.
- Improve file format conversion.
- Improve handling gradation change.
# Valentina 0.7.50 February 14, 2022
- Fix regression. Minimal seam allowance width is less than the point accuracy values.
- Call autosave only in GUI mode.
- Warn about stale layout only in GUI mode.
- Fix regression. Set default value for detail labels size and grainline length to 10 cm.
- [smart-pattern/valentina#136] 2 decimals for entering values in multi measurements tables.
- New warnings. Warn a user about incorrect cut curve segment length.
- Fix finding point of intersection curve and axis. Case when the axis's point lies on the curve.
- Fix visualization for tool point of intersection line and axis. Case when the axis's point lies on the line.
- Table of variables is available in Details mode.
- Fix incorrect comparison of the global length of passmark to minimal allowed value.
- Make an increment name valid after user selected it from a completion list.
- [smart-pattern/valentina#145] Fix Seam allowance not correct at intersection curve and axis.
- Show tooltip about defined user material in the label placeholder list.
- Fix reading tiled page margins in console mode.
- Fix handling numeric values passed in console mode.
- Add Don't ask again for Stale layout question dialog.
- Help user to select default GUI language.
- Improve validation grainline position.
- Increased the limit for the Letter field.
- Fix double call of a main path context menu.
- Improve storing visibility group items. Don't store duplicate information.
- Remove tool from all visibility groups it in.
- Option to disable the automatic search for updates.
- [smart-pattern/valentina#153] To add text search bar in History window.
- Improve for a search bar.
- Backport fix vulnerability CVE-2021-21900.
- Improved main path validations.
- New path validation Invalid segment.
- [smart-pattern/valentina#43] Background image.
- Fix alias for tool Cut Arc.
- Fix infinite loop in tool cut spline.
- Added scroll area to layout settings dialog.
- Allow size to have values from 1 to 100 if not a circumference.
- Fix tool True darts notes.
- New measurement type separator.
- Improve creation by mouse for tool Spline.
- Fix incorrect translation of known measurements.
- Adjust combobox to fit a dimension label length.
- Dimension custom name.
# Valentina 0.7.49 July 1, 2021
- Fix crash.
- Add tooltip for Export draw feature.
# Valentina 0.7.48 June 29, 2021
- [smart-pattern/valentina#129] Incorrect behavior of empty arc and elliptical arc.
- Parsing formulas with not canonical math symbols.
- [smart-pattern/valentina#133] Incorrect seam allowance.
- Fix regression. Fix correct handle export format for exporting details in the Detail mode.
- [smart-pattern/valentina#83] Export the Draw mode.
# Version 0.7.47 May 13, 2021
- [smart-pattern/valentina#118] Incorrect seam allowance.
- [smart-pattern/valentina#119] Improve tool Point of intersection curves.
- [smart-pattern/valentina#120] Incorrect seam allowance.
- Fix export to DXF AAMA/ASTM.
- [smart-pattern/valentina#121] Incorrect elliptical arc end angle.
- [smart-pattern/valentina#122] Extend piece bounding rect.
- Remember last selected export format.
- [smart-pattern/valentina#123] Error inside Save layout dialog.
- Improve error handling for the dxf export.
- Fix correct handle a final measurement formula error when exporting a pattern recipe.
- Fix regression. Incorrect data caching.
- Improve tool tooltip. Show segment names and aliases.
- Alias support for tools Point of intersection curve and axis and Point of intersection curves.
- [smart-pattern/valentina#124] Standard passmarks length for all pieces.
# Version 0.7.46 Mar 31, 2021
- Fix incorrect calculation of value for multisize measurements in Valentina.
- [smart-pattern/valentina#109] Pattern label template placeholder with dimension label value.
- Incorrect duplication of a piece. Missing restoring pins.
- [smart-pattern/valentina#112] Incorrect seam allowance.
- [smart-pattern/valentina#113] Incorrect seam allowance.
- [smart-pattern/valentina#114] Incorrect seam allowance.
- Fixed bugs.
- Updated translations.
# Version 0.7.45 Feb 26, 2021
- Fix incorrect seam allowance for angle type second edge right angle.
- Fix regression with country flags.
- Fix bug in seam allowance.
- [smart-pattern/valentina#99] Incorrect fix of seam allowance distortion.
- Enabling Show Curve Details option causes constant redraw.
# Version 0.7.44 Feb 9, 2021
- Placeholder %size% has incorrect value.
- Values for waist and hip swapped for individual measurements.
- Fix crash when edit a group operation notes.
- Fix bug. Undo Union details hide piece node points.
# Version 0.7.43 Jan 31, 2021
- Improve Windows installer. Avoid crashing on checking if a program is still running.
- Fix regression. Changing dimension value caused an infinite loop.
- Fix regression. Export to tiled PDF has no suffix.
- Fix warning about missing EUDC font om Wondows.
- Fix regression in Pattern properties dialog. Tab Security is disabled for pattern with individual measurements.
- Don't warn about a file format update after Save as.
# Version 0.7.42 Jan 26, 2021
- Fix export of pattern recipe.
- Update translations.
- Fix a regression in tool Segment a spline path.
- Fix invalid visualization for tool Point of intersection circles.
- New warning. Warn about empty measurements dimension value when preparing placeholders.
- New option "Don't use the native file dialog".
- Improve the layout option "Auto crop unused width".
- Improve multisize measurements format. Allow decimal step 0.5.
- Improve restrict dimension dialog. Disable not available combinations.
- Improve multisize measurements format. Allow excluding combinations inside min/max range.
- New warning. Grainline is not valid.
- [smart-pattern/valentina#87] Add support for TIFF format.
- [smart-pattern/valentina#88] Allow insertion of multiple nodes by setting their number.
- [smart-pattern/valentina#85] Final measurement printout on pattern piece.
# Version 0.7.41 Dec 4, 2020
- Bug fixes.
- Improve canceling nesting.
- Fix incorrect nesting status for valid cases.
- Improve crossing check for the layout algorithm.
- Fix crash after creating an elliptical arc.
- New option Reset label position.
# Version 0.7.40 Nov 23, 2020
- New function Warning.
- [smart-pattern/valentina#80] Allow insertion of multiple nodes.
- [smart-pattern/valentina#81] Tape crash on opening.
- Bug fixes.
# Version 0.7.39 Nov 17, 2020
- Fix crash for Line tool notes.
- Restored support for Mac OS 10.11+.
@ -114,6 +354,8 @@
- Fix removing a pin in the Seam Allowance tool dialog.
- Fix label size for case with two pins.
- Fix crash while synchronize measurements.
- Fix incorrect filename regular expressions.
- Enabling Show Curve Details option causes constant redraw.
# Version 0.6.1 October 23, 2018
- [#885] Regression. Broken support for multi size measurements.

186
README.md Normal file
View File

@ -0,0 +1,186 @@
# Valentina
[![Project status](https://img.shields.io/badge/Status-Active-green)]()
[![Maintainer](https://img.shields.io/badge/Maintainer-Roman_Telezhynskyi-blue)]()
[![GitLab Last Commit](https://img.shields.io/gitlab/last-commit/smart-pattern%2Fvalentina?style=flat)]()
[![Discord](https://img.shields.io/discord/1209739539816517692?logo=discord&logoColor=white)](https://discord.gg/XUxKFQuQ)
[![Stable version](https://img.shields.io/badge/Stable-v0.6.1-blue)](https://smart-pattern.com.ua/valentina/version/0.6.1/)
[![Dev version](https://img.shields.io/badge/Dev-v0.7.52-yellow)](https://smart-pattern.com.ua/valentina/version/0.7.52/)
[![Build Status](https://api.cirrus-ci.com/github/dismine/valentina.svg)](https://cirrus-ci.com/github/dismine/valentina)
[![Build status](https://ci.appveyor.com/api/projects/status/m505f1pfs19j81nt/branch/develop?svg=true)](https://ci.appveyor.com/project/dismi_/valentina)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dismine_valentina&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=dismine_valentina)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
Welcome to [Valentina](https://smart-pattern.com.ua/), a versatile cross-platform patternmaking program designed for creating and modeling clothing patterns. Whether you prefer using standard sizing tables or individual measurements, this software provides a flexible environment for pattern creation. Valentina seamlessly integrates modern technologies with traditional methods to offer a comprehensive patternmaking tool.
Key features:
1. **Versatile Pattern Creation:**
- Create intricate clothing patterns with ease, accommodating both standard sizing tables and personalized measurements.
2. **Intuitive Interface:**
- Enjoy a user-friendly design that caters to both beginners and experienced designers, making the patternmaking process accessible and efficient.
3. **Technology meets Tradition:**
- Seamlessly blend cutting-edge technologies with traditional patternmaking methods, providing a dynamic and efficient toolset for designers.
4. **Cross-Platform Compatibility:**
- Work seamlessly across various operating systems, including Windows, macOS, and Linux, ensuring a consistent experience for users.
5. **Collaborative Design:**
- Facilitate collaboration by sharing patterns effortlessly, enabling teamwork and creative cooperation among team members or clients.
6. **Precision and Accuracy:**
- Utilize Valentina's precision tools to ensure accurate and finely-tailored patterns, suitable for personal projects or professional collections.
## Installation
To install Valentina, please visit our website [Valentina Website] and download the version that best suits your needs. Valentina supports two branches: `stable` and `dev`. Version numbers follow a specific pattern to indicate stability and development status:
- **Stable Version:**
- Version numbers with even digits (e.g., 0.6) are reserved for stable releases.
- Stable versions receive bug fixes to ensure a reliable and stable user experience.
- **Dev Version:**
- Version numbers with odd digits (e.g., 0.7) represent the development branch.
- The dev version is actively developed and receives bug fixes and new features, providing a more feature-rich experience.
- While stable versions are suitable for initial checks, we recommend the dev branch for professional use due to its more advanced functionality.
Select the platform you use, and then choose the version most appropriate for your operating system. Versions marked with a "+" symbol indicate compatibility with the specified version of the OS and higher.
We recommend using the `dev` branch for professional use to take advantage of the latest features and improvements. If you encounter any issues, please refer to the **Support** section for assistance.
## Compilation
For advanced users and developers who want to compile Valentina from the source code, detailed instructions can be found in our [Wiki](https://gitlab.com/smart-pattern/valentina/-/wikis/home). The wiki provides step-by-step guidance on compiling Valentina on various platforms and includes information on dependencies and build configurations.
Please visit the [Wiki](https://gitlab.com/smart-pattern/valentina/-/wikis/home) for comprehensive instructions tailored to your development environment.
## Support
We value your experience with Valentina and are here to assist you at every step. For any questions, issues, or collaborative discussions, explore the various support channels available:
1. **Telegram Chat:**
Join our Telegram chat for real-time assistance and community support. Users engage in discussions, seek help, and share valuable feedback. The chat is available in English and Ukrainian.
[![Chat on Telegram](https://img.shields.io/badge/Chat-on_Telegram-green?logo=telegram)](https://t.me/valentina_project)
2. **Telegram Channel:**
Stay updated with the latest news and announcements about the Valentina project by subscribing to our Telegram channel. Get insights into new features, releases, and project developments.
[![Chat on Telegram](https://img.shields.io/badge/Channel-on_Telegram-green?logo=telegram)](https://t.me/smart_pattern)
3. **Discord Server:**
Join our Discord server to connect with the Valentina community, get support, and participate in discussions. Stay updated with the latest developments and engage with like-minded individuals.
[![Discord](https://img.shields.io/discord/1209739539816517692?logo=discord&logoColor=white)](https://discord.gg/XUxKFQuQ)
4. **Instagram Accounts:**
Follow our Instagram accounts for visual updates and behind-the-scenes content. We have separate accounts for English and Ukrainian users, providing a diverse range of content related to Valentina.
[![Instagram En](https://img.shields.io/badge/Follow-on_Instagram_(En)-green?style=social&logo=instagram
)](https://www.instagram.com/smart_pattern/)
[![Instagram Uk](https://img.shields.io/badge/Follow-on_Instagram_(Uk)-green?style=social&logo=instagram
)](https://www.instagram.com/valentina_project/)
5. **Facebook Groups:**
Engage with our community through Facebook groups. Join the English group for discussions and updates, or connect with the French-speaking community in our dedicated group.
[![Facebook Group - English](https://img.shields.io/badge/Follow-on_Facebook_(En,_It,_De)-green?style=social&logo=facebook
)](https://facebook.com/groups/valentina.en.it.de/?ref=share)
[![Facebook Group - French](https://img.shields.io/badge/Follow-on_Facebook_(Fr)-green?style=social&logo=facebook
)](https://facebook.com/groups/valentina.france/?ref=share)
6. **Issue Tracker:**
Report bugs, suggest improvements, and contribute to the ongoing development of Valentina by visiting our Issue Tracker. Your feedback is crucial in enhancing the user experience.
[![GitLab Issues](https://img.shields.io/gitlab/issues/open/smart-pattern%2Fvalentina)](https://gitlab.com/smart-pattern/valentina/-/issues/)
7. **User Manual and Shop:**
Visit our shop to explore the user manual, a valuable resource for mastering Valentina's features. By purchasing the manual, you not only gain in-depth insights but also contribute to supporting the continued development of the project.
[![Shop](https://img.shields.io/badge/Shop-now-informational)
](https://smart-pattern.com.ua/en/catalogue/)
If you prefer private communication, feel free to reach out through one of the following methods:
- **Email:**
Reach the maintainer, Roman directly at ![Mail maintainer](https://img.shields.io/badge/Mail-dismine@gmail.com-green?logo=gmail)
- **Telegram:**
Contact us privately on Telegram: [![Chat with maintainer](https://img.shields.io/badge/Chat-on_Telegram-green?logo=telegram)](https://t.me/crazy_snail)
- **Viber:**
Connect with us on Viber: [![Chat with maintainer](https://img.shields.io/badge/Chat-on_Viber-green?logo=viber&logoColor=white)](viber://chat?number=0380983467136)
- **WhatsApp:**
Chat with us on WhatsApp: [![Chat with maintainer](https://img.shields.io/badge/Chat-on_WhatsApp-green?logo=whatsapp)](https://wa.me/0380983467136)
- **Threema:**
Chat with us on Threema: [![Chat with maintainer](https://img.shields.io/badge/Chat-on_Threema-green?logo=threema)](https://threema.id/WVDPXTJC?text=)
We appreciate your active participation and feedback. Your involvement in the Valentina community is essential in shaping the future of our patternmaking tool.
## Contributing
Valentina welcomes contributions from the community, and your involvement can make a significant impact. Here are various ways you can contribute to the development and improvement of Valentina:
1. **Bug Reports:**
If you encounter any bugs or unexpected behavior, please report them on our [Issue Tracker](https://gitlab.com/smart-pattern/valentina/-/issues/). Provide detailed information about the issue, including steps to reproduce it and the operating system you're using. Your bug reports are crucial in enhancing the stability and performance of Valentina.
[![GitLab Issues](https://img.shields.io/gitlab/issues/open/smart-pattern%2Fvalentina)](https://gitlab.com/smart-pattern/valentina/-/issues/)
2. **Feature Suggestions:**
Share your ideas for new features or improvements to existing ones on the [Issue Tracker](https://gitlab.com/smart-pattern/valentina/-/issues/). We value your input and appreciate suggestions that can enhance the functionality and user experience of Valentina.
[![Feature proposal](https://img.shields.io/badge/Feature-propose-green)
](https://gitlab.com/smart-pattern/valentina/-/issues/new)
3. **Localization on Transifex:**
Help us make Valentina accessible to a global audience by contributing to localization efforts on [Transifex](https://explore.transifex.com/valentina/valentina-project/). Contribute translations, review existing ones, or suggest improvements to ensure that Valentina is available in multiple languages.
[![Translation](https://img.shields.io/badge/Translate-on_Transifex-green?logo=transifex)](
https://explore.transifex.com/valentina/valentina-project/)
4. **Code Contributions:**
If you're a developer and want to contribute code to Valentina, please follow our [Contribution Guidelines]. Your contributions can include bug fixes, new features, or improvements to the existing codebase.
5. **Community Involvement:**
Engage with the Valentina community on our Telegram Chat and Facebook Groups. Share your experiences, help fellow users, and participate in discussions about the future development of Valentina.
6. **Exclusive Expert Group:**
For deeply involved users interested in shaping the future of Valentina, consider joining our special group of experts. Contact us to request an invite and contribute to influential decisions about the direction of Valentina.
We appreciate your contributions and look forward to building a vibrant and collaborative community around Valentina.
## License
Valentina is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Valentina is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See LICENSE_GPL.txt file for further information
Other components released under:
* QMuParser - BSD license
* VPropertyExplorer - LGPLv2.1 license
## Links
* [Web site](https://smart-pattern.com.ua/)
* [Shop](https://smart-pattern.com.ua/catalogue/)
* [Chat Telegram](https://t.me/valentina_project/)
* [Chat Discord](https://discord.gg/XUxKFQuQ)
* [Issue tracker](https://gitlab.com/smart-pattern/valentina/-/issues/)
* [Source code](https://gitlab.com/smart-pattern/valentina/)

View File

@ -1,88 +0,0 @@
Pattern making program
Author Roman Telezhynskyi <dismine(at)gmail.com>
Copyright (C) 2013-2019 Valentina project
Valentina Web page: https://valentinaproject.bitbucket.io/
Wiki: https://wiki.valentinaproject.org
Valentina main repository: https://bitbucket.org/dismine/valentina/overview
Forum http://valentinaproject.forumotion.me/
PPA for Ubuntu (develop): https://launchpad.net/~dismine/+archive/valentina-dev
Help translate https://www.transifex.com/organization/valentina
Valentina
==========
Valentina is a cross-platform patternmaking program which allows designers
to create and model patterns of clothing. This software allows pattern
creation, using either standard sizing tables or an individuals set of
measurements. It blends new technologies with traditional methods to create
a unique pattern making tool.
Compiling Valentina
====================
Prerequisites:
* Qt 5.4.0 or later (On Unix development packages needed)
* mercurial (only for working with repository)
* On Unix:
- g++ 4.8 or clang 3.4
- xpdf package (tool pdftops).
* On Windows:
- MinGW
- Xpdf is an open source viewer for Portable Document Format (PDF)
files. Website http://www.foolabs.com/xpdf/. Put tool pdftops.exe
in the same directory with Valentina's binary file.
The installed toolchains have to match the one Qt was compiled with.
You can build Valentina with
cd $SOURCE_DIRECTORY\build
qmake ..\Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache
make (or mingw32-make or nmake or jom, depending on your platform)
Note: On some platforms e.g. Fedora, all Qt-tools come as qmake-qt5
etc. In this case you should install qtchooser. This wrapper
resolves the Qt version with respect to QT_SELECT. So run
export QT_SELECT=5
prior to qmake. You will not come along with just using qmake-qt5
here.
Note:In order to build and use Valentina, the PATH environment variable
needs to be extended:
PATH - to locate qmake, moc and other Qt tools
This is done by adding c:\Qt\%VERSION%\bin to the PATH variable.
For newer versions of Windows, PATH can be extended through the
Control Panel|System|Advanced|Environment variables menu.
You may also need to ensure that the locations of your compiler and
other build tools are listed in the PATH variable. This will depend on
your choice of software development environment.
Unix systems:
Default prefix for command "make install" is /usr. For using another
prefix build with qmake command:
qmake PREFIX=/usr/local PREFIX_LIB=/usr/lib/i386-linux-gnu Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache
where /usr/local is a new prefix for installation binary files and /usr/lib/i386-linux-gnu is new prefix for install libraries.
LICENSING
==========
Valentina is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Valentina is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See LICENSE_GPL.txt file for further information
Other components released under:
* QMuParser - BSD license
* VPropertyExplorer - LGPLv2.1 license

View File

@ -1,9 +1,9 @@
include(common.pri)
#Check if Qt version >= 5.4.0
!minQtVersion(5, 4, 0) {
#Check if Qt version >= 5.6.0
!minQtVersion(5, 6, 0) {
message("Cannot build Valentina with Qt version $${QT_VERSION}.")
error("Use at least Qt 5.4.0.")
error("Use at least Qt 5.6.0.")
}
#These checks need because we can quote all paths that contain space.
@ -13,43 +13,5 @@ count(LIST, 1, >): error("The build will fail. Path '$${PWD}' contains space!!!"
LIST = $$split(OUT_PWD,' ')
count(LIST, 1, >): error("The build will fail. Path '$${OUT_PWD}' contains space!!!")
unix {
*g++* {
GCC_VERSION = $$system("g++ -dumpversion")
contains(GCC_VERSION, ^9.*$) {
message( "g++ version 9.x found" )
CONFIG += g++9
} else {
GCC_VERSION = $$system("g++ -dumpversion")
contains(GCC_VERSION, ^8.*$) {
message( "g++ version 8.x found" )
CONFIG += g++8
} else {
contains(GCC_VERSION, ^7.*$) {
message( "g++ version 7.x found" )
CONFIG += g++7
} else {
contains(GCC_VERSION, ^6.*$) {
message( "g++ version 6.x found" )
CONFIG += g++6
} else {
contains(GCC_VERSION, ^5.*$) {
message( "g++ version 5.x found" )
CONFIG += g++5
} else {
contains(GCC_VERSION, ^4.*$) {
message( "g++ version 4.x found" )
CONFIG += g++4
} else {
message( "Unknown GCC configuration" )
}
}
}
}
}
}
}
}
TEMPLATE = subdirs
SUBDIRS = src

File diff suppressed because one or more lines are too long

View File

@ -14,6 +14,20 @@ win32{
}
unix{
*g++* {
GCC_VERSION = $$system("g++ -dumpfullversion -dumpversion")
GCC_VERSIONS = $$split(GCC_VERSION, ".")
COMPILER_MAJOR_VERSION = $$member(GCC_VERSIONS, 0)
message("g++ version $${COMPILER_MAJOR_VERSION}.x found")
greaterThan(COMPILER_MAJOR_VERSION, 3):CONFIG += g++4
greaterThan(COMPILER_MAJOR_VERSION, 4):CONFIG += g++5
greaterThan(COMPILER_MAJOR_VERSION, 5):CONFIG += g++6
greaterThan(COMPILER_MAJOR_VERSION, 6):CONFIG += g++7
greaterThan(COMPILER_MAJOR_VERSION, 7):CONFIG += g++8
greaterThan(COMPILER_MAJOR_VERSION, 8):CONFIG += g++9
}
macx{
VCOPY = $$QMAKE_COPY
} else {
@ -40,11 +54,11 @@ win32{
macx{
# Check which minimal OSX version supports current Qt version
# See page https://doc.qt.io/qt-5/supported-platforms-and-configurations.html
# For qt 5.14 https://doc.qt.io/qt-5.14/supported-platforms.html
# See page https://doc.qt.io/qt-5/supported-platforms.html
# For qt 5.14 https://doc.qt.io/archives/qt-5.14/supported-platforms.html
# For Qt 5.13 https://doc.qt.io/archives/qt-5.13/supported-platforms.html
# For Qt 5.12 https://doc-snapshots.qt.io/qt5-5.12/supported-platforms.html
# For older versions https://doc.qt.io/qt-5.11/supported-platforms-and-configurations.html
# For Qt 5.12 https://doc.qt.io/archives/qt-5.12/supported-platforms.html
# For older versions https://doc.qt.io/archives/qt-5.11/supported-platforms-and-configurations.html
equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 13) {# Qt 5.14
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
} else {
@ -134,11 +148,6 @@ win32 {
DEFINES += QT_NO_FOREACH
macx{
# QTBUG-31034 qmake doesn't allow override QMAKE_CXX
CONFIG+=no_ccache
}
CONFIG(release, debug|release){
!noDebugSymbols:win32:!*msvc*{
unset(QMAKE_STRIP)
@ -225,15 +234,19 @@ defineTest(forceCopyToDestdir) {
# We use precompiled headers for more fast compilation source code.
defineReplace(set_PCH){
no_ccache{
CONFIG += precompile_header # Turn on creation precompiled headers (PCH).
export(CONFIG) # export value to global variable.
no_pch{ # To disable recompiled headers (PCH) run qmake with CONFIG+=no_pch
return(true)
} else {
CONFIG += precompile_header # Turn on creation precompiled headers (PCH).
export(CONFIG) # export value to global variable.
PRECOMPILED_HEADER = stable.h # Header file with all all static headers: libraries, static local headers.
export(PRECOMPILED_HEADER) # export value to global variable
PRECOMPILED_HEADER = stable.h # Header file with all all static headers: libraries, static local headers.
export(PRECOMPILED_HEADER) # export value to global variable
*msvc* {
PRECOMPILED_SOURCE = stable.cpp # MSVC need also cpp file.
export(PRECOMPILED_SOURCE) # export value to global variable.
*msvc* {
PRECOMPILED_SOURCE = stable.cpp # MSVC need also cpp file.
export(PRECOMPILED_SOURCE) # export value to global variable.
}
}
}
return(true)
@ -279,12 +292,6 @@ defineReplace(FindBuildRevision){
return(\\\"unknown\\\")
}else{
# Release mode
macx{
GIT = /usr/local/bin/git # Can't defeat PATH variable on Mac OS.
}else {
GIT = git # All other platforms are OK.
}
DVCS_HESH=$$system("git rev-parse --short HEAD")
isEmpty(DVCS_HESH){
DVCS_HESH = \\\"unknown\\\" # if we can't find build revision left unknown.
@ -301,12 +308,6 @@ defineReplace(FindLatestTagDistance){
return(0)
}else{
# Release mode
#get latest git tag and it's distance from HEAD
macx{
GIT = /usr/local/bin/git # Can't defeat PATH variable on Mac OS.
}else {
GIT = GIT # All other platforms all OK.
}
# tag is formatted as TAG-N-gSHA:
# 1. latest stable version is TAG, or vX.Y.Z
@ -329,44 +330,30 @@ defineReplace(FindLatestTagDistance){
# In debug mode on Unix system we use all usefull for us compilers keys for checking errors.
# Also trying make all possible for speed up build time.
unix {
LIBS_USED_FOR_QT = \
QtCore \
QtSvg \
QtXml \
QtPrintSupport \
QtXmlPatterns \
QtWidgets \
QtGui \
QtNetwork \
QtTest \
QtConcurrent
!macx{
# Key -isystem disable checking errors in system headers. Mark ignore warnings Qt headers.
ISYSTEM += \
-isystem "$$[QT_INSTALL_HEADERS]" \
-isystem "$$[QT_INSTALL_HEADERS]/QtWidgets" \
-isystem "$$[QT_INSTALL_HEADERS]/QtXml" \
-isystem "$$[QT_INSTALL_HEADERS]/QtGui" \
-isystem "$$[QT_INSTALL_HEADERS]/QtXmlPatterns" \
-isystem "$$[QT_INSTALL_HEADERS]/QtCore" \
-isystem "$$[QT_INSTALL_HEADERS]/QtPrintSupport" \
-isystem "$$[QT_INSTALL_HEADERS]/QtSvg" \
-isystem "$$[QT_INSTALL_HEADERS]/QtNetwork" \
-isystem "$$[QT_INSTALL_HEADERS]/QtTest" \
-isystem "$$[QT_INSTALL_HEADERS]/QtConcurrent"
# Key -isystem disable checking errors in system headers. Marking ignore for warnings in Qt headers.
!macx{
ISYSTEM += -isystem "$$[QT_INSTALL_HEADERS]"
for(somelib, $$list($$LIBS_USED_FOR_QT)) {
ISYSTEM += -isystem "$$[QT_INSTALL_HEADERS]/$${somelib}"
}
} else {
ISYSTEM += \
-isystem "$$[QT_INSTALL_LIBS]/QtWidgets.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtWidgets.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtXml.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtXml.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtGui.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtGui.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtXmlPatterns.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtXmlPatterns.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtCore.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtCore.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtPrintSupport.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtPrintSupport.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtSvg.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtSvg.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtNetwork.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtNetwork.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtTest.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtTest.framework/Versions/5/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtConcurrent.framework/Headers/" \
-isystem "$$[QT_INSTALL_LIBS]/QtConcurrent.framework/Versions/5/Headers/"
for(somelib, $$list($$LIBS_USED_FOR_QT)) {
ISYSTEM += -isystem "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Versions/5/Headers"
ISYSTEM += -isystem "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Headers"
}
}
# Usefull GCC warnings keys.
@ -422,50 +409,32 @@ g++5:GCC_DEBUG_CXXFLAGS += \
-Wswitch-bool \
-Wlogical-not-parentheses \
-Wsizeof-array-argument \
-Wbool-compare \
-Wsuggest-final-types \
-Wsuggest-final-methods
# -Wsuggest-final-types \
# -Wsuggest-final-methods \
-Wbool-compare
# Since GCC 6
g++6:GCC_DEBUG_CXXFLAGS += \
-Wswitch-bool \
-Wlogical-not-parentheses \
-Wsizeof-array-argument \
-Wbool-compare \
-Wsuggest-final-types \
-Wsuggest-final-methods \
-Wshift-negative-value \
-Wshift-overflow \
-Wshift-overflow=2 \
-Wtautological-compare \
-Wnull-dereference \
# -Wnull-dereference \
-Wduplicated-cond \
-Wmisleading-indentation
# Since GCC 7
g++7:GCC_DEBUG_CXXFLAGS += \
-Wswitch-bool \
-Wlogical-not-parentheses \
-Wsizeof-array-argument \
-Wbool-compare \
-Wsuggest-final-types \
-Wsuggest-final-methods \
-Wshift-negative-value \
-Wshift-overflow \
-Wshift-overflow=2 \
-Wtautological-compare \
-Wnull-dereference \
-Wduplicated-cond \
-Wmisleading-indentation \
-Wduplicated-branches \
-Wrestrict \
-Walloc-zero \
-Wnonnull
-Wnonnull \
-Wno-stringop-overflow # cannot suppress warning in Qt headers
# Since GCC 8
g++8:GCC_DEBUG_CXXFLAGS += \
-Wmultistatement-macros \
-Warray-bounds
-Wmultistatement-macros \
-Warray-bounds
# Usefull Clang warnings keys.
CLANG_DEBUG_CXXFLAGS += \
@ -837,8 +806,18 @@ CLANG_DEBUG_CXXFLAGS += \
-Wzero-length-array \
-Qunused-arguments \
-fcolor-diagnostics \
-Wno-gnu-zero-variadic-macro-arguments \
-fms-extensions # Need for pragma message
macx{
# Cannot suppress warnings from Qt headers
CLANG_DEBUG_CXXFLAGS += \
-Wno-sign-conversion \
-Wno-duplicate-enum \
-Wno-shorten-64-to-32 \
-Wno-deprecated
}
CONFIG(release, debug|release){
CLANG_DEBUG_CXXFLAGS += -Wno-unknown-warning-option
}
@ -888,6 +867,7 @@ CLANG_DEBUG_CXXFLAGS += \
-Wall \
-Wextra \
-pedantic \
-Wno-gnu-zero-variadic-macro-arguments \
-fno-omit-frame-pointer \ # Need for exchndl.dll
-fms-extensions # Need for pragma message
@ -949,5 +929,7 @@ MSVC_DEBUG_CXXFLAGS += \
-wd4774 \ # format string expected in argument 3 is not a string literal
-wd5204 \ # class has virtual functions, but its trivial destructor is not virtual; instances of objects derived
# from this class may not be destructed correctly
-wd5219 # implicit conversion from '<type>' to '<type>', possible loss of data
-wd5219 \ # implicit conversion from '<type>' to '<type>', possible loss of data
-wd5243 # 'type-name': using incomplete class 'class-name' can cause potential one definition rule violation due
# to ABI limitation
}

30
conanfile.py Normal file
View File

@ -0,0 +1,30 @@
import os
from conan import ConanFile
class Recipe(ConanFile):
settings = "os"
requires = "xerces-c/[~3.2]", "sentry-crashpad/0.6.5"
options = {
"with_xerces": [True, False],
"with_crash_reporting": [True, False]
}
default_options = {
"xerces-c/*:shared": True,
"with_xerces": False,
"with_crash_reporting": False
}
def configure(self):
if self.settings.os == "Linux":
self.options["xerces-c"].shared = False
if self.settings.os == "Macos" and "MACOS_DEPLOYMENT_TARGET" in os.environ:
self.settings.os.version = os.environ["MACOS_DEPLOYMENT_TARGET"]
def requirements(self):
if not self.options.with_xerces:
del self.requires["xerces-c"]
if not self.options.with_crash_reporting:
del self.requires["sentry-crashpad"]

133
dist/AppImage/AppImageBuilder.yml vendored Normal file
View File

@ -0,0 +1,133 @@
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
AppDir:
app_info:
id: ua.com.smart-pattern.valentina
name: Valentina
icon: valentina
version: continuous
exec: usr/local/bin/valentina
exec_args: $@
apt:
arch:
- amd64
allow_unauthenticated: true
sources:
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal universe
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal-updates universe
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal multiverse
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal-updates multiverse
- sourceline: deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted
universe multiverse
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security main restricted
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security universe
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security multiverse
- sourceline: deb http://ppa.launchpad.net/beineri/opt-qt-5.15.4-focal/ubuntu
focal main
include:
- xdg-desktop-portal-kde
- libgtk-3-0
- libgtk-3-common
- librsvg2-2
- librsvg2-common:amd64
- liblzma5:amd64
- libpcre3:amd64
- libgdk-pixbuf2.0-0
- libgdk-pixbuf2.0-bin
- libgdk-pixbuf2.0-common
- qt515base
- qt515imageformats
- qt515svg
- qt515xmlpatterns
- qt515translations
- libpango-1.0-0
files:
include: []
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
- usr/lib/x86_64-linux-gnu/libQt5*
- opt/qt515/include
- opt/qt515/bin/opt/qt515/bin/fixqt4headers.pl
- opt/qt515/bin/moc
- opt/qt515/bin/qdbuscpp2xml
- opt/qt515/bin/qdbusxml2cpp
- opt/qt515/bin/qlalr
- opt/qt515/bin/qmake
- opt/qt515/bin/qt.conf
- opt/qt515/bin/qt515-env.sh
- opt/qt515/bin/qvkgen
- opt/qt515/bin/rcc
- opt/qt515/bin/syncqt.pl
- opt/qt515/bin/uic
- opt/qt515/doc
- opt/qt515/examples
- opt/qt515/mkspecs
- opt/qt515/lib/cmake
- opt/qt515/lib/metatypes
- opt/qt515/lib/pkgconfig
- opt/qt515/lib/*.a
- opt/qt515/lib/*.la
- opt/qt515/lib/*.prl
- opt/qt515/lib/libQt5AccessibilitySupport.*
- opt/qt515/lib/libQt5Bootstrap.*
- opt/qt515/lib/libQt5DeviceDiscoverySupport.*
- opt/qt515/lib/libQt5EdidSupport.*
- opt/qt515/lib/libQt5EglFSDeviceIntegration.*
- opt/qt515/lib/libQt5EglSupport.*
- opt/qt515/lib/libQt5EventDispatcherSupport.*
- opt/qt515/lib/libQt5FbSupport.*
- opt/qt515/lib/libQt5InputSupport.*
- opt/qt515/lib/libQt5LinuxAccessibilitySupport.*
- opt/qt515/lib/libQt5PlatformCompositorSupport.*
- opt/qt515/lib/libQt5ServiceSupport.*
- opt/qt515/lib/libQt5VulkanSupport.*
- opt/qt515/plugins/egldeviceintegrations
- opt/qt515/plugins/platforminputcontexts
- opt/qt515/plugins/sqldrivers
- opt/qt515/translations/assistant*.qm
- opt/qt515/translations/designer*.qm
- opt/qt515/translations/linguist*.qm
- opt/qt515/translations/qt_help*.qm
- opt/qt515/translations/qtconnectivity*.qm
- opt/qt515/translations/qtdeclarative*.qm
- opt/qt515/translations/qtlocation*.qm
- opt/qt515/translations/qtmultimedia*.qm
- opt/qt515/translations/qtquickcontrols2*.qm
- opt/qt515/translations/qtquickcontrols*.qm
- opt/qt515/translations/qtscript*.qm
- opt/qt515/translations/qtserialport*.qm
- opt/qt515/translations/qtwebengine*.qm
- opt/qt515/translations/qtwebsockets*.qm
runtime:
env:
APPDIR_LIBRARY_PATH: "$APPDIR:$APPDIR/runtime/compat/:$APPDIR/opt/qt515/lib:$APPDIR/usr/lib/x86_64-linux-gnu:$APPDIR/lib/x86_64-linux-gnu:$APPDIR/usr/lib:$APPDIR/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:$APPDIR/usr/local/lib/valentina"
LD_LIBRARY_PATH: "$APPDIR:$APPDIR/runtime/compat/:$APPDIR/opt/qt515/lib:$APPDIR/usr/lib/x86_64-linux-gnu:$APPDIR/lib/x86_64-linux-gnu:$APPDIR/usr/lib:$APPDIR/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:$APPDIR/usr/local/lib/valentina"
QT_PLUGIN_PATH: "$APPDIR/opt/qt515/plugins"
QT_QPA_PLATFORMTHEME: xdgdesktopportal
GDK_PIXBUF_MODULEDIR: $APPDIR/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
GDK_PIXBUF_MODULE_FILE: $APPDIR/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
test:
fedora-30:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
debian-stable:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
archlinux-latest:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
centos-7:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
ubuntu-xenial:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun
AppImage:
arch: x86_64
update-information: guess

BIN
dist/AppImage/_icon vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -1,67 +0,0 @@
#
# Building an AppImage for Valentina in openSuse Build Service (OBS)
#
# Unfortunately the C++ compiler in the appimage build service is stuck with C++11
#
app: valentina
# binpatch: true
# resources required at build time
build:
# packages which get installed in the build enviroment.
# These are NOT part of the resulting image.
packages:
- gcc-c++
- libqt5-qtbase-devel
- pkgconfig(Qt5Svg)
- pkgconfig(Qt5Core)
- pkgconfig(Qt5Gui)
- pkgconfig(Qt5Network)
- pkgconfig(Qt5PrintSupport)
- pkgconfig(Qt5Widgets)
- pkgconfig(Qt5Xml)
- pkgconfig(Qt5Concurrent)
- pkgconfig(Qt5XmlPatterns)
- pkgconfig(zlib)
- libQt5Core-devel
- libpng-devel
- libqt5-linguist-devel
- libicu-devel # to be able to fix the icu data path
- linuxdeployqt # required tooling, see script section
# resources which will become available as part of the source.
# The "appimage" source service needs to be enabled to process these.
git:
- https://github.com/dismine/Valentina_git.git
# hg:
# - ....
# svn:
# - ....
#
# files:
# - http://myserver.org/myfile
# OPTIONAL: ingredient packages are packages which become part of the AppImage.
# you may want to remove parts of their content in script section.
# ingredients:
# packages:
# - xterm
script:
# OPTIONAL: compile or modify the AppDir. The environment variables:
# - $BUILD_SOURCE_DIR point to the source directory
# - $BUILD_APPDIR point to the AppDir. This directory will become the content of the AppImage
- cd $BUILD_SOURCE_DIR/Valentina_git
- qmake-qt5 PREFIX=/usr PREFIX_LIB=/usr/lib LRELEASE=lrelease-qt5 Valentina.pro -r DEFINES+=APPIMAGE "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
- make -j$(nproc)
- make INSTALL_ROOT=$BUILD_APPDIR -j$(nproc) install
# create the image file
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
# bundle icu's data
- mkdir -p $BUILD_APPDIR/usr/share/icu
- cp /usr/share/icu/*/icudt*.dat $BUILD_APPDIR/usr/share/icu/
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/valentina.desktop -bundle-non-qt-libs -verbose=2
# Show what we have done
- find $BUILD_APPDIR/

View File

@ -1,5 +1,5 @@
valentina (0.7.39) trusty; urgency=low
valentina (0.7.52) trusty; urgency=low
* Auto build.
-- dismine <dismine@dismine-To-be-filled-by-O-E-M> Thu, 17 Nov 2020 16:30:00 +0300
-- dismine <dismine@dismine-To-be-filled-by-O-E-M> Mon, 12 September 2022 16:25:00 +0300

View File

@ -6,17 +6,16 @@ Build-Depends: debhelper (>= 8.0.0),
qtbase5-dev (>= 5.4.0),
libqt5svg5-dev (>= 5.4.0),
g++ (>= 4.8.0),
qt5-default (>= 5.4.0),
qttools5-dev-tools (>= 5.4.0),
libqt5xmlpatterns5-dev (>= 5.4.0),
libqt5opengl5-dev (>= 5.4.0)
Standards-Version: 3.9.5
Homepage: https://valentinaproject.bitbucket.io/
Homepage: https://smart-pattern.com.ua/
Vcs-Browser: https://gitlab.com/smart-pattern/valentina
Package: valentina
Architecture: i386 amd64
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libqt5core5a (>= 5.4.0) | libqt5core5 (>= 5.4.0), libqt5gui5 (>= 5.4.0) | libqt5gui5-gles (>= 5.4.0), libqt5printsupport5 (>= 5.4.0), libqt5svg5 (>= 5.4.0), libqt5widgets5 (>= 5.4.0), libqt5xml5 (>= 5.4.0), libqt5xmlpatterns5 (>= 5.4.0), libqt5concurrent5(>= 5.4.0), libqt5opengl5 (>= 5.4.0), libstdc++6 (>= 4.8), poppler-utils
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libqt5core5a (>= 5.4.0) | libqt5core5 (>= 5.4.0), libqt5gui5 (>= 5.4.0) | libqt5gui5-gles (>= 5.4.0), libqt5printsupport5 (>= 5.4.0), libqt5svg5 (>= 5.4.0), libqt5widgets5 (>= 5.4.0), libqt5xml5 (>= 5.4.0), libqt5xmlpatterns5 (>= 5.4.0), libqt5concurrent5(>= 5.4.0), libqt5opengl5 (>= 5.4.0), libstdc++6 (>= 4.8), poppler-utils, qt5-image-formats-plugins (>= 5.4.0)
Conflicts: seamly2d
Description: Pattern making program.
Valentina is a cross-platform patternmaking program which allows designers

View File

@ -1,10 +1,13 @@
debian/usr/share/pixmaps/valentina.png
debian/usr/share/pixmaps/tape.png
debian/usr/share/pixmaps/puzzle.png
debian/usr/share/pixmaps/application-x-valentina-pattern.png
debian/usr/share/pixmaps/application-x-valentina-i-measurements.png
debian/usr/share/pixmaps/application-x-valentina-s-measurements.png
debian/usr/share/pixmaps/application-x-valentina-layout.png
debian/valentina/usr/bin/valentina
debian/valentina/usr/bin/tape
debian/valentina/usr/bin/puzzle
debian/valentina/usr/share/valentina/diagrams.rcc
debian/valentina/usr/share/valentina/translations/measurements_p0_cs_CZ.qm
debian/valentina/usr/share/valentina/translations/measurements_p0_de_DE.qm

View File

@ -1,2 +1,3 @@
?package(valentina): needs="X11" section="Applications/Graphics" title="Valentina" command="valentina"
?package(valentina): needs="X11" section="Applications/Data Management" title="Tape" command="tape"
?package(valentina): needs="X11" section="Applications/Data Management" title="Puzzle" command="puzzle"

29
dist/OBS_debian/debian.puzzle.1 vendored Normal file
View File

@ -0,0 +1,29 @@
.\" Manpage for puzzle
.\" Contact dismine@gmail.com to correct errors.
.TH puzzle 1 "10 April, 2023" "puzzle man page"
.SH NAME
Puzzle \- Valentina's manual layout
.SH SYNOPSIS
puzzle [options] file
.SH DESCRIPTION
.B Valentina
Puzzle is the name of the new application to create manual layouts. Similar to "Tape", it is an application that is separated from Valentina and work on it's own, but is a part of the Valentina package and work closely together with Valentina.
.B Puzzle
is a part of Valentina. And used for creating and editing manual layouts.
.IP "-h, --help"
Displays this help.
.IP "-v, --version"
Displays version information.
.IP "-r, --rawLayout <The raw layout data file>"
Load pattern pieces form the raw layout data file.
.IP "--no-scaling"
Disable high dpi scaling. Call this option if has problem with scaling (by default scaling enabled). Alternatively you can use the QT_AUTO_SCREEN_SCALE_FACTOR=0 environment variable.
.IP Arguments:
.I filename
\- the manual layout file.
.SH AUTHOR
.RI "This manual page was written by Roman Telezhynskyi <" dismine@gmail.com ">"
.BR valentina (1)

View File

@ -18,7 +18,7 @@
mkdir -p builddir
builddir/Makefile: builddir
cd builddir && qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
cd builddir && QT_SELECT=qt5 qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir

View File

@ -1,6 +1,6 @@
.\" Manpage for tape.
.\" Contact dismine@gmail.com to correct errors.
.TH tape 1 "3 October, 2020" "tape man page"
.TH tape 1 "8 November, 2023" "tape man page"
.SH NAME
Tape \- Valentina's measurements editor.
.SH SYNOPSIS
@ -28,6 +28,8 @@ Set base for dimension B in the table units.
Set base for dimension C in the table units.
.IP "-u, --units <The pattern units>"
Set pattern file units: cm, mm, inch.
.IP "-k, --known"
Activate known measurements mode.
.IP "--test"
Use for unit testing. Run the program and open a file without showing the main window.
.IP "--no-scaling"

View File

@ -1,6 +1,6 @@
.\" Manpage for valentina.
.\" Contact dismine@gmail.com to correct errors.
.TH valentina 1 "22 March, 2020" "valentina man page"
.TH valentina 1 "28 November, 2023" "valentina man page"
.SH NAME
Valentina \- Pattern making program.
.SH SYNOPSIS
@ -75,64 +75,44 @@ The path to output destination folder. By default the directory at which the app
.BR "*" " AutoCAD DXF 2013 (flat) files (*.dxf) = 14,"
.RE
.RS
.BR "*" " AutoCAD DXF R10 AAMA files (*.dxf) = 15,"
.BR "*" " AutoCAD DXF AAMA files (*.dxf) = 16,"
.RE
.RS
.BR "*" " AutoCAD DXF R11/12 AAMA files (*.dxf) = 16,"
.BR "*" " AutoCAD DXF ASTM файли (*.dxf) = 25,"
.RE
.RS
.BR "*" " AutoCAD DXF R13 AAMA files (*.dxf) = 17,"
.BR "*" " PDF tiled files (*.pdf) = 33,"
.RE
.RS
.BR "*" " AutoCAD DXF R14 AAMA files (*.dxf) = 18,"
.BR "*" " Raw Layout Data files (*.rld) = 35,"
.RE
.RS
.BR "*" " AutoCAD DXF 2000 AAMA files (*.dxf) = 19,"
.BR "*" " TIFF files (*.tif) = 36,"
.RE
.RS
.BR "*" " AutoCAD DXF 2004 AAMA files (*.dxf) = 20,"
.BR "*" " HP-GL files (*.hpgl) = 37,"
.RE
.RS
.BR "*" " AutoCAD DXF 2007 AAMA files (*.dxf) = 21,"
.RE
.RS
.BR "*" " AutoCAD DXF 2010 AAMA files (*.dxf) = 22,"
.RE
.RS
.BR "*" " AutoCAD DXF 2013 AAMA files (*.dxf) = 23,"
.RE
.RS
.BR "*" " AutoCAD DXF R10 ASTM файли (*.dxf) = 24,"
.RE
.RS
.BR "*" " AutoCAD DXF R11/12 ASTM файли (*.dxf) = 25,"
.RE
.RS
.BR "*" " AutoCAD DXF R13 ASTM файли (*.dxf) = 26,"
.RE
.RS
.BR "*" " AutoCAD DXF R14 ASTM файли (*.dxf) = 27,"
.RE
.RS
.BR "*" " AutoCAD DXF 2000 ASTM файли (*.dxf) = 28,"
.RE
.RS
.BR "*" " AutoCAD DXF 2004 ASTM файли (*.dxf) = 29,"
.RE
.RS
.BR "*" " AutoCAD DXF 2007 ASTM файли (*.dxf) = 30,"
.RE
.RS
.BR "*" " AutoCAD DXF 2010 ASTM файли (*.dxf) = 31,"
.RE
.RS
.BR "*" " AutoCAD DXF 2013 ASTM файли (*.dxf) = 32,"
.RE
.RS
.BR "*" " PDF tiled files (*.pdf) = 33."
.BR "*" " HP-GL/2 files (*.hpgl) = 38."
.RE
.IP "--bdxf"
.RB "Export dxf in binary form."
.IP "--dxfApparelComp <Mode number>"
.RB "Number corresponding to compatibility mode for DXF AAMA/ASTM format (default = 0, " "export mode" "):
.RS
.BR "*" " By standard = 0,"
.RE
.RS
.BR "*" " Richpeace CAD V8 = 1,"
.RE
.RS
.BR "*" " Richpeace CAD V9 = 2,"
.RE
.RS
.BR "*" " Richpeace CAD V10 = 3."
.RE
.IP "--noGrainline"
.RB "Show/hide grainline when export layout."
.IP "--text2paths"
.RB "Export text as paths."
.IP "--exportOnlyDetails"
@ -233,6 +213,8 @@ The path to output destination folder. By default the directory at which the app
.RB "Unite pages if possible (" "export mode" "). Maximum value limited by QImage that supports only a maximum of " "32768x32768 px" " images."
.IP "--preferOneSheetSolution"
.RB "Prefer one sheet layout solution (" "export mode" ")."
.IP "--boundaryTogetherWithNotches"
.RB "Export boundary together with notches (" "export mode" ")."
.IP "-S, --savelen"
.RB "Save length of the sheet if set (" "export mode" "). The option tells the program to use as much as possible width of sheet. Quality of a layout can be worse when this option was used."
.IP "-l, --layounits <The unit>"
@ -651,6 +633,13 @@ The path to output destination folder. By default the directory at which the app
.IP Arguments:
.I filename
\- a pattern file.
.SH EXAMPLE
.IP "Export a layout to tiled PDF:"
.SB "valentina --basename test --destination /home/user/tiled --format 33 --mfile /home/user/measurements/m1.vit --pedantic"
.IP "Export pieces to DXF AAMA bypassing the layout stage:"
.SB "valentina --basename test --destination /home/user/aama --format 18 --mfile /home/user/measurements/m1.vit --exportOnlyDetails --pedantic --exportSuchDetails ."
.IP "Export a layout to tiled PDF with final measurements:"
.SB "valentina --basename test --destination /home/user/tiled --format 33 --mfile /home/user/measurements/m1.vit --pedantic --csvExportFM /home/user/tiled/test.csv"
.SH AUTHOR
.RI "This manual page was written by Roman Telezhynskyi <" dismine@gmail.com ">"
.SH "SEE ALSO"

View File

@ -16,3 +16,4 @@ usr/share/icons/hicolor/256x256/mimetypes/*
usr/share/icons/hicolor/512x512/apps/*
usr/share/icons/hicolor/512x512/mimetypes/*
usr/share/applications/*
usr/share/metainfo/*

View File

@ -1,2 +1,3 @@
debian/valentina.1
debian/tape.1
debian/puzzle.1

View File

@ -1,3 +1,5 @@
application/x-valentina-pattern; valentina %s; nametemplate=%s.val; description="Valentina pattern" edit=valentina '%s'; priority=6
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurments" edit=tape '%s'; priority=6
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina standard measurments" edit=tape '%s'; priority=6
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurements" edit=tape '%s'; priority=6
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina multisize measurements" edit=tape '%s'; priority=6
application/x-valentina-k-pattern; tape %s; nametemplate=%s.vst; description="Valentina known measurements" edit=tape '%s'; priority=6
application/x-valentina-layout; puzzle %s; nametemplate=%s.vlt; description="Valentina layout" edit=puzzle '%s'; priority=6

View File

@ -282,4 +282,98 @@
<glob pattern="*.vst"/>
<icon name="application-x-valentina-s-measurements"/>
</mime-type>
<mime-type type="application/x-valentina-layout">
<sub-class-of type="text/xml"/>
<_comment>Valentina layout</_comment>
<comment xml:lang="af">Valentina layout</comment>
<comment xml:lang="ar">Valentina layout</comment>
<comment xml:lang="as">Valentina layout</comment>
<comment xml:lang="ast">Valentina layout</comment>
<comment xml:lang="be">Valentina layout</comment>
<comment xml:lang="bg">Valentina layout</comment>
<comment xml:lang="bn">Valentina layout</comment>
<comment xml:lang="br">Valentina layout</comment>
<comment xml:lang="bs">Valentina layout</comment>
<comment xml:lang="ca">Valentina layout</comment>
<comment xml:lang="ca-valencia">Valentina layout</comment>
<comment xml:lang="cs">Valentina layout</comment>
<comment xml:lang="cy">Valentina layout</comment>
<comment xml:lang="da">Valentina layout</comment>
<comment xml:lang="de">Valentina layout</comment>
<comment xml:lang="dz">Valentina layout</comment>
<comment xml:lang="el">Valentina layout</comment>
<comment xml:lang="en-GB">Valentina layout</comment>
<comment xml:lang="en-ZA">Valentina layout</comment>
<comment xml:lang="eo">Valentina layout</comment>
<comment xml:lang="es">Valentina layout</comment>
<comment xml:lang="et">Valentina layout</comment>
<comment xml:lang="eu">Valentina layout</comment>
<comment xml:lang="fa">Valentina layout</comment>
<comment xml:lang="fi">Valentina layout</comment>
<comment xml:lang="fr">Valentina layout</comment>
<comment xml:lang="ga">Valentina layout</comment>
<comment xml:lang="gd">Valentina layout</comment>
<comment xml:lang="gl">Valentina layout</comment>
<comment xml:lang="gu">Valentina layout</comment>
<comment xml:lang="he">Valentina layout</comment>
<comment xml:lang="hi">Valentina layout</comment>
<comment xml:lang="hr">Valentina layout</comment>
<comment xml:lang="hu">Valentina layout</comment>
<comment xml:lang="id">Valentina layout</comment>
<comment xml:lang="is">Valentina layout</comment>
<comment xml:lang="it">Valentina layout</comment>
<comment xml:lang="ja">Valentina layout</comment>
<comment xml:lang="ka">Valentina layout</comment>
<comment xml:lang="kk">Valentina layout</comment>
<comment xml:lang="km">Valentina layout</comment>
<comment xml:lang="kmr-Latn">Valentina layout</comment>
<comment xml:lang="ko">Valentina layout</comment>
<comment xml:lang="lt">Valentina layout</comment>
<comment xml:lang="lv">Valentina layout</comment>
<comment xml:lang="mk">Valentina layout</comment>
<comment xml:lang="ml">Valentina layout</comment>
<comment xml:lang="mn">Valentina layout</comment>
<comment xml:lang="mr">Valentina layout</comment>
<comment xml:lang="nb">Valentina layout</comment>
<comment xml:lang="ne">Valentina layout</comment>
<comment xml:lang="nl">Valentina layout</comment>
<comment xml:lang="nn">Valentina layout</comment>
<comment xml:lang="nr">Valentina layout</comment>
<comment xml:lang="nso">Valentina layout</comment>
<comment xml:lang="oc">Valentina layout</comment>
<comment xml:lang="om">Valentina layout</comment>
<comment xml:lang="or">Valentina layout</comment>
<comment xml:lang="pa-IN">Valentina layout</comment>
<comment xml:lang="pl">Valentina layout</comment>
<comment xml:lang="pt">Valentina layout</comment>
<comment xml:lang="pt-BR">Valentina layout</comment>
<comment xml:lang="ro">Valentina layout</comment>
<comment xml:lang="ru">Valentina раскладка</comment>
<comment xml:lang="rw">Valentina layout</comment>
<comment xml:lang="si">Valentina layout</comment>
<comment xml:lang="sk">Valentina layout</comment>
<comment xml:lang="sl">Valentina layout</comment>
<comment xml:lang="sr">Valentina layout</comment>
<comment xml:lang="ss">Valentina layout</comment>
<comment xml:lang="st">Valentina layout</comment>
<comment xml:lang="sv">Valentina layout</comment>
<comment xml:lang="ta">Valentina layout</comment>
<comment xml:lang="te">Valentina layout</comment>
<comment xml:lang="tg">Valentina layout</comment>
<comment xml:lang="th">Valentina layout</comment>
<comment xml:lang="tn">Valentina layout</comment>
<comment xml:lang="tr">Valentina layout</comment>
<comment xml:lang="ts">Valentina layout</comment>
<comment xml:lang="ug">Valentina layout</comment>
<comment xml:lang="uk">Valentina розкладка</comment>
<comment xml:lang="uz">Valentina layout</comment>
<comment xml:lang="ve">Valentina layout</comment>
<comment xml:lang="vi">Valentina layout</comment>
<comment xml:lang="xh">Valentina layout</comment>
<comment xml:lang="zh-CN">Valentina layout</comment>
<comment xml:lang="zh-TW">Valentina layout</comment>
<comment xml:lang="zu">Valentina layout</comment>
<glob pattern="*.vlt"/>
<icon name="application-x-valentina-layout"/>
</mime-type>
</mime-info>

View File

@ -2,25 +2,21 @@ Format: 3.0 (native)
Source: valentina
Binary: valentina
Architecture: i386 amd64
Version: 0.6.0
Version: 0.7.52
Maintainer: Roman Telezhynskyi <dismine@gmail.com>
Homepage: https://valentinaproject.bitbucket.io/
Homepage: https://smart-pattern.com.ua
Standards-Version: 3.9.5
Vcs-Browser: https://bitbucket.org/dismine/valentina
Vcs-Browser: https://gitlab.com/smart-pattern/valentina
Build-Depends: debhelper (>= 8.0.0),
qtbase5-dev (>= 5.2.0),
libqt5svg5-dev (>= 5.2.0),
g++ (>= 4.7.0),
qt5-default (>= 5.2.0),
qttools5-dev-tools (>= 5.2.0),
libqt5xmlpatterns5-dev (>= 5.2.0),
libqt5opengl5-dev (>= 5.2.0)
qtbase5-dev (>= 5.4.0),
libqt5svg5-dev (>= 5.4.0),
g++ (>= 4.8.0),
qttools5-dev-tools (>= 5.4.0),
libqt5xmlpatterns5-dev (>= 5.4.0),
libqt5opengl5-dev (>= 5.4.0)
Debtransform-Tar: valentina-0.7.52.v0.7.52.tar.gz
Package-List:
valentina deb graphics optional
Files:
d09673bcc475067139b88cf875e5dc0c 20954240 valentina_0.6.0.orig.tar.gz
2fecf324a32123b08cefc0f047bca5ee 63176 valentina_0.6.0.diff.tar.gz
00000000000000000000000000000000 0 valentina-0.7.52.v0.7.52.tar.gz
DEBTRANSFORM-TAR: valentina_0.6.0.orig.tar.gz
DEBTRANSFORM-FILES-TAR: debian.tar.gz
DEBTRANSFORM-RELEASE: 1

BIN
dist/Puzzle.icns vendored Executable file

Binary file not shown.

View File

@ -14,7 +14,7 @@ valentina: allows pattern creation, using either standard sizing tables or an
valentina: individuals set of measurements. It blends new technologies with
valentina: traditional methods to create a unique pattern making tool.
valentina:
valentina: Homepage: https://valentinaproject.bitbucket.io/
valentina: Homepage: https://smart-pattern.com.ua/
valentina:
valentina:
valentina:

View File

@ -1,6 +1,6 @@
PRGNAM="valentina"
VERSION="0.5.0"
HOMEPAGE="https://valentinaproject.bitbucket.io"
HOMEPAGE="https://smart-pattern.com.ua"
DOWNLOAD="https://bitbucket.org/dismine/valentina/get/v0.5.0.tar.gz"
MD5SUM="f23019c92e3209dbfa7699a1c13bb98b"
DOWNLOAD_x86_64=""

BIN
dist/Tape.icns vendored Normal file → Executable file

Binary file not shown.

BIN
dist/Valentina.icns vendored Normal file → Executable file

Binary file not shown.

View File

@ -1,5 +1,5 @@
valentina (0.7.39) trusty; urgency=low
valentina (0.7.52) trusty; urgency=low
* Auto build.
-- dismine <dismine@dismine-To-be-filled-by-O-E-M> Thu, 17 Nov 2020 16:30:00 +0300
-- dismine <dismine@dismine-To-be-filled-by-O-E-M> Mon, 12 September 2022 16:25:00 +0300

5
dist/debian/control vendored
View File

@ -6,17 +6,16 @@ Build-Depends: debhelper (>= 8.0.0),
qtbase5-dev (>= 5.4.0),
libqt5svg5-dev (>= 5.4.0),
g++ (>= 4.8.0),
qt5-default (>= 5.4.0),
qttools5-dev-tools (>= 5.4.0),
libqt5xmlpatterns5-dev (>= 5.4.0),
libqt5opengl5-dev (>= 5.4.0)
Standards-Version: 3.9.5
Homepage: https://valentinaproject.bitbucket.io/
Homepage: https://smart-pattern.com.ua/
Vcs-Browser: https://gitlab.com/smart-pattern/valentina
Package: valentina
Architecture: i386 amd64
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libqt5core5a (>= 5.4.0) | libqt5core5 (>= 5.4.0), libqt5gui5 (>= 5.4.0) | libqt5gui5-gles (>= 5.4.0), libqt5printsupport5 (>= 5.4.0), libqt5svg5 (>= 5.4.0), libqt5widgets5 (>= 5.4.0), libqt5xml5 (>= 5.4.0), libqt5xmlpatterns5 (>= 5.4.0), libqt5concurrent5(>= 5.4.0), libqt5opengl5 (>= 5.4.0), libstdc++6 (>= 4.8), poppler-utils
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libqt5core5a (>= 5.4.0) | libqt5core5 (>= 5.4.0), libqt5gui5 (>= 5.4.0) | libqt5gui5-gles (>= 5.4.0), libqt5printsupport5 (>= 5.4.0), libqt5svg5 (>= 5.4.0), libqt5widgets5 (>= 5.4.0), libqt5xml5 (>= 5.4.0), libqt5xmlpatterns5 (>= 5.4.0), libqt5concurrent5(>= 5.4.0), libqt5opengl5 (>= 5.4.0), libstdc++6 (>= 4.8), poppler-utils, qt5-image-formats-plugins (>= 5.4.0)
Conflicts: seamly2d
Description: Pattern making program.
Valentina is a cross-platform patternmaking program which allows designers

1
dist/debian/menu vendored
View File

@ -1,2 +1,3 @@
?package(valentina): needs="X11" section="Applications/Graphics" title="Valentina" command="valentina"
?package(valentina): needs="X11" section="Applications/Data Management" title="Tape" command="tape"
?package(valentina): needs="X11" section="Applications/Data Management" title="Puzzle" command="puzzle"

29
dist/debian/puzzle.1 vendored Normal file
View File

@ -0,0 +1,29 @@
.\" Manpage for puzzle
.\" Contact dismine@gmail.com to correct errors.
.TH puzzle 1 "10 April, 2023" "puzzle man page"
.SH NAME
Puzzle \- Valentina's manual layout
.SH SYNOPSIS
puzzle [options] file
.SH DESCRIPTION
.B Valentina
Puzzle is the name of the new application to create manual layouts. Similar to "Tape", it is an application that is separated from Valentina and work on it's own, but is a part of the Valentina package and work closely together with Valentina.
.B Puzzle
is a part of Valentina. And used for creating and editing manual layouts.
.IP "-h, --help"
Displays this help.
.IP "-v, --version"
Displays version information.
.IP "-r, --rawLayout <The raw layout data file>"
Load pattern pieces form the raw layout data file.
.IP "--no-scaling"
Disable high dpi scaling. Call this option if has problem with scaling (by default scaling enabled). Alternatively you can use the QT_AUTO_SCREEN_SCALE_FACTOR=0 environment variable.
.IP Arguments:
.I filename
\- the manual layout file.
.SH AUTHOR
.RI "This manual page was written by Roman Telezhynskyi <" dismine@gmail.com ">"
.BR valentina (1)

2
dist/debian/rules vendored
View File

@ -18,7 +18,7 @@
mkdir -p builddir
builddir/Makefile: builddir
cd builddir && qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
cd builddir && QT_SELECT=qt5 qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir

View File

@ -1,10 +1,13 @@
debian/usr/share/pixmaps/valentina.png
debian/usr/share/pixmaps/tape.png
debian/usr/share/pixmaps/puzzle.png
debian/usr/share/pixmaps/application-x-valentina-pattern.png
debian/usr/share/pixmaps/application-x-valentina-i-measurements.png
debian/usr/share/pixmaps/application-x-valentina-s-measurements.png
debian/usr/share/pixmaps/application-x-valentina-layout.png
debian/valentina/usr/bin/valentina
debian/valentina/usr/bin/tape
debian/valentina/usr/bin/puzzle
debian/valentina/usr/share/valentina/diagrams.rcc
debian/valentina/usr/share/valentina/translations/measurements_p0_cs_CZ.qm
debian/valentina/usr/share/valentina/translations/measurements_p0_de_DE.qm

4
dist/debian/tape.1 vendored Normal file → Executable file
View File

@ -1,6 +1,6 @@
.\" Manpage for tape.
.\" Contact dismine@gmail.com to correct errors.
.TH tape 1 "3 October, 2020" "tape man page"
.TH tape 1 "8 November, 2023" "tape man page"
.SH NAME
Tape \- Valentina's measurements editor.
.SH SYNOPSIS
@ -28,6 +28,8 @@ Set base for dimension B in the table units.
Set base for dimension C in the table units.
.IP "-u, --units <The pattern units>"
Set pattern file units: cm, mm, inch.
.IP "-k, --known"
Activate known measurements mode.
.IP "--test"
Use for unit testing. Run the program and open a file without showing the main window.
.IP "--no-scaling"

77
dist/debian/valentina.1 vendored Normal file → Executable file
View File

@ -1,6 +1,6 @@
.\" Manpage for valentina.
.\" Contact dismine@gmail.com to correct errors.
.TH valentina 1 "22 March, 2020" "valentina man page"
.TH valentina 1 "28 November, 2023" "valentina man page"
.SH NAME
Valentina \- Pattern making program.
.SH SYNOPSIS
@ -75,64 +75,44 @@ The path to output destination folder. By default the directory at which the app
.BR "*" " AutoCAD DXF 2013 (flat) files (*.dxf) = 14,"
.RE
.RS
.BR "*" " AutoCAD DXF R10 AAMA files (*.dxf) = 15,"
.BR "*" " AutoCAD DXF AAMA files (*.dxf) = 16,"
.RE
.RS
.BR "*" " AutoCAD DXF R11/12 AAMA files (*.dxf) = 16,"
.BR "*" " AutoCAD DXF ASTM файли (*.dxf) = 25,"
.RE
.RS
.BR "*" " AutoCAD DXF R13 AAMA files (*.dxf) = 17,"
.BR "*" " PDF tiled files (*.pdf) = 33,"
.RE
.RS
.BR "*" " AutoCAD DXF R14 AAMA files (*.dxf) = 18,"
.BR "*" " Raw Layout Data files (*.rld) = 35,"
.RE
.RS
.BR "*" " AutoCAD DXF 2000 AAMA files (*.dxf) = 19,"
.BR "*" " TIFF files (*.tif) = 36,"
.RE
.RS
.BR "*" " AutoCAD DXF 2004 AAMA files (*.dxf) = 20,"
.BR "*" " HP-GL files (*.hpgl) = 37,"
.RE
.RS
.BR "*" " AutoCAD DXF 2007 AAMA files (*.dxf) = 21,"
.RE
.RS
.BR "*" " AutoCAD DXF 2010 AAMA files (*.dxf) = 22,"
.RE
.RS
.BR "*" " AutoCAD DXF 2013 AAMA files (*.dxf) = 23,"
.RE
.RS
.BR "*" " AutoCAD DXF R10 ASTM файли (*.dxf) = 24,"
.RE
.RS
.BR "*" " AutoCAD DXF R11/12 ASTM файли (*.dxf) = 25,"
.RE
.RS
.BR "*" " AutoCAD DXF R13 ASTM файли (*.dxf) = 26,"
.RE
.RS
.BR "*" " AutoCAD DXF R14 ASTM файли (*.dxf) = 27,"
.RE
.RS
.BR "*" " AutoCAD DXF 2000 ASTM файли (*.dxf) = 28,"
.RE
.RS
.BR "*" " AutoCAD DXF 2004 ASTM файли (*.dxf) = 29,"
.RE
.RS
.BR "*" " AutoCAD DXF 2007 ASTM файли (*.dxf) = 30,"
.RE
.RS
.BR "*" " AutoCAD DXF 2010 ASTM файли (*.dxf) = 31,"
.RE
.RS
.BR "*" " AutoCAD DXF 2013 ASTM файли (*.dxf) = 32,"
.RE
.RS
.BR "*" " PDF tiled files (*.pdf) = 33."
.BR "*" " HP-GL/2 files (*.hpgl) = 38."
.RE
.IP "--bdxf"
.RB "Export dxf in binary form."
.IP "--dxfApparelComp <Mode number>"
.RB "Number corresponding to compatibility mode for DXF AAMA/ASTM format (default = 0, " "export mode" "):
.RS
.BR "*" " By standard = 0,"
.RE
.RS
.BR "*" " Richpeace CAD V8 = 1,"
.RE
.RS
.BR "*" " Richpeace CAD V9 = 2,"
.RE
.RS
.BR "*" " Richpeace CAD V10 = 3."
.RE
.IP "--noGrainline"
.RB "Show/hide grainline when export layout."
.IP "--text2paths"
.RB "Export text as paths."
.IP "--exportOnlyDetails"
@ -233,6 +213,8 @@ The path to output destination folder. By default the directory at which the app
.RB "Unite pages if possible (" "export mode" "). Maximum value limited by QImage that supports only a maximum of " "32768x32768 px" " images."
.IP "--preferOneSheetSolution"
.RB "Prefer one sheet layout solution (" "export mode" ")."
.IP "--boundaryTogetherWithNotches"
.RB "Export boundary together with notches (" "export mode" ")."
.IP "-S, --savelen"
.RB "Save length of the sheet if set (" "export mode" "). The option tells the program to use as much as possible width of sheet. Quality of a layout can be worse when this option was used."
.IP "-l, --layounits <The unit>"
@ -651,6 +633,13 @@ The path to output destination folder. By default the directory at which the app
.IP Arguments:
.I filename
\- a pattern file.
.SH EXAMPLE
.IP "Export a layout to tiled PDF:"
.SB "valentina --basename test --destination /home/user/tiled --format 33 --mfile /home/user/measurements/m1.vit --pedantic"
.IP "Export pieces to DXF AAMA bypassing the layout stage:"
.SB "valentina --basename test --destination /home/user/aama --format 18 --mfile /home/user/measurements/m1.vit --exportOnlyDetails --pedantic --exportSuchDetails ."
.IP "Export a layout to tiled PDF with final measurements:"
.SB "valentina --basename test --destination /home/user/tiled --format 33 --mfile /home/user/measurements/m1.vit --pedantic --csvExportFM /home/user/tiled/test.csv"
.SH AUTHOR
.RI "This manual page was written by Roman Telezhynskyi <" dismine@gmail.com ">"
.SH "SEE ALSO"

View File

@ -16,3 +16,4 @@ usr/share/icons/hicolor/256x256/mimetypes/*
usr/share/icons/hicolor/512x512/apps/*
usr/share/icons/hicolor/512x512/mimetypes/*
usr/share/applications/*
usr/share/metainfo/*

View File

@ -1,2 +1,3 @@
debian/valentina.1
debian/tape.1
debian/puzzle.1

View File

@ -1,3 +1,5 @@
application/x-valentina-pattern; valentina %s; nametemplate=%s.val; description="Valentina pattern" edit=valentina '%s'; priority=6
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurments" edit=tape '%s'; priority=6
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina standard measurments" edit=tape '%s'; priority=6
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurements" edit=tape '%s'; priority=6
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina multisize measurements" edit=tape '%s'; priority=6
application/x-valentina-k-pattern; tape %s; nametemplate=%s.vst; description="Valentina known measurements" edit=tape '%s'; priority=6
application/x-valentina-layout; puzzle %s; nametemplate=%s.vlt; description="Valentina layout" edit=puzzle '%s'; priority=6

View File

@ -282,4 +282,98 @@
<glob pattern="*.vst"/>
<icon name="application-x-valentina-s-measurements"/>
</mime-type>
<mime-type type="application/x-valentina-layout">
<sub-class-of type="text/xml"/>
<_comment>Valentina layout</_comment>
<comment xml:lang="af">Valentina layout</comment>
<comment xml:lang="ar">Valentina layout</comment>
<comment xml:lang="as">Valentina layout</comment>
<comment xml:lang="ast">Valentina layout</comment>
<comment xml:lang="be">Valentina layout</comment>
<comment xml:lang="bg">Valentina layout</comment>
<comment xml:lang="bn">Valentina layout</comment>
<comment xml:lang="br">Valentina layout</comment>
<comment xml:lang="bs">Valentina layout</comment>
<comment xml:lang="ca">Valentina layout</comment>
<comment xml:lang="ca-valencia">Valentina layout</comment>
<comment xml:lang="cs">Valentina layout</comment>
<comment xml:lang="cy">Valentina layout</comment>
<comment xml:lang="da">Valentina layout</comment>
<comment xml:lang="de">Valentina layout</comment>
<comment xml:lang="dz">Valentina layout</comment>
<comment xml:lang="el">Valentina layout</comment>
<comment xml:lang="en-GB">Valentina layout</comment>
<comment xml:lang="en-ZA">Valentina layout</comment>
<comment xml:lang="eo">Valentina layout</comment>
<comment xml:lang="es">Valentina layout</comment>
<comment xml:lang="et">Valentina layout</comment>
<comment xml:lang="eu">Valentina layout</comment>
<comment xml:lang="fa">Valentina layout</comment>
<comment xml:lang="fi">Valentina layout</comment>
<comment xml:lang="fr">Valentina layout</comment>
<comment xml:lang="ga">Valentina layout</comment>
<comment xml:lang="gd">Valentina layout</comment>
<comment xml:lang="gl">Valentina layout</comment>
<comment xml:lang="gu">Valentina layout</comment>
<comment xml:lang="he">Valentina layout</comment>
<comment xml:lang="hi">Valentina layout</comment>
<comment xml:lang="hr">Valentina layout</comment>
<comment xml:lang="hu">Valentina layout</comment>
<comment xml:lang="id">Valentina layout</comment>
<comment xml:lang="is">Valentina layout</comment>
<comment xml:lang="it">Valentina layout</comment>
<comment xml:lang="ja">Valentina layout</comment>
<comment xml:lang="ka">Valentina layout</comment>
<comment xml:lang="kk">Valentina layout</comment>
<comment xml:lang="km">Valentina layout</comment>
<comment xml:lang="kmr-Latn">Valentina layout</comment>
<comment xml:lang="ko">Valentina layout</comment>
<comment xml:lang="lt">Valentina layout</comment>
<comment xml:lang="lv">Valentina layout</comment>
<comment xml:lang="mk">Valentina layout</comment>
<comment xml:lang="ml">Valentina layout</comment>
<comment xml:lang="mn">Valentina layout</comment>
<comment xml:lang="mr">Valentina layout</comment>
<comment xml:lang="nb">Valentina layout</comment>
<comment xml:lang="ne">Valentina layout</comment>
<comment xml:lang="nl">Valentina layout</comment>
<comment xml:lang="nn">Valentina layout</comment>
<comment xml:lang="nr">Valentina layout</comment>
<comment xml:lang="nso">Valentina layout</comment>
<comment xml:lang="oc">Valentina layout</comment>
<comment xml:lang="om">Valentina layout</comment>
<comment xml:lang="or">Valentina layout</comment>
<comment xml:lang="pa-IN">Valentina layout</comment>
<comment xml:lang="pl">Valentina layout</comment>
<comment xml:lang="pt">Valentina layout</comment>
<comment xml:lang="pt-BR">Valentina layout</comment>
<comment xml:lang="ro">Valentina layout</comment>
<comment xml:lang="ru">Valentina раскладка</comment>
<comment xml:lang="rw">Valentina layout</comment>
<comment xml:lang="si">Valentina layout</comment>
<comment xml:lang="sk">Valentina layout</comment>
<comment xml:lang="sl">Valentina layout</comment>
<comment xml:lang="sr">Valentina layout</comment>
<comment xml:lang="ss">Valentina layout</comment>
<comment xml:lang="st">Valentina layout</comment>
<comment xml:lang="sv">Valentina layout</comment>
<comment xml:lang="ta">Valentina layout</comment>
<comment xml:lang="te">Valentina layout</comment>
<comment xml:lang="tg">Valentina layout</comment>
<comment xml:lang="th">Valentina layout</comment>
<comment xml:lang="tn">Valentina layout</comment>
<comment xml:lang="tr">Valentina layout</comment>
<comment xml:lang="ts">Valentina layout</comment>
<comment xml:lang="ug">Valentina layout</comment>
<comment xml:lang="uk">Valentina розкладка</comment>
<comment xml:lang="uz">Valentina layout</comment>
<comment xml:lang="ve">Valentina layout</comment>
<comment xml:lang="vi">Valentina layout</comment>
<comment xml:lang="xh">Valentina layout</comment>
<comment xml:lang="zh-CN">Valentina layout</comment>
<comment xml:lang="zh-TW">Valentina layout</comment>
<comment xml:lang="zu">Valentina layout</comment>
<glob pattern="*.vlt"/>
<icon name="application-x-valentina-layout"/>
</mime-type>
</mime-info>

View File

@ -7,7 +7,7 @@ EAPI=5
inherit qmake-utils gnome2-utils fdo-mime
DESCRIPTION="Cloth patternmaking software"
HOMEPAGE="https://valentinaproject.bitbucket.io/"
HOMEPAGE="https://smart-pattern.com.ua/"
SRC_URI="https://bitbucket.org/dismine/valentina/get/v0.0.0.zip -> ${P}.zip"
LICENSE="GPL-3"

View File

@ -7,7 +7,7 @@ EAPI=5
inherit mercurial qmake-utils gnome2-utils fdo-mime
DESCRIPTION="Cloth patternmaking software"
HOMEPAGE="https://valentinaproject.bitbucket.io/"
HOMEPAGE="https://smart-pattern.com.ua/"
SRC_URI=""
EHG_REPO_URI="https://bitbucket.org/dismine/valentina"
EHG_REVISION="develop"
@ -59,6 +59,7 @@ src_install() {
doman dist/debian/${PN}.1
doman dist/debian/tape.1
doman dist/debian/puzzle.1
cp dist/debian/valentina.sharedmimeinfo dist/debian/${PN}.xml || die
insinto /usr/share/mime/packages

98
dist/macx/dmg/background.svg vendored Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 MiB

BIN
dist/macx/dmg/background.tiff vendored Executable file

Binary file not shown.

126
dist/macx/dmg/background_multibundle.svg vendored Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 MiB

BIN
dist/macx/dmg/background_multibundle.tiff vendored Executable file

Binary file not shown.

68
dist/macx/dmg/dmg.iconset/Contents.json vendored Executable file
View File

@ -0,0 +1,68 @@
{
"images" : [
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16@2x.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32@2x.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128@2x.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256@2x.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512@2x.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
dist/macx/dmg/dmg.iconset/icon_16x16.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
dist/macx/dmg/dmg.iconset/icon_32x32.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

678
dist/macx/dmg/en_US.lproj/LICENSE vendored Executable file
View File

@ -0,0 +1,678 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. [http://fsf.org/]
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
{one line to give the program's name and a brief idea of what it does.}
Copyright (C) {year} {name of author}
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see [http://www.gnu.org/licenses/].
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
{project} Copyright (C) {year} {fullname}
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
[http://www.gnu.org/licenses/].
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
[http://www.gnu.org/philosophy/why-not-lgpl.html].

BIN
dist/macx/dmg/window_size.scpt vendored Executable file

Binary file not shown.

BIN
dist/macx/k-measurements.icns vendored Normal file

Binary file not shown.

BIN
dist/macx/layout.icns vendored Normal file

Binary file not shown.

70
dist/macx/puzzle/Info.plist vendored Executable file
View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundleIconFile</key>
<string>@ICON@</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>© 2013-2023, Valentina project</string>
<key>CFBundleSignature</key>
<string>@TYPEINFO@</string>
<key>CFBundleExecutable</key>
<string>@EXECUTABLE@</string>
<key>CFBundleIdentifier</key>
<string>ua.com.smart-pattern.@EXECUTABLE@</string>
<key>CFBundleShortVersionString</key>
<string>@SHORT_VERSION@</string>
<key>CFBundleVersion</key>
<string>@FULL_VERSION@</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeIconFile</key>
<string>layout.incs</string>
<key>LSItemContentTypes</key>
<array>
<string>ua.com.smart-pattern.vlt</string>
</array>
<key>CFBundleTypeName</key>
<string>Valentina layout</string>
<key>LSHandlerRank</key>
<string>Owner</string>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.text</string>
<string>public.xml</string>
</array>
<key>UTTypeDescription</key>
<string>Valentina layout</string>
<key>UTTypeIconFile</key>
<string>layout.icns</string>
<key>UTTypeIdentifier</key>
<string>ua.com.smart-pattern.vlt</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>vlt</string>
</array>
<key>public.mime-type</key>
<string>text/xml</string>
</dict>
</dict>
</array>
</dict>
</plist>

View File

@ -0,0 +1,68 @@
{
"images" : [
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16@2x.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32@2x.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128@2x.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256@2x.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512@2x.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

View File

@ -9,19 +9,19 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>LSMinimumSystemVersion</key>
<string>10.7</string>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>© 2013-2020, Valentina project</string>
<string>© 2013-2023, Valentina project</string>
<key>CFBundleSignature</key>
<string>@TYPEINFO@</string>
<key>CFBundleExecutable</key>
<string>@EXECUTABLE@</string>
<key>CFBundleIdentifier</key>
<string>io.bitbucket.valentinaproject.@EXECUTABLE@</string>
<string>ua.com.smart-pattern.@EXECUTABLE@</string>
<key>CFBundleShortVersionString</key>
<string>0.7.39</string>
<string>@SHORT_VERSION@</string>
<key>CFBundleVersion</key>
<string>0.7.39.0</string>
<string>@FULL_VERSION@</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleDocumentTypes</key>
@ -33,7 +33,7 @@
<string>i-measurements.incs</string>
<key>LSItemContentTypes</key>
<array>
<string>io.bitbucket.valentinaproject.vit</string>
<string>ua.com.smart-pattern.vit</string>
</array>
<key>CFBundleTypeName</key>
<string>Valentina individual measurements</string>
@ -47,10 +47,24 @@
<string>s-measurements.icns</string>
<key>LSItemContentTypes</key>
<array>
<string>io.bitbucket.valentinaproject.vst</string>
<string>ua.com.smart-pattern.vst</string>
</array>
<key>CFBundleTypeName</key>
<string>Valentina multisize measurements</string>
<string>Valentina multisize measurements</string>
<key>LSHandlerRank</key>
<string>Owner</string>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeIconFile</key>
<string>k-measurements.icns</string>
<key>LSItemContentTypes</key>
<array>
<string>ua.com.smart-pattern.vkm</string>
</array>
<key>CFBundleTypeName</key>
<string>Valentina known measurements</string>
<key>LSHandlerRank</key>
<string>Owner</string>
</dict>
@ -68,7 +82,7 @@
<key>UTTypeIconFile</key>
<string>i-measurements.icns</string>
<key>UTTypeIdentifier</key>
<string>io.bitbucket.valentinaproject.vit</string>
<string>ua.com.smart-pattern.vit</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
@ -76,7 +90,7 @@
<string>vit</string>
</array>
<key>public.mime-type</key>
<string>text/xml</string>
<string>text/xml</string>
</dict>
</dict>
<dict>
@ -86,11 +100,11 @@
<string>public.xml</string>
</array>
<key>UTTypeDescription</key>
<string>Valentina multisize measurements</string>
<string>Valentina multisize measurements</string>
<key>UTTypeIconFile</key>
<string>s-measurements.icns</string>
<key>UTTypeIdentifier</key>
<string>io.bitbucket.valentinaproject.vst</string>
<string>ua.com.smart-pattern.vst</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
@ -98,11 +112,31 @@
<string>vst</string>
</array>
<key>public.mime-type</key>
<string>text/xml</string>
<string>text/xml</string>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.text</string>
<string>public.xml</string>
</array>
<key>UTTypeDescription</key>
<string>Valentina known measurements</string>
<key>UTTypeIconFile</key>
<string>k-measurements.icns</string>
<key>UTTypeIdentifier</key>
<string>ua.com.smart-pattern.vkm</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>vkm</string>
</array>
<key>public.mime-type</key>
<string>text/xml</string>
</dict>
</dict>
</array>
<key>NSRequiresAquaSystemAppearance</key>
<true/>
</dict>
</plist>

View File

@ -0,0 +1,68 @@
{
"images" : [
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16@2x.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32@2x.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128@2x.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256@2x.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512@2x.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Some files were not shown because too many files have changed in this diff Show More