53529 Commits

Author SHA1 Message Date
Nyall Dawson
1c92fd2394 HIG string fixes 2019-02-04 10:51:49 +11:00
Nyall Dawson
2fc24aedde Clearer phrasing 2019-02-04 09:21:17 +10:00
Juergen E. Fischer
4a44306700 allow to build against separate PROJ.4 and GDAL installs 2019-02-03 16:29:46 +01:00
Mathieu Pellerin
3f63c9caed Last weaks to blend of gray prior to its initial release 2019-02-03 13:08:39 +07:00
Nyall Dawson
eba5409ebc Dox++ 2019-02-03 13:02:18 +11:00
Nyall Dawson
16995206ae Unit tests for QgsCredentials 2019-02-03 13:02:18 +11:00
Nyall Dawson
c9e7616498 Fix hang when WMS credentials requested
Remove responsibility for credentials mutex locking from external
callers and handle appropriate locks internally. This allows the
mutex lock to be much "tighter" and avoids deadlocks when
credentials are requested while an existing credentials dialog
is being shown.

(No mutex is required protecting the credentials dialog itself
as this is ALWAYS shown in the main thread)

Fixes #20826
2019-02-03 13:02:18 +11:00
Mathieu Pellerin
59aea69894 [ui] Make vertex tool markers and rubber bands hidpi-friendly 2019-02-03 07:32:19 +07:00
Etienne Trimaille
57695bd036 use upper camel case for the class name 2019-02-03 07:18:34 +11:00
Nyall Dawson
599b0c8861 Fix some label settings hidpi issues 2019-02-03 07:17:50 +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 #21100
2019-02-02 11:45:13 +01:00
Alessandro Pasotti
1923967d22 Remove debug output 2019-02-02 10:56:51 +01:00
Alessandro Pasotti
1aef9cfa49 [opencl] Fix hillshade renderer with 16bit rasters
Fixes #21121
2019-02-02 10:53:11 +01:00
Juergen E. Fischer
9a8c0d2898 avoid OSRFixup with GDAL >= 2.5 2019-02-02 00:35:36 +01:00
Etienne Trimaille
122d5c3efd fix some PEP8 in Processing Model as python code 2019-02-02 09:29:58 +11:00
Etienne Trimaille
6a8ba52cb3 fix typo and HIG 2019-02-02 09:29:58 +11:00
Martin Dobias
54daf1ac98 Enable/disable actions for mesh layer in main app window 2019-02-01 19:29:41 +01:00
Martin Dobias
c1d1068923 Add #spellok for a false positive in spelling test 2019-02-01 15:58:34 +01:00
Martin Dobias
cfa40ed522 Improvements to the right-click behavior to pick locked feature
- unlock feature on right-click in an empty area
- allow selection of locked feature by right-click on polygon interior
  (in addition to polygon rings)
- highlight polygons when mouse moves in their interior - this should also
  decrease the blinking effect as the highlight is more consistent
2019-02-01 15:58:34 +01:00
Martin Dobias
39887e72bf Small code cleanup to warm up 2019-02-01 15:58:34 +01:00
Matthias Kuhn
495568ae5f
Merge pull request #9059 from daniviga/grass76-rpm
[RPM] GRASS 7.6 support for F30+
2019-02-01 15:45:31 +01:00
Peter Petrik
3103b00f00
fix identify for mesh layers (#9047) 2019-02-01 15:18:26 +01:00
Hugo Mercier
5609f4a879 Avoid undefined behaviour with signed integer overflow 2019-02-01 14:21:20 +01:00
Nyall Dawson
4495699bfe Fix blocking request cancelation after a redirect occurs 2019-02-01 21:44:53 +11:00
Nyall Dawson
150668dda8 Remove leftover buffer size code (credit to @nirvn) 2019-02-01 21:44:53 +11:00
Nyall Dawson
8bcd46c42b Only show host (not lengthy url) in message bar timeout messages 2019-02-01 21:44:53 +11:00
Nyall Dawson
742acf1923 [afs] Don't render in preview jobs
These servers can be sloooooooow, and unpredictable.
The previous preview job may have been fast to render,
but the next may take minutes or worse to download...
2019-02-01 21:44:53 +11:00
Nyall Dawson
03a2a03dcf Dox 2019-02-01 21:44:53 +11:00
Nyall Dawson
630cd02121 Update WFS request to accomodate changes in QgsNetworkAccessManager
Because the manager now handles waking up worker threads after
an authentication request, the WFS request handler no longer needs
to do this itself.
2019-02-01 21:44:53 +11: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
dcb6104f47 Dox++ 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
d0c24edf7d Import more useful libraries into console by default 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
6fa3bf8e8b Allow vector rendering cancelation to also cancel feature iteration for that request
Connect the cancel rendering signal to the iteration cancelation.
This allows providers (e.g. WFS, AFS) to abort slow network requests
when they have been triggered by a render request and that request
is no longer required.

Allows much faster quit, render cancelation when using WFS/AFS layers.
2019-02-01 21:08:56 +11:00
Nyall Dawson
4f8e2317d7 [processing][saga] Fix definition of Multiple regression points/grids alg
Fixes #21146
2019-02-01 21:06:16 +11:00
Daniele Viganò
3425b7c3c2
[RPM] Add a TODO about deprecated scriptlets 2019-02-01 09:43:07 +01:00
Daniele Viganò
8f9377dc93
[RPM] Add support for GRASS 7.6 as required by F30+ 2019-02-01 09:12:19 +01:00
Nyall Dawson
56e465cc8a [processing][needs-docs] Resurrect ability to convert models to scripts
Brings back QGIS 2.18's ability to directly convert a Processing model
to an equivalent Processing Python script algorithm, correctly
updated and working in the 3.x API.

Available from the model dialog, and from the right-click context
menu on an existing model.

Sponsored by Solspec
2019-02-01 17:54:28 +11:00
Nyall Dawson
bc76678e74 Fix multiline description strings 2019-02-01 17:54:28 +11:00
Nyall Dawson
f77cf4fae4 [processing] Formalise object design for ContextAction, allow icons to be set 2019-02-01 17:54:28 +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