53545 Commits

Author SHA1 Message Date
donvincenzo
e4e0948a3d Add actionVertexToolActiveLayer to iface 2019-02-07 11:17:56 +11:00
Andrea Giudiceandrea
daab33c4d7 New Shapefile Layer: reorganise additional dimensions checkboxes
because shapefiles could only be
- plain X,Y
- with M values: X,Y,M
- with Z and M values: X,Y,Z,M
2019-02-07 08:51:37 +11:00
Matthias Kuhn
31ab3bb5d1
Merge pull request #9115 from m-kuhn/wmts-getcapabilities-compat
Append ? to WMTS GetCapabilities
2019-02-06 22:01:53 +01:00
Matthias Kuhn
76ac0f1f3c
Even more test fixes 2019-02-06 20:07:10 +01:00
Matthias Kuhn
0629a1b6da
More test fixes 2019-02-06 20:06:53 +01:00
Matthias Kuhn
a13e50270e
Fix test 2019-02-06 18:21:55 +01:00
Matthias Kuhn
3564838ef2
Fix test 2019-02-06 18:21:29 +01:00
Nyall Dawson
d92f9e79f7 Fix some hidpi layout issues in options dialog 2019-02-07 04:14:16 +11:00
Nyall Dawson
2c64cece0d [browser] Avoid always opening every file using gdal to test for
update capabilities

This is no longer required - it was previously done in order to
detect if the item should expose the SetCrs capability, but
that's deprecated and unused.

Fixes #16807, fixes #20411, and avoids QGIS opening every file encountered in
the browser even when the Data Source setting is set to the
default (fast) "Check Extension" setting only.
2019-02-07 04:14:16 +11:00
Nyall Dawson
d61694cb42 Deprecate QgsDataItem API for setting item CRS
This is no longer used by QGIS (it was only ever used by the standalone
browser)
2019-02-07 04:14:16 +11:00
Nyall Dawson
b581a084e1 Silence some noisy debug messages 2019-02-07 04:14:16 +11:00
Nyall Dawson
eab1c31f86 Remove space before line number in log messages
Because this means you can copy the filename:linenumber combo and
enter it directly in QtCreator's locator without having to manually
remove that extra space.

It's the little things...
2019-02-07 04:14:16 +11:00
Matthias Kuhn
2745dfe4bf
Merge pull request #9110 from m-kuhn/sip-no-default-parameter-override
Do not remove parameters from virtual methods which should be used in…
2019-02-06 17:13:51 +01:00
Matthias Kuhn
db15057732
Merge pull request #9112 from m-kuhn/sip-keep-reference-to-registry
Sip keep reference to registry
2019-02-06 17:13:17 +01:00
Matthias Kuhn
5dd8388469
Append ? to WMTS GetCapabilities
This makes WMTS behave equal to the WMS implementation which already appends a ? in case there is no query string supplied.

Some parsers rely on a terminating ? to work properly.
2019-02-06 16:09:34 +01:00
Matthias Kuhn
b2aed603f1
Add registry keepreference test 2019-02-06 12:18:41 +01:00
Matthias Kuhn
89ea819938
Make sure Python wrappers of quasi-singletons are kept alive
If they are deleted, any other python wrappers which have been parented to these singletons are deleted too.

One of the most common issues with this is, that subclasses of registry items are deleted and lost.
2019-02-06 12:18:41 +01:00
nirvn
87a1cb55c7 [themes] Properly style autoRaise state in Night Mapping 2019-02-06 17:57:37 +07:00
nirvn
c1e62ed2f9 [themes] Properly style autoRaise state in Blend of Gray 2019-02-06 17:56:48 +07:00
Even Rouault
1699d1efbf
Merge pull request #9105 from rouault/fix_20865
Ensure stability of QGIS FeatureId when reloading layer [WFS provider]
2019-02-06 11:54:36 +01:00
nirvn
fc238a7236 [themes] Better style tool buttons in the tab bar for Blend of Gray 2019-02-06 17:27:33 +07:00
Even Rouault
e19bf11f9e
[WFS provider] Ensure stability of QGIS FeatureId when reloading layer (fixes #20865) 2019-02-06 10:44:52 +01:00
Matthias Kuhn
1a87fce33c
Do not remove parameters from virtual methods which should be used in python
These methods did not actually override their parent methods but just coexisted and were never called.

Fixes compilation with SIP version: 4.19.14
2019-02-06 10:29:26 +01:00
Matthias Kuhn
7f0ab8b9ff
Merge pull request #9103 from m-kuhn/constFeatureInLabeling
Const correctnes for QgsFeature in labeling
2019-02-06 08:35:11 +01:00
Nyall Dawson
14db13780c Resurrect dedicated action to create virtual layers in main window
This was removed when the data source manager was created, but
new virtual layers are a "creation" action, so it belongs alongside
the other "Create" actions like new shapefile, new gpkg, etc

It "feels" more natural then using the open data source dialog
to create a new virtual layer
2019-02-06 17:59:19 +11:00
Alessandro Pasotti
e4df72ee3f
Merge pull request #9086 from elpaso/bugfix-21151-db-manager-comments-armageddon
Quick and dirty patch to DB-Manager after PR 8831
2019-02-06 07:46:27 +01:00
Etienne Trimaille
a302925a97 allow QGZ files in selections 2019-02-06 11:40:25 +11:00
Matthias Kuhn
d2885607bd
Banned keywords 2019-02-05 18:49:17 +01:00
Nyall Dawson
06d5b996bf [processing][gdal] Fix polygonize field name is ignored 2019-02-06 04:16:40 +11:00
Matthias Kuhn
5f1cea13c7
Add docstrings and modernize code 2019-02-05 17:57:27 +01:00
Matthias Kuhn
4612521c50
Const correctnes for QgsFeature in labeling
A feature is not modified while it's sent through the labeling pipeline.
2019-02-05 17:16:23 +01:00
Nyall Dawson
62e09d9467 [processing] If model name starts with a digit, we need to remove that when generating a class name 2019-02-05 22:45:43 +11:00
Alessandro Pasotti
33b8bbdff9 Astyle again 2019-02-05 11:59:14 +01:00
Alessandro Pasotti
185855b214
Merge pull request #9099 from elpaso/bugfix-21150-file-protocol-path-resolver
Strip file:// from local files path before resolving
2019-02-05 10:58:26 +01:00
nirvn
6413349ff1 follow up 4f77477 : fix hasty pasting error 2019-02-05 16:32:26 +07:00
nirvn
4f77477227 Fix relationship between scale<->extent in the save [canvas] as image/pdf dialog 2019-02-05 15:49:29 +07:00
Nyall Dawson
a97ce698e4 Allow maximum number of entries to show in relation reference widget
to be configurable via an advanced setting configuration option

In some circumstances 100 is not enough
2019-02-05 19:38:38 +11:00
Martin Dobias
ce8684d0aa Make coverage test happy 2019-02-05 09:07:58 +01:00
Martin Dobias
4f905cc2e8 [vertex tool] right-click to loop through editable features
Until now mouse right-click could only select and deselect the highlighted
feature to "lock" vertex tool (and numerical editor) to it, so that it is
easier to focus only on editing of the particular feature. It was however
still difficult to pick the right feature in case there were multiple
features in one location or very close to each other. This is now solved
by the fact that repeated right button clicks will loop through the editable
features. So if there are two features in one location (A, B) then repeated
right-clicks will select: A - B - nothing - A - B - nothing ...
2019-02-05 09:07:58 +01:00
Alessandro Pasotti
de5171ac89 Code style (I had autopep8 installed btw) 2019-02-05 08:38:40 +01:00
Alessandro Pasotti
22c22e8e5c Strip file:// from local files path before resolving
Fixes #21150 - Delimitedtext layer saves absolute path
when project in relative path mode
2019-02-05 08:29:38 +01:00
nirvn
c62a4ae012 [themes] Get rid of the check mark in combo box drop down lists 2019-02-05 14:01:27 +07:00
Nyall Dawson
eeff02fc14 [processing] Port matrix widget wrapper to newer c++ API
Allows matrix parameters to be correctly set for model child algorithms

Fixes #20914
2019-02-05 16:57:21 +11:00
Nyall Dawson
c6f3d5ff48 [processing][needs-docs] Make Find Projection algorithm simpler to use
We no longer require the seperate CRS parameter, because the extent
parameter contains the CRS information itself. This means the algorithm
is simplified to just picking the layer and drawing the desired area
on the canvas.
2019-02-05 16:55:54 +11:00
Nyall Dawson
c93775f6b1 [processing][gdal] Ensure that GDAL algs output the CORRECT
generated filename for outputs

Previously they were just echoing the input parameter value,
which isn't always a string and accordingly was broken for
temporary outputs. This caused models to break when the output
of a GDAL algorithm was used in a subsequent model step.
2019-02-05 16:55:34 +11:00
Nyall Dawson
f54f5a4fe7 [processing][gdal] Fix incorrect definition of gdal_warp extra_param parameter 2019-02-05 16:55:34 +11:00
Nyall Dawson
715395aa47 Fix incorrect 'not available in Python' dox 2019-02-05 13:46:34 +11:00
Tom Kralidis
fe82890055 [MetaSearch] OWS GetCapabilities checking regression (fixes #19787) [needs-docs] 2019-02-05 12:26:23 +11:00
Nyall Dawson
867e39947b Allow for exact calculation of symbol sizes with mixed layer units
Fixes #21143
2019-02-05 11:07:02 +11:00
Etienne Trimaille
427cb0b27a fix some HIG and add missing translations in dbmanager 2019-02-05 10:48:47 +11:00