Nyall Dawson
997b6304c8
Merge pull request #4402 from nyalldawson/iterator_invalid_geom
...
Add invalid geometry handling to QgsFeatureRequest/QgsVectorLayerFeatureIterator
2017-04-25 18:32:35 +10:00
Nyall Dawson
d27cbe7f3f
Try to fix build failure on clang
2017-04-25 16:47:52 +10:00
Nyall Dawson
5be060fe85
More cleanups to MethodCode
2017-04-25 16:26:11 +10:00
Nyall Dawson
c658f5ac63
Cleaner MethodCode
2017-04-25 16:16:17 +10:00
Nyall Dawson
9743831123
Expose invalid geometry callback to python
2017-04-25 16:16:17 +10:00
Nyall Dawson
ee777447a9
[processing] Remove special handling for invalid geometries
...
Instead rely on QgsFeatureRequest method. There's a temporary
loss of the feedback on encountering an invalid geometry
when abort on invalid is set, but that will be resurrected
when all of vector.features is moved to c++
2017-04-25 16:16:17 +10:00
Nyall Dawson
80d07cb4b9
Add method to perform invalid geometry checking in QgsFeatureRequest
...
Allows requests to specify how invalid geometries should be
handled. Default is to perform no geometry validity checking.
2017-04-25 16:16:17 +10:00
Even Rouault
965350b3ae
DBManager: fix importing a new layer in a GeoPackage ( #16295 )
2017-04-24 21:41:25 +02:00
Alessandro Pasotti
e5969452df
[auth] Add authentication configuration support to QgsFileDownloader
...
With tests.
2017-04-24 18:23:28 +02:00
Denis Rouzaud
5a19463cbc
sipify batch
...
* QgsCredentials
* QgsCrsCache
* QgsDataSourceUri
* QgsDateTimeStatisticalSummary
* QgsDatumTransformStore
2017-04-24 13:06:03 +02:00
Alessandro Pasotti
2a7d5d4b5b
Merge pull request #4393 from elpaso/server-api-mods
...
[server] Server api mods
2017-04-24 10:05:49 +02:00
Denis Rouzaud
c540ab33bd
sipify QgsApplication
2017-04-24 09:35:09 +02:00
Denis Rouzaud
10d34ece02
sipify batch
...
* QgsBearingUtils
* QgsBrowserModel
* QgsColorScheme, QgsColorSchemeRegistry
* QgsContextHelp
* QgsCoordinateReferenceSystem
* QgsCoordinateTransform
* QgsFeedback
2017-04-24 09:32:39 +02:00
Denis Rouzaud
3652fa7e2b
Revert "Revert "Revert "Remove virtual method from class which shouldn't be subclassed"""
...
This reverts commit 2a8555e13eb9a0e6bc0a24502ddb034f1aa1a3ac.
sorry for the noise
2017-04-24 08:09:13 +02:00
Denis Rouzaud
2a8555e13e
Revert "Revert "Remove virtual method from class which shouldn't be subclassed""
...
This reverts commit cb68c982b829ecf94b19f9b9a030a269e1c2239f.
2017-04-24 08:07:56 +02:00
Alexander Bruy
8c80a60c33
Merge pull request #4385 from volaya/remove_processing_commander
...
[FEATURE][processing] remove processing commander
2017-04-24 09:00:13 +03:00
Denis Rouzaud
1bfa539df1
[sipify] remove extra blank line
2017-04-24 07:39:30 +02:00
Nyall Dawson
cb68c982b8
Revert "Remove virtual method from class which shouldn't be subclassed"
...
This reverts commit 858129ddd3072d633e0abd97e1a45fe880f4cfb2.
I remember now... that was added to avoid a totally nonsense and
otherwise unfixable crash in the sip bindings...
2017-04-24 12:32:28 +10:00
Nyall Dawson
858129ddd3
Remove virtual method from class which shouldn't be subclassed
2017-04-24 11:02:03 +10:00
Nyall Dawson
6beaa51837
Add test to provider test suite that provider source does not rely
...
on source layer or provider in any way
Fails for OGR provider! :o
2017-04-24 08:21:06 +10:00
Mathieu Pellerin
268acab5d6
[FEATURE] New "Save as image" settings dialog ( #4390 )
...
* Resolution dpi setting
* Extent setting
* Scale setting
* Draw annotations / decorations setting
2017-04-23 13:02:42 +07:00
Nyall Dawson
4a2226af31
Allow canceling background map renders
2017-04-23 13:07:04 +10:00
Alessandro Pasotti
cbcd193875
[server] Add to API break and pass enum by value
2017-04-22 13:56:00 +02:00
Alessandro Pasotti
c2ba23173a
[server] handleRequest accept QgsServerRequest.Method instead of a string
...
Also made this optional
2017-04-22 11:05:06 +02:00
Alessandro Pasotti
7f08e7206f
[server] More Qt-style getter changes getHeader( key ) -> header( key )
2017-04-22 10:27:10 +02:00
Alessandro Pasotti
d03b005969
[server] Expose HTTP status code and test refactoring
...
* Renamed returnCode to statusCode (as per RFC https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html )
* Expose statusCode to server iface
* API Break: Renamed getHeader() to header() Qt-style
* Split server plugin filter tests in its own test file
* Added tests for clearBody() and body() getter
2017-04-22 10:17:08 +02:00
David Marteau
018d2a24fb
Server: pass full url string and data to handleRequest()
...
Fix tests by removing passing url pieces from environment
2017-04-21 17:38:25 +02:00
David Marteau
a55390e319
Restore body() accessor in QgsRequestHandler
...
Restore clearBody() method in QgsRequestHandler
2017-04-21 14:33:10 +02:00
Martin Dobias
25ed76b86e
Move labeling engine config to a new class + QgsPalLabeling cleanup
...
Another bit to make core library independent from QgsProject::instance().
Until now labeling engine configuration was taken from project singleton.
Removed legacy methods from QgsPalLabeling - the class now does not have
any more member variables/methods, it is just a bunch of helper functions.
(PR #4384 )
2017-04-21 18:04:09 +08:00
Mathieu Pellerin
e0d20e537d
Update decorators to avoid relying on map canvas when rendering ( #4388 )
2017-04-21 12:06:24 +07:00
Mathieu Pellerin
db848a3f1a
Upgrade the save as image function into a background task ( #4382 )
2017-04-21 11:47:37 +07:00
rldhont
1bbc39e887
[BUGFIX][Processing] Fix spatialite version comparison
2017-04-20 15:16:55 +02:00
volaya
5b8c083da7
indentation fix
2017-04-20 14:47:02 +02:00
Denis Rouzaud
8f2a5c7c00
sipify all
2017-04-20 14:21:36 +02:00
volaya
e5dd93663e
[processing] fixed I/O of models
2017-04-20 14:03:09 +02:00
volaya
54e30b93f3
improvements for extracts within subsets
2017-04-20 14:03:08 +02:00
volaya
414772b6f4
[processing] removed commander
2017-04-20 10:37:50 +02:00
Denis Rouzaud
f9ec3829fc
fix doxymentation
2017-04-20 08:15:32 +02:00
Denis Rouzaud
36604196d7
sipify QgsScaleWidget
2017-04-20 08:15:32 +02:00
Nyall Dawson
dd6c7fdbc8
Add a QgsProject::ellipsoidChanged signal
2017-04-20 15:46:28 +10:00
Nyall Dawson
dce3c88b06
Add methods to clone annotations
2017-04-20 13:39:36 +10:00
Denis Rouzaud
13415370a5
sipify QgsIdentifyMenu
2017-04-19 18:06:39 +02:00
Denis Rouzaud
be9a51c42d
sipify QgsMapLayerModel, QgsMapLayerProxyModel
2017-04-19 16:44:36 +02:00
Denis Rouzaud
0b0e8a6a89
move QgsFieldModel and QgsFieldProxyModel to core and sipify
2017-04-19 16:44:36 +02:00
Denis Rouzaud
bd4f7126e1
sipify QgsMapLayerCombobox, QgsFieldCombobox
2017-04-19 16:44:36 +02:00
Denis Rouzaud
7552d1cc64
sipify QgsFileWidget, QgsExternalResourceWidget
2017-04-19 15:20:08 +02:00
Denis Rouzaud
56aa36e4be
sipify QgsRelation
2017-04-19 15:19:14 +02:00
Denis Rouzaud
51aa44de5f
[sipify] fix enum combination
2017-04-19 15:03:31 +02:00
Denis Rouzaud
55860e8508
sipify QgsFieldExpressionWidget
2017-04-19 14:29:51 +02:00
Alexander Bruy
737906c55c
[processing] add information message when feature skipped
2017-04-19 14:06:16 +03:00