41801 Commits

Author SHA1 Message Date
Alessandro Pasotti
a5647c7016 Added documentation for QgsDataItemProviderFromPlugin constructor 2017-09-19 11:58:45 +02:00
Nyall Dawson
9526d487ad Astyle 2017-09-19 19:39:54 +10:00
Matthias Kuhn
44e32e18c0
Fix tests for new QgsVectorFileWriter python API 2017-09-19 11:00:49 +02:00
rldhont
388f8630f3 Null pointer check for the layer tree 2017-09-19 09:23:24 +02:00
Nyall Dawson
b744820bc3 Boost test coverage of geometry classes 2017-09-19 17:22:33 +10:00
Nyall Dawson
6039e05b49 Fix some potential crashes in curve polygons 2017-09-19 17:22:33 +10:00
Nyall Dawson
e6a0af5a9b Fix crash in QgsCompoundCurve equality operator 2017-09-19 17:22:33 +10:00
Nyall Dawson
1540448334 Boost test coverage of geometry classes 2017-09-19 17:22:33 +10:00
Nyall Dawson
9e61cd63df Move overriden methods from headers to cpp files
Since they can't be inlined anyway
2017-09-19 17:22:33 +10:00
Nyall Dawson
f387210e4a Move QgsPolygonV2 equality operators up to QgsCurvePolygon 2017-09-19 17:22:33 +10:00
Nyall Dawson
bb425e4540 Cleaner signature for QgsAbstractGeometry::closestSegment 2017-09-19 17:22:33 +10:00
Nyall Dawson
1f40f62011 Expand geometry test coverage 2017-09-19 17:22:33 +10:00
Nyall Dawson
54c988f918 Make QgsAbstractGeometry::toCurveType pure virtual, and implement
for all geometry types

Previously this method would return nullptrs for many geometry
types
2017-09-19 17:22:33 +10:00
Nyall Dawson
bb3170f557 Fix incorrect vertexAngle calculation for circular strings
Angle was always perpendicular to the tangent, instead of
tangential to the curve
2017-09-19 17:22:33 +10:00
Nyall Dawson
0fba03f816 Fix potential crash in QgsCircularString::vertexAngle 2017-09-19 17:22:33 +10:00
Nyall Dawson
773d660d24 Remove impossible to reach code 2017-09-19 17:22:33 +10:00
Nyall Dawson
7973c915f5 fixup 2017-09-19 17:22:33 +10:00
Nyall Dawson
4e3eff947c Fix crash when calculating area for invalid circular string 2017-09-19 17:22:33 +10:00
Nyall Dawson
6205ca5ef7 Fix invalid return from QgsCircularString::pointN with negative indices 2017-09-19 17:22:33 +10:00
Nyall Dawson
e5b1c67594 Fix incorrect 'left of' calculation when finding nearest point
to circular string
2017-09-19 17:22:33 +10:00
Nyall Dawson
fd3a38fcd8 More tests 2017-09-19 17:22:33 +10:00
Nyall Dawson
5bb359db90 Boost test coverage of geometry classes 2017-09-19 17:22:33 +10:00
Nyall Dawson
1956a38199 When constructing a QgsPoint with explicit WKB type specified,
ignore any explicit z/m value if the WKB type does not have
that dimensionality

Brings consistent behavior to all QgsPoint constructors
2017-09-19 17:22:33 +10:00
Nyall Dawson
d861e6475a Set correct WKB type when clearing a QgsCircularString 2017-09-19 17:22:33 +10:00
Nyall Dawson
afcb82efe7 Fix potential crash when calling QgsCircularString::pointN with bad
index
2017-09-19 17:22:33 +10:00
Nyall Dawson
e937782757 Fix crash when calling equality operator on QgsCircularString 2017-09-19 17:22:32 +10:00
Nyall Dawson
3d0d7aabec Remove unused QgsGeometryFactory::fromRect method 2017-09-19 17:22:32 +10:00
Nyall Dawson
9b6e79cd18 Expand QgsTriangle test coverage 2017-09-19 17:22:32 +10:00
Nyall Dawson
a15340fc2c Extend geometry test coverage 2017-09-19 17:22:32 +10:00
Nyall Dawson
d3db082cd2 Extend unit tests for QgsPolygonV2, QgsPoint 2017-09-19 17:22:32 +10:00
Nyall Dawson
6b07b9bbfb Extend geometry unit test coverage 2017-09-19 17:22:32 +10:00
Nyall Dawson
f6d7120511 Remove default statements for better compiler warnings 2017-09-19 17:22:32 +10:00
Nyall Dawson
328fc9cb8d Consistently use unsigned int for QgsRegularPolygon 2017-09-19 17:22:32 +10:00
Nyall Dawson
92d739619d Fix memory leak in QgsEllipse 2017-09-19 17:22:32 +10:00
rldhont
0598be4c47 Null pointer check for the layer tree model 2017-09-19 08:39:12 +02:00
Nyall Dawson
a6b6892454 Allow data item providers to override default directory handling 2017-09-19 08:06:09 +02:00
Nyall Dawson
ac6eaa865b Correctly handle opening gdb directories as a database in browser
Allows ESRI gdb directories to be accessed and the contained
layers to be visible and added to projects.
2017-09-19 08:05:59 +02:00
Nyall Dawson
ca0fea795d Add method to retrieve OGR supported directory driver extensions (e.g. 'gdb') 2017-09-19 08:05:40 +02:00
Alessandro Pasotti
3fc2a49a9b Always run import task when at least one layer is valid 2017-09-19 07:58:31 +02:00
rldhont
026b9b0fd2 [Server] WMS Parameters: const QStringList &l 2017-09-19 07:34:36 +02:00
rldhont
9ee829ba50 [Server] WMS Parameters: const QVariant &value 2017-09-19 07:34:35 +02:00
rldhont
29a5ccfb2c [Server] WMS Parameters: const QVariant &defaultValue 2017-09-19 07:34:35 +02:00
rldhont
f3165187f0 [Server] GetLegendGraphics : Wait for feature counter finshed 2017-09-19 07:34:35 +02:00
rldhont
f88af6d55f QgsVectorLayer, countSymbolFeatures return QgsVectorLayerFeatureCounter 2017-09-19 07:34:35 +02:00
rldhont
08cacd4a1e [Server] Enhance QgsConfigCache 2017-09-19 07:34:35 +02:00
rldhont
8774e69328 [Server] Refactoring, removing qgs*parser files 2017-09-19 07:34:34 +02:00
rldhont
d8cf02e083 [Server] Remove QgsProject::instance 2017-09-19 07:34:34 +02:00
rldhont
a35af0c101 [Server] Refactoring, removing config parser from WMS 2017-09-19 07:34:34 +02:00
rldhont
51f1b83699 [BUGFIX][Server] GetLegendGraphics: Clear root legend 2017-09-19 07:34:34 +02:00
rldhont
262e81dfca [Server] WMS GetPrint refactoring - Update parameters manager 2017-09-19 07:34:34 +02:00