43752 Commits

Author SHA1 Message Date
Nyall Dawson
612f51601a [processing] Remove expression buttons from parameters outside modeler
Since these expressions were only evaluated immediately, it led to
confusing behavior for users who were expecting that the expression
would be applied per-feature.

Given that expressions can be directly entered into spin boxes, we already
have a way of users evaluating simple calculations for numeric
parameters at least.

I don't think there's a strong enough use case for needing to
calculate string results to leave the confusing expression builder
option in place.

This should be re-evaluated when we add UI support for dynamic
parameters (which are already supported in the backend), where
expressions are evaluated per-feature.

Fixes #17267
2017-11-10 10:42:25 +10:00
Nyall Dawson
abe5756d3e
Merge pull request #5588 from nyalldawson/acquire
Workaround bug in Qt > 5.8 causing crashes in connection pools
2017-11-10 11:20:03 +11:00
Nyall Dawson
fef56184bc Workaround bug in Qt > 5.8 causing crashes in connection pools
tryAcquire is broken on Qt > 5.8 with negative timeouts - see:

http://bugreports.qt.io/browse/QTBUG-64413
https://lists.osgeo.org/pipermail/qgis-developer/2017-November/050456.html
2017-11-10 09:40:23 +10:00
Nathan Woodrow
e1b76e01ca [FIX] Make the correct location for crash report 2017-11-10 09:14:17 +10:00
Nyall Dawson
c13dadf7ad Fix clear values for 3d spin boxes 2017-11-10 09:07:59 +10:00
Nyall Dawson
df7a1d01be Fix 3d renderer does not work with multipoint layers 2017-11-10 08:57:39 +10:00
Larry Shaffer
4c78526203
Merge pull request #5531 from boundlessgeo/fix-libpaths-update
Fix updating QgsApplication::libraryPaths; load before any Qt plugin use

Note: could possibly be moved to QgsApplication::init()
2017-11-09 14:24:38 -07:00
Matthias Kuhn
4c1ff1cdbd [travis] Trigger libSegFault on abrt 2017-11-09 21:55:19 +01:00
Even Rouault
faa0861d97 [GDAL provider] reintroduce use of unique_ptr removed in d00efde2f0645918cabd4fc34b7c8b71933c6380 2017-11-09 21:01:58 +01:00
Werner Macho
4daf6896f7 [tr] correcting flags 2017-11-09 20:42:43 +01:00
Matthias Kuhn
2c1e2014d7 [travis] Disable PyQgsSpatialiteProvider
It is flaky
2017-11-09 19:33:41 +01:00
Matthias Kuhn
8d8f38d4c4 [travis] Disable non-local file download tests 2017-11-09 19:20:49 +01:00
Even Rouault
3d9ca40f4e [DB Manager / GPKG] Remove GDAL 1.x support 2017-11-09 19:18:34 +01:00
Alexander Bruy
bd0b499810 add misssed import after rebase 2017-11-09 20:15:30 +02:00
Even Rouault
4eed39b63c [DB Manager / GPKG] Fix COMMIT with GDAL 2 (fix #16174) 2017-11-09 19:11:33 +01:00
Alessandro Pasotti
9168161e1e
Merge pull request #5573 from boundlessgeo/BD-2238-auth-thread-safe
[tests] Add XYX slippy map to test QGIS server + multi-threading
2017-11-09 18:08:38 +01:00
Alexander Bruy
713dc970d8 disable SAGA test until we have SAGA support on Travis 2017-11-09 18:58:19 +02:00
Alexander Bruy
4b63975eaf [processing] tests for SAGA provider and related fixes 2017-11-09 18:56:44 +02:00
Alexander Bruy
057ab170da [processing] fix input rasters check 2017-11-09 18:56:44 +02:00
Alexander Bruy
13610f6440 [processing] adopt to changes in extensions handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
dc9f868e08 [processing] fix not initialized variable 2017-11-09 18:56:44 +02:00
Alexander Bruy
1b6b6cdb45 [processing] fix integer numbers handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
2b218cc2b0 [processing] more raster handling fixes in SAGA provider 2017-11-09 18:56:44 +02:00
Alexander Bruy
3822efa7a5 [processing] fix rasters handling in checkParameterValues() 2017-11-09 18:56:44 +02:00
Alexander Bruy
b4214798e9 [processing] infrastructure for SAGA tests 2017-11-09 18:56:44 +02:00
Nyall Dawson
8d91f1f1eb Restore more saga functionality 2017-11-09 18:56:44 +02:00
Nyall Dawson
9ba414394d Convert SAGA ParameterTableField parameters 2017-11-09 18:56:44 +02:00
Nyall Dawson
7953936c90 Update SAGA ParameterMultipleInput parameters 2017-11-09 18:56:19 +02:00
Nyall Dawson
d9ac3772fd Update SAGA ParameterTable parameters 2017-11-09 18:56:01 +02:00
Nyall Dawson
4ac6847bc7 Update SAGA ParameterVector params 2017-11-09 18:55:41 +02:00
Nyall Dawson
6ef4557b2b Update SAGA ParameterSelection parameters 2017-11-09 18:55:12 +02:00
Nyall Dawson
ca0b7a2639 Fix SAGA boolean parameters 2017-11-09 18:54:44 +02:00
Nyall Dawson
178708590d More followups to SAGA raster parameter handling 2017-11-09 18:54:13 +02:00
Nyall Dawson
1fc395b4fa GeoAlgorithmExecutionException -> QgsProcessingException 2017-11-09 18:54:13 +02:00
Nyall Dawson
65faf542e0 Fix excepthook handling in standalone scripts 2017-11-09 18:54:13 +02:00
Nyall Dawson
85b8502444 Fix parsing of saga params 2017-11-09 18:54:13 +02:00
Nyall Dawson
b928cc61fb Update SAGA RasterOuput params 2017-11-09 18:53:02 +02:00
Nyall Dawson
640891ee58 Update SAGA ParameterNumber params 2017-11-09 18:53:02 +02:00
Nyall Dawson
a1300f3d5b Update SAGA ParameterRaster params 2017-11-09 18:53:02 +02:00
Nyall Dawson
eca9bdc3d5 Start porting saga algorithm base to new API 2017-11-09 18:53:02 +02:00
Nyall Dawson
7ad764d625 Fix bad strings in saga description file 2017-11-09 18:53:02 +02:00
Nyall Dawson
571a5ca5f8 Start bringing back saga algs - split RGB bands 2017-11-09 18:53:02 +02:00
Even Rouault
d00efde2f0
Merge pull request #5580 from rouault/fix_QgsRasterFileWriter_geopackage
[GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103)
2017-11-09 16:24:23 +01:00
Blottiere Paul
022f6cfd21
Merge pull request #5515 from pblottiere/server_bugfix_plusspace
[server][bugfix]  Fixes #17401 by replacing '+' symbol by space
2017-11-09 15:01:40 +00:00
Even Rouault
b9bde10759
Merge pull request #5576 from rouault/wfst10_test_qt5
Re-enable testWFST10
2017-11-09 15:48:19 +01:00
Even Rouault
c3e15f5228 [GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103)
Previously we created an empty file, close it and re-opened it immediately in open mode.
However for GeoPackage, if you create for example a 1 band or 3 band dataset, upon reopening
you get a 4 band RGBA dataset, due to the fact that GeoPackage doesn't explicitly store the
number of bands. Thus the 4th band (alpha) was never written by the QgsRasterFileWriter logic.
2017-11-09 15:22:41 +01:00
Alessandro Pasotti
decbde24ff Because spellchecker does not like slippy maps 2017-11-09 15:20:59 +01:00
Harrissou Sant-anna
d8a3c67fa5 Constrain the Help button placement
by avoiding the buttonbox expand
2017-11-09 15:09:48 +01:00
Matthias Kuhn
9f65fcd0d9
Merge pull request #5577 from m-kuhn/valuerelref
Fix value() method of relation reference widget
2017-11-09 14:56:57 +01:00
Matthias Kuhn
b1ac56b5bc Fix value() method of relation reference widget 2017-11-09 14:36:12 +01:00