50108 Commits

Author SHA1 Message Date
Alessandro Pasotti
0b35147a92 Fields: be permissive when parsing formatted numbers 2018-09-01 17:59:56 +02:00
Nyall Dawson
309992bbe8 Throw an assert when using an unsupported variant type
with QgsXmlUtils::writeVariant

These were previously written as strings yet could not be
restored by QgsXmlUtils::readVariant. Better to throw
an assert so that it's clear that these types are unsupported
and that support needs to be added.
2018-09-01 20:05:01 +10:00
Raymond Nijssen
4ae23b6422 better looking shadows for hackfests and contributors styles 2018-09-01 19:48:55 +10:00
Alessandro Pasotti
3a0899dbcd Add os import 2018-09-01 19:47:59 +10:00
Alessandro Pasotti
6d6871ca55 Skip test on travis and fix test case 2018-09-01 19:47:59 +10:00
Alessandro Pasotti
e8ca9a24ca Add spellok 2018-09-01 19:47:59 +10:00
Alessandro Pasotti
4ad0bbb1d1 [test] Add ParentDependsOnSubTask subtask test case 2018-09-01 19:47:59 +10:00
Alessandro Pasotti
ba4fb65072
Merge pull request #7764 from elpaso/locale-graduated-renderer
Use QLocale for categorized renderer range
2018-09-01 11:37:15 +02:00
Alessandro Pasotti
e40b8554e7 Use QLocale for categorized renderer range 2018-08-31 17:11:58 +02:00
Denis Rouzaud
9cefd3a565 add optional filter for spatial only layers 2018-08-31 14:44:57 +03:00
Denis Rouzaud
b2245694bf emit dataChanged in setData because Qt says to do so 2018-08-31 14:14:14 +03:00
Denis Rouzaud
6b66b2048a switch to legend tree for Identify Layers tab in project properties
also add a 'searchable' option for vector layers (they won't be searched in the locator)
2018-08-31 14:14:14 +03:00
Nyall Dawson
b55ab2e6d4 [win] Cleanup notifications on exit 2018-08-31 20:07:17 +10:00
Nyall Dawson
8f1fb1e648 Fix messageboxes are shown with wait mouse cursor in style manager import dialog 2018-08-31 19:49:09 +10:00
Nyall Dawson
1f744bdc0e Remember last style import path 2018-08-31 19:49:09 +10:00
Nyall Dawson
fc8d90fc7d Use a QgsFileWidget in style import dialog 2018-08-31 19:49:09 +10:00
Nyall Dawson
bf649e7f09 Cleanup code 2018-08-31 19:49:09 +10:00
Nyall Dawson
95e8960205 Capitalization 2018-08-31 19:49:09 +10:00
Nyall Dawson
9983ba34b4 Restore geometry on style manager dialogs 2018-08-31 19:49:09 +10:00
Harrissou Sant-anna
b2d20c9dbc Fix label 2018-08-31 18:43:40 +10:00
Luigi Pirelli
ddc5e52ab3 update template to current api (3.4) 2018-08-31 10:41:22 +02:00
Denis Rouzaud
6917860d94
Merge pull request #7735 from 3nids/snap3
add layer filter in snapping configuration
2018-08-31 10:33:54 +03:00
Denis Rouzaud
04e7c7ab23 placeholder + move at bottom 2018-08-31 09:37:16 +03:00
Denis Rouzaud
010295fa1c emit dataChanged in setData because Qt says to do so 2018-08-31 09:31:03 +03:00
Nyall Dawson
c3fd631776 Fix dox 2018-08-31 13:50:13 +10:00
Nyall Dawson
5e1d1a4c8c Deprecate vector layer setter/getter within QgsSymbol
It's not used, and potentially very dangerous
2018-08-31 13:50:13 +10:00
Nyall Dawson
e63fedfa36 Improve/extend QgsSymbol docs 2018-08-31 13:50:13 +10:00
Nyall Dawson
bd84db5129 Fix capitalization 2018-08-31 13:36:46 +10:00
Nyall Dawson
4e3d61c3e9 Autoraise map unit scale tool buttons 2018-08-31 13:36:46 +10:00
Harrissou Sant-anna
91cebc4f85 [Processing][needs-docs] Improve some vector overlay algorithms description
* Some algorithms used almost the same label for the second layer and the output one (eg, "difference layer" vs "difference"), making hard to understand the description, in English and once translated.  Overlay label is now used to name the second layer, matching the parameter identifier
* Add more details to description and try to harmonize as far as possible (more convenient for readers and translators)
* The union algorithm behavior changed deeply but its description got no updates
2018-08-31 12:45:08 +10:00
Nyall Dawson
e0fa9eb9cf Add QStringLiteral(), QStringLiteral( "" ) and QLatin1String( "" )
to banned keywords

And replace use with QString()
2018-08-31 12:31:27 +10:00
Nyall Dawson
07037ec44a Fix some warnings 2018-08-31 10:44:51 +10:00
Matthias Kuhn
948a312acb Better error message 2018-08-31 09:59:15 +10:00
Luigi Pirelli
a092823eab
Merge pull request #7747 from cjmayo/check_init_py
Mark a Python plugin without an __init__.py as broken
2018-08-30 23:53:48 +02:00
Nyall Dawson
d683550b88 Fix crash when tasks are canceled before starting
Avoids an attempt to unlock an already unlocked mutex,
which causes a crash. Should fix a number of crash report
tickets...
2018-08-31 06:52:23 +10:00
Chris Mayo
051e4d1c02 Mark a Python plugin without an __init__.py as broken
utils.findPlugins() checks for the existence of an __init__.py which
results in an attempt to enable a plugin without an __init__.py being
blocked with the only notification being a message in the Plugins log:

WARNING    Plugin "<name>" is not compatible with this version of QGIS.
             It will be disabled.

This is not very informative, especially because it is the same message
used for a metadata version mismatch.

Adding this check to Plugins.getInstalledPlugin(), which already
duplicates the metadata checks from utils.findPlugins(), results in the
plugin being marked as broken in the Plugins dialog.
2018-08-30 19:32:53 +01:00
Luigi Pirelli
123f694013
Merge pull request #7742 from agiudiceandrea/fix-equals-SpatialJoin
[processing] Fix 'equals' predicate in SpatialJoin and SpatialJoinSummary
2018-08-30 16:10:14 +02:00
Loïc Bartoletti
a7b6bdba8c use epsg and fix circularstring test on linux 2018-08-30 10:01:50 +02:00
Andrea Giudiceandrea
e56da0e58a
Add test for Join by location (equals)
Adds a test for "Join attributes by location" processing algorithm 'equals' predicate
2018-08-30 09:59:26 +02:00
Harrissou Sant-anna
00b0e3b0bc [needs-docs] Fix parameter's label and some distance default value
more coherent with meters
2018-08-30 05:10:42 +10:00
Harrissou Sant-anna
4e1d29ee24 [Processing][Needs-docs] Allow optional "value" in "select by attribute" algorithm
because it's not needed to run null checks (fixes #19469 which is actually reported in the wrong way)
2018-08-30 05:10:21 +10:00
Nyall Dawson
e5e14dd680 Fix is_closed (and other expression functions) fail with multi* input geometries
Fixes #19704
2018-08-29 14:52:39 +10:00
Andrea Giudiceandrea
afcf048e23
Fix 'equals' predicate in SpatialJoinSummary
This fixes a typo in SpatialJoinSummary.py "Join attributes by location (summary)" algorithm that prevents the 'equals' predicate to work
2018-08-29 01:09:53 +02:00
Andrea Giudiceandrea
abd4d0ee11
Fix 'equals' predicate in SpatialJoin
This fixes a typo in SpatialJoin.py "Join attributes by location" algorithm that prevents the 'equals' predicate to work
2018-08-29 01:07:08 +02:00
Andrea Giudiceandrea
99696b6ee1 Fix Virtual layers display with empty subsetstring
Fixes #19721

Virtual layers incorrectly show no feature when the expression filter string is empty, instead of correctly showing all the features.

Subset string needs to be tested against Empty instead of Null in order to correctly populate the wheres list and prepare a well formed SQL query string.
2018-08-29 03:43:46 +10:00
rldhont
65f4bf1956
Merge pull request #7514 from rldhont/server-cache-manager
[Server][Feature][needs-docs] Server cache manager and WMTS service
2018-08-28 18:05:42 +02:00
Luigi Pirelli
6aa36166e4 adapted tests to new variables added in expressionContext 2018-08-28 17:06:10 +02:00
Luigi Pirelli
9e2286ae98 fix layer mapping in case direct use NOT in a model 2018-08-28 17:06:10 +02:00
Luigi Pirelli
d3144b97af remove unused method 2018-08-28 17:06:09 +02:00
Luigi Pirelli
6a2934cfa3 use complete layerSource instead of only basename 2018-08-28 17:06:09 +02:00