AlisterH
ddcd8f004b
Tell the user that they can run without any of the options to get just the GRASS version
2024-02-08 12:54:46 +10:00
AlisterH
4b5fb54dd1
Add g.version algorithm
2024-02-08 12:54:46 +10:00
Nyall Dawson
8f3944dabd
Don't use QVariant(QVariant.Type) for NULL values in Python
...
Instead use qgis.core.NULL, so that the correct logic applies
for Qt6.
2024-02-07 19:35:28 +10:00
Nyall Dawson
4f6846ea56
Location of generated signature files is different on GRASS 8
2024-02-06 18:31:48 +10:00
Nyall Dawson
2fae8655a4
Ensure config file is written to correct location for grass > 7
2024-02-06 18:31:48 +10:00
Nyall Dawson
d2cbdb1274
Add some more grass raster hashes for more recent GRASS versions
2024-02-06 18:31:48 +10:00
Nyall Dawson
ea3a86508e
Rename more references to grass7 to version-less "grass"
2024-02-06 18:31:48 +10:00
Nyall Dawson
0ab66b7b6f
Rename grass provider files and classes to remove hardcoded version
...
number
2024-02-06 18:31:48 +10:00
Nyall Dawson
4ba4eae72a
[processing] Rename grass7 provider to grass provider
...
And transparently map requests for grass7 provider to grass provider
It's misleading putting an old version number in the provider name,
when this provider supports grass versions 8 +
2024-02-06 18:31:48 +10:00
Nyall Dawson
cdcbd35f10
Indent
2024-02-04 05:54:10 +10:00
Nyall Dawson
5188e67bc4
Avoid use of pygments in metasearch
...
This isn't required -- it was used to convert xml/json to
a prettified HTML representation, but we get better results
by just using the QgsCodeEditor widget subclasses instead
(eg bracket highlighting, collapsing, line numbers etc)
2024-02-04 05:54:10 +10:00
Nyall Dawson
58695f7c83
Apply suggestions from code review
2024-02-01 17:22:29 +10:00
Alister Hood
05ac633ca9
Don't report that html output has been generated if it hasn't
2024-02-01 17:22:29 +10:00
Nyall Dawson
310b9172fb
pyqt5to6: raise warnings on fragile addAction calls
...
The object.addAction variants with multiple arguments have changed
signature in Qt 6. It's safer to explicitly create a QAction first
and then add to an object using:
my_action=QAction(...)
obj.addAction(my_action)
It's a considerably less fragile syntax to use in any case!
Fixes errors when trying to show context menu in Python console
on Qt 6 builds
2024-01-31 10:55:33 +10:00
Nyall Dawson
c95df01a90
Advertise qt6 compatibility for metasearch plugin
...
There may be some sneaky issues still, but it at least appears to
function ok!
2024-01-31 10:55:33 +10:00
Nyall Dawson
8459fe1468
Replace use of QRegExp in db manager
2024-01-31 10:55:33 +10:00
Alessandro Pasotti
27824078ad
Introduce QgsProcessingProvider::Flag::FlagCompatibleWithVirtualRaster
2024-01-31 10:37:52 +10:00
Nyall Dawson
8e00d4befa
Don't use raw ints as enum values
2024-01-30 19:10:43 +10:00
Alexander Bruy
35d8864fec
add tests
2024-01-29 17:14:11 +01:00
Sandro Santilli
4fbc42fd2b
Drop references to unused psycopg from db_manager
2024-01-25 18:03:38 +01:00
Mathieu Pellerin
c3738acb6f
[processing] Regenerate primary key when running the dissolve algorithm ( fixes #55587 )
2024-01-25 06:06:56 +10:00
Alexander Bruy
b851e7cbe7
fix use of deprecated API in DB Manager ( fix #54916 )
2024-01-25 06:06:16 +10:00
Nyall Dawson
dd2f8a9d01
Upgrade enums
2024-01-22 19:02:40 +10:00
Nyall Dawson
e42abf7dc5
Update python files
2024-01-22 05:46:15 +10:00
Nyall Dawson
2ec6dff851
Indentation
2024-01-19 19:44:48 +10:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Julien Cabieces
9d12ae8e6d
[PyQt6] Add scope for enums and get rid of PyQt5.XXX import
...
this has been done automatically with the following comand line
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/
2024-01-10 21:15:27 +10:00
Nyall Dawson
3c179214fc
Use nicely formatted results in processing logs
2024-01-09 17:02:21 +10:00
Sebastian Gutwein
017bed7e51
fix test
2023-12-26 17:33:06 -05:00
Sebastian Gutwein
1a8f6614c1
NoData harmonization
2023-12-24 07:26:49 -05:00
AlisterH
0da80e4a20
Update grass7.txt
...
Improve and expand instructions
2023-12-20 22:00:06 +13:00
Jean Felder
e0466ab5eb
plugins/tests: Port to QgisUnitTests
...
`unittest.TestCase` is deprecated.
2023-12-12 05:27:30 +10:00
Nyall Dawson
b757ca0770
Don't install description_to_json file
2023-12-08 19:35:06 +10:00
Nyall Dawson
67757ec349
Don't check in algorithms.json
2023-12-08 19:35:06 +10:00
Nyall Dawson
f6ff3718ea
Don't require manual execution of description_to_json, run during cmake
...
instead
2023-12-08 19:35:06 +10:00
Nyall Dawson
ee210c018c
Reformat files
2023-12-08 19:35:06 +10:00
Nyall Dawson
208c4e6919
Translate at runtime only
2023-12-08 19:35:06 +10:00
Nyall Dawson
669335d9ef
Fix ext folder
2023-12-08 19:35:06 +10:00
Nyall Dawson
98e8bcce5c
Install aggregated json GRASS definitions instead of .txt files
2023-12-08 19:35:06 +10:00
Nyall Dawson
b7800f22ac
Allow creating GRASS algorithms from JSON definitions
2023-12-08 19:35:06 +10:00
Nyall Dawson
eb41d18c6f
Add ext path to json
2023-12-08 19:35:06 +10:00
Nyall Dawson
356cbcbe10
Add script to create json version of aggregated grass txt description files
2023-12-08 19:35:06 +10:00
Nyall Dawson
83d6ea461b
Move description file parsing out to separate class
2023-12-08 19:35:06 +10:00
Nyall Dawson
5be709361b
Don't initialize project provider from qgis_process -- project
...
models can't be called from qgis_process anyway
2023-12-07 16:20:25 +10:00
Nyall Dawson
cb5fbaf026
Avoid double loading model algorithms when starting provider
2023-12-07 16:20:25 +10:00
Nyall Dawson
e4e63ce5f9
[processing] When running qgis_process commands, defer the model
...
provider loading until after ALL plugins have been loaded
This avoids the model provider from refreshing all the model
algorithms multiple times, once for each non-default plugin installed
which implements a processing provider.
2023-12-07 16:20:25 +10:00
Alexander Bruy
8efd68e117
add test
2023-12-01 08:35:08 +10:00
Nyall Dawson
58e2ddb7e5
Drop OTB Processing provider
...
As discussed in https://lists.osgeo.org/pipermail/qgis-developer/2023-November/066221.html
This plugin needs to be ported to a 3rd party plugin by a motivated maintainer.
2023-11-27 10:09:16 +10:00
Nyall Dawson
4567d97687
Apply suggestions from code review
2023-11-27 06:14:51 +10:00
Patrice Pineault
c28246e0cc
Set input combo box to active layer when importing vector data. Fixes #55168
2023-11-27 06:14:51 +10:00