38356 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
6fd45f0ef5 fix 82418ea0 2017-05-01 03:11:41 +02:00
arnaud.morvan@camptocamp.com
8376a30f7a Sipify QgsField 2017-05-01 01:05:33 +02:00
Denis Rouzaud
5d5bb34383 prepare-commit: do not exist if indentation fails to go on with sipify 2017-05-01 00:48:19 +02:00
Matthias Kuhn
39f87ccf0d Fixup d230cf2e4 2017-05-01 00:43:39 +02:00
Denis Rouzaud
5e220e69ec followup b46de90d53c9298ba4f1267d2bdabcf4d669afe5 2017-05-01 00:13:41 +02:00
Matthias Kuhn
7f3941e073 Doxymentation 2017-05-01 00:04:29 +02:00
Matthias Kuhn
9e14344b71 more usage of cached values 2017-05-01 00:04:29 +02:00
Matthias Kuhn
00207c84aa Also support invalid-as-null variants 2017-05-01 00:04:29 +02:00
Matthias Kuhn
82e36f075d Code cleanup in QgsExpression 2017-05-01 00:03:55 +02:00
Matthias Kuhn
0cc7311328 Collapse static nodes in QgsExpression:prepare()
If the result of a node in a QgsExpression can already be determined to
be static at preparation time, there is no need to re-evaluate it
for every feature.
2017-05-01 00:03:55 +02:00
Matthias Kuhn
a8fc2c13d0 Fix remaining errors 2017-05-01 00:03:55 +02:00
Matthias Kuhn
d230cf2e4f Cleanup blacklist 2017-05-01 00:03:55 +02:00
Denis Rouzaud
fb1aec61ba sipify QgsExpression 2017-05-01 00:03:55 +02:00
Denis Rouzaud
b46de90d53 [sipify| do not write docstring for [] operator 2017-04-30 23:51:47 +02:00
Denis Rouzaud
c5dcfc1ebf move SIP_CODE to public section 2017-04-30 23:30:34 +02:00