41823 Commits

Author SHA1 Message Date
Nyall Dawson
6505104074 Boost test coverage of geometry classes 2017-09-26 09:33:17 +10:00
Nyall Dawson
df1552ff18 Ensure multicurve dimensionality is respected when adding new lines 2017-09-26 09:03:59 +10:00
Nyall Dawson
c9117fc585 Fix clearing multicurve should reset dimensionality 2017-09-26 09:03:28 +10:00
Nyall Dawson
b46d8d3d33 Fix memory leak when inserting invalid geometries 2017-09-26 08:41:26 +10:00
Nyall Dawson
307efe3bce Boost test coverage for multilinestrings 2017-09-26 08:38:21 +10:00
Nyall Dawson
f5004ed7ef Fix multi line string allowing insertion of non line geometries 2017-09-26 08:33:47 +10:00
Nyall Dawson
6d95ba0a5b Fix nasty crash caused by converting MultiLineStrings to GML2
Exporting the geometry to GML2 would corrupt it, causing a
future crash to occur
2017-09-26 08:23:06 +10:00
Nyall Dawson
039aff6d14 Fix QgsMultiLineString -> toCurveType doesn't convert to curve type 2017-09-26 08:07:27 +10:00
Nyall Dawson
1de7b42588 Ensure multilinestring dimensionality is respected when adding new lines 2017-09-26 06:30:08 +10:00
Nyall Dawson
ed72e37f0b Fix clearing multilinestring should reset dimensionality 2017-09-26 06:29:36 +10:00
Nyall Dawson
d4ec09c7c0 Ensure multipoint dimensionality is respected when adding new points 2017-09-25 21:21:20 +10:00
Nyall Dawson
f153613908 Fix memory leak when restoring invalid geometry collection wkt 2017-09-25 21:20:55 +10:00
Nyall Dawson
ba50bf043b Fix multi point allowing insertion of non point geometries 2017-09-25 21:20:32 +10:00
Nyall Dawson
97930d13e2 Fix clearing multipoint should reset z/m status 2017-09-25 21:20:06 +10:00
Nyall Dawson
ffbf93a657 Fix incorrect /Transfer/ for geometry collection 2017-09-25 21:19:43 +10:00
Nyall Dawson
386d52d873 Merge pull request #5247 from nyalldawson/geometry_coverage
Geometry unit test coverage
2017-09-25 19:44:34 +10:00
Alessandro Pasotti
5f11793b17 Restore debug build after PR #5246 2017-09-25 11:22:51 +02:00
Nyall Dawson
57108f9b61 Boost test coverage for geometry collections 2017-09-25 17:20:36 +10:00
Nyall Dawson
0e908d5d5b Fix crash in geometry collections with negative part numbers 2017-09-25 17:20:36 +10:00
Nyall Dawson
b2bd0ac182 Fix dropping M/Z values from geometry collections 2017-09-25 17:20:36 +10:00
Nyall Dawson
94b44855e7 Fix crash in nextVertex with bad geometry collection part number 2017-09-25 17:20:36 +10:00
Nyall Dawson
33ba9a8c48 Fix crash when trying to insert geometry into collection with bad index 2017-09-25 17:20:36 +10:00
Nyall Dawson
6d59d144b5 Fix crash in geometry collection when working with empty collections 2017-09-25 17:20:36 +10:00
Nyall Dawson
623a57a8a0 Fix geometry collection can be corrupted by importing incorrect wkb 2017-09-25 17:20:36 +10:00
Nyall Dawson
60f81bd1ba Fix potential crash in QgsGeometry::smooth 2017-09-25 17:20:36 +10:00
Nyall Dawson
20cc7a7332 Boost test coverage for QgsRectangle 2017-09-25 17:20:36 +10:00
Nyall Dawson
d704163884 Rename QgsRectangle::buffer to buffered and mark as const 2017-09-25 17:20:36 +10:00
Nyall Dawson
7d6034dec8 Boost test coverage for compound curve 2017-09-25 17:20:36 +10:00
Nyall Dawson
6c2c0af19d Fix crash when removing vertices from compound curves 2017-09-25 17:20:36 +10:00
Nyall Dawson
27b43064b3 Fix incorrect wkb type for compound curve when adding vertex to empty curve 2017-09-25 17:20:36 +10:00
Nyall Dawson
154fd61d5a Merge pull request #5246 from nyalldawson/clazy
Fix some Clazy warnings
2017-09-25 17:14:14 +10:00
Nyall Dawson
b0b1714e98 Fix build 2017-09-25 17:12:04 +10:00
Nyall Dawson
270f167829 Fix doctest 2017-09-25 17:12:04 +10:00
Nyall Dawson
01d34ede9d Sip sync 2017-09-25 17:12:03 +10:00
Nyall Dawson
31c1ae1c6a Add missing QStringLiterals 2017-09-25 17:12:03 +10:00
Nyall Dawson
60b8ec5488 Sip sync 2017-09-25 17:11:46 +10:00
Nyall Dawson
f952e6a647 Misc clazy fixes 2017-09-25 17:11:46 +10:00
Nyall Dawson
6c74502da4 Fix clazy override signal with signal warnings 2017-09-25 17:11:46 +10:00
Nyall Dawson
be7f85bfa1 Remove some unused variables 2017-09-25 17:11:46 +10:00
Nyall Dawson
3837ddfd3d Flip some easy QLists to QVectors 2017-09-25 17:11:46 +10:00
Nyall Dawson
a463acba57 Fix clazy overriden signals with non signal warnings 2017-09-25 17:11:46 +10:00
Nyall Dawson
e4f17f41c3 Add missing QStringLiterals 2017-09-25 17:11:46 +10:00
Nyall Dawson
a7470b364f Fix clazy connect-3arg-lambda warnings
Always use 4 arg overload with a lambda, to avoid lambda
execution when context object is deleted.
2017-09-25 17:11:46 +10:00
Nyall Dawson
1a32f0883c Fix clazy detaching range based for warnings 2017-09-25 17:11:46 +10:00
Nyall Dawson
e8b90c33e4 Fix clazy allocating unneeded temporary container warnings 2017-09-25 17:11:46 +10:00
Nyall Dawson
fd9bcd6826 Use QString multi-arg overload (clazy warning) 2017-09-25 17:11:46 +10:00
Alexander Bruy
14a48c0349 Merge pull request #5201 from nyalldawson/point_crs
[processing] Transparently handle CRS for point parameters
2017-09-25 09:47:46 +03:00
mhugent
f4d5ca75c6 Merge pull request #5213 from mhugent/capabilities_exclusive_groups
[FEATURE]: In GetProjectSettings, show if a legend group is mutually exclusive
2017-09-25 08:41:14 +02:00
Nyall Dawson
a71f2ad5dc Fix non-virtual destructor 2017-09-25 12:46:49 +10:00
Nyall Dawson
fb66501000 Fix Coverity uninitialized member warnings 2017-09-25 12:46:05 +10:00