43843 Commits

Author SHA1 Message Date
Nyall Dawson
6c4a8a246e Update WFS tests 2017-11-19 17:19:04 +10:00
Nyall Dawson
6508a5d36a Modernise code 2017-11-19 16:42:04 +10:00
Nyall Dawson
7cd8e38c47 Fix unnecessarily fussy close() for QgsMsSqlFeatureIterator 2017-11-19 16:28:49 +10:00
Nyall Dawson
6f3ebdee3c Safer iterator closing, by always calling ::close() instead of
directly manipulating mClosed

Fixes a crash in the memory data provider (also likely fixes
issues in other providers)
2017-11-19 16:27:46 +10:00
Nyall Dawson
d6eb8eccdd Add a bit of tolerance to WFS provider test
Was failing on Fedora 27
2017-11-19 16:20:02 +10:00
Nyall Dawson
705416c489 More consistent exception throwing in QgsCoordinateTransform::transformBoundingBox
Depending on the os and proj versions, we weren't always getting an
exception when a bad bounding box transform was made. So now we
explicitly check the result, and if everything was invalid
then we also throw an exception.

This makes the behavior consistent across different platforms,
and fixes running the provider tests on non Travis platforms
(highly likely also fixes various issues encountered while running
QGIS)
2017-11-19 16:17:30 +10:00
Nyall Dawson
957cf652aa Add some more provider tests for feature count when subset string is added/removed 2017-11-19 08:59:12 +10:00
Nyall Dawson
e9e7efc6d3 Fix incorrect extents returned by memory provider when subset string set 2017-11-19 08:58:46 +10:00
Nyall Dawson
1cfd6ee829 Add provider test to ensure that extent is correctly calculated
for layers with 1 point and also no features

The first scenario should return an 'empty' rectangle with x/y
min/max matching just the single point's coordinate, the
second scenario must return a null rectangle (not an empty 0,0
rectangle!)
2017-11-19 08:56:48 +10:00
Tom Kralidis
af6b4cc791
Merge pull request #5671 from tomkralidis/issue-17347
[bugfix] [MetaSearch] fix Esri ArcGIS service chaining (fixes #17347)
2017-11-17 20:01:40 -05:00
Tom Kralidis
3ea8b74e18 [bugfix] [MetaSearch] fix Esri ArcGIS service chaining (fixes #17347) 2017-11-17 16:24:30 -05:00
Tom Kralidis
1dab575b10
Merge pull request #5669 from elpaso/bugfix-17347-metasearch
[bugfix] MetaSearch: Add WMS/WMTS data button broken
2017-11-17 13:12:20 -05:00
Daniele Viganò
7cc7375184 Fedora 26 now provides Qt 5.9, enable 3D in rpm spec for it 2017-11-17 18:45:36 +01:00
Alessandro Pasotti
1b79177bc9 [bugfix] Fix WFS in metasearch
Fixes #17347
2017-11-17 17:35:04 +01:00
Alessandro Pasotti
a0639b1a20 [bugfix] Fix WMS in metasearch 2017-11-17 16:52:41 +01:00
rldhont
1989111fb1
Merge pull request #5664 from rldhont/server-getfeatureinfo-raster-display
[BUGFIX][Server] GetFeaturInfo: do not identify raster data if point …
2017-11-17 14:46:18 +01:00
Even Rouault
48c320beb0
Merge pull request #5649 from rouault/settings_main_canvas_preview_jobs
Add a setting to be able to disable preview jobs in main canvas
2017-11-16 19:11:12 +01:00
Alessandro Pasotti
d590e98c3f
Merge pull request #5644 from boundlessgeo/bd-2648-auth-thread-safety
[auth] Thread safe auth methods with recursive mutex
2017-11-16 18:52:28 +01:00
rldhont
861987daa3 [BUGFIX][Server] GetFeaturInfo: do not identify raster data if point not contains
Manual forwardporting with enhancement for raster data values displayed
2017-11-16 17:08:51 +01:00
Alessandro Pasotti
6f0659742b [auth] Morph the mutex from a pointer to a member var 2017-11-16 16:01:37 +01:00
Alessandro Pasotti
674467b95e [auth] Thread safe auth methods with recursive mutex
Add a mutex to the base class and use that
mutex to protect all public methods of the
authentication methods.
2017-11-16 16:01:37 +01:00
Alexander Bruy
29c8f7ceb2
Merge pull request #5641 from NaturalGIS/master
[processing] add support for GRASS 7.4
2017-11-16 14:06:00 +02:00
Harrissou Sant-anna
7c08b7155b [Bugfix]Fix Bookmarks xmax and ymin columns inversion (#5643)
(fix #16987)
2017-11-16 18:01:55 +07:00
Mathieu Pellerin
793fb6114b
[processing] add vertex id details to extract nodes algorithms 2017-11-16 17:46:47 +07:00
Alexander Bruy
ee8ef42c42 [processing] boolean fieds support in the Refactor Fields algorithm (fix #17168) 2017-11-16 12:46:00 +02:00
David
574c9f21e2 select the new features after duplication
when duplicating features with the default action "duplicate" the new features are selected and additionally the childrens on the childrenlayers too.
2017-11-16 11:13:32 +01:00
David
78eba9ed05 return ids of the new child features on duplication
when duplicating a feature in QgsVectorLayerUtils::duplicateFeature and this feature has over a relation the child features, we return now the ids of the new created child features in the respone object QgsDuplicateFeatureContext.
2017-11-16 11:13:07 +01:00
Salvatore Larosa
7c9cc07e85 truncate only last extension in oper recent project menu 2017-11-16 10:48:34 +01:00
Blottiere Paul
898eb4abf4
Merge pull request #5628 from pblottiere/bugfix-transaction-tuple
executeSql in transaction does not return an error on tuple
2017-11-16 09:36:56 +00:00
Blottiere Paul
15c32c22c5
Merge pull request #5566 from pblottiere/bugfix-ogc-getcapa-abstract
[server][bugfix] Fix OGC test recommendations
2017-11-16 09:24:48 +00:00
Blottiere Paul
9283b26762 Update tests 2017-11-16 08:40:45 +00:00
Blottiere Paul
7b49032521 Update for loop 2017-11-16 08:04:03 +00:00
Blottiere Paul
0a38003ba5 Keep name and add metadata and keywordlist for root layer 2017-11-16 08:04:03 +00:00
Blottiere Paul
f52300d361 Update tests 2017-11-16 08:04:03 +00:00
Blottiere Paul
f9c80f321c Replace Name entry by Abstract in GetCapabilities for root layer 2017-11-16 08:04:03 +00:00
Alessandro Pasotti
dfc0305420
Merge pull request #5631 from boundlessgeo/bd-2437-certs-format-sniffing
[auth] Moved the PEM/DER sniffing to a common private function
2017-11-16 09:04:00 +01:00
Blottiere Paul
c6b054ed4d Add test 2017-11-16 08:01:07 +00:00
Blottiere Paul
51d156d349 Update doc 2017-11-16 08:01:07 +00:00
Blottiere Paul
640f78e5df Do not consider a tuple response as an error in transaction 2017-11-16 08:01:07 +00:00
Alessandro Pasotti
8dd70c1dab
Merge pull request #5526 from boundlessgeo/ogr_authconfig_2
[auth][needs-docs] Authentication configuration support in OGR provider
2017-11-16 09:00:04 +01:00
Blottiere Paul
0bd5107e82
Merge pull request #5647 from pblottiere/contributor
Update contributors
2017-11-16 07:59:35 +00:00
Mathieu Pellerin
05d38b3d1d
[processing] preserve field length and precision for temporary outputs (#5654)
* add test case to cover length and precision through uri
2017-11-16 14:13:52 +07:00
Matthias Kuhn
bb6fda6cd6 Bump minimum spatialite version to 4.2 2017-11-16 07:57:41 +01:00
nirvn
4420eba61c Save non-pinned recent projects below pinned ones 2017-11-16 11:04:40 +07:00
nirvn
3fd32b4287 Update recent project menu upon pin/unpin/remove actions 2017-11-16 11:04:40 +07:00
Kent Porter
cfb78a14f1 Improved mActionDataSourceManager.svg icon (#5618) 2017-11-16 10:46:58 +07:00
Nyall Dawson
d0c2a41c6c Fix error when running postgis algs 2017-11-16 13:38:42 +10:00
Larry Shaffer
72af1a00da
[auth][ogr] Add missing PyQGIS auth manager OGR test 2017-11-15 19:30:34 -07:00
Even Rouault
ca8d82ff4c Add a setting to be able to disable preview jobs in main canvas
Can be used by power users to disable preview jobs, for very slow datasources
(especially when network bandwidth is saturated), where it decreases performance.

More clever approaches have been discussed per https://github.com/qgis/QGIS/pull/5645
and https://lists.osgeo.org/pipermail/qgis-developer/2017-November/050524.html,
but at least offer this setting for now, pending further improvements.
2017-11-16 00:27:39 +01:00
Nyall Dawson
135b5c6c25 Nicer UX when adding a layer to an existing gpkg through the browser 2017-11-16 09:31:37 +11:00