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
1098b3910f
Fix test
2018-05-25 11:16:18 +10:00
Nyall Dawson
bb995202fd
Fix more broken links
2018-05-25 11:16:18 +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
Salvatore Larosa
1d8689f37e
remove deprecated qt5_use_modules macro
2018-05-25 09:32:18 +10:00
Salvatore Larosa
98b683c7b7
clang workaround to fix build: use move on return unique_ptr
2018-05-25 09:32:01 +10:00
Harrissou Sant-anna
c7538702f9
Fix typo
2018-05-25 09:17:24 +10:00
Harrissou Sant-anna
c66f65819c
Fix typo
2018-05-25 09:17:24 +10:00
Denis Rouzaud
12cb6fc629
[wfs] fix turning attribute value to NULL
2018-05-24 06:03:17 -08:00
Denis Rouzaud
5eddbb6193
fix icon/row size
2018-05-24 05:14:17 -08:00
Denis Rouzaud
1905cca744
[locator] move the config button to the table
2018-05-24 05:14:17 -08: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
Peter Petrik
882d8ed79b
tiny doc change
2018-05-24 08:16:11 +02:00
Nyall Dawson
dde895d149
[layouts] Fix incorrect path shown after export atlas to pdf
...
Fixes #19013
2018-05-24 13:14:04 +10:00
Nyall Dawson
e906a2c9ce
[python] Generate type hint stub files
...
Causes sip to generate the type hinting stub (".pyi") files
alongside the generated python modules.
This allows editors like PyCharm to become aware of the
types of objects returned by functions, making the autocompletion
much more useful (e.g. by showing all the members available
for a returned type). It also fixes a bunch of incorrect
warnings highlighted in PyCharm for things like calling
static methods in a class (and, generates some new, but valid,
warnings when unexpected types are passed to functions!)
TODO: work out why PyCharm can't show the docstrings
for methods when the pyi file is present.
2018-05-24 06:56:16 +10:00
Even Rouault
ce72bde32a
[WMS provider] Avoid duplicate format selection radio buttons ( fixes #18796 )
2018-05-23 20:51:55 +02: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
Alessandro Pasotti
f41daee1cb
Fix docstring for setEditFormConfig
2018-05-23 09:27:44 +02:00
Nyall Dawson
afa04d9b5b
Fix non-compliant docstrings
2018-05-23 16:55:11 +10: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
nirvn
45aca2f942
fix unclosed strings not style in python console & script editor
2018-05-23 10:08:02 +07: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
Nyall Dawson
6165e4c8d6
Add some SIP_THROW( QgsCsException ) annotations
...
Incomplete, but allows proper QgsCsException catching
for these methods
2018-05-23 07:55:30 +10:00
Nyall Dawson
f82b639604
Fix outdated docs
...
Fixes #19004
2018-05-23 06:55:22 +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
Peter Petrik
81bf510c09
fix typo
2018-05-22 18:59:06 +02:00
Peter Petrik
c75876938b
fix docs
2018-05-22 14:35:10 +02:00
Peter Petrik
33390123e3
various small fixes from review
2018-05-22 14:32:20 +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
nirvn
9cf6bbf424
Improve default color scheme for python console & script editor
2018-05-22 17:56:25 +07:00
nirvn
45b045d212
Fix missing color settings for python console / script editor
2018-05-22 13:31:29 +07:00
Nyall Dawson
6d87a4cf3f
[console] Fix unclosed strings don't respect the preset font size
2018-05-22 15:43:14 +10: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
959d1e930b
Avoid some unnecessary geometry clones during map to pixel
...
simplification
2018-05-22 10:05:58 +10:00
Nyall Dawson
c1661dee24
Fix invalid polygon rings created by map to pixel simplification
...
when a larger polygon contains a very small ring
2018-05-22 10:05:58 +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
Even Rouault
b886e224cf
Fix typo
2018-05-21 22:54:13 +02:00
Even Rouault
c3c5c9760a
Dummy commit to indicate that 0addae5b783e541953522eabe178426e820bf852 was about refs #18740
2018-05-21 22:44:29 +02:00
Even Rouault
0addae5b78
[WFS provider] Fix excessive memory consumption on big layers (refs #1870 )
...
There was a pseudo memory leak in qgsgml.cpp
And the WFS downloader could also have to process big replies, causing a
lot of features to be instanciated at once.
Was seen on the 'portugal_addresses' layer of http://www.naturalgis.pt/cgi-bin/opendata/mapserv ?
2018-05-21 22:40:49 +02:00
Nyall Dawson
19b3325be6
Use the standard snap indicator with move features tool
...
Fixes #18957
2018-05-22 06:03:51 +10:00