6262 Commits

Author SHA1 Message Date
Harrissou Sant-anna
9e5cc4b76b Fix array of translated features algorithms 2018-09-28 10:19:31 +10:00
Denis Rouzaud
bb81f71dcd
remove dependency on qgis_gui from native tests 2018-09-27 09:43:26 -04:00
Matthias Kuhn
2275853ce6
Merge pull request #8008 from m-kuhn/missingVertexCheck
Add QgsGeometryMissingVertexCheck
2018-09-27 10:50:27 +02:00
Matthias Kuhn
3c379d36e6
Fix test 2018-09-27 10:12:08 +02:00
Martin Dobias
8831f19b79 Fix missing indicators after they are moved to a different group
The issue was that during drag&drop, we first connect to layer's signal
for the second time, but then the disconnect() call on removal of the original
layer node would disconnect all connections (not just one). For that reason
now we only connect/disconnect when the layer is in the tree only once.
2018-09-27 00:46:37 +02:00
Matthias Kuhn
fd869d83d4
Add test for missing vertex check 2018-09-26 14:23:04 +02:00
Martin Dobias
5047571c13 Move recursive "collect layers" algorithm to QgsLayerTreeUtils + tests 2018-09-26 09:55:37 +02:00
Nyall Dawson
3d70f1b51d [layouts] Fix is_layer_visible does not work within layout map items 2018-09-26 04:27:27 +10:00
Nyall Dawson
0f62685963 Fix is_layer_visible to allow direct layer objects and handle removed layers 2018-09-26 04:27:27 +10:00
Nyall Dawson
f29c48b99b Dox 2018-09-26 04:27:08 +10:00
Nyall Dawson
fd1d6c1037 Add more descriptive error messages for raster calculation failure
With unit tests
2018-09-26 04:27:08 +10:00
Nyall Dawson
844a3fb1b1 [processing] Allow help url to be set for models within help edit dialog
Refs #18767
2018-09-26 04:26:49 +10:00
Alessandro Pasotti
930c3f8e45 Port makeFeaturesCompatible to C++
as: QgsVectorLayerUtils::makeFeaturesCompatible

With tests.
2018-09-25 08:17:14 +02:00
Nyall Dawson
95e95d0fe8 Unit tests for QgsVectorLayerUtils.matchAttributesToFields 2018-09-25 08:49:21 +10:00
Nyall Dawson
b5867bff58 Fix legend count is 0 if graduated/categorized expression uses geometry
Likely fixes many other bugs too with graduated/categorized renderers

Fixes #15544
2018-09-25 05:21:35 +10:00
Peter Petrik
1b82abfd87 fix test images for mesh rendering 2018-09-24 11:04:50 +02:00
Juergen E. Fischer
4911d2e745 [BUGFIX][NEEDS-DOCS] add command line option to hide browser (refs #18260) 2018-09-23 21:54:03 +02:00
Even Rouault
208571a832
Merge pull request #7984 from rouault/fix_19483
Raster: do not list RasterLite2 as a supported output format, and use a helper for every call site (fixes #19483)
2018-09-23 15:52:03 +02:00
Even Rouault
ac65ee0398
Merge pull request #7983 from rouault/fix_18804
QgsRasterFilWriter: fix crash when building overviews (fixes #19679)
2018-09-23 15:51:52 +02:00
Even Rouault
d2a7668c16
Raster: do not list RasterLite2 as a supported output format, and use a helper for every call site (fixes #19483) 2018-09-22 16:47:32 +02:00
Even Rouault
0c0e30b48f
QgsRasterFilWriter: fix crash when building overviews (fixes #19679) 2018-09-22 15:09:47 +02:00
Even Rouault
fabdc04764
[OGR provider] Fix reading of OSM datasets when opening several layers at the same time (fixes #19477) 2018-09-22 11:59:14 +02:00
Even Rouault
9dd1406539
Merge pull request #7979 from rouault/fix_19722
QgsVectorFileWriter: fix DGN creation (fixes #19722, fixes #19723)
2018-09-22 00:43:43 +02:00
Even Rouault
bb40385d33
Merge pull request #7977 from rouault/fix_ogrdataitems_layername
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885)
2018-09-22 00:43:27 +02:00
Nyall Dawson
1ec365445b [processing] Port Range parameter widget to new API
Fixes use of range parameters inside models, allowing range
inputs to be used for range parameter values.

Fixes #19785
2018-09-22 05:26:29 +10:00
Nyall Dawson
ced95593e9 More travis build fixes 2018-09-22 05:26:29 +10:00
Nyall Dawson
85a9e173af Fix tests on Travis 2018-09-22 05:26:29 +10:00
Nyall Dawson
8e1c437e02 Allow expression contexts to specify a list of highlighted functions
as well as just variable names

In some cases contexts may provide specific functions of use
to that context, or more generally there may be functions we want
to highlight for a particular expression builder (e.g. highlighting
to_dms in the grid annotation builder)
2018-09-22 05:26:29 +10:00
Nyall Dawson
7af13f62c0 Set widget context for widget wrappers 2018-09-22 05:26:29 +10:00
Nyall Dawson
33eb295b1e Distance parameter unit tests 2018-09-22 05:26:29 +10:00
Nyall Dawson
ee8389afee Unit tests 2018-09-22 05:26:29 +10:00
Even Rouault
6b62019317
QgsVectorFileWriter: fix DGN creation (fixes #19722, fixes #19723) 2018-09-21 19:56:07 +02:00
Blottiere Paul
2807c2f883
Merge pull request #7961 from tudorbarascu/fix_sld
fix stroke Width sld import
2018-09-21 15:32:49 +02:00
Even Rouault
ea2cc365db
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885) 2018-09-21 15:32:19 +02:00
Alessandro Pasotti
0ee119f72b
Merge pull request #7969 from elpaso/bugfix-19901-relation-reference-NULL
QgsFeatureListComboBox nullRepresentation instead of hardcoded "NULL"
2018-09-21 10:56:34 +02:00
Nyall Dawson
30b757b184 More in-place support tweaks, add tests 2018-09-21 18:15:46 +10:00
Tudor Bărăscu
1955ebb7c9 server disabled test for failing getmap req with Line sld 2018-09-21 10:14:38 +03:00
Luigi Pirelli
6e02f9f4fa test for update of parameterLayerList managing QgsProcessingOutputLayerDefinition 2018-09-21 09:00:56 +10:00
Tudor Bărăscu
f125d3f792 add image mask and make travis happy 2018-09-20 20:42:13 +03:00
Alessandro Pasotti
5378e37cf9 QgsFeatureListComboBox nullRepresentation instead of hardcoded "NULL"
Fixes #19901 - Relation Reference Widget: Representation for NULL values is not respected
2018-09-20 16:30:02 +02:00
Tudor Bărăscu
7a9d08eddf add test for Point SLD highlight on server 2018-09-20 14:06:38 +03:00
Matthias Kuhn
d129c2cbc1
Merge pull request #7932 from m-kuhn/single_geometry_check
Add QgsSingleGeometryCheck
2018-09-19 16:34:35 +02:00
Matthias Kuhn
3cb82a58c8
Merge pull request #7959 from m-kuhn/geometryOptions
Add a new QML category "Geometry Options"
2018-09-19 15:52:38 +02:00
Matthias Kuhn
9b2dff6762
Adjust tests to new API 2018-09-19 14:43:57 +02:00
Alessandro Pasotti
826056e42c
Merge pull request #7951 from elpaso/bugfix-19802-dbmanager-saved-queries
Bugfix 19802 dbmanager saved queries
2018-09-19 11:44:18 +02:00
Blottiere Paul
d64303fdda
Merge pull request #7950 from pblottiere/server_wfs_if_capabilities
[server] Fixes Filter_Capabilities element in WFS GetCapabilities document
2018-09-19 11:18:56 +02:00
Blottiere Paul
420bcc9fc4
Merge pull request #7947 from pblottiere/server_wfs_operation
[server] Fixes Operations in WFS GetCapabilities document
2018-09-19 11:17:49 +02:00
Nyall Dawson
992fe4d41f Update test 2018-09-19 09:01:22 +10:00
Nyall Dawson
db8271901e more tests 2018-09-19 09:01:22 +10:00
Nyall Dawson
f9015f38a4 Make qgsRound more tolerant to large values
Fixes #19844
2018-09-19 09:01:22 +10:00