59442 Commits

Author SHA1 Message Date
Matthias Kuhn
b639cdf4ce Some consting 2019-12-07 11:22:02 +01:00
Matthias Kuhn
05da49aeb8 Do not throw warning on invalid layers 2019-12-07 11:22:02 +01:00
Matthias Kuhn
6bcd5aea37 Mask meshcalculatortest on windows build 2019-12-07 11:17:32 +01:00
Nyall Dawson
759f1ef4e6 Fix typo 2019-12-07 19:09:51 +10:00
Nyall Dawson
f340c5fe1b Simplify some pal memory handling 2019-12-07 19:09:51 +10:00
Nyall Dawson
7c59700f2b Responsibility for managing obstacle geometry is in QgsLabelObstacleSettings 2019-12-07 19:09:51 +10:00
Nyall Dawson
7f38c41497 Avoid duplicate code for evaluating label obstacle data defined values 2019-12-07 19:09:51 +10:00
Nyall Dawson
04432990ce [pal] Remove dedicated setters/getters for individual obstacle settings, instead
expose whole QgsLabelObstacleSettings to pal
2019-12-07 19:09:51 +10:00
Matthias Kuhn
97566abd8d Mask more tests 2019-12-07 08:37:40 +01:00
Juergen E. Fischer
64f17aaa21 don't pull in parallel from transifex (occasionally looses files) 2019-12-06 20:35:51 +01:00
Nyall Dawson
fed3a8c622 Now that QgsDataSourceUri username/password/authcfg params are aliases
to the direct getters/setters, correctly use the explicit getters and
setters wherever possible.

Makes the code easier to read and more consistent -- now params should
only ever be used for "extra", context specific stuff instead of
commonly user authentication parameters.
2019-12-07 05:11:55 +10:00
Peter Petrik
b93dfdd0b3
[feature] Support datasets with data defined on faces in mesh calculator (#33248)
* [feature] support datasets with data defined on faces in mesh calculator, fix #30219, fix #30170

added "driver" and "group name" to the calculator interface.
MDAL now supports 3 drivers for storing results, so user must be able to choose appropriate driver and dataset group name (some drivers store multiple groups to 1 file)
2019-12-06 18:27:28 +01:00
Alessandro Pasotti
60c401a8d2
Merge pull request #32999 from elpaso/rasterize-c-plus-plus-concurrent
Rasterize: QtConcurrent version
2019-12-06 14:58:35 +01:00
David Signer
ea91966000 get the cache field id according to a lookupField() of the fields and the field name
since then would be aliases and upper-/lower case written fieldnames be accepted in
extensions and avoid a crash in getSpatialiteFieldNameFromUserVisibleName
2019-12-06 13:55:15 +01:00
Alessandro Pasotti
3dcbde9c4d Attempt to fix Windows GPKG project storage
Fixes #33057 (hopefully)
2019-12-06 13:34:31 +01:00
Matthias Kuhn
e821441286 Mask failing tests 2019-12-06 13:10:06 +01:00
Denis Rouzaud
84d6bbe88a fix dox and switch to classic enum
scope based enum is causing troubles from Python depending on sip version
2019-12-06 13:06:08 +01:00
Matthias Kuhn
93ecb00d7a Add test for TextEditWidget NaN/NULL 2019-12-06 12:49:57 +01:00
Martin Schitter
cfbe66473e Fix single threaded use of MBTiles generator 2019-12-06 10:59:00 +01:00
mash-graz
89f1640419 successive ThreadPoolExecutors for all zoom levels
instead of using only one ThreadPoolExecutor for all MetaTiles, its now handled in a loop and new ThreadPools for the next zoom level will be started when all work for the previous one is already done. i guess, this will fix the issues and interferences described in #32471 and shouldn't be much slower.
2019-12-06 10:59:00 +01:00
Denis Rouzaud
9e216b40cc adapt test 2019-12-06 09:30:28 +01:00
Denis Rouzaud
86c3202a1d Classification methods: save/read parameters, improve negative value handling in log method 2019-12-06 09:10:43 +01:00
Nyall Dawson
d969e41799 [processing][saga] Allow saga algorithms to be run under SAGA 7.3,
but show a huge obnoxious "NOT OFFICIALLY SUPPORTED" warning

SAGA 7.3 is the new SAGA LTR, so we eventually need to move towards this.

But adding full support is going to be a painstaking tedious process. So
allow users to use this combination, but totally at their own risk.

TODO: Make SAGA provider a 3rd party plugin only and save QGIS core dev sanity ;)
2019-12-06 17:35:41 +10:00
Nyall Dawson
61454c67cd [processing] Add api to allow providers to report warnings which should
be shown to users when using that provider

This can be used to return a translated warning message which should be
shown to users of this provider. It's intended for use in cases such as
a provider which relies on a 3rd-party backend, where the version of the
backend software is not officially supported, or for alerting users to
providers in a "beta" or "untrustworthy" state.
2019-12-06 17:35:41 +10:00
David Signer
929670b18a remove unneeded set of default value null 2019-12-06 07:59:26 +01:00
Denis Rouzaud
d6644595c6
remove invokable because it is already used on another method with same name (#33247) 2019-12-06 07:55:11 +01:00
Nyall Dawson
567cdb3d2a Disable qgis_layerdefinition on CI
This test relies on an unreliable 3rd party service
2019-12-06 14:54:12 +10:00
Nyall Dawson
2dbc0d726f [FEATURE] Show html items to browser panel
Allows HTML files to be shown and opened from the browser panel
2019-12-06 14:39:08 +10:00
Nyall Dawson
7478e7973d Show helpful status bar tooltip informing of the current select tool behavior
whenever ctrl/shift/alt modifiers are changed during a selection operation
2019-12-06 14:38:09 +10:00
Nyall Dawson
6cd5ade937 Fix intermittently failing test (python was garbage collecting too early) 2019-12-06 13:17:53 +10:00
Juergen E. Fischer
46e6b2d376 azure pipelines: re-add poppler & doxygen 2019-12-06 00:36:16 +01:00
Juergen E. Fischer
81a08fd3e8 azure pipelines:
* fail on error
* align build name for pull requests more with travis builds
* include dash link on azure page
2019-12-06 00:34:01 +01:00
Nyall Dawson
61903a766a Fix some build warnings, clazy warnings 2019-12-06 08:48:40 +10:00
Peillet Sebastien
35eea1c083 Visible status for embedded layers in embedded group
- For project : check visible state for embedded layers inside an unchecked group, instead of putting all layers in embedded-invisible-layers
- For theme : Add an 'checked-group-node' to save group visible state independently to layers in it.
Fixes #33097
2019-12-06 04:54:27 +10:00
Nyall Dawson
1e9709cf5b Don't try to style poly2tri library 2019-12-06 04:51:48 +10:00
Nyall Dawson
a9d02dab8b Update poly2tri external library (minor changes only) 2019-12-06 04:51:48 +10:00
Nyall Dawson
a6c563c6cb Update kdbush external module 2019-12-06 04:51:48 +10:00
Alvaro Huarte
3dadc2235d Extra simple fast check of types in equality methods of geometry 2019-12-06 04:51:31 +10:00
Nyall Dawson
d182cf2d76 [gps] Correctly set initial value of hoz/vert accuracy and direction as not available 2019-12-06 04:50:53 +10:00
Nyall Dawson
6a7293908d Don't overwrite good gps headings (e.g. from a GPHDT message) with n/a values from another message 2019-12-06 04:50:53 +10:00
Nyall Dawson
382098e188 [gps] Don't treat n/a values as '0'
Avoids reporting things like an unavailable heading as a real "0" heading
2019-12-06 04:50:53 +10:00
Nyall Dawson
6b5f983ad6 [gps] Add support for GPHDT heading from true north messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
07915f7af7 [gps] Support GNGSV messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
2234d92be6 [gps] Support GNGSA messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
299c61292b [gps] Support GNGGA nmea messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
99c8afe4e9 [FEATURE] Show the total pan distance and bearing in the status bar during
canvas pan operations

Allows users to know exactly how far (and in what direction) they've dragged
the map.
2019-12-06 04:50:17 +10:00
Nyall Dawson
0b1c0fdbf2 Followup 89de7579, fix broken authentication/username/password
support in WMS and other providers

These providers rely on the QgsDataSourceUri param methods for storing and retrieving
authentication details, so the change made to use the dedicated username/password/auth
setters in 89de7579 broke all auth support for these providers.

Ensure that the param system is fully compatible and aliased to the dedicated
username/password/authcfg getters and setters
2019-12-06 04:49:35 +10:00
Denis Rouzaud
d147a8dffa
Merge pull request #33233 from 3nids/class_method_params
Option to filter negative values in logarithmic classification method
2019-12-05 14:59:04 +01:00
Matthias Kuhn
d00520a9aa Support for NaN in text edit widget 2019-12-05 14:58:31 +01:00
olivierdalang
adf40e2e74 followup: still fiddling with tests 2019-12-05 14:17:33 +01:00