5951 Commits

Author SHA1 Message Date
Mathieu Pellerin
51b63e6b46
[vector file writer] use field type to save attribute values
(relying on attribute value type isn't reliable under certain
scenarios, including memory layers created through a processing
python algorithm)
2018-08-06 11:07:56 +07:00
Nyall Dawson
6ecc69ff90 Add dataSourceChanged signal to QgsVectorLayer, add tests 2018-08-06 13:51:49 +10:00
Matthias Kuhn
f301a8967b
Fix test 2018-08-05 11:45:01 +02:00
Matthias Kuhn
6901b934ca
Fix imports 2018-08-04 08:48:58 +02:00
Matthias Kuhn
eac43fd125
Add concurrency/nesting test for all providers 2018-08-04 08:47:12 +02:00
Matthias Kuhn
56885e19aa
Make nested iterator request test solid for max conn count changes 2018-08-03 13:56:54 +02:00
Matthias Kuhn
7033b54483
Add test for nested connection pool acquire freeze 2018-08-02 13:34:45 +02:00
rldhont
ad7417a5cc Merge pull request #7462 from tcoupin/fix-wms
[server] Multiples fixes for wms server
2018-08-01 17:15:49 +02:00
rldhont
906022e839 Fix indentation and spelling 2018-08-01 17:14:25 +02:00
rldhont
ada8933697
Merge pull request #7491 from pblottiere/server_wfs_service_version
[server] Adds ServiceTypeVersion element in WFS 1.1.0 GetCapabilities doc
2018-08-01 16:48:59 +02:00
Matthias Kuhn
01bf140763
Merge pull request #7315 from m-kuhn/confirmDeleteLinkedNm
Confirm delete when feature is still linked
2018-07-31 17:49:29 +02:00
Matthias Kuhn
4ce0182ff8
Avoid unexpected garbage collector 2018-07-31 16:28:55 +02:00
Nyall Dawson
3c8b156c58 Abort expression parsing after encountering a maximum of 10 errors
Fixes #19480
2018-07-30 15:41:33 +10:00
Nyall Dawson
d09faf42be Add method to transform vertices of QgsGeometry/QgsAbstractGeometry
in place using a custom lambda function
2018-07-30 12:11:17 +10:00
Denis Rouzaud
c0dd00615a
[pyqgis] __repr__ method for QgsExpression, QgsField (#7464)
* [pyqgis] __repr__ method for QgsExpression, QgsField

* add tests for __repr__ methods

* Fix test
2018-07-28 08:06:08 +02:00
Nyall Dawson
3e31a6570c Fix path resolver sometimes returns non empty paths while resolving empty filenames 2018-07-27 18:08:48 +10:00
Blottiere Paul
d3670de1bc Update unit tests 2018-07-27 08:24:55 +01:00
Mathieu Pellerin
2d964919f6
[FEATURE][expression] add raster_value() function (#7487) 2018-07-27 12:56:04 +07:00
Thibault Coupin
1feb971daf [WMSServer] Fix QgsServerWMS and remove absolute path in qgs files 2018-07-26 21:51:25 +02:00
Thibault Coupin
0c18d3bc0a [WMSServer] Add unit test for non queryable layer in getfeatureinfo operation, add special case for group. 2018-07-26 12:10:10 +02:00
Thibault Coupin
fd5c8e7fbf [WMSServer] Add unit test for group short name for getcapabilities and getmap operations 2018-07-26 11:10:39 +02:00
Blottiere Paul
3141bb596b Update unit test 2018-07-26 08:40:24 +01:00
Martin Dobias
0bfe5014bc Finish Travis hacks 2018-07-26 08:34:38 +02:00
Martin Dobias
4b88bfb7ce More Travis hacks tweaking 2018-07-26 08:34:38 +02:00
Martin Dobias
0de21cc70b It seems like the delay hack worked - let's make it shorter 2018-07-26 08:34:38 +02:00
Martin Dobias
e5dbd803af Make the tests tolerant to small color differences 2018-07-26 08:34:38 +02:00
Martin Dobias
db5106253e Let's see if this helps with blank output 2018-07-26 08:34:38 +02:00
Martin Dobias
9ea06e1cbb Add expected iages for 3D rendering tests 2018-07-26 08:34:38 +02:00
Martin Dobias
45d49c2743 Add test data for the 3D auto tests 2018-07-26 08:34:38 +02:00
Martin Dobias
30d6812537 Add auto-tests for 3D scene rendering using the off-screen 3D engine 2018-07-26 08:34:38 +02:00
Alessandro Pasotti
df394c78e3
Merge pull request #7465 from elpaso/bugfix-19468-layercache-filter-rect
fix layercache filter rect and a bonus crash
2018-07-26 08:03:44 +02:00
Nyall Dawson
20e62b4c5f Fix typo, failing test 2018-07-26 09:37:19 +10:00
Nyall Dawson
d3bee8dc7e Fix failing tests 2018-07-26 09:37:19 +10:00
Nyall Dawson
faec3248c1 Make __repr__ tests actually run 2018-07-26 09:37:19 +10:00
Nyall Dawson
ba56ba2133 [processing] Prefer to log layer source instead of id as it's persistent 2018-07-25 19:50:48 +10:00
Alessandro Pasotti
929ab27282 Do not set full layer cache when a filter rect is passed
Fixes #19468 - Attribute table: show features visible on
map is broken (and affects show all features, too)
2018-07-24 14:38:49 +02:00
Blottiere Paul
1a94727dbe
Merge pull request #7461 from pblottiere/server_wfs_post
[server] Fixes Post element in WFS GetCapabilities doc
2018-07-24 12:41:47 +01:00
Blottiere Paul
8b14a5b900 Update unit tests 2018-07-24 08:22:13 +01:00
Alessandro Pasotti
a9f924fcb2
Merge pull request #7441 from elpaso/oauth2-testbed13-client-registration
[oauth] JWT client registration
2018-07-24 09:00:55 +02:00
Alessandro Pasotti
e6b1e483a1
Merge pull request #7436 from elpaso/oauth2-testbed13
[oauth] Automatic management of state parameter
2018-07-24 09:00:30 +02:00
Nyall Dawson
959dd5b051 Test mask 2018-07-24 03:54:44 +10:00
Nyall Dawson
1a7ade7575 [FEATURE] Better UI for embedding SVG files
Adds a common widget for SVG sources, with a tool button with
some handy options:
- select file (old behaviour), pick a file from disk
- embed file (pick a file from disk, is embedded into project/symbol)
- extract embedded file (for embedded files, allows you to save these
back to a disk based svg file)
- from url (opens a dialog prompting for a url, exposing
the previously hidden functionality that svgs can be retrieved
from a remote url (eg github))

Sponsored by SMEC/SJ
2018-07-24 03:54:44 +10:00
Nyall Dawson
19f8a0078d [FEATURE] Allow embedding SVG images in projects in base64 format
Allows SVG images for symbology, labels, etc to be directly embedded
inside a project file (or QML style, or QPT print template!)
by encoding the svg as a standard base64 string.

Sponsored by SMEC/SJ
2018-07-24 03:54:44 +10:00
Matthias Kuhn
330db17b29
Fix test 2018-07-23 12:53:39 +02:00
Blottiere Paul
aae9fecb59 Fixes unit tests 2018-07-23 08:07:07 +01:00
Alessandro Pasotti
d8ffdaa3af [oauth] Fix build error in tests 2018-07-20 08:36:30 +02:00
Nyall Dawson
9259d60ca2 Fix build on Travis 2018-07-20 15:10:37 +10:00
Nyall Dawson
34b21918c2 Fix raster stats calculation for very small extents compared with
pixel size, when a sample size is set

Refs #19445
2018-07-20 15:10:37 +10:00
Nyall Dawson
74c2ed12a5 Nicer API for raster sampling 2018-07-20 07:24:35 +10:00
Nyall Dawson
54e511960c More heavily optimised sample method for gdal provider 2018-07-20 07:24:35 +10:00