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
Even Rouault
3e436094f6
WMS provider: use 'WMS/WMTS' instead of 'WMS' in various UI labels ( fixes #18883 )
2018-05-24 13:26:01 +02: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
Nyall Dawson
c5ff6b9c99
[processing] Ensure parameters linked to layer parameters
...
(e.g. field choices) are correctly updated when a layer
is selected which doesn't belong to the project
2018-05-22 06:03:18 +10:00
Nyall Dawson
4ec9e00a73
Fix SVG parsing error on startup
2018-05-22 06:02:55 +10:00
Nyall Dawson
c0d9528090
Silence python warnings from 3rd party libraries on startup
2018-05-22 06:02:55 +10:00
Nyall Dawson
343872b719
Flip some code to use format
2018-05-22 06:02:55 +10:00
Nyall Dawson
3de7b383b0
Fix bad regex escaping
2018-05-22 06:02:55 +10:00
Mathieu Pellerin
a7397b1726
[python console] improve settings UI ( #7041 )
...
- improve UI spacing
- harmonize reset icon
2018-05-21 16:48:43 +07:00
Blottiere Paul
42199d1ad0
[processing] Declare NOT_SELECTED
2018-05-21 19:06:27 +10:00
Blottiere Paul
dcc79fcfbf
[processing] Fix invalid attribute's name
2018-05-21 19:06:27 +10:00
Nyall Dawson
b21632602f
[processing] Fix exception when editing enum input with no default value
2018-05-21 16:07:14 +10:00
Nyall Dawson
6b5e5b6ed5
[processing] Fix models cannot correctly set enum parameters
...
to a static choice
2018-05-21 16:07:14 +10:00
Nyall Dawson
84163841df
[processing] Improved script editor dialog title
...
- show filename in title, or 'Untitled Script' for new
scripts
- show unsaved ('*') indicator when unsaved changes present
2018-05-21 14:28:37 +10:00