Matthias Kuhn
5252bf1954
Make expression functions that use internal requests more stable
2018-08-02 13:34:45 +02:00
Matthias Kuhn
14643ad98d
Allow specifying the number of required connections
...
for a request. Most requests should reserve more
than a single connection (default: 3) and only
requests that are executed as nested expressions
should specify 1.
2018-08-02 13:34:45 +02:00
Matthias Kuhn
7033b54483
Add test for nested connection pool acquire freeze
2018-08-02 13:34:45 +02:00
Nyall Dawson
62a56b195c
Fix typo
2018-08-02 19:24:56 +10:00
Nyall Dawson
882a0c43d4
Empty shell for linux native library
2018-08-02 19:24:56 +10:00
Nyall Dawson
11171a3613
Be careful when restoring ui form paths from existing projects
...
Because these may have been corrupted and contain invalid paths,
which causes a network request to be sent fetching a bad url
for every vector layer
2018-08-02 07:21:35 +10:00
Nyall Dawson
ad93ccc7a2
Fix incorrect restore of ui form paths for layers when no ui form was set
...
Prevents an empty ui form path being set to the folder path containing the
project when a project is loaded
2018-08-02 07:21:35 +10:00
Nyall Dawson
edec245be2
Fix regression in raster psuedo ramp rendering when only two classes exist
2018-08-02 07:21:17 +10: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
Alexander Bruy
bbc33309a3
Merge pull request #7505 from alexbruy/network-analysis
...
[processing] port shortest path algs to C++
2018-08-01 13:40:31 +03:00
garnservo
9792b56aa2
Fix description by removing rotate information
2018-08-01 16:49:08 +07:00
Alexander Bruy
75394150ce
[processing] drop Python versions of the shortest paths algs
2018-08-01 07:39:51 +03:00
Nyall Dawson
f0043d6b86
Try to implement openFileExplorerAndSelectFile for OSX
2018-08-01 08:20:19 +10:00
Nyall Dawson
762099b67f
Add win32 native implementation, and new openFileExplorerAndSelectFile
...
method to QgsNative
Opens the desktop file explorer at the folder containing path,
and (if possible) scrolls to and pre-selects the file at path itself.
The default implementation just calls the QDesktopServices method to open the folder,
without selecting the specified file.
Use this to automatically select the exported layout file
when clicking the message bar success message in layouts (on Windows)
2018-08-01 07:33:45 +10:00
Nyall Dawson
1fea03fec7
[processing] Make model to/from variant methods public
2018-08-01 07:32:52 +10: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
Alessandro Pasotti
c1eef4e030
Merge pull request #7508 from elpaso/highlight-properties
...
Add properties to QgsHighlight for easier animations
2018-07-31 15:49:21 +02:00
Alessandro Pasotti
6a4aee82db
Code layout
2018-07-31 13:06:48 +02:00
Alessandro Pasotti
222fe2362e
Add properties to QgsHighlight for easier animations
2018-07-31 10:23:27 +02:00
H Tveite
70b53fb484
Updated the expected/voronoi_buffer.gml file in testdata to reflect the new (and hopefully correct behaviour
2018-07-31 08:47:28 +10:00
H Tveite
c38c6dab85
Removed import of QgsProcessingParameterDistance as it is not used anymore
2018-07-31 08:47:28 +10:00
H Tveite
30f5983984
Attemp to fix wrong behaviour of VoronoiPolygon when buffer is specified (issue #18219(?), #8002(?), #13092 )
2018-07-31 08:47:28 +10:00
Håvard Tveite
72dcd14a42
Update VoronoiPolygons.py
...
Width and height were mixed up. Fixed.
2018-07-31 08:47:28 +10:00
Nyall Dawson
df05369dbf
Hack is still required, but maybe using non-deprecated api will help?
...
Sometimes qt is great, sometimes I want to punch it in it's silly
little cute face
2018-07-31 05:12:59 +10:00
Nyall Dawson
a87a7b72df
[layouts] Attempted fix for direct printing page orientation issues
...
Seems the earlier hack may no longer be valid for Qt5.
Fixes #18398 , #18994 , #19142 , #19279
2018-07-31 05:12:59 +10:00
Martin Dobias
40ce1518ea
Fixes after the reviews
2018-07-30 18:29:51 +02:00
Martin Dobias
6482a3b4d0
[FEATURE] Simple rendering of 3D linestrings
...
This mode of 3D line rendering will use OpenGL line rendering
instead of buffering lines into polygons and rendering them as meshes.
The advantage is that the 3D lines do not loose their Z coordinate
which is the case currently with "ordinary" 3D rendering after buffering.
The disadvantage is that the lines cannot be wide (supported in Qt3D only
since 5.10, but even then their rendering won't have nice joins/caps)
and only ambient color is used from the material.
2018-07-30 18:29:51 +02:00
Alexander Bruy
72d13ac0f8
[processing] port shortest path (layer to point) alg to c++
2018-07-30 15:15:04 +03:00
Alexander Bruy
d999923da9
[processing] port shortest path (point to layer) alg to c++
2018-07-30 15:15:04 +03:00
Alexander Bruy
be3b2c8ff8
[processing] base class for network analysis algorithms
2018-07-30 15:15:04 +03:00
Alexander Bruy
a6901edb9b
[processing] port shortest path (point to point) alg to c++
2018-07-30 15:15:03 +03:00
Daniele Viganò
2e97b7bcd4
Fix GPL license declared in RPM spec file
2018-07-30 10:37:28 +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
9db6d94e04
Typo
2018-07-30 14:47:29 +10:00
Nyall Dawson
6e091752ef
Typo
2018-07-30 14:39:18 +10:00
Nyall Dawson
f119453f42
Tweak algorithm names, strings
2018-07-30 12:11:17 +10:00
Nyall Dawson
837206892a
Optimise drape algorithms, skip vertex iteration for geometries which don't intersect raster
2018-07-30 12:11:17 +10:00
Nyall Dawson
d5ce6dcb1d
[FEATURE][processing] native drape features to z/m algorithms
...
Sets vertex z/m values to values sampled from a raster band.
Values can optionally be scaled using a (data definable) scale value.
2018-07-30 12:11:17 +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
Nyall Dawson
df1832f90b
[3d] Fix reset buttons in 3d config dialog reset values to 0, not initial settings
2018-07-30 11:54:28 +10:00
Nyall Dawson
7f84b6c1b6
Fix crash in network content fetcher when run from non-main thread
...
Because a QNetworkAccessManager is the parent for all QNetworkReplys
created by it, if a reply is created in a thread then we need to
ensure that this reply isn't deleted early by destruction of the
thread local QgsNetworkAcessManager instance. Work around this
by unsetting the parent for the QNetworkReplys owned by
QgsNetworkContentFetcher objects.
Fixes #19452
2018-07-29 08:46:15 +10:00
Martin Dobias
c28de6d3b5
Refactor camera pose to a separate class outside of the camera controller
...
This will allow easier storage of camera configuration when it is needed outside
of the camera controller.
2018-07-28 17:55:46 +02:00
Salvatore Larosa
88ddd4b0de
Merge pull request #7467 from slarosa/truncate_name
...
do not truncate layer name in legend panel if filename contains period
2018-07-28 16:55:54 +02: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
nirvn
e19e1dea9d
[processing] be more flexible with multipoint layers, allow sampling for single part point
2018-07-28 12:30:06 +07: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