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