Blottiere Paul
8562bfa9b9
Add some tests for GetPrint with OPACITIES
2017-10-27 09:48:14 +01:00
Alessandro Pasotti
89f62821a0
[auth] Added test cases for expired CAs and client certs
2017-10-27 09:35:24 +02:00
Nyall Dawson
4372ac2658
[FEATURE][processing] Native c++ snap to grid algorithm
...
With support for snapping Z/M values, keeping curves
2017-10-27 15:16:15 +10:00
Nyall Dawson
c67e39812d
Improvements to QgsAbstractGeometry::snappedToGrid
...
- Fix loss of coordinates when not rounding a particular dimension
- Don't segmentize curved geometries
- Add extra unit tests
- Make createEmptyWithSameType() protected and skip from Python bindings.
This method relies on low-level manipulation of the returned geometry
which we do not want to expose as public/fixed API
2017-10-27 14:37:35 +10:00
Martí Angelats i Ribera
3f5b11bffe
Make asGridified and newSameType (helper function)
2017-10-27 11:22:47 +10:00
Larry Shaffer
99b1c74c4e
[auth] Update test certs/keys and add README
...
* Add expired root/issuer CAs and client cert chains
* Add wildcard server *.qgis.test SSL cert
[ci skip]
2017-10-26 17:36:33 -06:00
Nyall Dawson
131b15f2a7
Merge pull request #5472 from nyalldawson/grid_renderer
...
Grid renderer
2017-10-27 10:23:21 +11:00
Nyall Dawson
b80160a628
Merge pull request #5464 from lbartoletti/improve_triangle
...
Improve triangle
2017-10-27 08:47:41 +11:00
Nyall Dawson
d4e8470ad4
Minor fixups, add tests
2017-10-27 07:45:40 +10:00
lbartoletti
a86800b7ff
Fix tests forgotten in testqgsexpression.cpp
2017-10-26 22:37:52 +02:00
Larry Shaffer
8501053a0d
Merge pull request #5463 from boundlessgeo/BD-2507-pki-bundle-validation
...
[auth] PKI bundle validation utility function
2017-10-26 13:52:57 -06:00
Larry Shaffer
3210f8546a
Merge pull request #5401 from boundlessgeo/pkcs8-to-pkcs1
...
[auth] Convert PKCS8 to PKCS1 private keys (for macOS)
2017-10-26 12:42:12 -06:00
Alessandro Pasotti
89166a0d2e
[auth] Add utility method to validate a PKI bundle
2017-10-26 18:26:47 +02:00
Alessandro Pasotti
287d1f751f
[auth] Add test with client cert
2017-10-26 18:24:35 +02:00
Alessandro Pasotti
e036fc86ec
Typo in a comment
2017-10-26 18:24:35 +02:00
Alessandro Pasotti
006260b95d
[auth] Add tests for the certificate chain validation routine
2017-10-26 18:24:35 +02:00
Alessandro Pasotti
e20e0764c9
[auth] Add PEM test certificate chain
2017-10-26 18:24:35 +02:00
Alessandro Pasotti
92b3b5bcbc
Merge pull request #5446 from boundlessgeo/BD-2279-authmanager-singleton
...
[auth] Authmanager singleton API removal
2017-10-26 17:31:04 +02:00
Blottiere Paul
1c9f9df0ea
Add test
2017-10-26 14:27:05 +01:00
lbartoletti
9adf215af4
more z/m test
2017-10-26 14:37:13 +02:00
lbartoletti
6bcbbeb708
- A triangle can have double points or colinear points, my bad. It is a
...
degenerate triangle
- remove duplicate tests (triangle2())
2017-10-26 13:30:32 +02:00
Matthias Kuhn
dc5eefb588
Merge pull request #5448 from signedav/relationshipstrength
...
Duplication Feature and its relating Features
2017-10-26 10:43:45 +02:00
Alessandro Pasotti
48984dd089
[auth] Authmanager singleton removal from API
2017-10-26 10:10:27 +02:00
Nyall Dawson
acbd9d18f5
Merge pull request #5432 from Gustry/allow_pipe_filepath
...
allow pipe character in filepath in processing
2017-10-26 19:09:03 +11:00
Alessandro Pasotti
ecf93e38ec
Fix test after QgsFileDownloader move to core and API change
2017-10-26 10:07:12 +02:00
Blottiere Paul
861e05b406
Merge pull request #5376 from pblottiere/dirty
...
[FEATURE] Add a flag to dirty edit buffer when using executeSql in transactions
2017-10-26 07:07:14 +01:00
Nyall Dawson
611dca4a30
Merge pull request #5100 from Gustry/crs_description
...
add CRS description in the layer_property expression
2017-10-26 14:11:23 +11:00
Nyall Dawson
55203a0fc2
Merge pull request #5359 from nyalldawson/primitive
...
Rename (and make safe) QgsGeometry::geometry()
2017-10-26 11:04:34 +11:00
Nyall Dawson
837c1c56eb
Fix tests
2017-10-26 08:44:38 +10:00
Nyall Dawson
a9f8e60064
Merge pull request #5428 from lbartoletti/triangleGML
...
ADD GML export to QgsTriangle
2017-10-26 08:38:10 +11:00
Nyall Dawson
c50ee6d42f
Update python code to new API
2017-10-26 07:06:34 +10:00
Nyall Dawson
00e869039b
Replace use of qt methods with std equivalents
2017-10-26 07:06:34 +10:00
Nyall Dawson
70361063d8
Rename QgsGeometry::geometry as QgsGeometry::get()
...
Because feature.geometry().geometry() is confusing, and impossible
to search for in python code (e.g. is input.geometry() a QgsGeometry
or a QgsAbstractGeometry?)
But more importantantly: also add a const version
QgsGeometry::constGet(). The non-const
version is slow, since it now forces a detach to avoid corrupting
geometries (since QgsGeometry is shared, it's not safe to directly
access its primitive QgsAbstractGeometry and start messing with
it without first detaching). This is a big risk in the 2.x API
which could potentially corrupt feature geometries with unexpected
outcomes.
Update all uses to constGet where possible.
2017-10-26 07:06:34 +10:00
lbartoletti
650a1227b6
Avoid crash when export as GML an empty geometry
2017-10-25 22:22:07 +02:00
David
f7073d0587
[FEATURE] Duplicate features including children (one level deep) when relation strength is competition - configuration for the relationsstrength in the relation GUI [needs-docs]
2017-10-25 17:04:48 +02:00
Blottiere Paul
385655fc45
Add some tests
2017-10-25 15:29:13 +01:00
lbartoletti
7922608ef3
Change the approach: returns an empty element
2017-10-25 15:01:28 +02:00
Etienne Trimaille
387057a1b8
add CRS description in the layer_property expression
2017-10-25 14:18:40 +02:00
Etienne Trimaille
fb4e84a052
allow pipe character in filepath in processing
2017-10-25 00:49:00 +02:00
Sandro Mani
ea0e09b322
Merge pull request #5410 from manisandro/geomchecker
...
[FEATURE][Geometry checker] Support checking multiple layers at once, add new checks
2017-10-23 23:32:45 +02:00
Nyall Dawson
46a6f25d6f
Merge pull request #5418 from nyalldawson/from_polyline
...
Rename QgsGeometry::fromPolyline as QgsGeometry::fromPolylineXY
2017-10-24 08:21:30 +11:00
lbartoletti
52e9a48c09
Init z support and GML3 3D
2017-10-23 21:57:24 +02:00
Sandro Mani
9a2393ea92
[Geometry checker] Qt < 5.9 compatibility fix
2017-10-23 17:25:08 +02:00
Sandro Mani
15b5da8fea
[Geometry checker] Fix incorrect change parametrization in QgsGeometryCheck::replaceFeatureGeometryPart
2017-10-23 17:25:08 +02:00
Sandro Mani
084660a47f
[Geometry checker] More change tracking tests
2017-10-23 17:25:08 +02:00
Sandro Mani
876418c44e
[Geometry checker] Add more fixError tests
2017-10-23 17:25:08 +02:00
Sandro Mani
4a6cdbe36b
[Geometry checker] Add a first series of fixError tests
2017-10-23 17:25:08 +02:00
Sandro Mani
0ffd00da98
[Geometry checker] Add TestQgsGeometryChecks::createTestContext variant which copies the testdata to a temporary dir
2017-10-23 17:25:08 +02:00
Sandro Mani
d71f62c711
[Geometry checker] Make TestQgsGeometryChecks::searchCheckErrors return the list of matching errors instead of just the number of matches
2017-10-23 17:25:08 +02:00
Sandro Mani
1372536297
[Geometry checker] Add follow boundaries check
2017-10-23 17:25:08 +02:00