Alessandro Pasotti
90f873086c
Attach QgsSourceSelectProviderRegistry to QgsGui
...
And make it a singleton
2017-09-04 08:00:14 +02:00
Alessandro Pasotti
e8685996c4
Remove all specialized methods for adding the source selects
...
We now have a unified interface for all dialogs.
2017-09-03 21:38:55 +02:00
Alessandro Pasotti
fa71bc3ee5
Removed specialized signal that is now in the base class
2017-09-03 21:34:42 +02:00
Alessandro Pasotti
7cd7f1685f
Added last missing signal replaceVectorLayer
...
This is only used by virtual layers, but it
might be handy for others too and now I can
start to remove all specialized source
select add methods from the datas source
manager dialog.
This is only the first step: next is looping
through the source select provider registry
to get all needed GUI elements for the dialog.
2017-09-03 21:30:45 +02:00
Alessandro Pasotti
d4868b3f82
Update sip file
2017-09-01 18:20:06 +02:00
Alessandro Pasotti
4c46f64647
Add QgsSourceSelectProviderRegistry with tests
2017-09-01 17:47:55 +02:00
Alessandro Pasotti
cd1c9b1e28
Add class QgsSourceSelectProvider and tests
...
This is the first step for QEP 101
2017-09-01 14:30:34 +02:00
Alessandro Pasotti
d9152429a1
Merge pull request #5101 from boundlessgeo/fix_pseudocolor_ramp_widget
...
Fix broken qgscolorramp button
2017-09-01 08:37:15 +02:00
Nyall Dawson
247d2657ca
Fix invalid regular expression warnings
2017-09-01 09:00:57 +10:00
Nyall Dawson
1037d4752d
Fix QFileSystemWatcher debug warning on startup
2017-09-01 08:59:45 +10:00
Nyall Dawson
15a48df644
Pass QString by const ref
2017-09-01 08:57:24 +10:00
Nyall Dawson
7ba1b1734b
Add missing SIP_FACTORY
2017-09-01 08:56:57 +10:00
Nyall Dawson
42b3e0bb10
Fix another small leak
2017-09-01 08:48:15 +10:00
Nyall Dawson
e84543d0fc
Fix memory leak
2017-09-01 08:40:22 +10:00
Nyall Dawson
75c65c590c
Fix uninitialized/not copied member variable
2017-09-01 08:14:41 +10:00
Nyall Dawson
0be4c67346
Avoid Coverity unchecked return value warnings
2017-09-01 08:12:40 +10:00
Nyall Dawson
e68835f12e
Fix some possible leaks in tests
2017-09-01 08:00:59 +10:00
Nyall Dawson
6bddc38276
Fix possible divide by 0 (Thanks to Coverity)
2017-09-01 07:57:16 +10:00
Nyall Dawson
ed5e4b69c7
Switch some dynamic_casts to qobject_casts
2017-09-01 07:56:22 +10:00
Nyall Dawson
e7ddfff09d
Fix some Coverity null pointer dereference warnings
2017-09-01 07:54:20 +10:00
Nyall Dawson
9a07cd513a
Add guard against nullptr dereference (Coverity warning)
2017-09-01 07:50:53 +10:00
Nyall Dawson
133d58fa89
Merge pull request #5089 from nyalldawson/hausdorff
...
Expose GEOS Hausdorff distance calculations to QgsGeometry, add expression function
2017-09-01 07:44:10 +10:00
Alessandro Pasotti
b6d86753e2
Fix broken qgscolorramp button
...
For a misterious reason ( the docs are not completely clear )
calling text() on the ramp QAction returned all string prefixed
with '&' causing the whole button to miss the changed ramp.
By calling iconText() instead we get the right name for
the ramp.
2017-08-31 18:01:18 +02:00
Alessandro Pasotti
4810c73e4d
Keep XYZ connections synchronized in browser(s) and data source manager dialog
2017-08-31 15:14:47 +02:00
Alessandro Pasotti
341947e7e3
Merge pull request #5096 from boundlessgeo/server_ogr_multi_geom
...
[server] Rely on the provider to get the correct wkbType
2017-08-31 08:23:58 +02:00
Nyall Dawson
9fa12ac57f
Merge pull request #5090 from nyalldawson/raster_layer_extent
...
[FEATURE] New algorithm for creating vector layer from raster layer's extent
2017-08-31 09:02:32 +10:00
Nyall Dawson
c2f8a8224b
Geometry error string is not shared
...
Instead move it to a private QgsGeometry member. It's copied
with QgsGeometry, but not the underlying private geometry
data.
This means the error string can be changed without detaching
(and copying) the geometry data.
Also make greater use of error string for all use of GEOS
functions.
2017-08-31 08:36:01 +10:00
Nyall Dawson
a73c099835
Fix evaluation of expression functions which use optional arguments
...
with null default values
2017-08-31 08:02:44 +10:00
Nyall Dawson
0a9e9944b4
[FEATURE] Expression function for hausdorff distance
...
Allows calculation of the Hausdorff distance between two
geometries
2017-08-31 08:02:44 +10:00
Nyall Dawson
d8607222e0
Expose GEOS Hausdorff distance calculations to QgsGeometry
2017-08-31 08:02:44 +10:00
Alessandro Pasotti
0346fb839a
[server] Rely on the provider to get the correct wkbType
...
This commit removes a check for OGR provider that
always returned gml:GeometryPropertyType in
describefeaturetype.
This is a partial fix for #17019
Needs backporting
2017-08-30 17:41:19 +02:00
Matthias Kuhn
6fe6394fc7
Make crssync quiet by default
...
We only need it to show up in the build log if something has gone wrong.
By default we will just happily assume that it's doing a great job in
all conscience.
2017-08-30 16:25:17 +02:00
Nyall Dawson
3b997c2ff0
Merge pull request #5092 from nyalldawson/algs
...
Port some GDAL algs to new API
2017-08-30 20:53:24 +10:00
Nyall Dawson
d46317802b
Port gdal translate alg to new api
2017-08-30 18:13:51 +10:00
Nyall Dawson
a29e3780cd
Port rgb2pct to new API
2017-08-30 17:53:14 +10:00
Nyall Dawson
d0fea64b23
Port GDAL info alg to new API
2017-08-30 17:44:52 +10:00
Nyall Dawson
bb5a499c23
Fix generation of processing tests on Windows
2017-08-30 15:25:11 +10:00
Nyall Dawson
8dde180f3f
Rename parameter for consistency with other algs
2017-08-30 14:42:19 +10:00
Nyall Dawson
43e4ed0b27
Rename Polygon from Layer Extent to Polygon from Vector Extent
...
Helps clarify that this alg only functions for vector layers
2017-08-30 14:41:24 +10:00
Nyall Dawson
44e7f3371e
[FEATURE] New algorithm for creating vector layer from raster layer's extent
...
Allows creation of a new vector layer with a single feature containing
a raster layer's extent. Previously this was only possible for
vector layers.
2017-08-30 14:40:21 +10:00
Juergen E. Fischer
12e69d0991
dxf export:
...
* empty field name resets to layer name (fixes #17060 )
* allow forcing to 2d to support polyline width (fixes #17049 )
2017-08-30 00:50:10 +02:00
Nyall Dawson
b978c4d429
Merge pull request #5088 from telwertowski/master
...
Add headers needed by macOS for recently added std:: prefixes
2017-08-30 08:18:29 +10:00
Nyall Dawson
2a4a2d872b
Merge pull request #5087 from nyalldawson/algs
...
Port remaining plotly based algs to new API
2017-08-30 08:05:26 +10:00
Nyall Dawson
184899ec30
Port remaining plotly based algs to new API
2017-08-30 07:28:25 +10:00
Tom Elwertowski
c12fc9c62f
Add headers needed by macOS for recently added std:: prefixes
2017-08-29 17:27:20 -04:00
Juergen E. Fischer
9464ab75e6
fix translation string
2017-08-29 20:59:23 +02:00
Radim Blazek
fd0f6f2555
GRASS uppercase in project description
2017-08-29 20:54:01 +02:00
Radim Blazek
dbd86d0ddc
highlight disappearing fix - second attempt, 4659691 and 51170aec follow-up
2017-08-29 20:28:39 +02:00
Nyall Dawson
c16ce92bd3
Merge pull request #5078 from nyalldawson/rename
...
Some more analysis lib cleanups
2017-08-30 03:38:36 +10:00
Alessandro Pasotti
e5b11d4206
Merge pull request #5085 from boundlessgeo/wfs_mutex_offline
...
Offline editing: workaround for bug 17087 deadlock
2017-08-29 19:18:13 +02:00