Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRASS GIS Updates and Improvements #24

Open
wants to merge 626 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
626 commits
Select commit Hold shift + click to select a range
1858847
v.overlay: Fix Resource Leak Issue(#5144)
ShubhamDesai Feb 25, 2025
8638459
build: Allow separate build of Markdown and HTML keywords (#5177)
wenzeslaus Feb 25, 2025
e60ee63
docs: Add support for addon keywords to Markdown (#5175)
wenzeslaus Feb 25, 2025
3c3e286
wxGUI: Fix SIM115: Use context managers for file operations in gui_co…
arohanajit Feb 25, 2025
429a884
docs: fix line-length (#5174)
petrasovaa Feb 25, 2025
1e9f613
cmake: build 'r.mask.status' (#5211)
nilason Feb 25, 2025
9ee21ec
lib/ogsf: free linked list of geopoint objects in gp3.c (#5205)
nilason Feb 25, 2025
107a467
r.kappa: Copy into fix buffer size issue (#5203)
ShubhamDesai Feb 25, 2025
9b8a52a
chore: Update .gitignore for cmake in Visual Studio (#5208)
echoix Feb 25, 2025
34b6764
m.nviz.image: Fix Resource Leak issue (#5079)
ShubhamDesai Feb 26, 2025
d249e19
CI: Install Python deps with pip in doc workflow (#5209)
wenzeslaus Feb 26, 2025
144279e
docs: Add material mkdocs tags plugin (#5153)
cwhite911 Feb 26, 2025
99ed5dd
docs: Update mkdocs edit on GitHub to work with addons (#5164)
cwhite911 Feb 26, 2025
01f63dc
ximgview: Fix Unchecked return value in main.c (#5204)
ShubhamDesai Feb 26, 2025
a61a6f6
utils(timer): Fix incorrect gettimeofday() return value check (#5212)
ShubhamDesai Feb 26, 2025
62f37b2
gui: Fix SIM115 and FLY002 linting issues in iclass frame module (#5200)
arohanajit Feb 26, 2025
c903f39
r.sim: move global variables to structures (#5202)
petrasovaa Feb 26, 2025
512bd6d
raster: Read raster for mask from env variable (#2392)
wenzeslaus Feb 26, 2025
8c9ef64
style: Fix implicit-return-value (RET502) & unnecessary-return-none (…
echoix Feb 26, 2025
c855d99
v.hull: Add the test cases (#5135)
codersmiti Feb 26, 2025
aa0053d
r.random.surface: added test file for r.random.surface module (#5085)
jayneel-shah18 Feb 27, 2025
d8afe68
docs: Removed trailing slash from mkdocs github edit and view urls fo…
cwhite911 Feb 27, 2025
ba980b5
contributing: Update style guide for Markdown doc (#5219)
petrasovaa Feb 27, 2025
0ecd9fd
i.emissivity: added test file for i.emissivity module (#5127)
jayneel-shah18 Feb 27, 2025
775f90a
r.topmodel: Handle CRLF and empty lines properly (#5218)
HuidaeCho Feb 27, 2025
49a2352
style: Fix FLY002: Replace string joins with literals (#5206)
arohanajit Feb 27, 2025
96e397b
CI(macOS): only run 'macOS distribute app' on OSGeo repo (#5225)
nilason Feb 27, 2025
56a63e4
CI: Cache GRASS sample data for tests (#5124)
NishantBansal2003 Feb 27, 2025
927e825
lib/gis: fix source typo (#5224)
luzpaz Feb 27, 2025
4d06bd2
cmake: add missing include paths to ctypesgen (#5232)
nilason Feb 28, 2025
e99d298
docs: Add proxy settings to Markdown build (#5236)
wenzeslaus Feb 28, 2025
b7792bf
CI(deps): Update actions/attest-build-provenance action to v2.2.2 (#5…
renovate[bot] Mar 1, 2025
e7d0842
CI(deps): Update actions/download-artifact action to v4.1.9 (#5245)
renovate[bot] Mar 1, 2025
233778a
CI(deps): Update actions/upload-artifact action to v4.6.1 (#5246)
renovate[bot] Mar 1, 2025
56797a8
CI(deps): Update actions/cache action to v4.2.2 (#5243)
renovate[bot] Mar 1, 2025
297fe6e
CI(deps): Update docker/setup-buildx-action action to v3.10.0 (#5254)
renovate[bot] Mar 1, 2025
2a2bc16
CI(deps): Update docker/setup-qemu-action action to v3.6.0 (#5255)
renovate[bot] Mar 1, 2025
df8b034
CI(deps): Update dependency python to v3.13.2 (#5253)
renovate[bot] Mar 1, 2025
70d3df7
CI(deps): Update peter-evans/create-pull-request action to v7.0.7 (#5…
renovate[bot] Mar 1, 2025
2db7391
CI(deps): Update codecov/codecov-action action to v5.4.0 (#5252)
renovate[bot] Mar 1, 2025
5ed1683
CI(deps): Update docker/metadata-action action to v5.7.0 (#5249)
renovate[bot] Mar 1, 2025
91244d9
CI(deps): Update docker/build-push-action action to v6.15.0 (#5248)
renovate[bot] Mar 1, 2025
2c658f0
docs: fix typos in man/ directory (#5256)
luzpaz Mar 1, 2025
57929c8
CI(deps): Update ruff to v0.9.9 (#5234)
renovate[bot] Mar 1, 2025
d310a3c
temporal: fix typos (#5257)
luzpaz Mar 1, 2025
f8b4b48
cmake: improve GEOS package detection (#5223)
nilason Mar 1, 2025
45f0c94
db: fix typos (#5258)
luzpaz Mar 1, 2025
2ca208e
gui: fix typos (#5262)
luzpaz Mar 3, 2025
e802e90
docs: Replace table by sections for standard parser options (#5235)
wenzeslaus Mar 3, 2025
30aa63d
build: Fix basic gallery build issues for Markdown (#5247)
wenzeslaus Mar 3, 2025
8ca4056
docs: Add captions to Markdown manual gallery (#5250)
wenzeslaus Mar 3, 2025
02d0e94
r.cross: added testsuite for r.cross tool (#4707)
Shreshth-Malik Mar 3, 2025
b4d1b97
i.landsat.toar: Fix string not null terminated issue (#5222)
ShubhamDesai Mar 3, 2025
2262aaa
r.surf.fractal: Added seed option (#5233)
NishantBansal2003 Mar 4, 2025
50f6b97
grass.gunittest: Allow floating point for `--min-success` argument (#…
echoix Mar 4, 2025
748e31b
cmake: use imported GDAL target and clean up dependencies (#5263)
nilason Mar 4, 2025
fddfa27
cmake: use imported PNG::PNG target (#5279)
nilason Mar 4, 2025
fbd0631
lib/parser: Separate Markdown code from reStructuredText (#5240)
wenzeslaus Mar 4, 2025
9227329
r.basins.fill: Fix Broken Tests and Preserve Test Dataset Integrity (…
NishantBansal2003 Mar 4, 2025
76bd691
cmake: use imported ZLIB::ZLIB target (#5280)
nilason Mar 4, 2025
0d6eb9e
cmake: use imported PostgreSQL target (#5299)
nilason Mar 4, 2025
83f1644
v.colors: Fix Resource Leak issue in write_rgb.c (#5260)
ShubhamDesai Mar 4, 2025
5918dfa
v.surf.idw: Fix Resource Leak issue in read_sites.c (#5274)
ShubhamDesai Mar 5, 2025
f538b2b
docs: Added GRASS social account links and icons to footer (#5213)
cwhite911 Mar 5, 2025
1b5a32e
wxGUI/gmodeler: fix setToolBar failing on macOS (#5298)
pesekon2 Mar 5, 2025
4207cc3
docs: Add mkdocs site_author, social card bgcolor, and improve nav co…
cwhite911 Mar 5, 2025
8605efe
style: Fix file header uniformity with the rest of the codebase (#5307)
luzpaz Mar 5, 2025
5a2a3ce
cmake: use imported Iconv target with CMake's FindIconv (#5305)
nilason Mar 5, 2025
da3981a
r.colors: Fix Resource Leak Issue in stats.c (#5261)
ShubhamDesai Mar 5, 2025
3a30ee9
v.net: Fix Resource Leak Issue in report.c (#5275)
ShubhamDesai Mar 6, 2025
e71045e
cmake: rewrite of FindReadline and use of imported Readline target (#…
nilason Mar 6, 2025
5fd4234
libgis: Add new standard parser option `G_OPT_M_SEED` (#5281)
NishantBansal2003 Mar 6, 2025
2bc0150
docs: Add canonical URL to Python API doc (#5308)
wenzeslaus Mar 6, 2025
61fc4d1
cmake: use of imported SQLite target, drop custom FindSQLite (#5311)
nilason Mar 6, 2025
749d254
cmake: use of imported ODBC target (#5312)
nilason Mar 6, 2025
4a899e2
docs: Fix r.mask Markdown links (#5315)
wenzeslaus Mar 6, 2025
3eb7607
tests: Ignore gunittest.main.test() when collecting with pytest (#5317)
echoix Mar 6, 2025
b0125bf
docs: Add mkdocs linked tabs (#5277)
cwhite911 Mar 7, 2025
bc9d36a
CI: Fetch all Git history for building docs (#5324)
wenzeslaus Mar 7, 2025
e1e37d8
raster: fix typos (#5266)
luzpaz Mar 7, 2025
0c0fb75
docs: Link to addons repo for addons (#5319)
wenzeslaus Mar 7, 2025
08286fb
docs: Use YAML list for keywords in front matter (#5320)
wenzeslaus Mar 7, 2025
35f13d9
build: Add colortables and other files to addon doc (#5316)
wenzeslaus Mar 7, 2025
c1ccf24
docs: Add Sphinx-based Python doc to the user doc (#5306)
wenzeslaus Mar 7, 2025
4b9d1a2
r.null: added a test (#5214)
Shreshth-Malik Mar 7, 2025
c4a1beb
docs: MkDocs index and nav redesign (#5207)
cwhite911 Mar 7, 2025
697a039
CI: Remove Sphinx build from Python QC workflow (#5333)
wenzeslaus Mar 8, 2025
b94776a
style: Fix SIM115 linting errors using context managers for file oper…
arohanajit Mar 8, 2025
b94dd48
CI(deps): Update peter-evans/create-pull-request action to v7.0.8 (#5…
renovate[bot] Mar 8, 2025
d6ffe20
CI(deps): Update docker/dockerfile:1.14 Docker digest to 4c68376 (#5334)
renovate[bot] Mar 8, 2025
3876d22
CI(deps): Update github/codeql-action action to v3.28.11 (#5336)
renovate[bot] Mar 8, 2025
db431fe
CI(deps): Update actions/attest-build-provenance action to v2.2.3 (#5…
renovate[bot] Mar 8, 2025
64bff6a
CI(deps): Update ruff to v0.9.10 (#5327)
renovate[bot] Mar 8, 2025
76f2606
display: fix typos (#5328)
luzpaz Mar 9, 2025
582d100
CI(deps): Update dependency pylint to v3.3.5 (#5344)
renovate[bot] Mar 9, 2025
fda76b3
d.vect: Fix resource Leak Issue in shape.c (#5276)
ShubhamDesai Mar 10, 2025
f178edc
cmake: use of imported PROJ target (#5348)
nilason Mar 10, 2025
735a27c
doc: add missing newline between generated synopsis and description h…
petrasovaa Mar 10, 2025
9137ecc
db.univar: Use python sort fallback on Windows (#5349)
echoix Mar 10, 2025
bd253b7
v.what: Fix test failures from trailing space after map name (#5343)
echoix Mar 11, 2025
3df7050
g.download.project: Fix string formatting error when download already…
echoix Mar 11, 2025
42ce542
cmake: increase required version to 3.22 (#5269)
nilason Mar 11, 2025
6dc32fa
cmake: fix Native Language Support (NLS) support (#5297)
nilason Mar 11, 2025
5d794e9
cmake: remove custom FindPostgreSQL with CMake 3.22+ (#5353)
nilason Mar 11, 2025
3598a48
cmake: use of imported Freetype target (#5313)
nilason Mar 11, 2025
f526cbc
Translations update from OSGeo Weblate (#5361)
osgeoweblate Mar 12, 2025
f66febc
lib/ogsf: fix typos (#5362)
luzpaz Mar 12, 2025
366fcda
r.clump: added tests for r.clump module (#4733)
Shreshth-Malik Mar 12, 2025
cfb221b
tests: Fix xfail_windows decorator not executing tests when not on Wi…
echoix Mar 12, 2025
e3e4d4a
v.build: added tests for v.build module (#5340)
Shreshth-Malik Mar 12, 2025
f48241a
docs: Use keywords property in MkDocs, not separate tags (#5318)
wenzeslaus Mar 12, 2025
0ff7a28
docs: Build Markdown addon index using core index tooling (#5310)
wenzeslaus Mar 12, 2025
7c2174c
CI: update cachix public key for Nix (#5364)
neteler Mar 12, 2025
7577442
wxGUI: Fix SIM115 by using context managers for file operations in ma…
arohanajit Mar 12, 2025
039b6d6
i.pansharpen: Fix SIM115 warning by using context manager for file op…
arohanajit Mar 13, 2025
0095480
python: `gs.message` doesn't support an empty string (#5370)
echoix Mar 13, 2025
f019690
Translations update from OSGeo Weblate (#5368)
osgeoweblate Mar 13, 2025
ba50307
doc: fix missing images in md files (#5374)
petrasovaa Mar 13, 2025
62ae2e4
i.in.spotvgt: Fix SIM115: Use context managers for file operations (#…
arohanajit Mar 13, 2025
baa4636
cmake: use of imported Cairo target (#5352)
nilason Mar 13, 2025
a8b83cc
cmake: use of imported TIFF target (#5377)
nilason Mar 13, 2025
ce27f0d
i.landsat.acca: add test cases (#5270)
codersmiti Mar 13, 2025
9d4e491
gui: fix typos (#5369)
luzpaz Mar 13, 2025
e2b0902
docs: Point to the repo in MkDocs GitHub stats (#5326)
cwhite911 Mar 13, 2025
280c276
docs: Tell MkDocs about pages linked from other pages (#5332)
wenzeslaus Mar 13, 2025
e9bb524
pythonlib: Add missing docstring summary lines to fix D402 errors (#5…
arohanajit Mar 13, 2025
7e7ef8b
docker: Fixing CFLAG for configuration on Apple ARM M1/2/3 (#5055)
pwt-cd Mar 13, 2025
9f486ce
cmake: use of imported X11 and OpenGL targets (#5356)
nilason Mar 13, 2025
e47ba67
d.vect.thematic: Fix Resource Leak issue in plot1.c (#5273)
ShubhamDesai Mar 13, 2025
0e69e9b
r.in.gdal: Fix Resource Leak Issue (#5301)
ShubhamDesai Mar 13, 2025
6a92bea
lib/vector/Vlib: Fix Resource Leak Issue in array.c (#5372)
ShubhamDesai Mar 13, 2025
90d0dba
cmake: add custom FindCBLAS FindLAPACKE (#5376)
nilason Mar 13, 2025
2eeb17d
i.group: fix resource leak issue in main.c (#5371)
ShubhamDesai Mar 14, 2025
2f3d7fc
v.voronoi: Fix resource leak issue in skeleton.c (#5379)
ShubhamDesai Mar 14, 2025
3fba977
lib/gis: Fix Resource Leak issue in datum.c (#5380)
ShubhamDesai Mar 14, 2025
7e86e83
cmake: use of imported Threads target (#5354)
nilason Mar 14, 2025
1d08ae4
cmake: use of imported NetCDF target (#5383)
nilason Mar 14, 2025
71fcaae
v.category: add JSON support (#5360)
NishantBansal2003 Mar 14, 2025
bf263dc
Translations update from OSGeo Weblate (#5388)
osgeoweblate Mar 14, 2025
9b801eb
cmake: use of imported PDAL target (#5384)
nilason Mar 14, 2025
4de9963
r.sim: complete removal of global variables and waterglobs.h (#5373)
petrasovaa Mar 14, 2025
e1645ec
CI(deps): Update cachix/cachix-action action to v16 (#5389)
renovate[bot] Mar 15, 2025
0ce12f6
i.zc: Add test file (#5357)
jayneel-shah18 Mar 15, 2025
060b32d
i.cluster: Add test file (#5350)
codersmiti Mar 15, 2025
db9ad65
v.build: fixed test file name (#5382)
Shreshth-Malik Mar 15, 2025
d5fdce7
CI(deps): Update docker/login-action action to v3.4.0 (#5391)
renovate[bot] Mar 15, 2025
e15b589
CI(deps): Update dependency python to 3.13 (#5390)
renovate[bot] Mar 15, 2025
c3a01c9
cmake: use of imported BZip2 target (#5394)
nilason Mar 15, 2025
c2a9b89
v.category: fix uninitialized value format (#5395)
NishantBansal2003 Mar 15, 2025
c35745f
r.covar: added test cases for the module (#5392)
Shreshth-Malik Mar 17, 2025
3f5b5a4
i.ifft: Add Test Suite (#5264)
jayneel-shah18 Mar 17, 2025
c829ef1
wxGUI: Fix SIM115: Improve temporary file handling in modules compone…
arohanajit Mar 18, 2025
ed986f8
lib/gis: fix potential integer overflow issues (#5217)
nilason Mar 19, 2025
5a5d70e
lib/gis: fix potential buffer overflow issues (#5216)
nilason Mar 19, 2025
fbfefa9
r.out.ascii: Fix Resource Leak Issue in formspecific.c (#5397)
ShubhamDesai Mar 19, 2025
4a8e8b8
r.viewshed: Fix Resource Leak Issue in grass.cpp (#5400)
ShubhamDesai Mar 19, 2025
0f88c43
lib/ogsf: Fix Resouce Leak issue in gs3.c (#5410)
ShubhamDesai Mar 19, 2025
0794a23
lib/gis: fix typos (#5363)
luzpaz Mar 19, 2025
a56e76f
tools: Fix typos in imagery tools (#5345)
luzpaz Mar 19, 2025
fb1de90
lib/vector/Vlib: Fix Resource Leak issue in header_finfo.c (#5414)
ShubhamDesai Mar 19, 2025
281e53c
lib/vector/Vlib: Fix Resource Leak issue in close.c (#5415)
ShubhamDesai Mar 19, 2025
9fdce5a
r.fill.dir: Fix uninitialized pointer (#5396)
ShubhamDesai Mar 19, 2025
2492e19
style: Fixed noqa warnings inline with recent ruff update (#5403)
arohanajit Mar 19, 2025
8e118ca
cmake: fix proper installation of demolocation (#5412)
nilason Mar 19, 2025
dec4f63
cmake: fix gui files installation (#5411)
nilason Mar 19, 2025
565e82d
cmake: fix ctypesgen's generation of GRASS API (#5418)
nilason Mar 20, 2025
180f6d2
docs: fix typos (#5346)
luzpaz Mar 20, 2025
9175c5f
cmake: remove OpenDWG related unused code (#5420)
nilason Mar 20, 2025
33d2ee2
docs: Add sphinx-sitemap generation to Python doc (#5331)
cwhite911 Mar 21, 2025
8bf4f68
CI(deps): Update dependency pylint to v3.3.6 (#5421)
renovate[bot] Mar 21, 2025
8d0dccb
CI: add '-ffp-contract=off' compiler flag to test runners (#5426)
nilason Mar 22, 2025
42e3d52
CI(deps): Update pre-commit hook adrienverge/yamllint to v1.36.2 (#5359)
renovate[bot] Mar 22, 2025
962a8e5
CI(deps): Update actions/upload-artifact action to v4.6.2 (#5430)
renovate[bot] Mar 22, 2025
0a2d8de
CI(deps): Update github/codeql-action action to v3.28.12 (#5431)
renovate[bot] Mar 22, 2025
aac2347
lib/vector: fix typos (#5423)
luzpaz Mar 22, 2025
ccbbd67
CI(deps): Update actions/cache action to v4.2.3 (#5429)
renovate[bot] Mar 22, 2025
f173096
cmake: Consider source path with underscores (#5386)
HuidaeCho Mar 22, 2025
fa654d2
cmake: Fix locale build (#5385)
HuidaeCho Mar 23, 2025
303cb0c
CI(deps): Update actions/download-artifact action to v4.2.1 (#5434)
renovate[bot] Mar 23, 2025
d7a5ed8
CI(deps): Update reviewdog/action-setup action to v1.3.2 (#5433)
renovate[bot] Mar 23, 2025
18e0846
CI(deps): Update pre-commit hook adrienverge/yamllint to v1.37.0 (#5435)
renovate[bot] Mar 23, 2025
f5bd1a0
grass.jupyter: importing display function from IPython.display (#5325)
Aterg264 Mar 25, 2025
a5fabeb
docs: Remove old footer links from MkDocs site (#5427)
wenzeslaus Mar 25, 2025
352f08f
docs: Add contributing doc to main doc (#5451)
wenzeslaus Mar 26, 2025
74d41f0
docs: Remove Keywords section from generated doc (#5444)
wenzeslaus Mar 27, 2025
9185760
docs: Merge MkDocs and Sphinx sitemaps into single manual sitemap (#5…
cwhite911 Mar 27, 2025
17f611d
docs: Replace keywords index by MkDocs tags (#5446)
wenzeslaus Mar 27, 2025
dc19150
d.barscale: Fix uninitialized Variable in draw_scale.c (#5450)
ShubhamDesai Mar 27, 2025
935a9cc
r3.out.vtk: Fix Resource Leak Issue in writeVTKData.c (#5455)
ShubhamDesai Mar 27, 2025
6b7dd00
docs: Unify tool index wording (#5447)
wenzeslaus Mar 27, 2025
9cf189b
doc: enable PDAL in binder and fix and unify init calls (#5453)
petrasovaa Mar 27, 2025
cc2bdb7
CI(deps): Update github/codeql-action action to v3.28.13 (#5469)
renovate[bot] Mar 28, 2025
e3288ed
CI(deps): Update actions/setup-python action to v5.5.0 (#5470)
renovate[bot] Mar 28, 2025
379acc6
wxGUI: Fix PTH208: Use pathlib in rlisetup (#5466)
arohanajit Mar 29, 2025
3fdd032
docs: Fix basic graphical index issues in Markdown (#5459)
wenzeslaus Mar 29, 2025
0bfa813
vector: fix typos (#5424)
luzpaz Mar 29, 2025
24908ff
docs: Separate topics from keywords by 2nd tags plugin (#5472)
wenzeslaus Mar 29, 2025
7646577
style: Fix C2801 ruff warnings post update (#5409)
arohanajit Mar 29, 2025
dd85ecf
CI(deps): Update ruff to v0.11.2 (#5381)
renovate[bot] Mar 29, 2025
4451a04
wxGUI: Fix PTH208: Use pathlib for directory operations in psmap modu…
arohanajit Mar 30, 2025
7a2886d
i.topo.corr: Add test file (#5436)
codersmiti Mar 30, 2025
689b1dd
i.smap: add test file (#5413)
jayneel-shah18 Mar 30, 2025
02d3932
CI(deps): Update flake8 to v7.2.0 (#5475)
renovate[bot] Mar 30, 2025
5459fc0
docker: add package to docker image to be able to run gui (#5476)
benaloha Mar 31, 2025
15731bc
docker: fix various syntax warnings (#5481)
neteler Mar 31, 2025
94bcc12
init: Use context managers for opening files (#5479)
echoix Mar 31, 2025
a8f46e7
init: Rename often shadowed internal helper function `f()` to `fw()` …
echoix Mar 31, 2025
bde1234
init: Apply isort to imports (#5478)
echoix Mar 31, 2025
8c18d35
gui: add README.md and LICENSE.TXT for icons (#5387)
neteler Mar 31, 2025
584455a
wxGUI: Fix SIM115: Use context managers for file operations in photo2…
arohanajit Apr 1, 2025
7b3aa47
v.in.ogr: Fix Resource Leak issue in proj.c (#5303)
ShubhamDesai Apr 1, 2025
47025d9
v.external: Fix Resource Leak Issue in proj.c (#5448)
ShubhamDesai Apr 1, 2025
8bb8306
r.external: Fix Resource Leak issue in proj.c (#5449)
ShubhamDesai Apr 1, 2025
98d3f65
lib/raster: Fix Resource Leak issues (#5398)
ShubhamDesai Apr 1, 2025
bbb23c9
lib/raster: Fix Resource Leak Issue in range.c (#5407)
ShubhamDesai Apr 1, 2025
f911b9e
g.proj: Add JSON support (#5419)
NishantBansal2003 Apr 1, 2025
4f40ade
doc: Improve jupyter notebook documentation (#5452)
petrasovaa Apr 1, 2025
4b0da5d
wxGUI: Fix PTH208 use pathlib Path instead of os module (#5461)
arohanajit Apr 1, 2025
f45812a
docs: Use GRASS, tools, and no generic headers (#5471)
wenzeslaus Apr 1, 2025
79b2bc9
g.remove: improve user message to contain more details (#5484)
neteler Apr 1, 2025
9a122af
grass.app: Use sys.executable as a GRASS_PYTHON default (#5441)
wenzeslaus Apr 1, 2025
d233b96
wxGUI: Fix SIM115: Use context manager for file operations in psmap m…
arohanajit Apr 2, 2025
f453a3a
v.category: Remove unnecessary code indentation (#5492)
NishantBansal2003 Apr 2, 2025
e328b0b
doc: update markdown file (#5457)
jayneel-shah18 Apr 2, 2025
638e237
i.albedo: Add test file (#5402)
codersmiti Apr 2, 2025
571253a
CQ: remove misused gisprompt options (#5493)
nilason Apr 2, 2025
a2fa5a0
d.histogram: Fix Uninitialized Variable in pie.c (#5488)
ShubhamDesai Apr 2, 2025
14166bc
i.segment: Fix Copy into fixed buffer size issue in parse_args.c (#5489)
ShubhamDesai Apr 2, 2025
d4758e6
r.fill.dir: Fix Unchecked return value in wtrshed.c (#5491)
ShubhamDesai Apr 2, 2025
319ae7d
Translations update from OSGeo Weblate (#5499)
osgeoweblate Apr 3, 2025
81ce7f0
r.out.ascii: added test cases for the module (#5438)
Shreshth-Malik Apr 3, 2025
d220f15
lib/vector/Vlib: Fix Resource Leak Issue in box.c (#5495)
ShubhamDesai Apr 3, 2025
7d1e733
CI(deps): Update ruff to v0.11.4 (#5502)
renovate[bot] Apr 4, 2025
d427d0b
r.fill.dir: avoid null pointer dereferences (#5422)
nilason Apr 5, 2025
0f1e969
CI(deps): Update rui314/setup-mold digest to e16410e (#5507)
renovate[bot] Apr 6, 2025
defab0b
wxGUI: Fix PTH208/SIM115: Use Path.iterdir and context managers in im…
arohanajit Apr 6, 2025
47c453e
r.series: Say pipe in addition to showing the symbol (#5505)
wenzeslaus Apr 6, 2025
68cf12d
r.slope.aspect: Use parser function to specify required parameters (#…
wenzeslaus Apr 6, 2025
3199742
CI(deps): Update super-linter/super-linter action to v7.3.0 (#5241)
renovate[bot] Apr 6, 2025
a98349a
init: Add typing annotations where appropriate (#5482)
echoix Apr 7, 2025
47890e2
r.out.vtk: Fix Resource Leak Issue in writeascii.c (#5496)
ShubhamDesai Apr 7, 2025
cb87a42
db.drivers: Fix Resource Leak Issue in select.c (#5512)
ShubhamDesai Apr 7, 2025
0316641
CI: Run pre-commit in CI when config files or workflows change (#5510)
echoix Apr 8, 2025
97f4478
doc: improve index page and navigation (#5487)
petrasovaa Apr 10, 2025
f48be67
docs: Add Python to the generated Markdown tool doc (#5490)
wenzeslaus Apr 10, 2025
381eb71
CI(deps): Update ubuntu:22.04 Docker digest to d80997d (#5531)
renovate[bot] Apr 12, 2025
eb991e7
CI(deps): Update github/codeql-action action to v3.28.15 (#5532)
renovate[bot] Apr 12, 2025
4ba1588
g.search.modules: style: Fix SIM115: Use context manager for file ope…
arohanajit Apr 12, 2025
fab2185
CI(deps): Update ruff to v0.11.5 (#5534)
renovate[bot] Apr 12, 2025
548797c
db.univar: Fix SIM115: Use context managers for file operations (#5536)
arohanajit Apr 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
173 changes: 173 additions & 0 deletions .cppcheck-suppressions
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
# True positives
# imagery
invalidFunctionArg:imagery/i.gensigset/subcluster.c:369
invalidFunctionArg:imagery/i.smap/model.c:158

# lib
memleakOnRealloc:lib/external/shapelib/dbfopen.c:448
va_end_missing:lib/gis/debug.c:82
nullPointer:lib/vector/Vlib/cats.c:513
nullPointer:lib/vector/Vlib/cats.c:517

# False positives
# binder
syntaxError:binder/postBuild:7

# config.guess, config.log, config.status, config.sub, configure, configure.ac
syntaxError:config*

# db
syntaxError:db/databaseintro.html

# demolocation
syntaxError:demolocation/Makefile
syntaxError:demolocation/grassrc.tmpl

# display
syntaxError:display/displaydrivers.html

# dist.x86_64-pc-linux-gnu
syntaxError:dist.x86_64-pc-linux-gnu/*

# doc
syntaxError:doc/*

# docker
syntaxError:docker/README.md

# general/g.version
internalAstError:general/g.version/main.c:49
syntaxError:general/g.version/Makefile:8
syntaxError:general/g.version/g.version.html:72

# imagery/
syntaxError:imagery/imageryintro.html
## We are erroring out early if index is negative, so we won't be hitting this case!
negativeIndex:imagery/i.atcorr/computations.cpp:459
negativeIndex:imagery/i.atcorr/computations.cpp:1025


# include/
syntaxError:include/Makefile
syntaxError:include/VERSION:1

# text files
syntaxError:INSTALL.md
syntaxError:install-sh
syntaxError:GPL.TXT
syntaxError:aclocal.m4
syntaxError:AUTHORS
syntaxError:CITATION.cff
syntaxError:CITING
syntaxError:codecov.yaml
syntaxError:CODE_OF_CONDUCT.md
syntaxError:config.log
syntaxError:configure.ac
syntaxError:CONTRIBUTING.md
syntaxError:contributors.csv
syntaxError:contributors_extra.csv
syntaxError:COPYING
syntaxError:Dockerfile
syntaxError:error.log
syntaxError:flake.lock
syntaxError:flake.nix
syntaxError:grasslib.dox
syntaxError:grass.pc*
syntaxError:Makefile
syntaxError:package.nix
syntaxError:pyproject.toml
syntaxError:README.md
syntaxError:renovate.json5
syntaxError:REQUIREMENTS.md
syntaxError:SECURITY.md
syntaxError:test_keyvalue_result.txt
syntaxError:TODO
syntaxError:translators.csv
syntaxError:Vagrantfile
syntaxError:binaryInstall.src
syntaxError:codecov.yml:19

# lib/
syntaxError:lib/README:3
# Internally generated file while compiling
nullPointer:lib/db/sqlp/sqlp.yy.c
nullPointer:<stdout>
syntaxError:lib/db/sqlp/README
syntaxError:lib/db/sqlp/sql*
## va_copy() was used and it doesn't require va_start.
va_list_usedBeforeStarted:lib/gis/aprintf.c:293
va_list_usedBeforeStarted:lib/gis/aprintf.c:301
va_list_usedBeforeStarted:lib/gis/aprintf.c:348
## Though it's not explicity initialized, the loop next will initialize it. So, it's alright to ignore this.
uninitvar:lib/vector/dglib/tavl.c:380
missingReturn:lib/vector/dglib/nodemgmt-template.c:437
## Though it's not explicity initialized, the loop next will initialize it. So, it's alright to ignore this.
uninitvar:lib/vector/dglib/avl.c:291
unknownMacro:lib/bitmap/Makefile:13
## I feel we can just avoid syntaxError issues, as code can't be compiled unless it's syntax is correct!
## And these usually have a tendency to pop up in the non-C or non-C++ programs!!
syntaxError:lib/*
unknownMacro:lib/gmath/Makefile
unknownMacro:lib/lidar/Makefile


# locale
syntaxError:locale/README.md
syntaxError:locale/Makefile
syntaxError:locale/grass_po_stats.py
unknownMacro:locale/*

# macosx
syntaxError:macosx/*

# man
syntaxError:man/*

# mswindows
syntaxError:mswindows/*

# raster
## FP error, as while loop before ensures that log argument is never equal to 1.
invalidFunctionArg:raster/r.sim/simlib/random.c:36
invalidFunctionArg:raster/r.sim/simlib/random.c:57

## Different rules under different ifdef.
ctuOneDefinitionRuleViolation:raster/r.in.pdal/grassrasterwriter.h:39
syntaxError:raster/rasterintro.html
syntaxError:raster/Makefile:155

# raster3d

## 'missingReturn` error is mostly from blocks for local computations
missingReturn:raster3d/r3.showdspf/draw_cap_ogl.c:68
missingReturn:raster3d/r3.showdspf/make_header.c:32

syntaxError:raster3d/raster3dintro.html:194

# rpm
syntaxError:rpm/grass.spec:244
syntaxError:rpm/grass-pkgconfig.patch:9

# scripts
syntaxError:scripts/windows_sh_launch.bat:11
syntaxError:scripts/windows_launch.bat:1

# temporal
syntaxError:temporal/benchmark.sh:19
syntaxError:temporal/run_all_tests.sh
syntaxError:temporal/temporalintro.html

# testsuite
syntaxError:testsuite/raster_md5test.sh:11
syntaxError:testsuite/README.md:38

# utils
syntaxError:utils/*
unknownMacro:utils/coverage_mapper.py:13
unknownMacro:utils/Makefile:8

# vector

## We are expected to use the memory allocated some other place, so it's FP.
memleak:vector/v.lidar.growing/ConvexHull.c:246
syntaxError:vector/vectorintro.html:11
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ docker
!docker/alpine/grass_tests.sh
.gitignore
.github
.travis
.travis.yml
# Do not copy files from previous compilations
dist.*

Expand All @@ -16,3 +14,4 @@ dist.*
!.git/refs/heads
!.git/objects
.git/objects/*
!.git/objects/pack
39 changes: 6 additions & 33 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
ignore =
# whitespace before ':' (Black)
E203,
# E501 line too long
E501,
# global unused (TODO: Solve and remove exclusion)
F824,
# line break before binary operator (Black)
W503,

Expand All @@ -20,56 +24,25 @@ per-file-ignores =
# E741 ambiguous variable name 'l'
man/build_html.py: E501
man/build_md.py: E501
doc/python/m.distance.py: E501
doc/examples/python/m.distance.py: E501
gui/scripts/d.wms.py: E501
gui/wxpython/image2target/g.gui.image2target.py: E501
gui/wxpython/photo2image/g.gui.photo2image.py: E501
gui/wxpython/psmap/*: E501
gui/wxpython/vdigit/*: F841, E722, F405, F403
gui/wxpython/animation/g.gui.animation.py: E501
gui/wxpython/tplot/g.gui.tplot.py: E501
gui/wxpython/iclass/frame.py: F405, F403
gui/wxpython/iclass/g.gui.iclass.py: E501
gui/wxpython/iclass/statistics.py: F841, F405, F403
gui/wxpython/location_wizard/dialogs.py: F841
gui/wxpython/location_wizard/wizard.py: E722
gui/wxpython/mapdisp/main.py: E722
gui/wxpython/mapdisp/test_mapdisp.py: E501
gui/wxpython/mapdisp/statusbar.py: F841
gui/wxpython/mapswipe/g.gui.mapswipe.py: E501
gui/wxpython/mapwin/base.py: E722
gui/wxpython/mapwin/buffered.py: E722
gui/wxpython/mapwin/graphics.py: E722
gui/wxpython/startup/locdownload.py: E722, E402
gui/wxpython/timeline/g.gui.timeline.py: E501
# Generated file
gui/wxpython/menustrings.py: E501
# F821 undefined name 'cmp'
# https://github.com/OSGeo/grass/issues/1809
python/grass/pydispatch/saferef.py: F821
# C wrappers call libgis.G_gisinit before importing other modules.
# TODO: Is this really needed?
python/grass/pygrass/vector/__init__.py: E402
python/grass/pygrass/raster/__init__.py: E402
python/grass/pygrass/vector/__init__.py: E402
python/grass/pygrass/raster/category.py: E721
python/grass/pygrass/utils.py: E402
python/grass/temporal/abstract_space_time_dataset.py: E722
python/grass/temporal/c_libraries_interface.py: E722
python/grass/temporal/core.py: E722
python/grass/temporal/datetime_math.py: E722
python/grass/temporal/spatial_topology_dataset_connector.py: E722
python/grass/temporal/temporal_algebra.py: E722
python/grass/temporal/temporal_granularity.py: E722
# Current benchmarks/tests are changing sys.path before import.
# Possibly, a different approach should be taken there anyway.
python/grass/pygrass/tests/benchmark.py: F821
python/grass/jupyter/__init__.py: E501
# Configuration file for Sphinx:
# Ignoring import/code mix and line length.
# Files not managed by Black
# Unused imports in init files
# F403 star import used; unable to detect undefined names
python/grass/temporal/__init__.py: F401, F403
# E402 module level import not at top of file
scripts/r.semantic.label/r.semantic.label.py: E501
scripts/g.extension/g.extension.py: E501
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/create-upload-suggestions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ runs:
echo "diff-file-name=${INPUT_DIFF_FILE_NAME}" >> "${GITHUB_OUTPUT}"
env:
INPUT_DIFF_FILE_NAME: ${{ steps.tool-name-safe.outputs.diff-file-name }}
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
id: upload-diff
if: >-
${{ (steps.files_changed.outputs.files_changed == 'true') &&
Expand All @@ -200,7 +200,7 @@ runs:
echo 'Suggestions can only be added near to lines changed in this PR.'
echo 'If any fixes can be added as code suggestions, they will be added shortly from another workflow.'
} >> "${GITHUB_STEP_SUMMARY}"
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
id: upload-changes
if: >-
${{ always() &&
Expand All @@ -225,7 +225,7 @@ runs:
env:
FORMATTED_URL: >-
[`formatted-${{ steps.tool-name-safe.outputs.tool-name }}`](${{
steps.upload-changes.outputs.artifact-url }})
steps.upload-changes.outputs.artifact-url }})
- name: Fail action if some files were changed
if: >-
${{ (steps.files_changed.outputs.files_changed == 'true') &&
Expand Down
49 changes: 42 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,37 @@ vector:
CI:
- changed-files:
- any-glob-to-any-file:
- "**/.editorconfig"
- .clang-format
- .codecov.yml
- .coveragerc
- .cppcheck-suppressions
- .flake8
- .github/**
- .travis/**
- .pre-commit-config.yaml
- .yamllint
- binder/**
- .travis.yml
- renovate.json
- .pre-commit-config.yaml
CMake:
- changed-files:
- any-glob-to-any-file:
- "**/**.cmake*"
- "**/CMakeLists.txt"
- cmake/**
Windows:
- changed-files:
- any-glob-to-any-file:
- "**/**.bat"
- "**/**.bat.*"
- "**/*OSGeo4W**"
- "**/*osgeo4w**"
- msvc/**
- mswindows/**
macOS:
- changed-files:
- any-glob-to-any-file:
- macosx/**
- "**/*macos**"
- macos/**
Linux:
- changed-files:
- any-glob-to-any-file:
Expand All @@ -109,6 +126,13 @@ docker:
- '**/*Dockerfile*'
- '**/*dockerfile*'
- .dockerignore
nix:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/test-nix.yml
- flake.lock
- flake.nix
- package.nix

docs:
- all:
Expand Down Expand Up @@ -145,7 +169,7 @@ notebook:
- changed-files:
- any-glob-to-any-file:
- '**/*.ipynb'
- doc/notebooks/**
- doc/examples/notebooks/**
- python/grass/jupyter/**
C:
- changed-files:
Expand All @@ -162,9 +186,20 @@ HTML:
JavaScript:
- changed-files:
- any-glob-to-any-file: '**/*.js'

markdown:
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
- .markdownlint.yml
# test suite
tests:
- changed-files:
- any-glob-to-any-file:
- '**/testsuite/**'
- "**/*_gunittest.cfg"
- "**/.gunittest*.cfg"
- "**/test/**"
- "**/tests/**"
- "**/testsuite/**"
- "**test**"
- .codecov.yml
- .coveragerc
Loading
Loading