49963 Commits

Author SHA1 Message Date
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
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
Luigi Pirelli
1bc1bb2f13 fix use layer source and managed string parsing in case of translation 2018-08-28 17:06:09 +02:00
Luigi Pirelli
faf9716a52 fix some code weakness and review comments 2018-08-28 17:06:09 +02:00
Luigi Pirelli
3a67c5d287 use QVariant::fromValue as suggested in review 2018-08-28 17:06:09 +02:00
Luigi Pirelli
5a3b319e1c change expression to use layers in the current execution scope 2018-08-28 17:06:08 +02:00
Luigi Pirelli
5ebe5d6c5b show variableDescription as shown in the list of variables 2018-08-28 17:06:08 +02:00
Luigi Pirelli
0acb766412 add model variables in expressionContext scope to be mapped in case used in symbolic formulas 2018-08-28 17:06:08 +02:00
rldhont
b3f9898ce7 [Server] Fix weird docs indetation 2018-08-28 14:26:18 +02:00
rldhont
6b8d04b081 [Server] Various code cleaning for server cache manager and WMTS service 2018-08-28 14:22:24 +02:00
rldhont
b82c30e2d6 [Server] Enhancing loop for 2018-08-28 14:17:10 +02:00
Denis Rouzaud
0475ff9e65 add layer filter in snapping configuration 2018-08-28 14:57:41 +03:00
Denis Rouzaud
2810c92f01
[mac] display icon in notification (#7734)
there is 2 icons in notifications, one from the app itself and one set from the notification
the icon application seems not to be set correctly on mac for now
only the windon icon is set in main.cpp with myApp.setWindowIcon
the icon defined in application plist does not seem to be correctly set
...so in this PR we set the notification icon to be the QGIS one, so it looks nicer
2018-08-28 14:56:22 +03:00
Nyall Dawson
5c7f13b3a4 Ensure context is passed with QTimer::singleShot 2018-08-28 18:43:48 +10:00
Peter Petrik
2855ccbeff add PeterPetrik to contributors map 2018-08-28 09:18:25 +02:00
Peter Petrik
d7afb710d7 [mesh] [feature] add opacity slider to mesh contours settings 2018-08-28 09:17:31 +02:00
Nyall Dawson
304033c916 [processing] Use distance parameter for Points Along Geometry offsets
and Topological Coloring distance parameters

Fixes #19712
2018-08-28 10:21:10 +10:00
Nyall Dawson
7a8bee2cec [processing] Reproject algorithm doesn't care about invalid features 2018-08-28 10:21:10 +10:00
Etienne Trimaille
98c51042f1 add myself to the map 2018-08-28 09:31:59 +10:00
Salvatore Larosa
8955684180 Fix the developers map in about dialog 2018-08-28 09:01:40 +10:00