Commit Graph

3261 Commits

Author SHA1 Message Date
Roman Telezhynskyi
01be3c5181 Try find more about error: "Cannot open %file for input" how was suggested on
stackoverflow.

--HG--
branch : develop
2016-07-28 12:02:28 +03:00
Roman Telezhynskyi
e5cbf86ef2 Tring restore bitbucket pipeline. Fixing locale is wrong way. Try get error
sting about copying.

--HG--
branch : develop
2016-07-28 11:38:30 +03:00
Roman Telezhynskyi
7b7ef6c0e2 Fixed build.
--HG--
branch : develop
2016-07-26 16:51:38 +03:00
Roman Telezhynskyi
75c57628ce Merged in ValentinaZhuravska/valentina/feature (pull request #132)
Resolved issue #461. Improve feature: Add a keyboard shortcut for getting pure 45, 90, 135, 180, 225, 270, 315 and 0 degree angles for all tools.

--HG--
branch : develop
2016-07-26 16:19:57 +03:00
Valentina Zhuravska
6081a5f9d7 Little fix.
--HG--
branch : feature
2016-07-26 16:16:09 +03:00
Valentina Zhuravska
1ae8509d63 Merge with develop.
--HG--
branch : feature
2016-07-26 15:32:55 +03:00
Valentina Zhuravska
f9c9cedfac We don't need DialogTool::ShowVisToolTip slot anymore.
--HG--
branch : feature
2016-07-26 13:45:17 +03:00
Roman Telezhynskyi
689024d60f Resolved issue #530. Add debug messages for Layout creation errors.
--HG--
branch : develop
2016-07-26 13:33:58 +03:00
Roman Telezhynskyi
2fbac845b5 Looks like "dpkg-reconfigure locales" need some type of dialog with user.
Replace with another approach.

--HG--
branch : develop
2016-07-25 23:28:26 +03:00
Roman Telezhynskyi
f34a3e54e4 Documentation says they use Ubuntu, but log says we work with Debian. And ssems
like Debian doesn't provide package "language-pack-en". Let's try without it.

--HG--
branch : develop
2016-07-25 23:18:29 +03:00
Roman Telezhynskyi
1813a897e3 Forgot that i call locale-gen before "apt-get install".
--HG--
branch : develop
2016-07-25 23:06:10 +03:00
Roman Telezhynskyi
4e35551ff4 Seems like "local-gen" is inside package "locales".
--HG--
branch : develop
2016-07-25 22:37:29 +03:00
Roman Telezhynskyi
1fc22502ac Can't change locale because no English language pack installed.
--HG--
branch : develop
2016-07-25 22:29:22 +03:00
Roman Telezhynskyi
6124f2c314 Because bitbucket pipelines by default uses C locale we will try generate UTF-8
manually.

--HG--
branch : develop
2016-07-25 22:23:28 +03:00
Roman Telezhynskyi
9e9e2a1455 Check which locale supports bitbucket pipelines.
--HG--
branch : develop
2016-07-25 21:55:23 +03:00
Roman Telezhynskyi
b5457867e5 Try be more verbose when copy test files.
--HG--
branch : develop
2016-07-25 20:01:19 +03:00
Valentina Zhuravska
d248c4f18a Added VAbstractMainWindow class.
--HG--
branch : feature
2016-07-25 19:23:00 +03:00
Roman Telezhynskyi
c793f869e5 More warnings in AbstractTest::CopyRecursively. Do copy files before all test
run.

--HG--
branch : develop
2016-07-25 18:25:13 +03:00
Roman Telezhynskyi
439b1577f5 Disable warning Wunsafe-loop-optimizations.
--HG--
branch : develop
2016-07-25 18:22:42 +03:00
Roman Telezhynskyi
14376c4fe1 bitbucket-pipelines.yml. Error: xvfb-run: command not found.
--HG--
branch : develop
2016-07-25 12:28:13 +00:00
Roman Telezhynskyi
3476e071cd bitbucket-pipelines.yml. My last hope is "xvfb-run".
--HG--
branch : develop
2016-07-25 12:12:09 +00:00
Roman Telezhynskyi
b4c22a0096 bitbucket-pipelines.yml. Probably we already have root rights.
--HG--
branch : develop
2016-07-25 12:04:13 +00:00
Roman Telezhynskyi
0b86fac946 bitbucket-pipelines.yml. QTestLib require GUI support for some tests.
--HG--
branch : develop
2016-07-25 11:35:41 +00:00
Roman Telezhynskyi
1551ee4f71 bitbucket-pipelines.yml. Fixing error: QXcbConnection: Could not connect to display.
--HG--
branch : develop
2016-07-25 11:34:36 +00:00
Roman Telezhynskyi
1eb97800f4 bitbucket-pipelines.yml. Used $(nproc).
--HG--
branch : develop
2016-07-25 11:31:38 +00:00
Roman Telezhynskyi
cd8297e157 bitbucket-pipelines.yml. Added export LD_LIBRARY_PATH
--HG--
branch : develop
2016-07-25 11:15:24 +00:00
Roman Telezhynskyi
f4cb033459 Looks like we can use apt-get inside bitbucket-pipelines.yml.
--HG--
branch : develop
2016-07-25 10:50:22 +00:00
Roman Telezhynskyi
d4c1d348f9 Try to use default image.
--HG--
branch : develop
2016-07-25 10:07:28 +00:00
Roman Telezhynskyi
952bd66dae bitbucket-pipelines.yml, removed "which qmake".
--HG--
branch : develop
2016-07-25 09:43:17 +00:00
Roman Telezhynskyi
25d42004d1 Try to fix bitbucket-pipelines.yml
--HG--
branch : develop
2016-07-25 09:32:08 +00:00
Roman Telezhynskyi
707d2a805e bitbucket-pipelines.yml created online with Bitbucket
--HG--
branch : develop
2016-07-25 09:26:35 +00:00
Roman Telezhynskyi
5da965ba69 After update to Qt 5.7 custom libraries: qmuparser and vpropertybrpwser lost
"@rpath" prefix. Setting QMAKE_SONAME_PREFIX fix it.

--HG--
branch : develop
2016-07-23 14:48:16 +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
8d56b872dc Refactoring method VDomDocument::SetAttribute().
--HG--
branch : develop
2016-07-20 18:59:35 +03:00
Roman Telezhynskyi
dbcea3a979 GCC warnings.
--HG--
branch : develop
2016-07-20 18:58:21 +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
19387cc80e Resolved issue #528. Error: QSslSocket: cannot resolve SSLv2_client_method.
--HG--
branch : develop
2016-07-20 11:48:09 +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
fc7e0bb6cb Fixed Valentina crash after undo deleting detail.
Emitting signal in lambda was not really good idea.

--HG--
branch : develop
2016-07-19 20:50:42 +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
7cabc7df18 Fixed loading recent files in main window.
--HG--
branch : develop
2016-07-18 22:55:18 +03:00
Roman Telezhynskyi
18e0f6750a Refactoring. Fixed wrong using method tr().
--HG--
branch : develop
2016-07-18 19:29:34 +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
bbaa7636fc Lupdate.
--HG--
branch : develop
2016-07-15 14:48:14 +03:00
Roman Telezhynskyi
c6dbd1a764 Fervor require additionally xml library.
--HG--
branch : develop
2016-07-15 14:47:41 +03:00