42 Commits

Author SHA1 Message Date
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Víctor Olaya
e0a990d997 [processing] Add 'call' statements to SAGA batch file 2019-03-22 12:15:50 +10:00
lbartoletti
f87c447d34 Add FreeBSD for SagaUtils 2019-03-07 08:48:23 +10:00
volaya
fda41e3b02 [processing] fixed handling of input filenames with non-ascii characters
Looks like there is no problem now in SAGA when using filenames with non-ascii chars, so some code used for replacing filenames has been removed. Also some code for python2, which is not needed now.

fixes #18617
2019-01-24 13:18:31 +01:00
Salvatore Larosa
4c95b6bf38 [processing] fix execution of SAGA algorithms under macos 2018-02-17 16:47:17 +01:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Alexander Bruy
74984b2525 [processing] always look for SAGA LTR first (fix #16648) 2017-06-02 10:08:22 +03:00
Alexander Bruy
b9929d4c2a [processing][needs-docs] always use SAGA shipped with QGIS (refs #16422) 2017-05-19 09:00:02 +03:00
Nyall Dawson
e9f13d1ea3 Just use standard QgsMessageLog functionality instead of a dedicated
method for processing
2017-04-26 13:57:06 +10:00
Nyall Dawson
1394c28d13 [processing] Move some log handling to c++ class 2017-04-26 13:56:29 +10:00
Juergen E. Fischer
0d1ab702fc processing: improve saga detection on windows 2017-02-19 22:24:25 +01:00
Alexander Bruy
732b501db1 [processing] support only SAGA LTR 2017-02-09 11:49:22 +02:00
Nyall Dawson
ede452be85 [processing] Port feedback object to c++
Algorithms are now passed a QgsProcessingFeedback object
instead of the loosely defined progress parameter.
2017-01-11 11:11:10 +10:00
Alexander Bruy
12ab928e4b Merge pull request #3918 from alexbruy/processing-providers
Processing providers updates
2017-01-05 11:02:19 +02:00
Etienne Trimaille
d9d5bf7c28 skip if the SAGA folder is not defined 2017-01-03 17:55:27 +01:00
Alexander Bruy
ce9c08f3f6 [processing] rename GdalOgr provider to Gdal provider
Show version numbers in providers descriptions
2016-12-31 09:09:07 +02:00
volaya
f852603f07 [processing] fixes for SAGA folder configuration
This tries to address some problem with previously set SAGA paths, by always showing the SAGA path config value, and by trying to ruin a built in copy of SAGA if the current SAGA folder is wrong (as it usually happens when updating QGIS)
2016-12-12 15:20:56 +01:00
Médéric RIBREUX
c147ee2bf3 Add with .. to all subprocesses 2016-11-28 09:54:27 +01:00
Nyall Dawson
0484769b7d [processing] Use subprocess.DEVNULL instead of open(os.devnull) 2016-11-07 12:13:18 +10:00
Nyall Dawson
6a99017bf0 [processing] Use with ... when opening files 2016-11-07 11:36:38 +10:00
rldhont
37951baf45 [Processing] Uses os.path.join instead of + os.sep + (#3552) 2016-10-01 08:35:56 +02:00
Matthias Kuhn
f6710b0528 python3 fixes 2016-07-03 14:54:26 +02:00
Alexander Bruy
cc7eb27a27 [processing] drop WebView dependency (follow up 38f6ace4c0) 2016-05-27 20:38:51 +03:00
volaya
9074b14a74 [processing] fix to avoid interrupted system call exceptions in mac 2016-05-23 13:25:20 +02: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
Juergen E. Fischer
62f272e44d processing: fix path setting for saga 2016-02-13 02:00:10 +01:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
volaya
b80a1bcac5 [processing] fixed handling of folders and files in settings
fixes #12511
2015-06-26 12:00:02 +02:00
Juergen E. Fischer
e368f95a0f [processing] fix initial without saga_cmd on *x 2015-06-23 21:30:05 +02:00
volaya
77ca802522 [processing] better initialization of SAGA provider 2015-06-23 12:01:50 +02:00
Martin Dobias
eaf17e56c2 Fix SAGA detection on some Debian/Ubuntu systems (fixes #12335) 2015-06-19 13:18:59 +08:00
volaya
57d21c8383 [processing] swallow possible exceptions when reading console output from SAGA 2015-05-20 08:04:19 +02: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
volaya
e9228b67c9 [processing] some SAGA fixes
-fixed raster export
-fixed version numbering when no saga installation is found
2015-01-20 11:41:27 +01:00
Alexander Bruy
07462f5476 [processing] i18n support for SAGA provider 2015-01-17 11:24:54 +02:00
volaya
aa60bfecb2 [processing] New system for handling SAGA versions
This commit sets a different way of handling SAGA versions and a new way of checking saga installations

This is done to fix the messy situation that SAGA causes due to its API changing in each release.
2015-01-15 10:27:18 +01:00
elpaso
59ec15bb2b [processing] Avoid python hangs when run in headless mode from FCGI 2014-10-03 10:35:07 +02:00
Juergen E. Fischer
0dd02bad04 fix some warnings and indentation update 2014-06-19 00:02:32 +02:00
Victor Olaya
3d152393d7 [processing] If SAGA/OTB exist as bundled app, do not allow manual configuration 2014-06-16 12:04:25 +02:00
Victor Olaya
202d331abb [processing] simplified saga algorithms
Now it assumes matching grid extents and does not perform resampling
2014-05-21 17:34:32 +02:00
Victor Olaya
9b277cb040 [processing] refactoring to put all algorithm providers under a single module 2014-04-19 20:49:17 +02:00