Commit Graph

3280 Commits

Author SHA1 Message Date
Roman Telezhynskyi
fa2e0b13d0 Check if QProcess::waitForFinished was called after a process was finished.
According to documentation QProcess::waitForFinished returns true if the process
finished; otherwise returns false (if the operation timed out, if an error
occurred, or if this QProcess is already finished). This last case is seems like
importnant in this case.

--HG--
branch : develop
2016-07-30 17:42:53 +03:00
Roman Telezhynskyi
1dbd914679 Merged in BojanKverh/valentina-bojan/feature (pull request #128)
Resolved issue #24. New feature: Label on detail.

--HG--
branch : develop
2016-07-30 15:45:04 +03:00
Roman Telezhynskyi
9e411c0923 Close branch feature
--HG--
branch : feature
2016-07-30 15:45:04 +03:00
Roman Telezhynskyi
6afc4bdf00 PLATFORM is one of environment variable provided by AppVeyor.
--HG--
branch : develop
2016-07-28 20:24:30 +03:00
Roman Telezhynskyi
feb950c7de vcvarsall.bat also change path variable.
--HG--
branch : develop
2016-07-28 20:13:47 +03:00
Roman Telezhynskyi
4c8366b210 Set VC variables for the platform.
--HG--
branch : develop
2016-07-28 19:34:21 +03:00
Roman Telezhynskyi
60c8e24078 Set path to internal libraries.
--HG--
branch : develop
2016-07-28 18:55:27 +03:00
Roman Telezhynskyi
7fa320a5ed Enable automatic tests. Disable "make install".
--HG--
branch : develop
2016-07-28 17:03:00 +03:00
Roman Telezhynskyi
8553beacf2 Mercurial should be in the path.
--HG--
branch : develop
2016-07-28 16:42:33 +03:00
Roman Telezhynskyi
78ed2f5871 Try left in path variable paths we only need and nothing more.
--HG--
branch : develop
2016-07-28 16:30:25 +03:00
Roman Telezhynskyi
c7cddbfb28 Specify correct name for lrelease on Windows.
--HG--
branch : develop
2016-07-28 15:15:31 +03:00
Roman Telezhynskyi
15c2c0bda4 Set path without quotes. Show in log the path variable.
--HG--
branch : develop
2016-07-28 14:50:38 +03:00
Roman Telezhynskyi
25d5c32749 Fixed wrong path to mingw.
--HG--
branch : develop
2016-07-28 14:22:35 +03:00
Roman Telezhynskyi
b47a523884 Set QTDIR.
--HG--
branch : develop
2016-07-28 14:03:56 +03:00
Roman Telezhynskyi
10c5b07f18 Path already contained directory bin.
--HG--
branch : develop
2016-07-28 13:54:01 +03:00
Roman Telezhynskyi
1c959e3af7 Changed path to mingw.
--HG--
branch : develop
2016-07-28 13:45:07 +03:00
Roman Telezhynskyi
d2857624e3 Skip installing cppcheck.
--HG--
branch : develop
2016-07-28 13:32:22 +03:00
Roman Telezhynskyi
3592377324 Added appveyor.yml.
--HG--
branch : develop
2016-07-28 13:20:03 +03:00
Roman Telezhynskyi
bedce69143 Show file name i the error message.
--HG--
branch : develop
2016-07-28 12:44:14 +03:00
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