46209 Commits

Author SHA1 Message Date
Nyall Dawson
703898e923 Update test masks 2018-02-25 12:47:58 +11:00
Nyall Dawson
094cef7140 Sipify and astyle 2018-02-25 08:22:14 +10:00
Salvatore Larosa
332c8a59b9 [processing] Fixes #18187: SAGA output extent values are not in the right order 2018-02-24 22:57:40 +01:00
Juergen E. Fischer
f97d9dc1a4 osgeo4w: ignore if there are no pyc to cleanup in postinstall
(cherry picked from commit af4cbe2db07c970a0df4668f86b12335e27667df)
2018-02-24 21:51:08 +01:00
Juergen E. Fischer
065dd1cf53 Revert "osgeo4w: also build pdb and corresponding package for releases"
This reverts commit 7efcfee28cc5ae454fd50b30263e85477a4fe9c0.

(cherry picked from commit 611fbff4901d74bfc942b21b083512f8f7a9f401)
2018-02-24 21:51:08 +01:00
Juergen E. Fischer
ec17f0fa34 fix release build on windows
(cherry picked from commit a0a0392159fba7639f4811f70826a2c6d66a13f9)
2018-02-24 21:51:08 +01:00
Juergen E. Fischer
b7f7bd106c debian packaging: fix release builds (followup 792c19ba7)
(cherry picked from commit 0def61c34151af0bff23e9ec5904240b36659445)
2018-02-24 21:51:08 +01:00
Nyall Dawson
033e2e6436 Add unit test for calculator filter 2018-02-25 07:30:26 +11:00
Nyall Dawson
f0fcdb8517 [FEATURE][locator] Add quick calculator (expression evaluator) to
locator bar

Allows evaluation of simple expressions (well, actually ANY QGIS
expression... so you could use aggregates and the like if you
wanted!) by entering "= " followed by an expression into the
locator bar. If a valid expression is entered, the user is given
an option to copy the result to the clipboard

E.g. entering

"= 10/3" gives an entry "Copy '3.3333333' to clipboard".

Inspired by the same feature in Qt Creator 4.6
2018-02-25 07:30:26 +11:00
Alexander Bruy
f3af22e16e follow up f638b3cb 2018-02-24 20:28:22 +02:00
Alexander Bruy
f638b3cb52 [processing] fix wrong variable name in GDAL alggorithms base class 2018-02-24 19:51:34 +02:00
Alexander Bruy
725f36064c [processing][help] use helpId() when constructing anchor name (follow up 598b8a9c) 2018-02-24 18:24:31 +02:00
Alexander Bruy
598b8a9c41 [processing][help] use algorithm id as an anchor for help pages 2018-02-24 15:52:03 +02:00
Nyall Dawson
f35745fc70 Follow up map layer action changes
- Switch to flags instead of boolean argument
- Move logic for layer validity to canRunUsingLayer
- Add unit test

Also remove settings flag to hide duplicate features action
2018-02-24 20:15:13 +11:00
Nyall Dawson
1bada065ed [FEATURE][processing] Add 'Project points (cartesian)' algorithm
Projects points from an input point layer by a specified distance
and bearing (azimuth). Supports dynamic parameters for the distance
and bearing so that they can use field values or expressions.
2018-02-24 14:23:10 +11:00
Nyall Dawson
84c5089389
Merge pull request #6438 from lbartoletti/make_triangle
Add missing make_triangle function help. Fixes #16406
2018-02-24 10:47:27 +11:00
Nyall Dawson
8eaf0a410c
Merge pull request #6442 from tilmanb/patch-1
Update header comment to reflect actual file name
2018-02-24 10:46:57 +11:00
Nyall Dawson
669e754b82
Merge pull request #6366 from Gustry/materialized_view
add button to refresh a materialized view in browser [needs-docs]
2018-02-24 10:46:01 +11:00
Blottiere Paul
2de99fbfc4
Merge pull request #6439 from pblottiere/bugfix_server_selection
[server] Fixes issue when selecting multiple ids
2018-02-23 16:22:48 +00:00
tilmanb
176591b471
Update header comment to reflect actual file name
The filename in the top comment now matches the real file name.
2018-02-23 17:15:53 +01:00
Blottiere Paul
46eb6e34b2 Update mask image 2018-02-23 15:42:00 +00:00
Matthias Kuhn
c1ef8f0200
Merge pull request #6430 from signedav/uxduplication
Only enable duplication when layer editable
2018-02-23 11:38:53 -03:00
Blottiere Paul
42ca67e3fd Add test 2018-02-23 13:51:39 +00:00
Blottiere Paul
37b47c6a40 [server] Fixes issue when selecting multiple ids 2018-02-23 13:49:24 +00:00
Loïc Bartoletti
0dcea18929 Add missing make_triangle function help. Fix #16406 2018-02-23 14:32:43 +01:00
David
555cdf0a20 skip enabledOnlyWhenEditable from pyhton bindings
in the construtors of QgsAction and QgsMapLayerAction
2018-02-23 12:48:36 +00:00
Juergen E. Fischer
70c68df72a Bump version to 3.1 2018-02-23 13:10:59 +01:00
Juergen E. Fischer
6304adde7d changelog and news update for 3.0 2018-02-23 13:09:53 +01:00
Juergen E. Fischer
2646b590c4 translation update for 3.0 from transifex 2018-02-23 13:09:40 +01:00
David
55a8d41cdf document parameters 2018-02-23 11:46:47 +00:00
Martin Dobias
917c7b6f19 Do not auto-close vertex editor on any mouse click (ref #17243)
This is a partial fix for #17243 to improve usability of vertex editor panel.
Until now the vertex editor would get closed on any mouse click in mouse canvas,
making it quite annoying to work with it.

With this change, the vertex editor stays open until is is explicitly closed.
2018-02-23 11:33:33 +00:00
David
1875d4ad18 intagrated enumvalue IdentifyMode
used like SingleEditMode here
2018-02-23 11:03:12 +00:00
David
71d25c6853 style stuff 2018-02-23 10:33:32 +00:00
Alexander Bruy
131efbdd1e
Merge pull request #6367 from slarosa/fix_saga_osx
[processing] fix execution of SAGA algorithms under macos
2018-02-23 12:18:03 +02:00
Alexander Bruy
f93dc908fa
Merge pull request #6434 from alexbruy/python-console
[python console] remove 'u' prefixes from strings (fix #18171)
2018-02-23 12:17:43 +02:00
Salvatore Larosa
9a62305786
Merge pull request #5861 from signedav/bugFixSH01
Widget size handling in status bar
2018-02-23 11:12:17 +01:00
Salvatore Larosa
2d9ee3dcb0 [pyqgis-coonsole] APIs file updated 2018-02-23 11:06:49 +01:00
David
a11582f79c hide instead of disable
and use mode for identify - not to show the actions with isEnabledOnlyWhenEditable is active
2018-02-23 10:06:33 +00:00
Alexander Bruy
8d69dc1fb6 indentation 2018-02-23 11:43:32 +02:00
Borys Jurgiel
388cfb89bb
Merge pull request #6427 from Cracert/trans
[TRANSUP] pl: new translator
2018-02-23 09:40:24 +01:00
Alexander Bruy
7823025b8d [python console] remove 'u' prefixes from strings (fix #18171) 2018-02-23 10:39:08 +02:00
Alexander Bruy
a554409ede [processing] don't use scandir() to get directory contents (fix #18180) 2018-02-23 10:30:03 +02:00
Alexander Bruy
35cc4c902d
Merge pull request #6433 from alexbruy/hide-modeler-tools
[processing] hide 'Rename layer' and 'Load layer' algs from toolbox
2018-02-23 09:26:54 +02:00
Alexander Bruy
e59c264bfd [processing] hide 'Rename layer' and 'Load layer' algs from toolbox 2018-02-23 08:57:04 +02:00
Juergen E. Fischer
67a578f3dc fix df76bfc1 2018-02-23 07:40:14 +01:00
Alexander Bruy
673421b00d
Merge pull request #6423 from nyalldawson/proc_auto_select_alg
[processing] Some toolbox ux tweaks
2018-02-23 08:38:22 +02:00
Alexander Bruy
a5399def03
Merge pull request #6429 from nyalldawson/fix_18179
[processing] Fix config exception with INT/FLOAT settings
2018-02-23 08:35:55 +02:00
Nyall Dawson
08b75ec0f5 [layouts][needs-docs] Replace layout and report icons
The previous layout icon (a blank page) was too difficult to
distinguish from actions relating to pages themselves.

Also fix incorrect tooltips in report designer
2018-02-23 16:20:51 +11:00
Martin Dobias
64aa400ffc Respect selection in layers in vertex tool (fixes #17782) (#6421)
This fixes issues in situations when there are multiple vertices in one location:

1. when clicking a location, if there are selected features,
   the closest vertex from a selected feature will be used with priority.

2. when dragging a rectangle, if there is a selected feature,
   only vertices from selected features will be used.

If there is selection in any editable layers, but away from the location where
user clicked to pick vertex (or dragged rectangle to pick multiple vertices),
the existing vertex tool behavior is not affected (so it cannot happen that
vertex tool suddenly appears to have stopped working just because there is
selection somewhere possibly outside of the current map view).
2018-02-23 14:33:40 +10:00
Nyall Dawson
5114d6056b [layouts] Fix mouse event handling on rulers 2018-02-23 13:56:43 +10:00