Luigi Pirelli
0e9af79165
fixed AStyle with astyle-all.sh
2019-02-01 14:42:36 +01:00
Luigi Pirelli
82e48f9c82
Added SLD 1.0 export for rasters
2019-01-31 15:21:05 +01:00
Nyall Dawson
679b60e366
[processing][needs-docs] Extract binary field algorithm should use
...
an expression parameter instead of string for destination file name
It makes no sense to enter a constant string value here!
2019-01-31 19:29:47 +11:00
Peter Petrik
ebcc694ab1
fix #18954 add&rename vector fields ( #8982 )
...
fix #18954 add&rename vector fields at the same time
2019-01-31 09:20:49 +01:00
Nyall Dawson
e670371fa3
[layouts] Show an explicit warning when exporting a layout which contains a broken image
2019-01-31 10:02:18 +11:00
Martin Dobias
3769faa86b
[vertex tool] Fix vertex addition to polygon's first segment ( fixes #20774 )
...
With topo editing mode enabled, addition of extra points to keep the topology
correct wasn't working correctly because for the first segment we were getting
two matches due to duplicated first and last vertex in the ring. The fix
ensures that only one match will be returned for the first duplicated vertex.
2019-01-30 10:23:36 +01:00
Peter Petrik
606359117b
allow to drop 2dm files from system file browser ( #8987 )
...
* allow to drop 2dm files from system file browser
* support non-ascii files for mesh layer
2019-01-30 08:49:37 +01:00
Nyall Dawson
cf1cf0fe45
Fix empty strings in proxy exclude list results in proxy being skipped for ALL hosts
...
Fixes #20213
2019-01-30 05:08:39 +11:00
lbartoletti
cfdc8c26c2
[BUGFIX] fix qgsRound for negative numbers. Fixes #20861
2019-01-30 03:27:23 +11:00
Alexander Bruy
b57c0fa9ed
Merge pull request #8998 from alexbruy/processing-tempdir
...
[processing] handle Processing.TEMPORARY_OUTPUT for folder parameters
2019-01-29 15:27:13 +02:00
Alexander Bruy
d5b42aeec0
add test for temporary directory output
2019-01-29 12:58:11 +02:00
Alexander Bruy
4b2334ba69
fix typo which caused issues with temporary file outputs also fix
...
related tests
2019-01-29 12:58:40 +02:00
Nyall Dawson
3adbed503d
Fix test
2019-01-29 18:15:40 +11:00
Nyall Dawson
63b6a77702
[processing] Add API to convert a parameter definition to an equivalent
...
Python constructor string
2019-01-29 18:15:40 +11:00
Nyall Dawson
d4b262cdb0
Add method to convert QgsProcessing::SourceType to string representation
2019-01-29 18:15:40 +11:00
Denis Rouzaud
3a19182fe8
add QgsField::isDateTime ( #9007 )
...
* add QgsField::isDateTime
* use QgsField::isDateTime
* rename to isDateOrTime
2019-01-28 13:53:16 -05:00
Blottiere Paul
8305bda5ef
Fix unit test
2019-01-28 11:42:14 +00:00
Blottiere Paul
19a77fff80
Update expected file
2019-01-28 11:42:14 +00:00
Blottiere Paul
3c8d5ebda5
Update GetCapabilities tests with new json format
2019-01-28 11:42:14 +00:00
Blottiere Paul
4acc7136f0
Update test
2019-01-28 11:42:14 +00:00
Blottiere Paul
aa55beba8e
Update tests
2019-01-28 11:42:14 +00:00
Blottiere Paul
70189194a9
Fix unit test
2019-01-28 11:42:14 +00:00
Blottiere Paul
1b6ed5f45e
Update expected files for unit tests
2019-01-28 11:42:14 +00:00
Blottiere Paul
3b452869ea
Add unit test for application/geo+json format
2019-01-28 11:42:14 +00:00
Blottiere Paul
8db9ab1563
Fix comment
2019-01-28 11:42:14 +00:00
Blottiere Paul
03447f8034
Add unit test for raster layers and json export
2019-01-28 11:42:14 +00:00
Blottiere Paul
9eed93b169
Add an expected file
2019-01-28 11:42:14 +00:00
Blottiere Paul
2f683fc544
Add unit test with multiple layers and features for json
2019-01-28 11:42:14 +00:00
Blottiere Paul
5ef11399aa
Update testdata with layers' names
2019-01-28 11:42:14 +00:00
Blottiere Paul
e4cdd7c254
Add unit test for GetFeatureInfo on raster layer in xml
2019-01-28 11:42:14 +00:00
Blottiere Paul
45399d72b4
Add unit test for with_geometry and json export
2019-01-28 11:42:14 +00:00
Blottiere Paul
101cd73125
Add unit test for excluded attributes
2019-01-28 11:42:14 +00:00
Blottiere Paul
62f77629b0
Add unit test for getfeatureinfo with alias in json
2019-01-28 11:42:14 +00:00
Blottiere Paul
3f38365d4d
Add unit test for json exporter and alias
2019-01-28 11:42:14 +00:00
Blottiere Paul
562215c4cd
Add unit test
2019-01-28 11:42:14 +00:00
Nyall Dawson
18f04fb4c3
Refactor to simply and avoid QObject based QgsSslErrorHandler
2019-01-28 15:21:40 +11:00
Nyall Dawson
0f0ee9bd51
More SSL error handling tests
2019-01-28 15:21:40 +11:00
Nyall Dawson
b23f08f270
Test ssl errors in background thread
2019-01-28 15:21:40 +11:00
Nyall Dawson
c707df7d15
Improve QgsNetworkAccessManager tests
2019-01-28 15:21:40 +11:00
Nyall Dawson
ca06d407a0
Add custom QNetworkRequest::Attributes for initiator network request class name and internal id
...
And allow these to be retrieved from QgsNetworkRequestParameters.
This allows logging code to identify the area of code where a request
originated from, making debugging much easier!
Tag all requests created with appropriate class name and IDs
2019-01-25 23:47:05 +11:00
Nyall Dawson
431861a468
[processing] Add a better API for specifying that outputs are temporary
...
Instead of requiring clients to generate temporary file names themselves,
(or use the cryptic "memory:" string!), this PR adds a static constant
QgsProcessing.TEMPORARY_OUTPUT
If a layer/sink output parameter is set to QgsProcessing.TEMPORARY_OUTPUT,
then the temporary output filename will be generated automatically at
algorithm run time. This means callers don't need to mess around with
finding appropriate temporary folders and paths.
Another benefit is that TEMPORARY_OUTPUT is stored in the processing
history, so if you re-run a previous algorithm which was set to
output to a temporary file, it no longer tries to use that same
previous temporary path and instead generates a new one.
2019-01-25 23:27:08 +11:00
Alessandro Pasotti
ee0e0e1d5d
Merge pull request #8970 from elpaso/bugfix-21077-value-relation-wfs
...
Fix WFS context fields variable
2019-01-25 09:38:26 +01:00
Alessandro Pasotti
4d134b391b
Indentation
2019-01-25 08:18:50 +01:00
Nyall Dawson
60f252c2f2
[layouts] Fix attribute table filtering not utilising expression context
...
Fixes #21078
2019-01-25 17:02:25 +11:00
Nyall Dawson
009ee572d8
Allow access to content of POST requests in QgsNetworkReplyContent
2019-01-25 11:06:31 +11:00
Alessandro Pasotti
38f05b5974
Fix WFS context fields variable
...
because the fields in the (spatialite) cached
iterator are not the same as the main iterator.
Fix #21077 - Form Value relation based on WFS layer (nothing to do with
value relations)
2019-01-24 17:48:55 +01:00
Alessandro Pasotti
861a8b7105
Merge pull request #8958 from elpaso/bugfix-20961-wfs-null-transactions
...
Fix NULL support in WFS server and client
2019-01-24 17:43:27 +01:00
Pierre-Eric Pelloux-Prayer
25f2aba44d
Include qgis_sip.h instead of qgis.h where possible ( #8961 )
...
This PR continues the work started in PR #8951 .
This commit replaces occurences of #include "qgis.h" by #include "qgis_sip.h",
where possible = when files only depends on SIP_XXX features.
2019-01-24 11:33:22 -05:00
Denis Rouzaud
ff20d1800e
Merge pull request #8925 from signedav/basic-values
...
Enable/disable value relation widget
2019-01-24 11:31:25 -05:00
mhugent
b5febe5189
Merge pull request #8922 from mhugent/server_datasource_error
...
Server: catch datasource error
2019-01-24 17:27:13 +01:00