4774 Commits

Author SHA1 Message Date
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
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
Nyall Dawson
e0b2c27c07 Fix return type for QgsCoordinateReferenceSystem::saveAsUserCrs 2017-11-13 14:33:38 +10: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
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
a9145f16cc Avoid Coverity unchecked return value warnings 2017-11-11 15:48:19 +10:00
Nyall Dawson
2e6d125a6f Use =default, =delete where possible 2017-11-11 15:22:19 +10:00
Nyall Dawson
bcd90715b0 Run clang-tidy code readability fixits 2017-11-11 12:19:59 +10:00
Even Rouault
8c6e029688
Merge pull request #5601 from rouault/unblacklist_PyQgsDBManagerGpkg
Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI
2017-11-10 22:37:45 +01:00
Even Rouault
95feb87d3b Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI 2017-11-10 22:02:19 +01:00
Blottiere Paul
2a7f23fd4c Update tests 2017-11-10 16:19:24 +00:00
Blottiere Paul
534e1e811e Add test 2017-11-10 15:26:21 +00:00
Blottiere Paul
96e597a8e2 Add some tests 2017-11-10 15:14:14 +00:00
Alessandro Pasotti
10292762f5 [auth] New test cases for EC SSL Keys and encodings 2017-11-10 15:44:31 +01:00
Jürgen Fischer
2ca4ee5ba8
Merge pull request #5596 from boundlessgeo/bugfix-5212-ogr-proxy
[bugfix] Apply proxy configuration to OGR connections
2017-11-10 15:16:10 +01:00
Alessandro Pasotti
77a73f41dd [tests] Brand new C++ test and new py test case for ogr proxy 2017-11-10 13:33:23 +01:00
Matthias Kuhn
8d8f38d4c4 [travis] Disable non-local file download tests 2017-11-09 19:20:49 +01:00
Alessandro Pasotti
9168161e1e
Merge pull request #5573 from boundlessgeo/BD-2238-auth-thread-safe
[tests] Add XYX slippy map to test QGIS server + multi-threading
2017-11-09 18:08:38 +01:00
Even Rouault
d00efde2f0
Merge pull request #5580 from rouault/fix_QgsRasterFileWriter_geopackage
[GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103)
2017-11-09 16:24:23 +01:00
Blottiere Paul
022f6cfd21
Merge pull request #5515 from pblottiere/server_bugfix_plusspace
[server][bugfix]  Fixes #17401 by replacing '+' symbol by space
2017-11-09 15:01:40 +00:00
Even Rouault
c3e15f5228 [GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103)
Previously we created an empty file, close it and re-opened it immediately in open mode.
However for GeoPackage, if you create for example a 1 band or 3 band dataset, upon reopening
you get a 4 band RGBA dataset, due to the fact that GeoPackage doesn't explicitly store the
number of bands. Thus the 4th band (alpha) was never written by the QgsRasterFileWriter logic.
2017-11-09 15:22:41 +01:00
Alessandro Pasotti
decbde24ff Because spellchecker does not like slippy maps 2017-11-09 15:20:59 +01:00
Alessandro Pasotti
f99d9aed7d [tests] Add missing import when no auth is required 2017-11-09 13:40:02 +01:00
Even Rouault
426b8dbc46 Re-enable testWFST10 2017-11-09 13:10:42 +01:00
Alessandro Pasotti
f29c9c9965 [tests] Add XYX slippy map to test QGIS server
Plus: multi-threading server side (for speed)

This is useful for testing various authentication
shemes on a slippy-map server (that uses multi-threading
in QGIS desktop)
2017-11-09 12:23:03 +01:00
Blottiere Paul
7f37e70762 Add test 2017-11-09 09:31:43 +00:00
Juergen E. Fischer
1ff50fd59e fix TestQgsFileDownloader::testLacksWritePermissionsError (followup f06ea878) 2017-11-09 09:16:55 +01:00
Nyall Dawson
ba62ffce2c Make constructors for QgsVectorLayer and QgsRasterLayer more flexible
...by moving extra arguments to new LayerOptions structs. This allows
us to more easily add new layer constructor options without making
the API cumbersome to use.
2017-11-09 14:28:51 +11:00
Matthias Kuhn
fd937c3a86
Increase outline width 2017-11-08 14:37:17 +01:00
Matthias Kuhn
42c9d158cf
[test] Fix canvas size and background garbage 2017-11-08 14:37:16 +01:00
Matthias Kuhn
593bff2cf7
Add control images to highlight check 2017-11-08 14:37:16 +01:00
Matthias Kuhn
05868c21fb
Add smoke test for QgsHighlight 2017-11-08 14:37:16 +01:00
Alessandro Pasotti
f06ea878b8 Add a test case for unwriteable folders in file downloader
Attempt to verify bug 17410 Identify tool->download in a not authorised folder block qgis

The test passes, so let's push it in, I'll continue
to investigate if there is an issue in the GUI logic.
2017-11-08 13:01:46 +01:00
Alessandro Pasotti
e781ad2e3e
Merge pull request #5558 from elpaso/project_use_rw_context
[bugfix] Project use rw context
2017-11-08 12:26:45 +01:00
Alessandro Pasotti
87117a8b04 [auth][bugfix] Tests for the new SSL key loading logic 2017-11-08 12:20:38 +01:00
Blottiere Paul
24f38aba12 Update some images/masks 2017-11-08 08:44:37 +00:00
Juergen E. Fischer
940c4ed5c5 followup a1024905b 2017-11-07 22:49:37 +01:00
Juergen E. Fischer
a1024905bf fix windows warnings 2017-11-07 21:44:54 +01:00
Alessandro Pasotti
df8bda2ffb Typo 2017-11-07 19:48:45 +01:00
Alessandro Pasotti
6046e8d1f7 Test for relative/absolute paths in projects 2017-11-07 18:19:18 +01:00
Matthias Kuhn
77246136fe
Add test 2017-11-07 15:47:43 +01:00
Nyall Dawson
c000cb86ca
Merge pull request #5434 from nyalldawson/layout_next2
[layouts] Port item type from composer
2017-11-07 13:22:16 +10:00
Nyall Dawson
e9e7740db9
Merge pull request #5544 from nyalldawson/proc_api
[processing] Improve api handling for provider format support
2017-11-07 12:55:19 +10:00
Nyall Dawson
bf75747f18 [processing] Use user-set default file formats if supported by
provider, otherwise fall back to a format which IS supported
by that provider
2017-11-07 12:25:55 +10:00
Nyall Dawson
c6d939f1ec Fix more tests 2017-11-07 11:32:39 +10:00
Nyall Dawson
69aacde19c Fix failing tests 2017-11-07 11:32:39 +10:00
Nyall Dawson
057a20cbc1 Allow adding multiple layers to legend at once 2017-11-07 11:32:39 +10:00
Nyall Dawson
d3430e4d42 Port legend item 2017-11-07 11:32:39 +10:00