53267 Commits

Author SHA1 Message Date
Alessandro Pasotti
1ae1e72f7c Check for libOpenCL.so at runtime
This should avoid a crash if the user
enables opencl and the library is not
found.
2019-01-25 22:32:36 +01: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
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
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
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
Nyall Dawson
535965ba8c Deprecate older thread-unsafe signals 2019-01-24 06:10:37 +11:00
Nyall Dawson
ca592b7386 Upgrade app network timeout message to include url 2019-01-24 06:10:37 +11:00
Nyall Dawson
5824faf674 Add thread safe QgsNetworkAccessManager::requestTimedOut signal 2019-01-24 06:10:37 +11:00
Nyall Dawson
1190000aaf Fix QgsFileDownloader thinks ANY timeout or ssl error applies to its request 2019-01-24 06:10:37 +11:00
Nyall Dawson
ea1971fdf8 Add an unique id to requests, which can be used to link them to responses 2019-01-24 06:10:37 +11:00
Nyall Dawson
b5379ce055 New class QgsNetworkReplyContent, which encapsulates the useful
information from a QNetworkReply in a container which is safe
and cheap to pass between threads

(QNetworkReplys are QObject based, so not safe to access or
pass between threads)

Use this new class in a thread safe QgsNetworkAccessManager::finished
signal, which is fired on the main thread QgsNetworkAccessManager instance
when responses are finished from any thread
2019-01-24 06:10:37 +11:00
Denis Rouzaud
397194a0ba
reflect increase of Travis build times in timeouts
we are benefiting from increased build times since about 3 months...time to update the scripts!
2019-01-23 13:42:24 -05:00
Denis Rouzaud
532da4338c
fix typo 2019-01-23 11:36:45 -05:00
Denis Rouzaud
240f2d2d0c
Merge pull request #8951 from peppsac/compile_time
Compile time
2019-01-23 10:53:28 -05:00
Juergen E. Fischer
4e74c8b548 dxf export: recover korean encodings (CP949) (fixes #20838) 2019-01-23 16:43:07 +01:00