52371 Commits

Author SHA1 Message Date
Alessandro Pasotti
ff06651788 Added circle-ci 2018-11-20 09:40:52 +01:00
Alessandro Pasotti
a786c40662 Documentation for the dockers 2018-11-20 09:21:57 +01:00
David Adler
ba81a2ee13 Fix indentation - issue #20337
Hopefully this is correct.
I'm not having much luck getting prepare-commit.sh or astyle.sh to run on Windows.
2018-11-20 11:03:55 +11:00
David Adler
dd2ed9cd30 Update src/providers/db2/qgsdb2provider.cpp 2018-11-20 11:03:55 +11:00
David Adler
63aa1e1e0e Update src/providers/db2/qgsdb2provider.h 2018-11-20 11:03:55 +11:00
dwadler
d998465db9 run prepare-commit on DB2 fixes for #20337 2018-11-20 11:03:55 +11:00
David Adler
c339dd49fb DB2 fixes for #20337 2018-11-20 11:03:55 +11:00
Nyall Dawson
152b1b09ff [needs-docs] Fix use of duplicate action name
(Properties is already used by project properties)
2018-11-20 05:06:25 +11:00
Nyall Dawson
a8ecc683b7 Avoid QObject::connect null warning 2018-11-20 05:06:25 +11:00
Nyall Dawson
34c217cd46 Fix crash when calculating offset on certain single curves which become multilinestrings when offset 2018-11-20 05:06:06 +11:00
Nyall Dawson
a22422c4bf [FEATURE][API] Add parts iterators to QgsGeometry
This allows easy iteration over all the parts of a geometry,
regardless of the geometry's type. E.g.

geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.parts():
  print(part.asWkt())

geometry = QgsGeometry.fromWkt( 'LineString( 0 0, 10 10 )' )
for part in geometry.parts():
  print(part.asWkt())

There are two iterators available. QgsGeometry.parts() gives
a non-const iterator, allowing the parts to be modified in place:

geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.parts():
   part.transform(ct)

For a const iteration, calling .const_parts() gives a const
iterator, which cannot edit the parts but avoids a potentially expensive
QgsGeometry detach and clone

geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.const_parts():
   print(part.x())
2018-11-20 05:05:37 +11:00
Nyall Dawson
f5a6aef55f Raise IndexError in PyQGIS when calling geometryN on a collection
with an invalid geometry index

And add len operator to QgsGeometryCollection
2018-11-20 05:05:37 +11:00
signedav
32b7d7e5dd check uniqueCheck before overwrite defaultValueClause
and some tests for it
this fixes #20397 and fixes #20431
2018-11-19 16:54:28 +01:00
Martin Dobias
61cb715c4e [FEATURE] Optionally use a map theme to render terrain textures
Often it is useful to have a different map theme for terrain in 3D view
than the map theme used in the main map canvas.
2018-11-19 16:29:53 +01:00
Denis Rouzaud
b089b57681
Merge pull request #8480 from lbartoletti/rectangle3PointsProjected
[FEATURE][needs-docs]Add map tool: rectangle 3 points (projected)
2018-11-19 15:21:46 +01:00
Denis Rouzaud
29875d3843 do not push deps images on PR 2018-11-19 10:22:13 +01:00
Denis Rouzaud
d59b9858e1 add docker hub credentials to yml file 2018-11-19 10:21:49 +01:00
lbartoletti
792546c45f fix license 2018-11-19 07:25:54 +01:00
lbartoletti
2cfb0b539e Denis' review 2018-11-19 07:25:04 +01:00
Blottiere Paul
4e209724cf
Merge pull request #8260 from lbartoletti/dbmanager_add_save_sql_file
[FEATURE][needs-docs]Add buttons to load and save an external SQL file
2018-11-19 04:49:59 +00:00
Blottiere Paul
50e2b76ae7
Merge pull request #8005 from lbartoletti/bugfix_18902
Fixes #18902 Snapping and tracing inconsistent behaviour
2018-11-19 04:49:03 +00:00
Harrissou Sant-anna
357ea19caf Add missing article 2018-11-19 11:04:08 +10:00
Harrissou Sant-anna
974ee22f41 Mention that display name is used by the locator search tool 2018-11-19 11:04:08 +10:00
William Kyngesburye
eb37507b70 quiet cmake policy message 2018-11-18 08:47:55 -06:00
Denis Rouzaud
bd2f9f97b2 fix ccache for Docker images 2018-11-18 13:40:07 +01:00
Denis Rouzaud
06751f6191 disable ccache in cmake since it is already defined as compiler 2018-11-18 10:38:56 +01:00
Denis Rouzaud
d35ef945ec print ccache status 2018-11-18 10:36:33 +01:00
William Kyngesburye
f8af7ddd52 add missing Mac UI style plugin to app bundle 2018-11-17 18:17:26 -06:00
Håvard Tveite
ce313755d7 GDAL extractreprojection missing from the raster menu
This was missed in #8378.
2018-11-18 08:59:24 +10:00
Nyall Dawson
9d5c949378 [processing] Don't run validity checks for buffer alg
Buffering doesn't care about validity and can sometimes be used
to repair geometries
2018-11-18 07:06:26 +10:00
Denis Rouzaud
7126faebdc also push deps image for cron jobs 2018-11-17 22:01:34 +01:00
Denis Rouzaud
6356b6d500 add missing exiv2 2018-11-17 22:01:34 +01:00
Denis Rouzaud
08ddec2b69 fix lib path in docker (not Travis) 2018-11-17 22:01:34 +01:00
Denis Rouzaud
7213b0c119 fix docker tag for cosmic 2018-11-17 16:27:02 +01:00
Denis Rouzaud
0c27556b16 add Qt53D include dir 2018-11-17 14:34:54 +01:00
Alessandro Pasotti
fb1d670b71
Merge pull request #8475 from elpaso/docker-testing-env
Added QGIS testing environment to dockers
2018-11-17 10:33:20 +01:00
Denis Rouzaud
d77d832ac5
Merge pull request #8499 from qgis/multi-docker-yaml
build docker images baed on cosmic and bionic
2018-11-17 08:45:03 +01:00
Denis Rouzaud
dfa69b5b78 add Qt5 3D extras paths 2018-11-16 22:32:25 +01:00
Denis Rouzaud
06e139eb32 fix global env var 2018-11-16 22:01:44 +01:00
Denis Rouzaud
d131a57c97 remove left over 2018-11-16 22:01:44 +01:00
Denis Rouzaud
cb00a2a537 enable dual builds BIONIC/COSMIC for images 2018-11-16 22:01:44 +01:00
Denis Rouzaud
51e767265d [docker] simpler configuration to provide different build options 2018-11-16 22:01:44 +01:00
Matthias Kuhn
6a9db5a1c9 Produce multiple docker images 2018-11-16 22:01:44 +01:00
Matthias Kuhn
1ef04d7ab2
Merge pull request #8496 from m-kuhn/coordinateUtilsFunctions
Expose QgsCoordinateUtils functions via Q_INVOKABLE
2018-11-16 14:41:29 +01:00
Matthias Kuhn
236328fbd4
Make code_layout test happy 2018-11-16 14:03:37 +01:00
Matthias Kuhn
06b5d7b318
Less usage of QgsProject::instance 2018-11-16 12:41:44 +01:00
Matthias Kuhn
98781da6b0
Make QgsCoordinateUtils functions Q_INVOKABLE 2018-11-16 12:39:42 +01:00
Blottiere Paul
0a42a101c4
Merge pull request #8063 from tudorbarascu/test_server
test server rendering debian buster bug
2018-11-16 08:28:28 +00:00
Matthias Kuhn
438a1daf6a
Merge pull request #8442 from signedav/textfield_null
Range widget: Remove null representator during editing
2018-11-16 09:03:13 +01:00
Tudor Bărăscu
2cf8f74c71 test server rendering debian buster bug #18988 2018-11-16 08:49:55 +02:00