38371 Commits

Author SHA1 Message Date
Denis Rouzaud
7d459149c7 [sip] align missing bits and replace nullptr by 0 2017-05-02 08:09:53 +02:00
Nyall Dawson
72b061b8e2 Merge pull request #4479 from nyalldawson/save_temp
[processing] Port dataobjects.getLayerFromString to c++
2017-05-02 15:10:24 +10:00
Nyall Dawson
877775d2c0 Remove a bunch of unneeded imports 2017-05-02 14:47:58 +10:00
Nyall Dawson
4ed18b112a Add a bunch of missing QgsProcessingUtils imports 2017-05-02 14:36:23 +10:00
Nyall Dawson
e709e3eb0a Add unit test for QgsProcessingUtils::createSpatialIndex 2017-05-02 13:49:51 +10:00
Nyall Dawson
49c688bbe4 Fix use of QgsProcessingUtils.mapLayerFromString 2017-05-02 13:40:49 +10:00
Nyall Dawson
df1ead5ed4 [processing] Remove vector.spatialindex()
Use QgsProcessingUtils.createSpatialIndex() instead.
2017-05-02 13:39:36 +10:00
Nyall Dawson
bde1bf457b [processing] Remove unused vector.duplicateInMemory() function 2017-05-02 13:29:42 +10:00
Nyall Dawson
7eb7a7aa01 [processing] Remove vector.bufferedBoundingBox()
Use QgsRectangle.grow() instead
2017-05-02 13:27:01 +10:00
Nyall Dawson
8e5565413f [processing] Remove unused dataobjects.loadList method 2017-05-02 13:20:29 +10:00
Nyall Dawson
0fbf1c2f54 [processing] Remove unused dataobjects.extent method 2017-05-02 13:18:47 +10:00
Nyall Dawson
fa8f667b3e Fix failing test 2017-05-02 13:15:58 +10:00
Nyall Dawson
b1eecfdba4 Fix resolving memory layers when multiple memory layers are used in model 2017-05-02 12:45:54 +10:00
Nyall Dawson
2b1dda4c78 Update API break docs 2017-05-02 12:34:05 +10:00
Nyall Dawson
600518de72 Add unit tests for QgsProcessingUtils::mapLayerFromString 2017-05-02 12:33:22 +10:00
Nyall Dawson
11fb72eef7 Only expose a single mapLayerFromString method in QgsProcessingUtils 2017-05-02 12:33:22 +10:00
Nyall Dawson
f84d703234 Add method QgsProcessingUtils::mapLayerFromString
Algorithms and other processing code should use this method
(instead of dataobjects.getLayerFromString) to
retrieve layers from a string, as it considers the processing
context and allows resolving strings to temporarily stored layers.

This permits processing models to function correctly when
intermediate results are stored as memory layers. Subsequent
model algorithms can then access these temporary layers as inputs.
All temporary layers will be removed when the context object
is destroyed after the model algorithm is run.
2017-05-02 12:33:04 +10:00
Germán
1711a41da6 Fix Interlis 2 extension in vector file writer 2017-05-02 00:28:07 +02:00
Germán
20a1f43bcd Fix Interlis 2 extension in open dialog 2017-05-02 00:28:07 +02:00
Matthias Kuhn
d35b8b3338 [travis] Improve macos timeout message 2017-05-01 22:10:30 +02:00
Denis Rouzaud
7b60d89d6c align pointer and reference in sip files batch 2 2017-05-01 20:00:51 +02:00
Denis Rouzaud
699580d498 Merge branch 'GeoCat-sip-annotated' 2017-05-01 19:58:36 +02:00
Denis Rouzaud
00700292ef Merge branch 'master' into sip-annotated 2017-05-01 19:21:59 +02:00
Denis Rouzaud
93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00
doublebyte1
bb1bded249 - changes to sipify script
- updated gsdataitem header:
  - added qgis.h include
  - skip sDataItemPtr
  - remove , between SIP annotations
- run sipify for qgsvector and qgsdataitem
2017-05-01 17:43:07 +02:00
Alexander Bruy
e581d46166 regenerate SIP files 2017-05-01 17:42:06 +02:00
Alexander Bruy
cd159f659a add class prefixes 2017-05-01 17:42:06 +02:00
Alexander Bruy
782c3e5afb sipify QgsStatisticalSummary and QgsStringStatisticalSummary 2017-05-01 17:42:06 +02:00
arnaud.morvan@camptocamp.com
b399ee5d2e Sipify QgsFieldFormatterRegistry 2017-05-01 17:41:14 +02:00
arnaud.morvan@camptocamp.com
1fb7855e17 Sipifi QgsFieldFormatter 2017-05-01 17:41:14 +02:00
arnaud.morvan@camptocamp.com
84abf896bb Sipify QgsFieldConstraints 2017-05-01 17:41:14 +02:00
Denis Rouzaud
634c7aa3f4 [sipify] fix do not print comment after SIP directive 2017-05-01 16:13:11 +02:00
Etienne Trimaille
1f8c311158 sipify QgsColor* 2017-05-01 14:54:49 +02:00
Jürgen Fischer
1ed8880c47 Merge pull request #4434 from arnaud-morvan/db_manager_fix_schema_g
Db manager fix schema g
2017-05-01 13:32:31 +02:00
Denis Rouzaud
2da64e4415 [Travis] fix macos timeout message 2017-05-01 13:11:36 +02:00
Alexander Bruy
3cd37be0d6 add placeholder when new help location entry added (fix #16157) 2017-05-01 13:58:22 +03:00
Alexander Bruy
12252030ac [processing] uncheck Z-coordinate on layer change in Interpolation
algorithm (fix #10010)
2017-05-01 13:00:23 +03:00
Denis Rouzaud
5112428a29 handle server sipify in prepare-commit 2017-05-01 11:45:43 +02:00
raymondnijssen
dce5b59fcb sipified qgsadvanceddigitizingdockwidget 2017-05-01 11:20:39 +02:00
arnaud.morvan@camptocamp.com
113ab01cfe Sipify QgsField
I've removed the commented __getitem__ method from the sip file.
2017-05-01 11:06:43 +02:00
Etienne Trimaille
5c021dc6be sipify groupwmsdatadialog and qgsgroupbox 2017-05-01 11:04:39 +02:00
Matthias Kuhn
c929d2abd8 Fix warnings 2017-05-01 10:22:34 +02:00
Alexander Bruy
7ee1cbfaae Revert "[processing] handle NULL values in the Singleparts to multiparts (fix #15822)"
This reverts commit a944f7c4c1010767abb811200686e327040c2d32.
2017-05-01 10:53:15 +03:00
Alexander Bruy
5c8365c544 Revert "Merge pull request #4458 from arnaud-morvan/processing_fix_single_to_multi_test"
This reverts commit 77d95905a51db6c2d938c736e34da246ad6e0f50, reversing
changes made to 6fd45f0ef5968e2471421a21f81017c9c86f3fb7.
2017-05-01 10:53:08 +03:00
Nyall Dawson
b34ee28cd8 [processing] Fix refreshing alg list does not refresh toolbox
Fix #16455, #16463
2017-05-01 17:29:40 +10:00
Nyall Dawson
ac84326464 [processing] Fix executing models 2017-05-01 17:29:40 +10:00
Nyall Dawson
dde48b5597 [processing] Fix invalid logging error 2017-05-01 17:29:40 +10:00
Nyall Dawson
79d79d6c07 [processing] Fix some regressions following algorithm refactoring 2017-05-01 17:29:40 +10:00
Nyall Dawson
636a37f4f7 [processing] Fix editing existing model has no algorithms shown 2017-05-01 17:29:40 +10:00
Nyall Dawson
77d95905a5 Merge pull request #4458 from arnaud-morvan/processing_fix_single_to_multi_test
[processing] Fix qgis:singlepartstomultipart test
2017-05-01 14:43:00 +10:00