3545 Commits

Author SHA1 Message Date
Juergen E. Fischer
c437b55b37 remove accidentally committed files 2017-04-30 12:04:37 +02:00
Juergen E. Fischer
21f81fb2a2 fix 98c89ccab 2017-04-30 12:01:58 +02:00
Denis Rouzaud
bbdc77dd91 followup #a86f5ea52d75862c190105d1ceb23c47a61bba4e fix issues links 2017-04-30 11:38:22 +02:00
Denis Rouzaud
a86f5ea52d remove PyNames for QgsGeometry::compare methods
single python method with some MethodCode to dispatch to proper cpp methods.
2017-04-30 11:29:45 +02:00
Denis Rouzaud
b0d4a4c201 sipify geometry classes 2017-04-30 11:29:45 +02:00
Juergen E. Fischer
fe93e46588 fix test_qgsgeometry.py indentation 2017-04-30 10:11:28 +02:00
Nyall Dawson
b587282186 Merge pull request #4433 from nyalldawson/blur_buffer
[FEATURE] Allow paint effects for label buffers & backgrounds
2017-04-30 10:14:36 +10:00
Larry Shaffer
cb63e82d62 Fix QgsJSONUtils test to work on macOS
Apparently, newer versions of QJsonDocument strip extra new lines when
encoding some mapped values. Ignore in output from any version for now
2017-04-30 01:47:10 +02:00
Nyall Dawson
e861f33b54 Fix memory leak 2017-04-30 09:23:01 +10:00
Nyall Dawson
8633480be2 Unblacklist qgis_distanceareatest on OSX 2017-04-30 08:26:28 +10:00
Nyall Dawson
ef6c8be16f Fix import WKT of the format MultiPoint (-20 -90, -20 -88 )
Should technically be MultiPoint ((-20 -90), (-20 -88)), but
it's nice to be forgiving and accept as wide a range of WKT
formats as possible

Fix #16483
2017-04-30 08:23:49 +10:00
Matthias Kuhn
5fe6587e0b [travis] Unblacklist expression test on osx 2017-04-30 00:13:26 +02:00
Juergen E. Fischer
b29a10eeb7 hub.qgis.org moved to issues.qgis.org 2017-04-29 23:34:27 +02:00
Juergen E. Fischer
98c89ccabe also accept uppercase .qgs as project extension (fixes #15871) 2017-04-29 13:53:28 +02:00
Denis Rouzaud
2c4b3bbf21 followup ec568222e06776f45ec6dbe390d21c117938cb67 2017-04-29 07:42:42 +02:00
Denis Rouzaud
ec568222e0 followup b88f350b2283df3ce5f527fd41b7b1382f4c23a1
add server to sipify test
2017-04-28 20:56:54 +02:00
Nyall Dawson
0d5cbfe689 Update text renderer mask images 2017-04-28 20:13:10 +10:00
Nyall Dawson
38414b3878 Update text renderer tests 2017-04-28 19:41:43 +10:00
Nyall Dawson
debe1098cb [FEATURE] Allow setting paint effects on label background shapes
Can also be useful for improving text readability through
outer glows and blurs
2017-04-28 19:25:45 +10:00
Nyall Dawson
b9f102c98d [FEATURE] Paint effect support for label buffers
Allows applying a paint effect (such as blurs) to label buffers.
Blurring label buffers is a great way to get the text readability
of a label buffer without the distracting halo effect.
2017-04-28 19:25:45 +10:00
Denis Rouzaud
ce770293b3 [sipify] debug + fix multiline in SIP_RUN 2017-04-27 11:06:19 +02:00
Nyall Dawson
348b65b12c Remove old code for handling QWT < 6.1
Versions < 6.1 are not compatible with Qt5
2017-04-27 11:55:45 +10:00
lbartoletti
84471f2e6d New classes for circle and ellipse. 2017-04-27 10:25:29 +10:00
Denis Rouzaud
4cc4a27068 [sipify] operators, remove argument
* skip some operators
 * allow to remove an argument with SIP_PYARGREMOVE
2017-04-26 15:06:16 +02:00
Denis Rouzaud
0f9ddc29b4 fix doxgen test 2017-04-26 13:20:52 +02:00
Denis Rouzaud
9688b81874 followup 45266cd03ef8037fd657b992357b0d2d716522da 2017-04-26 11:04:25 +02:00
Denis Rouzaud
45266cd03e [sipify] improvements
* add In annotation
 * remove struct forward declarations
 * fix members initialization list in header
 * merge removal code for function bodies and constructor definition
2017-04-26 10:25:50 +02:00
Nyall Dawson
a5e33fa93c Add method to take layer and ownership from a project 2017-04-26 16:48:27 +10:00
Denis Rouzaud
9bb076295e [sipify] improvements
* add Array and ArraySize annotations
 * also handle multiline skipped bodies
 * handle #if 0 blocks
2017-04-26 08:15:18 +02:00
Nyall Dawson
13f081359e Fix failing test 2017-04-26 13:05:56 +10:00
Nyall Dawson
f247a7cda3 Add c++ optimised uniqueValues method which respects processing context
Remove processing vector.uniqueValues/vector.getUniqueValues
and port usage to c++ method

Should be much faster than the python method, as the c++ method takes
advantage of handing off the unique values calculation to the
provider source whenever possible
2017-04-26 12:53:35 +10:00
Nyall Dawson
b067bd786a Rename UseSelection -> UseSelectionIfPresent, clarify docs 2017-04-26 12:53:35 +10:00
Nyall Dawson
e6a33e876c Allow setting the invalid geometry callback in processing context 2017-04-26 12:53:35 +10:00
Nyall Dawson
b32b39501e Add methods for getting vector iterators to QgsProcessingUtils 2017-04-26 12:53:35 +10:00
Nyall Dawson
fea6bff707 Merge pull request #4389 from nyalldawson/scalebar
Refactor scalebar renderer, split from composer
2017-04-26 12:40:06 +10:00
Nyall Dawson
fa21311e4c More robust test for numeric scale bar 2017-04-26 11:46:51 +10:00
Nyall Dawson
b40bc0c1f7 Refactor scale bar rendering
Move all scalebar rendering code out of composer and ensure that
all scalebar rendering is done independant of QgsComposerScaleBar

This allows scalebar rendering code to be reused by plugins
and by non-composer code.

Also rename QgsScaleBarStyle -> QgsScaleBarRenderer, (and all
subclasses too). This name better reflects what these classes do.
2017-04-26 11:46:51 +10:00
Nyall Dawson
dd7be73fa4 Add a method to QgsFeatureSink to add all features from an iterator 2017-04-26 11:43:47 +10:00
Nyall Dawson
c4578c3c1d QgsVectorLayer is a QgsFeatureSink
Also cleanup API for addFeature(s) in QgsVectorLayer, by removing
the unused extra argument from addFeature() and be removing the
makeSelected argument from addFeatures() (code should be adapted
to manually select added features after adding if desired - this
was only used in a single place in the QGIS code and I suspect
this was unintentional in any case)
2017-04-26 11:32:34 +10:00
Larry Shaffer
66f4ff9710 Merge pull request #4407 from boundlessgeo/filedownloader-auth
[auth] Add authentication configuration support to QgsFileDownloader
2017-04-25 17:39:22 -06:00
rldhont
27a9053490 [Server] WMS GetCapabilities refactoring - Part 1
Part 1 for removing QgsWMSProjectParser from GetCapabilities
2017-04-25 14:11:36 +02:00
Denis Rouzaud
a60b31d3b3 fix doxymentation 2017-04-25 13:28:01 +02:00
Nyall Dawson
6b260ffee6 Remove deprecated assertEquals use 2017-04-25 19:00:13 +10:00
Nyall Dawson
997b6304c8 Merge pull request #4402 from nyalldawson/iterator_invalid_geom
Add invalid geometry handling to QgsFeatureRequest/QgsVectorLayerFeatureIterator
2017-04-25 18:32:35 +10:00
Even Rouault
3fa1162229 Merge pull request #4408 from rouault/fix_12695
DBManager: fix importing a new layer in a GeoPackage (#16295)
2017-04-25 09:40:37 +02:00
Nyall Dawson
9743831123 Expose invalid geometry callback to python 2017-04-25 16:16:17 +10:00
Nyall Dawson
5d377beec0 Expand unit tests 2017-04-25 16:16:17 +10:00
Nyall Dawson
80d07cb4b9 Add method to perform invalid geometry checking in QgsFeatureRequest
Allows requests to specify how invalid geometries should be
handled. Default is to perform no geometry validity checking.
2017-04-25 16:16:17 +10:00
Denis Rouzaud
b0c1604864 fix indentation 2017-04-25 07:07:59 +02:00
Even Rouault
965350b3ae DBManager: fix importing a new layer in a GeoPackage (#16295) 2017-04-24 21:41:25 +02:00