5583 Commits

Author SHA1 Message Date
Juergen E. Fischer
e6c949895a fix stretch build 2018-05-23 10:37:10 +02: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
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
Alessandro Pasotti
a44eeae441
Merge pull request #6982 from elpaso/currentformfeature-expressions-4
[feature][need-docs] Current feature/current value form context expressions
2018-05-16 09:48:06 +02:00
Nyall Dawson
3949802d58 Improved title case conversion, add tests 2018-05-16 14:08:43 +10:00
Alessandro Pasotti
673fac0c88 Added methods to search expression nodes and drop RegExp
- nodes() return the list of all nodes
- findNodes<T> returns a list of the nodes matching the class

Also drops the regexp for finding form attrs in the value-relation
expressions.

Other minor fixes as suggested in the PR review.
2018-05-15 18:32:40 +02:00
Blottiere Paul
1956937793 Update getcapabilities document to fit 1.3.0 version 2018-05-15 09:07:22 +01:00
Blottiere Paul
6ea2cd63ba Add unit tests 2018-05-15 09:07:21 +01:00
Alessandro Pasotti
b4f86147c7 Add referencedFunctions() to expressions 2018-05-15 09:20:10 +02:00
Alessandro Pasotti
edb12b4dbe Removed attribution 2018-05-15 08:34:39 +02:00
Alessandro Pasotti
ba339f2f1c Some more test cases for value relation widget 2018-05-15 08:34:08 +02:00
Alessandro Pasotti
63d2086de4 Rename functions from get_current_form_field_value to current_value
and current_geometry
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
83328ae596 [feature] Form context expressions in value relation widget
The value relation widget filter expression can now use two
new functions/variables that have access to the current
values and geometry of the form being edited.

This allows for dynamic filtering (drill-down) as explained
in the crowdfunding page:
https://north-road.com/drill-down-cascading-forms/

The new functions/variables are:

Function:
get_current_form_field_value( 'FIELD_NAME' )

Variable:
@current_form_geometry
2018-05-15 08:34:08 +02:00
Nyall Dawson
26174ea9ad Copy cached min/max value to provider test suite 2018-05-15 09:23:48 +10:00
Denis Rouzaud
90bbe69aad
fix QVariant / QString compare 2018-05-14 14:08:57 -04:00
Denis Rouzaud
a66836225f add assert on metaEnum and convert existing settings to strings 2018-05-14 11:49:29 -04:00
Denis Rouzaud
847f0e1829 adapt sipify scripts and test to place auto generated sip files in dedicated folder 2018-05-14 10:44:11 -04:00
Denis Rouzaud
dce235d62e create dedicated function for flags
there is a small redundancy in code, but it makes it much nicer to read the calls:
flagValue( key, default) instead of enumValue( key, default, NoSection, false )
2018-05-14 08:47:27 -04:00
Denis Rouzaud
d156e1fb76 save enum settings as string for a better inspection 2018-05-14 08:47:27 -04:00
arnaud.morvan@camptocamp.com
81dabd185c [processing] Finish default values in model for destination parameters 2018-05-14 22:12:32 +10:00
Peter Petrik
0cd9e19abc [Feature] Add ScaleBar and MessageLog components to QgsQuick library. 2018-05-14 11:39:17 +02:00
Nyall Dawson
6b742687ab [memory] Fix memory provider does not return correct min/max
values after adding or editing features

The cache was not cleared correctly in this case

Fix sponsored by LINZ
2018-05-14 15:43:22 +10:00
Denis Rouzaud
272f9ef874
Merge pull request #6951 from 3nids/locator_prefix
allow customizing prefix of locator filters
2018-05-13 17:56:22 -08:00
Guilhem
42bedc4f72 Update qgsrasterfilewriter.cpp
Bad geo-referencing bug fix

Using VRT with large coordinate system (like RGF93/CCxx) and high
resolution raster, highest resolution tiles were shifted regardingi
original raster.
It seemed that when creating the VRT file, georeferencing is
truncated while converted to text, leading to loss of precision.
2018-05-12 06:20:29 +10:00
Denis Rouzaud
d36d4f8c65
fix warning for release build (#6976) 2018-05-11 07:41:10 -08:00