58262 Commits

Author SHA1 Message Date
Julien Cabieces
93e56a9ef7 fix zoom/pan to current feature when in relation editor widget 2019-10-30 11:20:30 +10:00
Alessandro Pasotti
4263637ba6 Fix raster calc OpenCL < operator
Fixes #32477

also:
- catch build exceptions
- remove parenthesis after casting numbers
- add cast to raster ref (for fabs overload)

with tests
2019-10-30 11:19:15 +10:00
Julien Cabieces
e2246443b7 Flip not started and not finished mutex unlock 2019-10-30 08:17:26 +10:00
Julien Cabieces
3453659c02 fix waitforfinished layout legend test 2019-10-30 08:17:26 +10:00
Julien Cabieces
42e22b7a68 Fix qgstaskmanager waitforfinished so it waits that the task was
actually started
2019-10-30 08:17:26 +10:00
Nyall Dawson
c7e7baaaa8 [layouts] Alternate fix for #29821
The previous fix resulted in #32465
2019-10-30 08:16:33 +10:00
Nyall Dawson
e643e7f6ab [layouts] Fix crash when deleting layouts from designer window
Fixes #32465
2019-10-30 08:16:33 +10:00
Peter Petrik
dd98331ace [feature] [mesh] fix #31550 Expose new methods in analysis library for exporting contours for mesh layers
The mesh styling dialog now has new combo box for selection of resampling method for datesets defined on faces.
Also the analysis library has new class QgsMeshContours with export function for contour lines and contour polygons.
2019-10-29 23:16:04 +01:00
Julien Cabieces
b855f023b0 Fix QgsAttributeEditorContext copy constructor 2019-10-30 08:09:55 +10:00
Ismail Sunni
85caa70e76 [FEATURE] Add z distance (#31451)
* Add z-distance in 3d measurement tool.

* Refactor code for adding new item in 3d measurement tool.

* Fix right click stop the measurement but not reset the table.

* Add horisontal distance.

* Remove unit in the header.

* Add widgets for 3d measurement tool

* Calculate total horisontal distance.

* Refactor showing total distance.

* Handle check box behaviours.

* Save state of the checkboxes.

* Rename variable for consistency.

* Set proper title for 3d measurement tool.

* horisontal to horizontal.

* use one extra distance.

* Remove checkbox for other distance.
2019-10-29 22:55:00 +01:00
Alessandro Pasotti
a04354c42b
Merge pull request #32481 from elpaso/bugfix-gh-32475-server-security-access-control
Fix server WMS access control security issue
2019-10-29 16:38:21 +01:00
Alessandro Pasotti
28d682243f Autopep8 2019-10-29 15:38:33 +01:00
Alessandro Pasotti
4eaab04204
Merge pull request #32464 from elpaso/connections-db-api-spatialite
Connections db api spatialite
2019-10-29 14:08:31 +01:00
Alessandro Pasotti
901743c32f Include GDAL 2019-10-29 12:30:22 +01:00
Alessandro Pasotti
b77dc8b806 Fix server WMS access control security issue
Fixes #32475
2019-10-29 11:43:02 +01:00
Nyall Dawson
6f1c42e7bc [processing] Fix model to python when model has no input parameters 2019-10-29 19:30:39 +10:00
Nyall Dawson
e3eb4f54ab [processing] Fix string escaping when converting models to python code
with expression parameters

Fixes #32451
2019-10-29 19:30:39 +10:00
Matthias Kuhn
328f365b16
Merge pull request #31951 from troopa81/feature_update_layer_selection_from_relation_editor
Feature update layer selection relation widgets
2019-10-29 08:32:32 +01:00
Matthias Kuhn
3daf24c716
Merge pull request #32176 from 3nids/clear_warning
prevent clearing selection in QgsFeatureListView
2019-10-29 08:07:24 +01:00
Alessandro Pasotti
dd9b4f7779 Address PR comments 2019-10-29 08:00:43 +01:00
Matthias Kuhn
49700d01ff
Merge pull request #32461 from m-kuhn/stringToFeatureListDefaultValues
Add default values to QgsJsonUtils::stringToFeatureList
2019-10-29 07:48:23 +01:00
Juergen E. Fischer
bd1b27087d fix qgis release name 2019-10-29 01:12:29 +01:00
Nyall Dawson
5be319157f Fix memory leak 2019-10-29 07:47:33 +10:00
Alessandro Pasotti
0444cc1d60 Add test case for spatialite connections API 2019-10-28 18:47:56 +01:00
Alessandro Pasotti
ff39fe9d57 Implement connections API for spatialite
API only: no client code is actually using this API yet.
2019-10-28 18:45:40 +01:00
Matthias Kuhn
72ebbc0688 Add default values to QgsJsonUtils::stringToFeatureList
Because we can assume the user does not care for fields if he does not specify
them and that UTF-8 is the default except when it's not.
2019-10-28 17:22:12 +01:00
Alessandro Pasotti
f69d7f8f83
Merge pull request #32435 from elpaso/connections-db-api-tables-table_uri
Connections db api tables table uri
2019-10-28 15:18:21 +01:00
Alexander Bruy
9b93f48f6e
Merge pull request #32455 from alexbruy/processing-setting
[processing] allow to select files without suffix in the Processing options dialog
2019-10-28 16:01:15 +02:00
Julien Cabieces
e8d1a236d3 Update ui when linking feature for any relation type 2019-10-28 12:00:17 +01:00
Julien Cabieces
b23a972be2 fix bad use of getSelectedFeatures 2019-10-28 11:43:07 +01:00
Julien Cabieces
ba00513b7f Update buttons when initiliazing 2019-10-28 11:37:03 +01:00
Juergen E. Fischer
03baeea083 fix python constructor for QgsPoint (does not accept QgsPointXY & QPointF anymore)
fixes #32443
2019-10-28 11:16:44 +01:00
Alexander Bruy
094359f7b2 [processing] allow to select files without suffix in the Processing
options dialog
2019-10-28 11:07:57 +02:00
Julien Cabieces
157dca2d13 Complete doc 2019-10-28 09:57:55 +01:00
Julien Cabieces
c449651a60 fix doc 2019-10-28 09:50:13 +01:00
Julien Cabieces
2f0e3b2602 make slots private
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-10-28 09:50:13 +01:00
Julien Cabieces
1e2abf9b59 Filter selected feature to the related feature parent 2019-10-28 09:50:13 +01:00
Julien Cabieces
3c24de55e1 [FEATURE][needs-docs] Update vector layer selection from feature
selection dialog
2019-10-28 09:50:13 +01:00
Julien Cabieces
485db34e56 [FEATURE][needs-docs] Update vector layer selection from relation
editor widget
2019-10-28 09:50:13 +01:00
Alessandro Pasotti
ce5405f136 Added since to new API methods 2019-10-28 09:25:40 +01:00
nirvn
b9d219e19b Fix map renderer world file not taking into account complete base name 2019-10-28 15:24:45 +07:00
Nyall Dawson
d7059d0dfd More spelling 2019-10-28 14:34:30 +10:00
Nyall Dawson
64a19b462d Fix test image 2019-10-28 14:34:30 +10:00
Nyall Dawson
9bc9808e4e Dox++ 2019-10-28 14:34:30 +10:00
Nyall Dawson
1ef5b1f4c2 Remove redundant code 2019-10-28 14:34:30 +10:00
Nyall Dawson
a58012545d Bump default point count to 10 2019-10-28 14:34:30 +10:00
Nyall Dawson
a4d20a0e50 Indentation 2019-10-28 14:34:30 +10:00
Nyall Dawson
d64666559a Spelling 2019-10-28 14:34:30 +10:00
Nyall Dawson
52dba5db77 Add unit tests for multipolygon random marker fill 2019-10-28 14:34:30 +10:00
Nyall Dawson
f373203d18 Newly created random marker fills should default to a new random seed,
rather then the "randomized" seed setting

Having seeded random fills by default is much more predicatable and
expected behavior for users
2019-10-28 14:34:30 +10:00