Denis Rouzaud
ce770293b3
[sipify] debug + fix multiline in SIP_RUN
2017-04-27 11:06:19 +02:00
Nyall Dawson
348b65b12c
Remove old code for handling QWT < 6.1
...
Versions < 6.1 are not compatible with Qt5
2017-04-27 11:55:45 +10:00
lbartoletti
84471f2e6d
New classes for circle and ellipse.
2017-04-27 10:25:29 +10:00
Denis Rouzaud
4cc4a27068
[sipify] operators, remove argument
...
* skip some operators
* allow to remove an argument with SIP_PYARGREMOVE
2017-04-26 15:06:16 +02:00
Denis Rouzaud
0f9ddc29b4
fix doxgen test
2017-04-26 13:20:52 +02:00
Denis Rouzaud
9688b81874
followup 45266cd03ef8037fd657b992357b0d2d716522da
2017-04-26 11:04:25 +02:00
Denis Rouzaud
45266cd03e
[sipify] improvements
...
* add In annotation
* remove struct forward declarations
* fix members initialization list in header
* merge removal code for function bodies and constructor definition
2017-04-26 10:25:50 +02:00
Nyall Dawson
a5e33fa93c
Add method to take layer and ownership from a project
2017-04-26 16:48:27 +10:00
Denis Rouzaud
9bb076295e
[sipify] improvements
...
* add Array and ArraySize annotations
* also handle multiline skipped bodies
* handle #if 0 blocks
2017-04-26 08:15:18 +02:00
Nyall Dawson
13f081359e
Fix failing test
2017-04-26 13:05:56 +10:00
Nyall Dawson
f247a7cda3
Add c++ optimised uniqueValues method which respects processing context
...
Remove processing vector.uniqueValues/vector.getUniqueValues
and port usage to c++ method
Should be much faster than the python method, as the c++ method takes
advantage of handing off the unique values calculation to the
provider source whenever possible
2017-04-26 12:53:35 +10:00
Nyall Dawson
b067bd786a
Rename UseSelection -> UseSelectionIfPresent, clarify docs
2017-04-26 12:53:35 +10:00
Nyall Dawson
e6a33e876c
Allow setting the invalid geometry callback in processing context
2017-04-26 12:53:35 +10:00
Nyall Dawson
b32b39501e
Add methods for getting vector iterators to QgsProcessingUtils
2017-04-26 12:53:35 +10:00
Nyall Dawson
fea6bff707
Merge pull request #4389 from nyalldawson/scalebar
...
Refactor scalebar renderer, split from composer
2017-04-26 12:40:06 +10:00
Nyall Dawson
fa21311e4c
More robust test for numeric scale bar
2017-04-26 11:46:51 +10:00
Nyall Dawson
b40bc0c1f7
Refactor scale bar rendering
...
Move all scalebar rendering code out of composer and ensure that
all scalebar rendering is done independant of QgsComposerScaleBar
This allows scalebar rendering code to be reused by plugins
and by non-composer code.
Also rename QgsScaleBarStyle -> QgsScaleBarRenderer, (and all
subclasses too). This name better reflects what these classes do.
2017-04-26 11:46:51 +10:00
Nyall Dawson
dd7be73fa4
Add a method to QgsFeatureSink to add all features from an iterator
2017-04-26 11:43:47 +10:00
Nyall Dawson
c4578c3c1d
QgsVectorLayer is a QgsFeatureSink
...
Also cleanup API for addFeature(s) in QgsVectorLayer, by removing
the unused extra argument from addFeature() and be removing the
makeSelected argument from addFeatures() (code should be adapted
to manually select added features after adding if desired - this
was only used in a single place in the QGIS code and I suspect
this was unintentional in any case)
2017-04-26 11:32:34 +10:00
Larry Shaffer
66f4ff9710
Merge pull request #4407 from boundlessgeo/filedownloader-auth
...
[auth] Add authentication configuration support to QgsFileDownloader
2017-04-25 17:39:22 -06:00
rldhont
27a9053490
[Server] WMS GetCapabilities refactoring - Part 1
...
Part 1 for removing QgsWMSProjectParser from GetCapabilities
2017-04-25 14:11:36 +02:00
Denis Rouzaud
a60b31d3b3
fix doxymentation
2017-04-25 13:28:01 +02:00
Nyall Dawson
6b260ffee6
Remove deprecated assertEquals use
2017-04-25 19:00:13 +10:00
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
Even Rouault
3fa1162229
Merge pull request #4408 from rouault/fix_12695
...
DBManager: fix importing a new layer in a GeoPackage (#16295 )
2017-04-25 09:40:37 +02:00
Nyall Dawson
9743831123
Expose invalid geometry callback to python
2017-04-25 16:16:17 +10:00
Nyall Dawson
5d377beec0
Expand unit tests
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
Denis Rouzaud
b0c1604864
fix indentation
2017-04-25 07:07:59 +02:00
Even Rouault
965350b3ae
DBManager: fix importing a new layer in a GeoPackage ( #16295 )
2017-04-24 21:41:25 +02:00
Alessandro Pasotti
ae7ace9873
pep8 travis quirks (do not err locally)
2017-04-24 18:37:00 +02:00
Alessandro Pasotti
e5969452df
[auth] Add authentication configuration support to QgsFileDownloader
...
With tests.
2017-04-24 18:23:28 +02:00
Even Rouault
cd521d6f76
Adjust expected results for GDAL 2.2
2017-04-24 17:03:23 +02:00
Denis Rouzaud
085803de8a
[sifpiy] handle multiline body
2017-04-24 16:37:23 +02:00
Alessandro Pasotti
46310d4ab4
Merge pull request #4404 from elpaso/server-tests-improvements
...
[server] Tests housekeeping and improved robustness
2017-04-24 16:00:49 +02:00
Denis Rouzaud
fbe10d461c
followup 8f35ee464f0a32284263b684abbdf2a42c0e9131
2017-04-24 14:54:07 +02:00
Denis Rouzaud
8f35ee464f
sipify improvements
...
* one liner enum (without assignements)
* remove function bodies of skipped methods
2017-04-24 14:52:10 +02:00
Alessandro Pasotti
d3453063ea
[server] Tests housekeeping and improved robustness
...
* There is now a new common base class for QGIS Server testing
* WMS tests have been moved into their own class
* Added tests for onlineResource URL in query string
2017-04-24 14:28:52 +02:00
Denis Rouzaud
419185bc21
[sipify] remove EXPORT macro from struct definition
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
6e7b753ceb
sipify improvements
...
* reset comment while changing section
* fix comment at the end of a comment block
* use SIP_FORCE to show private members
2017-04-24 09:32:39 +02:00
Denis Rouzaud
347934f4de
follow up 1bfa539
2017-04-24 07:43:52 +02: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
Nyall Dawson
f7b7254527
Merge pull request #4284 from arnaud-morvan/expression_compare_arrays
...
Add arrays comparison in QgsExpression
2017-04-23 19:19:16 +10:00
Alessandro Pasotti
d35bd4abaa
[server] disabled failing check
2017-04-22 12:21:37 +02:00
Alessandro Pasotti
abd035ac21
[server] disabled failing check
2017-04-22 12:15:56 +02:00
Nyall Dawson
428ca7b033
Update indentation
2017-04-22 20:13:18 +10:00
Alessandro Pasotti
97e55d2742
[server] Fix access control test
2017-04-22 12:01:54 +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
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