Commit graph

822 commits

Author SHA1 Message Date
Roman Telezhynskyi 95fb3f3d89 Pattern label template placeholder with dimension label value. Closes #109 2021-03-29 15:06:32 +03:00
Roman Telezhynskyi 80b6c97b3a Bump version. 2021-02-26 16:21:54 +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 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 c8f12690bc Clean pattern messages.
Replace \" with ".
2021-02-17 19:07:55 +02:00
Roman Telezhynskyi c10611605b Bump version. 2021-02-09 19:53:05 +02:00
Roman Telezhynskyi 2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi 42e5c0be5b Bump version. 2021-01-31 15:59:25 +02:00
Roman Telezhynskyi 1935d7cb13 Bump version. 2021-01-26 15:38:47 +02:00
Roman Telezhynskyi 8b15f4aed6 Final measurement printout on pattern piece. Closes #85 2021-01-23 21:37:36 +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 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 abe92c667d Temporary enable full output for macosx. 2020-12-25 09:40:18 +02:00
Roman Telezhynskyi de6e4d6fed Fix a test crash. 2020-12-24 13:04:56 +02:00
Roman Telezhynskyi a58a783aba Merge branch 'develop' into feature/manual-layout 2020-12-23 18:40:33 +02:00
Roman Telezhynskyi abb4397901 Introducing VPrintLayout class.
Refactoring printing a layout.
2020-12-23 15:30:06 +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 58cae6f66c New option "Don't use the native file dialog". 2020-12-17 18:43:15 +02:00
Roman Telezhynskyi 7002097362 Bump version. 2020-12-04 09:39:13 +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 76f195121e Bump version. 2020-11-23 10:48:58 +02:00
Roman Telezhynskyi b82d6f1bb1 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-20 13:40:39 +02:00
Roman Telezhynskyi 80d9fbc107 New function Warning. 2020-11-20 13:18:38 +02:00
Roman Telezhynskyi 4def392945 Bump version. 2020-11-17 14:12:51 +02:00
Roman Telezhynskyi 9ae51c937f Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-13 11:52:10 +02:00
Roman Telezhynskyi e730cba188 Bump version. 2020-11-12 16:34:56 +02:00
Roman Telezhynskyi 8c70272e60 Bump version. 2020-11-11 09:53:43 +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 2f9708337d Cleaning code. 2020-10-31 10:14:08 +02:00
Roman Telezhynskyi 188d7097e1 New versioning schema. Closes #5 2020-10-24 12:23:35 +03:00
Roman Telezhynskyi 34e1391ecb Remove translation for label placeholders. 2020-10-16 13:55:51 +03:00
Roman Telezhynskyi d10f20f399 Extend placeholders list with list of measurements. 2020-10-16 13:43:54 +03:00
Roman Telezhynskyi 1b2343e537 Extend list of placeholders.
Added customer email and birth date, all dimensions.
2020-10-16 11:37:49 +03:00
Roman Telezhynskyi 18e1a4a601 Remove gradation information from pattern. 2020-10-16 08:22:43 +03:00
Roman Telezhynskyi 4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi 23e6d0f830 Allow a user to select dimensions for individual measurements. 2020-10-15 09:35:08 +03:00
Roman Telezhynskyi 4a12c1ca74 Continue improving dialog Dimension restrictions. 2020-10-06 18:00:53 +03:00
Roman Telezhynskyi 484b92a38e Dialog setup miltisize measurements. 2020-09-28 16:38:32 +03:00
llocram 1a2c5de357 Replaced hand-crafted reverse algorithm with std::reverse 2020-08-28 14:09:16 +02:00
Roman Telezhynskyi dc14f164be Fix error in Reverse function. 2020-07-13 18:23:15 +03:00
Roman Telezhynskyi 9389cb546c Refactoring. Redesign a container reversing method. 2020-07-13 16:28:59 +03:00
Roman Telezhynskyi acac092ff3 Fix path to AppImage root folder.
Valentina relies on absolute paths to find path to components. In case of AppImage path will be mimicked, but root must be corrected to take into account tmp folder AppImage mounts data.
2020-07-13 16:28:59 +03:00
Roman Telezhynskyi cc506e96ea Fix hardcoded path to package data directory. It should be controlled over prefix. #56 2020-07-11 10:52:53 +03:00
Roman Telezhynskyi 158edcc093 Use of QButtonGroup::buttonClicked has been deprecated since Qt 5.15. 2020-07-08 11:29:40 +03:00
Roman Telezhynskyi e31a22654e Use of Qt::MatchRegExp deprecated since Qt 5.15. Use Qt::MatchRegularExpression instead. 2020-07-08 10:31:53 +03:00
Roman Telezhynskyi dd9cfb39f5 More deprecation warnings. 2020-07-07 19:15:43 +03:00
Roman Telezhynskyi e2669b4e2b Fix build on Linux. 2020-07-07 18:55:31 +03:00
Roman Telezhynskyi c3e935029e More deprecation warnings. 2020-07-07 17:48:26 +03:00
Roman Telezhynskyi 3383df193b More deprecation warnings. 2020-07-07 10:51:00 +03:00
Roman Telezhynskyi 2da8f70f86 Optimize tool box position for big screen resolutions. Closes smart-pattern/valentina#45.
Instead of forcing users to one possible choice add an option to control size policy for the tool box.
2020-06-01 12:21:09 +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 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
Roman Telezhynskyi 3a675f0552 New default folder Manual layouts. 2020-04-21 18:57:11 +03:00
Roman Telezhynskyi 51e0694f36 Merge branch 'develop' into feature/manual-layout. 2020-04-11 10:38:14 +03:00
Roman Telezhynskyi 952298a477 Fix invalid header. 2020-03-29 20:52:26 +03:00
Roman Telezhynskyi c6c4edb893 Merge branch 'develop' into feature/manual-layout 2020-03-25 15:28:23 +02:00
Roman Telezhynskyi c1453f1715 Organization of groups - groups categories. Closes smart-pattern/valentina#15. 2020-03-24 17:31:32 +02:00
Roman Telezhynskyi 49828889e2 New layout generator option: Prefer one sheet solution. 2020-03-22 16:22:03 +02:00
Roman Telezhynskyi c8526f2eb0 Setting scale factor for export and print. 2020-03-21 18:15:29 +02:00
Roman Telezhynskyi 4ce51e2662 Refactoring. Add additional constructor for class QSettings. 2020-03-07 10:58:18 +02:00
Roman Telezhynskyi 5a10bd7f63 Puzzle application class. 2020-02-16 19:18:39 +02:00
Roman Telezhynskyi fa97850b0f Suppress warning inside of qvector.h. 2020-01-31 17:49:06 +02:00
Roman Telezhynskyi 93fb90153f Fix finding the latest tag distance.
Switch to git.
2020-01-31 09:00:40 +02:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi acfd1ac01d Fix build.
--HG--
branch : develop
2020-01-20 14:03:57 +02:00
Roman Telezhynskyi 61edf4d91a Fix build.
--HG--
branch : develop
2020-01-20 13:51:56 +02:00
Roman Telezhynskyi f64a33fb98 Resolved issue #992. QXcbConnection: XCB Error.
--HG--
branch : develop
2020-01-20 10:14:44 +02:00
Roman Telezhynskyi 716192e520 Refactoring. Hide compatibility layer behind a function.
constLast(), move(), append().

--HG--
branch : develop
2020-01-17 15:14:00 +02:00
Roman Telezhynskyi ad45daddeb Fix build.
--HG--
branch : develop
2020-01-17 14:44:25 +02:00
Roman Telezhynskyi 7998687b03 Refactoring. Hide compatibility layer behind a function.
fromList().

--HG--
branch : develop
2020-01-16 19:46:05 +02:00
Roman Telezhynskyi 658eafc3d3 Refactoring. Hide compatibility layer behind a function.
toVector().

--HG--
branch : develop
2020-01-16 19:20:55 +02:00
Roman Telezhynskyi 7e3c7e0f88 Refactoring. Hide compatibility layer behind a function.
toSet(), toList(), swapItemsAt().

--HG--
branch : develop
2020-01-16 19:09:23 +02:00
Roman Telezhynskyi 98a88ed529 Refactoring. Hide compatibility layer behind a function.
QLineF::intersects.

--HG--
branch : develop
2020-01-16 17:34:08 +02:00
Roman Telezhynskyi 24e50455b0 Improve conversion for dxf file export.
We never checked if it really works. And it doesn't in many cases. Not always
Qt recognizes standard ANSI_* names as valid aliases for codepages. Because
codec itself can have many aliases we will test them one by one until one will
fit.

--HG--
branch : develop
2020-01-16 14:10:49 +02:00
Roman Telezhynskyi 74218e82bc Try another way to fix build.
--HG--
branch : develop
2020-01-12 13:25:35 +02:00
Roman Telezhynskyi f63e3ff1ad Fix build.
--HG--
branch : develop
2020-01-12 12:34:12 +02:00
Roman Telezhynskyi 5658e0b0d5 Fix copy paste error.
--HG--
branch : develop
2020-01-07 14:21:47 +02:00
Roman Telezhynskyi cf1e383d7b Don't use 'char' as a type of enum class.
QDataStream doesn't support serialization for this type.

--HG--
branch : develop
2020-01-07 12:54:01 +02:00
Roman Telezhynskyi 5177057be1 Since Qt 5.14 enumerations can be serialized through QDataStream without the
need of manually defining streaming operators. Enum classes are
serialized using the declared size.

--HG--
branch : develop
2020-01-07 09:45:26 +02:00
Roman Telezhynskyi 15852ed2cd Add missing icon in Windows icon theme.
--HG--
branch : develop
2019-12-28 18:06:06 +02:00
Roman Telezhynskyi 1d7667df61 Export tiled PDF with watermark.
--HG--
branch : develop
2019-12-13 10:51:29 +02:00
Roman Telezhynskyi 037ca99280 Refactoring. Move the code that gets path to exe file to separate module. DRY.
--HG--
branch : develop
2019-11-29 14:40:00 +02:00
Roman Telezhynskyi 18284289a0 Forgot to add a correction.
--HG--
branch : develop
2019-11-29 12:24:00 +02:00
Roman Telezhynskyi 7624b27409 BinReloc to get path to exe directory.
--HG--
branch : develop
2019-11-29 11:40:00 +02:00
Roman Telezhynskyi df79ea7395 Test idea that Qt classes internally use ICU.
--HG--
branch : develop
2019-11-29 08:49:32 +02:00
Roman Telezhynskyi 1d28dd5be9 u_setDataDirectory expects const * char.
--HG--
branch : develop
2019-11-29 08:15:29 +02:00
Roman Telezhynskyi 50b929ea48 u_setDataDirectory to define path to ICU data.
--HG--
branch : develop
2019-11-28 16:42:06 +02:00
Roman Telezhynskyi 866a801f38 Auto refresh the list with each parse.
--HG--
branch : develop
2019-11-28 15:17:27 +02:00
Roman Telezhynskyi 0c78511cfc Set environment variable ICU_DATA on runtime.
This time before QApplication and manually getting the application dir path.

--HG--
branch : develop
2019-11-26 19:56:40 +02:00
Roman Telezhynskyi f81d814bb2 QCoreApplication::applicationDirPath returns empty string until we do not init
QApplication instance.

--HG--
branch : develop
2019-11-26 16:44:52 +02:00
Roman Telezhynskyi a59f4d7923 Fix crash when QTextCodec::codecForMib returns null.
--HG--
branch : develop
2019-11-25 11:34:17 +02:00
Roman Telezhynskyi 9e25e6de24 Introducing vRound function.
Shortcut to round double to X points decimal.

--HG--
branch : develop
2019-11-19 15:46:11 +02:00
Roman Telezhynskyi 36e839ed5d Move to top and include qt_windows.h.
--HG--
branch : develop
2019-11-15 09:51:31 +02:00
Roman Telezhynskyi 8f6ae65224 New feature Pattern Messages.
Added special field to show pattern warnings instead of warning dialogs.
Fixed issue with tabified dockwidgets.

--HG--
branch : develop
2019-10-28 17:44:31 +02:00
Andrey Ushakov ea75af2f46 New command line option --cropWidth. Helps to crop unused width of paper.
--HG--
branch : develop
2019-10-16 11:16:16 +03:00
Roman Telezhynskyi c802df2b73 Lupdate warnings.
Lupdate lacks of some features to support all C++ valid declarations.

--HG--
branch : develop
2019-09-10 16:57:31 +03:00
Roman Telezhynskyi 366e76a642 Improve piece node context menu. Added options to control passmark angle type
and passmark mark type.

--HG--
branch : develop
2019-09-05 11:29:20 +03:00
Roman Telezhynskyi 01798ee422 Cppcheck warning.
--HG--
branch : develop
2019-08-22 17:47:48 +03:00
Roman Telezhynskyi 4d54c0c44c Fix typo in Valentina manpage.
Some cyrillic characters were used instead of latin.

--HG--
branch : develop
2019-07-25 08:10:08 +03:00
Roman Telezhynskyi 8e481d6fea Fix error: 'find' is deprecated: Use bool find(const QString &, QPixmap *)
instead.

--HG--
branch : develop
2019-07-24 15:10:13 +03:00
Roman Telezhynskyi 09bd14f382 Rethink feature. Instead of hiding show main path.
--HG--
branch : develop
2019-07-23 16:01:39 +03:00
Roman Telezhynskyi 5c84c80039 Refactoring. Reduce modules dependency.
--HG--
branch : develop
2019-07-22 17:06:30 +03:00
Roman Telezhynskyi 44345085c2 New option --manualPriority.
Helps to disable following manual priority without need to change settings for
each piece.

--HG--
branch : develop
2019-07-21 16:26:21 +03:00
Roman Telezhynskyi 1ab19c05a3 Refactoring. Move VFuzzyComparePoints to VGeometry static library.
--HG--
branch : develop
2019-07-21 15:04:08 +03:00
Roman Telezhynskyi a3e643b5dd New feature "Hide piece's main path".
In some cases users want to hide main path and work with "real" pattern pieces.
This new option allows to quickly disable main path for all pieces without need
to make manual adjustment for each piece. Do not ovveride piece options.

--HG--
branch : develop
2019-07-18 20:18:48 +03:00
Roman Telezhynskyi 2ac4267dd3 Fix locking file after double save as.
(grafted from 4828cd4acfa596166fe4c8a32f505045b86cab9c)

--HG--
branch : develop
2019-07-04 17:13:33 +03:00
Roman Telezhynskyi e8804c90bb New layout option --nestQuantity.
--HG--
branch : develop
2019-07-04 14:33:45 +03:00
Roman Telezhynskyi 9042cd000c Refactoring.
--HG--
branch : develop
2019-07-01 18:24:46 +03:00
Roman Telezhynskyi efa1bc6f27 Missed return statement.
--HG--
branch : develop
2019-07-01 18:18:54 +03:00
Roman Telezhynskyi fc73ace034 Fix access to private member.
--HG--
branch : develop
2019-07-01 18:13:46 +03:00
Roman Telezhynskyi 4bd9cf381e QDataStream streaming operator for QFlags added only since Qt 5.9.
--HG--
branch : develop
2019-07-01 17:58:46 +03:00
Roman Telezhynskyi 03b8758781 All classes which work with QDataStream must provide a header.
--HG--
branch : develop
2019-07-01 13:25:03 +03:00
Roman Telezhynskyi c536c40628 Refactor AboutToQuit.
--HG--
branch : develop
2019-07-01 12:47:06 +03:00
Roman Telezhynskyi 35eb1cecff Refactoring.
--HG--
branch : develop
2019-07-01 12:11:18 +03:00
Roman Telezhynskyi 0658d92688 New marcos Q_DISABLE_ASSIGN.
--HG--
branch : develop
2019-07-01 11:33:29 +03:00
Roman Telezhynskyi 9030cfd52e Backport QScopeGuard class.
--HG--
branch : develop
2019-06-12 08:30:32 +03:00
Roman Telezhynskyi a62c2bfb55 Fix function VFuzzyComparePoints.
--HG--
branch : develop
2019-06-08 08:40:56 +03:00
Roman Telezhynskyi 5c55778d66 Since Q5.12 available support for C++17.
--HG--
branch : develop
2019-05-28 17:41:15 +03:00
Roman Telezhynskyi bcc2eab0fb Fixing error: 'auto' return without trailing return type; deduced return types
are a C++14 extension.

--HG--
branch : develop
2019-05-28 17:25:42 +03:00
Roman Telezhynskyi d5a1f96bdd constFirst() introduced since Qt 5.6.
--HG--
branch : develop
2019-05-28 16:21:52 +03:00
Roman Telezhynskyi e9d77c747b Refactoring.
--HG--
branch : develop
2019-05-28 16:20:53 +03:00
Roman Telezhynskyi 1cf3e6dda1 Raise the minimum value for curve approximation to 0.2.
With 0.1 Valentina produces visible errors.

--HG--
branch : develop
2019-05-27 18:51:55 +03:00
Roman Telezhynskyi 5838537033 Resolved issue #725. Improve labels on drawing.
--HG--
branch : develop
2019-05-08 19:22:55 +03:00
Roman Telezhynskyi 2c58263df1 Two new passmark types: U and Box.
--HG--
branch : develop
2019-04-23 20:56:11 +03:00
Roman Telezhynskyi 0987428a93 Increase required Qt version up to 5.4.
--HG--
branch : develop
2019-04-05 15:42:22 +03:00
Roman Telezhynskyi 3b2b51fa74 Update man.
--HG--
branch : feature
2019-03-30 11:48:20 +02:00
Roman Telezhynskyi 290676a2a6 Refactoring. Return value or default.
--HG--
branch : feature
2019-03-29 19:50:17 +02:00
Roman Telezhynskyi 248b0e3eeb Refactoring. Use std::initializer_list.
--HG--
branch : feature
2019-03-29 11:38:46 +02:00
Roman Telezhynskyi 47bcfd74ab Changes for dialog.
--HG--
branch : feature
2019-03-29 11:31:17 +02:00
Roman Telezhynskyi a214a78006 Continue replacing custom *_FALLTHROUGH macroses with Q_FALLTHROUGH().
--HG--
branch : develop
2019-03-27 13:31:02 +02:00
Roman Telezhynskyi fc5b991174 Use Q_FALLTHROUGH instead of V_FALLTHROUGH.
--HG--
branch : develop
2019-03-16 12:22:09 +02:00
Roman Telezhynskyi 715389d35d Use Qt's Q_DECL_UNUSED instead of internal V_UNUSED.
--HG--
branch : develop
2019-03-16 12:02:00 +02:00
Roman Telezhynskyi c4d07125dc Refactoring define new type for id value.
--HG--
branch : develop
2019-03-26 17:15:03 +02:00
Roman Telezhynskyi 9b1cdb1848 Improve localization of modifier keys.
--HG--
branch : develop
2019-02-14 13:18:16 +02:00
Roman Telezhynskyi 864d3568c0 Resolved issue #932. 2nd version V passmarks.
--HG--
branch : develop
2019-01-24 09:26:57 +02:00
Roman Telezhynskyi e91c92d4a9 Resolved issue #929. New variable type: Separator.
--HG--
branch : develop
2019-01-16 16:24:41 +02:00
Roman Telezhynskyi 77cb644f90 Refactoring. Fixing static analyzers warnings.
--HG--
branch : develop
2019-01-14 17:56:05 +02:00
Roman Telezhynskyi 7e89a13476 Refactoring. Fixing static analyzers warnings.
--HG--
branch : develop
2019-01-06 13:46:22 +02:00
Wren Turkal 71f7f40875 Add ability to search measurements by regex.
You do this by prepending "/r/" to the front of the search string.
This makes it much easier to find measurements when one has a lot of
measurements for a given individual.

I also refactored that common table search code to consolidate this
functionality and make it easier to add other search methods in the
future.

--HG--
branch : develop
2019-01-06 01:25:12 -08:00
Wren Turkal 42b00c5c58 Fix the tape app importing of measurments from a pattern
When importing measurements from a pattern in the tape app, it
defaulted to the templates directory instead of the patterns
directory. The patterns directory was set as a setting in the
valentina settings (VSettings) instead of the common settings
(VCommonSettings). I refactored the the setting into the
VCommonSettings and made the tape app use the setting. I was
able to confirm that setting a new pattern directory resulted
in the same pattern directory being used in both Valentina and
tape.

--HG--
branch : develop
2019-01-05 16:46:31 -08:00
Roman Telezhynskyi e108a1378f New command line option --landscapeOrientation.
--HG--
branch : develop
2018-12-27 16:37:47 +02:00
Roman Telezhynskyi 6016308d58 Resolved issue #651. Improve feature: Layout orientation according to grainline.
--HG--
branch : develop
2018-12-27 15:54:29 +02:00
Roman Telezhynskyi 7218098165 Fixing error: invalid use of incomplete type class QMarginsF.
--HG--
branch : develop
2018-12-23 21:02:59 +02:00
Roman Telezhynskyi cbd991a8b0 Refactoring. Use relaxed constexpr for ToPixel, FromPixel, UnitConvertor and
VFuzzyComparePossibleNulls.

--HG--
branch : develop
2018-12-23 20:09:57 +02:00
Roman Telezhynskyi 6403941406 Fixed issue #914. Filtering custom seam allowance paths prevent including more
than one.
(grafted from 07fec74fad050330a1161776e27bb6c877354a59)

--HG--
branch : develop
2018-12-21 13:01:32 +02:00
Roman Telezhynskyi d6bcdcdaf7 Update debugbreak for support PowerPC target.
--HG--
branch : develop
2018-12-18 16:08:14 +02:00
Roman Telezhynskyi 5f5b7e41fa Enable alternative operator representations for support old or nonconforming
compilers by default.

--HG--
branch : develop
2018-12-11 22:27:55 +02:00
Roman Telezhynskyi 5004c12342 Seepd up pattern file validation making it parallel.
--HG--
branch : develop
2018-11-18 09:52:08 +02:00
Roman Telezhynskyi b01305b92f Dark theme by default should be disabled.
--HG--
branch : develop
2018-10-29 19:39:14 +02:00
Emmanuel Nyachoke 6d9105729f Added initial dark mode theme using https://github.com/ColinDuquesnoy/
QDarkStyleSheet

--HG--
branch : develop
2018-10-29 15:05:49 +03:00
Roman Telezhynskyi 81d2eb513a Fixed issues with seam allowance.
(grafted from 79a6fe52de80fc8707e24574eff1ec75eb1cd424)

--HG--
branch : develop
2018-10-17 18:12:39 +03:00
Roman Telezhynskyi 409f34d205 Starting to collect changes for new version 0.7.0.
--HG--
branch : develop
2018-10-12 15:55:58 +03:00
Roman Telezhynskyi dbb63daa31 Release v0.6.0.
--HG--
branch : release
2018-10-01 12:33:22 +03:00
Roman Telezhynskyi 2295a56160 Check QMessageLogContext class version.
--HG--
branch : release
2018-09-30 18:39:51 +03:00
Roman Telezhynskyi c23502da9a Fix build prior Qt 5.4.0.
--HG--
branch : release
2018-09-29 22:05:03 +03:00
Roman Telezhynskyi ecc952d235 Suppressing error: 'void q_dispatch_async_main(voidBlock)' defined but not used
[-Werror=unused-function].

First, because this is static function define it inline. Second, use GCC
extension to fully cover possible cases with Clang.

--HG--
branch : release
2018-09-28 22:29:58 +03:00
Roman Telezhynskyi 47e3f9f7c7 Improve message handling from threads.
Only GUI thread can show message boxes.

--HG--
branch : release
2018-09-28 21:05:42 +03:00
Roman Telezhynskyi fadc55983d This code doesn't work without constexpr.
--HG--
branch : release
2018-09-27 20:25:37 +03:00
Roman Telezhynskyi 515df843d3 New function VFuzzyComparePoints to compare two points.
--HG--
branch : release
2018-09-27 14:52:21 +03:00
Roman Telezhynskyi a4ec72b3bd Help function to speed up creating tests.
--HG--
branch : release
2018-09-19 15:16:29 +03:00
Roman Telezhynskyi 60b323cf8e Fixed issue #882. VContainer class doesn't support multi document mode.
--HG--
branch : release
2018-09-18 16:38:16 +03:00
Roman Telezhynskyi b8acb767df Officially in beta.
--HG--
branch : release
2018-08-17 11:10:15 +03:00
Roman Telezhynskyi fe9dc90dc7 Bug in undocommands. We should return to pattern piece only if in Calculation
mode. If do it in Details mode Valentina may not switch pattern piece back when
a user returns to Calculation mode. This breaks a work and no new object can be
added to pattern.

--HG--
branch : develop
2018-07-25 11:26:09 +03:00
Roman Telezhynskyi 20b3f034d4 Fixed issue #866. Valentina produces an invalid pattern file if a user defines
more than 9 materials.

--HG--
branch : develop
2018-07-19 16:47:20 +03:00
Roman Telezhynskyi 2c7b21b98d Resolved issue #865. New feature. Dynamic Way to define Material in piece label.
--HG--
branch : develop
2018-07-18 20:18:30 +03:00
Roman Telezhynskyi fd85efacd9 Resolved issue #862. Force Valentina to immediately terminate if a pattern
contains a parsing warning.

--HG--
branch : develop
2018-07-13 16:18:04 +03:00
Roman Telezhynskyi 2235a5d3d8 Cppcheck warning. Virtual function 'OpenSettings' is called from constructor
'VApplication(int&argc,char**argv)'.

--HG--
branch : develop
2018-07-09 10:45:23 +03:00
Roman Telezhynskyi 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi 13a8b83a0e Flush buffer after adding a string, not before.
--HG--
branch : develop
2018-06-21 14:16:17 +03:00
Roman Telezhynskyi 09e8c81d6f Refactoring. Rename GetPPath() to GetPatternPath().
--HG--
branch : develop
2018-06-19 09:18:38 +03:00
Roman Telezhynskyi 81caed8f5f Added new function VAbstractApplication::ClearMessage.
It will help clear messages from unneeded '"' at the start and at the end.
qWarning and others adds them.

--HG--
branch : develop
2018-05-25 17:54:21 +03:00
Roman Telezhynskyi 2ee75fdbab Tab with options to control Scrolling settings. ref #831.
Empiric settings do not work for all.

--HG--
branch : develop
2018-05-11 12:42:20 +03:00
Roman Telezhynskyi 1e0b777bd6 New option to control calling zoom current pattern piece by mouse double click.
--HG--
branch : develop
2018-05-10 14:12:41 +03:00
Roman Telezhynskyi a128cbd3ec String "Global", comment for translators.
--HG--
branch : develop
2018-04-18 11:17:13 +03:00
Roman Telezhynskyi e7ca9294cf Refactoring. Use QChar instead of QString where possible.
Point and comma.

--HG--
branch : develop
2018-04-13 09:14:55 +03:00
Roman Telezhynskyi 1e5ee0ab8b Optimization. Move literals.
--HG--
branch : develop
2018-04-13 09:00:09 +03:00
Roman Telezhynskyi 64029c249a Refactoring. Added special section for string literals.
--HG--
branch : develop
2018-04-08 19:45:23 +03:00
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi 6b6a2632a9 Refactoring. Replacing all Q_FOREACH/foreach loops with the c++ range-based
loops.

--HG--
branch : develop
2018-04-03 11:15:58 +03:00
Roman Telezhynskyi 2cb7c4c603 Utilize macro QT_DEPRECATED_WARNINGS.
--HG--
branch : develop
2018-03-22 19:57:56 +02:00
Roman Telezhynskyi edccf05a62 Function qAsConst() was introduced in Qt 5.7.
--HG--
branch : develop
2018-03-19 09:57:43 +02:00
Roman Telezhynskyi 6a7405b4d4 Refactoring. Use QString default constructor instead of empty string.
--HG--
branch : develop
2018-03-14 16:01:24 +02:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi 368c3a871a Resolved issue #819. Use OpenGL as render for view.
--HG--
branch : develop
2018-03-10 16:39:37 +02:00
Roman Telezhynskyi 6c438f92e0 Resolved issue #808. New feature. Global line width option.
--HG--
branch : develop
2018-02-06 19:30:27 +02:00
Roman Telezhynskyi 7fedd20319 Fix some bugs and add preview table. ref #804.
--HG--
branch : develop
2018-02-06 15:46:20 +02:00
Roman Telezhynskyi 72d832c93a Resolved issue #807. Issue with "Intersection" passmark.
--HG--
branch : develop
2018-02-04 12:35:27 +02:00
Roman Telezhynskyi cd1ebf434a Resolved issue #804. New feature. Import measurements from CSV file in Tape app.
--HG--
branch : develop
2018-01-31 14:34:50 +02:00
Roman Telezhynskyi 76dd51b6c6 Fix test crash.
--HG--
branch : develop
2018-01-21 21:42:04 +02:00
Roman Telezhynskyi 7bdc10419c Speed optimization translating internal variables.
--HG--
branch : develop
2018-01-21 16:00:53 +02:00
Roman Telezhynskyi 7dc29c0f00 Speed optimization for method VCommonSettings::GetCurveApproximationScale().
--HG--
branch : develop
2018-01-20 12:35:43 +02:00
Roman Telezhynskyi da314b3265 GCC warning.
--HG--
branch : develop
2018-01-12 15:54:42 +02:00
Roman Telezhynskyi 5c8c940f32 Refactoring. Backport QOverload template.
--HG--
branch : develop
2018-01-12 15:25:20 +02:00
Roman Telezhynskyi 15339939ef Fix QGraphicsView cursor regression.
--HG--
branch : develop
2018-01-12 14:31:45 +02:00
Roman Telezhynskyi 88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi 7fb0ebed20 Cppcheck warning.
(grafted from 9cf24fc42bd2aff67a32924e48d1bd2b4d61ee2c)

--HG--
branch : develop
2017-12-10 13:29:17 +02:00
Roman Telezhynskyi 0a66db7184 Resolved issue #778. Calling Valentina with "-h" option opens information
dialog instead of writing to console.
(grafted from 4fb29d9b4e5441c43704005e4776f87d548673e7)

--HG--
branch : develop
2017-12-10 13:17:04 +02:00
Roman Telezhynskyi debc37d78a Removed unused postfix operator.
--HG--
branch : develop
2017-12-04 14:32:17 +02:00
Roman Telezhynskyi 097af11a6d Improvement. Fix broken symlink automatically.
--HG--
branch : develop
2017-11-29 17:03:42 +02:00
Roman Telezhynskyi f71b0fd328 Fix build on Windows.
--HG--
branch : develop
2017-11-13 12:59:25 +02:00
Roman Telezhynskyi 132b7c9fc6 CSR - special modeling case.
--HG--
branch : develop
2017-11-13 10:53:27 +02:00
Roman Telezhynskyi d1e3531247 Write log output in UTF-8.
--HG--
branch : develop
2017-11-01 10:20:07 +02:00
Roman Telezhynskyi 8309fa8c7a Save show curve details state between sessions.
--HG--
branch : develop
2017-10-29 15:13:13 +02:00
Roman Telezhynskyi 9b54b0c069 Dialog Duplicate Detail.
--HG--
branch : feature
2017-10-25 17:49:04 +03:00
Roman Telezhynskyi f27c7e4e35 Fix recursive repaint after label scale.
--HG--
branch : feature
2017-10-23 21:10:48 +03:00
Roman Telezhynskyi ca79c7ff93 Added place label.
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi 6b47894f16 Cppcheck warnings.
--HG--
branch : develop
2017-10-13 22:03:44 +03:00
Roman Telezhynskyi d15e507aeb Fix issue. User should be able to control tiled pdf export through command line.
--HG--
branch : develop
2017-10-13 17:48:20 +03:00
Roman Telezhynskyi 0f59db15db Clang warning.
--HG--
branch : develop
2017-10-12 10:35:22 +03:00
Roman Telezhynskyi 8981e77927 Clang warning.
--HG--
branch : develop
2017-10-11 14:26:05 +03:00
Roman Telezhynskyi baa2f4fd92 Resolved issue #768. New feature. Custom curve approximation scale.
--HG--
branch : develop
2017-10-11 13:51:06 +03:00
Roman Telezhynskyi 67b01c0337 Resolved issue #657. Improve feature: Allow more paper formats for printing
tiled PDF.

--HG--
branch : develop
2017-10-10 12:22:59 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi daa539378f Resolved issue #765. New feature. Free curve mode.
--HG--
branch : develop
2017-10-03 13:01:56 +03:00
Roman Telezhynskyi 0adfbb8fb1 New math parser function "r2cm". Round to up to 1 decimal.
--HG--
branch : develop
2017-09-29 17:47:11 +03:00
Roman Telezhynskyi be614ad9f8 Right way to suppress GCC warning Wstrict-overflow for method QVector::move().
--HG--
branch : develop
2017-09-29 17:13:30 +03:00
Roman Telezhynskyi d7b3ddc2d5 Resolved issue #758. Intersection Passmark - select which side is shown.
--HG--
branch : develop
2017-09-28 21:18:13 +03:00
Roman Telezhynskyi 5551b853b9 Extend number of user material placeholders up to 20.
--HG--
branch : develop
2017-09-28 17:45:57 +03:00
Roman Telezhynskyi b673ec0fc7 Command line options to export final measurements.
--HG--
branch : feature
2017-09-28 16:05:04 +03:00
Roman Telezhynskyi 257fb2f913 Refactor export to CSV.
Preparation for export final measurements.

--HG--
branch : feature
2017-09-27 13:25:18 +03:00
Roman Telezhynskyi 0eb6b8b30f Dialog Final measurements.
--HG--
branch : feature
2017-09-26 17:24:02 +03:00
Roman Telezhynskyi e1075dfdf5 Fix zoom fit best current after adding new pattern piece.
--HG--
branch : develop
2017-09-25 18:28:58 +03:00
Roman Telezhynskyi ab961834e8 Add missed keys to list of all command line keys.
--HG--
branch : develop
2017-09-24 10:37:58 +03:00
Roman Telezhynskyi bdc8840184 Resolved issue #756. New feature. Select pieces from command line.
--HG--
branch : develop
2017-09-22 19:16:16 +03:00
Roman Telezhynskyi bfe327ee13 If pattern linked to individual measurements it should get customer name from
it.

--HG--
branch : develop
2017-09-19 16:07:48 +03:00
Roman Telezhynskyi d820191e8a User "home" folder now supports label templates.
--HG--
branch : develop
2017-09-12 11:50:23 +03:00
Roman Telezhynskyi 33ec3921a6 Added new language Polish (Poland).
--HG--
branch : develop
2017-09-11 16:57:49 +03:00
Roman Telezhynskyi b19cb9aee7 Removed crash sending system for Windows.
--HG--
branch : develop
2017-09-04 19:11:15 +03:00
Roman Telezhynskyi 0a5035c5b3 Remove unused settings for removed old time ago Community page.
--HG--
branch : develop
2017-09-01 17:15:12 +03:00
Roman Telezhynskyi b7db0804dc Our new website.
--HG--
branch : develop
2017-09-01 17:04:19 +03:00
Roman Telezhynskyi 0da1d58a78 SonarQube warning.
--HG--
branch : develop
2017-08-30 10:35:11 +03:00
Roman Telezhynskyi 4a6e1e104f Global variable to count placeholders quantity.
--HG--
branch : feature
2017-08-30 07:43:00 +03:00
Roman Telezhynskyi 2885d95a43 Added dialog Pattern materials.
--HG--
branch : feature
2017-08-30 07:26:18 +03:00
Roman Telezhynskyi da892dfc3c Added dialog Known Materials.
--HG--
branch : feature
2017-08-28 16:03:19 +03:00
Roman Telezhynskyi 842dfafcd6 Fix bug. Valentina doesn't update pattern label.
--HG--
branch : develop
2017-08-23 20:54:20 +03:00
Roman Telezhynskyi be83ff5a12 SonarQube warnings.
--HG--
branch : develop
2017-08-21 16:47:17 +03:00
Roman Telezhynskyi acf429518d Added more additional Piece label fields.
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi 03e1256952 Removed unused field from preferences.
--HG--
branch : feature
2017-08-19 20:17:51 +03:00
Roman Telezhynskyi a8d8efd889 Dialog DateTimeEditor.
--HG--
branch : feature
2017-08-19 19:10:57 +03:00
Roman Telezhynskyi 96df1db48e Cleaning GUI.
--HG--
branch : feature
2017-08-18 09:25:57 +03:00
Roman Telezhynskyi 09c67a099a UI changes for piece label.
--HG--
branch : feature
2017-08-17 19:18:03 +03:00
Roman Telezhynskyi af5c82bdf6 Test to be sure that translation of placeholders are correct.
--HG--
branch : feature
2017-08-16 13:09:29 +03:00
Roman Telezhynskyi 0f4c993c83 Added default pattern label template.
--HG--
branch : feature
2017-08-14 17:17:40 +03:00
Roman Telezhynskyi 89ed92e93f Added more placeholders.
--HG--
branch : feature
2017-08-14 15:11:14 +03:00
Roman Telezhynskyi 209a281cdc New standard path for label templates.
--HG--
branch : feature
2017-08-10 14:51:17 +03:00
Roman Telezhynskyi 56bb45aee7 Added new icons to local icon theme.
--HG--
branch : feature
2017-08-09 14:17:21 +03:00
Roman Telezhynskyi 349a5cade0 Fixed issue #743. Valentina doesn't update update pattern after adding item.
(grafted from 9488967913032bb6c97488a8540309db771e7728)

--HG--
branch : develop
2017-08-03 15:25:14 +03:00
Roman Telezhynskyi 0894f686ef Improve working with mouse cursors. Instead of setting global value set cursor
for each item separately.

--HG--
branch : develop
2017-08-01 14:35:48 +03:00