43914 Commits

Author SHA1 Message Date
Nyall Dawson
fc6c69bedf Fix calculation of distance to vertex for multi part, multi ring
and curved geometries
2017-11-14 21:52:28 +11:00
Nyall Dawson
5d476e51df Use QVector where possible in geometry classes 2017-11-14 21:52:09 +11:00
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
Alexander Bruy
662c2cf801
another typo 2017-11-14 08:39:25 +02:00
Alexander Bruy
c65ed15db8
Fix typo 2017-11-14 08:38:24 +02: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
f70213f6d1 Overridden dataSourceUri for OGR 2017-11-13 18:23:54 +01:00
Alessandro Pasotti
58fdd70a54 [auth][feature][ogr] Hide credentials from URI, use authcfg 2017-11-13 18:23:54 +01:00
Alessandro Pasotti
83ec9de429 Fix QGIS server test HTTP Basic auth with streaming 2017-11-13 18:22:49 +01:00
Alessandro Pasotti
3919cc2f4a [auth][ogr][feature] Add basic authentication to selected OGR sources
- Protocol
- DB (integration with QGIS auth system)
2017-11-13 18:22:49 +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
Alessandro Pasotti
f177ba3141 Remove unused code 2017-11-13 14:48:32 +01:00
nirvn
b7d05829ce try to make travis happy 2017-11-13 17:36:36 +07:00
Alessandro Pasotti
79c8f9686d Remove OK button and add CLOSE
Yes, it's one more click to quit, but more intuitive UI
2017-11-13 11:29:59 +01:00
Alessandro Pasotti
1ab20bd7e9 Iterate over const 2017-11-13 11:29:42 +01:00
nirvn
66b27dcd50 Use vertex iterator 2017-11-13 17:12:57 +07:00
David
c2f68d6f7b background color on constraint fields reset on toggle edit
if editable, the backgroundcolor should be set according the constraint result
if not editable, the backgroundcolor should be empty anyway
so it has to be reseted when synchronizeEditableState...
2017-11-13 10:49:44 +01:00
David
53d642cecc Constraint Result Indicator invisible when not in editable mode
The icon for the constraint result indicator cross/tipp disappears when not in editable mode
this is made by the new method setconstraintresult.
2017-11-13 10:49:26 +01: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