1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-26 00:08:20 -04:00

6930 Commits

Author SHA1 Message Date
Even Rouault
32d902874a
[WFS provider] Correctly compute layer extent when zooming out layer (fixes ) 2019-02-06 22:32:26 +01:00
Matthias Kuhn
31ab3bb5d1
Merge pull request from m-kuhn/wmts-getcapabilities-compat
Append ? to WMTS GetCapabilities
2019-02-06 22:01:53 +01:00
Matthias Kuhn
76ac0f1f3c
Even more test fixes 2019-02-06 20:07:10 +01:00
Matthias Kuhn
0629a1b6da
More test fixes 2019-02-06 20:06:53 +01:00
Matthias Kuhn
a13e50270e
Fix test 2019-02-06 18:21:55 +01:00
Matthias Kuhn
3564838ef2
Fix test 2019-02-06 18:21:29 +01:00
Matthias Kuhn
db15057732
Merge pull request from m-kuhn/sip-keep-reference-to-registry
Sip keep reference to registry
2019-02-06 17:13:17 +01:00
Matthias Kuhn
b2aed603f1
Add registry keepreference test 2019-02-06 12:18:41 +01:00
Even Rouault
e19bf11f9e
[WFS provider] Ensure stability of QGIS FeatureId when reloading layer (fixes ) 2019-02-06 10:44:52 +01:00
Nyall Dawson
62e09d9467 [processing] If model name starts with a digit, we need to remove that when generating a class name 2019-02-05 22:45:43 +11:00
Alessandro Pasotti
185855b214
Merge pull request from elpaso/bugfix-21150-file-protocol-path-resolver
Strip file:// from local files path before resolving
2019-02-05 10:58:26 +01:00
Martin Dobias
4f905cc2e8 [vertex tool] right-click to loop through editable features
Until now mouse right-click could only select and deselect the highlighted
feature to "lock" vertex tool (and numerical editor) to it, so that it is
easier to focus only on editing of the particular feature. It was however
still difficult to pick the right feature in case there were multiple
features in one location or very close to each other. This is now solved
by the fact that repeated right button clicks will loop through the editable
features. So if there are two features in one location (A, B) then repeated
right-clicks will select: A - B - nothing - A - B - nothing ...
2019-02-05 09:07:58 +01:00
Alessandro Pasotti
22c22e8e5c Strip file:// from local files path before resolving
Fixes  - Delimitedtext layer saves absolute path
when project in relative path mode
2019-02-05 08:29:38 +01:00
Nyall Dawson
eeff02fc14 [processing] Port matrix widget wrapper to newer c++ API
Allows matrix parameters to be correctly set for model child algorithms

Fixes 
2019-02-05 16:57:21 +11:00
Nyall Dawson
867e39947b Allow for exact calculation of symbol sizes with mixed layer units
Fixes 
2019-02-05 11:07:02 +11:00
Alessandro Pasotti
3c9b6e5e4f
Merge pull request from elpaso/bugfix-21100-ogrprovider-missing-quoteidentifier
Quote field name identifiers in ORDER BY and MAX/MIN queries
2019-02-04 11:01:38 +01:00
Nyall Dawson
0250cab307 [processing] Reorganise python script generated from model, to
move "guts" of script to top (initAlgorithm/processAlgorithm)
and boilerplate methods (createInstance, etc) to end
2019-02-04 11:58:55 +11:00
Nyall Dawson
6aea4838db [processing] Pep8 fixes for model to script 2019-02-04 11:58:55 +11:00
Juergen E. Fischer
4a44306700 allow to build against separate PROJ.4 and GDAL installs 2019-02-03 16:29:46 +01:00
Nyall Dawson
16995206ae Unit tests for QgsCredentials 2019-02-03 13:02:18 +11:00
Etienne Trimaille
57695bd036 use upper camel case for the class name 2019-02-03 07:18:34 +11:00
Alessandro Pasotti
020117262c Add testdata file 2019-02-02 19:22:04 +01:00
Alessandro Pasotti
0797059a38 Spellok 2019-02-02 17:25:36 +01:00
Alessandro Pasotti
b51426640d Quote field name identifiers in ORDER BY and MAX/MIN queries
Fixes 
2019-02-02 11:45:13 +01:00
Etienne Trimaille
122d5c3efd fix some PEP8 in Processing Model as python code 2019-02-02 09:29:58 +11:00
Luigi Pirelli
d06406d0e8 fixed spellcheck 2019-02-01 20:33:01 +01:00
Peter Petrik
3103b00f00
fix identify for mesh layers () 2019-02-01 15:18:26 +01:00
Luigi Pirelli
0e9af79165 fixed AStyle with astyle-all.sh 2019-02-01 14:42:36 +01:00
Nyall Dawson
4908ef1641 Revert "Revert QgsBlockingNetworkRequest"
With recent changes in QgsNetworkAccessManager this should be
safe to resurrect (fingers crossed!). Also simplify code a lot,
because now QgsNetworkAccessManager handles waking the worker
thread after the auth request is handled.

Add a lot more tests
2019-02-01 21:44:53 +11:00
Nyall Dawson
c03ce93011 Allow use of local httpbin instances in unit tests 2019-02-01 21:44:53 +11:00
Nyall Dawson
f1040efc03 Nicer API for network timeouts 2019-02-01 21:44:53 +11:00
Nyall Dawson
18941a1aa2 Fix timeout in network timeout tests 2019-02-01 21:44:53 +11:00
Nyall Dawson
cc6d88e265 Add signal for logging after network authentication details have been added 2019-02-01 21:44:53 +11:00
Nyall Dawson
8ee2e793f8 Make network authentication request handling thread safe, avoid
races and crashes when auth requests occur in non-main thread

Like the recent SSL error handling, this commit abstracts out
the network authentication handling into a thread safe approach.
2019-02-01 21:44:53 +11:00
Nyall Dawson
9b2e60130f [processing] Update QgsProcessingModelAlgorithm::asPythonCode for 3.x API 2019-02-01 17:54:28 +11:00
Nyall Dawson
fb519ead46 Update QgsProcessingModelChildAlgorithm::asPythonCode for 3.x API 2019-02-01 17:54:28 +11:00
Nyall Dawson
946687c87b Update QgsProcessingModelChildParameterSource::asPythonCode 2019-02-01 17:54:28 +11:00
Nyall Dawson
37774f9aa9 [processing] Add util to convert QVariant value to Python literal 2019-02-01 17:54:28 +11:00
Peter Petrik
7a12f11392 fix when GDALGetRasterScale returns 0 (gdal 2.3 affected for some datasets) 2019-02-01 06:56:26 +11: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 add&rename vector fields ()
fix  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 )
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 ()
* 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 
2019-01-30 05:08:39 +11:00
lbartoletti
cfdc8c26c2 [BUGFIX] fix qgsRound for negative numbers. Fixes 2019-01-30 03:27:23 +11:00
Alexander Bruy
b57c0fa9ed
Merge pull request 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