53577 Commits

Author SHA1 Message Date
Alexander Bruy
a90fb87c8e
Merge pull request #8973 from alexbruy/grass-buffer
[processing] fix GRASS v.buffer algorithm for variable buffer case (fix #19377)
2019-01-25 12:49:12 +02:00
Alessandro Pasotti
be0abb3d8e
Merge pull request #8971 from elpaso/bugfix-21068-database-styles-button-order
Fix button order in DB styles dialog and add GPKG delete support
2019-01-25 09:38:50 +01:00
Alessandro Pasotti
ee0e0e1d5d
Merge pull request #8970 from elpaso/bugfix-21077-value-relation-wfs
Fix WFS context fields variable
2019-01-25 09:38:26 +01:00
Alexander Bruy
ab3adc663c [gui] enable deselect feature and create rectangle action only when
there is a vector layer in the project (fix #18141, #20333)
2019-01-25 10:00:47 +02:00
Nyall Dawson
a9553c906d
Update src/app/qgsvectorlayerloadstyledialog.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-01-25 08:46:00 +01:00
Nyall Dawson
29288c2abd
Update src/app/qgsvectorlayerloadstyledialog.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-01-25 08:45:54 +01:00
Alessandro Pasotti
4d134b391b Indentation 2019-01-25 08:18:50 +01:00
Nyall Dawson
3cb6a40ef2 [processing] Add API to get an import statement and classname for a parameter type 2019-01-25 18:12:11 +11:00
Nyall Dawson
60f252c2f2 [layouts] Fix attribute table filtering not utilising expression context
Fixes #21078
2019-01-25 17:02:25 +11:00
Nyall Dawson
009ee572d8 Allow access to content of POST requests in QgsNetworkReplyContent 2019-01-25 11:06:31 +11:00
Andrea Giudiceandrea
8120e4a54f Allow new shapefile MultiPoint layer creation
Just add the missing MultiPoint geometry type in the "New Shapefile Layer" dialog
2019-01-25 11:04:20 +11:00
Alexander Bruy
8919d604a8 [processing] use background color from the project settings in the rasterize algorithm (fix #19866) 2019-01-25 10:06:12 +11:00
Alexander Bruy
32f6034be7 [processing][needs-docs] force multipart output from GDAL-based dissolve
algorithm (fix #20025)
2019-01-25 09:57:31 +11:00
Alexander Bruy
bfb60e4dc7 [processing] fix GRASS v.buffer algorithm for case when buffer distance
is taken from the field (fix #19377)
2019-01-24 21:01:12 +02:00
Matthias Kuhn
7482f7a448
Merge pull request #8957 from volaya/#19607
[processing] do not allow editing model if it's missing algorithms
2019-01-24 19:53:12 +01:00
Alessandro Pasotti
38f05b5974 Fix WFS context fields variable
because the fields in the (spatialite) cached
iterator are not the same as the main iterator.

Fix #21077 - Form Value relation based on WFS layer (nothing to do with
value relations)
2019-01-24 17:48:55 +01:00
Alessandro Pasotti
861a8b7105
Merge pull request #8958 from elpaso/bugfix-20961-wfs-null-transactions
Fix NULL support in WFS server and client
2019-01-24 17:43:27 +01:00
Alessandro Pasotti
90a9852b69 Fix button order in DB styles dialog and add GPKG delete support
Fixes #21068
2019-01-24 17:38:08 +01:00
Pierre-Eric Pelloux-Prayer
25f2aba44d Include qgis_sip.h instead of qgis.h where possible (#8961)
This PR continues the work started in PR #8951.

This commit replaces occurences of #include "qgis.h" by #include "qgis_sip.h",
where possible = when files only depends on SIP_XXX features.
2019-01-24 11:33:22 -05:00
Denis Rouzaud
ff20d1800e
Merge pull request #8925 from signedav/basic-values
Enable/disable value relation widget
2019-01-24 11:31:25 -05:00
mhugent
b5febe5189
Merge pull request #8922 from mhugent/server_datasource_error
Server: catch datasource error
2019-01-24 17:27:13 +01:00
Peter Petrik
c90905bd65 fix travis 2019-01-24 16:24:46 +01:00
Peter Petrik
967893a637 [MDAL] update to 0.1.5, improve speed 2019-01-24 16:24:46 +01:00
Peter Petrik
27c670e78d expose mesh spatial index similarly to vector spatial index to API. fix travis issues and documentation 2019-01-24 16:24:46 +01:00
Peter Petrik
9d4d1c99d4 improve speed of creation spatial index for meshes 2019-01-24 16:24:46 +01:00
Peter Petrik
a83a1b29a1 render first datasetgroup instead of mesh frame 2019-01-24 16:24:46 +01:00
Julien Cabieces
abda6c42ff fixes #18497 : Correct line size method when snapping multipolygon 2019-01-24 20:55:13 +11:00
signedav
237e0bcb4a additional test enable-state in multi-selection in valueRelation 2019-01-24 10:52:37 +01:00
signedav
727bca95f2 set the enabled state of widgets again in setEnabled
because if this is called for any reason directly we are save
2019-01-24 10:51:20 +01:00
Matthias Kuhn
9bdaac9dd0
Update python/plugins/processing/modeler/EditModelAction.py
Co-Authored-By: volaya <volayaf@gmail.com>
2019-01-24 10:50:19 +01:00
Nyall Dawson
394e5d8d76 Avoid project being marked dirty as soon as its opened
This is a simple workaround, not a real fix. The real fix is to
move the symbolModified signal out of the updatePreview call,
because we should be able to refresh a preview image without
marking it as a changed symbol. But that's higher risk, so deferred
to 3.8
2019-01-24 20:45:06 +11:00
Alessandro Pasotti
15a81bdf23 Fix OWS project property issue: couldn't unset project title
This is the right behavior, btw there are other issues
in the server component that ignores the main bool
setting WMSServiceCapabilities completely.
2019-01-24 10:15:11 +01:00
Marco Hugentobler
9eeaa31c9e =default with extra-asterisk 2019-01-24 09:58:39 +01:00
Alessandro Pasotti
33788c9416 Fix typo in error message (and related tests) 2019-01-24 09:08:37 +01:00
Alessandro Pasotti
3eb388afef Respect isNull semantics by initializing null QVariant with field type 2019-01-24 09:07:54 +01:00
Nyall Dawson
996f48670d [afs][needs-docs] Allow users to set a specific referer for AFS connections, for
use with ArcGIS feature server requests

Some servers are locked down to only allow requests with a specific
referer URL - this allows us to open them in QGIS (but it requires
users to manually determine the correct referer string and populate
this setting for the connection -- we cannot do this for them!)
2019-01-24 18:05:45 +11:00
nirvn
b0b196a97c [themes] Improve styling of message bar scrollbar for Night Mapping 2019-01-24 10:37:07 +07:00
nirvn
002c9e1415 [themes] Improve styling of message bar scrollbar for Blend of Gray 2019-01-24 10:36:55 +07:00
nirvn
eea6ae2676 Fix default highlighted text colors for code editors (fixes #21080) 2019-01-24 10:36:45 +07:00
Nyall Dawson
aff38a9034 Capitalization 2019-01-24 08:49:20 +10:00
Alexander Bruy
c6540a6276 [processing] fix description files for SVM SAGA algs (fix #20796) 2019-01-24 09:31:18 +11:00
Alessandro Pasotti
83d5cb61ab Fix linker error in test 2019-01-23 22:45:26 +01:00
Alessandro Pasotti
d7484005e3 Fix WFS client NULL representation
This was nasty and only reproduceable when features
were cached (so, the second time you get them) and
was due to a QVariant( type ) default constructor
for numeric values being initialized to 0, yielding
0 instead of NULL.

Reported in #20961
2019-01-23 22:45:26 +01:00
Alessandro Pasotti
cc9ec2deba Remove duplicated code and modernize
No functional changes intended
2019-01-23 22:45:26 +01:00
Alessandro Pasotti
71e01168fe Server WFS NULL values support
- expose nillable in describefeaturetype
- serve xsi:nil="true" in getfeature
- check for NULL in transactions and report an error

Fixes #20961  - plus some other unreported
2019-01-23 22:45:26 +01:00
Alessandro Pasotti
847e7efdca GML parser set NULL values when parsing empty tags
This is part of a bigger fix to support NULL
values in WFS client and server components.
2019-01-23 22:45:25 +01:00
Alexander Bruy
34ec183354 [processing] split v.surf.rst algorithm into two (fix #19472)
This algorithm cannot output cross-validation results and topographic
parameters simultaneously, hence two tools needed. Thanks to Pedro Venâncio
for finding this and proposing a fix.
2019-01-24 06:45:23 +11:00
Nyall Dawson
c8fd4ed320 More unit tests for QgsNetworkAccessManager signals 2019-01-24 06:10:37 +11:00
Nyall Dawson
e50d9a1673 Make request a member of reply 2019-01-24 06:10:37 +11:00
Nyall Dawson
aa170ad524 Unit tests for QgsNetworkAccessManager signals 2019-01-24 06:10:37 +11:00