43031 Commits

Author SHA1 Message Date
Alessandro Pasotti
b760f08bd5 [auth] Pass by reference in const loop 2017-10-16 11:23:17 +02:00
Alessandro Pasotti
922b1e02c9 [auth] Removed oauth3 from cmake 2017-10-16 11:18:40 +02:00
Nyall Dawson
54f8825350 Fix processing tests 2017-10-16 20:10:37 +11:00
Nyall Dawson
cc5f7b1dfb Fix doxygen warning 2017-10-16 20:10:37 +11:00
Nyall Dawson
e92e20e613 Move native c++ processing algorithms from core library to analysis
And split into separate files for each algorithm
2017-10-16 20:10:37 +11:00
Alessandro Pasotti
c11e5a4a8f [auth] Add checkbox to exclud root CAs from bundles on pkipkcs12 method 2017-10-16 10:54:52 +02:00
Alessandro Pasotti
891f8f20ef [auth] Add checkbox to exclud root CAs from bundles on pkipath method 2017-10-16 10:54:29 +02:00
Alessandro Pasotti
d293e8f6ed [auth] Add method to exclude self-signed CAs from a list of certificates 2017-10-16 10:52:40 +02:00
Matthias Kuhn
8dd8a9be8f Merge pull request #5324 from DelazJ/locale
Remove Locale tab from Options dialog
2017-10-16 10:27:44 +02:00
Matthias Kuhn
d4635d042d Merge pull request #5317 from pblottiere/bugfix_style
[bugfix] Fixes #17234 save/load styles from Postgres when a service file is used
2017-10-16 10:27:10 +02:00
Matthias Kuhn
afb2a6a098 Merge pull request #5333 from daniviga/better-rpm
Improve buildrpms.sh for nightly builds
2017-10-16 10:13:06 +02:00
Alessandro Pasotti
032f225fd7 [auth] Merge CAs added by PKI bundles to the trusted CAs 2017-10-16 09:38:37 +02:00
Nyall Dawson
f579f1a449 Move bounds retrieval to QgsCoordinateReferenceSystem
Allows reuse in scripts/plugins/etc
2017-10-16 14:14:22 +11:00
Nyall Dawson
0002168c0d Fix wheel events in map canvas are not accepted even after
a zoom actually occurs, causing the event to pass on to underlying
widgets (e.g scroll areas)
2017-10-16 11:48:39 +10:00
Nyall Dawson
6e40b88fd7 Fix warnings 2017-10-16 10:59:14 +10:00
Nathan Woodrow
eac1096078 Fix build
Something something Monday something... :)
2017-10-16 10:56:16 +10:00
Nathan Woodrow
cf241f51ae [FEATURE][needs-docs] Show projection bounds in projection widget (#5356)
- Script to pull bounds from EPSG.org Postgres dump
- Add resources/data/world_map.shp for reference
- Show canvas bounds for reference
2017-10-16 10:40:05 +10:00
James Shaeffer
ea95b38509 Added new contributor (#5363) 2017-10-16 09:27:47 +10:00
Borys Jurgiel
11ec24f0fa [needs-docs] Move the install-plugin-from-ZIP menu action to the plugin manager. Also add a spacer to the left menu. 2017-10-16 01:27:24 +02:00
Juergen E. Fischer
32131527bc query version from version.qgis.org instead of ubuntu.qgis.org 2017-10-15 23:10:40 +02:00
Harrissou Sant-anna
432ef1a294 Optimize spacing in Color settings dialog 2017-10-15 22:30:52 +02:00
Martin Dobias
ae4d26a675 Merge pull request #5367 from wonder-sk/vertex-iterator-2
API for traversal of geometry's vertices using iterator pattern
2017-10-15 10:48:25 +02:00
Juergen E. Fischer
d6a12e0ba0 Fix 3D build on windows 2017-10-14 23:41:23 +02:00
Harrissou Sant-anna
892ec18ea6 Add source files location 2017-10-14 22:02:56 +02:00
Martin Dobias
277b508637 Fix test 2017-10-14 17:27:16 +02:00
rldhont
949d216744 Merge pull request #5316 from rldhont/db_manager_update_dblayer
[FEATURE][needs-docs][DB Manager] Be able to update every Db layer from Postgres, Spatialite and Oracle
2017-10-14 15:58:11 +02:00
Martin Dobias
7e34beec8c New API for traversal of geometry's vertices using iterator pattern
Introducing:
1. STL-style iterator: QgsAbstractGeometry::vertex_iterator
2. Java-style iterator: QgsVertexIterator (built on top of STL-style)

The iterators are modeled after Qt's STL-style and Java-style iterators,
the idea is to replace nextVertex() method and later introduce iterators
for other bits (e.g. part_iterator, ring_iterator).
2017-10-14 13:23:14 +02:00
Harrissou Sant-anna
b6ed28b312 Vertically align color widget in Effect properties dialog 2017-10-14 10:28:40 +02:00
Nyall Dawson
b91b854a19 Merge pull request #5352 from nyalldawson/geom
Geometry cleanups and modernization
2017-10-13 21:36:46 +10:00
Alessandro Pasotti
7b7dad0853 [auth] Add CAs to the connection for pkipkcs12 2017-10-13 13:02:40 +02:00
Alessandro Pasotti
7cb908aabd [auth] Add CAs to the connection for pkipaths 2017-10-13 13:02:20 +02:00
Alessandro Pasotti
0a2f754043 [auth] Use utility method certsToPemText 2017-10-13 13:01:25 +02:00
Alessandro Pasotti
f804f0b12b [auth] Port to QGIS3 and re-enable python test for QGIS auth system 2017-10-13 13:00:23 +02:00
Alessandro Pasotti
25cd27a513 [auth] Add tests for CA utility methods 2017-10-13 12:59:30 +02:00
Alessandro Pasotti
566ad8b554 [auth] Add CA utility methods 2017-10-13 12:58:08 +02:00
Alessandro Pasotti
f4b4030fd3 [auth] Add CA chain to auth config 2017-10-13 12:56:42 +02:00
Nyall Dawson
947b0cc49e Safer memory management in geos
Also speed up avoid intersections by removing unnecessary geometry
cloning
2017-10-13 19:55:57 +10:00
Nyall Dawson
c3fdaa950d Some safer memory management for geos 2017-10-13 19:54:00 +10:00
Nyall Dawson
88e1360278 Rename detach methods in QgsGeometry for clarity
Now we have:

- detach (which clones the existing geometry)
and
- reset (which detaches without cloning and sets a new geometry)
2017-10-13 19:47:37 +10:00
Nyall Dawson
8284575176 Even more memory safety in geometry internals by using qgis::make_unique 2017-10-13 19:47:37 +10:00
Nyall Dawson
85321b462b 'Polyfill' std::make_unique to qgis::make_unique 2017-10-13 19:47:37 +10:00
Nyall Dawson
24a9c522e3 Move qgsAsConst to qgis::as_const
So it's more inline with the std::as_const implementation which
it fills in for, and allows us to 'polyfill' other c++>11
features into the qgis:: namespace.
2017-10-13 19:47:37 +10:00
Mathieu Pellerin
b250729e46 [3d] add show labels toggle, default to off (#5361) 2017-10-13 16:44:38 +07:00
Nyall Dawson
1852d2b8bf Fix travis build 2017-10-13 19:18:55 +10:00
Nyall Dawson
e13a4aaa31 Cleanup some loops 2017-10-13 19:18:55 +10:00
Nyall Dawson
b922166d6e Rework internal geometry memory management
Use unique_ptrs wherever possible, and cleanup geometry
detachments
2017-10-13 19:18:55 +10:00
nirvn
25d40f367d layer tree & 3d view toolbar panel size fix 2017-10-13 14:54:41 +07:00
Martin Dobias
ca0aa72bf1 [needs-docs] Remove OpenStreetMap integration in analysis lib + app
- unmaintained and barely working anymore
- clunky GUI
- not supporting .pbf
- there are other python plugins doing the same thing better
- nobody is using it anymore

https://lists.osgeo.org/pipermail/qgis-developer/2017-October/050103.html
2017-10-13 09:39:47 +02:00
Martin Dobias
a170dcb0a6 Fix dragging 3D view with mouse when camera is far
Before, when looking at a greater area (e.g. spanning 200km or more),
dragging 3D view with left mouse button would not work at all. Only
when zoomed in more it would start working again.

This was cause by unproject() method in Qt having tolerance against division
by zero very high. Lowering the tolerance by few magnitudes fixed the problem (1e-5 to 1e-10)
2017-10-13 09:37:38 +02:00
Blottiere Paul
6447beefe8 Add some tests 2017-10-13 08:34:52 +01:00