Commit graph

743 commits

Author SHA1 Message Date
Roman Telezhynskyi 68c6c033b4 Merge branch 'develop' into feature/manual-layout 2021-05-15 11:27:37 +03:00
Roman Telezhynskyi 69da5ba9b7 Fix regression. Incorrect data caching. 2021-05-07 11:19:06 +03:00
Roman Telezhynskyi f4eb8330b3 Merge branch 'develop' into feature/manual-layout 2021-04-24 13:05:13 +03:00
Roman Telezhynskyi 638d3182f4 Fix retranslation table headers in Tape. 2021-03-26 16:27:17 +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 7ebb9f2e04 Fix issue. Tape allows to enable disabled rows. 2021-02-08 15:17:43 +02:00
Roman Telezhynskyi 2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +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 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 b85167ae8d Fix opening link to a website. 2021-01-22 19:07:52 +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 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 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 a58a783aba Merge branch 'develop' into feature/manual-layout 2020-12-23 18:40:33 +02:00
Roman Telezhynskyi 58cae6f66c New option "Don't use the native file dialog". 2020-12-17 18:43:15 +02: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 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 0371905c0d Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-10 16:00:01 +02:00
Roman Telezhynskyi 6ef17ec05b Fix mapping csv columns. 2020-11-09 13:16:50 +02:00
Roman Telezhynskyi 839547bdd2 Init not mandatory columns with Skip option. 2020-11-09 13:15:48 +02:00
Roman Telezhynskyi 08da057697 Remove duplicate call. 2020-11-09 13:14:50 +02:00
Roman Telezhynskyi f3e3b9a45f Fix linker issue. 2020-10-31 11:39:14 +02:00
Roman Telezhynskyi 612a48710e Mark string for translation. 2020-10-28 14:10:23 +02:00
Roman Telezhynskyi eaf87cc4a1 Remove pumpkin mode. 2020-10-24 11:42:56 +03:00
Roman Telezhynskyi 289f18f354 Add translation comments to measurement columns. 2020-10-23 17:38:43 +03:00
Roman Telezhynskyi e65363546b Swap hip and waist. 2020-10-20 16:29:11 +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 a5298ea059 Restore feature Edit current measurements. 2020-10-16 09:31:08 +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 7ba9b380b7 Redesign measurements import. 2020-10-10 19:31:23 +03:00
Roman Telezhynskyi eaf6975331 Dimension labels. 2020-10-08 13:34:38 +03:00
Roman Telezhynskyi f072ee5888 Correct way to apply restrictions. 2020-10-07 18:09:27 +03:00
Roman Telezhynskyi 1bb0a896f5 Update base lists after changing restrictions. 2020-10-07 17:14:12 +03:00
Roman Telezhynskyi 506ce6fb5e Redesign filtering bases. 2020-10-07 17:12:53 +03:00
Roman Telezhynskyi 4a12c1ca74 Continue improving dialog Dimension restrictions. 2020-10-06 18:00:53 +03:00
Roman Telezhynskyi df2f2f7f83 Dialog Restrict dimension. 2020-10-05 15:14:38 +03:00
Roman Telezhynskyi 0668a99cb5 Redesign a way we define the action. 2020-10-05 11:58:10 +03:00
Roman Telezhynskyi f96fd45a90 New feature Export to individual measurements. 2020-10-05 11:45:16 +03:00
Roman Telezhynskyi 214170a9b2 Height is not a circumference, but still a distance. 2020-10-05 10:14:31 +03:00
Roman Telezhynskyi 31c0a523e4 Block signals when set a measurement units. 2020-10-03 18:53:36 +03:00
Roman Telezhynskyi ab5892d3ef Show calculated value according to option Special units. 2020-10-03 18:53:36 +03:00
Roman Telezhynskyi 16ce597a37 Reading/Writing a measurement data. 2020-10-03 18:53:36 +03:00
Roman Telezhynskyi ecb62257c2 Dimension controls. 2020-10-03 07:34:25 +03:00
Roman Telezhynskyi 20675a081a Changes to CLI. 2020-10-03 07:33:56 +03:00
Roman Telezhynskyi a16e6bc082 Basic implementation for Full circumference trigger. 2020-10-01 19:26:56 +03:00
Roman Telezhynskyi 15978bd868 Refactoring.
Unify initialization and translation dimensions base value.
2020-10-01 19:09:23 +03:00
Roman Telezhynskyi 4db0f3a420 Prepare base values. 2020-10-01 19:09:23 +03:00
Roman Telezhynskyi a0cfebf10d Save option Full Circumference. 2020-10-01 19:09:23 +03:00
Roman Telezhynskyi cea2671687 Saving dimensions. Reading dimensions. 2020-10-01 13:32:02 +03:00
Roman Telezhynskyi 484b92a38e Dialog setup miltisize measurements. 2020-09-28 16:38:32 +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 ee29874543 Default prefix must be defined before first use. Added new preprocessor macros value BINDIR. #56 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 20b797b2c5 Merge branch 'develop' into feature/manual-layout. 2020-06-04 13:45:32 +03:00
Roman Telezhynskyi ca3c5c8532 Do not enable checking ntfs permissions for checking read only status. 2020-06-03 11:44:38 +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 5a10bd7f63 Puzzle application class. 2020-02-16 19:18:39 +02:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +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 1f6285aef9 Fix deprecation warnings.
(grafted from 686129d90f37b8d0c428092668673d44f06545d8)

--HG--
branch : develop
2020-01-06 20:10:09 +02:00
Roman Telezhynskyi c87a15b99c Improve working with measurements in Tape.
* Disable remove button if a table is empty.
* Switch to previous measurement if remove the last in the list.

--HG--
branch : develop
2019-12-05 10:27:33 +02:00
Roman Telezhynskyi 3c69b425ec Fix noDebugSymbols.
--HG--
branch : develop
2019-11-29 19:55:27 +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 002f86b1a8 Move SetICUData on top.
--HG--
branch : develop
2019-11-28 19:00:23 +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 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 b724210bf9 Debug ICU_DATA environment variable.
--HG--
branch : develop
2019-11-26 15:35:43 +02:00
Roman Telezhynskyi 3b56659226 Set environment variable ICU_DATA on runtime.
When deploying with AppImage based on OpenSuse, the ICU library has a
hardcoded path to the icudt*.dat file. This prevents the library from using
shared in memory data. There are few ways to resolve this issue. According to
documentation we can either use ICU_DATA environment variable or the function
u_setDataDirectory().

--HG--
branch : develop
2019-11-26 12:57:06 +02:00
Roman Telezhynskyi 7c03d366e4 Fix confusion. Current size and height should provide infomation about
measurements units.

--HG--
branch : develop
2019-09-07 10:42:09 +03:00
Roman Telezhynskyi cefb4f7474 Fix setting current height and size. We should follow information Valentina
passes us.

--HG--
branch : develop
2019-09-07 10:36:53 +03:00
Roman Telezhynskyi 93910a2130 Improve for recent files list. Show duplicate file names with unique path
section.

--HG--
branch : develop
2019-09-06 22:18:18 +03:00
Roman Telezhynskyi a9a09d85c3 Pumpkin mod.
To provide a better quality service we restrict the lifetime a user can use a
test build.

--HG--
branch : develop
2019-08-23 08:17:26 +03:00
Roman Telezhynskyi 503e31aee0 Fix error: 'currentIndexChanged' is deprecated: Use currentTextChanged()
instead.

--HG--
branch : develop
2019-07-24 16:45:22 +03:00
Roman Telezhynskyi 8f961300e6 Basic structure for new class VPatternRecipe.
--HG--
branch : feature
2019-07-10 12:42:37 +03:00
Roman Telezhynskyi 16975ec6b9 Refactoring. Another case for QScopeGuard.
--HG--
branch : develop
2019-07-04 17:32:58 +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 c536c40628 Refactor AboutToQuit.
--HG--
branch : develop
2019-07-01 12:47:06 +03:00
Roman Telezhynskyi 0330869796 Serialization/deserialization for class VLayoutPiece.
--HG--
branch : develop
2019-07-01 11:02:09 +03:00
Roman Telezhynskyi a38405a8e0 Follow given prefix.
User can specify prefix, we should follow it.

--HG--
branch : develop
2019-06-25 12:09:30 +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 aff0095d8d Make labels in dialogs About App selectable. Will help easier copy values.
ref #968.

--HG--
branch : develop
2019-04-26 14:59:44 +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 5f181e3a54 Don't use Qt OpenGL module since Q5.4.
--HG--
branch : develop
2019-04-05 13:56:44 +03:00
Roman Telezhynskyi 2c8539a30d Fixed issue #956. Setting pattern unit doesn't change combobox value in Tape
app.
(grafted from 591df5032a71d33d0f17242bebc2d128f9e27d99)

--HG--
branch : develop
2019-03-14 11:53:08 +02:00
Roman Telezhynskyi e6f7d3efd1 Lupdate.
--HG--
branch : develop
2019-01-21 09:28:15 +02:00
Roman Telezhynskyi a810e524ca Fixing regression. List of recent files in Tape were missed.
--HG--
branch : develop
2019-01-15 11:21:35 +02:00
Roman Telezhynskyi 4cf819fff3 Fixing Wclazy-qstring-allocations warning.
--HG--
branch : develop
2019-01-15 10:52:43 +02:00
Wren Turkal 74c95ebb17 Set measurement diagram correctly.
When all the known measurements are removed, that should probably make
the measurement diagram show the unknown measurement message.

--HG--
branch : develop
2019-01-15 00:43:18 -08:00
Roman Telezhynskyi c142cb4b85 Some improvements after move the measurement diagram action to the ui file.
There is no harm to make it enabled from the start. Plus closing the dock widget
must uncheck the action.

--HG--
branch : develop
2019-01-15 09:53:23 +02:00
Wren Turkal a190fcaea2 Move the measurement diagram action to the ui file.
--HG--
branch : develop
2019-01-14 22:21:31 -08:00
Roman Telezhynskyi 13237ffd83 Give users hint about new feature.
--HG--
branch : develop
2019-01-06 13:59:10 +02:00
Roman Telezhynskyi ba08ed4d1d Refactoring. Fixing static analyzers warnings.
--HG--
branch : develop
2019-01-06 13:29:57 +02:00
Roman Telezhynskyi 753e9c76f5 Cppcheck warnings.
--HG--
branch : develop
2019-01-06 10:29:38 +02:00
Roman Telezhynskyi 0024543764 Show My Patterns path in Tape settings.
Since we now use this path in Tape either user should be able to control it
through options like in Valentina.

--HG--
branch : develop
2019-01-06 10:29:22 +02: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
Wren Turkal 4bee75357c Add some common shortcuts for menus in tape app.
--HG--
branch : develop
2019-01-01 20:37:31 -08:00
Roman Telezhynskyi 7c31d660a8 Fix error: lambda capture 'this' is not used.
--HG--
branch : develop
2018-12-11 13:12:08 +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 cc5bb4ec15 Warn a user if change in preferences requires restart.
--HG--
branch : develop
2018-10-29 19:56:39 +02:00
Roman Telezhynskyi 8a1eaa7292 Improve Option dialogs. Make them resizable as possible.
--HG--
branch : develop
2018-10-29 19:37:34 +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 c89755b2a5 Define variables if not defined when include <windows.h>.
(grafted from d21cb1805ca0aa448f9aec0b8cdd30c0b67a5b12)

--HG--
branch : develop
2018-10-12 21:47:18 +03:00
Roman Telezhynskyi db478562ee Fixed issue #885. Regression. Broken support for multi size measurements.
(grafted from 1a0becf32c00518f126cd0e7325c0eb2bbdcc18e)

--HG--
branch : develop
2018-10-12 13:06:03 +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 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 8a3d50520f Added status check for settings read/write operations.
--HG--
branch : release
2018-09-09 12:39:19 +03:00
Roman Telezhynskyi ed5ac37256 Fix potential crash.
--HG--
branch : develop
2018-08-02 15:03:15 +03:00
Roman Telezhynskyi e1cfe78077 Fix memory leak.
--HG--
branch : develop
2018-08-02 13:48:48 +03:00
Roman Telezhynskyi 2453758735 Fix mistake in name.
--HG--
branch : develop
2018-08-01 19:25:36 +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 40f8c5f5f0 Link with library uxtheme to enable new style since WindowsXP or later.
--HG--
branch : develop
2018-06-11 11:54:44 +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 c6e38932dc Update minimal requirements for Qt on Mac OS X.
--HG--
branch : develop
2018-05-22 19:22:11 +03:00
Roman Telezhynskyi f67af27c06 Fix language changing at runtime.
All two preferences dialogs have this issue.

--HG--
branch : develop
2018-05-18 13:51:35 +03:00
Roman Telezhynskyi ee6ffab480 Bug QTBUG-43344 was fixed in Qt 5.11.1.
--HG--
branch : develop
2018-04-27 16:32:26 +03:00
Roman Telezhynskyi ab59a76bbb String optimization. Replace string " " with signe QChar.
--HG--
branch : develop
2018-04-22 18:39:56 +03:00
Roman Telezhynskyi 2d5f84b4bf Refactoring. Don't use old slot style in QTimer::singleShot.
--HG--
branch : develop
2018-04-18 11:15:53 +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 e26fcb05b8 Fix typo.
--HG--
branch : develop
2018-04-13 08:43:44 +03:00
Roman Telezhynskyi 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi 64029c249a Refactoring. Added special section for string literals.
--HG--
branch : develop
2018-04-08 19:45:23 +03:00
Ronan Le Tiec 2f4d699cb6 merge with incoming
--HG--
branch : develop
2018-04-06 23:11:20 +02:00
Ronan Le Tiec f09adc22ab resolves #826 code refactoring and corrections
--HG--
branch : develop
2018-04-06 23:08:09 +02:00
Ronan Le Tiec a56c41589c Merged dismine/valentina into develop
--HG--
branch : develop
2018-04-06 21:58:09 +02:00
Roman Telezhynskyi d8c3a0ac81 Use native dialog on all platforms except Linux.
We have a bug with native dialog on Linux that's why we cannot use it.

--HG--
branch : develop
2018-04-04 08:34:48 +03:00
Roman Telezhynskyi c6e7590034 Fix MacOS regression QWidget::closeEvent called twice.
--HG--
branch : develop
2018-04-03 17:41:39 +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 3252130f36 Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-02 20:38:56 +03:00
Roman Telezhynskyi fe5a58beef Fix unused lambda capture.
--HG--
branch : develop
2018-04-02 16:43:02 +03:00
Ronan Le Tiec d3da522ac4 issue 826 undo and redo adding or removing item from group finished
--HG--
branch : feature
2018-04-01 23:36:54 +02:00
Roman Telezhynskyi 2cb7c4c603 Utilize macro QT_DEPRECATED_WARNINGS.
--HG--
branch : develop
2018-03-22 19:57:56 +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 a2c54fc7f3 Some dialogs should behave like windows on mac.
--HG--
branch : develop
2018-03-12 12:42:43 +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 3d377bcbfd Do not build an app bundle in debug mode.
--HG--
branch : develop
2018-03-10 17:09:36 +02:00
Roman Telezhynskyi 5bb90ab92d Force repain to fix paint artifacts on Mac OS X.
--HG--
branch : develop
2018-03-10 17:24:16 +02:00
Roman Telezhynskyi 4fdfcfc11e Improve description field. It should be flexible.
--HG--
branch : develop
2018-03-04 13:34:32 +02:00
Roman Telezhynskyi 543042004a Imported file must not contain the same name twice. ref #804.
--HG--
branch : develop
2018-02-07 11:00:25 +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 c56992407e Resolved issue #667. Check for updates - Test version.
--HG--
branch : develop
2018-02-06 13:38:05 +02:00
Roman Telezhynskyi e56423905d Ignore full name and description for known measurements. ref #804.
--HG--
branch : develop
2018-02-05 11:10:55 +02:00
Roman Telezhynskyi 28044ff4c6 Improve search in Tape app. Provide search not only in selected measurement
description, but in all descriptions. ref #732.

--HG--
branch : develop
2018-02-03 12:45:16 +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 90fe5d379e Fix Export to CSV bug. Header have wrong title.
--HG--
branch : develop
2018-01-31 14:31:34 +02:00
Roman Telezhynskyi 54d3ae7561 Improve parsing formulas.
Enable subexpressions. Allow user to define local variables.

--HG--
branch : develop
2018-01-24 22:08:53 +02:00
Roman Telezhynskyi 9b5b8dde04 Improve Formula Wizard. Disable data types not available in certain cases.
--HG--
branch : develop
2018-01-24 19:10:29 +02:00
Roman Telezhynskyi a91b1a3816 Speed optimization for method VAbstractPattern::ListMeasurements().
--HG--
branch : develop
2018-01-24 13:16:29 +02:00
Roman Telezhynskyi 0cc551b786 Resolved issue #732. Tape app. Improve Database dialog.
--HG--
branch : develop
2018-01-23 13:08:20 +02:00
Roman Telezhynskyi 5c8c940f32 Refactoring. Backport QOverload template.
--HG--
branch : develop
2018-01-12 15:25:20 +02:00
Roman Telezhynskyi 931c0de439 Breakpoints do not work if debug the app inside of app bundle.
--HG--
branch : develop
2017-12-11 15:52:24 +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 5f0d4ea586 Resolved issue #774. New feature. Matching Parentheses.
--HG--
branch : develop
2017-11-14 13:46:28 +02:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +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 661e71bad0 Refactoring use static methods VTranslateVars::TryFormula*User().
--HG--
branch : feature
2017-09-26 17:46:28 +03:00
Roman Telezhynskyi 29972118ff Lupdate.
--HG--
branch : develop
2017-09-24 10:33:49 +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 b19cb9aee7 Removed crash sending system for Windows.
--HG--
branch : develop
2017-09-04 19:11:15 +03:00
Roman Telezhynskyi 3999ebd82e Fixed bug in Tape. Each Window should has own size and height values.
--HG--
branch : develop
2017-08-04 20:29:43 +03:00
Ronan Le Tiec 46f70788cf issue #654 refactoring the code so that the functions and variables are called xxx multisize xxx instead of xxx standard xxx
--HG--
branch : develop
2017-07-12 20:21:48 +02:00
Ronan Le Tiec 5b79acd2bb issue #654 tape : standard changed to multisize in the GUI
--HG--
branch : develop
2017-07-11 18:47:23 +02:00
Roman Telezhynskyi d0cc8902f9 SonarQube warnings.
--HG--
branch : develop
2017-07-09 09:02:26 +03:00
Roman Telezhynskyi e6eb9c756b Cppcheck warnings.
--HG--
branch : develop
2017-07-06 12:58:26 +03:00
Roman Telezhynskyi 1726b55339 GCC warnings.
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi b6e0d97df0 Qmake. Fix masks to support 64 bit versions of compilers.
--HG--
branch : develop
2017-07-05 11:35:32 +03:00
Ronan Le Tiec f080b88cf7 issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
--HG--
branch : develop
2017-07-02 13:34:36 +02:00
Roman Telezhynskyi 72ea1997fb Fixed issue #715. Build fails with Qt 5.9.1 / clang / macOS.
(grafted from d78ca13c4891ccf3542b0704a7d66af0f9b02938)

--HG--
branch : develop
2017-07-01 21:38:26 +03:00
Roman Telezhynskyi d110dc3325 Fixed issue #706. Default unit in preferences not changing new file unit.
(grafted from f1ce177213a46538a840fc789e4e2ce3d78d98e4)

--HG--
branch : develop
2017-06-16 16:01:09 +03:00
Roman Telezhynskyi debcabf1a3 Set wait cursor to inform a user that the program is busy when openning
Preferences dialog.

Because Preferences dialog reads data about installed localizations each time
a user opens it in some cases it's take some time. Especially when a hard drive
is busy.

--HG--
branch : develop
2017-06-14 11:48:51 +03:00
Roman Telezhynskyi f12e9ee4ac Fixed issue #703. Valentina warns about format rewriting for unsaved files.
(grafted from c25298f49b2401b67647213dd6543ba880ddf58d)

--HG--
branch : develop
2017-06-08 09:39:56 +03:00
Roman Telezhynskyi 3a4871fcd0 SonarQube warnings.
--HG--
branch : develop
2017-06-05 19:47:25 +03:00
Roman Telezhynskyi 7a9b2e34bd Changed default behaviour if path to multisize measurements or templates doesn't
exist.

If the path doesn't exist Valentina will create and return path to user
localized default folder.
(grafted from 722c37544c26fe3f406d222b7f344ddf7b3602a0)

--HG--
branch : develop
2017-06-05 17:52:42 +03:00
Roman Telezhynskyi bfd2620fad Next try to fix problem with tests.
Because different compilers and even different version from same vendor may
produce little bit different result this cause of test fails because it expect
too accurate result. We don't need such accuracy and can use variable
VGObject::accuracyPointOnLine to compare two points.

--HG--
branch : develop
2017-06-01 13:04:25 +03:00
Roman Telezhynskyi cc5641a15c Added gcc’s 4.9.0 Undefined Behavior Sanitizer (ubsan).
--HG--
branch : develop
2017-06-01 10:14:17 +03:00
Roman Telezhynskyi 7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi 2dcfe1c84b Since Q5.4 available support C++14.
--HG--
branch : develop
2017-05-30 18:54:54 +03:00
Roman Telezhynskyi 4d262cba26 Fixed bug in Tape app.
Tape showed birth date in wrong locale.
(grafted from a97fb493ae6c7d6f2a6645913dcc4db16219efac)

--HG--
branch : develop
2017-05-23 16:01:41 +03:00
Roman Telezhynskyi 8d10ff5234 Fixed issue #688. Difficult to enter numbers in Tape.
(grafted from 4c3cac37331437d3a6e9764d38351156c82fd731)

--HG--
branch : develop
2017-05-23 10:45:04 +03:00
Roman Telezhynskyi 7225481091 Resolved issue #682. New feature. Export increments to Excel .csv.
--HG--
branch : develop
2017-05-12 15:09:19 +03:00
Roman Telezhynskyi 7734c0564b Localization improvements.
--HG--
branch : release
2017-04-21 17:28:25 +03:00
Roman Telezhynskyi 07021680a4 Little fix for translation string.
--HG--
branch : release
2017-04-21 13:11:51 +03:00
Roman Telezhynskyi 6c047b140d Resolved issue #666. QDomDocument produces random attribute order.
--HG--
branch : release
2017-04-20 19:01:08 +03:00
Roman Telezhynskyi fffd66ac53 Fix About Tape dialog width.
--HG--
branch : release
2017-04-18 14:35:31 +03:00
Roman Telezhynskyi a78b758226 SonarQube warnings.
--HG--
branch : release
2017-04-14 17:43:26 +03:00
Roman Telezhynskyi 7b0253d95e Resolved resizing tables after update.
--HG--
branch : release
2017-04-14 12:04:03 +03:00
Roman Telezhynskyi 1e06446189 Improved editing custom measurement and increment.
Fixed case when a user input empty string. In this case return auto generated
name. Fixed case when the name is not unique. In this case find unique with
index "new_name" + "_number".

--HG--
branch : release
2017-04-14 10:35:44 +03:00
Roman Telezhynskyi 78bdd5a8af Improve tooltip for case when a user get infinite or NaN result.
--HG--
branch : release
2017-04-13 17:16:53 +03:00
Roman Telezhynskyi cade111206 Refactoring Tape's preferences dialog.
Instead of manual declaring used Qt Designer.

--HG--
branch : release
2017-04-12 15:50:48 +03:00
Roman Telezhynskyi a1caf972a9 Warn a user when need to update a file format version.
--HG--
branch : release
2017-04-12 09:49:05 +03:00
Roman Telezhynskyi a3056dc7e2 Qt 5.2.0 is now minimal requirement to build the code.
--HG--
branch : release
2017-04-10 22:18:36 +03:00
Roman Telezhynskyi 3f1b042d6c Get hash also from git repository.
Because we use both hg and git (as mirror) we can get hash of current commit
from git too.

--HG--
branch : release
2017-04-10 20:24:58 +03:00
Roman Telezhynskyi f8836cf563 Fix translation bug. Default names for increment and measurement should also
be validated in unit tests.

--HG--
branch : develop
2017-03-28 10:18:19 +03:00
Roman Telezhynskyi d696af9a33 "static" members should be accessed statically.
--HG--
branch : develop
2017-03-23 10:25:46 +02:00
Roman Telezhynskyi d2904b567b Since Qt 5.8 minimal supported OSX version is 10.9.
--HG--
branch : develop
2017-03-02 19:04:59 +02:00
Roman Telezhynskyi e7651c7194 Merge with develop.
--HG--
branch : feature
2017-02-23 09:29:28 +02:00
Roman Telezhynskyi 2c6f1d9f64 End a switch case with an unconditional break.
--HG--
branch : develop
2017-02-22 19:34:29 +02:00
Roman Telezhynskyi 3bf65edaa6 Merge with develop.
--HG--
branch : feature
2017-02-22 14:48:48 +02:00
Roman Telezhynskyi a4fd71f68c Refactoring. Merging identical cases.
--HG--
branch : develop
2017-02-22 14:15:16 +02:00
Roman Telezhynskyi 915276748c Replace deprecated function qt_mac_set_dock_menu() by method
QMenu::setAsDockMenu().

--HG--
branch : develop
2017-02-22 08:09:33 +02:00
Roman Telezhynskyi 38abf5c9a0 Removed redundant forward declaration.
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi 8f0f2399e2 Use QScopedPointer to prevent memory leaks.
--HG--
branch : develop
2017-02-18 10:43:06 +02:00
Roman Telezhynskyi 7b23e89237 Check pointer to prevent memory leak.
--HG--
branch : develop
2017-02-18 09:03:24 +02:00
Roman Telezhynskyi 5a0d9b0e00 Merge with develop.
--HG--
branch : feature
2017-02-17 20:38:45 +02:00
Roman Telezhynskyi 2f024db547 Resolved issue #611. Improve feature: Paths preferences.
--HG--
branch : develop
2017-02-17 20:37:49 +02:00
Roman Telezhynskyi a3d27bf9db Refacoring. Use marcos for getting current combobox data.
--HG--
branch : feature
2017-02-15 15:23:04 +02:00
Roman Telezhynskyi 9c27e7bfed Fixed issue #624. Icon resulotion issues with some display setups.
--HG--
branch : develop
2017-02-09 15:43:17 +02:00
Roman Telezhynskyi 7d78a0f63f Resolved issue #619. Non writable directory prevents opening.
--HG--
branch : develop
2017-02-04 13:28:47 +02:00
Roman Telezhynskyi 2c795281dd Merge with develop.
--HG--
branch : feature
2017-01-25 13:29:03 +02:00
Roman Telezhynskyi e74a3f5cb2 Fixed typo.
--HG--
branch : develop
2017-01-24 16:20:39 +02:00
Roman Telezhynskyi f982bea7ba Add OpenSSL library to bundle to prevent error "QSslSocket error when SSL is
NOT used".

Try to prevent crashes on Windows because OpenSSL library is not installed or
installed very old version. Also will help suppress annoying messages.

--HG--
branch : develop
2017-01-24 16:12:43 +02:00
Roman Telezhynskyi 1014cc86ca Resolved issue #612. Valentina crashes when network is disabled on Linux.
--HG--
branch : develop
2017-01-24 15:47:25 +02:00
Roman Telezhynskyi e15d4d9c05 Fix possible memory leak.
--HG--
branch : feature
2017-01-21 15:50:17 +02:00
Roman Telezhynskyi 86f4b21879 Instead of method QLocale::system() better to use the default constructor.
Usefull in case we will deside change default locale.

--HG--
branch : develop
2017-01-03 10:46:28 +02:00
Roman Telezhynskyi 731eb9ec89 Refactoring.
There is no automatic disconnection when the 'receiver' is destroyed because
it's a functor with no QObject. However, since 5.2 there is an overload which
adds a "context object". When that object is destroyed, the connection is
broken (the context is also used for the thread affinity: the lambda will be
called in the thread of the event loop of the object used as context).

--HG--
branch : develop
2016-12-21 20:45:14 +02:00
Roman Telezhynskyi e4c90a0809 Fix warning "Explicitly capture the required scope variables".
--HG--
branch : develop
2016-12-21 20:08:02 +02:00
Roman Telezhynskyi 7b76dbe99d Remove redundant check.
--HG--
branch : develop
2016-12-21 18:00:56 +02:00
Roman Telezhynskyi d10026bd9d Remove empty statement.
--HG--
branch : develop
2016-12-21 17:58:18 +02:00
Roman Telezhynskyi 2d61b87256 Remove empty statement.
--HG--
branch : develop
2016-12-20 21:19:21 +02:00
Roman Telezhynskyi ffab000e0f Remove empty statement.
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi e881547999 Alwayse show locale "en_US" in the language list.
--HG--
branch : develop
2016-11-14 19:35:26 +02:00
Roman Telezhynskyi e6c85fa47a Calling constructor of Preference dialog take some time. Because of this user
have time to call the dialog twice.

--HG--
branch : develop
2016-11-04 13:29:59 +02:00
Roman Telezhynskyi 595a7dcaff Enable attribute Qt::AA_EnableHighDpiScaling for support HighDpi displays.
--HG--
branch : develop
2016-11-04 12:47:10 +02:00
Roman Telezhynskyi 5c821e331d Refactoring function MapDiagrams(). ref #576.
--HG--
branch : develop
2016-10-17 16:55:58 +03:00
Roman Telezhynskyi 4a326d3b6b Allow MAC OS X to find library inside a bundle.
(grafted from 483fd5c402708b828382a691e0f21305b2b2b9df)

--HG--
branch : develop
2016-10-16 12:48:06 +03:00
Roman Telezhynskyi 67d20696a7 Fixed Mac OS X deployment target.
(grafted from 8bd98d7d0a42ca97d7608b084b5f2ddbf228117e)

--HG--
branch : develop
2016-10-16 12:47:47 +03:00
Roman Telezhynskyi aefdd21ac7 Try avoid translators errors. Translate only parts of filters that really
should be translated.

--HG--
branch : develop
2016-09-27 12:37:41 +03:00
Roman Telezhynskyi de1c7cd9f3 Resolved issue #569. Tape app. Options that open new file open new instance
even if a user doesn't want this.
(grafted from a74c6d9fac8dd6920d7d0914e68770b893920380)

--HG--
branch : develop
2016-09-27 12:27:52 +03:00
Roman Telezhynskyi d8874c844f Suppress all messages that contain string "Error receiving trust for a CA
certificate". ref #568.

--HG--
branch : develop
2016-09-20 21:33:33 +03:00
Roman Telezhynskyi 5fe41e8a99 Suppress message inside noisyFailureMsgHandler. ref #568.
--HG--
branch : develop
2016-09-20 21:12:19 +03:00
Roman Telezhynskyi 34beaed2b2 Tape app. Show tooltip in table.
--HG--
branch : develop
2016-08-26 18:57:39 +03:00
Roman Telezhynskyi 6baa623be3 Disable buttons Find Next and Find Previous if the search field is empty.
--HG--
branch : develop
2016-08-26 16:16:06 +03:00
Roman Telezhynskyi ddc34803a0 Fix issue with Config dialog Apply button.
In some cases the Apply or OK buttons will not save settings because of section
that was active in the moment of applying. For example made change in one
section, change to another and click Apply. The change will not be applied.

--HG--
branch : develop
2016-08-26 13:36:51 +03:00
Roman Telezhynskyi f22eccf91e Update search after using the qlineedit clear button.
--HG--
branch : develop
2016-08-26 13:27:14 +03:00
Roman Telezhynskyi 758f1caa1b Refresh search after retranslating the table.
--HG--
branch : develop
2016-08-26 13:23:50 +03:00
Roman Telezhynskyi 23d9898154 Use QLocale::c() instead of QLocale(QLocale::C).
--HG--
branch : develop
2016-08-26 12:38:23 +03:00
Roman Telezhynskyi 707712befd TMainWindow. Comboboxes on the tab Information looked ugly.
--HG--
branch : develop
2016-08-25 20:26:59 +03:00