48945 Commits

Author SHA1 Message Date
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
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
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
Nyall Dawson
7933c85126 Fix some crashes in processing toolbox model when loading/unloading plugins 2018-07-16 15:22:58 +10:00
Denis Rouzaud
5898854e98 copyed -> copied
also fix replacing word in interactive script
2018-07-16 07:10:36 +02:00
nirvn
53df974131 [processing] add a few more parameter tests to gdal's warp & translate algs 2018-07-16 11:53:02 +07:00
nirvn
e9b6da1c48 [processing] change nodata default to none instead of 0 in gdal's translate alg 2018-07-16 11:53:02 +07:00
nirvn
ab3a213596 [ui][processing] re-order gdal warp algorithm parameters so optional ones are at the bottom 2018-07-16 11:53:02 +07:00
nirvn
fe38f03d5d [processing] make target res. parameter optional in gdal's warp algorithm 2018-07-16 11:53:02 +07:00
nirvn
863a2f0fca [processing] make nodata parameter optional in gdal's warp algorithm 2018-07-16 11:53:02 +07:00
nirvn
fdaff06abf [processing] only set number min value as default if parameter is not optional 2018-07-16 11:53:02 +07:00
nirvn
6be71f0c86 [processing][ui] properly size qgis provider icon to fix algs list alignment 2018-07-16 10:56:19 +07:00