Nyall Dawson
9e4f9d4ac6
Sipify update
2017-04-26 11:47:06 +10:00
Nyall Dawson
8d24a9a189
Add missing docs
2017-04-26 11:46:51 +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
13b44722ca
Add a simple qHash for QVariant
...
Allows creation of QSet<QVariant>
2017-04-26 09:58:21 +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
c869fa29b6
[BUGFIX][Server] Filter restorer modifying layers and not well restoring them
...
The Subsetstring is updated through QgsVectorLayer::setSubsetString and restored by QgsVectorDataProvider::setSubsetString and it's not idempotent.
The solution is to use QgsVectorLayer::setSubsetString in the 2 cases.
2017-04-25 18:03:28 +02:00
rldhont
70a21d47e9
Merge pull request #4415 from rldhont/server-wms-configparser-getcapabilities-part1
...
[Server] WMS GetCapabilities refactoring - Part 1
2017-04-25 17:19:31 +02:00
Denis Rouzaud
96151e732a
remove extra SIP_TRANSFERTHIS in cpp files
2017-04-25 14:16:50 +02:00
rldhont
27a9053490
[Server] WMS GetCapabilities refactoring - Part 1
...
Part 1 for removing QgsWMSProjectParser from GetCapabilities
2017-04-25 14:11:36 +02:00
Nathan Woodrow
4b67b27fc0
Add QgsStackTrace class
2017-04-25 21:53:53 +10:00
Denis Rouzaud
c1832854a2
sipify batch
...
* QgsDial
* QgsDialog
* QgsDockWidget
* QgsEncodingFileDialog
* QgsErrorDialog
2017-04-25 13:46:56 +02:00
Denis Rouzaud
448d2fddd3
[doxygen] add include path to allow macro retrieval
2017-04-25 13:28:01 +02:00
Denis Rouzaud
a60b31d3b3
fix doxymentation
2017-04-25 13:28:01 +02:00
Denis Rouzaud
157709129e
sipify layer tree classes
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
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
92cc88d829
Slight reorganisation of geometry check to make it easier to
...
add other checks in future
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
5d377beec0
Expand unit tests
2017-04-25 16:16:17 +10:00
Nyall Dawson
595f104830
Allow specifying a callback for encountering invalid geometries while iterating
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
5a19463cbc
sipify batch
...
* QgsCredentials
* QgsCrsCache
* QgsDataSourceUri
* QgsDateTimeStatisticalSummary
* QgsDatumTransformStore
2017-04-24 13:06:03 +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
c540ab33bd
sipify QgsApplication
2017-04-24 09:35:09 +02:00
Denis Rouzaud
9b523cb19b
[sipify] do not remove function body within SIP_RUN blocks
2017-04-24 09:34:31 +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
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
68e0a62716
revert 82c66f8aa38e4e0e2d213b2040360410cafef30d
2017-04-24 08:12:00 +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
Denis Rouzaud
6d26bb3bff
[spelling] fix bad inword detection for activeXXX
2017-04-24 08:04:40 +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
347934f4de
follow up 1bfa539
2017-04-24 07:43:52 +02:00