35887 Commits

Author SHA1 Message Date
nirvn
a6030d652d [snapping] fix enable state of snapping widget's elements 2016-12-07 15:29:19 +07:00
nirvn
6b0bf49cd8 [snapping] fix default snapping type settings 2016-12-07 15:29:19 +07:00
nirvn
60ad5c672e [snapping] fix default snapping enabled state 2016-12-07 15:29:19 +07:00
Nyall Dawson
75f51bc16e [processing][heatmap] Fix alg in batch mode, mark some params as advanced 2016-12-07 13:50:12 +10:00
Nyall Dawson
51206590c9 [processing] Use newer basic stats algorithm in vector menu 2016-12-07 13:30:54 +10:00
Nyall Dawson
e1a588e066 Merge pull request #3782 from nyalldawson/heatmap
Port heatmap plugin code to analysis, add processing alg
2016-12-07 13:07:13 +10:00
Nyall Dawson
034cc65935 [FEATURE] Remove c++ heatmap plugin
No longer required as plugin has been ported to analysis lib
with processing frontend

Marked as feature for docs + changelog notices
2016-12-07 12:23:58 +10:00
Nyall Dawson
bef5b5ed68 [processing][heatmap] custom parameter/widget for output resolution
Matches current behaviour of c++ heatmap plugin
2016-12-07 12:23:58 +10:00
Nyall Dawson
20f1f76f2e [heatmap] Avoid gdal warnings, calculate distance from pixel centroid 2016-12-07 12:23:58 +10:00
Nyall Dawson
83c38b0172 [FEATURE][processing] Port heatmap plugin to processing algorithm 2016-12-07 08:27:24 +10:00
Nyall Dawson
f2127464d3 Move heatmap generation code to analysis lib
And clean it up a lot
2016-12-07 08:26:55 +10:00
Nyall Dawson
c558d516e6 Prevent users from removing layers or closing projects when
running tasks depend on those layers

It's not foolproof because there's many ways to remove layers
not through the QGIS gui and tasks should be written to nicely handle
layers being removed mid-way through execution.

But it's still a good warning for users if they accidently try to
load a new project and don't realise some task is still running
in the background.
2016-12-07 08:24:38 +10:00
Alexander Bruy
35e387c44c add more QNetwork classes to 2to3 script 2016-12-06 18:56:23 +02:00
Sandro Mani
97eb0f742f [Geometry Checker] Don't add geometry-less features to feature-pool 2016-12-06 13:29:55 +01:00
Nyall Dawson
adff069d5a Cleanup QgsTask API for dependent layers 2016-12-06 20:02:34 +10:00
nirvn
a52a1e9f86 [raster] improve multiband color widget's band selection 2016-12-06 15:53:15 +07:00
nirvn
5db654be6e [raster] when loading min/max, activate contrast enhancement if set to none 2016-12-06 15:53:07 +07:00
volaya
0a2e1043da Revert "[processing] fixed expected test hashes"
This reverts commit 5c6c18caadb9123c593db085b1c8822f7d74e9f7.
2016-12-06 09:27:21 +01:00
volaya
96b8a90758 [processing] In raster calculator, use filename without extension to refer to layer 2016-12-06 09:03:51 +01:00
volaya
ec8aea2f60 [processin] fixed wrong parameter type 2016-12-06 07:19:24 +01:00
Nyall Dawson
6f9292a75d Reenable all task manager tests 2016-12-06 14:22:03 +10:00
Nyall Dawson
7bbc60a135 Prevent closing QGIS while tasks are running 2016-12-06 09:23:41 +10:00
Nyall Dawson
008817b089 Fix ui build warnings 2016-12-06 08:18:19 +10:00
Alexander Bruy
62cb38153c [processing] prevent divizion by zero (fix #15825) 2016-12-05 20:14:29 +02:00
Alexander Bruy
2fea23f1e5 Merge pull request #3779 from volaya/rastercalculator
[processing] add native raster calculator
2016-12-05 20:03:23 +02:00
volaya
5c6c18caad [processing] fixed expected test hashes 2016-12-05 14:59:26 +01:00
Matthias Kuhn
abbe281bc7 Preprocess header file in sipdiff to reduce noise
and common sources of trouble.
2016-12-05 14:46:40 +01:00
volaya
b7daf9bca3 [processing] changed input type from vector layer to table for execute sql algorithm 2016-12-05 13:52:13 +01:00
volaya
16da906398 [processing] allow multiple selection of tables 2016-12-05 13:39:38 +01:00
nirvn
57d80a5a82 [style dock] avoid long labels in the point pattern fill UI 2016-12-05 17:05:00 +07:00
Alessandro Pasotti
3ec5f92f0f Replaced the expired SSL certificate and re-enabled OWS PKI test 2016-12-05 10:31:10 +01:00
Alessandro Pasotti
b92cf53cad Typo in comment 2016-12-05 10:31:10 +01:00
Hugo Mercier
89461909d3 [virtual layer] Fix xFilter for null value comparisons 2016-12-05 10:02:53 +01:00
Alexander Bruy
77bbeaa99f fix loading of models containing user-defined scripts 2016-12-05 10:31:38 +02:00
Nyall Dawson
b1b647349a Merge pull request #3004 from nyalldawson/task_manager
[FEATURE] Task manager
2016-12-05 17:47:38 +10:00
Nyall Dawson
cc702c9c81 Remove (probably unnecessary) copy_func usage 2016-12-05 16:46:10 +10:00
Nyall Dawson
d03d0a5b47 Add some python docstrings to QgsTask.fromFunction 2016-12-05 14:08:12 +10:00
Nyall Dawson
feb3219852 Update doxygen 2016-12-05 14:08:12 +10:00
Nyall Dawson
631d3cd998 Consolidate mutexes 2016-12-05 14:08:12 +10:00
Nyall Dawson
e35420a8d9 Force QgsTask::run() to fully complete
Remove support for signal based completion/termination

Also unfortunately disable a lot of the test suite as a result,
since it's not easily translatable
2016-12-05 14:08:12 +10:00
Nyall Dawson
268e5127f2 Make QgsTask::start private
Only allow starting tasks to be done by QgsTaskManager
2016-12-05 14:08:12 +10:00
Nyall Dawson
297b5724df QgsTask is no longer a QRunnable
Instead use a private wrapper class to make QgsTask compatible
with QThreadPool
2016-12-05 14:08:12 +10:00
Nyall Dawson
29f310c070 Convert QgsTask.fromFunction to a static method 2016-12-05 14:08:11 +10:00
Nyall Dawson
619381c0ad Call QgsTaskWrapper.on_finished with exception rather than result 2016-12-05 14:08:11 +10:00
Nyall Dawson
fded1a1f39 Don't explode returned values in QgsTaskWrapper
Breaks returning list values
2016-12-05 14:08:11 +10:00
Nyall Dawson
f73f3c14f5 Remove outdated flaky test ifdefs 2016-12-05 14:08:11 +10:00
Nyall Dawson
cd3269352b Nicer icons and ui for task status 2016-12-05 14:08:11 +10:00
Nyall Dawson
79beb54c53 Remove redundant member 2016-12-05 14:08:11 +10:00
Nyall Dawson
a24690d6db Task manager GUI cleanups 2016-12-05 14:08:11 +10:00
Nyall Dawson
0dcff4491e Respect QgsTask::CanCancel flag in gui 2016-12-05 14:08:11 +10:00