4757 Commits

Author SHA1 Message Date
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
Nyall Dawson
83f177c1d2 Start porting label item 2017-11-07 11:32:39 +10:00
Nyall Dawson
72a1f77079 After a undo/redo action occurs, select the affected items 2017-11-07 11:32:39 +10:00
Nyall Dawson
272097b83a Add a unit test 2017-11-07 11:32:39 +10:00
Nyall Dawson
1bfed13484 Port picture item 2017-11-07 11:32:39 +10:00
Nyall Dawson
20b9d080f8 Fix grid annotations, port tests 2017-11-07 11:32:39 +10:00
Nyall Dawson
332a69cece Tweak default symbol for overviews 2017-11-07 11:32:38 +10:00
Nyall Dawson
5016a452e0 Expand unit tests for QgsLayoutItemComboBox 2017-11-07 11:32:38 +10:00
Nyall Dawson
1f769da68d Work on resurrecting overviews 2017-11-07 11:32:38 +10:00
Nyall Dawson
53c877963a Add method to create QgsRectangle from center and size 2017-11-07 11:32:38 +10:00
Nyall Dawson
23d0617bac Start porting map item 2017-11-07 11:32:38 +10:00
Nyall Dawson
71c41d49b7 Add export layer settings to QgsLayoutContext 2017-11-07 11:32:38 +10:00
Nyall Dawson
4e8483ecfb [layouts] Fix polyline does not render purely horizontal/vertical lines 2017-11-07 11:32:38 +10:00
Nyall Dawson
420821fd68 Fix correct frame bounding rects for shapes and node items 2017-11-07 11:32:38 +10:00
Nyall Dawson
ab7bb7235a Start work on node edit tool 2017-11-07 11:32:38 +10:00
Nyall Dawson
44fe2a8d08 Add tools to create node based items 2017-11-07 11:32:38 +10:00
Nyall Dawson
6b629e199e Port snappedAngle from composer 2017-11-07 11:32:38 +10:00
Nyall Dawson
783636dfa7 Port polygon and polyline items to layouts 2017-11-07 11:32:38 +10:00