933 Commits

Author SHA1 Message Date
Nyall Dawson
c7abf46615 Update test masks 2017-12-17 14:14:31 +10:00
Nyall Dawson
2b0ed508bd Tweak logic regarding page item margins following forced re-render
of layout items when exporting (i.e. disabling of cached item render)

The old issue of semi-transparent pixels around the edge of the page
had reared again. This is caused by the antialiasing while rendering
the page symbol. In order to avoid this, we cater to the most common
use case of having pages with a solid, borderless fill and slightly
extend the fill symbol polygon outside the page by 2 pixels
(determined by trial-and-error). The less common use case of having
a page symbol containing a border suffers by this border being
clipped by a couple of pixels, but we must address the much more
common use case over this.
2017-12-17 14:14:31 +10:00
Nyall Dawson
0110b43362 Update tests masks 2017-12-17 14:14:31 +10:00
Nyall Dawson
2e68dd7005 Add some masks for scalebar tests 2017-12-17 14:14:31 +10:00
Nyall Dawson
aa7986f8fc Implement methods for exporting layouts as raster, add tests 2017-12-17 14:14:31 +10:00
rldhont
3692fcdb96
Merge pull request #5561 from pvalsecc/wms_ogc_filters
[FEATURE][needs-docs] Add OGC filters to WMS
2017-12-15 09:47:22 +01:00
Alexander Bruy
1d482cf953 [processing] add groupId() method to algorithms to get unique ID of the
algorithm group.

Adapt native algorithms
2017-12-14 14:12:00 +02:00
Nyall Dawson
0b452cabbb Spelling 2017-12-03 08:03:30 +10:00
Nyall Dawson
bcc1b91b74
Merge pull request #5717 from nyalldawson/layout_next4
[layouts] Port/adapt all remaining item types
2017-12-01 13:43:58 +11:00
Patrick Valsecchi
b8f708ff1b [FEATURE][needs-docs] Add OGC filters to WMS
Implement https://github.com/qgis/QGIS-Enhancement-Proposals/issues/104
2017-11-28 07:40:33 +01:00
Blottiere Paul
4aa97d865d Add a test 2017-11-27 09:15:57 +00:00
Nyall Dawson
4f08a35c21 Update test masks 2017-11-24 16:15:44 +10:00
Nyall Dawson
f29eb7b19e Port and fix unit tests 2017-11-24 10:24:36 +10:00
Nyall Dawson
3c4fae0015 Readd tests for scalebars 2017-11-24 10:24:36 +10:00
Nyall Dawson
c6eaf1f7fd Update test masks 2017-11-24 10:24:36 +10:00
Nyall Dawson
2cf99116d7 Resurrect tests for html item 2017-11-24 10:24:35 +10:00
Alessandro Pasotti
def85fa202 QgsVectorLayer code cleaning use enums instead of int
It was one of the TODOs for QGIS 3
2017-11-23 12:09:30 +01:00
Blottiere Paul
e29f605bb3 Add some masks and set a higher threshold for comparing images 2017-11-22 07:46:24 +00:00
Blottiere Paul
9283b26762 Update tests 2017-11-16 08:40:45 +00:00
Blottiere Paul
f52300d361 Update tests 2017-11-16 08:04:03 +00: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
Alessandro Pasotti
9e192ad5e8 Added various line endings PEM tests 2017-11-13 09:00:11 +01:00
Nyall Dawson
f2b5a5952b Fix loading 2.x projects with custom CRS
Fixes #17257
2017-11-13 15:26:05 +10:00
Blottiere Paul
534e1e811e Add test 2017-11-10 15:26:21 +00:00
Alessandro Pasotti
10292762f5 [auth] New test cases for EC SSL Keys and encodings 2017-11-10 15:44:31 +01: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
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
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
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
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
1f769da68d Work on resurrecting overviews 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
4e8483ecfb [layouts] Fix polyline does not render purely horizontal/vertical lines 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
Nyall Dawson
26dcf792b0 Fix tests 2017-11-07 11:32:38 +10:00
Nyall Dawson
f524c80b11 More shape porting 2017-11-07 11:32:38 +10:00
Nyall Dawson
cf7714b722 Restore tests, add button to set page background in ui 2017-11-07 11:32:38 +10:00
Nyall Dawson
75898d8e09 Port 'exclude from exports' functionality from composer 2017-11-07 11:32:38 +10:00
Nyall Dawson
9083420312 More unit tests 2017-11-01 21:48:20 +11:00
Nyall Dawson
eea155d6e2 Fix crash when attempting to render multipolygon with missing exterior ring
This commit fixes a possible crash when the vector layer renderer
attempts to render a multipolygon containing a polygon without
an exterior ring.

The underlying cause of the creation of this invalid geometry is deeper,
but this commit hardens the renderer and makes it more robust for
handling bad geometries.

Fixes #17365
2017-11-01 21:48:20 +11:00
Nyall Dawson
0b2de85fe7 Check file modified time when retrieving svg images from cache
If file has been modified since the cache, regenerate a new cache
image.

We don't want to check the file modified time too often though,
(e.g., we don't want to check for every point render in a 100k
point file), so use a hardcoded 30 second minimum time between
consecutive file modified checks.

This means that file modifications occuring more often than
every 30 seconds won't be picked up till 30 seconds has elapsed
since the last modification. But at the same time it means that
if the render takes < 30 seconds we'll only check each svg
at most once (and if a render takes > 30 seconds, adding a few
more milliseconds won't hurt!).

Fixes #13565
2017-10-31 12:12:24 +10:00
mhugent
a843df8947 Merge pull request #5466 from mhugent/maptip_geometry_optional
[needs-docs] Make maptip and geometry attribute optional in featureinfo response
2017-10-27 16:13:20 +02:00
mhugent
26bd6d722e Merge pull request #5435 from mhugent/wms_print_layers
[needs-docs][feature] Wms print layers
2017-10-27 16:12:19 +02:00