13103 Commits

Author SHA1 Message Date
Denis Rouzaud
7dfec1fde0 [pyqgis] add misssing QgsSettings.setEnumValue
also fix sections in enumValue and flagValue
2018-06-21 05:29:16 -08:00
Nyall Dawson
981c6686c0 Dox++ 2018-06-21 18:22:55 +10:00
Nyall Dawson
2ed547219a Add globs to information returned by QgsVectorFileWriter.supportedFiltersAndFormats 2018-06-21 18:22:55 +10:00
Denis Rouzaud
f749c521a9 use Q_ENUM for QgsLocator::Priority 2018-06-20 11:21:25 -08:00
Nyall Dawson
77d22849d9 Fix calculation of relation aggregate in virtual field with same name as related field 2018-06-20 15:23:55 +10:00
Nyall Dawson
4132dbc1c8 Typo 2018-06-20 15:06:36 +10:00
Nyall Dawson
8d6ce61a70 [processing] Silence warnings thrown from within plotly on import 2018-06-20 08:07:23 +10:00
Nyall Dawson
16ac437780 [processing] Fix bar and box plot exception when category field has NULL values 2018-06-20 08:07:23 +10:00
Denis Rouzaud
ff1988f11d Python __repr__ test output 2018-06-19 13:55:53 -04:00
Denis Rouzaud
763dfd2998 use SIP to define Python __repr__ rather than injections
because it's a bit more clever!
2018-06-19 07:58:26 -04:00
Denis Rouzaud
cc3e29bcc2 add __repr__ for more geometry classes and add test 2018-06-19 07:02:17 -04:00
Denis Rouzaud
ac4f508c13 create Python __repr__ methods for QgsPoint and QgsPointXY 2018-06-19 07:02:17 -04:00
Nyall Dawson
a2ef677912 Add method to toggle user visibility of QgsDockWidgets 2018-06-19 17:22:12 +10:00
Nyall Dawson
4059c9b71d Move some more common geometry methods to headers to allow compiler inlining 2018-06-19 13:16:02 +10:00
Nyall Dawson
077ecedfc5 Unit tests for QgsMessageLog 2018-06-19 06:23:58 +10:00
Nyall Dawson
949853a0e0 Add API for temporarily suppressing user notifications for
message log critical/warning messages

These messages are still logged, but the log indicator is not
modified to flag their appearance.

This allows certain error messages to be logged (e.g. on startup)
which cannot be fixed by users/developers (e.g. those caused
by upstream Qt issues, 3rd party Python libraries, etc) but
without flagging them.

Currently, we get so many of these warnings on startup that the
log indicator loses all impact, and newly introduced, VALID
errors go unnoticed/ignored.
2018-06-19 06:23:58 +10:00
Nyall Dawson
00f0583325 Fix doc test 2018-06-18 23:14:45 +10:00
Nyall Dawson
68b38b2daf Add a signal when a project is cleared 2018-06-18 23:14:45 +10:00
Nyall Dawson
a17b77be56 [processing][gdal] Add missing parameters for buildvrt algorithm 2018-06-18 10:28:27 +10:00
Nyall Dawson
76b13ff4c4 [processing][gdal] More descriptive name for separate parameter
in buildvrt algorithm

Fixes #19212
2018-06-18 10:28:27 +10:00
Nyall Dawson
4fb9091e6e QgsRectangle::intersect should use a reference, not a pointer
We never call this method using nullptrs, so there's no need
for this to be a pointer argument in the first place. And
having it a pointer encourages leaky code, such as the
leak this commit fixes in server.
2018-06-18 07:55:17 +10:00
Nyall Dawson
184b0ef2a9 Remove unnecessary code
QObjects cannot be copied anyway
2018-06-17 15:09:07 +10:00
Nyall Dawson
b643465b12 Fix build, dox++ 2018-06-17 15:09:07 +10:00
Nyall Dawson
6470aacb33 Ban QScopedPointer/QSharedPointer 2018-06-17 15:09:07 +10:00
Denis Rouzaud
8503896674
[locator] add clearPreviousResults virtual method (#7256)
* [locator] add clearPreviousResults virtual method

* also clear previous results when triggering result
2018-06-16 19:04:59 -08:00
Nyall Dawson
7a9b2980ea Fix doxygen warning 2018-06-17 11:15:10 +10:00
Marco Hugentobler
e76ca64eae Consider PR feedback 2018-06-17 11:11:39 +10:00
Marco Hugentobler
49cce29268 \param instead of @param 2018-06-17 11:11:39 +10:00
Marco Hugentobler
18f0af8c23 Port dxf export improvements to QGIS 3 2018-06-17 11:11:39 +10:00
Nyall Dawson
a4c8386e88 [sipify] Replace std::numeric_limits with old style DBL_MAX/etc 2018-06-17 09:24:37 +10:00
Nyall Dawson
47e7a100d9 DBL_EPSILON -> numeric_limits 2018-06-17 09:24:37 +10:00
Nyall Dawson
ac17d300ca DBL_MAX -> std::numeric_limits 2018-06-17 09:24:37 +10:00
Nyall Dawson
8323462f3b [processing][saga] Fix definition of cross profiles alg, add test 2018-06-16 15:35:31 +10:00
Matthias Kuhn
66ad9d99dd
Merge pull request #7055 from m-kuhn/wfsNoMainThreadEventLoopb
Avoid running QEventLoop on main thread (in WFS provider)
2018-06-15 08:57:50 +02:00
Nyall Dawson
6b08eff655 Spelling 2018-06-15 13:48:43 +10:00
Nyall Dawson
55a54b0971 [processing][saga] Fix duplicate confusion matrix algs
Fixes #19188
2018-06-15 13:48:43 +10:00
Nyall Dawson
37e379836b [processing][saga] Fix duplicate cluster analysis algs 2018-06-15 13:48:43 +10:00
Nyall Dawson
a8c0cef49a [processing][saga] Fix params for IDW alg 2018-06-15 13:48:43 +10:00
Nyall Dawson
d04fee69b3 [processing][saga] Remove duplicate GWR algs, fix params 2018-06-15 13:48:43 +10:00
Nyall Dawson
0a2c856bbb [processing][saga] Remove duplicate polygon self intersection alg, fix params and add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
dd9e46f86c [processing][saga] Remove duplicate intersect alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
c85b1649c8 [processing][saga] Remove duplicate symmetrical difference alg
and add test.

Warnings: SAGA results are bad here! Use the native QGIS alg
instead
2018-06-15 13:48:43 +10:00
Nyall Dawson
f75d31c40c [processing][saga] Remove duplicate polygon difference alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
bdac9f10c6 [processing][saga] Remove duplicate identity alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
07530be1b6 [processing][saga] Remove duplicate polygon union algorithm
Also
- fix typo in algorithm name
- add unit test
2018-06-15 13:48:43 +10:00
Nyall Dawson
939551bc35 [processing][saga] Remove duplicate polygon update algorithm, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
f99d51175f Fix seealso links 2018-06-15 06:39:48 +10:00
Nyall Dawson
f838001d0a Indentation 2018-06-15 06:39:48 +10:00
Nyall Dawson
76eb29daf3 Unit tests and dox for QgsRasterIterator 2018-06-15 06:39:48 +10:00
Nyall Dawson
bde8b4303f Fix exception in create constant raster alg 2018-06-15 06:39:48 +10:00