43696 Commits

Author SHA1 Message Date
Nyall Dawson
507a93c69b Drop the cached coordinate sequence from abstract geometries
This cache was added to speed up expensive QgsAbstractGeometry::coordinateSequence
calls, when we were relying on coordinateSequence() for a whole
bunch of stuff like counting the number of points in a geometry.

Now it's used almost no-where in the code, so this cache is unlikely
to get filled and just makes geometries more memory heavy than
they need to be.
2017-11-14 21:52:09 +11:00
Matthias Kuhn
0c35dde461 N:M Relations, support for linking table with default values 2017-11-14 11:08:37 +01:00
Matthias Kuhn
30eec2b392 Update buttons on referenced layer edit state change in N:M
Fix #16635
2017-11-14 11:08:37 +01:00
Nyall Dawson
3ba2254503 Fix broken sip casting of nested QVectors
Old code was always forcing casting to QgsPointXY, regardless
of actual type
2017-11-14 21:08:21 +11:00
Nyall Dawson
857bae4b2c
Merge pull request #5609 from nyalldawson/remove_options
[needs-docs] Remove options for making layer names and groups bold
2017-11-14 11:22:17 +11:00
Nyall Dawson
3c8d50d525
Merge pull request #5612 from nirvn/native_nodes
Optimize extract nodes algorithm
2017-11-14 09:02:09 +11:00
Nyall Dawson
6dbdbead0c Handle null values in processing attribute tests 2017-11-14 07:14:46 +10:00
Even Rouault
94fa450efd [WFS provider] Add NAMESPACES= parameter to GetFeature requests when needed (fixes #14685) 2017-11-13 21:23:57 +01:00
Alessandro Pasotti
fe4f1500d9
Merge pull request #5563 from boundlessgeo/BD-2469-pem-key-encoding
[auth][bugfix] Import pvt keys with unknown file extension
2017-11-13 17:40:54 +01:00
Even Rouault
2c49631bc9 [OGR provider] Support 64bit FID (partially implemented per 8f3d44d4e9321efc035a6080b161f5dd48d4f230 in master) (fixes #16404) 2017-11-13 15:49:14 +01:00
nirvn
b7d05829ce try to make travis happy 2017-11-13 17:36:36 +07:00
nirvn
66b27dcd50 Use vertex iterator 2017-11-13 17:12:57 +07:00
Harrissou Sant-anna
e1f5348a97 Add tab order and enable help button 2017-11-13 10:32:15 +01:00
Alessandro Pasotti
822a123ebd Add extra checks to PEM encoding test
Not really necessary but for extra safety
2017-11-13 09:09:18 +01:00
Alessandro Pasotti
9e192ad5e8 Added various line endings PEM tests 2017-11-13 09:00:11 +01:00
Nyall Dawson
3b2228adb0
Merge pull request #5613 from nyalldawson/custom_crs_fixes
Custom crs fixes
2017-11-13 18:47:37 +11:00
Nyall Dawson
fd18c3bc69
Merge pull request #5559 from nyalldawson/custom_crs
Fix issues with custom CRS dialog
2017-11-13 18:47:09 +11:00
Nathan Woodrow
702dfdab5d Tweak crash message 2017-11-13 17:28:09 +10:00
Harrissou Sant-anna
4f22b45971 Fix typos 2017-11-13 08:13:10 +01:00
Nyall Dawson
6f7ad82a72 Fix crash when clearing all nodes using node tool 2017-11-13 16:30:21 +10:00
Nathan Woodrow
66c7d6868c Fix #12932 - Send and show layer load errors to user 2017-11-13 15:51:36 +10:00
Nyall Dawson
be8bad8e39 Fix duplicate crsChanged signal emitted when loading projects 2017-11-13 15:28:14 +10:00
Nyall Dawson
f2b5a5952b Fix loading 2.x projects with custom CRS
Fixes #17257
2017-11-13 15:26:05 +10:00
nirvn
7cb15c08b9 Optimize extract nodes algorithm 2017-11-13 12:13:30 +07:00
Nyall Dawson
e967881e45 Fix incorrect authid and description after saving a user crs 2017-11-13 15:11:05 +10:00
Nyall Dawson
39851f4474 Invalidate crs cache after adding a new user CRS
Refs #17257
2017-11-13 15:01:46 +10:00
Nathan Woodrow
9369e5c137 [MSSQL] Don't add constraints for identity columns
These are generated server side and will block the form if we set
this client side
2017-11-13 14:57:41 +10:00
Nyall Dawson
e0b2c27c07 Fix return type for QgsCoordinateReferenceSystem::saveAsUserCrs 2017-11-13 14:33:38 +10:00
Nathan Woodrow
82644fb37f uh oh ;) 2017-11-13 11:58:29 +10:00
Kristian Thy
320bda01f4 [bugfix] Issue #17387: MSSQL provider fails to load UNIQUEIDENTIFIER fields (#5521)
* Fix #17387: MSSQL provider fails to load UNIQUEIDENTIFIER fields
2017-11-13 11:09:57 +10:00
Juergen E. Fischer
150a64e9ac fix warnings and translation strings 2017-11-12 21:57:15 +01:00
Even Rouault
68da18c0b6 Attempt at fixing warning 'case value ‘2147483648’ not in enumerated type OGRwkbGeometryType' caused by 97020ff17d21fcdad8a51a5177d9c1da2bce9e81 fix 2017-11-12 21:27:30 +01:00
Even Rouault
96ec664594 GDALDataItems / OGRDataItems: avoid listing .map and .dat files of a .tab 2017-11-12 21:18:27 +01:00
Even Rouault
8cefb45d6d QgsOgrLayerItem(): avoid useless dataset opening 2017-11-12 21:18:27 +01:00
Jürgen Fischer
75ea3726d0
Merge pull request #5610 from landryb/fix/32-bits-build
Remove useless cast breaking build on 32-bits os
2017-11-12 20:16:54 +01:00
Even Rouault
3ff0f69794 [OGR provider] Make extent() return a isNull() rectangle on empty layer (fixes #16721) 2017-11-12 14:56:05 +01:00
Alexander Bruy
7e699f18c7 improve layout in Python init function editor (fix #17428) 2017-11-12 12:29:26 +02:00
Nathan Woodrow
944d2f40c3 Fix windows build 2017-11-12 20:26:10 +10:00
Nathan Woodrow
e4596052c0 Add local symbols to stack trace in crash 2017-11-12 19:58:08 +10:00
Landry Breuil
97020ff17d Remove useless cast breaking build on 32-bits os
error: case value evaluates to 2147483655, which cannot be narrowed to type 'long' [-Wc++11-narrowing]
2017-11-12 07:59:46 +01:00
Nyall Dawson
91e2353067 [needs-docs] Remove options for making layer names and groups bold
Either these options are desirable, in which case they should
be the default settings, or not, in which case we don't need
an extra user option to control this.
2017-11-12 16:53:26 +10:00
Nyall Dawson
41abc0b68e
Merge pull request #5530 from DelazJ/chkgeom_messages
[Geometry Checker] Improve displayed message by indicating the layer…
2017-11-12 12:11:59 +11:00
Nyall Dawson
0fa9041c4e
Merge pull request #5528 from DelazJ/geometrycheck
[Geometry Checker] Better handling of the geometry checker dialog
2017-11-12 12:11:05 +11:00
Nyall Dawson
c1b683b51e
Merge pull request #5595 from alexbruy/fix-north-arrow
[north arrow] prevent crash if project CRS is not defined
2017-11-12 12:08:49 +11:00
Even Rouault
66518eb9ee [GML parser/WFS provider] Fix crash when typename and geometry field name are identical (fixes #15942) 2017-11-11 12:11:36 +01:00
Nyall Dawson
bcb815bbf1
Merge pull request #5602 from nyalldawson/modernize2
Apply some more clang-tidy modernizations
2017-11-11 18:11:53 +11:00
Nyall Dawson
5a6c222e87 Fix Coverity null pointer dereference issues 2017-11-11 16:00:19 +10:00
Nyall Dawson
a9145f16cc Avoid Coverity unchecked return value warnings 2017-11-11 15:48:19 +10:00
Nyall Dawson
48c7e31ee1 Fix Coverity uninitialized member warnings 2017-11-11 15:44:14 +10:00
Nyall Dawson
450887eabd Fix documentation test 2017-11-11 15:34:46 +10:00