36942 Commits

Author SHA1 Message Date
Alessandro Pasotti
e6b38aff4f Revert "Merge pull request #4087 from elpaso/resource-sharing-plugin"
This reverts commit db0fa9ff5b7421262304ce6fb5f6e832db1baa57, reversing
changes made to aaa8c4e492d135210cd989b5e3131384954badd1.
2017-02-01 15:17:17 +01:00
Nyall Dawson
615745fc8b Use weak layer pointers in labeling engine instead of layer ids 2017-02-01 21:44:31 +10:00
Nyall Dawson
6c928ef085 Add typedefs for QPointer QgsMapLayers 2017-02-01 20:57:56 +10:00
Nyall Dawson
3609c86266 Merge pull request #4072 from SrNetoChan/color_expression_help
Extends color expression help to mention HEX color notation
2017-02-01 19:31:30 +10:00
Alexandre Neto
11170ab263 Updates saving passwords warning messages (#4052)
to suggest using a authentication method
2017-02-01 17:49:19 +10:00
Alexandre Neto
c1eedc79b9 Extends color expression help to mention HEX color notation
and color name Which seems to be possible to use as well
2017-02-01 07:36:04 +00:00
Denis Rouzaud
b340f04e7e Remove web view widget in favor of attachment (external resource) (#4074)
* remove photo widget config
* remove webview widget
* Remove mention of duplicate widgets
* Update api break
* migrate web view widgets to attachments
2017-02-01 07:18:13 +01:00
Nyall Dawson
f7201069ae Merge pull request #4091 from nyalldawson/render_cache
QgsMapRendererCache improvements
2017-02-01 15:43:13 +10:00
Nyall Dawson
c84ea71bb8 Use list of map layers instead of map layer ids 2017-02-01 14:46:33 +10:00
Nyall Dawson
0aa085d41f Add quick hasCacheImage method to QgsMapRendererCache 2017-02-01 14:42:31 +10:00
Nyall Dawson
d0e6e17816 QgsMapRendererCache can have multiple dependent layers for a cache image
In some cases the render result for a layer may depend on more than
one layer.

This changes QgsMapRendererCache to use "cache keys" instead of layer ids
to identify images within the cache. When setting an image inside the
cache, a new list parameter is used to specify all layers on which
that image depends.
2017-02-01 14:42:31 +10:00
Nyall Dawson
de10f66791 Add unit tests for QgsMapRendererCache
Also flip to new style connects
2017-02-01 14:42:31 +10:00
Nyall Dawson
d74fbff0aa Make QgsMapRendererCache protected members private
This class isn't designed to be subclassed
2017-02-01 14:42:31 +10:00
Nyall Dawson
54d8d11592 Merge pull request #4092 from nyalldawson/maprenderer_api
Make protected members in QgsMapRendererJob not part of public API
2017-02-01 14:41:58 +10:00
Nyall Dawson
75506867aa Make protected members in QgsMapRendererJob not part of public API
QgsMapRendererJob and subclasses are not designed to be subclassed
outside of core QGIS code. Marking them private API allows us to
change them after API is frozen again.
2017-02-01 14:19:36 +10:00
Nyall Dawson
9fcc130838 Catch transform errors for annotations 2017-02-01 12:14:20 +10:00
Nyall Dawson
1e5a93b0f9 Add method to determine layers participating in a label engine 2017-02-01 12:09:08 +10:00
Nyall Dawson
0438afcc68 Remove some yellow squiggly lines from QtCreator 2017-02-01 11:05:19 +10:00
Nyall Dawson
2b470d21ef Flip some connects to new style 2017-02-01 09:01:37 +10:00
Juergen E. Fischer
b52b5770e3 postgres providers: null values in array don't need curly braces 2017-01-31 20:23:14 +01:00
Juergen E. Fischer
7bc3bfd2af fix 'Set Group WMS data' layer action connection 2017-01-31 20:23:14 +01:00
Alessandro Pasotti
db0fa9ff5b Merge pull request #4087 from elpaso/resource-sharing-plugin
Added QGIS Resource Sharing Plugin and deps
2017-01-31 16:07:08 +01:00
Alessandro Pasotti
b370c8b815 Do not spell-check some test QMLs 2017-01-31 15:47:43 +01:00
Alessandro Pasotti
248c5831ca Resource Sharing Plugin Tests Added 2017-01-31 15:23:42 +01:00
Jorge Gustavo Rocha
738fbd455b revert the SIP deleteStyleFromDatabase signature 2017-01-31 12:09:48 +00:00
Alessandro Pasotti
b3de34a6b6 Fixed spell check 2017-01-31 12:56:27 +01:00
Jorge Gustavo Rocha
e649280601 improve deleteStyleFromDatabase signature 2017-01-31 11:31:14 +00:00
Alessandro Pasotti
e50bc7c2e8 Added QGIS Resource Sharing Plugin and deps 2017-01-31 12:05:27 +01:00
Jorge Gustavo Rocha
8e989c1e38 improve deleteStyleFromDatabase signature 2017-01-31 10:46:49 +00:00
Nyall Dawson
aaa8c4e492 [FEATURE] Expose GEOS Voronoi and delaunay triangulation to QgsGeometry 2017-01-31 19:35:32 +10:00
Denis Rouzaud
f85ac23cde fix version in added note 2017-01-31 10:03:33 +01:00
Nyall Dawson
1fce65707c Add missing annotation api break docs, fix sip binding 2017-01-31 12:58:51 +10:00
Martin Dobias
f79fc2509b Add unit tests for joins - removal of joined layer, resolve refs 2017-01-31 09:33:02 +08:00
Martin Dobias
7683cfacd3 Rework vector joins so they do not use QgsProject::instance()
The basic idea is to split reading of XML definition and resolution of layer IDs into layers.

Also includes some cleanups in QgsProject and improvements in QgsVectorLayerJoinInfo.
2017-01-31 09:33:02 +08:00
Nyall Dawson
2a518fda3b Add missing docs 2017-01-31 10:47:00 +10:00
Nyall Dawson
87f2fe55b2 Add unit test for processing polygonize algorithm 2017-01-31 10:47:00 +10:00
Nyall Dawson
14bd79f844 Remove dependance on shapely library
Port processing polygonize alg to use native QgsGeometry methods
2017-01-31 10:47:00 +10:00
Nyall Dawson
4cebb46445 [FEATURE] Expose GEOS polygonize operation via QgsGeometry 2017-01-31 10:47:00 +10:00
Jorge Gustavo Rocha
6d6f288102 make deleteStyleFromDatabase consistent with other vectorlayer's methods 2017-01-30 23:48:20 +00:00
Nyall Dawson
8709e1f9d5 Merge pull request #4078 from nyalldawson/geom_api
API changes to QgsGeometry::isEmpty()/isNull()
2017-01-31 09:13:15 +10:00
Nyall Dawson
afcb75af51 Remove QgsGeometry::isGeosEmpty
Use the faster native QgsGeometry::isEmpty instead
2017-01-31 07:19:56 +10:00
Nyall Dawson
79bf17ae1f Replace deprecated assertRegexpMatches call 2017-01-31 07:18:11 +10:00
Nyall Dawson
af0d68b882 Implement QgsGeometry::isEmpty()
Faster than QgsGeometry::isGeosEmpty() because it avoids the
conversion to GEOS geometries and just uses the QgsAbstractGeometry
subclasses directly.

Also implements faster isEmpty() overrides for specific
QgsAbstractGeometry subclasses.
2017-01-31 07:15:51 +10:00
Jorge Gustavo Rocha
a4637a6af5 Simple tests for style load, insert and remove from Postgis provider 2017-01-30 18:05:13 +00:00
matteo
83a24884f9 [processing] rename execute sql output 2017-01-30 17:39:45 +01:00
LOMENEDE Jean-Daniel
c4165e4eeb [processing]Execute Sql : fix Input2.. InputN parameters 2017-01-30 16:38:58 +01:00
Denis Rouzaud
a79bf9704a Revert "remove GDAL_VERSION_MAJOR >= 2 test"
This reverts commit cb2e81e44623d4bde8ac9ff6d1a8ded4aef1dd9b.
2017-01-30 14:07:53 +01:00
Denis Rouzaud
cb2e81e446 remove GDAL_VERSION_MAJOR >= 2 test 2017-01-30 13:52:24 +01:00
Nyall Dawson
49aae6e908 Rename QgsGeometry::isEmpty to isNull
Differentiates missing geometries from empty geometries (eg
empty geometry collections)
2017-01-30 21:58:23 +10:00
Nyall Dawson
61d3147261 Merge pull request #4073 from nyalldawson/annotations
Refactor annotations, add new annotation features + some other exciting stuff
2017-01-30 21:21:01 +10:00