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
Roman Telezhynskyi
88d2919a9b
TMainWindow will show decimal point according to locale.
...
--HG--
branch : develop
2016-08-25 20:00:03 +03:00
Roman Telezhynskyi
89ce8afe77
Localize numeric keyboard's dot key according to locale and user preferences.
...
--HG--
branch : develop
2016-08-23 21:24:14 +03:00
Roman Telezhynskyi
fb5a9c64b2
Cppcheck warnings.
...
--HG--
branch : develop
2016-08-21 19:45:16 +03:00
Roman Telezhynskyi
bfff8ccb96
Changes for returning support Qt 5.0 and GCC 4.6.
...
--HG--
branch : develop
2016-08-21 18:57:08 +03:00
Roman Telezhynskyi
da4bf27c75
New test localization (checking punctuation).
...
--HG--
branch : develop
2016-08-12 15:21:55 +03:00
Roman Telezhynskyi
31fa9785b9
Fixed several mistakes in original strings.
...
--HG--
branch : develop
2016-08-09 13:50:37 +03:00
Roman Telezhynskyi
c9cdd2cd8d
Using macros QT_WARNING_DISABLE_*.
...
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi
1c987b919b
Use gcc’s Address Sanitizer only in Debug mode.
...
--HG--
branch : develop
2016-08-06 19:23:42 +03:00
Roman Telezhynskyi
69e0ff74e6
MSVC warnings.
...
--HG--
branch : develop
2016-08-06 15:59:30 +03:00
Roman Telezhynskyi
483e56866d
Added MSVC warnings.
...
--HG--
branch : develop
2016-07-29 21:04:53 +03:00
Roman Telezhynskyi
0cdd058eb4
Fixed issue #538 . QSslSocket error messages during startup in newest development
...
build.
--HG--
branch : develop
2016-08-03 14:54:18 +03:00
Roman Telezhynskyi
ffb6f1fbd5
cppcheck warnings.
...
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
Roman Telezhynskyi
524419e53f
Fixed build on OS X.
...
--HG--
branch : develop
2016-07-23 12:56:22 +03:00
Roman Telezhynskyi
dfb8c387b6
Added checking which minimal OSX version supports current Qt version.
...
From time to time Qt change minimal supported OS X version. This checking will
help build Valentina on older Qt version without fixing .pro files.
--HG--
branch : develop
2016-07-23 12:54:00 +03:00
Roman Telezhynskyi
9375e0319d
As part of testing make all compiler warnings treat as errors.
...
Added new CONFIG option "checkWarnings".
--HG--
branch : develop
2016-07-20 15:40:33 +03:00
Roman Telezhynskyi
1bffa92127
Using QLatin1String instead of QLatin1Literal.
...
QLatin1Literal is just a typedef of QLatin1String lefter for compatibility with
Qt 4.x.
--HG--
branch : develop
2016-07-20 11:39:15 +03:00
Roman Telezhynskyi
f477904ef3
Use QStringLiteral everywhere inside noisyFailureMsgHandler().
...
--HG--
branch : develop
2016-07-20 11:25:53 +03:00
Roman Telezhynskyi
dc275dce14
Fixed search string for error "setGeometry: Unable to set geometry".
...
--HG--
branch : develop
2016-07-20 11:11:35 +03:00
Roman Telezhynskyi
817a5d5f56
Fixed suppression warnings in Release mode.
...
Used wrong macros.
--HG--
branch : develop
2016-07-20 11:10:23 +03:00
Roman Telezhynskyi
ce50203d57
Better code look.
...
--HG--
branch : develop
2016-07-19 20:51:12 +03:00
Roman Telezhynskyi
8b438daa6c
Slot OpenRecentFile in Tape replaced by lambda.
...
--HG--
branch : develop
2016-07-18 22:58:14 +03:00
Roman Telezhynskyi
47f12c80f8
Refactoring. Use lambda for small slots. Move slots declaration in appropriate
...
place.
--HG--
branch : develop
2016-07-18 18:09:15 +03:00
Roman Telezhynskyi
faae90363e
Show button "Check For Updates" in dialogs about Valentina and Tape. Move
...
settings to common file.
--HG--
branch : feature
2016-07-15 13:14:48 +03:00
Roman Telezhynskyi
0744359337
Run with pngcrush 1.8.1.
...
--HG--
branch : develop
2016-06-27 19:08:18 +03:00
Roman Telezhynskyi
39f7727088
Used pngcrush key "brute".
...
--HG--
branch : develop
2016-06-27 18:42:31 +03:00
Roman Telezhynskyi
643fafcbc9
Resolved issue #517 . MAC version incorrect sRGB profile.
...
libpng warning: iCCP: known incorrect sRGB profile.
--HG--
branch : develop
2016-06-26 21:27:04 +03:00
Roman Telezhynskyi
10d29af2a2
Refactoring, removed unused code.
...
--HG--
branch : develop
2016-06-22 21:09:00 +03:00
Roman Telezhynskyi
94a2de1f75
Fixed error in Tape app.
...
Editing values of standard table was incorrect.
--HG--
branch : develop
2016-06-22 21:07:06 +03:00
Roman Telezhynskyi
decb74f99e
Fixed not enought decimals.
...
--HG--
branch : develop
2016-06-22 19:56:44 +03:00
Roman Telezhynskyi
8c63b44e65
Fixed bug editing height increase value.
...
--HG--
branch : develop
2016-06-21 14:13:14 +03:00
Roman Telezhynskyi
b7d62d3dbe
Set single step depend on measurement unit.
...
--HG--
branch : develop
2016-06-21 13:53:33 +03:00
Roman Telezhynskyi
ed6c72bda9
Fixed Tape crash.
...
(grafted from 47b3aaf84786a338bc7c31284bef0bd5017a0c67)
--HG--
branch : develop
2016-06-19 20:31:24 +03:00