44071 Commits

Author SHA1 Message Date
Nyall Dawson
ac574e231a Fix build 2017-11-15 21:19:41 +10:00
Nyall Dawson
3734a0d677 Fix tests 2017-11-15 20:51:05 +10:00
Nyall Dawson
75885d70d5 Rename various WKT/WKB/GeoJSON/GML methods for consistency
and consistent capitalisation
2017-11-15 20:51:05 +10:00
Nyall Dawson
95765a191a Remove coordinate formatting methods from QgsPointXY
Use QgsCoordinateFormatter instead
2017-11-15 20:49:45 +10:00
Nyall Dawson
0d7b828bda Update code, formatting 2017-11-15 20:49:45 +10:00
Nyall Dawson
8fd8b6ebf1 Update sip bindings 2017-11-15 20:49:45 +10:00
Nyall Dawson
916c56b937 Initial implementation of QgsCoordinateFormatter 2017-11-15 20:49:45 +10:00
Sandro Mani
80ad1632a1
[Geometry checker] Remove unused include 2017-11-15 11:13:17 +01:00
Alessandro Pasotti
2a8ea5dc30 [auth] Simplify code and add a *.* filter for certs and keys selection 2017-11-15 11:00:44 +01:00
Alessandro Pasotti
0c2e226efe
Merge pull request #5633 from slarosa/fix_17466
Fixes #17466: DB Manager does not refresh correctly map in layer preview
2017-11-15 10:57:02 +01:00
Tim Sutton
364ddc1de4
Fix #17444 : GeoNode data provider completely ignores authentication (#5634)
* Fix #17444 : GeoNode data provider completely ignores authentication - hide the authentication group until GeoNode API supports authentication.
2017-11-15 11:55:25 +02:00
Borys Jurgiel
6d01543527 Fix missing toolbar tooltips 2017-11-15 10:26:47 +01:00
Matthias Kuhn
ecd4ee1731 Destroy spatialite context after closing database
According to instructions in https://groups.google.com/forum/#!msg/spatialite-users/83SOajOJ2JU/sgi5fuYAVVkJ
2017-11-15 08:51:17 +01:00
Matthias Kuhn
35808f199b delete spatialite_database_unique_ptr::reset( sqlite3 * ) 2017-11-15 08:51:17 +01:00
Matthias Kuhn
48e8656f17 Code improvement 2017-11-15 08:51:17 +01:00
Matthias Kuhn
4d20a395f4 Avoid recreating spatialite handles 2017-11-15 08:51:17 +01:00
Matthias Kuhn
124f3df10d Use member functions over sqlite3 api 2017-11-15 08:51:17 +01:00
Matthias Kuhn
716ed6b7d9 Prevent memory leaks 2017-11-15 08:51:17 +01:00
Matthias Kuhn
447cd18a27 Improve chances for copy elision 2017-11-15 08:51:17 +01:00
Matthias Kuhn
2b6d1f8882 Move spatialite context management to deleter 2017-11-15 08:51:17 +01:00
Matthias Kuhn
43329f50d6 Const correctness for sqlite_database_unique_ptr 2017-11-15 08:51:17 +01:00
Matthias Kuhn
c5667db9f4 Switch geopackage dataitem to RAII sqlite3 2017-11-15 08:51:17 +01:00
Matthias Kuhn
a58ff72387 Switch QgsStyle to RAII sqlite3 2017-11-15 08:51:17 +01:00
Matthias Kuhn
cf1ace897b Switch map layer to RAII sqlite3 2017-11-15 08:51:17 +01:00
Matthias Kuhn
c713878a4e Switch new spatialite layer dialog to RAII spatialite 2017-11-15 08:51:17 +01:00
Matthias Kuhn
2aed700b16 Release spatialite context when a spatialite_database_unique_ptr scopes out 2017-11-15 08:51:17 +01:00
Matthias Kuhn
5c12430b04 Use sq/spatialite unique_ptrs in QgsMapLayer and QgsOfflineEditing 2017-11-15 08:51:17 +01:00
Matthias Kuhn
28f13778ee Switch more places to using spatialite_database_unique_ptr 2017-11-15 08:51:17 +01:00
Matthias Kuhn
4df65aca37 Use std::unique_ptr with custom deleter for spatialite and sqlite 2017-11-15 08:51:17 +01:00
Alessandro Pasotti
340f7abbb0
Merge pull request #5616 from boundlessgeo/datasource-manager-add-close
[gui] Datasource manager remove Ok and add Close
2017-11-15 08:47:23 +01:00
Salvatore Larosa
5a4ace10e9 [dbmanager] defines correctly super class 2017-11-15 08:30:58 +01:00
Alexander Bruy
b95588cf58
Merge pull request #5603 from medspx/ProcessingGrassFixDescR
[processing] GRASS7 provider: review and update all r.* description files.
2017-11-15 08:31:49 +02:00
matteo
c321700ada [processing] test for union algorithm 2017-11-15 11:27:30 +11:00
matteo
2d188e95cd processing Union fix 2017-11-15 11:27:30 +11:00
Nyall Dawson
b0c13da854 Fix exception in find projection algorithm 2017-11-15 11:27:30 +11:00
Nyall Dawson
dd15d4ef59 Cleanup layer options arrangement 2017-11-15 10:14:47 +11:00
Nyall Dawson
de7b33a373 [needs-docs] Remove option to show raster preview icons in layer tree
This option is not safe - see #16803, and generally undesirable
due to how slow generating the preview icons are
2017-11-15 10:14:47 +11:00
Salvatore Larosa
5d8963a4a8 Fixes #17466: DB Manager does not refresh correctly map in layer preview 2017-11-14 22:46:58 +01:00
Even Rouault
3b2b98b012 [GDAL provider] Use same underlying GDAL dataset for clone() (fixes #16006)
This will improve efficiency of GDAL block cache during raster rendering,
since the cached blocks are only valid during GDALDataset instance lifetime.
2017-11-14 21:03:22 +01:00
Alessandro Pasotti
b1eb6c0bc6 [auth] Moved the PEM/DER sniffing to a common private function 2017-11-14 19:07:51 +01:00
Alexander Bruy
d8398400f9 correctly create new function file (fix #16752) 2017-11-14 19:53:40 +02:00
Alessandro Pasotti
1a17b90026 Disable PG test 2017-11-14 17:58:37 +01:00
Alessandro Pasotti
14df327167 [auth][ogr] Added test cases for all supported drivers 2017-11-14 17:58:36 +01:00
Alessandro Pasotti
d163c01673 [ogr][auth] Add geojson username/password test 2017-11-14 17:58:36 +01:00
Alessandro Pasotti
dc6101a6da [auth] Add tests for Basic auth CAs on OGR and PG
providers
2017-11-14 17:58:36 +01:00
Alessandro Pasotti
276bd1bfe1 [auth] Add trusted root CAs to OGR PG connnections 2017-11-14 17:58:27 +01:00
Alessandro Pasotti
2c6367175a Always use expanded URI for connection pooling 2017-11-14 17:58:19 +01:00
Even Rouault
c09c96b03e Raster renderer: fix so that raster in projected CRS is not rendered in geographic CRS if the extent exceeds -180,-90,180,90 (fixes #14229) 2017-11-14 13:30:52 +01:00
Even Rouault
ec9e87d6f4 Fix compilation error likely due to 5d476e51dfcbf9a2d3634cf6b7a6d5b12e93f406 2017-11-14 12:41:53 +01:00
Borys Jurgiel
5f915a09db [Plugin manager] Don't truncate long names. Fixes #17451. 2017-11-14 12:31:59 +01:00