31 Commits

Author SHA1 Message Date
Matthias Kuhn
4a7a8ff263 Update python code 2016-10-01 15:39:03 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
acdde31b3d [processing] more cleanups (follow up 06c4b07222) 2016-08-05 15:05:36 +03:00
Nyall Dawson
c1649ebef4 [processing] pendingFields() -> fields()
Does the same thing, but pendingFields() is ugly
2016-08-05 06:31:07 +10:00
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Nyall Dawson
1a2231f10c Rename QGis class to Qgis, for capitalisation consistency 2016-07-21 22:01:38 +10:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Alexander Bruy
169d35f319 [processing] fix example script 2016-02-10 16:37:14 +02:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11:00
Nyall Dawson
184db1aa28 Indentation fix 2016-01-14 08:57:04 +11:00
volaya
7a879994d4 [processing] fixed frequency analysis algorithm
code provided by Joseph Liam

fixes #14090
2016-01-13 09:55:30 +01:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Spencer Gardner
94d3bdd01a fixed bad variable references 2015-08-15 22:17:35 -05:00
pcav
e25fb2de6d Fix for #12812 2015-05-22 19:57:40 +02:00
pcav
2004f22ac5 Uniform and informative output names for Processing (QGIS, final) 2015-05-22 16:39:20 +02:00
pcav
7dacddc08a Uniform and informative output names for Processing (QGIS, Take #1) 2015-05-22 15:56:45 +02:00
Alexander Bruy
d978f3fd9b [processing] fix Points along lines alg (fix #12768) 2015-05-20 11:51:32 +03:00
Alexander Bruy
426596c29f [processing] fix Number of unique values in classes alg (fix #12731) 2015-05-20 11:44:33 +03:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
Alexandre Neto
e26eae9496 Fixes Processing Keep n biggest parts bug #12001 2015-01-21 23:54:50 +00:00
Alexander Bruy
a81ec21564 [processing] remove help files already ported to User Guide 2015-01-20 09:45:54 +02:00
Giovanni Manghi
29f8b2399a fix a few qgis processing scripts 2015-01-09 19:02:50 +00:00
Juergen E. Fischer
8d3654baa7 indentation update 2014-10-20 00:16:36 +02:00
volaya
ac54c8e00a [processing] updated freq analysis alg 2014-10-03 10:42:03 +02:00
Juergen E. Fischer
907ce69306 indentation update 2014-08-17 09:24:22 +02:00
volaya
6486594f57 [Processing] Refactoring of parameters and outputs
It also adds some changes in the core and tools package, to provide a cleaner structure
2014-07-14 14:47:05 +02:00
Juergen E. Fischer
647504306c indentation update 2014-07-13 17:16:24 +02:00
Victor Olaya
f5b84ca101 [processing] fixed frequency algorithm 2014-07-12 10:39:50 +02:00
Larry Shaffer
cded8b180d [processing] Fix typo 2014-07-11 17:39:33 -06:00
Victor Olaya
e845e7896d [processing] added some new core algs as scripts 2014-07-11 09:06:34 +02:00