44071 Commits

Author SHA1 Message Date
Matthias Kuhn
67b68a841d
Merge pull request #5578 from gacarrillor/iface_copy_paste_features
Expose through iface methods to copy/paste features between given layers
2017-11-20 07:24:41 +01:00
Matthias Kuhn
970a723655
Merge pull request #5666 from signedav/tooltiprelation
Tooltip of relationstrength in project properties
2017-11-20 07:22:19 +01:00
Matthias Kuhn
30ed315392
Merge pull request #5614 from signedav/constraintindicators
Constraint result not displayed in non editable mode
2017-11-20 07:13:39 +01:00
Nyall Dawson
eb2ef6a681
Merge pull request #5672 from nyalldawson/provider_fixes2
Add tests/fixes for some provider issues
2017-11-20 11:51:49 +11:00
Nyall Dawson
8243598ff0 Even more memory safety for ogr layers 2017-11-20 10:24:55 +10:00
Nyall Dawson
6db46f7325 [ogr] Safer layer memory management
Use unique_ptr with custom deleter to ensure that
QgsOgrProviderUtils::release is called
2017-11-20 10:13:47 +10:00
Nyall Dawson
163b2e20a8 [ogr] Fix incorrect feature counts after removing subset string, fix leak 2017-11-20 09:25:01 +10:00
Nyall Dawson
af5b2a750a Add some debugging asserts to ensure that layer renderers
are used in a thread safe way
2017-11-20 09:42:03 +11:00
Nyall Dawson
a0c6e05261 Spelling 2017-11-20 09:42:03 +11:00
Nyall Dawson
fe535c5f77 Play it safe and work with clones of symbol renderers
This fixes some definite crashes, e.g. saving a vector layer
with symbology, which is caused by accessing the same
layer renderer across different threads.

But I've also swapped a lot of non-threaded code to use
clones of the renderers for extra safety.
2017-11-20 09:42:03 +11:00
Nyall Dawson
d13eaa6a3b Improve documentation 2017-11-20 09:42:03 +11:00
Nyall Dawson
3405bc1598 Fix broken export of DXF labels 2017-11-20 08:29:17 +11:00
Nyall Dawson
4143ab6e64 Fix DXF export issue when an empty layer is selected 2017-11-20 08:29:17 +11:00
Nyall Dawson
8cf9f8fb6f Fix combining extent of valid rectangle with invalid rectangle results
in invalid rectangle
2017-11-20 08:29:17 +11:00
Matthias Kuhn
8f1021c5b8 Disable WMS server test 2017-11-19 21:15:59 +01:00
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
Harrissou Sant-anna
dd378a58c2 Tweak some dialog titles 2017-11-18 18:52:45 +01:00
Harrissou Sant-anna
f699e35ce9 Add more translatable strings 2017-11-18 18:51:39 +01:00
Harrissou Sant-anna
ecde835a30 Ask confirmation before removing a map theme 2017-11-18 14:08:29 +01: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
David
adc408f82c tooltip of relationstrength in project properties
improvement of the tooltip. more info, how to activate the duplicate button.
2017-11-16 18:43:21 +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
David
995003153a member variable for constraint result visability
...as we had it for for constraint result (status).
now the setter are called when setting the editable mode changes.
and the getter to have the current visibility status.
2017-11-16 11:50:15 +01: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