53529 Commits

Author SHA1 Message Date
Ailurupoda
832eb40166 Another fix try 2019-02-07 16:59:12 +01:00
Ailurupoda
f27ecab62f Fix travis 2019-02-07 16:44:28 +01:00
Ailurupoda
e9e9fd322e Fixing travis layout 2019-02-07 15:35:16 +01:00
Ailurupoda
277d4fefae Fixing travis test 2019-02-07 13:10:37 +01:00
Ailurupoda
63c010dbb5 Fix create and delete comment from tableProperties 2019-02-07 09:56:48 +01:00
Ailurupoda
f3dfd97d90 New fix, still some need to be done 2019-02-06 17:37:48 +01:00
Ailurupoda
dff185355d Fix bug comment on postgres and others management 2019-02-06 10:53:56 +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
Etienne Trimaille
ac9c6f1e18 some minor code cleanup in dbmanager 2019-02-05 10:48:47 +11:00
Denis Rouzaud
fd42980892
fix error in scale optimization (#9081) 2019-02-04 15:25:44 -05:00
Nyall Dawson
384d310233 Minor improvements to PyQGIS returns for SIP_OUT params 2019-02-05 04:55:34 +11:00
Nyall Dawson
4b0f6b756c Slight improvements to Python docs 2019-02-05 04:55:34 +11:00
Alessandro Pasotti
cd6ce76480 Quick and dirty patch to DB-Manager after PR 8831
The "comments" PR 8831 added support for postgres only
(and broke all the others backends).

I'd be in favor of a revert of the whole original PR but
this patch restores functionality and could be an acceptable
temporary fix until the comments PR is reworked in a more
maintainable and elegant way.

Fixes #21151 btw
2019-02-04 18:26:24 +01:00
Alessandro Pasotti
109fcc0abc
Merge pull request #9070 from elpaso/bugfix-21121-opencl-16bit-raster
Fix hillshade renderer with data type != Float32 [opencl]
2019-02-04 11:01:56 +01:00
Alessandro Pasotti
3c9b6e5e4f
Merge pull request #9071 from elpaso/bugfix-21100-ogrprovider-missing-quoteidentifier
Quote field name identifiers in ORDER BY and MAX/MIN queries
2019-02-04 11:01:38 +01:00
Mathieu Pellerin
8ac762e5e1
[ui] Fix tiny vertex marker on hidpi 2019-02-04 16:43:04 +07:00
nirvn
41a04d0ab3 [ui] Improve 3D map scene config dialog (fixes #20685) 2019-02-04 15:48:42 +07:00
Hugo Mercier
ed45181bee
Merge pull request #9064 from mhugo/fix_20831
Avoid undefined behaviour with signed integer overflow
2019-02-04 08:29:36 +01:00
Alexander Bruy
e953141fe0
Merge pull request #9005 from alexbruy/wcs-fix
fix CRS handling in the DescribeCoverage response (refs #21045) [wcs]
2019-02-04 09:03:08 +02:00
nirvn
d3daa86ce8 [ui] More hidpi-compatibility work for the vertex tool 2019-02-04 11:06:45 +07:00
Nyall Dawson
0250cab307 [processing] Reorganise python script generated from model, to
move "guts" of script to top (initAlgorithm/processAlgorithm)
and boilerplate methods (createInstance, etc) to end
2019-02-04 11:58:55 +11:00
Nyall Dawson
6aea4838db [processing] Pep8 fixes for model to script 2019-02-04 11:58:55 +11:00
Juergen E. Fischer
92f5cb9a7e translation fix 2019-02-04 00:52:23 +01:00
Nyall Dawson
15bcbf8c6a Hidpi icon size fixes 2019-02-04 10:51:49 +11:00