45559 Commits

Author SHA1 Message Date
Nyall Dawson
02bfe0a20c Drop default snap tolerance to 12 px 2018-01-30 18:31:02 +11:00
Nyall Dawson
67f2649315 Set default snapping tolerance to 15 pixels
Because 0 meter default is bad UX. Also update global_settings
ini with snapping settings.
2018-01-30 18:31:02 +11:00
Nyall Dawson
382ccfe48c Fix snapping default unit set to pixels is not respected 2018-01-30 18:31:02 +11:00
Mathieu Pellerin
eb42afed9b
add trandform context to QgsBearingUtils::bearingTrueNorth 2018-01-30 13:26:36 +07:00
Nyall Dawson
0a9f019f27 Indentation 2018-01-30 15:59:57 +10:00
Mathieu Pellerin
b0d19f74d7
[ui] use the expression icon for the rule-based renderer's rule panel 2018-01-30 11:33:09 +07:00
Nyall Dawson
aa327af7d8 Spelling 2018-01-30 14:26:12 +10:00
Nyall Dawson
9d2f1bb991 Unify behavior of Stats and Bookmark dock actions with other
actions for toggling dock visibility
2018-01-30 14:33:06 +11:00
Nyall Dawson
77e54d3502 [console] Make console action checkable, and bring behaviour into
line with style dock/processing toolbox

Where the action is checked only if the dock is open and user visible,
and checking the action brings hidden tabs to the foreground instead
of closing them.
2018-01-30 14:33:06 +11:00
Nyall Dawson
3c63e0b152 Fix non-map items show in layout 'reference map' widget 2018-01-30 13:03:02 +10:00
Nyall Dawson
eba7e7b8b4 Fix QgsRasterFileWriter::driverForExtension and extensionsForFormat
were skipping non-creatable datasets

And indicate in the docs that read-only datasets are also considered
2018-01-30 12:19:28 +11:00
Nyall Dawson
f37c2bf6f6 Revert "[needs-qa]Usr bin env" 2018-01-30 11:33:49 +11:00
Nyall Dawson
e5ab743d6d Revert "Linux perl; missing from last PR"
This reverts commit d2244b4a79311b4f0d56b68bc2d0a0108cc0fca4.
2018-01-30 11:32:55 +11:00
Loïc Bartoletti
d2244b4a79 Linux perl; missing from last PR 2018-01-30 08:43:58 +11:00
Nyall Dawson
878fb951a8 Simplify and optimise python list->QgsAttributes conversion 2018-01-30 06:15:51 +11:00
Nyall Dawson
22de251156 [processing] Correctly supress CRS selector dialog when testing
input layer validity

TODO: we NEED a non-hacky way to supress this dialog and allow
invalid CRS for layers!

Fixes #17948
2018-01-30 06:15:32 +11:00
Nyall Dawson
bbe974cdcb [layouts] Fix crash when using maps containing AMS layers
Implement a similar hack to what the canvas uses to workaround
the badly behaved AMS and WCS providers

Fixes #17959
2018-01-30 06:14:55 +11:00
Alexander Bruy
c10438e68a [processing] add missed parameter to warp algorithm 2018-01-29 18:48:08 +02:00
Denis Rouzaud
856442249c
Merge pull request #6072 from lbartoletti/usr_bin_env
[needs-qa]Usr bin env
2018-01-29 06:17:32 -09:00
lbartoletti
998c67d3ff Improve find of grass on FreeBSD 2018-01-29 03:39:06 -09:00
lbartoletti
378191d249 OpenBSD patch for PyQt5 2018-01-29 03:39:06 -09:00
lbartoletti
4c436e5d81 - Little modification to programmatically find grass version +Add
FreeBSD locale path
- Add missing includes in kpty
2018-01-29 03:39:06 -09:00
Loïc Bartoletti
8d4d08f8a0 Fix pathes for FreeBSD 2018-01-29 03:39:06 -09:00
Mathieu Pellerin
e0c12d519f
[processing] nodes -> vertices algorithm renaming
- "Extract nodes" renamed to "Extract vertices"
- "Extract specific nodes" renamed to "Extract specific vertices"
2018-01-29 19:16:43 +07:00
Alessandro Pasotti
a420d0410a
Merge pull request #6185 from elpaso/bugfix-17878-range-widgets-nulls
[bugfix] Fix minimum values for range widgets
2018-01-29 13:15:40 +01:00
lbartoletti
1ce7dbad94 Merge branch 'master' of https://github.com/qgis/QGIS into usr_bin_env 2018-01-29 13:13:03 +01:00
Alessandro Pasotti
741dddb4a7 Spelling 2018-01-29 11:45:02 +01:00
Ismail Sunni
d5126110b9 Fix order in XYZ connect dialog (fixes #17983) 2018-01-29 17:06:06 +07:00
Nyall Dawson
da4d937758 Correctly resolve paths for raster image fill symbol layers 2018-01-29 20:51:36 +11:00
Nyall Dawson
ec224117de Expose project QgsPathResolver to render context
So that it can be used when resolving paths to data defined
file-based settings, e.g. svg marker paths.

Fixes #17364
2018-01-29 20:51:36 +11:00
Nyall Dawson
cf3014ccf2 Fix QgsPathResolver resolving older style relative links (without
any ./ or ../ prefix)
2018-01-29 20:51:36 +11:00
Alessandro Pasotti
d717a078fb [bugfix] Tests for double range widget limits 2018-01-29 10:44:58 +01:00
pcav
5b8bea74a6 Merge branch 'master' of github.com:qgis/QGIS 2018-01-29 10:19:13 +01:00
pcav
3b39dcf401 Changed in in DB Manager 2018-01-29 10:18:52 +01:00
Blottiere Paul
aec399e785
Merge pull request #6142 from pblottiere/bugfix_transaction_constraints
Update all attributes in a single transaction
2018-01-29 08:19:16 +00:00
Alessandro Pasotti
cdf697d951
Merge pull request #6068 from elpaso/bugfix-17845-raster-transparency-from-display
[bugfix] Transfer focus to canvas when selecting transparency
2018-01-29 09:04:46 +01:00
Alessandro Pasotti
e2fcf704a7
Merge pull request #6174 from elpaso/bugfix-17958
[bugfix] Fix crash in node editor
2018-01-29 09:04:16 +01:00
Salvatore Larosa
aed5090cba fix iconsize for toolbars in georeferencer plugin 2018-01-29 09:00:53 +01:00
nirvn
51c5805e13 [raster] don't auto-classify upon customizing values tree (fixes #17102) 2018-01-29 14:56:44 +07:00
Blottiere Paul
e24b6bb119 Update sip binding 2018-01-29 07:17:33 +00:00
Blottiere Paul
414737d46f Fix typo in doc 2018-01-29 07:17:33 +00:00
Blottiere Paul
aed6608095 Add test 2018-01-29 07:17:33 +00:00
Blottiere Paul
c1fac42518 Update all attributes in a single transaction
Fixes #17869
2018-01-29 07:17:32 +00:00
Salvatore Larosa
77163ba0ec [processing] fix toggle advanced mode button in batch panel (#6193) 2018-01-29 08:12:30 +01:00
Nyall Dawson
a05d941e4e [processing] Default to allowing background execution of algorithms
Since the underlying issues with the Python bindings are now fixed,
in most cases we can safely default to allowing an algorithm to
run in a background thread!!

So now we make this the default, and require individual algorithms
which are NOT thread safe to declare this. This includes algorithms
which directly manipulate the current project or layers (such as
setting layer styles), alter the selections in layers, or which
rely on 3rd party libraries (for now, SAGA and GRASS algorithms
are marked as not thread safe... TODO - someone more familiar with
these libraries can investigate and remove the flag if appropriate).

Also models are marked as non-thread safe. TODO: only flag an
individual model as thread-unsafe if any of its child algorithms
report this flag.
2018-01-29 17:37:05 +11:00
Nyall Dawson
070e137c3d Update config format in search widget test 2018-01-29 17:36:37 +11:00
Nyall Dawson
234bc1a472 Fix value map widget broken when used as search widget
Fixes #17986
2018-01-29 17:36:37 +11:00
Salvatore Larosa
006ac70dee fix build on macos 2018-01-29 07:36:05 +01:00
Alexander Bruy
10fbe5c30a
Merge pull request #6200 from nyalldawson/non_file_default
[processing] Default to supporting non-file based outputs for providers
2018-01-29 08:35:21 +02:00
Nyall Dawson
5ab5d095e4 Attempt to fix #17783, window not activated on OSX after font dialog
displayed
2018-01-29 16:36:15 +11:00