61854 Commits

Author SHA1 Message Date
Nyall Dawson
872b4640c1 Revert "fix script path on windows"
This reverts commit aa1c3e11e84f77584e7cd835d896379aad81b284.

The change breaks a test
2020-04-06 10:42:43 +10:00
Juergen E. Fischer
c0df11bebb fix debian packaging and INSTALL (fixes 722dd8ad45b) 2020-04-05 18:26:45 +02:00
Juergen E. Fischer
aa1c3e11e8 fix script path on windows 2020-04-05 18:26:33 +02:00
Martin Dobias
64acffdf2e Fix spelling 2020-04-05 12:04:34 +02:00
Martin Dobias
ba4ceb4aed Add QgsAbstractProviderConnection subclass + provider metadata code 2020-04-05 12:04:34 +02:00
Martin Dobias
205b8aec30 Fix python provider test 2020-04-05 12:04:34 +02:00
Martin Dobias
c7380612cd Correct SIP fix + add src/gui/vectortile to doxygen 2020-04-05 12:04:34 +02:00
Martin Dobias
a4a61e039c Added missing references to sip files 2020-04-05 12:04:34 +02:00
Martin Dobias
36a26ee62d Support loading of VT from MBTiles by drag'n'drop and in browser
+ fix layer extent when reading vector tiles from MBTiles
2020-04-05 12:04:34 +02:00
Martin Dobias
0828c21291 Vector tiles browser integration (+gui to add/edit connections) 2020-04-05 12:04:34 +02:00
Peter Petrik
62bcc92339
MacOS CI (#35407)
[infrastructure] [macos] use QGIS-Mac-Packager dependencies to setup MacOS CI build with GitHub workflows. Use CMake's define QGIS_MAC_DEPS_DIR to define folder to dependencies
2020-04-05 10:51:00 +02:00
Nyall Dawson
0fe2ec2f70 Allow layout items to be created without rubber bands, e.g. so that
marker items are placed with a single click instead of click-and-drag
2020-04-05 14:23:22 +10:00
Nyall Dawson
632448c447 [FEATURE][layouts] New item type for marker symbols
Allows marker symbols to be placed directly on layouts, eg.
for manually placing markers over a map item or for creation
of advanced custom legends
2020-04-05 14:23:22 +10:00
uclaros
b48a5760be more missed spelling 2020-04-05 08:05:28 +10:00
uclaros
ad0e043161 Added test for QgsLayerTreeNode::depth() 2020-04-05 08:05:28 +10:00
uclaros
595b5dcb5b Changed to range based for. Also typo 2020-04-05 08:05:28 +10:00
uclaros
6aca7b6964 Added move to bottom in layertreeview context menu 2020-04-05 08:05:28 +10:00
uclaros
9d09998f4c ctrl-k should not perform a new search in locator 2020-04-05 08:04:15 +10:00
Nyall Dawson
596dbdbfb6 Fix simple and ellipse marker bound calculation ignores stroke width 2020-04-05 05:24:44 +10:00
Alexander Bruy
4cdeafe6a4 address comments 2020-04-05 05:23:29 +10:00
Alexander Bruy
f98a9e8445 add *.tmp to .gitignore 2020-04-05 05:23:29 +10:00
Alexander Bruy
997cebab1a [processing] enable multiple types selection for vector, feature source
and map layer parameters
2020-04-05 05:23:29 +10:00
Alexander Bruy
51cc5205a2 fix warnings 2020-04-05 05:23:29 +10:00
Alexander Bruy
076a0268ab cleanup imports 2020-04-05 05:23:29 +10:00
Alexander Bruy
91229e366a [processing] port map layer parameter definition widget to C++ 2020-04-05 05:23:29 +10:00
Alexander Bruy
4c4c2e34b7 [processing] port range parameter defintion widget to C++ and expose
missed number type and min/max options
2020-04-05 05:23:29 +10:00
Alexander Bruy
abe12c4cd4 [processing] port distance parameter definition widget to C++ 2020-04-05 05:23:29 +10:00
Alexander Bruy
ffd21f3ceb [processing] port scale parameter definition widget to C++ 2020-04-05 05:23:29 +10:00
Alexander Bruy
bae6d214d8 [processing] port number parameter definition widget to C++ 2020-04-05 05:23:29 +10:00
Alexander Bruy
7330ca8e37 [processing] port vector layer and feature source parameter definition
widgets to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
6f84358a9f [processing] port multiple layers parameter defintion widget to C++ 2020-04-05 05:23:29 +10:00
Alexander Bruy
ebd0a72025 [processing] port field parameter definition widget to C++, expose
defaultToAll option to modeler parameter definition dialog
2020-04-05 05:23:29 +10:00
Alexander Bruy
a2ed502cf5 [processing] port band parameter definition widget to C++, expose
option to define multiple bands parameter in modeler parameter defintion
dialog
2020-04-05 05:23:29 +10:00
Vincent Cloarec
0eaba81c38
[BUG][3D] fix 3D crash with measure line (#35412)
* fix 3D crash with measure line

* avoid non wanted windows opening of identify tool and measurment tool

* adds guard avoid crashing when closing settings

* spelling
2020-04-04 12:56:38 +02:00
Matthias Kuhn
3c643d9cbd
Merge pull request #35578 from basilrabi/rpmfix
[RPM] add build dependencies for vector tiles
2020-04-04 10:17:13 +02:00
Nyall Dawson
d69519a91e Move parameter retrieval logic from dialog to ParametersPanel
This is cleaner, because the panel owns all the wrappers required
to evaluate the parameter values
2020-04-04 17:58:55 +10:00
Nyall Dawson
a80bdc47e5 [processing] Add API and interfaces so that widget wrappers can retrieve the
current set of parameters for other parameters when required
2020-04-04 17:58:55 +10:00
Basil Eric Rabi
14748eece0
add build dependencies of #35341 2020-04-04 13:52:50 +08:00
Nyall Dawson
649e118bc1 Tweak auto field mapping logic 2020-04-04 13:22:44 +10:00
Nyall Dawson
9d1b55b55a QgsFieldMappingWidget is a QgsPanelWidget 2020-04-04 13:22:44 +10:00
Ismail Sunni
562b11fd9b
Filter out field with readonly in the quick field calculator.
Fix #34331
2020-04-04 10:11:23 +10:00
Alex
c796861b13
Correct table sorting for layout tables with limited number of rows
Fixes #35427
2020-04-04 10:06:57 +10:00
Nyall Dawson
85b2cf2775 Fix proj search paths are incorrectly set and missing the local profile proj
folder

This is a stupid stupid situation, but because of the mess which is
QGIS application initialization we have to be very careful that nothing
creates a QgsCoordinateReferenceSystem or QgsCoordinateTransform object
between the QgsApplication construction and the call to QgsApplication::init
with the correct profile path.

The QgsApplication constructor creates the members object which contains
singleton-ish things, and this CANNOT POSSIBLY be moved out of the
constructor. And since it's apparently impossible to know the correct profile
path at time of QgsApplication construction, we are left with the only
option of ensuring that NOTHING in the QgsApplication members creates
QgsCoordinateReferenceSystem or QgsCoordinateTransform objects (because if they
do, then the proj search paths can't correctly be set to the actual
profile path -- because until QgsApplication::init is called we don't
know what the profile path is)

Long story short: QgsTaskManager constructor was connecting to the QgsProject
instance, forcing early construction of QgsProject and a QgsCoordinateReferenceSystem
object as a result. F̶i̶x̶ gross hack around this by deferring the connection until
a task is actually created, by which time we e̶x̶p̶e̶c̶t̶ hope that the call to
QgsApplication::init has occurred...

This is all l̶o̶v̶e̶l̶y̶ a pile of s***, and needs to be re-thought for QGIS 4.0
2020-04-04 05:55:15 +10:00
Hugo Mercier
e8ec44df6c [virtual] Protect RTree filter in case of null geometry 2020-04-03 21:41:05 +02:00
Hugo Mercier
e028132445 [virtual] Fix creation of "_search_frame_" column (fixes #31356)
The "_search_frame_" hidden column should only be added for layers
with geometries.
It was the first column of the virtual table, it is now the last
2020-04-03 21:41:05 +02:00
Juergen E. Fischer
6c00667151 update INSTALL 2020-04-03 15:21:43 +02:00
Juergen E. Fischer
214e719f2d debian packaging: add protobuf dependencies 2020-04-03 14:58:21 +02:00
Harrissou Sant-anna
2b9c2626be Add missing versions of C++ API docs 2020-04-03 14:08:10 +02:00
Nyall Dawson
7dec917c4e Less auto 2020-04-03 21:21:14 +10:00
Nyall Dawson
fa0a6c37fb Fix field name loading following activity on master 2020-04-03 21:21:14 +10:00