46822 Commits

Author SHA1 Message Date
Denis Rouzaud
6250b216b1 fix Dockerfile path 2018-04-02 09:37:53 -04:00
Salvatore Larosa
5810236c19 show search icon in filter line edit 2018-04-02 10:07:40 +02:00
Nyall Dawson
a82bffcc72 String capitalization 2018-04-02 17:57:03 +10:00
Nyall Dawson
ad3f1781d7 [processing][needs-docs] Rename "Add Script from Template" to
"Create New Script from Template"
2018-04-02 17:57:03 +10:00
Nyall Dawson
e51863487a Add beginning of unit tests for QgsLayerTreeView 2018-04-02 14:02:15 +10:00
nirvn
d98af7a1e3 Mark project as dirty when changing CRS of layers 2018-04-02 10:20:49 +07:00
Harrissou Sant-anna
27527a55c4 Add ellipsis to buttons label 2018-04-02 13:18:39 +10:00
Harrissou Sant-anna
76bbadbcd5 Fix indentation 2018-04-02 13:18:39 +10:00
Harrissou Sant-anna
f723fb7209 Fix indentation 2018-04-02 13:18:39 +10:00
Harrissou Sant-anna
035b3a7787 [needs-docs] Refactoring layout Manager dialog 2018-04-02 13:18:39 +10:00
Andreas Sturmlechner
f6292d6442 Fix build with Qt-5.11 (missing headers)
(forward-port from 30a8c0f4746891ff8583ac5dc81e2ce9d7157f30)
2018-04-02 11:24:48 +10:00
Nyall Dawson
1fa7e2160c Fix string capitalization, missing ellipsis 2018-04-02 11:23:05 +10:00
Nyall Dawson
ff2ee0bc6f Use QgsTemporaryCursorOverride in layout designer 2018-04-02 10:23:54 +10:00
Nyall Dawson
83f5486681 Support canceling network content fetching tasks 2018-04-02 08:42:21 +10:00
Nyall Dawson
149ccf2729 Fix intermediate 100% download progress reports caused by redirects 2018-04-02 08:42:21 +10:00
Nyall Dawson
e2f09fa662 Add a QgsTask for fetching network content
Provides a simple method for fetching remote HTTP
content in a QgsTask. Utilises QgsNetworkContentFetcher so
Url redirects and progress reports are automatically handled.
2018-04-02 08:42:21 +10:00
Nyall Dawson
bcf57c3356 Add method for QgsNetworkContentFetcher to fetch using request instead of url 2018-04-02 08:42:21 +10:00
matteo
11c0e562bf fix indentation 2018-03-31 18:30:40 +11:00
matteo
925d45dffb new LoadFromTemplate action in toolbar dropdown 2018-03-31 18:30:40 +11:00
matteo
deaeaa6e97 remove useless action from script editor 2018-03-31 18:30:40 +11:00
matteo
61c3b485ef remove load template button action and fix double separator 2018-03-31 18:30:40 +11:00
matteo
33caf9b95b remove useless image 2018-03-31 18:30:40 +11:00
matteo
0abd3fd226 add shortHelpString in script template 2018-03-31 18:30:40 +11:00
matteo
966bb1734f Renamed script_template.py to ScriptTemplate.py 2018-03-31 18:30:40 +11:00
matteo
b72f0f0e90 Minor changes in Dialog 2018-03-31 18:30:40 +11:00
matteo
ca210dcad7 removed useless dots in UI 2018-03-31 18:30:40 +11:00
matteo
cdac11f132 Typo and remove shortcut 2018-03-31 18:30:40 +11:00
matteo
78ce8dde32 other indentation fixes 2018-03-31 18:30:40 +11:00
matteo
4f55c29cab fix indentation 2018-03-31 18:30:40 +11:00
matteo
4fe067a22c script template with basic function 2018-03-31 18:30:40 +11:00
matteo
46d59b7177 [processing][feature] load default script from template 2018-03-31 18:30:40 +11:00
Salvatore Larosa
1a74b0a021 fix warning 2018-03-30 11:22:32 +02:00
Blottiere Paul
4be8baa683
Merge pull request #6679 from pblottiere/bugfix_will_render_feature
[bugfix] Fixes identify action on deactivated rules for QgsRuleBasedRenderer
2018-03-30 09:08:11 +01:00
Mathieu Pellerin
13d0556ac6
[FEATURE][needs-docs] Custom SVG path and size for the north arrow decoration (#6715) 2018-03-30 12:13:44 +07:00
Nyall Dawson
8ebd47bfb2 [needs-docs] Drop unused/misleading 'tolerance' setting from topology
checker

Fixes #9621
2018-03-30 14:03:08 +11:00
Nyall Dawson
d9e9f2abac Fix tests 2018-03-30 09:01:21 +11:00
Nyall Dawson
95d2a27cbf Split QgsVectorFileWriter writeAsVectorFormat into two methods
to allow correct thread-safe usage

There is now a prepare method, which must be run on the main
thread and which prepopulates feature iterators and clones
renderers, and a separate write method which is safe to
execute on background threads (e.g. tasks)

Fixes #18516
2018-03-30 09:01:21 +11:00
Nyall Dawson
5ecb7cc363 Use unique_ptr 2018-03-30 09:01:21 +11:00
Nyall Dawson
64707c1817 Always add a dummy atlas expression context scope to canvas expression
context

This allows the atlas variables to be correctly available before
an atlas has been first opened - e.g. for rules which render
when a feature is not the current atlas feature.

Otherwise these variables are NULL, which creates confusing behavior
when rendering differences occur before/after an atlas is opened.
2018-03-30 09:00:42 +11:00
Nyall Dawson
f02602b9bb [needs-docs] geometry smooth algorithm now also retains and smooths z/m values
...instead of just discarding them

Applies to processing algorithm and expression function (and
QgsGeometry::smooth method)
2018-03-30 08:59:00 +11:00
Nyall Dawson
bf252d68d2 Fix enum comparison warning 2018-03-29 22:29:05 +11:00
Nyall Dawson
b805b60389 Test masks 2018-03-29 19:50:44 +11:00
Nyall Dawson
3f733e7061 Use a checkerboard background in svg cache tests 2018-03-29 19:50:44 +11:00
Nyall Dawson
c71347c327 Indentation 2018-03-29 19:50:44 +11:00
Nyall Dawson
d3aae3f5b6 Allow remote SVG files with text/plain MIME type, instead of only
valid image/svg+xml mime types

This allows users to link to SVG files hosted on github, where
the raw content is served up as plain text.
2018-03-29 19:50:44 +11:00
Nyall Dawson
50241dcba4 More helpful log message when svg requests fail 2018-03-29 19:50:44 +11:00
Nyall Dawson
77941442c7 When a remote SVG is requested but fails, use the missing SVG icon
as an indicator for users that something went wrong

This was previously only used for replies with incorrect mime
types or authentication errors, but it meant that an incorrect
SVG url would silently result in no symbols rendered.

Also add unit tests for fetching remote svg images
2018-03-29 19:50:44 +11:00
Blottiere Paul
810e531bfc Add documentation for onlyActive parameter 2018-03-29 08:51:03 +01:00
Nyall Dawson
5d4e1bb31f Add intersection/tangent methods to QgsCircle 2018-03-29 17:40:40 +11:00
Mathieu Pellerin
716ba9befe
[needs-docs] Add a "save selected features as" layer item shortcut 2018-03-29 10:34:49 +07:00