56026 Commits

Author SHA1 Message Date
Alexander Bruy
c0c16cdd31 additional parameters for gdaladdo algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
45b12a7e5c support for additional command line parameters and creation options in
the fillnodata algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
18a56f97e0 allow pass additional parameters in the contour algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
c64c2948d9 fix not used creation options parameter in the color relief algorithm and
allow to pass additional command line parameters to it
2019-06-25 09:59:50 +03:00
Alexander Bruy
0128135c64 allow to pass additional parameters to the clip raster by mask algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
d40d040ebe allow to pass additional parameters to the clip raster by extent
algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
7c06db6d7b allow to pass additional command-line parameters to aspect algorithm 2019-06-25 09:59:50 +03:00
Matthias Kuhn
c0643680cf
Merge pull request #30363 from m-kuhn/no_hide_toolbars_qgis_welcome_page
Revert "Hide panels and toolbars on welcome page"
2019-06-25 08:45:57 +02:00
nirvn
eb28199ad0 [FEATURE][raster] Customizable default resampling settings for newly-added raster layers 2019-06-25 12:18:08 +07:00
nirvn
ffb123c6ca [testcase] Properly test resizing of locked scale map canvas 2019-06-25 09:47:48 +07:00
Alessandro Pasotti
a843288f61
Merge pull request #30354 from elpaso/gps-time
GPS timestamp support
2019-06-24 18:49:51 +02:00
Alessandro Pasotti
9b1d08009d Fix bindings 2019-06-24 17:57:23 +02:00
Matthias Kuhn
674e5d728f Revert "Hide panels and toolbars on welcome page"
This reverts commit 573d5a0318e515d58a7ccbca486619533fc5fd44.

Fix #30353
2019-06-24 16:33:46 +02:00
Matthias Kuhn
a812bee24a
Merge pull request #30325 from m-kuhn/clang_tidy_f
Apply clang-tidy fixes
2019-06-24 16:11:33 +02:00
rldhont
15961c2207 Fix SIP file not up to date: core/auto_generated/qgsfieldproxymodel.sip
Introduced by 39fb9ce84a4b1743ddccb6a2cf842f06d17eb124 Merge branch 'master' into on-screen-navigation
2019-06-24 15:41:27 +02:00
nirvn
2b1ddfa4c9 [map canvas] Fix scale change when resizing in locked scale mode 2019-06-24 20:27:01 +07:00
Nyall Dawson
dacd1649a3 Fix missed icon change 2019-06-24 22:16:55 +10:00
Martin Dobias
39fb9ce84a
Merge branch 'master' into on-screen-navigation 2019-06-24 13:09:41 +02:00
Alessandro Pasotti
7db0cca900 Use QgsFieldComboBox instead of a plain combo 2019-06-24 12:35:10 +02:00
Alessandro Pasotti
f220a7f580 Remove redundant checks and apply recommendations 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
8a87a106ce Code polishing (fix warnings and log error messages) 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
020154ccf3 Save time with localtime and tz options
This will save a wrong time in most TZ aware
storages when an option different than UTC
is chosen, but we have no way to know that
from the widget.
2019-06-24 12:11:51 +02:00
Alessandro Pasotti
680d935852 Add tests for linestring and leap seconds 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
ae91fb288f Fix cast warnings 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
538e294280 Fix preferred fields storage 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
5c6223c2bf GPS timestamp support with tests 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
3b8e15d0c5 Added GPS timestamp options 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
5a648eecba Internally store last GPS time 2019-06-24 12:11:51 +02:00
Alexander Bruy
ff24ab53ef outputs can not be advanced 2019-06-24 20:09:57 +10:00
Alexander Bruy
625cc01fc3 [processing][feature][needs-docs] allow to define model parameters as
advanced
2019-06-24 20:09:57 +10:00
Nyall Dawson
42562c6226 Add DateTime filter support to QgsFieldProxyModel 2019-06-24 20:09:37 +10:00
Nyall Dawson
49731f21ec Add note about new nmea upstream 2019-06-24 19:29:02 +10:00
Matthias Kuhn
2139047d78
Merge pull request #30346 from nyalldawson/templates
Project Templates fixes
2019-06-24 09:58:29 +02:00
nirvn
30cee81fa7 [ui] Fix color ramp shader widget auto label function 2019-06-24 12:18:01 +07:00
nirvn
5135c0e60a [ui] When the color ramp shader widget list of values has been
customized, maintain those values when modifying the color ramp
(fixes #30345)
2019-06-24 12:18:01 +07:00
Nyall Dawson
da87731b18 Scroll-per-pixel on welcome page
Makes for a smoother experience
2019-06-24 13:58:12 +10:00
Nyall Dawson
5c751c44e9 Fix error message when double-cliking the 'empty project' action on the welcome screen 2019-06-24 13:58:12 +10:00
Nyall Dawson
9ab1b3e1ed Fix duplicate "save as template" action being shown under the
"Open Project From" menu item
2019-06-24 13:58:12 +10:00
Nyall Dawson
8663011287 Don't mark projects created from a template as immediately dirty
Creating a new project from a template shouldn't prompt users to
save it if they immediately close the new project without changes
2019-06-24 13:58:12 +10:00
Nyall Dawson
200c871c24 [needs-docs] Tweak "delete selected" icon
This action operates on a selection of features, so should have
the yellow square indicator to hint this to users
2019-06-24 13:51:15 +10:00
Alexander Bruy
94ec2dc72c
Merge pull request #30333 from alexbruy/postgis-layer
[processing] remove trailing semicolon from SQL before creating a layer (fix #30239)
2019-06-23 09:42:10 +03:00
Alexander Bruy
3039aeabd7
Merge pull request #30331 from alexbruy/random-points
[processing] assign correct ids to features in the random points in polygons algorithm (fix #26321)
2019-06-23 09:41:46 +03:00
Alexander Bruy
1f20e9121f
Merge pull request #30329 from alexbruy/grass-rstreams
[processing] set correct default for r.stream.extract algorithm (fix #30231)
2019-06-23 09:41:07 +03:00
Even Rouault
60b30246cd QgsApplication::init(): fix a use-after-free with PROJ 6
`var = some_string.toUtf8().constData()` results in a use-after-free
situation, so make a temporary copy of the string.
This resulted in proj.db not being found on my system due to corrupted
memory being passed to PROJ. And Valgrind also complained about this:

==11754== Invalid read of size 1
==11754==    at 0x4C31042: strlen (vg_replace_strmem.c:461)
==11754==    by 0xA6DE536: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25)
==11754==    by 0x173E1A1F: _ZN9__gnu_cxx13new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE9constructIS6_IRKPKcEEEvPT_DpOT0_ (new_allocator.h:120)
==11754==    by 0x173E17C1: _ZNSt16allocator_traitsISaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE9constructIS5_IRKPKcEEEvRS6_PT_DpOT0_ (alloc_traits.h:530)
==11754==    by 0x173E184D: void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_emplace_back_aux<char const* const&>(char const* const&) (vector.tcc:416)
==11754==    by 0x173E1788: void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::emplace_back<char const* const&>(char const* const&) (vector.tcc:101)
==11754==    by 0x173E0D23: internal_proj_context_set_search_paths (open_lib.cpp:133)
==11754==    by 0x363A8516: QgsApplication::init(QString) (qgsapplication.cpp:316)
==11754==    by 0x363AF666: QgsApplication::initQgis() (qgsapplication.cpp:1171)
==11754==    by 0x3D814625: meth_QgsApplication_initQgis (sip_corepart1.cpp:292121)
==11754==    by 0x4EA10E: PyCFunction_Call (in /usr/bin/python3.5)
==11754==    by 0x536D93: PyEval_EvalFrameEx (in /usr/bin/python3.5)
==11754==  Address 0x30aa7348 is 24 bytes inside a block of size 128 free'd
==11754==    at 0x4C2EF90: free (vg_replace_malloc.c:540)
==11754==    by 0x32FA519A: QTypedArrayData<char>::deallocate(QArrayData*) (qarraydata.h:237)
==11754==    by 0x32F9F09A: QByteArray::~QByteArray() (qbytearray.h:462)
==11754==    by 0x363A84AE: QgsApplication::init(QString) (qgsapplication.cpp:313)
==11754==    by 0x363AF666: QgsApplication::initQgis() (qgsapplication.cpp:1171)
==11754==    by 0x3D814625: meth_QgsApplication_initQgis (sip_corepart1.cpp:292121)
==11754==    by 0x4EA10E: PyCFunction_Call (in /usr/bin/python3.5)
==11754==    by 0x536D93: PyEval_EvalFrameEx (in /usr/bin/python3.5)
==11754==    by 0x53FC96: ??? (in /usr/bin/python3.5)
==11754==    by 0x53B83E: PyEval_EvalFrameEx (in /usr/bin/python3.5)
==11754==    by 0x53FC96: ??? (in /usr/bin/python3.5)
==11754==    by 0x5409BE: PyEval_EvalCode (in /usr/bin/python3.5)
==11754==  Block was alloc'd at
==11754==    at 0x4C301AF: realloc (vg_replace_malloc.c:836)
==11754==    by 0x31C05A08: QArrayData::reallocateUnaligned(QArrayData*, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) (in /opt/qt59/lib/libQt5Core.so.5.9.1)
==11754==    by 0x31C0834E: QByteArray::reallocData(unsigned int, QFlags<QArrayData::AllocationOption>) (in /opt/qt59/lib/libQt5Core.so.5.9.1)
==11754==    by 0x31C08543: QByteArray::resize(int) (in /opt/qt59/lib/libQt5Core.so.5.9.1)
==11754==    by 0x31E406FA: ??? (in /opt/qt59/lib/libQt5Core.so.5.9.1)
==11754==    by 0x31C8826F: QString::toUtf8_helper(QString const&) (in /opt/qt59/lib/libQt5Core.so.5.9.1)
==11754==    by 0x3507EDA5: QString::toUtf8() const & (qstring.h:516)
==11754==    by 0x363A8493: QgsApplication::init(QString) (qgsapplication.cpp:313)
==11754==    by 0x363AF666: QgsApplication::initQgis() (qgsapplication.cpp:1171)
==11754==    by 0x3D814625: meth_QgsApplication_initQgis (sip_corepart1.cpp:292121)
==11754==    by 0x4EA10E: PyCFunction_Call (in /usr/bin/python3.5)
==11754==    by 0x536D93: PyEval_EvalFrameEx (in /usr/bin/python3.5)
==11754==
2019-06-23 06:57:39 +10:00
Alexander Bruy
017f41f96c [processing] remove trailing semicolon from SQL before creating
layer (fix #30239)
2019-06-22 18:57:36 +03:00
Alexander Bruy
71fac3bbd2 [processing] assign correct ids to features in the random points in
polygons algorithm (fix #26321)
2019-06-22 16:58:56 +03:00
Alexander Bruy
53f1acd7bb [processing] set correct default for r.stream.extract algorithm (fix #30231) 2019-06-22 14:39:47 +03:00
Matthias Kuhn
ce2b2aeac3 More clang tidy fixes 2019-06-22 12:10:36 +02:00
Matthias Kuhn
d46f120351 Apply clang-tidy fixes 2019-06-22 11:51:50 +02:00
Matthias Kuhn
fbbf2e68ea
Merge pull request #30323 from m-kuhn/missing_include
Add missing include
2019-06-22 11:11:57 +02:00