Commit graph

474 commits

Author SHA1 Message Date
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 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 3e1c8a36d5 Fix QKeySequence. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi 5335fecc98 QLocale in Qt6 now returns QString instead of QChar. 2023-02-10 17:51:21 +02:00
Roman Telezhynskyi 171b3be090 Backward compatibility for type qsizetype. 2023-02-09 17:27:43 +02:00
Roman Telezhynskyi dee3c593de Improve stable.h. 2023-02-09 17:24:02 +02:00
Roman Telezhynskyi e6c7051b6f Multi bundle support. 2023-01-27 09:07:34 -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 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 971869c346 Stage 'windeployqt'. 2023-01-18 15:04:26 +02:00
Roman Telezhynskyi 3392ea560e Enable full static.h on Windows. 2023-01-17 16:48:31 +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 f4113dbd9c Add RC files. 2023-01-13 18:47:28 +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 1669fbd3b2 Fix Lupdate warnings. 2023-01-12 20:12:16 +02:00
Roman Telezhynskyi 19344de569 Refactoring preparing test environment. 2023-01-11 14:02:35 +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 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 895b02ef0d Move 'Precompiled headers' group to buildconfig. 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 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 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 3e64af6443 Change Z value for piece controls.
This will place them above a piece.
2022-11-22 09:42:24 +02:00
Roman Telezhynskyi 0f2c922ead Fix manual layout format conversion and reading. 2022-11-21 18:52:11 +02:00
Roman Telezhynskyi 2d6fa0fe9b Fix reading a layout. 2022-11-21 16:48:29 +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 2f683930e9 Fix typo. 2022-11-14 18:02:00 +02:00
Roman Telezhynskyi 301069fbff Clang warnings. 2022-11-10 15:53:36 +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 9c7ab2fb4a Refactor CastTo. 2022-10-28 16:16:13 +03:00
Roman Telezhynskyi bd10a78f55 Successful compilation. 2022-10-28 16:16:13 +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 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 44370de134 bpstd::literals::chrono_literals not compatible with GCC 4.8. 2022-09-13 13:10:12 +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 8a902d8f66 Backport std::chrono_literals to C++11. 2022-09-08 16:43:21 +03:00
Roman Telezhynskyi 70168ebe6c Fix support Visual Studio 2015. 2022-09-02 17:14:03 +03:00
Roman Telezhynskyi 1e344d6df0 Fix calculating an elliptical arc. 2022-08-27 16:46:25 +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 003c9bf33f Fix build. 2022-08-17 15:51:35 +03:00
Roman Telezhynskyi 42fedfc262 Fix build on Windows. 2022-08-16 16:43:22 +03:00
Roman Telezhynskyi 0ab0edc654 Refactoring. 2022-08-12 18:50:22 +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 18e2554907 Support for options Force Flipping and Forbid Flipping in Puzzle. 2022-08-05 18:26:00 +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 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 2e0f9c2a53 Puzzle app. Fix reading a piece name. 2022-06-04 16:31:46 +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 2402bfaf9e Fix typos. 2022-03-28 17:40:44 +03: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 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 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 2c0ccbb1cf Fix build on Debian 9. 2022-02-17 13:20:42 +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 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