48956 Commits

Author SHA1 Message Date
Chris Crook
3be864e369 Autopep fixes 2018-07-19 18:39:57 +10:00
Chris Crook
9488d14935 Astyle fixes 2018-07-19 18:39:57 +10:00
Chris Crook
b4f2069c6f Delimited text detectTypes flag - fixes #18601
[FEATURE] Adds a detectTypes flag to the delimited text provider url. If
set to "no" then type detection is not done and all attributes are
treated as text fields.  Otherwise the original behaviour of
detecting field types is preserved.

[needs-docs] Adds a "Detect field types" check box to the record and
field options section of the delimited text provider GUI.

This addresses (at least partially) issue #18601.  A more complete
solution would be to allow users to set field types.
2018-07-19 18:39:57 +10:00
nirvn
8f5d968847 [maptips] do not render tips if the layer is not rendered 2018-07-19 14:22:40 +07:00
nirvn
68290a2ddc [maptips] fix font not respecting user settings
(this is important for non-Latin users out there)
2018-07-19 14:22:40 +07:00
Alessandro Pasotti
1c9b65dfc0
Merge pull request #7411 from elpaso/hillshade-fast
Hillshade renderer speed improvements
2018-07-19 08:08:54 +02:00
Nyall Dawson
e6af079e18 [layouts] More helpful error messages 2018-07-19 15:12:44 +10:00
Nyall Dawson
549820428e [layouts] Fix export to pdf reports a print error instead of a file error on inaccessible file names 2018-07-19 15:12:44 +10:00
Nyall Dawson
3abbb47527 [layouts] Better error messages when atlas exports fail, hinting that path may be invalid and using correct file format 2018-07-19 15:12:44 +10:00
nirvn
516705417d [maptips] optimize feature fetching, avoid long freeze 2018-07-19 08:45:39 +07:00
nirvn
3e6db63ca4 [maptips] fix additional wrongly sized widget scenarios 2018-07-19 08:45:39 +07:00
nirvn
95e62036ae [maptips] fix 0,0 size by resizing widget to content when html loaded 2018-07-19 08:45:39 +07:00
nirvn
6ffa39d750 [maptips] iterate through all matching features within radius
and return first not empty string
2018-07-19 08:45:39 +07:00
Nyall Dawson
c65afbdd97 [processing] Correctly handle layer type parameter values when
creating an algorithm dialog using processing.execAlgorithmDialog()
2018-07-19 07:22:06 +10:00
Nyall Dawson
7973408367 Fix potential crash in symbol list widget
Possible fix for a crash obtained with incomplete crash report
trace... but it doesn't hurt to be safe anyway and guard against
nullptr symbols.

Also safer memory management via unique_ptrs, which fixes a couple
of leaks in symbol handling.
2018-07-19 07:21:48 +10:00
Nyall Dawson
482d8feedb When there's no features to draw for a level based renderer, shortcut out of rendering 2018-07-19 07:21:31 +10:00
Matthias Kuhn
60d2cd3ca3
Merge pull request #7333 from Gustry/script_template
add warning about print() and how to load layers in Processing algs
2018-07-18 09:09:51 +02:00
Nyall Dawson
d43f1a2823 [processing] Allow models to have no group name set
This is supported by the toolbox now, so relax the requirement
that all models have a compulsory group name. If no group is set,
the model is shown directly under the Models node in the toolbox.

Also switch a warning from message box to message bar
2018-07-18 08:56:52 +10:00
Nyall Dawson
325f2a4622 [processing] Empty provider nodes should still be shown in toolbox,
unless a filter string is entered

This allows easier discoverability - e.g. without this, the model
and script nodes are hidden until models/scripts have already
been created.
2018-07-18 08:56:52 +10:00
Alessandro Pasotti
3d20cfef58
Merge pull request #7279 from tudorbarascu/tests
rework server test to use geopackage and qgz
2018-07-17 10:12:49 +02:00
Nyall Dawson
d27c1aa1e9 Replace clumsy string 2018-07-17 16:26:24 +10:00
Alessandro Pasotti
3138339f6f Revert "Hillshade: added note about artifacts"
This reverts commit 0ac35a6747c110fd2ac88cc7b1eb8d92e7c8ab4f.
2018-07-17 08:08:11 +02:00
Nyall Dawson
61fbb5fdc3 Typo 2018-07-17 15:44:55 +10:00
Nyall Dawson
4012109b0a Fix race condition in stats summary dock 2018-07-17 15:44:55 +10:00
Nyall Dawson
367ab20cc0 Fix some lint warnings 2018-07-17 15:44:55 +10:00
Nyall Dawson
a24c9e1ed0 If layer changes in stats summary dock, reset field to empty
This prevents a stats gatherer task immediately firing off
on a random field. Otherwise if the current layer is removed
from the project, a new (random) layer will be selected
in the stats dock and a task will fire off gathering (unwanted)
stats for it. If multiple layers are removed this can trigger
many gatherers, all of which are unwanted.
2018-07-17 15:44:55 +10:00
Harrissou Sant-anna
77eafc0980 [Style Manager] Replace "All Symbols" by "All" label
because it's not only about symbols; color ramps are also "unfiltered"...
2018-07-17 09:17:21 +07:00
Nyall Dawson
d183f5f50c Capitalization 2018-07-17 09:34:53 +10:00
Juergen E. Fischer
a5c399e377 fix 97d28d4c6d 2018-07-17 00:33:42 +02:00
Loïc Bartoletti
720866c33f '...' -> '…' (proper ellipsis character instead of three dots) 2018-07-17 07:02:29 +10:00
Loïc Bartoletti
97c937f216 replace "Snap to 30° angles" by ""30, 60, 90, 120°..." etc.
improve readability
2018-07-17 07:02:29 +10:00
Loïc Bartoletti
2205ea644e try to fix test for travis 2018-07-17 07:02:29 +10:00
Loïc Bartoletti
8edfaa7b37 fix double 2018-07-17 07:02:29 +10:00
Loïc Bartoletti
72a73601cd add more common angles 2018-07-17 07:02:29 +10:00
Juergen E. Fischer
97d28d4c6d fix warning 2018-07-16 22:37:37 +02:00
Juergen E. Fischer
5d11388d13 fix msvc build 2018-07-16 22:32:11 +02:00
Juergen E. Fischer
6551913aa4 qspatialite: 'update' qt5 port (fixes #19419) 2018-07-16 22:10:57 +02:00
Nyall Dawson
0c1f89ccbc Cleaner code 2018-07-17 04:28:12 +10:00
Nyall Dawson
5a8619d356 Avoid double db close in offline editing plugin 2018-07-17 04:28:12 +10:00
Nyall Dawson
8bd0e7e6d8 Fix valgrind freed memory access warning in wfs provider test 2018-07-17 04:27:52 +10:00
Nyall Dawson
c910187e52 Protect spatialite connection (dis)connection with a mutex 2018-07-17 04:27:52 +10:00
Salvatore Larosa
55e340a6f7
Merge pull request #7419 from slarosa/fix_clang_build
fix build on osx
2018-07-16 14:05:55 +02:00
Salvatore Larosa
5a36a33bef fix build on osx 2018-07-16 12:20:59 +02:00
Nyall Dawson
0c62abed96
Merge pull request #7393 from ghtmtt/processing_sampling
[processing][FEATURE] Sample raster values to point
2018-07-16 18:49:30 +10:00
Alessandro Pasotti
c6068c824e Hillshade: log rendering time if main debug option is on 2018-07-16 09:33:35 +02:00
Alessandro Pasotti
0ac35a6747 Hillshade: added note about artifacts 2018-07-16 09:33:14 +02:00
Peter Petrik
f9fc708d97 update filters with new formats 2018-07-16 09:15:16 +02:00
Peter Petrik
14fa499ed3 [mesh] [MDAL] update to 0.0.4: add support for GRIB and XMDF formats 2018-07-16 09:15:16 +02:00
Matteo Ghetta
14c74d88c8
Merge branch 'master' into processing_sampling 2018-07-16 08:33:59 +02:00
matteo
1a0d0dbb3f fix exception? 2018-07-16 08:01:02 +02:00