5655 Commits

Author SHA1 Message Date
Nyall Dawson
b6b08e96a0 Add 'accessor for' to doxygen compliance blacklist
Use "Returns the..." instead
2018-05-27 14:05:06 +10:00
Denis Rouzaud
487a6a8b70
add missing crsChanged signal in QgsProjectionSelectionWidget (#7079) 2018-05-26 18:06:14 -08:00
Nyall Dawson
94cf3fc788 Use "customize" instead of "customise"
Since we default to US spelling, we should always be using "customize"
2018-05-26 15:44:04 +10:00
Nyall Dawson
8f770c3f60 Add 'mutator for ' to doxygen compliance blacklist 2018-05-26 15:44:04 +10:00
Nyall Dawson
c10f6de437 Unit tests for QgsLineString::(x/y)Data() 2018-05-26 11:00:43 +10:00
Matthias Kuhn
cb4d11787c Remove redundant virtual on override 2018-05-26 06:11:37 +10:00
Nyall Dawson
43928d8c9c Don't crash when a null task is added to task manager 2018-05-25 16:53:51 +10:00
Nyall Dawson
5e360f90e8 Add unit test to prevent deprecated methods without description
And add missing descriptions
2018-05-25 16:31:03 +10:00
Nyall Dawson
1c615c15cc More documentation compliance
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Nyall Dawson
44630b47ed Add QgsDataProvider::ProviderOptions struct to constructors
for data providers

Allows a way to pass generic settings to providers, e.g.
passing a datum transform context for use in provider's
constructors.
2018-05-25 11:40:57 +10:00
Nyall Dawson
2cb8a33884 Fix broken see also links 2018-05-25 11:16:18 +10:00
Nyall Dawson
a3c543dfda Fix test result 2018-05-25 11:16:18 +10:00
Nyall Dawson
fa912f5c1d Doxygen test also checks for broken 'see also' links 2018-05-25 11:16:18 +10:00
Martin Dobias
61f84ce7f6
Merge pull request #7008 from PeterPetrik/qgsmeshlayer_2_scalar_vector_datasets
[mesh] Rendering of scalar and vector datasets
2018-05-24 07:43:14 -04:00
Even Rouault
839de2e26c
Merge pull request #7057 from rouault/fix_18882_alternate
[WFS provider] Revert to using singular TYPENAME keyword for WFS 2.0 DescribeFeatureType (fixes #18882, refs #17872)
2018-05-23 15:23:09 +02:00
Even Rouault
2330b7fc63
[WFS provider] Handle buggy servers that require plural form TYPENAMES for DescribeFeatureType (fixes #18882, refs #17872)
Some servers like http://geoportal.samregion.ru/wfs12 return an
error when issuing a REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAME=...
query, which is the conformant way
They expect the plural form TYPENAMES to be passed
As they return an exception when being provided with the singular form,
we can automate the retry with TYPENAMES.
2018-05-23 13:59:11 +02:00
Matthias Kuhn
2bbacb635f
Merge pull request #7054 from nyalldawson/compliant
Add compliance test to doxygen test
2018-05-23 11:03:15 +02:00
Juergen E. Fischer
e6c949895a fix stretch build 2018-05-23 10:37:10 +02:00
Nyall Dawson
8b1bbfe8ae Add compliance test to doxygen test
Tests for "non-compliant" doxygen strings, e.g. use of
- "getter for..." instead of "returns the..."
- "setter for..." instead of "sets the..."

Will be expanded in future to also test for:
- "return ..." instead of "returns ..."
- "set ..." instead of "sets ..."
2018-05-23 16:46:31 +10:00
Nyall Dawson
4082ef7fec Standardize member signature when comparing against acceptable undocumented members
Seems different doxygen versions result in slightly different whitepace
*inside* the member's signatures!
2018-05-23 11:53:52 +10:00
Nyall Dawson
91a792b8d8 Try to fix handling of undocumented members on Travis 2018-05-23 11:53:52 +10:00
Nyall Dawson
14cf46cdf6 Update list of acceptable missing docs 2018-05-23 11:53:52 +10:00
Nyall Dawson
48489d634f Sort list of acceptable missing docs 2018-05-23 11:53:52 +10:00
Even Rouault
7511d1ffdb
Revert "[bugfix][wfs] Expand support for 2.0.0 TYPENAMES" (fixes #18882)
This reverts *partially* commit ccb4c80f8a6d2bb179258f1ffec0dc9a447ca465.

The plural form of TYPENAMES is non conformant for the DescribeFeatureType
request of WFS 2.0
The logic of ccb4c80f8a6d2bb179258f1ffec0dc9a447ca465 breaks conformant
servers because they ignore the TYPENAMES parameter and thus return a
DescribeFeatureType response covering all layers of the service, which can
be extremely time consuming.

Changes related to better geometry handling have been kept.
2018-05-22 21:56:25 +02:00
Even Rouault
2bbea0d404
Merge pull request #7047 from rouault/fix_18740
[WFS provider] Avoid request by feature id to cause a full layer download (fixes #18740)
2018-05-22 19:08:45 +02:00
Even Rouault
6cf1c502d1
[WFS provider] Avoid request by feature id to cause a full layer download (fixes #18740) 2018-05-22 13:32:03 +02:00
Nyall Dawson
33669ab723 [processing] Don't crash when hitting transform exceptions
inside transform algorithm
2018-05-22 11:57:41 +10:00
Nyall Dawson
681074bf25 Setting crs for extent group box shouldn't auto check the box
Causes e.g. changing the destination CRS in the save vector
file dialog to accidentally enable the "extent" filter option.

Refs #18977
2018-05-22 11:57:41 +10:00
Nyall Dawson
981178399a Add failing test for rendering simplification of very small
ring inside larger polygon
2018-05-22 10:05:58 +10:00
Nyall Dawson
35b3e9bb63 Add unit test for geoccs descriptions imported from GDAL 2018-05-21 10:03:15 +10:00
Alexander Bruy
cce49567ca [processing] add test for temporary output without extension 2018-05-20 18:17:15 +10:00
Denis Rouzaud
b4ec9a3190
[pyqgis] add QgsSettings.enumValue and flagValue to the bindings (#7024)
* [pyqgis] add QgsSettings.enumValue and flagValue to the bindings

these are done in pure Python since no implementation is possible in SIP

there is a dirty hack for flags since QgsMapLayerProxyModel.Filters.__qualname__
returns 'Filters' and not 'QgsMapLayerProxyModel.Filters'

* fix typo
2018-05-18 09:25:12 -08:00
Denis Rouzaud
deccf205cf
[pyqgis] add method to retrieve metaEnum from an enum value or type (#7023) 2018-05-18 06:47:18 -08:00
Matthias Kuhn
bc25781208
Merge pull request #7013 from m-kuhn/sortList
Sort list on the attribute table/form view based on shown value
2018-05-18 12:40:53 +02:00
Denis Rouzaud
3e9a37cc1a
Merge pull request #7018 from 3nids/sipify_metaenum_helper
[sipify] write helpers in core.__init__.py for Q_ENUM
2018-05-18 02:40:00 -08:00
Nyall Dawson
610d99c338 Fix reverse expression function doesn't handle multicurve geometries 2018-05-18 14:53:29 +10:00
Denis Rouzaud
7440220e05 [sipify] complete test to check the __init__.py core files are up to date 2018-05-17 23:14:42 -04:00
Denis Rouzaud
83ccff2aad
Merge pull request #7017 from 3nids/locator_subgroup
[QgsLocator] add the capability of adding group for elements within t…
2018-05-17 18:28:15 -08:00
Denis Rouzaud
ae389be4a9 add test for locator model with groups 2018-05-17 21:49:32 -04:00
Blottiere Paul
d5ffc5a2d9
Merge pull request #6994 from pblottiere/server_candidates
[server] Labeling settings
2018-05-17 15:27:22 +01:00
Blottiere Paul
2246ad6803 Add note to describe unit test 2018-05-17 13:17:28 +01:00
Blottiere Paul
96a0b4777c Add unit test 2018-05-17 13:17:28 +01:00
Blottiere Paul
ecbd2079fd Add unit test 2018-05-17 13:17:28 +01:00
Blottiere Paul
7d6518f725 Update unit tests 2018-05-17 10:34:37 +01:00
Matthias Kuhn
ce403b14d1
Add tests for sorting feature list by display expression 2018-05-17 11:13:06 +02:00
Denis Rouzaud
87a60d437f
Merge pull request #6733 from 3nids/setenumvalue
Save enum values as string in settings
2018-05-16 17:54:40 -08:00
Martin Dobias
9a79fc78aa
Merge pull request #6983 from PeterPetrik/qgsquick_2_scalebar_messagelog
[feature] Add ScaleBar and MessageLog components to QgsQuick library.
2018-05-16 20:37:40 -04:00
Peter Petrik
3fc99c04c1 code cleanup 2018-05-16 17:02:35 +02:00
Peter Petrik
aea3dccea7 [FEATURE] Rendering of vector data on mesh layers
Rudimentary support of rendering of vector data (e.g. velocity) on mesh map layers.
Rendering can be adjusted by QgsMeshRenderer*Settings. Only in Python
API, no GUI widgets for styling present.
2018-05-16 12:56:35 +02:00
Peter Petrik
3154102aa6 [FEATURE] Scalar/vector data in mesh data providers
Reading and processing scalar (e.g. water depth) and vector (e.g.
velocity) data from mesh data providers (e.g. MDAL)
2018-05-16 12:47:28 +02:00