162 Commits

Author SHA1 Message Date
Matthias Kuhn
b19278c79d [travis] Decrease maximum ccache size 2016-12-22 20:21:21 +01:00
Matthias Kuhn
eed4f0f544 Only spellcheck added and modified files 2016-12-20 01:20:08 +01:00
Denis Rouzaud
1090e8b7da fix prepare commit 2016-12-15 16:22:25 +01:00
Denis Rouzaud
90fc0bb226 use Travis to look for spelling errors
use silver searcher for faster search (instead of grep)
2016-12-15 15:26:36 +01:00
Alessandro Pasotti
3ec5f92f0f Replaced the expired SSL certificate and re-enabled OWS PKI test 2016-12-05 10:31:10 +01:00
Nyall Dawson
5f13cbe37b Blacklist flaky PyQgsAuthManagerPKIOWSTest test 2016-12-05 10:26:00 +10:00
Matthias Kuhn
22dc096692 Enable WFS test with a fix to prevent crash on exit (#3774)
* Revert "Disable failing PyQgsOfflineEditingWFS test"

This reverts commit 33ee514b5dfdc1b57558cb9007df5b455a59fc17.

* Let lifetime of layers be controlled by QGIS
2016-11-21 22:07:52 +01:00
Matthias Kuhn
1ffdadd75c [travis] Preload libSegFault to debug crashes 2016-11-17 09:32:44 +01:00
Matthias Kuhn
33ee514b5d Disable failing PyQgsOfflineEditingWFS test 2016-11-16 15:05:37 +01:00
Alessandro Pasotti
4e96912c91 [bugfix][forwardport] File downloader for identify dialog hyperlinks
fixes #14703

Include C++ and Python tests

Travis won: ported all test cases to Python
and disabled C++ companion test (still useful locally and
for debugging)

For the curious: QTemporaryFile is not working as expected

Moved to Qt5 new style signals

Disabled C++ test and connected cancel to progress

Make string comparison on SSL errors more robust
2016-11-11 17:26:33 +01:00
Even Rouault
af236c4ef8 Merge pull request #3628 from rouault/dbmanager_gpkg
[DBManager] Add dedicated GeoPackage plugin
2016-10-24 10:33:03 +02:00
Alexander Bruy
b9d5b2c452 fix conflicts 2016-10-20 11:28:28 +03:00
Even Rouault
d32a949bf8 Blacklist PyQgsDBManagerGpkg test
The test consistently segfaults on Travis, but run fine locally,
normally or under Valgrind.
Trying to run it under Valgrind on Travis runners does not succeed:
https://travis-ci.org/rouault/Quantum-GIS/builds/168674938

So blacklist for now
2016-10-18 20:08:28 +02:00
Nyall Dawson
e8be0ed988 [composer] Allow syncing pictures to true north
Previously pictures could only be synced to grid north, which
can be totally wrong for many CRSes (especially in polar areas)

Users now are given a choice of grid or true north, and can also
enter an optional offset to apply if eg magnetic north is instead
desired.

When synced to true north the bearing is calculated using the
centre point of the linked map item.

Fix #192, #4711

This fix was sponsored by the Norwegian Polar Institute's
Quantarctica project (http://quantarctica.npolar.no) and
coordinated by Faunalia.
2016-10-18 13:45:52 +10:00
Mathieu Pellerin
17010acf55 [travis] fix grass7 plugin build by adding GRASS_PREFIX7 (#3578)
* [travis] fix grass7 plugin build by adding GRASS_PREFIX7

* Followup 3n0486c: fix grass plugin build, take 2
2016-10-06 13:40:24 +02:00
rldhont
52a78def7f Reactivate ogcutils tests and update its 2016-10-04 15:22:23 +02:00
Alessandro Pasotti
28f547ea81 Wait for server ready (and times out) before starting the tests 2016-10-03 14:19:49 +02:00
Matthias Kuhn
8e54acf7b7 [travis] fixme 2016-10-03 11:38:34 +02:00
Matthias Kuhn
ce37f9c654 Disable flaky PyQgsServerWFST test 2016-10-03 10:45:55 +02:00
Nyall Dawson
98dd5cb566 Disable flaky qgis_ogcutilstest test on Travis 2016-09-29 08:30:07 +10:00
Alessandro Pasotti
89d4998510 [Server 3.0] Resurrect PyQgsServerWFST 2016-09-28 08:52:12 +02:00
Matthias Kuhn
49e64ab3fb [travis] Disable flaky qgis_ziplayertest 2016-09-27 17:54:41 +02:00
Matthias Kuhn
abfb45024f Disable flaky PyQgsWFSProviderGUI test 2016-09-27 13:36:05 +02:00
Matthias Kuhn
9c32fcc153 Remove Qt4 travis test scripts 2016-09-27 13:35:50 +02:00
Alessandro Pasotti
786fe506b4 [Server 3.0] re-enable server tests 2016-09-26 19:35:22 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Nyall Dawson
88e4410af1 Require Qt >= 5.5 2016-09-21 09:12:54 +10:00
Nyall Dawson
9d1bf5bf12 Update qt5 test blacklist 2016-09-21 09:12:54 +10:00
Matthias Kuhn
359d5e16b3 Disable flaky WFST server test 2016-09-20 13:12:37 +02:00
Matthias Kuhn
448961b35d Disable flaky PyQgsWFSProviderGUI test 2016-09-16 08:53:59 +02:00
Hugo Mercier
b23e58a6d9 Restore virtual layer tests in PyQt5 2016-09-05 13:43:00 +02:00
Hugo Mercier
7e6d641c68 Fix PyQgsLayerDependencies with pyqt5 2016-09-05 13:43:00 +02:00
Hugo Mercier
5c3a43e286 Fix spatialite access with python3 2016-09-05 13:43:00 +02:00
Nyall Dawson
e54f9bee7a Fix PyQgsMapUnitScale test under qt5 2016-09-05 10:56:07 +10:00
Hugo Mercier
0749ba43ba Rework layer dependencies
A new class QgsMapLayerDependency allows to represent different kinds
of dependencies between layers.
2016-08-31 14:40:13 +02:00
Nyall Dawson
6214dc11e2 Disable PyQgsOfflineEditingWFS test on Travis
The test regularly fails on unrelated commits.

Possible the test should be reworked to reuse the server
launching routines from the labeling server test, which
seem more robust and work consistently across platforms
2016-08-20 06:36:13 +10:00
Matthias Kuhn
0269d05369 [travis] Explicitly install missing homebrew deps 2016-08-17 12:00:12 +02:00
Denis Rouzaud
c800ab46e9 enable relation editor widget test on Qt5 2016-08-15 13:56:18 +02:00
Matthias Kuhn
7ee55a78f1 [pyqt5] Aliases for indistinguishable method overloads (#3099)
See
https://www.riverbankcomputing.com/pipermail/pyqt/2016-May/037500.html
2016-08-10 20:58:39 +02:00
Matthias Kuhn
58ea21124e Streamline expression context generation (#3350)
* Save more data to QML

 * Virtual fields
 * Map tips
 * Display expression
 * Read only flag

* Streamline expression context generation

Whenever an object is able to generate an expression context it
implements the method createExpressionContext() declared in
QgsExpressionContextGenerator.

This makes a cleaner API and allows using QgsFieldExpressionWidget and
QgsDataDefinedButton from python because standard OO programming
approaches are used instead of callbacks and void pointers.

* Colorize output of doc and sip tests

* Fix build

* Fix sip complaints

* Fix rebase problems

* Workaround failing bindings test
2016-08-10 19:44:30 +02:00
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Matthias Kuhn
774a823983 [travis] Blacklist failing osx tests 2016-07-11 11:11:23 +02:00
Matthias Kuhn
858808107c [travis] Add GRASS_PREFIX7 to osx build 2016-07-11 11:11:22 +02:00
Matthias Kuhn
d06859a88d [travis] Modernize Mac OSX dependencies 2016-07-11 11:11:22 +02:00
Matthias Kuhn
ab13c63470 [travis] Use clang for Qt5 builds (#3275)
To get warnings from different compilers
2016-07-05 12:02:01 +02:00
Alexander Bruy
a12152c724 Merge pull request #3238 from medspx/processing_g7_raster_tests
[processing] more grass7 unit tests and their fixes
2016-06-29 19:49:58 +03:00
Matthias Kuhn
4b6d38c4c4 Add option to suppress SIP warnings (#3230)
to fix travis builds for OSX. Yay
2016-06-23 16:16:51 +02:00
Médéric RIBREUX
bf02d34f55 Blacklist qt5 tests for Travis 2016-06-11 16:25:03 +02:00
Matthias Kuhn
e0d6c3f307 [travis] Readonly ccache for pull requests 2016-06-07 11:17:48 +02:00
Matthias Kuhn
f04298f128 Use ccache for gcc on travis 2016-06-04 11:00:07 +02:00