6159 Commits

Author SHA1 Message Date
Septen
4b75f4e0e3 ParameterMultipleInput: added tests. 2016-03-23 01:23:05 +03:00
Septen
d5acc211c8 ParameterMultipleInput minor fixes. 2016-03-23 01:22:44 +03:00
Septen
8c9eddcdc6 Some PEP8 fixes. 2016-03-23 00:55:36 +03:00
Septen
4a046b7db1 Merge branch 'master' of git://github.com/qgis/QGIS 2016-03-22 23:51:59 +03:00
Septen
6c31d89a51 (ref #14469) Processing options: search optimized. Cleanups. 2016-03-22 23:47:07 +03:00
Matthias Kuhn
f197b7cac4 Merge pull request #2934 from rouault/missing_sqlite3_include
Add missing SQLITE3_INCLUDE_DIR in a few components
2016-03-22 13:15:07 +01:00
Matthias Kuhn
e6939b8aee Merge pull request #2921 from m-kuhn/py33
Python 3.3 and future
2016-03-22 11:12:57 +01:00
Juergen E. Fischer
5fb64bd4a6 fix installation of PyQt.uic wrapper 2016-03-22 09:47:14 +01:00
Matthias Kuhn
02c5637155 py2/py3 compat patches 2016-03-22 09:17:16 +01:00
Septen
12aedac622 (ref #14469).Added search feature for Processing options.
* Added possibility to search within Processing options,
  either for providers or provider nodes.
2016-03-22 02:36:25 +03:00
Septen
d312be9f18 (ref #12580).ParameterMultipleInput:allow to define min number of
inputs.
2016-03-22 02:35:03 +03:00
Even Rouault
9fcc246cf7 Add missing SQLITE3_INCLUDE_DIR in a few components
Those components depend on sqlite3.h, but fails to add
explictly its paths, relying on it to be present in the other used
included paths, which may be not always the case in some setups.

This is a follow-up of 455a473a287ef278bbd7d91d13313cf43710c1da on
a clean build.
2016-03-21 18:36:51 +01:00
Juergen E. Fischer
271750fd53 switch bindings to pyqt wrappers 2016-03-21 17:00:26 +01:00
Juergen E. Fischer
f41304637c switch tests to pyqt wrappers 2016-03-21 17:00:26 +01:00
Juergen E. Fischer
06f995316e plugin installer: switch to pyqt wrappers 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
4dc6321914 metasearch: switch to pyqt wrappers 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
885d0ec993 python console: switch to pyqt wrappers and new style signals, flake8 fixes, show exceptions in console also with pyqt5 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
9db908ccbc GdalTools: new style signals 2016-03-21 17:00:24 +01:00
Juergen E. Fischer
c55f8b73f0 db_manager: cleanups 2016-03-21 17:00:24 +01:00
Matthias Kuhn
bd3fd748f1 Merge pull request #2863 from pvalsecc/minMaxScale
Add check to make sure minScale<=maxScale.
2016-03-20 10:53:43 +01:00
Alexander Bruy
a3c76c617a [processing] activate GRASS 7 by default and disable GRASS 6 2016-03-20 08:42:13 +02:00
Alexander Bruy
8afd1103c1 don't duplicate Menus entry in settings 2016-03-20 08:41:27 +02:00
Juergen E. Fischer
a22e9d462a fix PyQt.uic for use in processing 2016-03-19 02:14:38 +01:00
Juergen E. Fischer
a17ed10b65 fix vector menu creation on qt5 2016-03-19 02:12:12 +01:00
Anita Graser
5902f0e1bd renamed algorithm_tests.yaml 2016-03-18 22:16:55 +01:00
volaya
6c1201cf13 Merge pull request #2901 from bartnv/fix-iterating-import
[processing] Fix extension removal in exportVectorLayer
2016-03-18 14:27:23 +01:00
volaya
2942ce576b Merge pull request #2904 from medspx/processing_vector_bunch
[Processing] GRASS7 complete v.* algorithms (implements Redmine #5725)
2016-03-18 14:20:13 +01:00
volaya
839db0a505 Merge pull request #2871 from NaturalGIS/processing_fix_grass7_detection_osx
processing fix GRASS7 detection on osx: courtesy Martin Laloux
2016-03-18 14:17:07 +01:00
volaya
1fdd177c81 [processing] do not search text in short help when filtering in toolbox
This should fix problems with slow and unresponsive filtering
2016-03-18 13:06:45 +01:00
Patrick Valsecchi
4f18701d31 Add check to make sure minScale<=maxScale.
Those two fields are present in the vector layer properties. It
was possible to set a minScale bigger than the maxScale.
Now, the maxScale is forced to minScale if the user tries to
set it to a lower value.
2016-03-18 08:12:16 +01:00
Matthias Kuhn
9e6866edb2 Merge pull request #2920 from bstroebl/testEliminate
[processing] Tests for eliminate
2016-03-17 13:16:08 +01:00
Juergen E. Fischer
09f6b918a5 * fix pyuic wrapper on windows
* fix PyQt wrapper installation on precise
2016-03-17 02:23:16 +01:00
Bernhard Ströbl
cd267b066c [processing] change field access 2016-03-16 16:34:56 +01:00
Bernhard Ströbl
bd64b4fd4c [processing] renew test results depending on polys.gml 2016-03-16 14:29:45 +01:00
Bernhard Ströbl
155e7128e0 [processing] change polygon test input 2016-03-16 14:17:08 +01:00
Bernhard Ströbl
02df48cf43 [processing] reflect changed test input in yaml file 2016-03-16 14:10:56 +01:00
Bernhard Ströbl
f73b572704 [processing] renew test output for eliminate 2016-03-16 14:07:12 +01:00
Bernhard Ströbl
51bf08c1d3 [processing] change test input to have adjacent polygons 2016-03-16 14:07:12 +01:00
Bernhard Ströbl
62a4db8c40 [BUG] run eliminate with non-editable input layer 2016-03-16 14:07:12 +01:00
Bernhard Ströbl
082b5757dc [processing] add test for eliminate algorithm 2016-03-16 14:05:39 +01:00
Matthias Kuhn
f8175d33ef [processing] Move custom source data to separate folder 2016-03-16 08:56:27 +01:00
Bernhard Ströbl
b432bde1bf [processing] remove double quotes in test.yaml 2016-03-16 08:51:39 +01:00
Bernhard Ströbl
d7562eef95 [processing] add test for eliminate algorithm 2016-03-16 08:36:02 +01:00
Bernhard Ströbl
1dd7da4b3a [processing] eliminate: prepare input layer for test 2016-03-16 08:35:33 +01:00
Bernhard Ströbl
8a84152427 [processing] use proper way to access geometry 2016-03-16 08:35:33 +01:00
Nyall Dawson
5e08626051 Add QgsMapLayer::isSpatial() method
The current approach of testing !vl || vl->geometryType() != NoGeometry
is not intuitive and has been the source of 2 recent bugs.

Replacing these tests with the new isSpatial() function makes it
immediately obvious what is being tested. It also allows for
non-spatial plugin layers to be correctly handled by overriding
this method.
2016-03-16 12:38:16 +11:00
Juergen E. Fischer
4089ed8f01 fix pyuic wrapper 2016-03-16 00:34:24 +01:00
Nyall Dawson
96c60fdaec Workaround failing color ramp test on OSX, add some docs
Failure is odd.
c = r.stops()[0].color
self.assertEqual(c, QColor(100, 100, 40))

fails, but

s = r.stops()
self.assertEqual(s[0].color, QColor(100, 100, 40))

passes!
2016-03-16 10:10:07 +11:00
Juergen E. Fischer
8bda5c00a5 db_manager: migrate to new style signals 2016-03-15 23:46:54 +01:00