15 Commits

Author SHA1 Message Date
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
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
Matthias Kuhn
c8011d914a Temporarily disable missing llvm apt repo 2016-06-03 14:49:12 +02:00
Juergen E. Fischer
6e66eef1ef add missing copyright headers 2016-06-03 10:33:09 +02:00
Matthias Kuhn
0e96ef3797 [travis] Fix ccache for Qt4 builds 2016-05-22 21:52:55 +02:00
Matthias Kuhn
aa9010e8ed Limit ccache size to 150M 2016-05-02 18:25:57 +02:00
Matthias Kuhn
82c7bbe0e2 [travis] Qt4: Don't run tests in parallel 2016-04-12 06:57:03 +02:00
Matthias Kuhn
79e3e0e9f1 [travis] Clang 3.8 for Qt4 builds 2016-04-09 15:14:04 +02:00
Matthias Kuhn
21702baeab Container based Qt4 builds 2016-04-09 09:48:46 +02:00
Matthias Kuhn
944db6d2be Fix llvm apt repository 2016-03-29 15:41:20 +02:00
Matthias Kuhn
02c5637155 py2/py3 compat patches 2016-03-22 09:17:16 +01:00
Bas Couwenberg
72a6b774ef Enable QSpatiaLite for travis qt4 builds. 2016-03-12 21:02:32 +01:00
Matthias Kuhn
cd96169579 Add Qt5 builds to travis 2016-03-10 20:23:04 +01:00